//<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
document.domain = 'imeritz.com';
var Homeurl ="/";
var home_url = "http://home.imeritz.com";
var bottomurl = "/minc/tiker.html";

/******************************************************************************
ÇÏ´Ü Ç²ÅÍ ¼öÁ¤À¸·Î ÃÖÁ¾ ¼öÁ¤ÇÔ.  
															ÀÛ¼ºÀÚ:³²°èÁø 2010-03-29
******************************************************************************/


/******************************************************************************
¸Þ´º qmenu.js¿¡¼­ ¹è¿­À» ÀÐ¾î¿Í ¸Þ´º¸µÅ©Çü¼º left¿¡ »ç¿ë ¿À·ÎÁöÅ¸°ÙÀº ¸ÞÀÎÇÁ·¹ÀÓÀ¸·Î       
															ÀÛ¼ºÀÚ:È²Áø¿ì2005-11-24
******************************************************************************/

//document.write("<META HTTP-EQUIV='Expires' CONTENT='Tue, 31 Dec 1998 23:59:59 GMT'>");
//document.write("<META HTTP-EQUIV='Expires' CONTENT='0'> ");

function Request(valuename)
{
	var rtnval = "";
	var nowAddress = unescape(location.href);
	var parameters = (nowAddress.slice(nowAddress.indexOf("?")+1, nowAddress.length)).split("&");

	for (var i=0; i<parameters.length; i++)
	{
		var varName = parameters[i].split("=")[0];
		if (varName.toUpperCase() == valuename.toUpperCase())
		{
			rtnval = parameters[i].split("=")[1];
			break;
		}
	}
	return rtnval;
}

/* ¿À¸¥ÂÊ ¸¶ÀÌ½º Å¬¸¯ ÀÌº¥Æ® ±ÝÁö ¼Ò½º
function m_false()
{
	event.cancelBubble = true;
	event.returnValue = false;
	return false;
}
*///¿À¸¥ÂÊ ¸¶ÀÌ½º Å¬¸¯ ÀÌº¥Æ® ±ÝÁö ¼Ò½º

function comgo1()
{
	window.open(document.com.comgo.value,'','');
}
function setCookie( name, value, expiredays ) {
 var today = new Date();
 today.setDate( today.getDate() + expiredays );
 document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + today.toGMTString() + ";";
}
function getCookie(name) {
        var nameOfCookie = name + "=";
        var x = 0
        while ( x <= document.cookie.length ) {
                var y = (x+nameOfCookie.length);
                if ( document.cookie.substring( x, y ) == nameOfCookie ) {
                        if ( (endOfCookie=document.cookie.indexOf( ";",y )) == -1 )
                                endOfCookie = document.cookie.length;
                        return unescape( document.cookie.substring(y, endOfCookie ) );
                }
                x = document.cookie.indexOf( " ", x ) + 1;
                if ( x == 0 )
                        break;
        }
        return "";
}

//display¼³Á¤ºÎºÐ*******************************************************************
function MenuManager() {
	this.ingMenu = "";  // ÇöÀç ¼±ÅÃµÈ ¸Þ´º ID
	this.hisMenu = "";  // ÀÌÀü ¼±ÅÃµÈ ºÎ¸ð ¸Þ´º ID
	this.hiscMenu = "";  // ÀÌÀü ¼±ÅÃµÈ ÀÚ½Ä ¸Þ´º ID
	this.isSub;          // ¼­ºê¸Þ´ºÀÎÁö Ã¼Å© ¿©ºÎ
    this.isSame;       // ÀÌÀü Å¬¸¯¸Þ´º¿Í °°Àº¸Þ´ºÀÎÁö ¿©ºÎ
	this.isOn;           // ¾×¼ÇÁÙ²«Áö ¸»²«Áö
	this.hasMain;      // ºÎ¸ð¸Þ´º°¡ ¸ÞÀÎÆäÀÌÁö¸¦ °¡Áö°íÀÖ´ÂÁö ¾ø´ÂÁö ¿©ºÎ				
	this.set = function(ingMenu) {                       
	var source = document.getElementById(ingMenu);
	this.setValue(source);
	}  //end of this.set function

	this.reset = function() {          
	var source = event.srcElement.parentNode;
	this.setValue(source);
	}  //end of this.reset function

	this.setValue = function(source) {

	//var source = event.srcElement.parentNode;
	var idString = "";
	if (source.tagName == "TR" && typeof(source.mouseAction) != "undefined" ) idString = source.id;
	this.ingMenu = idString;
	var idStringHead = this.ingMenu.substring(0,1);
	this.isSub = (idStringHead == "c") ? true : false;
	this.oMenu = (idStringHead == "c") ? this.hiscMenu : this.hisMenu;
	this.isSame = (this.oMenu == this.ingMenu) ? true : false;
	this.isOn = (source.mouseAction == "on") ? true : false;
	this.hasMain = (typeof(source.hasMain) != "undefined") ? true : false;
	}  //end of this.setValue function

	this.setSubDisplay = function() {
	if (!this.isSub && !mm.isSame) {
	setSubDisplay(this.ingMenu,"");
	setSubDisplay(this.hisMenu,"none");
		}
	}  //end of this.setSubDisplay function

	this.setMouseAction = function() {
		setMouseAction(this.oMenu,"on");
		setMouseAction(this.ingMenu,"off");
	}  //end of this.setMouseAction function

	this.setMenu = function() {
		if (!this.isSub) {
			if (!mm.isSame) {	setMenu(this.ingMenu,"on");
				setMenu(this.oMenu,"off");
			}
				setMenu(this.hiscMenu,"off");
		} else {
				setMenu(this.ingMenu,"on");
					if (!mm.isSame) {
					setMenu(this.oMenu,"off");
					}
				}
	}  //end of this.setMenu function

	this.setMenuValue = function() {
		if (this.isSub) this.hiscMenu = this.ingMenu;
		else this.hisMenu = this.ingMenu;
	}  //end of this.setMenuValue function

	this.setSub = function() {
		if (!this.isSub && !this.hasMain) {
			this.hiscMenu = "c" + this.ingMenu.substring(1,this.ingMenu.length) + "01";
			setMenu(this.hiscMenu,"on");
			setMouseAction(this.hiscMenu,"off");
		}
	}  //end of this.setSub function

	this.main = function() {
	//goMenuLink(this.ingMenu);
		if (this.ingMenu == "") return;
			this.setMenu();
			this.setMouseAction();
			this.setSub();
			this.setSubDisplay();
			this.setMenuValue();

	}  //end of this.main function
}  
//end of MenuManager() function**************************************************************/

