
function hideEmail(name, org, domain, subject,title,classref) {
	var vname = name;
	var vorg = org;
	var vdomain = domain;
	var vsubject = subject;
	var vtitle = title;
	var vclass = classref;

	document.write("<A CLASS=\"" + vclass + "\" TITLE=\"" + vtitle + "\" HREF=\"mailto");
    document.write(":" + vname + "@");
    document.write(vorg + "." + vdomain + "?Subject=" + vsubject + "\">" + vname + "@" + vorg + "." + vdomain + "<\/a>");

}

function addtofavourites(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

function submitEnquiry()
	{
	 enquiry(document.emailform);
	}

	function enquiry(enquiryForm)
	{
	 if (document.emailform.Name.value == "")
	  {
		alert("Please enter your name.");
		document.emailform.Name.focus();
		return false;
	  }
  
  if ((document.emailform.Email.value.indexOf ("@",0) == -1 ||
   document.emailform.Email.value.indexOf (".",0) == -1) ||
   document.emailform.Email.value == "")
  {
		alert("Please enter your email address.");
		document.emailform.Email.focus();
		return false;
  }


	document.emailform.submit();	
	return true; 
	}