jQuery(document).ready(function(){
								
	///////////////////////////////////////////////////////////////////////////////////////////////////////
	//	png fix
	///////////////////////////////////////////////////////////////////////////////////////////////////////
	$('img.headerProduct').ifixpng(); 
		
	///////////////////////////////////////////////////////////////////////////////////////////////////////
	//	Lightbox
	///////////////////////////////////////////////////////////////////////////////////////////////////////
	
	   $('a.lightbox').lightBox({
				overlayBgColor: '#000',
				overlayOpacity: 0.8, 
				imageLoading: 'images/lightbox-ico-loading.gif',
				imageBtnClose: 'images/closelabel.gif',
				imageBtnPrev: 'images/prev.gif',
				imageBtnNext: 'images/next.gif',
				containerResizeSpeed: 350,
				txtImage: 'Slika',
				txtOf: 'od'
		});
	   	
	///////////////////////////////////////////////////////////////////////////////////////////////////////
	//	superfish menu
	///////////////////////////////////////////////////////////////////////////////////////////////////////
	
	jQuery("ul.sf-menu").superfish ({
		opacity:true,
		delay:       200,								// half second delay on mouseout 
		animation:   {opacity:'show',height:'show'},	// fade-in and slide-down animation 
		speed:       'fast',                        	// faster animation speed 
		autoArrows:  false,                           	// disable generation of arrow mark-up 
		dropShadows: true                            	// disable drop shadows
		});

	});

	///////////////////////////////////////////////////////////////////////////////////////////////////////
	//	superfish menu
	///////////////////////////////////////////////////////////////////////////////////////////////////////

	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]+"'");
		}
	
	
