function ClickOnSearch(p1,p2) {
	var strKeyword = document.ThisForm.strKeyword.value;
	if (p2 == '1') {
		location.href = "http://www.seipusa.com/search/W8000000.asp?z=" +p1+ "&strKeyword=" +strKeyword ;
	} else {
		location.href = "../search/W8000000.asp?z=" +p1+ "&strKeyword=" +strKeyword ;
	}
}

function ClickOnContact(p1) {
	if (p1 == '1')	{
		location.href = "http://www.seipusa.com/contact/W0500100.asp";
	} else {
		location.href = "../contact/W0500100.asp";
	}
}

function ClearKeyword() {
	document.ThisForm.strKeyword.style.background = '#FFFFCC';
	if ((document.ThisForm.strKeyword.value) != ("ENTER A KEYWORD ...")) return;
	{
	document.ThisForm.strKeyword.value = "";
	return;
	}
}

function helpwin(p1,p2,p3) {
	if ((p2 == 0) || (p2 == null)) { p2 = 550; }
	if ((p3 == 0) || (p3 == null)) { p3 = 650; }

	helpwindow = window.open('../common/helpwindow.asp?FormID=' +p1+ '','newWindow','location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+p2+',height=' +p3+ '');
	helpwindow.focus();
}

function PrintThisPage(URL) {
	PrintThis = window.open(URL + '?print=yes','PrintThisPageWin','location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=1,height=1');
	PrintThis.focus();
}

function PrintThisPageNoParm(URL) {
	PrintThisNoParm = window.open(URL + '','PrintThisPageWin','location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=1,height=1');
	PrintThisNoParm.focus();
}

function ReturnTo(p1) {
		location.href = p1 ;
}

function OpenPDF(PARM) {
	if (PARM == '1') {
		OprnPDFFile = window.open('../PDF/STSGuide/STS_INSTALLATION_GUIDE.pdf' + '','OpenPDFWin','location=no,status=no,menubar=no,scrollbars=no,resizable=no');
		OprnPDFFile.focus();
	}
}
