function contact(msg){
//Use AJAX to send mail

var xmlReq = null 

if (typeof window.ActiveXObject != 'undefined' ) 
{ 
	xmlReq = new ActiveXObject("Microsoft.XMLHTTP"); 
	//doc.onreadystatechange = displayState; 
} 
else 
{ 
   	xmlReq = new XMLHttpRequest(); 
 	//doc.onload = displayState; 
}

var str = msg;
var url = "";
url = "send" + "." + "cgi";
xmlReq.open("POST",url,true); 
xmlReq.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); 
xmlReq.send(str);

// Show a confirm message
document.all.idForm.className="Collapse";
document.all.idMessage.className="";

}

function getRecipient(){
   //For each radio button if it is checked get the value and break.
   for (var i = 0; i < document.cr.hradio.length; i++){
      if (document.cr.hradio[i].checked){
         return document.cr.hradio[i].value;
      }
   }
   return "H";
}