<!--
function clickIE() {
if (document.all) {
return false;
}
} 
function clickNS(e) {
if (document.layers||(document.getElementById&&!document.all)) { 
if (e.which==2||e.which==3) {
return false;
}
}
} 
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS;
} 
else{
document.onmouseup=clickNS;
document.oncontextmenu=clickIE;
} 
document.oncontextmenu=new Function("return false") 
// -->

<!--
var bookmarkurl="http://www.oddwhim.co.uk"
var bookmarktitle="Oddwhim Art"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}
//-->

<!-- 
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(); }
}
//-->

// Open new Window
<!--
function win() {
window.open("c_mail.htm","","height=665,width=600,left=325,top=200");
}
//-->

// Open new Window thanks
<!--
function winthanks() {
window.open("thanky.htm","","height=665,width=600,left=325,top=200");
}
//-->

<!-- 
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
}
}
}
//-->
