function promptMenu(optionCheck)

{



//  flag=false;

//  if (document.optionCheck.agree.checked)

//  { flag = true; }

//  if (!flag)

//  {

//    alert ("Please read and agree to the Privacy Notice and Disclosure before proceeding.");

//    return;

//  }



  var low;

  var middle;

  var high;

  var searchZip;

  var zipArray = new Array(



// Please enter the Zip codes in numerical order.

// If you don't, then the program will not work correctly.

"02018", "02019", "02020", "02021", "02025", "02026", "02027", "02030", "02031", "02032", "02035", "02038", "02040", "02041", "02047", "02048",

"02051", "02052", "02053", "02054", "02055", "02056", "02059", "02060", "02062", "02066", "02067", "02070", "02071", "02072", "02081", "02090",

"02093", "02169", "02170", "02171", "02184", "02185", "02186", "02188", "02189", "02190", "02191", "02269", "02322", "02327", "02334", "02337",

"02343", "02345", "02350", "02355", "02356", "02357", "02358", "02366", "02368", "02375", "02379", "02492", "02494", "02563", "02571", "02630",

"02631", "02633", "02634", "02638", "02642", "02644", "02645", "02649", "02653", "02664", "02668", "02675", "02702", "02703", "02703", "02712",

"02714", "02715", "02717", "02718", "02719", "02720", "02721", "02722", "02723", "02724", "02725", "02726", "02740", "02741", "02742", "02743",

"02743", "02744", "02745", "02746", "02747", "02748", "02760", "02761", "02762", "02762", "02763", "02764", "02766", "02767", "02768", "02769",

"02771", "02777", "02779", "02780", "02783", "02790", "02801", "02802", "02804", "02806", "02807", "02808", "02809", "02812", "02813", "02814",

"02814", "02815", "02816", "02817", "02818", "02822", "02823", "02824", "02825", "02826", "02827", "02828", "02829", "02830", "02824", "02831",

"02832", "02832", "02833", "02835", "02836", "02837", "02838", "02839", "02840", "02841", "02842", "02852", "02854", "02857", "02858", "02859",

"02860", "02861", "02862", "02863", "02864", "02865", "02871", "02872", "02873", "02874", "02875", "02876", "02877", "02878", "02879", "02879",

"02880", "02881", "02882", "02883", "02885", "02886", "02887", "02888", "02889", "02891", "02892", "02893", "02894", "02895", "02896", "02898",

"02901", "02902", "02903", "02904", "02904", "02905", "02905", "02906", "02907", "02907", "02908", "02908", "02909", "02910", "02910", "02911",

"02911", "02912", "02914", "02915", "02916", "02917", "02918", "02919", "02920", "02921", "02940"

);



  low = 0;

  high = zipArray.length - 1;



  searchZip = parseInt(document.optionCheck.Zip.value, 10);



  while (low <= high)

  {

    middle = Math.floor((low + high) / 2);



    if (searchZip == zipArray[middle])

    {

      window.location.href = "agreements3.html";

      return 0;

    }

    else if (searchZip < zipArray[middle])

    {

      high = middle - 1;

    }

    else

    {

      low = middle + 1;

    }



  }



    window.location.href = "zip_check_error.html";



}