/* nospam */
function nospamf(box, domain) {
 if(typeof(domain)=="undefined") domain="liborpodmol.com";
 var proto=String.fromCharCode(109,97,105,108,116,111,58)
 w=window.open(proto+box+String.fromCharCode(64)+domain);
 if (w!=null) w.close(); //FF
}
function nospam(box, domain, attr) {
 if(typeof(domain)=="undefined") domain="liborpodmol.com";
 if(typeof(attr)=="undefined") attr="";
 document.write("<a href=\"javascript:nospamf('"+box+"', '"+domain+"')\""+(attr.length>0?" ":"")+attr+">"+box+String.fromCharCode(64)+domain+"</a>");
}
function zavinac() {
 document.write(String.fromCharCode(64));
}
/* /nospam */

/* lightbox */
$(document).ready(function() {
	//$('p.p-fotografie a').lightBox();
	//$('div.gallery a').lightBox();
	//$('div.detail-pojem a').lightBox();
	$("a[href$='.jpg']").lightBox();
	$("a[href$='.JPG']").lightBox();
	$("a[href$='.gif']").lightBox();
	$("a[href$='.GIF']").lightBox();
	$("a[href$='.png']").lightBox();
	$("a[href$='.PNG']").lightBox();
	$("a[href$='.jpeg']").lightBox();
	$("a[href$='.JPEG']").lightBox();
	// $('a[rel*=lightbox]').lightBox();
	// $('a').lightBox();
});
/* /lightbox */

/* slideshow */
$(function() {

$('#slideshow').crossSlide({
  sleep: 4,
  fade: 1,
  shuffle: 1
}, [
  { src: 'http://www.liborpodmol.com/wp-content/themes/liborpodmol/img/slideshow/2.jpg' },
  { src: 'http://www.liborpodmol.com/wp-content/themes/liborpodmol/img/slideshow/9.jpg' },
  { src: 'http://www.liborpodmol.com/wp-content/themes/liborpodmol/img/slideshow/11.jpg' },
  { src: 'http://www.liborpodmol.com/wp-content/themes/liborpodmol/img/slideshow/12.jpg' },
  { src: 'http://www.liborpodmol.com/wp-content/themes/liborpodmol/img/slideshow/13.jpg' },
  { src: 'http://www.liborpodmol.com/wp-content/themes/liborpodmol/img/slideshow/14.jpg' },
  { src: 'http://www.liborpodmol.com/wp-content/themes/liborpodmol/img/slideshow/15.jpg' },
  { src: 'http://www.liborpodmol.com/wp-content/themes/liborpodmol/img/slideshow/16.jpg' },
  { src: 'http://www.liborpodmol.com/wp-content/themes/liborpodmol/img/slideshow/17.jpg' },
  { src: 'http://www.liborpodmol.com/wp-content/themes/liborpodmol/img/slideshow/18.jpg' },
  { src: 'http://www.liborpodmol.com/wp-content/themes/liborpodmol/img/slideshow/19.jpg' }
]);

});
/* slideshow */

/* easyslider */
$(document).ready(function(){	
	$("#slider").easySlider({
		speed: 800,
		pause: 3500,
		controlsShow: true,
		continuous: true,
		prevId: 'prevbutton',
		prevText: 'Prev',
		nextId: 'nextbutton',	
		nextText: 'Next',
		vertical: true
	});
});
/* /easyslider */

