    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
    	win = window.open(mypage, myname, winprops)
    	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
    }    
	
    function ShowHide(nr)
    {
        if(document.getElementById(nr).style.display=="none")
        {
            document.getElementById(nr).style.display=''  ;
        }
        else
        {
            document.getElementById(nr).style.display="none";
        }
    }
    
    function ValidComment(){
        if (document.frm.name.value=="") {
        	alert("Please enter your name.")
        	document.frm.name.focus()
        return false }
        if (document.frm.email.value=="") {
        	alert("Please enter your email address. (It will not be posted online, but used internally if we need to contact you about your comments.)")
        	document.frm.email.focus()
        return false }
        if (document.frm.comment.value=="") {
        	alert("Please enter comment contents.")
        	document.frm.comment.focus()
        return false }
    }
    
    function ValidateSendEmail(){
        if (document.frm.email.value=="") {
        	alert("Please enter Friend's email address.")
        	document.frm.email.focus()
        return false }
        if (document.frm.msg.value=="") {
        	alert("Please enter your message.")
        	document.frm.msg.focus()
        return false }
    }