//Ç®·¡½¬
function getflash(URL,wid,hei,mode)
{
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+wid+"' ");
	if( hei>0 ) document.write(" height='"+hei+"' ");
	document.write(" >");
	document.write("<param name='movie' value='"+URL+"' />");
	document.write("<param name='quality' value='high' />");
	document.write("<param name='WMODE' value='"+mode+"' />");
	document.write("<embed src='"+URL+"' quality='high' wmode='"+mode+"' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+wid+"' ");
	if( hei>0 ) document.write(" height='"+hei+"' ");
	document.write("></embed>");
	document.write("</object>");
}
//µ¿¿µ»ó
function movie(url, width, height){	
	document.writeln('<object id="WMP" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" standby="Loading Microsoft Windows Media Player..." width="'+width+'" height="'+height+'">');
	document.writeln('<param name="FileName" value="'+url+'">');
	document.writeln('<param name="AutoStart" value="true">');
	document.writeln('<param name="AutoSize" value="false">');
	document.writeln('<param name="transparentAtStart" value="True">');
	document.writeln('<param name="transparentAtStop" value="True">');
	document.writeln('<param name="ShowControls" value="false">');
	document.writeln('<param name="ShowStatusBar" value="false">');
	document.writeln('<param name="loop" value="-1">');
	document.writeln('<param name="Volume" value="-600">');
	document.writeln('<param name="PLUGINSPAGE" value="http://www.microsoft.com/korea/windows/windowsmedia/">');
	document.writeln('<embed src="'+url+'" width="'+width+'" height="'+height+'" autostart="False" loop="-1" filename="'+value+'" autosize="false" showcontrols="false" showstatusbar="false" volume="-600" pluginspage="http://www.microsoft.com/korea/windows/windowsmedia/"></embed>');
	document.writeln('</object>');
}

function flash(Str1, Str2, Str3){
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+Str2+'" height="'+Str3+'" codebase="http://download.macromedia.com/pub/shockwave/cabs../flash/swflash.cab#version=9,0,0,0" id=ShockwaveFlash1>'
+'<param name="movie" value="'+Str1+'">'
+'<param name="wmode" value="transparent">'
+'<embed src="'+Str1+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" width="'+Str2+'" height="'+Str3+'" type="application/x-shockwave-flash"></embed>'
+'</object>');
}


// ºê¶ó¿ìÀú Ã¼Å©	
var isie=(navigator.userAgent.toLowerCase().indexOf('msie')!=-1)? true : false;
var isie6=(navigator.userAgent.toLowerCase().indexOf('msie 6')!=-1)? true : false;
//var isie7=(navigator.userAgent.toLowerCase().indexOf('msie 7')!=-1)? true : false;	
if(navigator.userAgent.toLowerCase().indexOf('msie 7')!=-1){
 isie6=false;
 var isie7=true;
}
if(navigator.userAgent.toLowerCase().indexOf('msie 8')!=-1){
 isie6=false;
 var isie8=true;
}
var isfirefox=(navigator.userAgent.toLowerCase().indexOf('firefox')!=-1)? true : false;
var isopera=(navigator.userAgent.toLowerCase().indexOf('opera')!=-1)? true : false;

try{
	document.execCommand('BackgroundImageCache', false, true);
}catch(e){}

function printSWF(id, flashUri, vWidth, vHeight, winMode, bgColor, flashVars) {
	var _obj_ = "";
	var locationProtocol = document.location.protocol + "//";
	if(isie){
		_obj_ += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+locationProtocol+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" width="' + vWidth + '" height="' + vHeight + '" id="' + id + '" name="' + id + '" align="middle">';
		_obj_ += '<param name="allowScriptAccess" value="always" />';
		_obj_ += '<param name="allowFullScreen" value="true" />';
		_obj_ += '<param name="movie" value="' + flashUri + '" />';
		_obj_ += '<param name="quality" value="high" />';
		_obj_ += '<param name="wmode" value="' + winMode + '" />';
		_obj_ += '<param name="bgcolor" value="' + bgColor + '" />';
		_obj_ += '<param name="flashvars" value="' + flashVars + '"/>';
		_obj_ += '</object>';
	}else{
		_obj_ += '<embed src="' + flashUri + '" quality="high" wmode="' + winMode + '" bgcolor="' + bgColor + '" width="' + vWidth +'" height="' + vHeight + '" id="' + id + '" name="' + id + '" flashvars="' + flashVars + '" align="middle" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>    ';
	}
	document.writeln( _obj_ );
	eval("window." + id + " = document.getElementById('" + id + "');");
}