function AA_Open_Window(openURL,windowName,features) {
  window.open(openURL,windowName,features);
}

function AA_Status_Bar_Message(strMessage) {
  status=strMessage;
  document.AA_ReturnValue = true;
}

function AA_Reload_Page(init) {  
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.AA_pgW=innerWidth; document.AA_pgH=innerHeight; onresize=AA_reloadPage; }}
  else if (innerWidth!=document.AA_pgW || innerHeight!=document.AA_pgH) location.reload();
}
AA_Reload_Page(true);

function AA_Close_Window() {
    window.close();
}

function AA_close_window() {
    window.close();
}

function AA_Confirm_Msg(msg) {
  document.MM_returnValue = confirm(msg);
}

function emptyfirstnamefield(){
if (document.winsignup.firstname.value == "First Name")
	document.winsignup.firstname.value = "";
}

function emptylastnamefield(){
if (document.winsignup.lastname.value == "Last Name")
	document.winsignup.lastname.value = "";
}

function emptyemailfield(){
if (document.winsignup.email.value == "E-Mail")
	document.winsignup.email.value = "";
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function unblur() {
	this.blur();
} 
function blurLinks() {
	if (!document.getElementById) return;
	theLinks = document.getElementsByTagName("A");
	theAreas = document.getElementsByTagName("AREA");
	for(i=0; i<theLinks.length; i++) {theLinks[i].onfocus = unblur;}
	for(i=0; i<theAreas.length; i++) {theAreas[i].onfocus = unblur;}
  }

function toggle(item,typ) {
	obj = document.getElementById(item);
	visible = (obj.style.display != "none");
	if(typ == 1){
		obj.style.display = "block";
	} else {
		obj.style.display = "none";
	}
}

<!-- Start Tracking Code -->
var ref   = escape(document.referrer);
var land  = escape( location.href );

document.write( '<' + 'script language="javascript" src="http://www.affinityhosting.co.uk/t.php?u=2&r=' + ref + '&l=' + land + '"><' + '/script>' );
<!-- End Tracking Code -->