// 

function check_contact_form() {
	
	errors = 0;
	msg = "Please provide the following information:\n"
	
	if (document.getElementById("fullname").value == '')
	{
		errors = errors + 1;
		msg = msg + "\n- Your Fullname";
	}
	
	if (document.getElementById("email").value == '')
	{
		errors = errors + 1;
		msg = msg + "\n- Your Email Address";
	}	
	
	if (document.getElementById("postcode").value == '')
	{
		errors = errors + 1;
		msg = msg + "\n- Your Postcode";
	}		
	
	if (errors > 0)
	{
		alert(msg);
		return false;
	}
	else
	{
		return true;	
	}
}

var T = "transparent";

function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      oldonload();
      func();
    }
  }

}

function emailCloak() {
	if (document.getElementById) {
		var alltags = document.all? document.all : document.getElementsByTagName("*");
		for (i=0; i < alltags.length; i++) {
		  if (alltags[i].className == "email") {
		  	var oldText = alltags[i].firstChild;
		  	var emailAddress = alltags[i].firstChild.nodeValue;
		  	var user = emailAddress.substring(0, emailAddress.indexOf("("));
		  	var website = emailAddress.substring(emailAddress.indexOf(")")+1, emailAddress.length);
		  	var newText = user+"@"+website;
		  	var a = document.createElement("a");
		  	a.href = "mailto:"+newText;
			var address = document.createTextNode(newText);
			a.appendChild(address);
			alltags[i].replaceChild(a,oldText);
		  }
		}
	}
}

addLoadEvent(emailCloak);

<!--
var win= null;
function NewWindow(mypage,myname,w,h,scroll,resize){
var winl = (screen.width-w)/2;
var wint = (screen.height-h)/2;
var settings ='height='+h+',';
settings +='width='+w+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars='+scroll+',';
settings +='resizable='+resize+',';
win=window.open(mypage,myname,settings);
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
} 
function MM_openBrWindow(theURL,winName,features) { 
window.open(theURL,winName,features);

}
//-->