
// Flash-Detection
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
var plugin6 = false;

if ( plugin ) {
	if (parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) > 5)
		plugin6 = true;
	plugin = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 5; 
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")))\n');
	document.write('plugin6 = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))\n');
	document.write('</SCRIPT\>\n');
}

// Rechte Maustaste deaktivieren, um Download zu verhindern		

function disableRightMouse() {	
return true;
	if (IE || NN6) document.oncontextmenu =  function () { return false; };
	
	if (NN4){
		document.captureEvents(Event.MOUSEDOWN);
  		document.onmousedown = function (evt) { if (evt.which == 3) return false;};
	}	
}

// oeffnet Popup
function openPopup(URL,popname,W,H,scroll,rezisable,X,Y) {
	var URL,popname,W,H,scroll,rezisable,X,Y;
	if (!popname) { popname='popup'; }
	if (!W) { W=520; }
	if (!H) { H=460; }
	if (!scroll) { scroll=0; }
	if (!rezisable) { rezisable=0; }
	if (!X) { X=screen.width/2-(W/2); }
	if (!Y) { Y=screen.height/2-(H/2)-20; }
	properties = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+scroll+",resizable="+rezisable+",";
	properties += "width="+W+",height="+H+",left="+X+",top="+Y;
	popwin=window.open(URL,popname,properties);
	popwin.focus();
}


//onload=disableRightMouse;

