function popOpen(a,b,x,y) { // a : ³Êºñ, b : ³ôÀÌ , x : x Ãà À§Ä¡, y : y Ãà À§Ä¡ popWIn=window.open('about:blank','','fullscreen'); popWIn.resizeTo(a,b); // âÀÇ Å©±â¸¦ ÁöÁ¤ÇÕ´Ï´Ù popWIn.moveTo(x,y); // âÀÇ À§Ä¡¸¦ ÁöÁ¤ÇÕ´Ï´Ù // ÆË¾÷â¿¡ º¸¿©ÁÙ html ű׸¦ ¼³Á¤ ÇÕ´Ï´Ù popWIn.document.write("
"); popWIn.document.write("¾È³çÇϼ¼¿ä
"); popWIn.document.write(""); popWIn.document.write(""); popWIn.document.write(""); popWIn.document.close(); } function OpenZip() { newWin = window.open("find_zipcode.html", "NewWin", "scrollbars=yes,toolbar=no,location=no,directories=no,width=466,height=300,resizable=no,mebar=no,left=250,top=65"); newWin.focus(); } function checkID_form() { newWin = window.open("id_check.html", "NewWin", "scrollbars=no,toolbar=no,location=no,directories=no,width=300,height=250,resizable=no,mebar=no,left=250,top=65"); newWin.focus(); } var news_val; function tbControl(n) { news_val = n; for(var i = 1; i < 6; i++) { obj = document.getElementById('tbControl'+i); img = document.getElementById('tbControl_button'+i); if ( n == i ) { obj.style.display = "block"; img.src = "img/bt_notice0"+i+"_o.gif"; } else { obj.style.display = "none"; img.src = "img/bt_notice0"+i+".gif"; } } } function more() { var t_url; if (news_val == 1) t_url = '/inc/gate.asp?menucd=K011100'; else if (news_val == 2) t_url = '/inc/gate.asp?menucd=K011200'; else t_url = '/inc/gate.asp?menucd=K090500'; window.location.href=t_url; } function na_call(str) { eval(str); } var div2print; function printDiv (id) { if (document.all && window.print) { div2print = document.all[id]; window.onbeforeprint = hideDivs; window.onafterprint = showDivs; window.print(); } else if (document.layers) { div2print = document[id]; hideDivs(); window.print(); } } function hideDivs () { if (document.all) { var divs = document.all.tags('DIV'); for (var d = 0; d < divs.length; d++) if (divs[d] != div2print) divs[d].style.display = 'none'; } else if (document.layers) { for (var l = 0; l < document.layers.length; l++) if (document.layers[l] != div2print) document.layers[l].visibility = 'hide'; } } function showDivs () { var divs = document.all.tags('DIV'); for (var d = 0; d < divs.length; d++) divs[d].style.display = 'block'; } var win= null; function NewWindow(mypage,myname,w,h,scroll){ var winl = (screen.width-w)/2; var wint = (screen.height-h)/2; var settings ='height='+h+','; settings +='width='+w+','; settings +='top='+wint+','; settings +='left='+winl+','; settings +='scrollbars='+scroll+','; settings +='resizable=no'; win=window.open(mypage,myname,settings); if(parseInt(navigator.appVersion) >= 4){win.window.focus();} } function lee(sel, targetstr) { var index = sel.selectedIndex; if (sel.options[index].value != '') { if (targetstr == 'blank') { window.open(sel.options[index].value, 'win1'); } else { var frameobj; if (targetstr == '') targetstr = 'right'; if ((frameobj = eval(targetstr)) != null) frameobj.location = sel.options[index].value; } } } function MM_NewwinMenu(targ,selObj,restore){ //v3.0 open(selObj.options[selObj.selectedIndex].value); // eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } function CenterWin(url,winname,features) { features = features.toLowerCase(); len = features.length; sumchar= ""; for (i=1; i <= len; i++) // ºóÄ Á¦°Å { onechar = features.substr(i-1, 1); if (onechar != " ") sumchar += onechar; } features = sumchar; sp = new Array(); sp = features.split(',', 10); // ¹è¿¿¡ ¿É¼ÇÀ» ºÐ¸®Çؼ ÀÔ·Â splen = sp.length; // ¹è¿ °¹¼ö for (i=0; i < splen; i++) // width, height °ªÀ» ±¸Çϱâ À§ÇÑ ºÎºÐ { if (sp[i].indexOf("width=") == 0) // width °ªÀ϶§ { width = Number(sp[i].substring(6)); } else if (sp[i].indexOf("height=") == 0) // height °ªÀ϶§ { height = Number(sp[i].substring(7)); } } sleft = (screen.width - width) / 2; stop = (screen.height - height) / 2; features = features + ",left=" + sleft + ",top=" + stop; popwin = window.open(url,winname,features); }