/*************************************************************************************************************************************** 
footer ºÎºÎ                  ÀÛ¼ºÀÚ:È²Áø¿ì2005-11-08
Ãß°¡½Ã º»¹®footer(¹øÈ£),¾Æ·¡ if(a==¹øÈ£) 
***************************************************************************************************************************************/

function footer(f)
{

		   if (Request("pageGubun")=="no")
		   {
			  document.write("<div id=floater style='left:710px;top:1px;position:absolute;width:111px;height=480px;z-index:1'>");
		   }

					else if(f == 1)
		   {
			  document.write("<tr>");
			  document.write("<td valign=top>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0'>");
			  document.write("<tr><td align=center ><table border=0 cellpadding='0' cellspacing='0' width='655' >");
			  document.write("<tr><td height=1 bgcolor='#95A0A5' colspan='5'></td></tr>");
			  document.write("<tr><td height=4 bgcolor='#f2f2f2' colspan='5'></td></tr>");
		      document.write("<tr>");
			  document.write("<td height=10></td></tr>");
			  document.write("<tr>");
			  document.write("<td width='10'></td>");
			  document.write("<td valign='top' align='left'>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0'>");
			  document.write("<tr>");
			  document.write("<td height=5 colspan='13'></td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('207') class='b2 c2 a2'><img src='/images/main/m_footer1.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('219') class='b2 c2 a2'><img src='/images/main/m_footer2.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('400') class='b2 c2 a2'><img src='/images/main/m_footer3.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('593') class='b2 c2 a2'><img src='/images/main/m_footer4.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('506') class='b2 c2 a2'><img src='/images/main/m_footer5.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=/main/cc/cc060209a.html target=bo class='b2 c2 a2'><img src='/images/main/m_footer8.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('726') class='b2 c2 a2'><img src='/images/main/m_footer6.gif' border='0'></a></td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td height='7' colspan='13'></td></tr>");
			  document.write("<tr>");
			  document.write("<td colspan='13' align='left'>");
			  document.write("<img src='/images/main/copyright_2006.gif' >");
			  document.write("</td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td height=25 colspan='13'></td></tr>");
			  document.write("</table>");
			  document.write("</td>");
			  document.write("</tr>");
		   }


/**		
	   else if(f == 1)
		   {
			  document.write("<tr>");
			  document.write("<td valign=top>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0' class='Body_Start1''>");
			  document.write("<tr><td align=center ><table border=0 cellpadding='0' cellspacing='0' width='655' >");
			  document.write("<tr><td height=1 bgcolor='#95A0A5' colspan='5'></td></tr>");
			  document.write("<tr><td height=4 bgcolor='#f2f2f2' colspan='5'></td></tr>");
		      document.write("<tr>");
			  document.write("<td height=10></td></tr>");
			  document.write("<tr>");
			  document.write("<td valign='top' align='left'>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0'>");
			  document.write("<tr>");
			  document.write("<td height=5></td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<iframe width=655 height=15 src=http://home.imeritz.com/footer.html frameborder=0></iframe>");
			  document.write("</tr>");
			  document.write("<td colspan='9' align='left'>");
			  document.write("<img src='http://home.imeritz.com/images/main/copyright_2006.gif' >");
			  document.write("</td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td height=25></td></tr>");
			  document.write("</table>");
			  document.write("</td>");
			  document.write("</tr>");
	 
		   }
	
**/		  
		   else if(f==3)
		   {
              document.write("<tr>");
			  document.write("<td valign=top>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0' width='840'>");
			  document.write("<tr><td height=1 bgcolor='#95A0A5' colspan='5'></td></tr>");
			  document.write("<tr><td height=4 bgcolor='#f2f2f2' colspan='5'></td></tr>");
		      document.write("<tr>");
			  document.write("<td height=10></td></tr>");
			  document.write("<tr>");
			  document.write("<td width='10'></td>");
			  document.write("<td valign='top' align='left'>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0'>");
			  document.write("<tr>");
			  document.write("<td height=5></td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('207') class='b2 c2 a2'><img src='/images/main/m_footer1.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('219') class='b2 c2 a2'><img src='/images/main/m_footer2.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('400') class='b2 c2 a2'><img src='/images/main/m_footer3.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('593') class='b2 c2 a2'><img src='/images/main/m_footer4.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td style='padding-right:12'><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('506') class='b2 c2 a2'><img src='/images/main/m_footer5.gif' border='0'></a></td>");

	/**		  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('1126') class='b2 c2 a2'><img src='/images/main/m_footer9.gif' border='0'></a></td>");
**/

			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('726') class='b2 c2 a2'><img src='/images/main/m_footer6.gif' border='0'></a></td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td height='7'></td></tr>");
			  document.write("<tr>");
			  document.write("<td colspan='9' align='left'>");
			  document.write("<img src='/images/main/copyright_2006.gif' >");
			  document.write("</td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td height=25></td></tr>");
			  document.write("</table>");
			  document.write("</td>");
			  document.write("</tr>");
			  document.write("</table>");
			  document.write("</td>");
			  document.write("</tr>");
           } 

		   else if(f==5)
		   {
              document.write("<tr>");
			  document.write("<td valign=top style='padding:0 0 0 10;'>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0' width='850'>");
			  document.write("<tr><td height=1 bgcolor='#95A0A5' colspan='5'></td></tr>");
			  document.write("<tr><td height=4 bgcolor='#f2f2f2' colspan='5'></td></tr>");
		      document.write("<tr>");
			  document.write("<td height=10></td></tr>");
			  document.write("<form name='com' method='post'><tr>");
			  document.write("<td width='124' valign='top'><select name='comgo' style='font:11px' class='foot_sel1' onchange='javascript:comgo1();'><option>¸Þ¸®Ã÷ ±ÝÀ¶°¡Á·</option>");
			  document.write("<option value='http://www.meritzfire.com'>¸Þ¸®Ã÷È­Àç</option>");
			  document.write("<option value='http://www.sogeko.com'>¸Þ¸®Ã÷Á¾ÇÕ±ÝÀ¶</option>");
			  document.write("<option value='http://www.meritzon.com'>´ÙÀÌ·ºÆ®ÀÚµ¿Â÷º¸Çè</option>");
/*			  document.write("<td width='124' valign='top'><select name='comgo' style='font:11px' class='foot_sel1' onchange='javascript:comgo1();'><option>MERITZ Family Site</option>");
			  document.write("<option value='http://www.meritzfire.com'>¸Þ¸®Ã÷ È­Àç</option>");
			  document.write("<option value='http://www.meritzon.com'>¸Þ¸®Ã÷¿Â</option>");
			  document.write("<option value='http://www.sogeko.com'>¸Þ¸®Ã÷Á¾ÇÕ±ÝÀ¶</option>");
*/
			  document.write("</select>");
			  document.write("</td>")
			  document.write("<td width='10'></td>");
			  document.write("<td valign='top' align='left'>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0'>");
			  document.write("<tr>");
			  document.write("<td height=5 colspan='13'></td>");
			  document.write("</tr></form>");
			  document.write("<tr>");
/*
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('207') class='b2 c2 a2'><img src='/images/main/m_footer1.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
*/
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('219') class='b2 c2 a2'><img src='/images/main/m_footer2.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('400') class='b2 c2 a2'><img src='/images/main/m_footer3.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('593') class='b2 c2 a2'><img src='/images/main/m_footer4.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('506') class='b2 c2 a2'><img src='/images/main/m_footer5.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=/main/cc/cc060209a.html target=bo class='b2 c2 a2'><img src='/images/main/m_footer8.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('1126') class='b2 c2 a2'><img src='/images/main/m_footer9.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=http://www.cybercop.or.kr target=cop><img src='/images/main/m_footer10.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('726') class='b2 c2 a2'><img src='/images/main/m_footer6.gif' border='0'></a></td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td height='4' colspan='13'></td></tr>");
			  document.write("<tr>");
			  document.write("<td colspan='13' align='left'>");
			  document.write("<img src='/images/main/copyright_2006_main.gif' >");
			  document.write("</td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td colspan='13' height=25></td></tr>");
			  document.write("</table>");
			  document.write("</td>");
			  document.write("</tr>");
			  document.write("</table>");
			  document.write("</td>");
			  document.write("</tr>");
           } 
			else if(f == 6)
		   {
			  document.write("<tr>");
			  document.write("<td valign=top>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0'>");
			  document.write("<tr><td align=center ><table border=0 cellpadding='0' cellspacing='0' width='655' >");
			  document.write("<tr><td height=1 bgcolor='#95A0A5' colspan='5'></td></tr>");
			  document.write("<tr><td height=4 bgcolor='#f2f2f2' colspan='5'></td></tr>");
		      document.write("<tr>");
			  document.write("<td height=10></td></tr>");
			  document.write("<tr>");
			  document.write("<td width='10'></td>");
			  document.write("<td valign='top' align='left'>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0'>");
			  document.write("<tr>");
			  document.write("<td height=5 colspan='13'></td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('207') class='b2 c2 a2'><img src='/images/main/m_footer1.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('219') class='b2 c2 a2'><img src='/images/main/m_footer2.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('400') class='b2 c2 a2'><img src='/images/main/m_footer3.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('593') class='b2 c2 a2'><img src='/images/main/m_footer4.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('506') class='b2 c2 a2'><img src='/images/main/m_footer5.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=/main/cc/cc060209a.html target=bo class='b2 c2 a2'><img src='/images/main/m_footer8.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('726') class='b2 c2 a2'><img src='/images/main/m_footer6.gif' border='0'></a></td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td height='7' colspan='13'></td></tr>");
			  document.write("<tr>");
			  document.write("<td colspan='13' align='left'>");
			  document.write("<img src='/images/main/copyright_2006.gif' >");
			  document.write("</td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td height=25 colspan='13'></td></tr>");
			  document.write("</table>");
			  document.write("</td>");
			  document.write("</tr>");
		   }
		   else if(f == 7)
		   {
			  document.write("<tr>");
			  document.write("<td valign=top>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0'  width='665'>");
			  document.write("<tr><td align=center ><table border=0 cellpadding='0' cellspacing='0' width='665' >");
			  document.write("<tr><td height=1 bgcolor='#95A0A5' colspan='5'></td></tr>");
			  document.write("<tr><td height=4 bgcolor='#f2f2f2' colspan='5'></td></tr>");
		      document.write("<tr>");
			  document.write("<td height=10></td></tr>");
			  document.write("<tr>");
			  document.write("<td width='10'></td>");
			  document.write("<td valign='top' align='left'>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0'>");
			  document.write("<tr>");
			  document.write("<td height=5 colspan='13'></td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('207') class='b2 c2 a2'><img src='/images/main/m_footer1.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('219') class='b2 c2 a2'><img src='/images/main/m_footer2.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('400') class='b2 c2 a2'><img src='/images/main/m_footer3.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('593') class='b2 c2 a2'><img src='/images/main/m_footer4.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('506') class='b2 c2 a2'><img src='/images/main/m_footer5.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=/main/cc/cc060209a.html target=bo class='b2 c2 a2'><img src='/images/main/m_footer8.gif' border='0'></a></td>");
			  document.write("<td><img src='/images/main/m_footer_line.gif' width='1' height='9'></td>");
			  document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('726') class='b2 c2 a2'><img src='/images/main/m_footer6.gif' border='0'></a></td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td height='7' colspan='13'></td></tr>");
			  document.write("<tr>");
			  document.write("<td colspan='13' align='left'>");
			  document.write("<img src='/images/main/copyright_2006.gif' >");
			  document.write("</td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td height=25 colspan='13'></td></tr>");
			  document.write("</table>");
			  document.write("</td>");
			  document.write("</tr>");
		   }
		   else if(f == 8)
		   {
			  document.write("<tr>");
			  document.write("<td valign=top class='Body_Start1'>");
			  document.write("<table border=0 cellpadding='0' cellspacing='0' width='100%'>");
			  document.write("<tr><td align=center ><table border=0 cellpadding='0' cellspacing='0' width='100%' >");
			  document.write("<tr><td height=1 bgcolor='#95A0A5' colspan='5'></td></tr>");
			  document.write("<tr><td height=4 bgcolor='#f2f2f2' colspan='5'></td></tr>");
		      document.write("<tr>");
			  document.write("<td height=10></td></tr>");
			  document.write("<form name='com' method='post'><tr>");
/*	
			  document.write("<td width='124' valign='top'><select name='comgo' style='font-size:12px' class='foot_sel1' onchange='javascript:comgo1();'><option>MERITZ SERVICE VIEW</option>");
			  document.write("<option value='http://www.meritzfire.com'>¸Þ¸®Ã÷ È­Àç</option>");
			  document.write("<option value='http://www.meritzon.com'>¸Þ¸®Ã÷¿Â</option>");
*/
			  document.write("<td width='124' valign='top'><select name='comgo' style='font:11px' class='foot_sel1' onchange='javascript:comgo1();'><option>¸Þ¸®Ã÷ ±ÝÀ¶°¡Á·</option>");
			  document.write("<option value='http://www.meritzfire.com'>¸Þ¸®Ã÷È­Àç</option>");
			  document.write("<option value='http://www.sogeko.com'>¸Þ¸®Ã÷Á¾ÇÕ±ÝÀ¶</option>");
			  document.write("<option value='http://www.meritzon.com'>´ÙÀÌ·ºÆ®ÀÚµ¿Â÷º¸Çè</option>");
/*			  document.write("<td width='124' valign='top'><select name='comgo' style='font:11px' class='foot_sel1' onchange='javascript:comgo1();'><option>MERITZ Family Site</option>");
			  document.write("<option value='http://www.meritzfire.com'>¸Þ¸®Ã÷ È­Àç</option>");
			  document.write("<option value='http://www.meritzon.com'>¸Þ¸®Ã÷¿Â</option>");
			  document.write("<option value='http://www.sogeko.com'>¸Þ¸®Ã÷Á¾ÇÕ±ÝÀ¶</option>");
*/
			  document.write("</select>");
			  document.write("</td>")
			  document.write("<td width='18'></td>");
			  document.write("<td valign='top' align='left'>");
			  document.write("<img src='/images/ir/00/footer.gif'>");
			  document.write("</td>");
			  document.write("</tr>");
			  document.write("<tr>");
			  document.write("<td height='20'></td>");
			  document.write("</tr>");
			  document.write("</form>");
		   }
		   else if(f==2)
		   {
				document.write("<div id=floater style='left:710px;top:1px;position:absolute;width:111px;height=480px;z-index:1'>");
				document.write("<iframe name='quick' src='"+home_url+"/mcgi/quick.cgi?scr_id="+str444+"' width=100% height=100% frameborder=0 scrolling=no></iframe>");
           } 
		   else if(f==4)
		   {
				document.write("<div id=floater style='left:880px;top:1px;position:absolute;width:111px;height=480px;z-index:1'>");
				document.write("<iframe name='quick' src='"+home_url+"/mcgi/quick.cgi?scr_id="+str444+"' width=100% height=100% frameborder=0 scrolling=no></iframe>");
           } 
		   else if(f==10)
		   {
				document.write("<div id=floater style='left:880px;top:1px;position:absolute;width:111px;height=530px;z-index:1'>");
				document.write("<iframe name='quick' src='"+home_url+"/mcgi/quick.cgi?scr_id="+str444+"&gubun=totmain' width=100% height=100% frameborder=0 scrolling=no></iframe>");
           } 
		   else if(f==9)
		   {
				document.write("<div id=floater style='left:880px;top:1px;position:absolute;width:111px;height=480px;z-index:1'>");
				document.write("<iframe name='quick' src='"+home_url+"/mcgi/quick.cgi?scr_id="+str444+"&gubun=mfmain' width=100% height=100% frameborder=0 scrolling=no></iframe>");
           } 
  		   else if(f==11)/*ÀÎÅÍ³Ý¹ðÅ· Å×½ºÆ®*/
		   {
				document.write("<tr>");
				document.write("<td valign=top style='padding:0 0 0 0;'>");
				document.write("<table border=0 cellpadding='0' cellspacing='0' width='850'>");
				document.write("<tr><td height=4 bgcolor='#E80000' colspan='5'></td></tr>");
				document.write("<tr>");
				document.write("<td height=10></td></tr>");
				document.write("<tr><td width='129'rowspan='2'><img src='/images/inbank_test/footer_ci.gif' border='0'></td>");
				document.write("<td valign='top' align='left'><table border=0 cellpadding='0' cellspacing='0'>");
				document.write("<tr>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('219') class='b2 c2 a2'><img src='/images/inbank_test/footer1.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('400') class='b2 c2 a2'><img src='/images/inbank_test/footer2.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('593') class='b2 c2 a2'><img src='/images/inbank_test/footer3.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('506') class='b2 c2 a2'><img src='/images/inbank_test/footer4.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link3('506') class='b2 c2 a2'><img src='/images/inbank_test/footer5.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('1126') class='b2 c2 a2'><img src='/images/inbank_test/footer6.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=http://www.cybercop.or.kr target=cop><img src='/images/inbank_test/footer7.gif' border='0'></a></td>");
				document.write("</tr>");
				document.write("</table></td>");
				document.write("<form name='com' method='post'>");
				document.write("<td width='124' valign='top' rowspan='2'><select name='comgo' style='font:11px' class='foot_sel1' onchange='javascript:comgo1();'><option>¸Þ¸®Ã÷ ±ÝÀ¶°¡Á·</option>");
				document.write("<option value='http://www.meritzfire.com'>¸Þ¸®Ã÷È­Àç</option>");
				document.write("<option value='http://www.sogeko.com'>¸Þ¸®Ã÷Á¾ÇÕ±ÝÀ¶</option>");
				document.write("<option value='http://www.meritzon.com'>´ÙÀÌ·ºÆ®ÀÚµ¿Â÷º¸Çè</option>");
				document.write("</select>");
				document.write("</td>");
				document.write("</form>");
				document.write("</tr>");
				document.write("<tr>");
				document.write("<td align='left'><table border=0 cellpadding='0' cellspacing='0'>");
				document.write("<tr>"); 
				document.write("<td><img src='/images/inbank_test/copyright_2009_main.gif'></td>");
				document.write("<td valign='middle'><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('726') class='b2 c2 a2'><img src='/images/inbank_test/footer8.gif' border='0'></a></td>");
				document.write("</tr>");
				document.write("</table></td>");
				document.write("</tr>");
				document.write("</table>"); 
				document.write("</td>"); 
				document.write("</tr>");
           } 
               		   else if(f==12)/*±×·ìÈ¨ÆäÀÌÁöÃß°¡*/
		   {
				document.write("<tr>");
				document.write("<td valign=top style='padding:0 0 0 0;'>");
				document.write("<table border=0 cellpadding='0' cellspacing='0' width='850'>");
				document.write("<tr><td height=4 bgcolor='#E80000' colspan='5'></td></tr>");
				document.write("<tr>");
				document.write("<td height=10></td></tr>");
				document.write("<tr><td width='129'rowspan='2'><img src='/images/inbank_test/footer_ci.gif' border='0'></td>");
				document.write("<td valign='top' align='left'><table border=0 cellpadding='0' cellspacing='0'>");
				document.write("<tr>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('219') class='b2 c2 a2'><img src='/images/inbank_test/footer1.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('400') class='b2 c2 a2'><img src='/images/inbank_test/footer2.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('593') class='b2 c2 a2'><img src='/images/inbank_test/footer3.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('506') class='b2 c2 a2'><img src='/images/inbank_test/footer4.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link3('506') class='b2 c2 a2'><img src='/images/inbank_test/footer5.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('1126') class='b2 c2 a2'><img src='/images/inbank_test/footer6.gif' border='0'></a></td>");
				document.write("<td><a onFocus='this.blur()'  href=http://www.cybercop.or.kr target=cop><img src='/images/inbank_test/footer7.gif' border='0'></a></td>");
				document.write("</tr>");
				document.write("</table></td>");
				document.write("<form name='com' method='post'>");
				document.write("<td width='124' valign='top' rowspan='2'><select name='comgo' style='font:11px' class='foot_sel1' onchange='javascript:comgo1();'><option>¸Þ¸®Ã÷ ±ÝÀ¶°¡Á·</option>");
				document.write("<option value='http://www.meritzgroup.com'>¸Þ¸®Ã÷±ÝÀ¶±×·ì</option>");
				document.write("<option value='http://www.meritzfire.com'>¸Þ¸®Ã÷È­Àç</option>");
				document.write("<option value='http://www.meritzam.com'>¸Þ¸®Ã÷ÀÚ»ê¿î¿ë</option>");
				document.write("<option value='http://www.meritzbs.co.kr'>¸Þ¸®Ã÷ºñÁî´Ï½º¼­ºñ½º</option>");
				document.write("<option value='http://www.meritzon.com'>¸Þ¸®Ã÷¿Â</option>");
				document.write("</select>");
				document.write("</td>");
				document.write("</form>");
				document.write("</tr>");
				document.write("<tr>");
				document.write("<td align='left'><table border=0 cellpadding='0' cellspacing='0'>");
				document.write("<tr>"); 
				document.write("<td><img src='/images/inbank_test/copyright_2009_main.gif'></td>");
				document.write("<td valign='middle'><a onFocus='this.blur()'  href=javascript:top.topframe.menu.menu_link('726') class='b2 c2 a2'><img src='/images/inbank_test/footer8.gif' border='0'></a></td>");
				document.write("</tr>");
				document.write("</table></td>");
				document.write("</tr>");
				document.write("</table>"); 
				document.write("</td>"); 
				document.write("</tr>");
           } 

		   else {
           } 
}
function hide()
{
	targetElement = document.all;
	for ( i = 0 ; i < targetElement.length ; i++ )
	{
		if (document.all(i).className == "div") 
		{  
			//alert('1');
			if ( document.all(i).id == "floater" ) 
			{
				//alert('1');
				document.all(i).style.visibility="hidden";
			} 
			else 
			{
				//alert('2');
			}			
		}
	}  
}

