function validateOrderStatusForm()
{
   //------------------------------------------------------------------- 
   // Validates the contact email form for null values and email address 
   // format. Alert the user if the email address is invalid.
   //    returns true if the email address field validates, else false.
   //-------------------------------------------------------------------

   var objForm = document.checkOrderForm;
   var errorArray = new Array ("none","none","none");

   if (!isEmptyFields(objForm.r_confirmnum))
       errorArray[0] = "block";

   if (!isZipCode(objForm.r_zipcode.value))
       errorArray[1] = "block";

   if (!isEmptyFields(objForm.r_name))
       errorArray[2] = "block";

   var str = errorArray.join("");
   if (str.indexOf('block') != -1)
       return displayErrorBox (errorArray);

   return true;
}


