﻿function PnFlashNone(fname,wlen,hlen)
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ');
document.write('width="');
document.write(wlen);
document.write('" height="');
document.write(hlen);
document.write('" >');
document.write('<param name="movie" value="');
document.write(fname);
document.write('">');
document.write('<param name="quality" value="high"> ');
document.write('<embed src="');
document.write(fname);
document.write('"');
document.write('width="');
document.write(wlen);
document.write('" height="');
document.write(hlen);
document.write('"');
document.write(' align="right" quality="high" ');
document.write('pluginspage="http://www.macromedia.com/go/getflashplayer" ');
document.write('type="application/x-shockwave-flash"></embed></object>');
}

function PnFlash(fname,wlen,hlen)
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ');
document.write('width="');
document.write(wlen);
document.write('" height="');
document.write(hlen);
document.write('" >');
document.write('<param name="movie" value="');
document.write(fname);
document.write('">');
document.write('<param name="quality" value="high"> ');
document.write('<param name=wmode value=transparent> ');
document.write('<embed src="');
document.write(fname);
document.write('"');
document.write('width="');
document.write(wlen);
document.write('" height="');
document.write(hlen);
document.write('"');
document.write(' align="right" quality="high" ');
document.write('wmode=transparent pluginspage="http://www.macromedia.com/go/getflashplayer" ');
document.write('scale="noscale" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash"></embed></object>');
}


function MainPnFlash(fname,wlen,hlen)
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ');
document.write('width="');
document.write(wlen);
document.write('" height="');
document.write(hlen);
document.write('" >');
document.write('<param name="movie" value="');
document.write(fname);
document.write('">');
document.write('<param name="quality" value="high"> ');
document.write('<param name="scale" value="noscale" /> ');
document.write('<param name=wmode value=transparent> ');
document.write('<embed src="');
document.write(fname);
document.write('"');
document.write('width="');
document.write(wlen);
document.write('" height="');
document.write(hlen);
document.write('"');
document.write(' align="right" quality="high" ');
document.write('wmode=transparent pluginspage="http://www.macromedia.com/go/getflashplayer" ');
document.write('scale="noscale" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash"></embed></object>');
}

function PnFlashParam(fname,wlen,hlen,paramvalue)
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ');
document.write('width="');
document.write(wlen);
document.write('" height="');
document.write(hlen);
document.write('" >');
document.write('<param name="movie" value="');
document.write(fname);
document.write('">');
document.write('<param name="quality" value="high"> ');
document.write(paramvalue);
document.write('<embed src="');
document.write(fname);
document.write('"');
document.write('width="');
document.write(wlen);
document.write('" height="');
document.write(hlen);
document.write('"');
document.write(' align="right" quality="high" ');
document.write('pluginspage="http://www.macromedia.com/go/getflashplayer" ');
document.write('type="application/x-shockwave-flash"></embed></object>');
}

function PnFlashParam2(fname,wlen,hlen,paramvalue,etcparam)
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ');
document.write('width="');
document.write(wlen);
document.write('" height="');
document.write(hlen);
document.write('" >');
document.write('<param name="movie" value="');
document.write(fname);
document.write('">');
document.write('<param name="quality" value="high"> ');
document.write(paramvalue);
document.write('<embed src="');
document.write(fname);
document.write('"');
document.write('width="');
document.write(wlen);
document.write('" height="');
document.write(hlen);
document.write('"');
document.write(' quality="high" ');
document.write('pluginspage="http://www.macromedia.com/go/getflashplayer" ');
document.write('type="application/x-shockwave-flash ');
document.write(etcparam);
document.write(' "></embed></object>');
}