//¿ìÃø È÷½ºÅä¸® ¿µ¿ª
function Request1(valuename)
{
	var rtnval = "";
	var nowAddress = unescape(location.href);
	var parameters = (nowAddress.slice(nowAddress.indexOf("?")+1, nowAddress.length)).split("&");
	for (var i=0; i<parameters.length; i++)
	{
		var varName = parameters[i].split("=")[0];
		if (varName.toUpperCase() == valuename.toUpperCase())
		{
			rtnval = parameters[i].split("=")[1];
			break;
		}
	}
	return rtnval;
}
var loc = Request1("scr_id");
var str555 = getCookie("hist");
var str666;
var str444;
var jj;
for (k=0; k< str555.length; k++)
{
	if (str555.substring(k,k+1)=="/")
	{
		str666=str555.substring(0,k);
		break;
	}
}
if (loc==str666 || loc=="")
{
	str444="";
}
else
{
	if (!str555)
	{
		str666="";
		jj="1";
	}
	setCookie("hist",loc+"/"+str555,100);
	if (jj=="1")
	{
		str666=loc;
	}
	str444=str666;
}
function rightScroll(id) {	
	if (Request("pageGubun")=="no")
	{
	}
	else
	{
		document.write("<div id=floater style='left:710px;top:1px;position:absolute;width:111px;height=480px;z-index:1'>");
		document.write("<iframe name='quick' src='"+home_url+"/mcgi/quick.cgi?scr_id="+str444+"' width=100% height=100% frameborder=0 scrolling=no></iframe>");
	}
}

