function SendMail(address) {
	if (address == "a")
	{
    address = 'inquires@t-force.co.uk?subject=Inquiry from WebSite';
	}
    window.open('mailto:' + address, '_blank');
}

function checkEmail(myForm) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.email.value))
{
return true;
}
alert("Invalid email Address, please re-enter.");
return false;
}

function validateEmail(emailField) {
  emailpat = /^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+$/;
  if (!emailpat.test(emailField.value)) {               
    return false;
  }
    return true;
}

function isEmpty(aTextField) {
  if ((aTextField.value.length==0) || (aTextField.value == null)) {
    return true;
  }
  else { 
    return false;
  }
}

function clearBox(box) {
	if(box.value==box.defaultValue) 
	{
	 	box.value = "";
	 }
}

function CopyrightNotice() {
    var now = new Date();
    document.write("Copyright &copy; T-Force Systems, " + now.getYear());
}

	