jQuery(document).ready(function(){
								
	
	//	Superfish  //
	$("ul.sf-menu").superfish(); 
	
	//	jqtransform //
	$(".jqtransform").jqTransform();
	
	//	png fix //
	DD_belatedPNG.fix('#leftNavigation, .title, #zanimljivosti');
	
	//	transparancy  //
	$('.physiotherapy a span, .fitness a span').css('opacity',0.2);
	
	//	anythingSlider  //
	function formatText(index, panel) {
		return index + "";
		}
			if($('.introAnythingSlider ul li, .anythingSlider ul li').length > 1)
					{
			$('.introAnythingSlider, .anythingSlider').anythingSlider({
				easing: "easeInOutExpo",        		// Anything other than "linear" or "swing" requires the easing plugin
				autoPlay: true,                 		// This turns off the entire FUNCTIONALY, not just if it starts running or not.
				delay: 8000,                    		// How long between slide transitions in AutoPlay mode
				startStopped: false,            		// If autoPlay is on, this can force it to start stopped
				animationTime: 600,             		// How long the slide transition takes
				hashTags: false,                 		// Should links change the hashtag in the URL?
				buildNavigation: true,          		// If true, builds and list of anchor links to link to each slide
				pauseOnHover: true,             		// If true, and autoPlay is enabled, the show will pause on hover
				navigationFormatter: null		        // Details at the top of the file on this use (advanced use)
			});
		}
					
	 //	lightbox  //				
	 $('a.lightbox').lightBox({
				overlayBgColor: '#000',
				overlayOpacity: 0.8, 
				imageLoading: '/images/loading.gif',
				imageBtnClose: '/images/closelabel.gif',
				imageBtnPrev: '/images/prev.gif',
				imageBtnNext: '/images/next.gif',
				containerResizeSpeed: 350,
				txtImage: 'Slika',
				txtOf: 'od'
		});
	 
	 $('a.lightboxGallery').lightBox({
				overlayBgColor: '#000',
				overlayOpacity: 0.8, 
				imageLoading: '/images/loading.gif',
				imageBtnClose: '/images/closelabel.gif',
				imageBtnPrev: '/images/prev.gif',
				imageBtnNext: '/images/next.gif',
				containerResizeSpeed: 350,
				txtImage: 'Slika',
				txtOf: 'od'
		});

	 //	type documents  //				
		$('#documents a[href*=".pdf"]').addClass('pdf');
		$('#documents a[href*=".zip"]').addClass('zip');
		$('#documents a[href*=".rar"]').addClass('zip');
		$('#documents a[href*=".doc"]').addClass('doc');
		$('#documents a[href*=".docx"]').addClass('doc');
		$('#documents a[href*=".ppt"]').addClass('ppt');
		$('#documents a[href*=".xls"]').addClass('xls');
		
		
	//	slide panels
		$(".groupLinks h2").css("cursor","pointer").click(function(){
		   $(".groupLinks ul").slideToggle('fast');
		   //$(this).toggleClass("active"); return false;
		 });

	

}); // end document


	///////////////////////////////////////////////////////////////////////////////////////////////////////
	//	DW
	///////////////////////////////////////////////////////////////////////////////////////////////////////

	function MM_openBrWindow(theURL,winName,features) { //v2.0
		  window.open(theURL,winName,features);
		}
		
	function MM_goToURL() { //v3.0
		  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
		  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
		}
