var doc = window.document;
var MM_contentVersion = 9;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if(plugin)
{
 var words = navigator.plugins["Shockwave Flash"].description.split(" ");
 for(var i = 0; i < words.length; ++i)
 {
  if(isNaN(parseInt(words[i])))
  {
   continue;
  }
  var MM_PluginVersion = parseInt(words[i]);
 }
 var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1))
{
 doc.write('<scr' + 'ipt language="VBScript"\> \n');
 doc.write('on error resume next \n');
 doc.write('MM_FlashCanPlay = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
 doc.write('<\/scr' + 'ipt\> \n');
}
if(MM_FlashCanPlay)
{
 doc.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="166" height="166">');
 doc.write(' <param name="allowScriptAccess" value="sameDomain" \/>');
 doc.write(' <param name="allowFullScreen" value="true" \/>');
 doc.write(' <param name="movie" value="images/page/logo.swf" \/>');
 doc.write(' <param name="quality" value="high" \/>');
 doc.write(' <param name="wMode" value="transparent" \/>');
 doc.write(' <param name="bgcolor" value="#ffffff" \/>');
 doc.write(' <embed');
 doc.write(' src="images/page/logo.swf"');
 doc.write(' quality="high"');
 doc.write(' bgcolor="#ffffff"');
 doc.write(' width="166"');
 doc.write(' height="166"');
 doc.write(' wMode="transparent"');
 doc.write(' allowScriptAccess="sameDomain"');
 doc.write(' allowFullScreen="true"');
 doc.write(' type="application/x-shockwave-flash"');
 doc.write(' pluginspage="http://get.adobe.com/de/flashplayer/"');
 doc.write(' \/>');
 doc.write('<\/object>');
}
else
{
 doc.write('<a href="./"><img src="images/page/logo.jpg" alt="" width="166" height="166" \/><\/a>');
}

