/* /configurator/submitStartForm2.js */
function submitStartForm2(modelIDCode) {
   var theForm = document.forms['configurationForm'];
   var theZipCode = theForm.elements['zipCode'];
   var theModelId = theForm.elements['modelId'];
   if ( validateStartForm2(theZipCode,theModelId,modelIDCode) ){
     document.location="/lexusConfigApp/pub/setStartOptions.do?modelId="+modelIDCode+"&zipCode="+theZipCode.value;
   }
}
function validateStartForm2(theZipCode,theModelId,modelIDCode) {
   re = /\D/;
   if ( theZipCode.value.length != 5 || theZipCode.value.match(re) ) {
      alert('You must enter a valid 5 digit zip code to continue.');
      theModelId.value=modelIDCode;
      theZipCode.focus();
      if(theZipCode.value.match(re))theZipCode.select();
      return false;
   }
   return true;
}