<!--
//////////////////////////////////////////////////////////ÇÃ·¡½¬·Îµå(bgÅõ¸í)
function playflash(file,width,height,bgcolor,quality,name){
  
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+width+'" height="'+height+'" id="'+name+'">');
document.write('<param name="movie" value="'+file+'" />');
document.write('<param name="quality" value="'+quality+'"/>');
document.write('<param name="wmode" value="transparent"/>');
document.write('<embed src="'+file+'" quality="'+quality+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'"height="'+height+'"></embed>');
document.write('</object>');
}

//////////////////////////////////////////////////À§Ä¡ÁöÁ¤ ½ºÅ©·Ñ¹Ù ÁöÁ¤ ÆË¾÷ ½ºÅ°¸³
function popup(vWidth, vHeight, vUrl, vOpt) {
var mdWindow=null;
var x=(screen.width-vWidth)/2;
var y=(screen.height - vHeight)/2;
if (vOpt=="" || vOpt==null) vOpt=0;
var opt="width="+vWidth+",height="+vHeight;
opt=opt + ",scrollbars="+vOpt+",toolbar=0,menubars=0,locationbar=0,historybar=0,statusbar=0 left=0,top=0"
opt=opt + ",outerWidth="+vWidth + ",outerHeight="+vHeight+",resizable=0,left=" + x + ",top="+y;
opt=opt + ",channelmode=no, titlebar=no"
var mdWindow=window.open(vUrl,"",opt,false);
}

//////////////////////////////////////////////////ÀÏ¹Ý ÆË¾÷ ½ºÅ©¸³
function popup2(popurl,title){
  window.open(popurl,title,"scrollbars=0,toolbar=0,menubars=0,locationbar=0,historybar=1,resizable=1,width=100,height=100,left=0,top=0")
  }
  
/////////////////////////////////////////////////ÀÌµ¿ ½ºÅ©¸³
function move(url) {
document.location.href = url;
}

/////////////////////////////////////////////////¼±ÅÃ»óÀÚ ÀÌµ¿ ½ºÅ©¸³
function go(form_name){
        if(!form_name.selectedIndex==""){
        location.href=form_name.options[form_name.selectedIndex].value;
		}
		}
		
////////////////////////////////////////////////// ¾ÆÀÌÇÁ·¡ÀÓ ¸®»çÀÌÁî »ó´ë°æ·Î
function getReSize() 
{ 
try { 
var objFrame = document.getElementById("ifrm"); 
var objBody = ifrm.document.body; 

ifrmHeight = objBody.scrollHeight + (objBody.offsetHeight - objBody.clientHeight); 

if (ifrmHeight > 200) { 
objFrame.style.height = ifrmHeight; 
} else { 
objFrame.style.height = 200; 
} 
objFrame.style.width = '100%' 
} catch(e) { 
}; 
} 

function getRetry() 
{ 
getReSize(); 
setTimeout('getRetry()',1); 
} 
getRetry(); 


////////////////////////////////////////////////////////////////////µµ¿ò¸»
function layerOver(e,Value) {

 var x,y,realy;
 var bodyHeight = document.body.offsetHeight+document.body.scrollTop;
 var bodyWidth = document.body.offsetWidth+document.body.scrollLeft;
 var ttHeight = document.getElementById(Value);

 ttHeight.style.display = 'inline';

 if(e) {
  x=e.pageX+document.body.scrollLeft+10;
  y=e.pageY+document.body.scrollTop+10;

  if(totaly > bodyHeight) {
   realy = y - (totaly - bodyHeight);
  } else {
   realy = y;
  }

 }else{
  x=event.x+document.body.scrollLeft+10;
  y=event.y+document.body.scrollTop+10;
  totaly = y + ttHeight.offsetHeight;
  totalx = x + ttHeight.offsetWidth;

  if(totaly > bodyHeight) {
   realy = y - (totaly - bodyHeight) - 30;
  } else {
   realy = y;
  }

  if(x >700) {
   x = x - 240;
  } else if(totalx > bodyWidth) {
   x = x - (totalx - bodyWidth);
  } else {
   x = x;
  }
 }

 ttHeight.style.left = x;
 ttHeight.style.top = realy;
}

function layerOut(Value) {
 document.getElementById(Value).style.display = 'none';
}

function main_event_win_close(id)
{
	eval(id).style.display = 'none'
}

function main_event_win_view(id)
{
	eval(id).style.display = 'block'
}

//-->
