<!-- 
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features)
}
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

function check_form(form)
{
return_boolean = true
 obj = eval(form)
 for(i=0;i<obj.length;i++)
 {
  field_name = obj.elements[i].name;
  if (field_name.indexOf("_chk") != -1)
  {
    if (obj.elements[i].value == "")
    {
      obj.elements[i].style.backgroundColor = "bisque";
      return_boolean = false
    }
    else
    {
      obj.elements[i].style.backgroundColor = "white";
    }
  }
 }
 	if (return_boolean == false) {
 	alert("Please enter the required information as indicated in orange.")
 	}
			
			if (form.email_chk.value != "") {
		retwo = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/
		validemail = retwo.exec(form.email_chk.value)
			if (validemail) {
			}
			else {
			alert(form.email_chk.value + " is not a valid email address")
			return false
			}
		}
	return return_boolean;
}
function validForm(passForm) {
			if (passForm.keyword.value == "") {
				alert("You must enter a search word")
				passForm.keyword.focus()
				return false
		}
		return true
}
<!-- Begin 
var exit=true; 
function leave() { 
if (exit) 
window.open('exit_form.asp','','toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,height=250,width=350'); 
} 

function testInput() {
var Email =  new String(document.inputForm.Email.value); 
var Correct = true; 
CharCount=1; 
strLength=Email.length; 
while ((CharCount < strLength) && (Email.charAt(CharCount) != '@')) 
{ 
	CharCount++ 
} 
if ((CharCount>= strLength) || (Email.charAt(CharCount) != '@'))  
{  
	alert ('Email address not valid.') 
	Correct = false; 
} 
else 
{ 
	CharCount += 2; 
} 
while ((CharCount < strLength) && (Email.charAt(CharCount) != '.')) 
{ 
	CharCount++ 
} 
if ((CharCount>= strLength - 1) || (Email.charAt(CharCount) != '.')) 
{ 
	alert ('Email address not valid.') 
	Correct = false; 
} 
return Correct 
} 
top.location.replace("http://www.petsplus.com.au");
// End -->
//-->
