/************************************************************************************************
* @Author:      Niklas Hultgren                                                                 *
* @Date:        2006-04-29                                                                      *
* Description:  Recent changes in Internet Explorer now cause it to display a double-dashed     *
*               line and a popup tooltip "Click to activate and use this control" around        *
*               JAVA applet, Flash presentations, and other active page content if the code is  *
*               inline in your page HTML. Visitors cannot use the active content without        *
*               clicking first on it -- particularly troublesome with menu and navigation       *
*               controls.                                                                       *
************************************************************************************************/

function displayFlash(filename, width, height){
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+width+'" height="'+height+'">');
document.write('<param name="movie" value="'+filename+'">');
document.write('<param name="quality" value="high">'); 
document.write('<param name="wmode" value="transparent">');
document.write('<param name="menu" value="false">');
document.write('<embed src="'+filename+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" width="'+width+'" height="'+height+'"></embed>');
document.write('</object>');
}

