<!--
/*
** 2001/11/30, alex
** - dotBiz, dotInfo¸¦ ¸ÞÀÎ °Ë»ö±â¿¡ Æ÷ÇÔ
** - dotDj °Ë»öÃ¢ Ãß°¡
** 2001/12/05, alex
** - function trimString() Ãß°¡
** 2005/08/11, alex
** - NamingWizard °ü·Ã ÇÔ¼ö Ãß°¡
*/

//The follwing function is set up so that it can be added as a method to the String.prototype:
// from http://www.faqts.com/knowledge_base/view.phtml/aid/1678/fid/1

function namingSearch(form) {

	form.action="domain_search.asp"
	form.menuPage.value = "";
	form.actionPage.value = "http://dom.whois.co.kr/naming/naming.php";

	hostname = form.key.value;
	if(!hostname) {
		alert('µµ¸ÞÀÎ Å°¿öµå¸¦ ³Ö¾îÁÖ¼¼¿ä.');
		form.key.focus();
		return false;
	}
	var reg =/^[a-zA-Z0-9-]+$/;
	if(!reg.test(hostname)) {
		alert('µµ¸ÞÀÎ Å°¿öµå Çü½ÄÀÌ Àß¸øµÇ¾ú½À´Ï´Ù.\n\n ¿µ¹®°ú ¼ýÀÚ ±×¸®°í - ¹®ÀÚ¸¸ Çã¿ëµË´Ï´Ù.');
		form.key.focus();
		return false;
	}
	var user_agent = navigator.userAgent;
    if(user_agent.indexOf("Windows NT 5.1") > -1) {
        alert("À©µµ¿ìÁî XP°¡ Ãâ½ÃµÇ¸é¼­ java °¡»ó ¸Ó½ÅÀÌ Á¦¿Ü µÇ¾ú½À´Ï´Ù.\n ±×·¡¼­, microsoft java °¡»ó ¸Ó½ÅÀ» ¼³Ä¡ÇØ¾ß java appletÀ»\n ¼öÇàÇÒ ¼ö ÀÖ½À´Ï´Ù. ÇöÀç ³×ÀÌ¹Ö ¸¶¹ý»ç¸¦ À§ÇÑ java appletÀ»\n XP¿¡¼­ ½ÇÇàÇÏ°Ô µÇ¸é appletÀÇ Æ¯Á¤ ±â´É ¶§¹®¿¡ XP¿Í java \n °¡»ó ¸Ó½Å »çÀÌ¿¡ ¹®Á¦°¡ ¹ß»ýÇÏ¿© ¿À·ù°¡ ¹ß»ýÇÕ´Ï´Ù.\n ¾ÕÀ¸·Î ¿À·ù¸¦ ¹ß»ý½ÃÅ°´Â ºÎºÐÀ» ´Ù¸¥ ÄÚµå·Î °³¼±ÇÏ°Å³ª\n ¶Ç´Â plug-in ¹æ½ÄÀ¸·Î ÀüÈ¯ÇÏ±â Àü±îÁö´Â XP¿¡ ´ëÇØ¼­´Â ³×ÀÌ¹Ö\n ¸¶¹ý»ç ±â´ÉÀ» Áö¿øÇÏÁö ¾ÊÀ» ¿¹Á¤ÀÌ´Ï ¾çÇØÇØ ÁÖ½Ã±â ¹Ù¶ø´Ï´Ù.\n ÇÏ·ç »¡¸® °³¼±ÇÏ¿© XP¿¡¼­µµ ¼­ºñ½º°¡ Á¤»óÀûÀ¸·Î µÉ ¼ö ÀÖµµ·Ï\n ³ë·ÂÇÏ°Ú½À´Ï´Ù.");
        form.key.focus();
        return false;
    }
	return true;
}

function trimString (str) {
       str = this != window? this : str;
       return str.replace(/^\s+/g, '').replace(/\s+$/g, '');
}

String.prototype.trim = trimString;

