function SBC_swapImgRestore() { //v3.0 var i,x,a=document.SBC_sr; for(i=0 ; a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p); } if(!(x=d[n])&&d.all) x=d.all[n]; for(i=0;!x&&i // SBC_preloadImages('http://www.netpia.com/image/button/bt_search.gif', // 'http://www.netpia.com/image/button/bt_search_1.gif', // 'http://www.netpia.com/image/button/bt_search_2.gif'); function change_image(value) { //SBC_swapImgRestore(); if(value == 1) { SBC_swapImage('submit_img','','http://www.netpia.com/image/button/bt_search.gif',1); document.frm_search.action = 'http://www.netpia.com/htm/reg/index.asp'; } else if(value == 2) { SBC_swapImage('submit_img','','http://www.netpia.com/image/button/bt_search_1.gif',1); document.frm_search.action = 'http://find.netpia.com/lookup/netpia/lookup/lookup.phtml'; //document.frm_search.action = 'http://find.netpia.com/lookup/netpia/lookup/lookup.jsp'; } else if(value == 3) { SBC_swapImage('submit_img','','http://www.netpia.com/image/button/bt_search.gif',1); document.frm_search.action = 'http://www.netpia.com/htm/service/se_baro_4.asp'; } else if(value == 4) { SBC_swapImage('submit_img','','http://www.netpia.com/image/button/bt_search_2.gif',1); document.frm_search.action = 'http://www.netpia.com/htm/service/se_map_3.asp'; } else{ SBC_swapImgRestore(); document.frm_search.action = 'http://www.netpia.com/htm/reg/whois_main.asp'; } } function check_value(frm) { var search_type; var key = document.frm_search.nlia.value; var lenok = key.length; //var search_type = frm.select_type.options[frm.select_type.selectedIndex].value; var search_type = frm.select_type.value; /* if(key==""){ if(search_type == 1) { errormsg = "°Ë»ö ÈÄ µî·ÏÇÏ½Ç ÇѱÛÀÎÅͳÝÁÖ¼Ò¸¦ ÀÔ·ÂÇØ Áֽʽÿä." } else if(search_type == 2) { errormsg = "ã°íÀÚ ÇÏ´Â ÇѱÛÀÎÅͳÝÁÖ¼Ò¸¦ ÀÔ·ÂÇØ Áֽʽÿä." } else if(search_type == 3) { errormsg = "ÁöÁ¤µÈ °Ë»ö¾î°¡ ¾ø½À´Ï´Ù. °Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁֽʽÿÀ." } else if(search_type == 4) { errormsg = "ÁöÁ¤µÈ °Ë»ö¾î°¡ ¾ø½À´Ï´Ù. °Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁֽʽÿÀ." } else{ errormsg = "µî·ÏÁ¤º¸¸¦ Á¶È¸ÇÒ ÇѱÛÀÎÅͳÝÁÖ¼Ò¸¦ ÀÔ·ÂÇØ Áֽʽÿä." } alert(errormsg); document.frm_search.nlia.focus(); return false; } else if(lenok < 2) { alert('°Ë»ö¾î´Â µÎ±ÛÀÚ ÀÌ»óºÎÅÍ °¡´ÉÇÕ´Ï´Ù.'); document.frm_search.nlia.value = ""; document.frm_search.nlia.focus(); return false; } else{ */ //alert(search_type); if(search_type == 1) //ÇѱÛÀÎÅͳÝÁÖ¼Ò { document.frm_search.target = "_self"; document.frm_search.action = 'http://www.netpia.com/common/www_log.asp?code=A-2-3&url=http://domain.netpia.com/reg/search.asp'; document.frm_search.keyword.value = document.frm_search.nlia.value; } else if(search_type == 2) //³»¸¶À½°Ë»ö { document.frm_search.target = "_self"; document.frm_search.action = 'http://www.netpia.com/common/www_log.asp?code=A-2-3&url=http://find.netpia.com/lookup/lookup_overture.phtml?q='+document.frm_search.nlia.value; } else if(search_type == 3) //¹Ù·Î¿¬°á°Ë»ö±¤°í { //document.frm_search.action = 'http://www.netpia.com/htm/service/se_baro_4.asp'; return false } else if(search_type == 4) //¾àµµ¼­ºñ½º { //document.frm_search.action = 'http://www.netpia.com/htm/service/se_map_3.asp'; return false } else if(search_type == 6) { document.frm_search.target = "_blank"; document.frm_search.action = 'http://www.hangulmail.com/hma/hma_regist.php?Str1='+document.frm_search.nlia.value + '&Str2=³ÝÇǾÆ'; } else{ //µî·ÏÁ¤º¸ Á¶È¸ document.frm_search.target = "_self"; document.frm_search.action = 'http://www.netpia.com/common/www_log.asp?code=A-2-3&url=http://domain.netpia.com/reg/whois.asp' document.frm_search.keyword.value = document.frm_search.nlia.value; } return true; /* } return false; */ } function remove_img(){ document.frm_search.nlia.style.backgroundImage=""; }