function checkform ( form )
{
    // ** quote scripts **
    	if (form.Name.value == "") {
        alert( "Please type in your Name." );
        form.Name.focus();
        return false ;
    }

	if (form.country.value == "") {
        alert( "Please indicate your Country." );
        form.country.focus();
        return false ;
    }

    	if (form.Subject.value == "") {
        alert( "Please type in your Subject." );
        form.Subject.focus();
        return false ;
    }

    	if (form.Inquiry.value == "") {
        alert( "Please type in your Message." );
        form.Inquiry.focus();
        return false ;
    }

	if (form.Email.value == "") {
        alert( "Please indicate your E-Mail address." );
        form.Email.focus();
        return false ;
    } else {
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(form.Email.value)){
	return (true)
    }
	alert("Invalid E-mail Address! Please re-enter.");
	return false;
    } 
	// ** END **
	return true ;
}

function resetStateText(theForm) {
  theForm.Province.value = '';
  if (theForm.State.options.length > 1) {
    theForm.Province.value = 'Refer Above';
  }
}

function resetZoneSelected(theForm) {
  if (theForm.State.options.length > 1) {
    theForm.Province.value = 'Refer Above';
  }
}

function update_zone(theForm) {
   
   var NumState = theForm.State.options.length;
            
   while(NumState > 0) {
      NumState--;
      theForm.State.options[NumState] = null;
   }

   var SelectedCountry = "";
            
   SelectedCountry = theForm.country.options[theForm.country.selectedIndex].value;
    if (SelectedCountry == "0") {
    theForm.State.options[0] = new Option("(For US/Canada/Romania)", "");
  }            

  else if (SelectedCountry == "Canada") {
    theForm.State.options[0] = new Option("Please Select", "");
    theForm.State.options[1] = new Option("Alberta", "Alberta");
    theForm.State.options[2] = new Option("British Columbia", "British Columbia");
    theForm.State.options[3] = new Option("Manitoba", "Manitoba");
    theForm.State.options[4] = new Option("New Brunswick", "New Brunswick");
    theForm.State.options[5] = new Option("Newfoundland", "Newfoundland");
    theForm.State.options[6] = new Option("Northwest Territories", "Northwest Territories");
    theForm.State.options[7] = new Option("Nova Scotia", "Nova Scotia");
    theForm.State.options[8] = new Option("Nunavut", "Nunavut");
    theForm.State.options[9] = new Option("Ontario", "Ontario");
    theForm.State.options[10] = new Option("Prince Edward Island", "Prince Edward Island");
    theForm.State.options[11] = new Option("Quebec", "Quebec");
    theForm.State.options[12] = new Option("Saskatchewan", "Saskatchewan");
    theForm.State.options[13] = new Option("Yukon Territory", "Yukon Territory");
  }
  else if (SelectedCountry == "Romania") {
    theForm.State.options[0] = new Option("Please Select", "");
    theForm.State.options[1] = new Option("Dolj", "Dolj");
  }
  else if (SelectedCountry == "United States") {
    theForm.State.options[0] = new Option("Please Select", "");
    theForm.State.options[1] = new Option("Alabama", "Alabama");
    theForm.State.options[2] = new Option("Alaska", "Alaska");
    theForm.State.options[3] = new Option("American Samoa", "American Samoa");
    theForm.State.options[4] = new Option("Arizona", "Arizona");
    theForm.State.options[5] = new Option("Arkansas", "Arkansas");
    theForm.State.options[6] = new Option("Armed Forces Africa", "Armed Forces Africa");
    theForm.State.options[7] = new Option("Armed Forces Americas", "Armed Forces Americas");
    theForm.State.options[8] = new Option("Armed Forces Canada", "Armed Forces Canada");
    theForm.State.options[9] = new Option("Armed Forces Europe", "Armed Forces Europe");
    theForm.State.options[10] = new Option("Armed Forces Middle East", "Armed Forces Middle East");
    theForm.State.options[11] = new Option("Armed Forces Pacific", "Armed Forces Pacific");
    theForm.State.options[12] = new Option("California", "California");
    theForm.State.options[13] = new Option("Colorado", "Colorado");
    theForm.State.options[14] = new Option("Connecticut", "Connecticut");
    theForm.State.options[15] = new Option("Delaware", "Delaware");
    theForm.State.options[16] = new Option("District of Columbia", "District of Columbia");
    theForm.State.options[17] = new Option("Federated States Of Micronesia", "Federated States Of Micronesia");
    theForm.State.options[18] = new Option("Florida", "Florida");
    theForm.State.options[19] = new Option("Georgia", "Georgia");
    theForm.State.options[20] = new Option("Guam", "Guam");
    theForm.State.options[21] = new Option("Hawaii", "Hawaii");
    theForm.State.options[22] = new Option("Idaho", "Idaho");
    theForm.State.options[23] = new Option("Illinois", "Illinois");
    theForm.State.options[24] = new Option("Indiana", "Indiana");
    theForm.State.options[25] = new Option("Iowa", "Iowa");
    theForm.State.options[26] = new Option("Kansas", "Kansas");
    theForm.State.options[27] = new Option("Kentucky", "Kentucky");
    theForm.State.options[28] = new Option("Louisiana", "Louisiana");
    theForm.State.options[29] = new Option("Maine", "Maine");
    theForm.State.options[30] = new Option("Marshall Islands", "Marshall Islands");
    theForm.State.options[31] = new Option("Maryland", "Maryland");
    theForm.State.options[32] = new Option("Massachusetts", "Massachusetts");
    theForm.State.options[33] = new Option("Michigan", "Michigan");
    theForm.State.options[34] = new Option("Minnesota", "Minnesota");
    theForm.State.options[35] = new Option("Mississippi", "Mississippi");
    theForm.State.options[36] = new Option("Missouri", "Missouri");
    theForm.State.options[37] = new Option("Montana", "Montana");
    theForm.State.options[38] = new Option("Nebraska", "Nebraska");
    theForm.State.options[39] = new Option("Nevada", "Nevada");
    theForm.State.options[40] = new Option("New Hampshire", "New Hampshire");
    theForm.State.options[41] = new Option("New Jersey", "New Jersey");
    theForm.State.options[42] = new Option("New Mexico", "New Mexico");
    theForm.State.options[43] = new Option("New York", "New York");
    theForm.State.options[44] = new Option("North Carolina", "North Carolina");
    theForm.State.options[45] = new Option("North Dakota", "45");
    theForm.State.options[46] = new Option("Northern Mariana Islands", "46");
    theForm.State.options[47] = new Option("Ohio", "Ohio");
    theForm.State.options[48] = new Option("Oklahoma", "Oklahoma");
    theForm.State.options[49] = new Option("Oregon", "Oregon");
    theForm.State.options[50] = new Option("Palau", "Palau");
    theForm.State.options[51] = new Option("Pennsylvania", "Pennsylvania");
    theForm.State.options[52] = new Option("Puerto Rico", "Puerto Rico");
    theForm.State.options[53] = new Option("Rhode Island", "Rhode Island");
    theForm.State.options[54] = new Option("South Carolina", "South Carolina");
    theForm.State.options[55] = new Option("South Dakota", "South Dakota");
    theForm.State.options[56] = new Option("Tenessee", "Tenessee");
    theForm.State.options[57] = new Option("Texas", "Texas");
    theForm.State.options[58] = new Option("Utah", "Utah");
    theForm.State.options[59] = new Option("Vermont", "Vermont");
    theForm.State.options[60] = new Option("Virgin Islands", "Virgin Islands");
    theForm.State.options[61] = new Option("Virginia", "Virginia");
    theForm.State.options[62] = new Option("Washington", "Washington");
    theForm.State.options[63] = new Option("West Virginia", "West Virginia");
    theForm.State.options[64] = new Option("Wisconsin", "Wisconsin");
    theForm.State.options[65] = new Option("Wyoming", "Wyoming");
  }
  else {
    theForm.State.options[0] = new Option("Non US/Canada Use Form Below", "");
  }
   resetStateText(theForm);

}