/*********************************************
ÅÂ±×¿¡¼­ÀÇ ¹Ýº¹ÀûÀÎ ±¸¹®À» ½ºÅ©¸³Æ®·Î Ã³¸®ÇØÁÜ
*********************************************/

//ÇÃ·¡½Ã 'ÀÌ ÄÁÆ®·ÑÀ» È°¼ºÈ­ÇÏ°í »ç¿ëÇÏ·Á¸é Å¬¸¯ÇÏ½Ê½Ã¿À' ¾ø¾Ö±â
function flash(wd,he,src) {
 var flash_tag = "";
 flash_tag = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
 flash_tag +='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ';
 flash_tag +='WIDTH="'+wd+'" HEIGHT="'+he+'" >';
 flash_tag +='<param name="movie" value="'+src+'">';
 flash_tag +='<param name="quality" value="high">';
 flash_tag +='<embed src="'+src+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
 flash_tag +='type="application/x-shockwave-flash"  WIDTH="'+wd+'" HEIGHT="'+he+'"></embed></object>'

 document.write(flash_tag);

}

//¸Þ´º ¸µÅ©
function menu_link(link,title) { document.writeln("<table width=150><tr><td height=20 align=left class=\"menu_sub\" onmouseover=this.style.backgroundColor='#F7F5F5' onmouseout=this.style.backgroundColor=''><img src=/home/images/m_head.gif align=absmiddle> <a href=\""+ link +"\" class=\"menu\">"+ title +"</a></td></tr></table>"); }
function menu_link2(link,title) { document.writeln("<table width=150><tr><td height=20 align=left class=\"menu_sub2\" onmouseover=this.style.backgroundColor='#F7F5F5' onmouseout=this.style.backgroundColor=''><img src=/home/images/m_head.gif align=absmiddle> <a href=\""+ link +"\" class=\"menu\">"+ title +"</a></td></tr></table>"); }

// »õÃ¢¶ç¿ì±â
function new_window(URL, name, left, top, width, height, toolbar, menubar, statusbar, scrollbars, resizable)
{
	toolbar_show = toolbar ? 1 : 0 ;
	menubar_show = menubar ? 1 : 0 ;
	statusbar_show = status ? 1 : 0 ;
	scrollbar_show = scrollbars ? 1 : 0 ;
	resizable_show = resizable ? 1 : 0 ;
	window.open(URL, name, 'left=' + left + ', top=' + top + ', width=' + width + ', height=' + height + ', toolbar=' + toolbar_show + ', menubar=' + menubar_show + ', status=' + statusbar_show + ', scrollbars=' + scrollbar_show + ', resizable=' + resizable_show) ;
}

// onFocus="this.blur()" ÀÚµ¿ Àû¿ë
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG")
document.body.focus();
}
document.onfocusin=bluring;

// ÀÚ¹Ù½ºÅ©¸³Æ® ¿À·ù¾ø¾Ö±â
function blockError(){return true;}
window.onerror = blockError;
show&hide

function layer_toggle(obj) {
        if (obj.style.display == 'none') obj.style.display = 'block';
        else if (obj.style.display == 'block') obj.style.display = 'none';
}
