﻿// JScript File
function CreateControl(clsId, objectID, width, height, movie, codeBase)
{
    //alert(objectID);
    document.write('<object classid=' + clsId + ' id=' + objectID + ' width=' + width + ' height=' + height + ' codebase=' + codeBase + '>');
    document.write('<param name="movie" value="' + movie + '" />');
    document.write('<param name="quality" value="Autohigh" />');
    document.write('<param name="bgcolor" value="#f1f2f5" />');
    document.write('<param name="wmode" value="transparent" />');
    document.write('<param name="allowScriptAccess" value="sameDomain" />');
    document.write('<param name="swliveconnect" value="true" />');
    document.write('<embed src="' + movie + '" quality="high" wmode="transparent" bgcolor="#f1f2f5" width='+ width + ' height='+ height + ' name='+ objectID + ' allowScriptAccess="sameDomain" type="application/x-shockwave-flash" swLiveConnect="true" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');
    
}




 
