function setPng24(obj){}

function swf(url,width,height,wmode){
 document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ");
 document.write("  codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' ");
 document.write("  width='"+width+"' height='"+height+"' align='middle'>");
 document.write(" <param name='allowScriptAccess' value='always' /> ");
 document.write(" <param name='movie'    value='"+url+"' /> ");
 document.write(" <param name='quality'   value='high' /> ");
 document.write(" <param name='wmode'    value='"+wmode+"'> ");
 document.write(" <embed src='"+url+"' quality='high' width='"+width+"' height='"+height+"' align='middle' ");
 document.write("  allowScriptAccess='sameDomain' type='application/x-shockwave-flash' ");
 document.write("  wmode='"+wmode+"' ");
 document.write("  pluginspage='http://get.adobe.com/kr/flashplayer/' />");
 document.write("</object>");
}

String.prototype.popupView = function () { 

var img_view = this; 
var x = x + 20 ; 
var y = y + 30 ; 
htmlz = "<html><head><title>ÀÌ¹ÌÁöÅ©°Ôº¸±â</title><style>body{margin:0;cursor:hand;}</style></head><body scroll=auto onload='width1=document.all.Timage.width;if(width1>1024)width1=1024;height1=document.all.Timage.height;if(height1>768)height1=768;top.window.resizeTo(width1+30,height1+54);' onclick='top.window.close();'><img src='"+img_view+"'  title='Å¬¸¯ÇÏ½Ã¸é ´ÝÈü´Ï´Ù.' name='Timage' id='Timage'></body></html>" 
imagez = window.open('', "image", "width="+ 100 +", height="+ 100 +", top=0,left=0,scrollbars=auto,resizable=1,toolbar=0,menubar=0,location=0,directories=0,status=1"); 
imagez.document.open(); 
imagez.document.write(htmlz) 
imagez.document.close(); 
} 

//FAQ
var old_obj = null;

function showSubmenu(obj) {
  if (!old_obj) {
    obj.style.display = "block";
	old_obj = obj;
	return;
  }

  if (old_obj == obj) {
	if (obj.style.display == "block") {
	  obj.style.display = "none";
	  old_obj = null;
	  return;
	}
  } else {
    old_obj.style.display = "none";
    obj.style.display = "block";
	old_obj = obj;
  }

}

//ÅÇ¸Þ´º
function setshow(id,maxid,inm,itnm)
{
	for(var i = 1; i < maxid+1; i++)
	{
		var q_form = eval("document.getElementById('q_form"+i+"').style");
		var q_Img = eval("document.getElementById('q_Img"+i+"')");

		if (id == i)
		{
			q_form.display = "" ;
			q_Img.src = inm+i+"_on.png";
			
		}
		else
		{
			q_form.display = "none" ;
			q_Img.src = inm+i+".png";
		}  
	}
	document.getElementById("q_txtTitle").src = itnm + id +".png";
}

//¿¬±¸½Ã¼³
function setshow2(id,maxid,inm,itnm)
{
	for(var i = 1; i < maxid+1; i++)
	{
		var q_Img = eval("document.getElementById('q_Img"+i+"')");
		var q_fimg = eval("document.getElementById('q_fImg')");
		if (id == i)
		{
			q_Img.src = inm+i+"_on.gif";
			q_fImg.src = itnm+i+".png";
			document.getElementById("researchFbimg").style.display="";
		}
		else
		{
			q_Img.src = inm+i+".gif";
		}  
	}
}

function qFimgClose()
{
	document.getElementById("researchFbimg").style.display="none";
	document.getElementById("q_fImg").src="/images/innovation/Infra.png";
}

//¹è³Ê
function bannershow(id,maxid)
{
	for(var i = 1; i < maxid+1; i++)
	{
		var bnmImg = eval("document.getElementById('bnmImg"+i+"').style");
		var bnlImg = eval("document.getElementById('bnlImg"+i+"')");

		if (id == i)
		{
			bnmImg.display = "" ;
			bnlImg.src = "../images/btn/btn_leftB_over.gif";
		}
		else
		{
			bnmImg.display = "none" ;
			bnlImg.src = "../images/btn/btn_leftB.gif";
		}  
	}
}

