// JScript ÆÄÀÏ
function sfSecurityAFPlayer_top(sId, sWidth, sHeight, sUrl, sPageNum, sSub) {

    var sTmpString = "" ;
	//alert(sPageNum + ";" + sSub);
    sTmpString += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + sWidth + '" height="' + sHeight + '"  align="middle"';
    sTmpString += ' codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">';
    sTmpString += '<param name="movie" value="' + sUrl + '">';
    sTmpString += '<param name="flashvars" value="pageNum=' + sPageNum + '&sub=' + sSub + '">';
    sTmpString += '<param name=menu value=false>';
    //sTmpString += '<param name="wmode" VALUE="transparent">';
    sTmpString += '<param name="quality" value="high">';
    sTmpString += '<param name=scale value=noscale>';
    sTmpString += '<param name="LOOP" value="false">';
    sTmpString += '<param name="PLAY" value="false">';
    sTmpString += '<param name="wmode" value="transparent">';
    sTmpString += '<embed src="' + sUrl + '" quality="high" ';
    sTmpString += 'pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"';
    sTmpString += 'width="' + sWidth + '" height="' + sHeight + '"></embed></object>';
	//alert(sTmpString);
    document.write(sTmpString);

    /*
    sTmpString += '<object ID="' + sId + '" width="' + sWidth + '" height="' + sHeight + '" ' ;
    sTmpString += 'classid="CLSID:D76D712E-4A96-11D3-BD95-D296DC2DD072" ' ;
    sTmpString += 'codebase="/pages/common/ocx/Vsflex7.ocx#version=7,0,0,112"></object> ' ;
    document.write(sTmpString);
	*/
//    document.write('<object ID="fxGrid1" width="100%" height="100%" classid="CLSID:D76D712E-4A96-11D3-BD95-D296DC2DD072" type="application/x-oleobject" codebase="/App_Data/Vsflex7.ocx#version=7,0,0,112"></object>');

}



function sfSecurityAFPlayer(sId, sWidth, sHeight, sUrl) {

    var sTmpString = "" ;
	//alert(sPageNum + ";" + sSub);
    sTmpString += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + sWidth + '" height="' + sHeight + '"';
    sTmpString += ' codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">';
    sTmpString += '<param name="movie" value="' + sUrl + '">';
    sTmpString += '<param name="quality" value="high">';
    sTmpString += '<embed src="' + sUrl + '" quality="high" ';
    sTmpString += 'pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"';
    sTmpString += 'width="' + sWidth + '" height="' + sHeight + '"></embed></object>';

    document.write(sTmpString);

    /*
    sTmpString += '<object ID="' + sId + '" width="' + sWidth + '" height="' + sHeight + '" ' ;
    sTmpString += 'classid="CLSID:D76D712E-4A96-11D3-BD95-D296DC2DD072" ' ;
    sTmpString += 'codebase="/pages/common/ocx/Vsflex7.ocx#version=7,0,0,112"></object> ' ;
    document.write(sTmpString);
	*/
//    document.write('<object ID="fxGrid1" width="100%" height="100%" classid="CLSID:D76D712E-4A96-11D3-BD95-D296DC2DD072" type="application/x-oleobject" codebase="/App_Data/Vsflex7.ocx#version=7,0,0,112"></object>');

}


function sfSecurityMmsPlayer(sId, sWidth, sHeight, sUrl) {

    var sTmpString = "" ;
	//alert(sPageNum + ";" + sSub);

	sTmpString += '<object width="' + sWidth + '" height="' + sHeight + '">';
	sTmpString += '  <param name="AUTOSTART" value="true">';
	sTmpString += '  <embed src="' + sUrl + '" width="' + sWidth + '" height="' + sHeight + '" autostart="true"></embed>';
	sTmpString += '</object>';


    document.write(sTmpString);

    /*
    sTmpString += '<object ID="' + sId + '" width="' + sWidth + '" height="' + sHeight + '" ' ;
    sTmpString += 'classid="CLSID:D76D712E-4A96-11D3-BD95-D296DC2DD072" ' ;
    sTmpString += 'codebase="/pages/common/ocx/Vsflex7.ocx#version=7,0,0,112"></object> ' ;
    document.write(sTmpString);
	*/
//    document.write('<object ID="fxGrid1" width="100%" height="100%" classid="CLSID:D76D712E-4A96-11D3-BD95-D296DC2DD072" type="application/x-oleobject" codebase="/App_Data/Vsflex7.ocx#version=7,0,0,112"></object>');

}
