jQuery(document).ready(function(){
								
	///////////////////////////////////////////////////////////////////////////////////////////////////////
	//	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'
		});

	///////////////////////////////////////////////////////////////////////////////////////////////////////
	//	JQTransform
	///////////////////////////////////////////////////////////////////////////////////////////////////////
		$('.jqtransform').jqTransform();
		
	///////////////////////////////////////////////////////////////////////////////////////////////////////
	//	superfish menu
	///////////////////////////////////////////////////////////////////////////////////////////////////////
	
    	$("ul.sf-menu").superfish(); 
		
	///////////////////////////////////////////////////////////////////////////////////////////////////////
	//	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');
		

	///////////////////////////////////////////////////////////////////////////////////////////////////////
	//	anythingSlider
	///////////////////////////////////////////////////////////////////////////////////////////////////////

	function formatText(index, panel) {
				  return index + "";
				}
					if($('.anythingSlider ul li').length > 1)
					{
						$('.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)
						});
					}
	

}); // 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]+"'");
		}
  
  