function senditDotDJ(form)
{
	var domainList = form.domainList.value;
	domainList = domainList.trim();

	if( domainList == "" || domainList.length <= 0 ) {
		alert("°Ë»öÇÏ°íÀÚ ÇÏ´Â µµ¸ÞÀÎ ¸íÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		form.domainList.focus();
		return false;
	}

	var idx = domainList.indexOf(".");
	if( idx > 0 ) {
		domainList = domainList.substring(0,idx);
	}
	form.domainList.value = domainList;

	return true;
}


function sendit(form)
{
	form.action="domain_search.asp"
	form.menuPage.value = "";
	form.actionPage.value = "http://find1.whois.co.kr/domain-search/MultiDomainSearch.jsp";
	//form.actionPage.value = "http://yesnic.com:8080/domain-search/MultiDomainSearch.jsp";

	var host = form.hostname.value;

	var str="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-";
	var j=0,a=0;
	var check_num=0;

	for (i=13 ;i < form.elements.length ;i++ )
	{
		if (form.elements[i].checked == true)
		{
			check_num = 1;
		}
	}

	if (check_num == 0)
	{
		alert("µµ¸ÞÀÎ Å¸ÀÔÀ» ¼±ÅÃÇØ ÁÖ½Ê½Ã¿À");
		return false;
	}

	if( host == "" || host.length <= 0 )
	{
		alert("°Ë»öÇÏ°íÀÚÇÏ´Â µµ¸ÞÀÎ ¸íÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		form.hostname.focus();
		return false;
	}

	if(host.length < 1 || host.length > 63)
	{
		alert("µµ¸ÞÀÎ ÀÌ¸§Àº ÃÖ¼Ò 2ÀÚ, ÃÖ´ë 63ÀÚ±îÁö °¡´ÉÇÕ´Ï´Ù.");
		form.hostname.focus();
		return false;
	}

	for(i=0;i<host.length;i++)
	{
		temp = host.charAt(i);

		if(host.value != "" && str.indexOf(temp) < 0)
		{
			alert("À¯È¿ÇÏÁö ¾ÊÀº µµ¸ÞÀÎ ÀÌ¸§ÀÔ´Ï´Ù. ´Ù½Ã ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿ä");
			form.hostname.focus();
			return false;
		}

		j = i;
	}


/*
	if(host.charAt(0) == '-' || host.charAt(j) == '-')
	{
		alert("µµ¸ÞÀÎÀº ÇÏÀÌÇÂ(-)À¸·Î ³¡³ª°Å³ª ½ÃÀÛÇÒ ¼ö ¾ø½À´Ï´Ù.");
		form.hostname.focus();
		return false;
	}
*/

	if(form.tld17.checked == true)
	{
		form.action="tv_domain.asp";
		form.target="_top";
		form.domain_name.value = host;
		return true;
	}

	//.cc ¸¦ Ã¼Å©ÇßÀ» ¶§ »ç¿ëµÇ´Â ÀÚ¹Ù½ºÅ©¸³Æ®
	else if(form.tld11.checked == true)
	{
		form.menuPage.value = "/Han_domain/cc_menu.asp";
		form.actionPage.value = "/cc/searchCC.php";
		form.domain_name.value = host;
		form.domain_type.value = ".cc";
		return true;
	}

	//.jp¸¦ Ã¼Å© ÇßÀ»¶§ »ç¿ëµÇ´Â ÀÚ¹Ù½ºÅ©¸³Æ®
	else if(form.tld18.checked == true)
	{
		form.menuPage.value = "/han_domain/jp_menu.asp";
		form.actionPage.value = "http://yesnic.com:8080/domain-search/DomainSearch.jsp";

		strMod = "";
		for(i=0; i < host.length; i++)
		{
			if( host.charAt(i) != "." )
			{
				strMod += host.charAt(i);
			}
		}

		form.domainName.value = strMod;
		// 2001/09/24, alex
		form.domainType.value = ".jp";
		return true;
	}
	//.cnÀ» Ã¼Å© ÇßÀ»¶§ »ç¿ëµÇ´Â ÀÚ¹Ù½ºÅ©¸³Æ®
	else if(form.tld19.checked == true
	|| form.tld15.checked == true
	|| form.tld16.checked == true
	|| form.tld23.checked == true )
	{
		form.menuPage.value = "/cn_domain200303/inc/cn_menu_left.htm";
		form.actionPage.value = "http://dom.whois.co.kr/regist/cn_register.php";

		strMod = "";
		for(i=0; i < host.length; i++)
		{
			if( host.charAt(i) != "." )
			{
				strMod += host.charAt(i);
			}
		}

		form.domainName.value = strMod;
		var strTmp = new String("");

		if (form.tld19.checked == true) {
            strTmp = ".cn|.com.cn|.net.cn|.org.cn";
    	} else {
    		if (form.tld15.checked == true) {
        		strTmp += ".com.cn|";
        	}
    		if (form.tld16.checked == true) {
        		strTmp += ".net.cn|";
        	}
    		if (form.tld23.checked == true) {
        		strTmp += ".org.cn|";
        	}
            var strTmp2 = strTmp.slice(0,-1); // remove last one
            strTmp = strTmp2;
        }

        form.domainType.value = strTmp;
		return true;
	}

	/*
	//.dj ¸¦ Ã¼Å© ÇßÀ»¶§ »ç¿ëµÇ´Â ÀÚ¹Ù½ºÅ©¸³Æ®
	else if(form.tld_dj.checked == true)
	{
		form.domainName.value = "";
		form.domainType.value = "";
		form.domainCart.value = "";
		//form.domainList.value = host;
		form.domain_name.value = host;

		form.menuPage.value = "/dj/dj_menu_left.asp";
		form.actionPage.value = "http://myweb.whois.co.kr/dotDJ/search_result.php";
		return true;
	}
	*/
	//.biz ¸¦ Ã¼Å© ÇßÀ»¶§ »ç¿ëµÇ´Â ÀÚ¹Ù½ºÅ©¸³Æ®
	else if(form.tld_biz.checked == true)
	{
		form.domainName.value = "";
		form.domainType.value = "";
		form.domainCart.value = "";
		form.domainList.value = host;

		form.menuPage.value = "/han_domain/biz_menu.asp";
		//form.actionPage.value = "http://find.whois.co.kr/domain-search/BizDomainSearch.jsp";
		form.actionPage.value = "http://yesnic.com:8080/domain-search/BizDomainSearch.jsp";

		return true;
	}
	//.org ¸¦ Ã¼Å© ÇßÀ»¶§ »ç¿ëµÇ´Â ÀÚ¹Ù½ºÅ©¸³Æ®
	else if(form.tld3.checked == true)
	{
		form.domainName.value = "";
		form.domainType.value = "";
		form.domainCart.value = "";
		form.domainList.value = host;

		form.menuPage.value = "/han_domain/org_menu.asp";
		//form.actionPage.value = "http://yesnic.com:8080/domain-search/InfoDomainSearchReserve.jsp";
		//form.actionPage.value = "http://myweb.whois.co.kr/dotINFO/applicationForm1.php";
		form.target = "_top";
		form.actionPage.value = "http://dom.whois.co.kr/dotORG/orgDomainSearch.php?domainList=" + host + "&memberid=&reseller=whois";

		return true;
	}

	//.info ¸¦ Ã¼Å© ÇßÀ»¶§ »ç¿ëµÇ´Â ÀÚ¹Ù½ºÅ©¸³Æ®
	else if(form.tld_info.checked == true)
	{
		form.domainName.value = "";
		form.domainType.value = "";
		form.domainCart.value = "";
		form.domainList.value = host;

		form.menuPage.value = "/han_domain/info_menu.asp";
		//form.actionPage.value = "http://yesnic.com:8080/domain-search/InfoDomainSearchReserve.jsp";
		//form.actionPage.value = "http://myweb.whois.co.kr/dotINFO/applicationForm1.php";
		form.actionPage.value = "http://myweb.whois.co.kr/dotINFO/infoDomainSearch.php?domainList=" + host + "&memberid=&reseller=whois";

		return true;
	}

	//.in À» Ã¼Å© ÇßÀ»¶§ »ç¿ëµÇ´Â ÀÚ¹Ù½ºÅ©¸³Æ®
/*
	else if(form.tld_in.checked == true)
	{
		if(host.length < 3 || host.length > 63)
		{
			alert(".in µµ¸ÞÀÎ ÀÌ¸§Àº ÃÖ¼Ò 3ÀÚ, ÃÖ´ë 63ÀÚ±îÁö °¡´ÉÇÕ´Ï´Ù.");
			form.hostname.focus();
			return false;
		}

		form.domainName.value = "";
		form.domainType.value = "";
		form.domainCart.value = "";
		form.domainList.value = host;

		form.menuPage.value = "/cn_domain200303/inc/cn_menu_left.htm";
		form.actionPage.value = "http://dom.whois.co.kr/regist/cn_register.php";

		var strTmp = new String("");

		strTmp = ".in|.co.in|.net.in";

        form.domainType.value = strTmp;
		form.menuPage.value = "http://dom.whois.co.kr/regist/tpl/in_menu_left.htm";
		form.actionPage.value = "http://dom.whois.co.kr/regist/in_register.php?mode=search_result";

		return true;
	}
*/

/*
	//.name ¸¦ Ã¼Å© ÇßÀ»¶§ »ç¿ëµÇ´Â ÀÚ¹Ù½ºÅ©¸³Æ®
	else if(form.tld_name.checked == true)
	{
		form.menuPage.value = "/dotName_2level/menu_left.asp";
		form.target = "_top";
		form.actionPage.value = "http://dom.whois.co.kr/dotName_2level/regOffer.php?domain_name1=" + host + "&memberid=&reseller=whois";

		return true;
	}
*/

	else
	{
		// .jp ¼³Á¤½Ã »ç¿ëµÇ´Â domainType ÇÊµå¸¦ NULL·Î ÃÊ±âÈ­, 2001/09/24, alex
		form.domainType.value = "";

		//µ¿½Ã °Ë»öµµ¸ÞÀÎ ÃÖ´ë 8°³±îÁö °¡´É

		for(b=1;b<form.elements.length;b++)
		{
			if(form.elements[b].checked == 1) { a++; }
		}


		if(form.tld3.checked == 1) { a--; }

		if(form.tld2.checked == 1) { a--; }

		if ( a > 8)
		{
			alert("µ¿½Ã¿¡ °Ë»öÇÒ ¼ö ÀÖ´Â µµ¸ÞÀÎÀº ÃÖ´ë 8°³ÀÔ´Ï´Ù.");
			return false;
		}
	}
	return true;
}

function clearAll()
{
	var theForm = document.quest;

	for (var i=0;i<theForm.elements.length;i++)
	{
		var e = theForm.elements[i];
		if ( (e.type=='checkbox') ) {
			if( e.checked ) {
				e.checked = false;
			}
		}
	}
}

function clearAllHangul()
{
	var theForm = document.hangul;

	for (var i=0;i<theForm.elements.length;i++)
	{
		var e = theForm.elements[i];
		if ( (e.type=='checkbox') ) {
			if( e.checked ) {
				e.checked = false;
			}
		}
	}
}
function checkAll_cn()
{
	/*
	if(document.quest.check6.checked == 1)
	{
		clearAll();

		document.quest.check6.checked = 1;
		document.quest.tld19.checked = 1;
		document.quest.tld15.checked = 1;
		document.quest.tld16.checked = 1;
		document.quest.tld23.checked = 1;
	}
	else
	{
		document.quest.tld19.checked = 0;
		document.quest.tld15.checked = 0;
		document.quest.tld16.checked = 0;
		document.quest.tld23.checked = 0;
	}
	*/
}
function check_cojp()
{
	if(document.quest.tld26.checked == 1)
	{
		clearAll();
		document.quest.tld26.checked = 1;
		document.quest.tld27.checked = 1;
		document.quest.tld28.checked = 1;
    }
	else
	{
		document.quest.tld26.checked = 0;
		document.quest.tld27.checked = 0;
		document.quest.tld28.checked = 0;
	}

}
function check_cojp1()
{
	if(document.quest.tld27.checked == 1)
	{
		clearAll();
		document.quest.tld27.checked = 1;
    }
	else
	{
		document.quest.tld27.checked = 0;
	}

}
function check_cojp2()
{
	if(document.quest.tld28.checked == 1)
	{
		clearAll();
		document.quest.tld28.checked = 1;
    }
	else
	{
		document.quest.tld28.checked = 0;
	}

}

function check_inter()
{
  if(document.quest.tld3.checked  == true||
	  document.quest.tld_biz.checked  == true||
     document.quest.tld_info.checked == true||
     //document.quest.tld_dj.checked   == true||
     document.quest.tld19.checked   == true||
     document.quest.tld15.checked   == true||
     document.quest.tld16.checked   == true||
     document.quest.tld23.checked   == true||
     document.quest.tld18.checked   == true||
     document.quest.tld26.checked   == true||
     document.quest.tld27.checked   == true||
     document.quest.tld17.checked   == true||
     document.quest.tld11.checked   == true||
     document.quest.tld9.checked   == true||
     document.quest.tld28.checked   == true||
	 document.quest.tld_in.checked   == true)
   {
	    document.quest.tld3.checked  = 0;
	    document.quest.tld_biz.checked  = 0;
	    document.quest.tld_info.checked = 0;
	   // document.quest.tld_dj.checked   = 0;
	    document.quest.tld19.checked   = 0;
	    document.quest.tld15.checked   = 0;
	    document.quest.tld16.checked   = 0;
	    document.quest.tld23.checked   = 0;
	    document.quest.tld18.checked   = 0;
	    document.quest.tld26.checked   = 0;
	    document.quest.tld27.checked   = 0;
        document.quest.tld17.checked   = 0;
	    document.quest.tld11.checked   = 0;
	    document.quest.tld9.checked    = 0;
	    document.quest.tld28.checked   = 0;
//		document.quest.tld_in.checked   = 0;
	    //document.quest.check6.checked   = 0;
   }

   //com Ã¼Å© »óÅÂ¿¡ µû¶ó net Ã¼Å©µµ µ¿ÀÏÇÏµµ·Ï
   var comChk = document.quest.tld1.checked;
   document.quest.tld2.checked = comChk;

	//co.kr Ã¼Å© »óÅÂ¿¡ µû¶ó ³ª¸ÓÁöµµ µ¿ÀÏÇÏµµ·Ï
	var krChk = document.quest.tld4.checked;
	document.quest.tld_nekr.checked = krChk;
	document.quest.tld_orkr.checked = krChk;
	document.quest.tld7.checked = krChk;

   return true;
}
function checkCN()
{
  if(document.quest.tld_biz.checked  == true||
     document.quest.tld_info.checked == true||
     //document.quest.tld_dj.checked   == true||
     document.quest.tld1.checked   == true||
     document.quest.tld2.checked   == true||
     document.quest.tld3.checked   == true||
     document.quest.tld4.checked   == true||
     document.quest.tld_nekr.checked   == true||
     document.quest.tld_orkr.checked   == true||
     document.quest.tld7.checked   == true||
     document.quest.tld18.checked   == true||
     document.quest.tld26.checked   == true||
     document.quest.tld27.checked   == true||
     document.quest.tld17.checked   == true||
     document.quest.tld11.checked   == true||
     document.quest.tld9.checked   == true||
     document.quest.tld28.checked   == true)
   {
	    document.quest.tld_biz.checked  = 0;
	    document.quest.tld_info.checked = 0;
	    //document.quest.tld_dj.checked   = 0;
        document.quest.tld1.checked   = 0;
	    document.quest.tld2.checked   = 0;
	    document.quest.tld3.checked   = 0;
	    document.quest.tld4.checked   = 0;
	    document.quest.tld_nekr.checked   = 0;
	    document.quest.tld_orkr.checked   = 0;
	    document.quest.tld7.checked   = 0;
	    document.quest.tld18.checked   = 0;
	    document.quest.tld26.checked   = 0;
	    document.quest.tld27.checked   = 0;
        document.quest.tld17.checked   = 0;
	    document.quest.tld11.checked   = 0;
	    document.quest.tld9.checked    = 0;
	    document.quest.tld28.checked   = 0;
	    document.quest.check5.checked   = 0;

   }

	//cn ÀÌ Ã¼Å©µÇ¸é ³ª¸ÓÁö cnµµ Ã¼Å©µÇ°Ô
	var cnCheck = document.quest.tld19.checked;
	document.quest.tld15.checked = cnCheck;
	document.quest.tld16.checked = cnCheck;
	document.quest.tld23.checked = cnCheck;

   return true;
}

function checkBIZ()
{
	if(document.quest.tld_biz.checked == 1)
	{
		clearAll();

		document.quest.tld_biz.checked = 1;
	}
	else
	{
		document.quest.tld_biz.checked = 0;
	}
}

function checkORG()
{
	if(document.quest.tld3.checked == 1)
	{
		clearAll();

		document.quest.tld3.checked = 1;
	}
	else
	{
		document.quest.tld3.checked = 0;
	}
}

/*
function checkIN()
{
	if(document.quest.tld_in.checked == 1)
	{
		clearAll();

		document.quest.tld_in.checked = 1;
	}
	else
	{
		document.quest.tld3.checked = 0;
	}
}
*/

/* 2004³â 01¿ù 30ÀÏ ÁÖ¼®Ã³¸® ½É»óµµ
function checkNAME()
{
	if(document.quest.tld_name.checked == 1)
	{
		clearAll();
		document.quest.tld_name.checked = 1;
	}
	else
	{
		document.quest.tld_name.checked = 0;
	}
}
*/

function checkINFO()
{
	if(document.quest.tld_info.checked == 1)
	{
		clearAll();

		document.quest.tld_info.checked = 1;
	}
	else
	{
		document.quest.tld_info.checked = 0;
	}
}

function checkDJ()
{
	if(document.quest.tld_dj.checked == 1)
	{
		clearAll();

		document.quest.tld_dj.checked = 1;
	}
	else
	{
		document.quest.tld_dj.checked = 0;
	}
}

function checkTV()
{
	if(document.quest.tld17.checked == 1)
	{
		clearAll();

		document.quest.tld17.checked = 1;
	}
	else
	{
		document.quest.tld17.checked = 0;
	}
}

function checkJP()
{
	if(document.quest.tld18.checked == 1)
	{
		clearAll();

		document.quest.tld18.checked = 1;
		//document.quest.tld26.checked = 1;
		//document.quest.tld27.checked = 1;
		//document.quest.tld28.checked = 1;
	}
	else
	{
		document.quest.tld18.checked = 0;
		//document.quest.tld26.checked = 0;
		//document.quest.tld27.checked = 0;
		//document.quest.tld28.checked = 0;
	}
}

function checkTO()
{
	if(document.quest.tld9.checked == 1)
	{
		clearAll();

		document.quest.tld9.checked = 1;
	}
	else
	{
		document.quest.tld9.checked = 0;
	}
}

function clearKR()
{
	document.quest.tld4.checked = false;
	document.quest.tld5.checked = false;
	document.quest.tld6.checked = false;
	document.quest.tld7.checked = false;
	document.quest.tld8.checked = false;
	document.quest.tld_nekr.checked = false;


	alert("ÇöÀç KR µµ¸ÞÀÎÀº °Ë»öÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù.");
}


function checkAll1()
{
	if(document.quest.check2.checked == 1)
	{
		clearAll();

		document.quest.check2.checked = 1;
		document.quest.tld17.checked = 1;
		//document.quest.tld10.checked = 1;
	}
	else
	{
		document.quest.tld17.checked = 0;
		//document.quest.tld10.checked = 0;
	}
}

function checkAll2()
{
	//if(document.quest.check3.checked == 1)

	if( false )
	{
		clearAll();

		document.quest.check3.checked = 1;
		document.quest.tld12.checked = 1;
		document.quest.tld13.checked = 1;
		document.quest.tld14.checked = 1;
	}
	else
	{
		document.quest.tld12.checked = 0;
		document.quest.tld13.checked = 0;
		document.quest.tld14.checked = 0;
	}
}

function checkAll3()
{
	if(document.quest.check4.checked == 1)
	{
		clearAll();

		document.quest.check4.checked = 1;
		document.quest.tld15.checked = 1;
		document.quest.tld16.checked = 1;
	}
	else
	{
		document.quest.tld15.checked = 0;
		document.quest.tld16.checked = 0;
	}
}

function checkAll4()
{
	if(document.quest.check5.checked == 1)
	{
		clearAll();

		document.quest.check5.checked = 1;
		document.quest.tld1.checked = 1;
		document.quest.tld2.checked = 1;
		//document.quest.tld3.checked = 1;
		document.quest.tld4.checked = 1;
		document.quest.tld7.checked = 1;
		document.quest.tld_nekr.checked = 1;
		document.quest.tld_orkr.checked = 1;
		document.quest.tld_name.checked = 1;
		document.quest.tld_in.checked = 1;
	}
	else
	{
		document.quest.tld1.checked = 0;
		document.quest.tld2.checked = 0;
		document.quest.tld3.checked = 0;
		document.quest.tld4.checked = 0;
		document.quest.tld7.checked = 0;
		document.quest.tld_nekr.checked = 0;
		document.quest.tld_orkr.checked = 0;
		document.quest.tld_in.checked = 0;
	}
}

function checkAllHangul()
{
	if(document.hangul.check_hangul.checked == 1)
	{
		clearAllHangul();

		document.hangul.check_hangul.checked = 1;
		document.hangul.tld_hangul1.checked = 1;
		document.hangul.tld_hangul2.checked = 1;
		document.hangul.tld_hangul3.checked = 1;
	}
	else
	{
		document.hangul.tld_hangul1.checked = 0;
		document.hangul.tld_hangul2.checked = 0;
		document.hangul.tld_hangul3.checked = 0;
	}
}

function checkAll5()
{
	if(document.quest.tld17.checked == 1)
	{
		clearAll();

		document.quest.tld17.checked = 1;
	}
	else
	{
		document.quest.check5.checked = 1;
		document.quest.tld1.checked = 1;
		document.quest.tld2.checked = 1;
		document.quest.tld3.checked = 1;
		document.quest.tld4.checked = 1;
	}
}

function sendit2(form)
{
	form.action="domain_search.asp";
	//form.menuPage.value = "http://www.whois.co.kr/hangul_com/han_menu.asp";
	form.menuPage.value = "http://whoisdomain.kr/include/domain_menuframe.php";
	form.actionPage.value = "http://dom.whois.co.kr/regist/ml_search.php";

	host = form.hostname.value;
	var str="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-";
	var str1="_";
	var str2=".";
	var j=0;
	var equal_eng = 0;
	var check_num=0;

	for (i=0 ;i < form.elements.length ;i++ )
	{
		if (form.elements[i].checked == true)
		{
			check_num = 1;
		}
	}

	if (check_num == 0)
	{
		alert("µµ¸ÞÀÎ Å¸ÀÔÀ» ¼±ÅÃÇØ ÁÖ½Ê½Ã¿À");
		return false;
	}

	if(host == "")
	{
		alert("°Ë»öÇÏ°íÀÚÇÏ´Â µµ¸ÞÀÎ ¸íÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		form.hostname.focus();
		return false;
	}

	for(i=0;i<host.length;i++)
	{
		temp = host.charAt(i);

		if(str.indexOf(temp) >= 0)
		{
			equal_eng = equal_eng + 1;
		}

		if(str1.indexOf(temp) >= 0)
		{
			alert("¹®ÀÚ _ ´Â µµ¸ÞÀÎ ÀÌ¸§À¸·Î »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.");
			form.hostname.focus();
			return false;
		}

		if(str2.indexOf(temp) >= 0)
		{
			alert("¹®ÀÚ . ´Â µµ¸ÞÀÎ ÀÌ¸§À¸·Î »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.");
			form.hostname.focus();
			return false;
		}

		if(host.charAt(i) == " ")
		{
			alert("À¯È¿ÇÏÁö ¾ÊÀº µµ¸ÞÀÎ ÀÌ¸§ÀÔ´Ï´Ù. ´Ù½Ã ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿ä.");
			form.hostname.focus();
			return false;
		}

		j = i;
	}

	if(equal_eng == host.length)
	{
		alert("¿µ¹® µµ¸ÞÀÎÀº ¿µ¹® °Ë»ö±â¸¦ ÀÌ¿ëÇØ ÁÖ¼¼¿ä.");
		form.hostname.focus();
		return false;
	}

	if(host.charAt(0) == '-' || host.charAt(j) == '-')
	{
		alert("µµ¸ÞÀÎÀº ÇÏÀÌÇÂ(-)À¸·Î ³¡³ª°Å³ª ½ÃÀÛÇÒ ¼ö ¾ø½À´Ï´Ù.");
		form.hostname.focus();
		return false;
	}

	// ÇÑ±Û.CC µµ¸ÞÀÎ
//	if(form.rdo4.checked == true)
//	{
//		form.menuPage.value = "/Han_domain/cc_menu.asp";
//		form.actionPage.value = "/cc/searchCC.php";
//		return true;
//	}
	return true;
}

function checkCC()
{
  if(document.quest.tld11.checked == true)
  {
    clearAll();
    document.quest.tld11.checked = true;
	 document.quest.domain_type.value = ".cc";
    return true;
  }
  else
  {
    clearAll();
    document.quest.check5.checked = 1
    document.quest.tld1.checked = 1;
    document.quest.tld2.checked = 1;
    document.quest.tld3.checked = 1;
    document.quest.tld4.checked = 1;
  }
  return false;
}

//////////////////// winc Ã³¸® start  ///////////////////////////////////////
//winc°Ë»ö ÀÔ·Â°ª Ã¼Å©
function checkNDomain(theform) {

	var form = document.quest;
	var str = theform.domain_name.value;
	var temp = "";
	var num = "";
   	j=0;

	if ( str.length < 2 || isEnglishString(str) == false ) {
   		alert('µµ¸ÞÀÎÀ» ¿µ¹®ÀÌ³ª ¼ýÀÚ·Î 2ÀÚÀÌ»ó ÀÔ·ÂÇØÁÖ½Ã±â ¹Ù¶ø´Ï´Ù.');
      	theform.domain_name.focus();
      	return false;
   	}

   	if ( theform.extnumkey.value == "" ) {
   		alert('winc °íÀ¯¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä.');
      	theform.extnumkey.focus();
      	return false;
   	}

  	return true;
}

// µµ¸ÞÀÎ°ú ¸ÞÄ¡µÇ´Â winc ¼ýÀÚ¸¦ ÀÔ·ÂÇÏ´Â ÇÔ¼ö
function check_num(str)	{
	var str;
	str = str.toLowerCase();
	var temp = "";
	var num = "";
   	for(i=0; i<str.length; i++) {
   		temp = str.charAt(i);
   		if(temp == "a" || temp == "c" || temp == "b") {
			 num  += "2";
		} else if(temp == "d" || temp == "e" || temp == "f") {
			 num  += "3";
		} else if( temp == "g" ||  temp == "h" ||  temp == "i") {
			 num  += "4";
		} else if( temp == "j" ||  temp == "k" ||  temp == "l") {
			 num  += "5";
		} else if( temp == "m" ||  temp == "n" ||  temp == "o") {
			 num  += "6";
		} else if( temp == "p" ||  temp == "r" ||  temp == "s") {
			 num += "7";
		} else if( temp == "t" ||  temp == "u" ||  temp == "v") {
			 num  += "8";
		} else if( temp == "x" ||  temp == "w" ||  temp == "y") {
			 num  += "9";
		} else if( temp == "q" ||  temp == "z" || (i==0 && temp == "0" )) {
			 num  += "1";
		} else if( temp == "-" ) {
			 num  += "";
		}else if( 0 <=  temp  &&   temp <10 ) {
			 num +=  temp;
		}
   }

   document.form2.domain_name.value = str;
   document.form2.numkey.value = num;
}
//winc µî·Ï ¾È³» ¸Þ½ÃÁö..
function chk_alert() {
	var str;
	str = "WINC °Ë»ö ¾È³»ÀÔ´Ï´Ù.\n\n";
	str += "1. ¼ÒÀ¯ÇÏ°í °è½Å ¿µ¹®µµ¸ÞÀÎÀ» °Ë»öÃ¢¿¡ ÀÔ·ÂÇÏ¸é \n\n";
	str += "2. winc Ã¢¿¡ '¿µ¹®µµ¸ÞÀÎÀÏÄ¡¼ýÀÚ'°¡ ÀÚµ¿ º¯È¯µÇ¾î ³ªÅ¸³³´Ï´Ù.\n\n";
	str += "(¿¹: whois.co.kr À» ÀÔ·ÂÇÏ¸é whoisÀÌ 94647À¸·Î ÀÚµ¿ º¯È¯µÊ)\n\n";
	str += "3. ¿øÇÏ´Â °íÀ¯¹øÈ£(#1,#2..)¸¦ ÀÔ·ÂÇÑ ÈÄ °Ë»ö¹öÆ°À» ´©¸£¼¼¿ä.\n\n";
	str += "¡Ø winc¿¡ ´ëÇÑ »ó¼¼ ¼³¸íÀº winc µî·ÏÆäÀÌÁö¸¦ Âü°íÇÏ¼¼¿ä.";
	alert(str);
	document.form2.domain_name.focus();
	return false;
}


//¼ýÀÚ¿Í Back Space¸¸ Çã¿ë...
function CheckNum() {
	if (event.keyCode == 9 ) { // TAB Å° Çã¿ë (¹Ú½º ÀÌµ¿)
		event.returnValue = true;
		return;
	}
	if (event.keyCode == 8 ) { // BACK SPACE
		event.returnValue = true;
		return;
	}
	// ¿À¸¥ÂÊ ¼ýÀÚÆÇ
	if (event.keyCode >= 96 && event.keyCode <= 105) {
		event.returnValue = true;
		return;
	}
	if (event.keyCode < 45 || event.keyCode > 57) {
		event.returnValue = false;
		return;
	}
}
//////////////////// winc Ã³¸® end ///////////////////////////////////////


//ÇÑ±ÛÀÌ ÀÖ´ÂÁö¸¦ °Ë»çÇÑ´Ù.
function isEnglishString( aString, minLength, maxLength ) {
	var iteration = 0;
	var iteration2 = 0;
	var junkyCounter = 0;

	junkyAlphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-";
	iteration = aString.length;

	if( iteration > maxLength || iteration < minLength ) {
	return false;
	}

	while( iteration-- > 0 ) {
	iteration2 = junkyAlphabet.length;
	while( iteration2-- > 0 ) {
	if( aString.charAt( iteration ) == junkyAlphabet.charAt( iteration2 ) ) {
			 junkyCounter++;
	} else {
	 //alert( aString.charAt( iteration ) );
	}
	}
	}

	if( junkyCounter != aString.length ) {
	return false;
	}

	return true;
}

function searchSet(mode,sw) {
	window.open("http://multisearch.co.kr/MultiSearch.asp?se="+ mode + "&sw="+ sw);
}

// °Ë»öÃ¢¿¡ ¹è°æ ³Ö±â
var c=false;
function ch1 () {
if ( c ) return;
document.hangul.hostname.style.backgroundImage="";
c=true;
}

var d=false;
function ch2 () {
if ( d ) return;
document.quest.hostname.style.backgroundImage="";
d=true;
}

var e=false;
function ch3 () {
if ( e ) return;
document.ff.keyword.style.backgroundImage="";
e=true;
}

var f=false;
function ch4 () {
if ( f ) return;
document.winc_form.domain_name.style.backgroundImage="";
f=true;
}

var g=false;
function ch5 () {
if ( g ) return;
document.kwd.kw.style.backgroundImage="";
g=true;
}


var f=false;
function ch6 () {
if ( f ) return;
document.winc_form.numkey.style.backgroundImage="";
f=true;
}

var g=false;
function ch7 () {
if ( g ) return;
document.form1.domain_name.style.backgroundImage="";
g=true;
}


function checkChLoad(arg)
{
	if(arg.value != ""){
		arg.style.backgroundImage="";
	}
}
//ÇÑ±Û µµ¸ÞÀÎ °Ë»ö
function kor_domain(form){
	var str = form.hostname.value;

	if( str == null || str== "" ) {
		alert("µµ¸ÞÀÎ¸íÀ» ÀÔ·ÂÇØÁÖ½Ê½Ã¿À");
		return kor_false();
	}
    //-------------------------------------------------------------------
    // 2002/08/14 Alex Starts
    //-------------------------------------------------------------------
	// ±æÀÌ °Ë»ç : ÃÖ¼Ò 2ÀÚ - 63ÀÚ ±îÁö
	var strlength = str.length;
	var krstr = /[°¡-ÆR]/;
	if(!krstr.test(str)){
		alert("ÇÑ±ÛÀ» Àû¾îµµ ÇÑ ±ÛÀÚ ÀÌ»ó Æ÷ÇÔÇØ¾ß ÇÕ´Ï´Ù.");
		return kor_false();
	}
	var valid_dom = /^[°¡-ÆRa-zA-Z0-9\-]+$/;
	if(!valid_dom.test(str)){
		alert("µµ¸ÞÀÎ Çü½ÄÀÌ ¸ÂÁö ¾Ê½À´Ï´Ù.");
		return kor_false();
	}

	// ±æÀÌ°Ë»ç½Ã ÇÑ±Û¿µ¹®ÀÇ °æ¿ì ¿µ¹®À» 1±ÛÀÚ·Î °è»êÇÏ°ÔµÇ¸é ¾ÈµÊ.
	// ÇÑ±ÛÇÑ±ÛÀÚ¿¡ ´ëÇØ ¿µ¹®Àº 0.5ÀÚ·Î °è»êÇÏ¿© 17ÀÚ¸¦ °è»êÇÏµµ·ÏÇÔ.
	// 2004-04-13 daniel
	junkyAlphabet = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-";
	var strlength2 = 0; //ÇÑ±ÛÆ÷ÇÔÇÑ °æ¿ìÀÇ ±æÀÌ°è»êÀ» À§ÇÑ º°µµÀÇ º¯¼öÇÒ´ç.
	for ( var i = 0; i < strlength; i++ ) {
		if ( junkyAlphabet.indexOf( str.charAt(i) ) >= 0 ) {
			strlength2 = strlength2 + 0.5;
		} else {
			strlength2 = strlength2 + 1;
		}
	}

	if( strlength2 < 1 || strlength2 > 17 ) {
		alert("µµ¸ÞÀÎ¸íÀº ÃÖ¼Ò 2ÀÚ¿¡¼­ ÃÖ´ë 17±îÁö¸¸ µî·Ï°¡´ÉÇÕ´Ï´Ù. \n\n´Ù½Ã ÀÔ·ÂÇØÁÖ½Ê½Ã¿À");
		return kor_false();
	}
	// 2004-04-13 daniel end.

	// "-"  À¸·Î ½ÃÀÛÇÏ´Â °Í ±ÝÁö
	if( str.indexOf("-") == 0 ) {
		alert("ÇÏÀÌÇÂ(-)À¸·Î ½ÃÀÛÇÏ´Â µµ¸ÞÀÎ¸íÀº µî·ÏÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. \n\n´Ù½Ã ÀÔ·ÂÇØÁÖ½Ê½Ã¿À");
		return kor_false();
	}

	// "-"  À¸·Î ³¡³ª´Â °Í ±ÝÁö
	if( str.lastIndexOf("-") == (strlength-1) ) {
		alert("ÇÏÀÌÇÂ(-)À¸·Î ³¡³ª´Â µµ¸ÞÀÎ¸íÀº µî·ÏÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. \n\n´Ù½Ã ÀÔ·ÂÇØÁÖ½Ê½Ã¿À");
		return kor_false();
	}
	var formlength = form.elements.length;
	var check_num = 0;
	var is_kr = false;
	var action_page = "http://dom.whois.co.kr/regist/mlKrMain.php";

	for(var i=0; i< formlength; i++){
		ele = form.elements[i];
		if(ele.type == 'checkbox' && ele.name=="tld[]" && ele.checked){
			check_num++;
			if(ele.value == ".kr"){
				is_kr = true;
			}
		}
	}
	if(!check_num){
		alert("µµ¸ÞÀÎ Å¸ÀÔÀ» ¼±ÅÃÇØÁÖ½Ê½Ã¿À");
		return kor_false();
	}
	if(is_kr){
		action_page = "http://dom.whois.co.kr/res_han_kr/search_result.php";
		action_page = "http://dom.whois.co.kr/regist/mlKrMain.php";
		form.action = action_page;
		form.submit();
	}else{
		sendit2(form);
	}
	return true;
}

function kor_false(){
	document.hangul.hostname.focus();
	return false;
}

function check_han_kr(arg){
	var name = arg.name;
	var form = document.hangul;
	var length = form.elements.length;
	var arg_val = arg.value;

	for(var i=0; i< length; i++){
		ele = form.elements[i];
		if(ele.type == 'checkbox' && ele.name==name){
			if(arg_val == ".kr"){
				if(ele.value == ".com" || ele.value == ".net"){
					ele.checked = false;
				}
			}else if(arg_val == ".com"){
				if(ele.value == ".kr"){
					ele.checked = false;
				}else if(ele.value == ".net"){
					ele.checked = true;
				}
			}
		}
	}
}

//Å°¿öµå °Ë»ö±â °ü·Ã
function chkKeyword(ff) {
	var str;
	str = ff.keyword.value;
	var isvalid = /^[°¡-ÆRa-zA-Z0-9\-]+$/;
	if(!isvalid.test(str)){
		alert("!!!±ÔÄ¢\n1.ÇÑ±ÛÀº ¿Ï¼ºÇü ¹®ÀÚ¿©¾ß ÇÕ´Ï´Ù.\n2.- ¹®ÀÚ¸¦ Á¦¿ÜÇÑ Æ¯¼ö¹®ÀÚ´Â »ç¿ëºÒ°¡.");
		ff.keyword.focus();
		return false;
	}
	if( str.indexOf("-") == 0 ) {
		alert("ÇÏÀÌÇÂ(-)À¸·Î ½ÃÀÛÇÏ´Â Å°¿öµå´Â ½ÅÃ»ÇÏ½Ç¼ö ¾ø½À´Ï´Ù.");
		ff.keyword.focus();
		return false;
	}

	// "-"  À¸·Î ³¡³ª´Â °Í ±ÝÁö
	if( str.lastIndexOf("-") == (str.length-1) ) {
		alert("ÇÏÀÌÇÂ(-)À¸·Î ³¡³ª´Â Å°¿öµå´Â ½ÅÃ»ÇÏ½Ç¼ö ¾ø½À´Ï´Ù.");
		ff.keyword.focus();
		return false;
	}

	return true;
}
//Å°¿öµå °Ë»ö±â °ü·Ã - 20051227 ¸µÅ©º¯°æÀ¸·Î »õ·Î ¸¸µë.
function chkKeyword1(ff) {
	var str;
	str = ff.keyword.value;
	var isvalid = /^[°¡-ÆRa-zA-Z0-9\-]+$/;
	if(!isvalid.test(str)){
		alert("!!!±ÔÄ¢\n1.ÇÑ±ÛÀº ¿Ï¼ºÇü ¹®ÀÚ¿©¾ß ÇÕ´Ï´Ù.\n2.- ¹®ÀÚ¸¦ Á¦¿ÜÇÑ Æ¯¼ö¹®ÀÚ´Â »ç¿ëºÒ°¡.");
		ff.keyword.focus();
		return;
	}
	if( str.indexOf("-") == 0 ) {
		alert("ÇÏÀÌÇÂ(-)À¸·Î ½ÃÀÛÇÏ´Â Å°¿öµå´Â ½ÅÃ»ÇÏ½Ç¼ö ¾ø½À´Ï´Ù.");
		ff.keyword.focus();
		return;
	}

	// "-"  À¸·Î ³¡³ª´Â °Í ±ÝÁö
	if( str.lastIndexOf("-") == (str.length-1) ) {
		alert("ÇÏÀÌÇÂ(-)À¸·Î ³¡³ª´Â Å°¿öµå´Â ½ÅÃ»ÇÏ½Ç¼ö ¾ø½À´Ï´Ù.");
		ff.keyword.focus();
		return;
	}

	ff.submit();
}

function chkitem(ff) {
	/*
	if(!ff.key.value){
		alert("Ã¢¾÷/ ºñÁö´Ï½º ¾ÆÀÌÅÛ °Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
		ff.key.focus();
		return;
	}
	*/

	ff.submit();
}
function chkbrand(ff) {
	/*
	if(!ff.kw.value){
		alert("»óÇ¥/»óÈ£ °Ë»ö¾î¸¦ ÀÔ·ÂÇÏ¼¼¿ä.");
		ff.kw.focus();
		return;
	}
	*/

	ff.submit();
}

//
// ³×ÀÌ¹Ö ¸¶¹ý»ç °ü·Ã
// 2005/08/11 Alex
//

function isValidDomain(str)
{

	// ±æÀÌ °Ë»ç : ÃÖ¼Ò 1ÀÚ - 63ÀÚ ±îÁö
	str = str.trim();

	var strlength = str.length;
    //alert(strlength);
	if( strlength < 1 || strlength > 63 ) {
		alert("µµ¸ÞÀÎ¸íÀº ÃÖ¼Ò 1ÀÚ¿¡¼­ ÃÖ´ë 63±îÁö¸¸ µî·Ï°¡´ÉÇÕ´Ï´Ù. \n\n´Ù½Ã ÀÔ·ÂÇØÁÖ½Ê½Ã¿À");
		return false;
	}

	var isvalid = /^[°¡-ÆRa-zA-Z0-9\-]+$/;
	if(!isvalid.test(str)){
		alert("ÇÏÀÌÇÂ(-) ¹®ÀÚ¸¦ Á¦¿ÜÇÑ Æ¯¼ö¹®ÀÚ´Â »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.\n\n´Ù½Ã ÀÔ·ÂÇØÁÖ½Ê½Ã¿À");
		return false;
	}

	// "bq--"  À¸·Î ½ÃÀÛÇÏ´Â °Í ±ÝÁö
	if( str.indexOf("bq--") == 0 ) {
		alert("bq--À¸·Î ½ÃÀÛÇÏ´Â µµ¸ÞÀÎ¸íÀº ¿¹¾à¾îÀÌ¹Ç·Î µî·ÏÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. \n\n´Ù½Ã ÀÔ·ÂÇØÁÖ½Ê½Ã¿À");
		return false;
	}

	// "xn--"  À¸·Î ½ÃÀÛÇÏ´Â °Í ±ÝÁö
	if( str.indexOf("xn--") == 0 ) {
		alert("xn--À¸·Î ½ÃÀÛÇÏ´Â µµ¸ÞÀÎ¸íÀº ¿¹¾à¾îÀÌ¹Ç·Î µî·ÏÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. \n\n´Ù½Ã ÀÔ·ÂÇØÁÖ½Ê½Ã¿À");
		return false;
	}
	// "-"  À¸·Î ½ÃÀÛÇÏ´Â °Í ±ÝÁö
	if( str.indexOf("-") == 0 ) {
		alert("ÇÏÀÌÇÂ(-)À¸·Î ½ÃÀÛÇÏ´Â µµ¸ÞÀÎ¸íÀº µî·ÏÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. \n\n´Ù½Ã ÀÔ·ÂÇØÁÖ½Ê½Ã¿À");
		return false;
	}

	// "-"  À¸·Î ³¡³ª´Â °Í ±ÝÁö
	if( str.lastIndexOf("-") == (strlength-1) ) {
		alert("ÇÏÀÌÇÂ(-)À¸·Î ³¡³ª´Â µµ¸ÞÀÎ¸íÀº µî·ÏÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. \n\n´Ù½Ã ÀÔ·ÂÇØÁÖ½Ê½Ã¿À");
		return false;
	}

    return true;
}

function sendToNamingWizard(FormObject)
{
    var actionForm = document.NamingWizardForm;
    var key;
    if (FormObject.name == "hangul") {
        key = FormObject.hostname.value;
    } else if(FormObject.name == "quest") {
        key = FormObject.hostname.value;
    }
    window.status = key;

    if (!isValidDomain(key)) {
        FormObject.hostname.focus();
        return false;
    }

    //actionForm.action = "http://find.whois.co.kr/domain-search/RequestTransferKscToUtf8.jsp";
    //actionForm.action = "http://dom.whois.co.kr/namingwizard/RequestTransferKscToUtf8.php";
    actionForm.action = "http://dom.whois.co.kr/namingwizard/naming_wizard_result_ml.php";
    actionForm.key.value = key;
    actionForm._TransferPage.value = "http://dom.whois.co.kr/namingwizard/naming_wizard_result_ml.php";
	actionForm.target="_top";
    actionForm.submit();

    return true;
}



