<!--

function validateRequestForm(theForm)
{

	var strMsg = "";

  if (theForm.name.value == "")
  {
    strMsg = "The \"Name\" field.\n";    
  }

      
  if (theForm.email.value == "")
  {
    strMsg += "The \"Email\" field.\n";    
  }
  
	
	if (strMsg != ""){
		strMsg = "Please enter values in these required fields.\n\n" + strMsg 
		alert(strMsg);
		theForm.name.focus();
		return (false);
	}
  
  return (true);
}
//=========================================================
 
 function trim_string(strValue) {
     var ichar, icount;
     //var strValue = this;
     ichar = strValue.length - 1;
     icount = -1;
     while (strValue.charAt(ichar)==' ' && ichar > icount)
         --ichar;
     if (ichar!=(strValue.length-1))
         strValue = strValue.slice(0,ichar+1);
     ichar = 0;
     icount = strValue.length - 1;
     while (strValue.charAt(ichar)==' ' && ichar < icount)
         ++ichar;
     if (ichar!=0)
         strValue = strValue.slice(ichar,strValue.length);
     return strValue;
 }
 


// -->