function checkLogin(n) {
	if (n == 0){
		if (Form1.Index_select1_selectFileId.value== "   ¹Ø¼ü×Ö"){
			Form1.Index_select1_selectFileId.value="";
			Form1.Index_select1_selectFileId.style.cssText = "color:#000";
		}
	}
	if (n == 1){
		if (Form1.Index_select1_selectFileId.value== "   ¹Ø¼ü×Ö"){
			Form1.Index_select1_selectFileId.style.cssText = "color:#000";
		}
	}
	if (n == 2){
		if (Form1.Index_select1_selectFileId.value== ""){
			Form1.Index_select1_selectFileId.value = "   ¹Ø¼ü×Ö";
			Form1.Index_select1_selectFileId.style.cssText = "color:#aaa";
		}
	}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


function MakeFlashString(source,id,width,height,wmode, otherParam)
{	
	return "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"/deer/web/swflash.cab#version=7,0,0,0\" width="+width+" height="+height+" id="+id+"><param name=wmode value="+wmode+" /><param name=movie value="+source+" /><param name=quality value=high />"+otherParam+"<embed src="+source+" quality=high wmode="+wmode+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+width+" height="+height+"></embed></object>";
}

function MakeObjectString(classid, codebase, name, id, width,height, param)
{
	return "<object classid="+classid+" codebase="+codebase+" name="+name+" width="+width+" height="+height+" id="+id+"><param name=wmode value="+wmode+" />"+param+"</object>";
}

// innerHTML Type
function SetInnerHTML(target, code)
{ 
	target.innerHTML = code; 
}