function PrnMovie(mname,namevalue,wlen,hlen,paramvalue)
{
document.write('      <object classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 ');
document.write('          codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 ');
document.write('          height="');
document.write(hlen);
document.write('" ');document.write(namevalue);document.write(' ');
document.write(' 	 type=application/x-oleobject width="');
document.write(wlen);
document.write('" ');
document.write('          standby="Loading Microsoft Windows Media Player components...">');
document.write('          <param name="Width" value="');
document.write(wlen);
document.write('">');
document.write('          <param name="Height" value="');
document.write(hlen);
document.write('">');
document.write('          <param name="FileName" value="');
document.write(mname);
document.write('">');
document.write(paramvalue);
document.write('        </object> ');

}

function PrnMovie2(mname,namevalue,paramvalue,objectvalue)
{
document.write('      <object classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 ');
document.write('          codebase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 ');
document.write(' ');
document.write(objectvalue);
document.write(' ');
document.write(' ');document.write(namevalue);document.write(' ');
document.write(' 	 type=application/x-oleobject ');
document.write('          standby="Loading Microsoft Windows Media Player components...">');
document.write('          <param name="FileName" value="');
document.write(mname);
document.write('">');
document.write(paramvalue);
document.write('        </object> ');

}

function AddActiveX(sadd,sport,mc,msct,msck)
{
document.write('<OBJECT ID=Twoway CLASSID=CLSID:8FA25066-34B2-11D5-A434-00E04C800430 CODEBASE=Twoway35.cab#Version=3,5,0,0>     ');
document.write('    <PARAM NAME=StationAddress VALUE=');
document.write(sadd);
document.write('>      ');
document.write('    <PARAM NAME=StationPort VALUE=');
document.write(sport);
document.write('>        ');
document.write('    <PARAM NAME=mmsChange VALUE=');
document.write(mc);
document.write('>     ');
document.write('    <PARAM NAME=mmsChangeCheckTime VALUE=');
document.write(msct);
document.write('>  ');   
document.write('    <PARAM NAME=mmsChangeCookieTime VALUE=');
document.write(msck);
document.write('> ');
document.write('</OBJECT>	 ');
}

function Addinfobada()
{
document.write('<object ID=ibcd1 WIDTH=0 HEIGHT=0 CLASSID=CLSID:FFBD9DBD-43C6-11D5-AF63-0050BF0C87E4 ');
document.write(' CODEBASE=http://www.bugslive.co.kr/onair/multibugs/ibcda.cab#version=3,0,1,28 ');
document.write(' STANDBY=infobada start>	');
document.write('</object>');
}

function mainFlash(flashname){
    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' width='1000' height='654'>");
    document.write("<param name='movie' value='/image/flash/"+flashname+"' />");
    document.write("<param name='quality' value='high' />");
    document.write("<param name='wmode' value='transparent' />");
    document.write("<embed src='/image/flash/"+flashname+"' wmode='transparent' quality='high' width='1000' height='654' type='application/x-shockwave-flash' />");
    document.write("</embed></object>");
 }
 
 function swfView(width, height, url, fvalues, id) {
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+width+'" height="'+height+'" id="'+id+'" align="middle">');
    document.write('<param name="allowScriptAccess" value="always" />');
    document.write('<param name="movie" value="'+url+'" />');
	document.write('<param name="Flashvars" value="'+fvalues+'"/>');
	document.write('<param name="wmode" value="transparent" />');
    document.write('<param name="quality" value="high" />');
    document.write('<param name="bgcolor" value="#ffffff" />');
    document.write('<embed src="'+url+'" quality="high" bgcolor="#ffffff" width="'+width+'" height="'+height+'" name="call" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
    document.write('</object>');
}

function quizFlash(flashname){
    document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' width='222' height='184'>");
    document.write("<param name='movie' value='/upload/web/amov/"+flashname+"' />");
    document.write("<param name='quality' value='high' />");
    document.write("<param name='wmode' value='transparent' />");
    document.write("<embed src='/upload/web/amov/"+flashname+"' wmode='transparent' quality='high' width='222' height='184' type='application/x-shockwave-flash' />");
    document.write("</embed></object>");
 }
 