// Å¸ÀÌÆ²---------
document.title="¾ÆÀÌ°¡ ¾ÈÀüÇÑ ¼¼»ó¸¸µé±â";


/* ¸µÅ© Á¡¼± Á¦°Å */
function bluring(){
	if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;


//ÇÃ·¡½ÃÃâ·Â-------------------------------------------------------------------------------------
// flashWrite(ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ¾ÆÀÌµð, ¹è°æ»ö, º¯¼ö, À©µµ¿ì¸ðµå) 

function flashWrite(url,w,h,id,bg,vars,win){ 

 // ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ 
 var flashStr= 
 "<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='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+ 
 "<param name='allowScriptAccess' value='always' />"+ 
 "<param name='movie' value='"+url+"' />"+ 
 "<param name='FlashVars' value='"+vars+"' />"+ 
 "<param name='wmode' value='"+win+"' />"+ 
 "<param name='wmode' value='opaque'>"+  
 "<param name='menu' value='false' />"+ 
 "<param name='quality' value='high' />"+ 
 "<param name='bgcolor' value='"+bg+"' />"+ 
 "<param name='wmode' value='transparent'>"+
 "<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' value='opaque' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+ 
 "</object>"; 

 // ÇÃ·¡½Ã ÄÚµå Ãâ·Â 
 document.write(flashStr); 

} 


//µ¿¿µ»ó-------------------------------------------------------------------------------------
function moviePlay(src,w,h) { 
document.write('<embed src="'+src+'" width='+w+' height='+h+' Volume="0" Showtracker="0" ShowPositionControls="0" Showstatusbar="0" AUTOSTART="-1" style="FILTER: gray()alpha(opacity=40,style=1,finishopacity=40)">') 
}

function VR(uri, w, h){
	html  = "";
	html += "<OBJECT ID='PLUGIN1' style=\"WIDTH: "+w+"px; HEIGHT: "+h+"px\"    codeBase=http://www.devalvr.com/instalacion/plugin/devalocx.cab#version=0,3,1,4 width="+w+"  height="+h+" classid=clsid:5D2CF9D0-113A-476B-986F-288B54571614>";
	html += "	<PARAM NAME=\"src\"				VALUE=\""+uri+"\">";
	html += "	<PARAM NAME=\"rotationx\"       VALUE=\"0\">";
	html += "	<PARAM NAME=\"rotationy\"       VALUE=\"100\">";
	html += "	<PARAM NAME=\"zoom\"            VALUE=\"0.6\">";
	html += "	<PARAM NAME=\"minzoom\"         VALUE=\"0.4\">";
	html += "	<PARAM NAME=\"maxzoom\"         VALUE=\"1.3\">";
	//html += "	<PARAM NAME=\"grayscale\"       VALUE=\"1\">";
	html += "	<PARAM NAME=\"language\"		VALUE=\"korean\">";
	html += "	<PARAM NAME=\"abouturl\"		VALUE=\"http://www.design-boom.com\">";
	html += "	<EMBED NAME=\"PLUGIN1\"   TYPE='application/x-devalvrx' 	PLUGINSPAGE='http://www.devalvr.com/instalacion/plugin/install.html' src='"+uri+"'	width='"+w+"' height='"+h+"'></EMBED>";
	html += "</OBJECT>";
	
	document.write(html);
}

function AutoPlayVR(){
     document.PLUGIN1.Commands("menu","play");
}

