// moock fpi [f.lash p.layer i.nspector] version: 1.3.4
// written by colin moock
// code maintained at: http://www.moock.org/webdesign/flash/detection/moockfpi/
// unrestricted use permission granted for: artists, educational institutions and non-profit organizations. 
// restricted use permission granted for commercial purposes under linkware agreement terms set out at the above url...
var requiredVersion = 4;			
var flash2Installed = false;		
var flash3Installed = false;		
var flash4Installed = false;		
var flash5Installed = false;		
var maxVersion = 5;					
var actualVersion = 0;				
var hasRightVersion = false;		
var jsVersion = 1.0;	
var play=false;					

var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;		
var isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true : false; 
jsVersion = 1.1;

if(isIE && isWin){ 
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('flash2Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');
	document.write('flash3Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');
	document.write('flash4Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');
	document.write('flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');	
	document.write('</SCR' + 'IPT\> \n'); 
}

function detectFlash(){	
	if (navigator.plugins){								
		if (navigator.plugins["Shockwave Flash 2.0"] 	
		|| navigator.plugins["Shockwave Flash"]){		
			var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
			var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;
			var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));
			flash2Installed = flashVersion == 2;		
			flash3Installed = flashVersion == 3;
			flash4Installed = flashVersion == 4;
			flash5Installed = flashVersion == 5;
		}
	}
	for (var i = 2; i <= maxVersion; i++) {	
		if (eval("flash" + i + "Installed") == true) actualVersion = i;
	}
	if(navigator.userAgent.indexOf("WebTV") != -1) actualVersion = 2;	
	if (actualVersion >= requiredVersion) {
		hasRightVersion = true;
		play=true;
	}						
}

detectFlash();	

function film() {
	if(hasRightVersion) {
			var parameter='<param name="movie" value="filme/oase.swf">';
			var embedsrc='<embed src="filme/oase.swf"';			
			var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="oase"'
		+ 'width="500" height="167">'
		+  parameter
		+ '<param name="play" value="true">'
		+ '<param name="loop" value="false">'
		+ '<param name="quality" value="high">'
		+ '<param name="menu" value="false">'
		+ '<param name="bgcolor" value="#FFCC66">'
		+  embedsrc
		+ 'width="500" height="167"'
		+ 'play="true"'
		+ 'loop="false"'
		+ 'quality="high"'
		+ 'menu="false"'
		+ 'bgcolor="#FFCC66"'
		+ 'type="application/x-shockwave-flash"'
		+ '</embed>'
		+ '</object>';
		document.write(oeTags); 	
	} else {	
		var alternateContent = '<IMG SRC="images/oase.gif" width="500" height="167">';
		document.write(alternateContent);	
	}
	
}

if (navigator.appName == "Microsoft Internet Explorer"){
	docref="document.all.";
	st=".style.";
	type="ie";
 }



if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) ==4 )){
	docref="document.layers.";
	st=".";
	type="nn4";
 }  
 
 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) > 4 )){
	docref="document.getElementById('";
	st="').style.";
	type="nn6";
	
 }  

var mover=750;
var min=-900;

function warte() {
setTimeout("tick()",8000);
}


function tick() {
if (mover > min) {
		 mover = mover-1;
		 eval(docref+'ticker'+st+'left='+mover);
		 if(type=="nn4") {eval(docref+'cover_links'+st+'left=108');}
		 if (type=="ie") {eval(docref+'cover_links'+st+'left=110');}
		 setTimeout("tick()", 20);
}
else {
	  	 mover=750;
		 setTimeout("tick()", 1);
}
}

var mywindow

function fenster(welches) {
mywindow = window.open(welches + '.htm', '', 'toolbar=no,status=no,location=no,'+ 'scrollbars=1,menubar=no,width=500,height=500');  
	
}

function player() {
if (play==false) {
		if (document.layers) {
			document.layers.downlaad.visibility="visible";
		}
  		if (document.all) {
  			document.all.downlaad.style.visibility="visible";
	    }
		if (!document.all && document.getElementById) {
  	   		document.getElementById("downlaad").style.visibility="visible";
  		}
}
}


function alle_auswaehlen() {
anzahl= (document.getElementsByTagName("input").length-1);
for(i=0;i<anzahl;i++) {
	eval('document.ausdruck.elements["drucken[" + i + "]"].checked = true');
	}
}

function ausgabe() {
window.resizeTo(300, 420);
window.focus();
window.print();
}