/*
jQuery.noConflict();  
jQuery(document).ready(function(){ 
	
	// X Button
	jQuery("#dp_shopviewerClose").mouseover(function() {
		jQuery("#dp_shopviewerClose").attr("src", "fileadmin/template/img/products/closeBtn_over.png");
	})
	
	jQuery("#dp_shopviewerClose").mouseout(function() {
		jQuery("#dp_shopviewerClose").attr("src", "fileadmin/template/img/products/closeBtn_nr.png");
	})
	
	
	jQuery(".shop").click(function(){  
		loadShopPopup(); 
		centerShopPopup();
 
	})	
	
	jQuery("#dp_shopviewerClose").click(function(){  
		closeShopPopup(); 
	})	
})

var shopPopupStatus = 0;
	
	function loadShopPopup(){	
		if(shopPopupStatus==0){  
			jQuery("#dp_shopviewer").fadeIn("slow");
			jQuery("#shopBackground").fadeIn("slow");    
			jQuery("#dp_shopviewer").css("visibility", "visible");	
			jQuery("#shopBackground").css("visibility", "visible");
			jQuery("#shopBackground").css("overflow", "hidden");
			jQuery("body").css("overflow", "hidden");
			shopPopupStatus = 1;  
		}
	};
	
	function closeShopPopup(){	
		if(shopPopupStatus==1){  
			jQuery("#dp_shopviewer").fadeOut("slow"); 
			jQuery("#shopBackground").fadeOut("slow"); 
			jQuery("#shopBackground").css("visibility", "hidden");
			jQuery("#dp_shopviewer").css("visibility", "hidden");
			jQuery("body").css("overflow", "auto");
			shopPopupStatus = 0;
		}
	};
	
	function centerShopPopup(){  
			var windowWidth = jQuery(window).width();  
			var windowHeight = jQuery(window).height();
			var popupHeight = jQuery("#dp_shopviewer").height();  
			var popupWidth = jQuery("#dp_shopviewer").width();  
			var yOffset = getScrollY();
			
			jQuery("#dp_shopviewer").css({  
				"position": "absolute",  
				"top": (windowHeight/2-popupHeight/2)+yOffset,  
				"left": windowWidth/2-popupWidth/2  
			});  
   
			jQuery("#shopBackground").css({  
				"height": windowHeight,
				"width": windowWidth+20,
				"top": yOffset
			});			
	}
	*/

