  <!--

// JavaScript Document

/***
* Javascript Flash Detection (14.02.2005)
* (c) Oliver Nowak
* http://www.deydesigns.com
*
* Nicht vergessen, credits where they are due.
*/
            function flash_detection(required, max)
                {
                var required_version = required;
                var max_version = max;
                var available_version = 0;

                 if(typeof(navigator.plugins["Shockwave Flash"]) == "object")
                    {
                    var description = navigator.plugins["Shockwave Flash"].description;
                    available_version = description.substr(16, (description.indexOf(".", 16) - 16));
                     }
                 else  if(typeof(ActiveXObject) == "function")
                   {
                     for(var i = 2; i < (max_version + 1); i ++)
                    {
                        try
                        {
                             if(typeof(new ActiveXObject("ShockwaveFlash.ShockwaveFlash." + i)) == "object")
                            {
                                available_version = i;
                            }
                       }
                       catch(error)
                       {
                       }
                    }
                }
                return [available_version, required_version];
            }
			
								   
			var result = flash_detection(6, 8);
			
             if(!result[0])
               {
                //alert("kein flash plugin installiert");
                }
             else  if(result[0] < result[1])
               {
                //alert("installierte version zu niedrig");
                }
             else if(window.location.protocol == 'http:')
                 {
document.writeln('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="750" height="100" id="binary" align="middle">');
document.writeln('<param name="allowScriptAccess" value="sameDomain" />');
document.writeln('<param name="movie" value="fileadmin/template/images/binary.swf" />');
document.writeln('<param name="quality" value="high" />');
document.writeln('<param name="bgcolor" value="#ffffff" />');
document.writeln('<embed src="fileadmin/template/images/binary.swf" quality="high" bgcolor="#ffffff" width="750" height="100" name="binary" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.writeln('</object>');
				 }			
          
          //--> 
