//(c)2004 House of Graham
//1. Email Validate
//2. Set Window Status
//3. On select - go!
//4. Suppress Enter Key during form fill
//5. Mask breakout

//1.

function checkEmail(contForm) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(contForm.email.value)){
return (true)
}
alert("Can't Continue - Please Enter Valid Email Address")
return (false)
}

//2.

window.status="http://www.gerrysandon.com"


//3.

function goSel(obj)
{
   for (i = 1; i < obj.length; i++)
      if (obj[i].selected == true)
        eval(obj[i].value);
}


//4.

function noEnter(e){
var characterCode
	 if(e && e.which){
	 e = e
	 characterCode = e.which
	 }
	 else{
	 e = event
	 characterCode = e.keyCode
	 }	 
	 if(characterCode == 13){
 	 return false
	 }
	 else{
	 return true
	 }
}
//

//5.
function brkout()
{
if (top.location != location) {
top.location.href = document.location.href ;
}
}
//