var flash2 = false;
var flash3 = false;
var flash4 = false;
var flash5 = false;
var flash6 = false;
var flash7 = false;
var flash8 = false;
var flash9 = false;
var flash10 = false;
var flash11 = false;
var MyVersion=0;
var Useragent='www.awo-gotha.de-AWO Tunnel';
if((navigator.appVersion.indexOf("MSIE") != -1) && !(navigator.appVersion.indexOf("Mac") != -1)) {
if(Useragent.indexOf("Opera")!=-1) {
if (navigator.plugins) {
var Name = navigator.plugins["Shockwave Flash"].description;
var Version = parseInt(Name.charAt(Name.indexOf(".") - 1));
if (Version == 2) flash2 = true;
if (Version == 3) flash3 = true;
if (Version == 4) flash4 = true;
if (Version == 5) flash5 = true;
if (Version == 6) flash6 = true;
if (Version == 7) flash7 = true;
if (Version == 8) flash8 = true;
if (Version == 9) flash9 = true;
if (Version == 10) flash10 = true;
if (Version == 11) flash11 = true;
}
}
else {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('flash2 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.2"))) \n');
document.write('flash3 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3"))) \n');
document.write('flash4 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4"))) \n');
document.write('flash5 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');
document.write('flash6 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6"))) \n');
document.write('flash7 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.7"))) \n');
document.write('flash8 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.8"))) \n');
document.write('flash9 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.9"))) \n');
document.write('flash10 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.10"))) \n');
document.write('flash11 = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.11"))) \n');
document.write('</SCR' + 'IPT\> \n');
}
}
else {
if (navigator.plugins['Shockwave Flash'] && Useragent.indexOf("4.75")==-1) {
var Name = navigator.plugins["Shockwave Flash"].description;
var Version = parseInt(Name.charAt(Name.indexOf(".") - 1));
if (Version == 2) flash2 = true;
if (Version == 3) flash3 = true;
if (Version == 4) flash4 = true;
if (Version == 5) flash5 = true;
if (Version == 6) flash6 = true;
if (Version == 7) flash7 = true;
if (Version == 8) flash8 = true;
if (Version == 9) flash9 = true;
if (Version == 10) flash10 = true;
if (Version == 11) flash11 = true;
}
}
for(var i=2;i<=11;i++) {
if (eval("flash" + i) == true) MyVersion = i; 
}
if(MyVersion>=6 || MyVersion==0) {
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=timespin WIDTH=760 HEIGHT=64><PARAM NAME="movie" VALUE="http://p103122.typo3server.info/fileadmin/files/flash/AWO_Gotha_Topleiste.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><EMBED src="http://p103122.typo3server.info/fileadmin/files/flash/AWO_Gotha_Topleiste.swf" quality="high" bgcolor="#FFFFFF" WIDTH="762" HEIGHT="64" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>');
}

else {
document.write('<img src="http://p103122.typo3server.info/fileadmin/files/flash/topleiste.jpg" width="762" height="64" alt="" border="0">');
document.write(Version);
}
