/*

-------  Popup Window -----------

    Version:        1.3		June 24th 2003 9:23 am
	Author:			Todd Hunt
	Description:    called to open Popup when products requiring further instruction or options for the customers to select.

*/

var win;
var winStatus;
var winname = 'infoWin';

function openWin(file,w,h,rs) 
/*	Opens 'file' in a new window with 'w' width (optional)
	and 'h' height (optional); 
*/
{
	if (!w) { w = 450; }
	if (!h) { h = 300; }
	if (!rs) { rs = "yes"; }
	winStatus = true;
	win = window.open(file,winname,'toolbar=no,location=no,directories=no,status=no,'+
								   'menubar=no,resizable='+rs+',copyhistory=no,scrollbars'+
								   '=yes,width='+w+',height='+h);
	win.creator = self;
	
	win.focus();
}

function closeWin()
{
	top.opener.winStatus = false;
	top.close();
}

function closeChildWin()
{
	winStatus = false;
	win.close();
}

// -- END -- //

function HideContent(d) {
document.getElementById(d).style.display = "none";
}

function ShowContent(d) {
document.getElementById(d).style.display = "block";
}