	
	function openBuyNowNotAvailMessage(buyid){
			
		document.getElementById(buyid).style.display = "block";
		document.getElementById(buyid).style.left = theX + "px";
		document.getElementById(buyid).style.top = theY + "px";

	}

	function closeBuyNowNotAvailMessage(buyid){
		document.getElementById(buyid).style.display = "none";
	}


	function doSwatchTip(theSwatchTip){
	
		document.getElementById(theSwatchTip).style.display = "block";
		document.getElementById(theSwatchTip).style.left = (theX - 40) + "px";
		document.getElementById(theSwatchTip).style.top = (theY - 110) + "px";

	}

	function closeSwatchTip(theSwatchTip){
		document.getElementById(theSwatchTip).style.display = "none";
	}



	function doSocialNetworkingLink(){
		
		document.getElementById("leavingSiteDisplaimer").style.display = "block";
		document.getElementById("leavingSiteDisplaimer").style.left = theX + "px";
		document.getElementById("leavingSiteDisplaimer").style.top = theY + "px";

	}

	function closeSocialNetworkingLink(){
		document.getElementById("leavingSiteDisplaimer").style.display = "none";
	}


	var IE = false;
	if (navigator.appName == "Microsoft Internet Explorer") 
	{
		IE = true
	}
	if (!IE)	
	{
		document.captureEvents(Event.MOUSEMOVE)
	}
	document.onmousemove = getMouseXY;

	var theX;
	var theY;
	
	function getMouseXY(m){

  		if (IE)	{
			 var tmpX = event.clientX;
  			 var tmpY = event.clientY;
			}
 		else 	{
    			 var tmpX = m.pageX;
			 var tmpY = m.pageY;
  			}
		if (!document.body.scrollTop)
			{
			 var iL = document.documentElement.scrollLeft;
			 var iV = document.documentElement.scrollTop;
			}
		else 	{
			 var iL = document.body.scrollLeft;
			 var iV = document.body.scrollTop;
			}

		// DEBUG document.getElementById("MouseX").value = tmpX + iL;
  		// DEBUG document.getElementById("MouseY").value = tmpY + iV;
  		
  		if (IE)	{
			theX = tmpX + iL;
			theY = tmpY + iV;
			}
 		else 	{
			theX = tmpX;
			theY = tmpY;
  		}
  		
  	}

  	
	function doSocialNetworkingFaceBook(){
		
		document.getElementById("leavingSiteDisplaimerFaceBook").style.display = "block";
		document.getElementById("leavingSiteDisplaimerFaceBook").style.left = (theX + 8) + "px";
		document.getElementById("leavingSiteDisplaimerFaceBook").style.top = (theY + 8) + "px";

	}

	function closeSocialNetworkingFaceBook(){
		document.getElementById("leavingSiteDisplaimerFaceBook").style.display = "none";
	}
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
