var flashFile="http://www.webtide.de/flash/webtide.swf";
var gifFile="http://www.webtide.de/pics/noflash.gif";
var plug = 0;
var version = 0;
var ShockMode = 0;
version = parseInt(navigator.appVersion.substring(0,1));
function checkBrowser(){
if (navigator.plugins != null && navigator.plugins.length > 0) {
  for(i=0;i<navigator.plugins.length;i++){
   if((navigator.plugins[i].description.indexOf("Flash 4.0") >= 0) || (navigator.plugins[i].description.indexOf("Flash 5.0") >= 0) || (navigator.plugins[i].description.indexOf("Flash 6.0") >= 0) || (navigator.plugins[i].description.indexOf("Flash 7.0") >= 0))
   {
    plug = 1;
    break;
   }
  }
 }
 else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && navigator.userAgent.indexOf("Win")>=0)
 {
  document.writeln('<SCRIPT LANGUAGE=VBScript\> ');
  document.writeln('on error resume next ');
  document.writeln('ShockMode=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) ');
  document.writeln("</S" + "CRIPT>");
  if(ShockMode)
  plug  = 1;
 }
}
if(version > 2)  checkBrowser();
if(plug == 1){
 document.write('<embed src="'+flashFile+'" type="application/x-shockwave-flash" width="172" height="125" play="true" quality="high" pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwave"></embed>');
}
else{document.write('<img src="'+gifFile+'" width="172" height="125" border="0"  alt="">');}