<!--
function startFocus()
{
        document.online_registration.Name.focus();
}
var alphaChars="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.',- ";
var numChars="0123456789()- ";

function valEntries(form)
{
        if(document.online_registration.Name.value=="")                 //NAME VALIDATION
        {
            alert("Please enter your name.");
            document.online_registration.Name.focus();
            return false;
        }
        for(var i=0; i<document.online_registration.Name.value.length; i++)
        {
            for(var j=0; j<alphaChars.length; j++)
            {
                if(alphaChars.charAt(j)==document.online_registration.Name.value.charAt(i)) 
                {
                    break;
                }
                    else;
                {
                if(j==(alphaChars.length-1))
                    {
                        alert("Please enter a valid name.");
                        document.online_registration.Name.focus();
                        return false;   
                    }
                }
            }
        }
var streetcheck=/[a-zA-Z0-9,.']{3,}/     
var streetadd=document.online_registration.Street.value;    
        if(!streetcheck.test(streetadd))
        {
            alert("please enter a valid street address.");
            document.online_registration.Street.focus();
            return false;
        }
if(document.online_registration.City.value=="")                       //CITY VALIDATION
        {
            alert("Please enter your city.");
            document.online_registration.City.focus();
            return false;
        }
        for(var i=0; i<document.online_registration.City.value.length; i++)
        {
            for(var j=0; j<alphaChars.length; j++)
            {
                if(alphaChars.charAt(j)==document.online_registration.City.value.charAt(i)) 
                {
                    break;
                }
                    else;
                {
                if(j==(alphaChars.length-1))
                    {
                        alert("Please enter a valid city.");
                        document.online_registration.City.focus();
                        return false;   
                    }
                }
            }
        }
var statecheck=/[a-zA-Z]{2}/                                          //STATE VALIDATION
var state=document.online_registration.State.value;    
        if(!statecheck.test(state))
        {
            alert("Please enter a valid state.");
            document.online_registration.State.focus();
            return false;
         }
var zipcheck=/[0-9]\d{4,}/                                            //ZIP CODE VALIDATION
var zipcode=document.online_registration.Zip.value;    
        if(!zipcheck.test(zipcode))
        {
            alert("Please enter a valid zip code.");
            document.online_registration.Zip.focus();
            return false;
         }
var phonecheck=/[0-9()-]{6,}/                                        //TELEPHONE NUMBER VALIDATION 
var phonenum=document.online_registration.Telephone.value;    
        if(!phonecheck.test(phonenum))
        {
            alert("Please enter a valid telephone number.");
            document.online_registration.Telephone.focus();
            return false;
        }
var tomatch=/[A-Za-z0-9]\w{1,}@[A-Za-z0-9-]{2,}\.[A-Za-z]{2,}/       //EMAIL VALIDATION
var emadd=document.online_registration.Email.value;
        if(!tomatch.test(emadd))
        {
         alert("Please enter a valid Email address.");
         document.online_registration.Email.focus();
         return false;
        } 
if(document.online_registration.Name_Student_One.value=="")          //NAME VALIDATION STUDENT ONE 
        {
            alert("Please enter a name for Student One.");
            document.online_registration.Name_Student_One.focus();
            return false;
        }
        for(var i=0; i<document.online_registration.Name_Student_One.value.length; i++)
        {
            for(var j=0; j<alphaChars.length; j++)
            {
                if(alphaChars.charAt(j)==document.online_registration.Name_Student_One.value.charAt(i)) 
                {
                    break;
                }
                    else;
                {
                if(j==(alphaChars.length-1))
                    {
                        alert("Please enter a valid name for Student One.");
                        document.online_registration.Name_Student_One.focus();
                        return false;   
                    }
                }
            }
        }
var agecheck=/[0-9]\d{1,}/                                
var age=document.online_registration.Birthday_Student_One.value;    
        if(!agecheck.test(age))
        {
            alert("Please enter a valid Birthday for Student One.");
            document.online_registration.Birthday_Student_One.focus();
            return false;
  }
if(document.online_registration.Name_Student_Two.value==!"")         //NAME VALIDATION STUDENT TWO 
        {
            alert("Please enter a name for Student Two.");
            document.online_registration.Name_Student_One.focus();
            return false;
        }
        for(var i=0; i<document.online_registration.Name_Student_Two.value.length; i++)
        {
            for(var j=0; j<alphaChars.length; j++)
            {
                if(alphaChars.charAt(j)==document.online_registration.Name_Student_Two.value.charAt(i)) 
                {
                    break;
                }
                    else;
                {
                if(j==(alphaChars.length-1))
                    {
                        alert("Please enter a valid name for Student Two.");
                        document.online_registration.Name_Student_Two.focus();
                        return false;   
                    }
                }
            }
        }
if(document.online_registration.Birthday_Student_Two.value==!"")           //AGE VALIDATION STUDENT TWO
  {
var agecheck=/[0-9]\d{1,}/ 
var age=document.online_registration.Birthday_Student_Two.value;    
        if(!agecheck.test(age))
        {
            alert("Please enter a valid Birthday for Student Two.");
            document.online_registration.Birthday_Student_Two.focus();
            return false;
         }
  }
if(document.online_registration.Name_Student_Three.value==!"")         //NAME VALIDATION STUDENT THREE 
        {
            alert("Please enter a name for Student Three.");
            document.online_registration.Name_Student_Three.focus();
            return false;
        }
        for(var i=0; i<document.online_registration.Name_Student_Three.value.length; i++)
        {
            for(var j=0; j<alphaChars.length; j++)
            {
                if(alphaChars.charAt(j)==document.online_registration.Name_Student_Three.value.charAt(i)) 
                {
                    break;
                }
                    else;
                {
                if(j==(alphaChars.length-1))
                    {
                        alert("Please enter a valid name for Student Three.");
                        document.online_registration.Name_Student_Three.focus();
                        return false;   
                    }
                }
            }
        }
if(document.online_registration.Birthday_Student_Three.value==!"")        //AGE VALIDATION STUDENT THREE
  {
var agecheck=/[0-9]\d{1,}/                  
var age=document.online_registration.Birthday_Student_Three.value;    
        if(!agecheck.test(age))
        {
            alert("Please enter a valid Birthday for Student Three.");
            document.online_registration.Birthday_Student_Three.focus();
            return false;
         }
  }
}
//-->