
function click (e) {
  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;
  }
}
if (document.layers)
  document.captureEvents(Event.MOUSEDOWN);
document.onmousedown = click;
document.oncontextmenu = click;




<!--
function setActive(Ident) {
				
	document.getElementById(Ident).className = "MenuMainTdA";
				
}

function setDeactive(Ident) {
	document.getElementById(Ident).className = "MenuMainTd";
}

function PW_btnOver(Button) { //v1.00
	document.getElementById(Button+'N').style.display = 'none';
	document.getElementById(Button+'O').style.display = 'block';
}
function PW_btnOut(Button) { //v1.00
	document.getElementById(Button+'O').style.display = 'none';
	document.getElementById(Button+'N').style.display = 'block';
}
function PW_popWindow(URL,Width,Height) { //v1.00
	var intWidth,intHeight,intLeft,intTop;
	intWidth  = Width;
	intHeight = Height;
	intLeft   = (screen.width / 2) - (intWidth / 2);
	intTop    = (screen.height / 2) - (intHeight / 2);
	//window.open(URL,'newWindow','scrollbars=yes,width='+intWidth+',height='+intHeight+',left='+intLeft+',top='+intTop);
	
	document.getElementById('divImageId').style.display = 'block';
	document.getElementById('divImageId').style.top     = "150px";
	document.getElementById('divImageId').style.left    = "120px";

	document.getElementById('imgImageId').src = URL;

}

function PW_popWindow2(URL) { //v1.00
	var intWidth,intHeight,intLeft,intTop;
	intWidth  = 400;
	intHeight = 300;
	intLeft   = (screen.width / 2) - (intWidth/2);
	intTop    = 320;
	//window.open(URL,'newWindow','scrollbars=yes,width='+intWidth+',height='+intHeight+',left='+intLeft+',top='+intTop);
	
	window.open(URL,'newWindow','scrollbars=yes,width='+intWidth+',height='+intHeight+',left='+intLeft+',top='+intTop);


}


function PW_fldClear(Field,Standard) {
	if (document.getElementById(Field).value==Standard) {
		document.getElementById(Field).value = '';
	}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_validateForm() { //v5.00
  var i,p,q,nt,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) {
		test=args[i+2];
		val=MM_findObj(args[i]);
    if (val) {
				nt = (args[i+1]=='' ? val.name : args[i+1]);
		if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nt+' muss eine gültige Adresse beinhalten!\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nt+' muss eine Zahl beinhalten!\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nt+' muss eine Zahl zwischen '+min+' und '+max+' beinhalten!\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nt+' muss angegeben werden!\n'; }
  } if (errors) alert('Folgende Fehler sind aufgetreten:\n\n'+errors);
  document.MM_returnValue = (errors == '');
}



function showFoto(DIV,IMG,ID,WIDTH,URL) {
	if(WIDTH>500) {
		var WIDTH = '500';
	}
	var intTop =  (document.body.parentNode.scrollTop)+200;
	//var intLeft = ((screen.availWidth-WIDTH)/2);
	//var intLeft = ((636-WIDTH)/2);
	var intLeft = ((screen.availWidth-WIDTH)/2);
	document.getElementById(DIV).style.display = 'block';
	document.getElementById(DIV).style.top     = intTop+'px';
	document.getElementById(DIV).style.left    = intLeft+'px';
	document.getElementById(IMG).src = URL+ID;
}
function hideFoto(DIV,IMG) {
	document.getElementById(DIV).style.display = 'none';
	document.getElementById(IMG).src = 'images__front/construct/iEmpty.gif';
}

//-->
