function postForm(thisForm) {
	var theform;
	if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
		theform = document.forms[thisForm];
	}
	else {
		theform = eval('document.' + thisForm);
	}
	theform.submit();
}

var HelpWin = 0;

function helpWindow(iTopicID)
{
	var URLStr = 'Help.cfm?Topic_ID=' + iTopicID;
	var left = 200;
	var top = 120;
	var width = 550;
	var height = 450;
	if(HelpWin)
	{
		if(!HelpWin.closed)HelpWin.close();
	}
	HelpWin=open(URLStr,'HelpWin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

function popUpWindow(value,wval,hval) 
{
	window.open(value,'popup','resizable=yes,width=' + wval + ',height=' + hval + ',status=no,location=no,toolbar=no,menubar=no,scrollbars=yes,left=1,top=130');
}

var CADWindow = 0;
function openCADWindow(sURL)
{
	var left = 100;
	var top = 75;
	var width = 800;
	var height = 600;
	sURL = 'http://dev.carrlane.com/Catalog/250htc.htm';
	if(printWin)
	{
		if(!CADWindow.closed)CADWindow.close();
	}
	CADWindow=open(sURL,'CADWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

