
try{
var pgeDefStat = new String(" :  Its A Knockout!  :  Contact Details  : ");
SetStatus(pgeDefStat);
}catch(e){}

function ShowContactPrintable() {
	window.open("contactprintable.htm", "printableWindow", "status=yes,scrollbars=no,resizable=no,menubar=yes,toolbar=yes" +
				",height=450,width=600,top=" + ((screen.availHeight - 500) / 2) + ",left=" + ((screen.availWidth - 550) / 2)).focus();
}
function ShowContactMailer() {
	window.open("contactmailer.htm", "contactWindow", "status=no,scrollbars=no,resizable=no,menubar=no,toolbar=no" +
				",height=250,width=600,top=" + ((screen.availHeight - 300) / 2) + ",left=" + ((screen.availWidth - 550) / 2)).focus();
}

function CellHoverOver(theObj) {
	theObj.style.backgroundColor = "#C4DAEE";
	theObj.style.fontSize        = "100%";
	theObj.style.color           = "#222";
	theObj.style.fontWeight      = "bold";
}
function CellHoverOut(theObj) {
	theObj.style.backgroundColor = "#69C";
	theObj.style.fontSize        = "100%";
	theObj.style.color           = "#FFF";
	theObj.style.fontWeight      = "normal";
}



/* For contactform.htm */
function cfrm_initPage() {
	window.status = " :  Its A Knockout!  :  Online Contact Form  : ";
	document.emailerFrm.realname.focus();
	document.emailerFrm.realname.select();
}
function cfrm_PostRequest() {
	with(document.emailerFrm)
	{
		var theirEmail = new String(fromemail.value);

		if(theirEmail == "" || theirEmail.indexOf('@', 0) == -1 || theirEmail.indexOf('.', 0) == -1) {
			alert("Please enter a valid E-Mail address!");
			return;
		}else if(message.value == "") {
			alert("Your must enter a message!");
			return;
		}else if(realname.value == "") {
			alert("Your must enter your name!");
			return;
		}
		
		window.status = ".. Sending Email ..";
		CloseBut.disabled  = true;
		SubmitBut.value    = "Please Wait..."; 
		SubmitBut.disabled = true;				
		submit();
	}
}
/* End of contactform.htm */


/* For contactmailer.htm */
function cmlr_initPage() {
	document.emailerFrm.fromemail.focus();
	document.emailerFrm.fromemail.select();
}
function cmlr_PostRequest() {
	document.emailerFrm.CloseBut.disabled  = true;
	document.emailerFrm.SubmitBut.value    = "Please Wait..."; 
	document.emailerFrm.SubmitBut.disabled = true;
	document.emailerFrm.submit();
}
/* End of contactmailer.htm */