/*****************************************************************************************************
½ºÅ©·Ñ¸Þ´º ¾Æ·¡½ºÅ©¸³Æ®´Â ¸ÞÀÎ¸¸ »ç¿ë ÀÛ¼ºÀÚ:È²Áø¿ì2005-11-08
******************************************************************************************************/

self.onError=null;
currentX = currentY = 0; 
whichIt = null; 
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->

function heartBeat() {
if(IE) { 
diffY = document.body.scrollTop; 
diffX = 0; 
}
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE && document.all.floater.style) document.all.floater.style.pixelTop += percent;
if(NS) document.floater.top += percent; 
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) 
{
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE && document.all.floater.style) document.all.floater.style.pixelLeft += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
} 
} 

//document.domain = 'imeritz.com';

// ·Î±×ÀÎ ÄíÅ°°ª ¹Þ¾Æ¿È

function getCookie(name) {
        var nameOfCookie = name + "=";
        var x = 0;
        while ( x <= document.cookie.length ) {
                var y = (x+nameOfCookie.length);
                if ( document.cookie.substring( x, y ) == nameOfCookie ) {
                        if ( (endOfCookie=document.cookie.indexOf( ";",y )) == -1 )
                                endOfCookie = document.cookie.length;
                        return unescape( document.cookie.substring(y, endOfCookie ) );
                }
                x = document.cookie.indexOf( " ", x ) + 1;
                if ( x == 0 )
                        break;
        }
        return "";
}

