	$(document).ready(function(){
	
		
		/* SLIDESHOW LITE */
		$("#imageBasket").slideshow({
			pauseSeconds: 4,
			width: 890,
			height: 140
		});

		$("div#imageBasket").show(5000,function(){
			$(this).css("visibility", "visible");
		});
		
		
		$("div#bannerTexts").slidetexts({
			pauseSeconds: 7
		});
		
		$("div#bannerTexts").show(5000,function(){
			$(this).css("visibility", "visible");
		});

		
	    /*JQUERY LightBOX */ 
	
		/*
		$("div#content p img[title!=noA]").wrap(document.createElement("a"));
		$("div#content p a img[id!=noA]").parent().addClass("ltbox");

		$("a.ltbox img").each(function(){
			sSource = $(this).attr("src");
			$(this).parent().attr("href", sSource);
		});
		
		
	   	$("a.ltbox").lightBox({
			overlayBgColor: '#000',
			overlayOpacity: 0.8,
			imageLoading: '/template/images/lightbox-ico-loading.gif',
			imageBtnClose: '/template/images/lightbox-btn-close.gif',
			imageBtnPrev: '/template/images/lightbox-btn-prev.gif',
			imageBtnNext: '/template/images/lightbox-btn-next.gif',
			containerResizeSpeed: 250,
			txtImage: 'Foto',
			txtOf: 'van'
	   	});
	   	*/
	
		i = 0;
		$("div.gallaryTable").each(function(){
			$(this).addClass("myClass_" + i);
			i++; 
		});	
	   
		a = 0;

		$("div.gallaryTable").each(function(){

		    $("div.myClass_" + a + " a[rel*=ltbox]").lightBox({
				overlayBgColor: '#000',
				overlayOpacity: 0.8,
				imageLoading: '/template/images/lightbox-ico-loading.gif',
				imageBtnClose: '/template/images/lightbox-btn-close.gif',
				imageBtnPrev: '/template/images/lightbox-btn-prev.gif',
				imageBtnNext: '/template/images/lightbox-btn-next.gif',
				containerResizeSpeed: 250,
				txtImage: 'Foto',
				txtOf: 'van'
		   	});
			a++;
		
		});
		
 	
 	});
