function flash(Str1, Str2, Str3){
	document.write('<object width="'+Str2+'" height="'+Str3+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab#version=8,0,22,0">'
	+'<param name="movie" value="'+Str1+'">'
	+'<param name="quality" value="high">'
	+'<param name="wmode" value="transparent">'
	+'<embed width="'+Str2+'" height="'+Str3+'" src="'+Str1+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>'
	+'</object>');
}




function MediaPlayView(fileName, width, height)
{
document.write('<object name="MediaP" id="MediaP" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="'+width+'" height="'+height+'">'
+'<param name="filename" value="'+fileName+'">'
+'<param name="AutoStart" value="1">'
+'<param name="showcontrols" value="false">'
+'<param name="showstatusbar" value="false">'
+'<param name="enablecontextmenu" value="false">'
+'</object>');

}


function MediaPlayCF(fileName, width, height, flashName)
{
document.write('<object name="'+flashName+'" id="'+flashName+'" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="'+width+'" height="'+height+'">'
+'<param name="filename" value="'+fileName+'">'
+'<param name="AutoStart" value="0">'
+'<param name="showcontrols" value="false">'
+'<param name="showstatusbar" value="false">'
+'<param name="enablecontextmenu" value="false">'
+'</object>');

}


/*
function OnPlay()
{
    if (MediaP.PlayState != 2) 
       {
       MediaP.Play();
       }
}
function OnStop()
{
       MediaP.Stop(); 
       MediaP.CurrentPosition=0;
}
function OnPause()
{
         if (MediaP.PlayState == 2) 
       {
       MediaP.Pause(); 
       }
}
*/



function OnPlay(flashName)
{
	if (eval(flashName).PlayState != 2) 
	{
    	eval(flashName).Play();
	}
}
function OnStop(flashName)
{
	eval(flashName).Stop(); 
    eval(flashName).CurrentPosition=0;
}
function OnPause(flashName)
{
	if (eval(flashName).PlayState == 2) 
    {
    	eval(flashName).Pause(); 
	}
}

//¿À¸¥ÂÊ ¸¶¿ì½º ±ÝÁö(°æ°íÃ¢ ¾È³ª¿À´Â °Í )
function clickIE() {
if (document.all) {
return false;
}
} 
function clickNS(e) {
if (document.layers||(document.getElementById&&!document.all)) { 
if (e.which==2||e.which==3) {
return false;
}
}
} 
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS;
} 
else{
document.onmouseup=clickNS;
document.oncontextmenu=clickIE;
} 
document.oncontextmenu=new Function("return false") 