//½ºÅ©·Ñ¸Þ´º end
/*************************************************************************************************************************************** 
login ºÎºÎ                 ÀÛ¼ºÀÚ:È²Áø¿ì2005-11-21
***************************************************************************************************************************************/

function loginForm(islogin)
{
	var str = getCookie("userlevel");
	var userid = getCookie("userid");
	if (str=="00" || str=="")
	{
		loginChk=true;
	}
	else
	{
		loginChk=false;
	}
	if(loginChk)
	{
	document.write("<table border=0 cellpadding='0' cellspacing='0' height='30' width='840' bgcolor='#EEEBE9'>");
	document.write("<tr>");
	document.write("<!--·Î±×ÀÎ¾ÈÇßÀ»¶§------------------------------------------------------->");
	document.write("<form name='loginform' method='post' onsubmit='return loginformcheck(this)' autocomplete=off>");
	document.write("<td width='43'><img src='/images/login/login_title.gif' width='43' height='17'></td>");
	document.write("<td style='padding-left:7px;'><input type='radio' value='1' name='member_m'></td>");
	document.write("<td><img src='/images/login/login_vm.gif' width='21' height='17'></td>");
	document.write("<td><input type='radio' value='2' name='member_m' checked></td>");
	document.write("<td><img src='/images/login/login_mm.gif' width='22' height='17'></td>");
	document.write("<td width='80' style='padding-left:6px;'>");
	document.write("<input type='text' class='input3' onblur=\"(this.value.length)?this.style.backgroundImage ='':this.style.backgroundImage = 'url(/images/login/login_id.gif)';\" onfocus=\"this.style.backgroundImage = '';\" style='BACKGROUND-IMAGE: url(/images/login/login_id.gif);width:80px;' name='user_id'>");
	document.write("</td>");
	document.write("<td width='80' class='padding1'>");
	document.write("<input type='password' class='input3' onblur=\"(this.value.length)?this.style.backgroundImage ='':this.style.backgroundImage = 'url(/images/login/login_pw.gif)';\" onfocus=\"this.style.backgroundImage = '';\" style=\"BACKGROUND-IMAGE: 'url(/images/login/login_pw.gif)';width:80px;\" name='user_pwd'></td>"); 
	document.write("<td width='80' class='padding1'>");
	document.write("<input type='password' class='input3' onblur=\"(this.value.length)?this.style.backgroundImage ='':this.style.backgroundImage = 'url(/images/login/login_spw.gif)';\" onfocus=\"this.style.backgroundImage = '';\" style='BACKGROUND-IMAGE: url(/images/login/login_spw.gif);width:80px;' name='user_spw'></td>");
	document.write("<td class='padding1'><input type='image'  src='/images/login/login_go.gif'></a></td>");
	document.write("<td style='padding-left:26px;'><a href='#'><img src='/images/login/login_1.gif' width='61' height='17' border='0'></a></td>");
	document.write("<td style='padding-left:10px;'><a href='#'><img src='/images/login/login_2.gif' width='51' height='17' border='0'></a></td>");
	document.write("</form>");
	document.write("<!--//·Î±×ÀÎ¾ÈÇßÀ»¶§--------------------------------------------------------->");
	document.write("<!--°Ë»ö---------------------------->");
	document.write("<form action='#' name='searchform' method='post' onsubmit='return loginformcheck(this)'>");
	document.write("<td style='padding-left:40px;padding-top:2px;' width='90'>");
	document.write("<select class='select1' name=''>");
	document.write("<option value='#'>KEYWORD</option>");
	document.write("</select>");
	document.write("</td>");
	document.write("<td width='110'><input type='text' class='input3' style='width:110px;'></td>");
	document.write("<td align='left' style='padding-left:3px;padding-right:6px;'><a href='#'><img src='/images/img/login_go2.gif' width='18' height='17' border='0'></a></td>");
	document.write("</form>");
	document.write("<!--//°Ë»ö---------------------------->");
	document.write("</tr>");
	document.write("</table>");
	}
	else if(!islogin)
	{					
	document.write("<table border=0 cellpadding='0' cellspacing='0' height='30' width='840' bgcolor='#EEEBE9'>");
	document.write("<tr>");
	document.write("<!--·Î±×ÀÎÇßÀ»¶§--------------------------------------------------------->");
	document.write("<td width='54' align='right'><a href='javascript:logout();'><img src='/images/login/logout.gif' width='48' height='19' border='0' align='absmiddle'></a></td>");
	document.write("<td style='padding-left:4px;' width='102'>");
	document.write("<a href='#'><img src='/images/login/member_modify.gif' width='98' height='19' border='0' align='absmiddle'></a></td>");
	document.write("</td>");
	document.write("<td width=183 style='padding-left:10px;padding-right:8px;' class='fc1 pt3 fs1 ff2'><b>"+userid+"</b> °í°´´Ô È¯¿µÇÕ´Ï´Ù.</td>");
	document.write("<td style='padding-right:6px;' width='7'><img src='/images/login/c_line.gif' width='1' height='19' align='absmiddle'></td>");
	document.write("<td width='55'><img src='/images/login/my_info.gif' width='55' height='19'></td>");
	document.write("<td style='padding-top:2px;' width='90'><select class='select1' name=''>");
	document.write("<option value='#'>°èÁÂ¸¦ ¼±ÅÃÇØ ÁÖ¼¼¿ä</select></td>");
	document.write("<td><a href='#'><img src='/images/login/login_go.gif' width='17' height='17' border='0'></a></td>");
	document.write("<!--//·Î±×ÀÎÇßÀ»¶§--------------------------------------------------------->");
	document.write("<!--°Ë»ö---------------------------->");
	document.write("<form action='#' name='searchform' method='post' onsubmit='return loginformcheck(this)' autocomplete=off>");
	document.write("<td style='padding-left:40px;padding-top:2px;' width='90'>");
	document.write("<select class='select1' name=''>");
	document.write("<option value='#'>KEYWORD</option>");
	document.write("</select>");
	document.write("</td>");
	document.write("<td width='110'><input type='text' class='input3' style='width:110px;'></td>");
	document.write("<td align='left' style='padding-left:3px;padding-right:6px;'><a href='#'><img src='/images/img/login_go2.gif' width='18' height='17' border='0'></a></td>");
	document.write("</form>");
	document.write("<!--//°Ë»ö---------------------------->");
	document.write("</tr>");
	document.write("</table>");
	}
}

