// JavaScript Document
<!--
function closePTour()
{
	tourw = document.getElementById("tourpopup");
	tourw.style.display = "none";
	tourw.style.left = "0";
	tourw.style.top = "0";
}

function showPTour(pic)
{
    tourw = document.getElementById("tourpopup");
	
	width = screen.availWidth;
	height = screen.availHeight; 
	
	if (width >= 790 && height >= 656)
	{
		scape = (width - 790)/2;
		tourw.style.left = scape+50+"px"; 
		tourw.style.top = 230+"px";  
	}
	
	output = "<div style=\"height:380px; width:420px;\">"; 
	output = "<img src=\""+pic+"\"/>";
	output += "</div><div style=\"width:420px; margin-top:3px; \">";
	output += "<div style=\"width:320px; font-size: 12px; float:left;\">&nbsp;</div>";
	output += "<div style=\"width:100px; font-size: 12px; float:left; text-align: right; \">"; 
    output += "<a href=\"javascript:closeTour()\"><img src=\"images/close-btn.gif\" alt=\"Close\" border=\"0\" align=\"absmiddle\" /></a>"; 
	output += "</div></div>";
	
	tourw.innerHTML = output;  
	
	tourw.style.display = "block"; 
	
}
//-->