// µ¿¿µ»ó
function MovieWrite(file) {

	document.write('<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" id="MMPlayer1" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" width="479" height="360" VIEWASTEXT>');
	document.write('	<PARAM NAME="AudioStream" VALUE="1">');
	document.write('	<PARAM NAME="AutoPlay" VALUE="1">');
	document.write('	<PARAM NAME="AutoSize" VALUE="0">');
	document.write('	<PARAM NAME="AutoStart" VALUE="1">');
	document.write('	<PARAM NAME="AnimationAtStart" VALUE="0">');
	document.write('	<PARAM NAME="AutoRewind" VALUE="1">');
	document.write('	<PARAM NAME="Balance" VALUE="0">');
	document.write('	<PARAM NAME="BufferingTime" VALUE="1000">');
	document.write('	<PARAM NAME="CaptioningID" VALUE="">');
	document.write('	<PARAM NAME="ClickToPlay" VALUE="0">');
	document.write('	<PARAM NAME="CursorType" VALUE="32512">');
	document.write('	<PARAM NAME="CurrentPosition" VALUE="-1">');
	document.write('	<PARAM NAME="CurrentMarker" VALUE="0">');
	document.write('	<PARAM NAME="DefaultFrame" VALUE="">');
	document.write('	<PARAM NAME="DisplayBackColor" VALUE="16777215">');
	document.write('	<PARAM NAME="DisplayForeColor" VALUE="16777215">');
	document.write('	<PARAM NAME="DisplaySize" VALUE="4">');
	document.write('	<PARAM NAME="uiMode" VALUE="full">');
	document.write('	<PARAM NAME="stretchToFit" VALUE="0">');
	document.write('	<PARAM NAME="Enabled" VALUE="-1">');
	document.write('	<PARAM NAME="EnableContextMenu" VALUE="0">');
	document.write('	<PARAM NAME="EnablePositionControls" VALUE="-1">');
	document.write('	<PARAM NAME="EnableFullScreenControls" VALUE="1">');
	document.write('	<PARAM NAME="EnableTracker" VALUE="-1">');
	document.write('	<PARAM NAME="InvokeURLs" VALUE="-1">');
	document.write('	<PARAM NAME="Language" VALUE="0">');
	document.write('	<PARAM NAME="Mute" VALUE="0">');
	document.write('	<PARAM NAME="PlayCount" VALUE="1">');
	document.write('	<PARAM NAME="PreviewMode" VALUE="0">');
	document.write('	<PARAM NAME="Rate" VALUE="1">');
	document.write('	<PARAM NAME="SAMILang" VALUE="">');
	document.write('	<PARAM NAME="SAMIStyle" VALUE="">');
	document.write('	<PARAM NAME="SAMIFileName" VALUE="">');
	document.write('	<PARAM NAME="SelectionStart" VALUE="0">');
	document.write('	<PARAM NAME="SelectionEnd" VALUE="0">');
	document.write('	<PARAM NAME="SendOpenStateChangeEvents" VALUE="-1">');
	document.write('	<PARAM NAME="SendWarningEvents" VALUE="-1">');
	document.write('	<PARAM NAME="SendErrorEvents" VALUE="-1">');
	document.write('	<PARAM NAME="SendKeyboardEvents" VALUE="0">');
	document.write('	<PARAM NAME="SendMouseClickEvents" VALUE="0">');
	document.write('	<PARAM NAME="SendMouseMoveEvents" VALUE="0">');
	document.write('	<PARAM NAME="SendPlayStateChangeEvents" VALUE="1">');
	document.write('	<PARAM NAME="ShowCaptioning" VALUE="0">');
	document.write('	<PARAM NAME="ShowControls" VALUE="1">');
	document.write('	<PARAM NAME="ShowAudioControls" VALUE="1">');
	document.write('	<PARAM NAME="ShowDisplay" VALUE="0">');
	document.write('	<PARAM NAME="ShowGotoBar" VALUE="0">');
	document.write('	<PARAM NAME="ShowPositionControls" VALUE="0">');
	document.write('	<PARAM NAME="ShowTracker" VALUE="1">');
	document.write('	<PARAM NAME="TransparentAtStart" VALUE="0">');
	document.write('	<PARAM NAME="VideoBorderWidth" VALUE="0">');
	document.write('	<PARAM NAME="VideoBorderColor" VALUE="0">');
	document.write('	<PARAM NAME="VideoBorder3D" VALUE="0">');
	document.write('	<PARAM NAME="Volume" VALUE="600">');
	document.write('	<PARAM NAME="WindowlessVideo" VALUE="0">');
	document.write('    <param name="Filename" value="' + file + '">');
	document.write('</object>');

}
function top_open()
{
	document.all.Top_Serach.style.display = '';
}
function top_close()
{
	document.all.Top_Serach.style.display='none';
}