function logout()
{
	top.location.replace("http://liger.imeritz.com/servlet/Logoff");
}

function delCookie(name) {
	document.cookie = name + "=; expires=Thu, 01-Jan-90 00:00:01 GMT" +  "; path=/";
}

function setCookie( name, value, expiredays ) 
{ 
 var todayDate = new Date(); 
 todayDate.setDate( todayDate.getDate() + expiredays ); 
 document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" 
} 

function loginformcheck()
{
	if (document.loginform.user_id.value=="")
	{
		alert("°í°´´ÔÀÇ ¾ÆÀÌµð¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
		document.loginform.user_id.focus();
		return false;
	}

	if (document.loginform.user_pwd.value=="")
	{
		alert("°í°´´ÔÀÇ ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
		document.loginform.user_pwd.focus();
		return false;
	}
	document.domain = 'imeritz.com';
	var siseURL = 'http://liger.imeritz.com';
		document.forms[0].method='post';
		document.forms[0].target="_top";
		document.forms[0].action=siseURL+'/servlet/Custom_Name';
		document.forms[0].submit();
}

/***********************************************************************************************************************
¿Â¶óÀÎÁöÁ¡ °øÅë
************************************************************************************************************************/

var imgDefault = Array();
var moreLink = 1;
var lastNum = 0;
function banka(num,type) {
 if(type=="mf") {
  lastNum = 3;
  moreLink = num;
   for (i = 1; i <= lastNum; i++) {
    imgDefault[i] ='/images/mf/01/09tab' +i+ '.gif';
   }
   imgDefault[num] ='/images/mf/01/09tab' + num + 'o.gif';
 }
 for (i = 1; i <= lastNum; i++) {
   menuStr =type + i;
   document.images[menuStr].src=imgDefault[i];
 }

}

function changeMore() {
	if (moreLink == 1) {
		//alert("");
		top.topframe.menu.menu_link('');
	}
	else if(moreLink == 2) {
		//alert("");
		document.location.href = "#";
	}
}


/***********************************************************************************************************************
½ºÅ©·Ñ °øÅë
************************************************************************************************************************/


function fix(){
var a=document.body.scrollTop+0
bar.style.top = a
}


/***********************************************************************************************************************
 ÆÝµåÀ¯ÇüÀ» ÁÖ°í ÇØ´çÇÏ´Â ¼³¸í ÆäÀÌÁö¸¦ ¶Ù¿ì´Â ÆË¾÷¸µÅ© ÀÌ¹ÌÁö
 ÀÛ¼ºÀÏ: 2006³â 4¿ù 21ÀÏ ÀÛ¼ºÀÚ: ±è´ë¿¬
************************************************************************************************************************/

function prn_fundtype_btn(ft)
{
	var ret = "";
	if(ft == "½Ç¹°°£Á¢ÅõÀÚ±â±¸")
		ret = "<img src=/images/button/btn_fund_type01.gif border=0 align=absmiddle>";
	if(ft == "Àç°£Á¢")
		ret = "<img src=/images/button/btn_fund_type05.gif border=0 align=absmiddle>";
	if(ft == "MMF")
		ret = "<img src=/images/button/btn_fund_type02.gif border=0 align=absmiddle>";
	if(ft == "Ã¤±ÇÇü")
		ret = "<img src=/images/button/btn_fund_type06.gif border=0 align=absmiddle>";
	if(ft == "Ã¤±ÇÈ¥ÇÕÇü")
		ret = "<img src=/images/button/btn_fund_type07.gif border=0 align=absmiddle>";
	if(ft == "ÁÖ½ÄÈ¥ÇÕÇü")
		ret = "<img src=/images/button/btn_fund_type10.gif border=0 align=absmiddle>";
	if(ft == "ÁÖ½ÄÇü")
		ret = "<img src=/images/button/btn_fund_type08.gif border=0 align=absmiddle>";
	if(ft == "ÆÄ»ý»óÇ°")
		ret = "<img src=/images/button/btn_fund_type09.gif border=0 align=absmiddle>";
	if(ft == "ºÎµ¿»ê")
		ret = "<img src=/images/button/btn_fund_type03.gif border=0 align=absmiddle>";
	if(ft == "Æ¯º°ÀÚ»ê")
		ret = "<img src=/images/button/btn_fund_type11.gif border=0 align=absmiddle>";
	if(ft == "½ÅÅ¹Çü")
		ret = "<img src=/images/button/btn_fund_type12.gif border=0 align=absmiddle>";

	return ret;
}


/***********************************************************************************************************************
 ÆÝµåÀ¯ÇüÀ» ÁÖ°í ÇØ´çÇÏ´Â ¼³¸í ÆäÀÌÁö¸¦ ¶Ù¿ì´ÂÆË¾÷¸µÅ© ÁÖ¼Ò [prn_fundtype_pop() ÇÊ¿äÇÔ]
 ÀÛ¼ºÀÏ: 2006³â 4¿ù 21ÀÏ ÀÛ¼ºÀÚ: ±è´ë¿¬
************************************************************************************************************************/

function prn_fundtype_lst(ft)
{
	var ret = "";
	if(ft == "½Ç¹°°£Á¢ÅõÀÚ±â±¸")
		ret = "<a href=javascript:prn_fundtype_pop('35'); onfocus=this.blur()>";
	if(ft == "Àç°£Á¢")
		ret = "<a href=javascript:prn_fundtype_pop('36'); onfocus=this.blur()>";
	if(ft == "MMF")
		ret = "<a href=javascript:prn_fundtype_pop('05'); onfocus=this.blur()>";
	if(ft == "Ã¤±ÇÇü")
		ret = "<a href=javascript:prn_fundtype_pop('04'); onfocus=this.blur()>";
	if(ft == "Ã¤±ÇÈ¥ÇÕÇü")
		ret = "<a href=javascript:prn_fundtype_pop('03'); onfocus=this.blur()>";
	if(ft == "ÁÖ½ÄÈ¥ÇÕÇü")
		ret = "<a href=javascript:prn_fundtype_pop('02'); onfocus=this.blur()>";
	if(ft == "ÁÖ½ÄÇü")
		ret = "<a href=javascript:prn_fundtype_pop('01'); onfocus=this.blur()>";
	if(ft == "ÆÄ»ý»óÇ°")
		ret = "<a href=javascript:prn_fundtype_pop('37'); onfocus=this.blur()>";
	if(ft == "ºÎµ¿»ê")
		ret = "<a href=javascript:prn_fundtype_pop('38'); onfocus=this.blur()>";
	if(ft == "Æ¯º°ÀÚ»ê")
		ret = "<a href=javascript:prn_fundtype_pop('40'); onfocus=this.blur()>";
	if(ft == "½ÅÅ¹Çü")
		ret = "<a href=javascript:prn_fundtype_pop('39'); onfocus=this.blur()>";
	return ret;

}


/***********************************************************************************************************************
 ÆÝµåÀ¯Çü¿¡ ÇØ´çÇÏ´Â ÆäÀÌÁö ¹øÈ£¸¦ ÁÖ°í ÇØ´çÇÏ´Â ÆäÀÌÁö¸¦ ÆË¾÷½ÃÅ²´Ù.
 ÀÛ¼ºÀÏ: 2006³â 4¿ù 21ÀÏ ÀÛ¼ºÀÚ: ±è´ë¿¬
************************************************************************************************************************/

function prn_fundtype_pop(no) 
{  
    var myWin = window.open('http://www.imeritz.com/help/fund/fundhelp_s' + no + '.html','pbml_win1','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=yes,width=778,height=560,top=10,left=10'); 
} 


/***********************************************************************************************************************
 ½Å±Ô»óÇ°Àº ÆÝµå¸í ¿ÞÂÊ¿¡ new¶ó´Â ÀÌ¹ÌÁö¸¦ ³ªÅ¸³»ÁØ´Ù.
 ÀÛ¼ºÀÏ: 2006³â 4¿ù 25ÀÏ ÀÛ¼ºÀÚ: ±è´ë¿¬
************************************************************************************************************************/

function prn_newYN(str)
{
	ret = "";
	if(str == "Y")
		return ret = "<img src='/images/button/btn_ani_engnew.gif' border=0 align=absmiddle>";
	else
		return "";
}


/***********************************************************************************************************************
 ½Å±Ô»óÇ°Àº ÆÝµå¸í ¿ÞÂÊ¿¡ ÃßÃµÀÌ¶ó´Â ÀÌ¹ÌÁö¸¦ ³ªÅ¸³»ÁØ´Ù.
 ÀÛ¼ºÀÏ: 2006³â 4¿ù 25ÀÏ ÀÛ¼ºÀÚ: ±è´ë¿¬
************************************************************************************************************************/

function prn_recommendationYN(str)
{
	ret = "";
	if(str == "Y")
		return ret = "<img src='/images/button/btn_ani_recom.gif' border=0 align=absmiddle>";
	else
		return "";
}

/***********************************************************************************************************************
 ½Å±Ô»óÇ°Àº ÆÝµå¸í ¿ÞÂÊ¿¡ new¶ó´Â ÀÌ¹ÌÁö¸¦ ³ªÅ¸³»ÁØ´Ù.(ÆÝµå»óÇ°Á¤º¸¿ë)
 ÀÛ¼ºÀÏ: 2006³â 4¿ù 25ÀÏ ÀÛ¼ºÀÚ: ±è´ë¿¬
************************************************************************************************************************/

function prn_newYN2(str)
{
	ret = "";
	if(str == "Y")
		return ret = "<img src='/images/button/btn_ani_kornew.gif' border=0 align=absmiddle>";
	else
		return "";
}



/***********************************************************************************************************************
 ½Å±Ô»óÇ°Àº ÆÝµå¸í ¿ÞÂÊ¿¡ ÃßÃµÀÌ¶ó´Â ÀÌ¹ÌÁö¸¦ ³ªÅ¸³»ÁØ´Ù.(ÆÝµå»óÇ°Á¤º¸¿ë)
 ÀÛ¼ºÀÏ: 2006³â 4¿ù 25ÀÏ ÀÛ¼ºÀÚ: ±è´ë¿¬
************************************************************************************************************************/

function prn_recommendationYN2(str)
{
	ret = "";
	if(str == "Y")
		return ret = "<img src='/images/button/btn_ani_recom.gif' border=0 align=absmiddle>";
	else
		return "";
}


/***********************************************************************************************************************
 ½Å±Ô»óÇ°Àº ÆÝµå¸í ¿ÞÂÊ¿¡ ÃßÃµÀÌ¶ó´Â ÀÌ¹ÌÁö¸¦ ³ªÅ¸³»ÁØ´Ù.(ÆÝµå»óÇ°Á¤º¸¿ë)
 ÀÛ¼ºÀÏ: 2006³â 4¿ù 26ÀÏ ÀÛ¼ºÀÚ: ±è´ë¿¬
************************************************************************************************************************/

function ir_pop()
{
	window.open('/main/ir/ir060000a_1.html','ir06000a_1','toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=yes,width=700,height=440,top=10,left=10');
}
