function emailcheck(cur)
{
var string1=cur.email.value
if ((string1.indexOf("@")==-1) || 
   (string1.indexOf(".")==-1))
{
alert("Please input a valid email address!")
return false
}
}


function placeFocus() {
if (document.forms.length > 0) {
var field = document.forms[0];
for (i = 0; i < field.length; i++) {
if ((field.elements[i].type == "text") || (field.elements[i].type == "textarea") || (field.elements[i].type.toString().charAt(0) == "s")) {
document.forms[0].elements[i].focus();
break;
         }
      }
   }
}

function setContactfocus(){
document.forms[0].email.focus()}

function setMLfocus(){
document.forms[0].email.focus()}
