<!-- 
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
//-->

<!--
function check(frm){
   if (!frm.comments.value){
	alert("You didn't enter an Enquiry.");
	frm.comments.focus();
	return false;
	}
   if (!frm.forename.value){
	alert("You didn't tell me your Forename.");
	frm.forename.focus();
	return false;
	}
    if (!frm.surname.value){
	alert("You didn't tell me your Surname.");
	frm.surname.focus();
	return false;
	}
    if (!frm.submit_by.value){
	alert("You didn't tell me your E-mail Address.");
	frm.submit_by.focus();
	return false;
	}
    return true;
	}
//-->

<!--
/*
Submit Once form validation-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

function submitonce(theform){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
//screen thru every element in the form, and hunt down "submit" and "reset"
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
//disable em
tempobj.disabled=true
}
}
}
//-->
