var myEvent;
var showContextM = true;

function showLogoAlert(myEvent) {
   showContextM = false;
   if(!myEvent) {
   		myEvent = window.event;
   }
   
   if(myEvent.button == 2) {
   	 	if(confirm('If you would like to use our Logo, please click OK.')) {
   	 		document.location.href="/index.php?id=290";
   	 	} else {
   	 		showContextM = true;
   	 	}   
   } else {
   		showContextM = true;
   }
   
   return true;
}

function click (e) {
  
  if(showContextM == true)
  { 
  	return true;
  }
  if (!e)
    e = window.event;
  if ((e.type && e.type == "contextmenu") || (e.button && e.button == 2) || (e.which && e.which == 3)) {
    if (window.opera)
      window.alert("Sorry: Diese Funktion ist deaktiviert.");
    return false;
  }
}

document.onmousedown = click;
document.oncontextmenu = click;	
