// Michael Peters - Organist

// Begin JavaScripts Script

var message      = "You May Not Right Mouse Click This Page.";
var hide_status  = "yes"  // HIDE LINK IN STATUS BAR
var status_text  = "Michael Peters - Organist and Cantor" // TEXT IN THE STATUS BAR

function blockError(){return true;}
window.onerror = blockError;

if (navigator.appName == 'Microsoft Internet Explorer'){
function NOclickIE(e) {
if (event.button == 2 || event.button == 3) {
alert(message);
return false;
}
return true;
}
document.onmousedown=NOclickIE;
document.onmouseup=NOclickIE;
window.onmousedown=NOclickIE;
window.onmouseup=NOclickIE;
}
else {
function NOclickNN(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}}}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=NOclickNN; }
document.oncontextmenu=new Function("alert(message);return false")
}

// Variables for Web Statistic Counter
var sc_project=353419;
var sc_partition=1;

   if (hide_status == "yes") {

function hidestatus(){
window.status=status_text
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus

}

function validateForm(){
var x=document.forms["ContactForm"]["Address"].value

if (x==null || x=="")
  {
  alert("You have no selected a sample CD.  Please indicate Yes or No");
  return false;
  }
}

// End JavaScripts Script

