
function stopError() {return true;}
function popUp (strURL, strType, strHeight, strWidth) 	{strURL = 'http://www.hitboxprofessional.com/parser.php?'+strURL; var strOptions="";  if (strType=="console")    strOptions="resizable,height="+      strHeight+",width="+strWidth; if (strType=="printwindow")    strOptions="toolbar,scrollbars,resizable,height="+      strHeight+",width="+strWidth;  if (strType=="fixed")    strOptions="status,height="+      strHeight+",width="+strWidth;  if (strType=="elastic")    strOptions="scrollbars,"+      "resizable,,height="+      strHeight+",width="+strWidth;  newWin = window.open(strURL, 'newWin', strOptions);  newWin.focus();}
function popUp2 (strURL, strType, strHeight, strWidth) 	{strURL; var strOptions="";  if (strType=="console")    strOptions="resizable,height="+      strHeight+",width="+strWidth; if (strType=="printwindow")    strOptions="toolbar,scrollbars,resizable,height="+      strHeight+",width="+strWidth;  if (strType=="fixed")    strOptions="status,height="+      strHeight+",width="+strWidth;  if (strType=="elastic")    strOptions="toolbar,menubar,scrollbars,"+      "resizable,location,height="+      strHeight+",width="+strWidth;  newWin = window.open(strURL, 'newWin', strOptions);  newWin.focus();}
function popSupport(faqid)	{popUp('sid=support&cntid=pop_support', 'elastic', 380, 440);}
function popServicePlans()	{popUp('sid=order&cntid=plantypes', 'console', 380, 440);}
function popBillingDesc()	{popUp('sid=order&cntid=billingdesc', 'console', 380, 440);}
function loadBooks()	{popUp('sid=ebooks&cntid=registration', 'console', 540, 370);}
function loadTerms()	{popUp('sid=global&cntid=terms', 'printwindow', 540, 540);}
function redirectUser(page)	{if (page != "!!")	{window.location= page;} return false;}
function loadDemo() {popUp2('http://get.hitbox.com/pro/content/prodemo.html', 'elastic', 600, 600); }
function loadChat() { newWin = window.open('http://server.iad.liveperson.net/hc/6819963/?SESSIONVAR!skill=Corporate&cmd=file&file=visitorWantsToChat&site=6819963&referrer='+document.location,'chat6819963','width=472,height=320'); }



function CheckTerms() {
	var ErrorMessage = "You must agree to the HitBox Professional Terms & Conditions";
	
	if (!document.hbps.terms.checked) {
		alert(ErrorMessage);
		document.hbps.terms.focus();
		return false;
	} else {
		hbps.submit()
		return true;
	}
}
	