// JavaScript Document
//retire once smarty is fully implemented
function genFlash(name, width, height, align)
{
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="' + width + '" height="' + height + '" id="' + name + '" align="' + align + '">');
    document.write('<!--param name="allowScriptAccess" value="sameDomain" /-->');
    document.write('<param name="movie" value="' + name + '" />');
    document.write('<param name="quality" value="high" />');
    document.write('<param name="bgcolor" value="#000000" />');
    document.write('<param name="salign" value="lt" />');
    document.write('<param name=wmode value="transparent" />');
    document.write('<embed play=false swliveconnect="true" src="' + name + '" quality="high" wmode=transparent bgcolor="#000000" width="' + width + '" height="' + height + '" name="' + name + '" salign="lt" align="' + align + '" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');
    //alert(name);
}
// allowScriptAccess="sameDomain"
//end retire
