  function CheckZipCode() 
  {

// Author: Jaime Perez
// Email address: jdperez@co.la.ca.us
// Los Angeles County ISD
// Created: 1-23-04
// Purpose
//**********************************************************************************
// This Javascript code works with Regular Expressions to validate a user email
// address input and their 5 digit zip code.  If they're both good then this form
// will be submitted to the subscription page for the Board of Supervisor in the
// County of Los Angeles
//***********************************************************************************	

	var strict = new Object();
	strict.Zip = /\d{5}/;
  	strict.Email = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/;

	var first = strict.Email.exec(document.thirddistrict.Email.value);
	
	if (!first)
        {
        alert ("Please provide a valid Email address");
       	document.thirddistrict.Email.focus();
        return false; 
       	}
       		
        var second = strict.Zip.exec(document.thirddistrict.Zip.value);
         
        if (!second)
        {
        alert ("Please provide a valid 5 digit Zip Code");
       	document.thirddistrict.Zip.focus();
        return false; 
       	}
       	if(first && second)
       	{
      	return true;
       	 }	
	};
