﻿///<sumary>Displays a flash movie on the page without microsofts stupid enable content box</sumary>
///<param name="fileName">The name and path of the flash file to display</param>
///<param name="width">The width of the movie</param>
///<param name="height">The height of the movie</param>
function DisplayFlashElement(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=6,0,29,0\" width=\"" + width + "\" height=\"" + height + "\">");
    document.write("<param name=\"movie\" value=\"" + fileName + "\">");
    document.write("<param name=\"quality\" value=\"high\">");
    document.write("<embed src=\"" + fileName + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" + width + "\" height=\"" + height + "\"></embed>");
    document.write("</object>");
}