var message="All images and textual content of this website copyright www.childandsound.com";

function clickIE()
 
{if (document.all)
{(message);alert(message);return false;}}
 
function clickNS(e) {
if
(document.layers||(document.getElementById&&!document.all))
{
if (e.which==2||e.which==3) {(message);alert(message);return false;}}}

if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else
{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
 
document.oncontextmenu=new Function("alert(message); return false")





function checkDonate (min) { //document.write("HERE");
var e = document.fDonate.email.value;
var a = document.fDonate.amount.value;
var emailFilter=/^.+@.+\..{2,3,4,5,6}$/;
var illegalChars= /[\(\)\<\>\,\;\:\\\/\"\[\]]/

if (e == "") { alert("Please enter your email address"); document.fDonate.email.focus(); return false;} else
if (a == "" || a < min) { alert("Please enter an amount greater than £"+min); document.fDonate.amount.focus(); return false;} else
//if (!(emailFilter.test(e))) { alert("Please enter a valid email address1"); document.fDonate.email.focus(); return false;} else
if (e.match(illegalChars)) {alert("Please enter a valid email address"); document.fDonate.email.focus(); return false;} else

return true;
}