var title_txt="i-tour ÀÎõ°ü±¤"; function swfprint(furl,fwidth,fheight,transoption) { document.write(''); document.write(''); if (transoption == "t") { document.write(''); } else if (transoption == "o") { document.write(''); } document.write(''); document.write(''); document.write(''); document.write(' '); document.write(''); } function openflash(width,height,src){ return ""; } function writeflash(src){ document.write(src); } function transparent_flash(width,height,src){ document.write(""); } function setPng24(obj) { obj.width=obj.height=1; obj.className=obj.className.replace(/\bpng24\b/i,''); obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');" obj.src=''; return ''; } // flash(ÆÄÀÏÁÖ¼Ò, °¡·Î, ¼¼·Î, ¹è°æ»ö, À©µµ¿ì¸ðµå, º¯¼ö, °æ·Î) function flash(url,w,h,bg,win,vars,base){ var s= ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""; document.write(s); } function login(url, n, w, h, s) { var winl = (screen.width - w) / 2; var wint = (screen.height - h) / 2; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+s+',resizable'; win = window.open(url, n, winprops); if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } } function login_chk(url, n, w, h, s) { yes_no = confirm("ȸ¿ø ·Î±×ÀÎÀ» ÇϽðڽÀ´Ï±î?") if(yes_no == true) { // È®ÀÎ ¼±ÅÃÇØ ÇßÀ»¶§ var winl = (screen.width - w) / 2; var wint = (screen.height - h) / 2; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+s+',resizable'; win = window.open(url, n, winprops); if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } } } function flash_map(url, n, w, h, s) { var winl = (screen.width - w) / 2; var wint = (screen.height - h) / 2; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+s+',resizable'; win = window.open(url, n, winprops); if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } } function ucc_popup(url, n, w, h, s) { var winl = (screen.width - w) / 2; var wint = (screen.height - h) / 2; var top = 50; //winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+s+',resizable'; winprops = 'height='+h+',width='+w+',top='+top+',left='+winl+',scrollbars='+s+',resizable'; win = window.open(url, n, winprops); if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } } // À̹ÌÁö Å©°Ôº¸±â String.prototype.popupView = function () { var img_view = this; var x = x + 20 ; var y = y + 30 ; htmlz = "À̹ÌÁöÅ©°Ôº¸±â" imagez = window.open('', "image", "width="+ 100 +", height="+ 100 +", top=0,left=0,scrollbars=auto,resizable=1,toolbar=0,menubar=0,location=0,directories=0,status=1"); imagez.document.open(); imagez.document.write(htmlz); imagez.document.close(); } function imgView(img_view) { var x = x + 15 ; var y = y + 20 ; htmlz = "À̹ÌÁöÅ©°Ôº¸±â" imagez = window.open('', "image", "width="+ 100 +", height="+ 100 +", top=0,left=0,scrollbars=auto,resizable=1,toolbar=0,menubar=0,location=0,directories=0,status=1"); imagez.document.open(); imagez.document.write(htmlz); imagez.document.close(); } // ÆË¾÷°ü·Ã function winscroll(page,nam,wid,hit){ var windo=eval('window.open("'+page+'","'+nam+'","status=no,toolbar=no,resizable=no,scrollbars=yes,menubar=no,width='+wid+',height='+hit+',top=100,left=100")'); windo.focus(); } // ÀμâÈ­¸é ÆË¾÷°ü·Ã function print_popup(page,nam,wid,hit){ var print_windo=eval('window.open("'+page+'","'+nam+'","status=no,toolbar=no,resizable=yes,scrollbars=yes,menubar=no,width='+wid+',height='+hit+',top=100,left=100")'); print_windo.focus(); //window.print(); } // Ç÷¡½¬°ü·Ã // show_flash("http://www.ictr.or.kr/swf/roadmapeye.swf", "map", "948", "650", "transparent") function show_flash(s,d,w,h,t,main,sub){ //(Ç÷¡½¬°æ·Î, Ç÷¡½¬¾ÆÀ̵ð,Æø,³ôÀÌ,wmode°ª,¸Þ´ºÄڵ尪2) str = ""; str += ""; str += ""; str += ""; str += ""; str += ""; str += ""; str += ""; document.write(str); } function go_url(link_value){ window.open(link_value); } //¸ÞÀθ޴º function menulink(num){ switch (num) { case 1 : link_value = "http://gis.incheon.go.kr:8200/index.jsp"; t_val = "t"; break; // ÀÎõ»ýȰÁö¸®Á¤º¸ case 2 : link_value = "http://incheon.visitkorea.or.kr/Scripts/Map/SearchMap.aspx"; t_val = "t"; break; // ÀÎõÀüÀÚÁöµµ case 3 : link_value = "http://www.kma.go.kr/"; t_val = "t"; break; // ±â»óû case 4 : link_value = "http://www.ictr.or.kr/"; t_val = "t"; break; // ÀÎõ±³Åë°ø»ç case 5 : link_value = "http://www.badatime.com/158.html"; t_val = "t"; break; // ÀÎõ¹°¶§Á¤º¸ case 6 : link_value = "http://www.kma.go.kr/fct/fct_01.jsp?code=11B20201"; t_val = "t"; break; // ±â»óû-ÀÎõÁö¿ª³¯¾¾¿¹º¸ case 7 : link_value = "/utourpia/culture/02_01/index.jsp"; t_val = "s"; break; // ÀÎõ¹®È­Å½¹æ case 8 : link_value = "/utourpia/cybertour/05_01/index.jsp"; t_val = "s"; break; // ¸¸È­·Î º¸´Â ÀÎõÀ̾߱â case 9 : link_value = "/utourpia/plan/island.jsp"; t_val = "s"; break; // ÀÌ´ÞÀÇ Ãßõ°ü±¤ case 10 : link_value = "/"; t_val = "t"; break; case 11 : link_value = "http://www.visitincheon.org/index.html"; t_val = "t"; break; // ÀÎõ¹æ¹®ÀÇÇØ case 12 : link_value = "http://itour.visitincheon.org/guidance/transport/index.jsp"; t_val = "s"; break; // ±³ÅëÁ¤º¸ default : link_value = "/"; } if(t_val == "s"){ location.href = link_value; } else if(t_val == "p"){ window.open(link_value,'road','top=0,left=0,width=980,height=695'); } else if(t_val == "t"){ window.open(link_value); } } // ÀÎõ°ü±¤´º½º·¹ÅÍ ¼¿·ºÆ® À̵¿ function newsleter(){ if(!document.news_form.news_chk.selectedIndex==""){ var chk_num = document.news_form.news_chk.options[document.news_form.news_chk.selectedIndex].value; var go_newsleter = "index.jsp?news_chk="+chk_num; document.location.replace(go_newsleter); } } // °ü±¤Á¤º¸ tour_list function movie_up(){ alert( "¼­ºñ½º ÁغñÁß ÀÔ´Ï´Ù." ); } function select_up(str_url){ yes_mod = confirm("Á¤¸» Ãßõµî·Ï ÇϽðڽÀ´Ï±î?") if(yes_mod == true) { // È®ÀÎ ¼±ÅÃÇØ ÇßÀ»¶§ document.location.replace(str_url); } } function deselect_up(str_url){ yes_mod = confirm("Á¤¸» ÃßõÁ¦¿Ü ÇϽðڽÀ´Ï±î?") if(yes_mod == true) { // È®ÀÎ ¼±ÅÃÇØ ÇßÀ»¶§ document.location.replace(str_url); } } // ÁغñÁß °æ°íâ function ready(){ alert( "ÇöÀç ¼­ºñ½º ÁغñÁß ÀÔ´Ï´Ù." ); } // ´º½º·¹ÅÍ ¼±Åø޴º function newsleter(){ news_str=document.news_form.news_chk.value; news_str_url="/guidance/news/index.jsp?news_chk="+news_str; document.location.replace(news_str_url); } // ¿øÇÏ´Â ºÎºÐ¸¸ ÀμâÇϱâ function beforePrint() { initBody = document.body.innerHTML; document.body.innerHTML = idPrint.innerHTML; } function afterPrint() { document.body.innerHTML = initBody; } function printArea() { window.print(); } window.onbeforeprint = beforePrint; window.onafterprint = afterPrint; // À̺¥Æ® Âü¿©Çϱ⠰æ°íâ function event_post(){ alert( "¿ìÆí¹øÈ£ ã±â¸¦ ÀÌ¿ëÇØ ÁÖ¼¼¿ä" ); } // ÇØ´ç ÆûÀÇ CSS¸¦ 'onInput'·Î º¯°æ function overInput(f) { f.className = "onInput"; } var nms=false; function clickInput() { if ( nms ) return; document.map_send.sname.value=""; nms=true; } function overselect(f) { f.select(); f.className = "onselect"; } // ÇØ´ç ÆûÀÇ CSS¸¦ 'offInput'·Î º¯°æ function outInput(f) { f.className = "offInput"; } // ÁֹιøÈ£Ã¼Å© function Jumin_chk(it) { IDtot = 0; IDAdd="234567892345"; for(i=0;i<12;i++) { IDtot=IDtot+parseInt(it.substring(i,i+1))*parseInt(IDAdd.substring(i,i+1)); } IDtot=11-(IDtot%11); if(IDtot==10) { IDtot=0; } else if(IDtot==11) { IDtot=1; } if(parseInt(it.substring(12,13))!=IDtot) return true; } // ÇѱÛÀÔ·Âüũ function isEng(str) { for(var i=0;i 128 ){ return false; } } return true; } // À̸ÞÀÏ ÁÖ¼Ò Ã¼Å© function email_chk(em_url){ if (em_url.value.search(/(\S+)@(\S+)\.(\S+)/) == -1) { return true; } } // ÁֹιøÈ£ ÀÔ·ÂÆû À̵¿ function checklength(nextfield,chars,currfield) { x= document.event_info[currfield].value.length if (x == chars) { eval('document.event_info.' + nextfield + '.focus();'); } } // ¼±Åø޴º¿¡ °ªÀ» ÇØ´çÇʵ忡 ³õ¾îÁØ´Ù function fillinput(val) { document.event_info.email2.value = val; } function online_email(val) { document.online_info.email2.value = val; } function rent_email(val) { document.rentForm.email2.value = val; } // Áֹεî·Ï¹øÈ£ Áߺ¹Ã¼Å© function check_ssn_Window(ref,event_table) { var ssn1 = eval(document.event_info.ssn1); var ssn2 = eval(document.event_info.ssn2); if(ssn1.value=="" & ssn2.value=="") { alert('Áֹεî·Ï¹øÈ£¸¦ ÀÔ·ÂÇϽŠÈÄ¿¡ È®ÀÎÇϼ¼¿ä!'); ssn1.focus(); return; } else { ref = ref + "?ssn1=" + ssn1.value + "&ssn2=" + ssn2.value + "&event_table=" + event_table; var window_left = (screen.width-200)/2; var window_top = (screen.height-110)/2; window.open(ref,"checkssnWin",'width=150,height=50,status=no,top=' + window_top + ',left=' + window_left + ''); } } // À̺¥Æ® Âü¿©Çϱâ ÀÔ·ÂÆû üũ function event_form_chk(){ ssn=document.event_info.ssn1.value+document.event_info.ssn2.value; em_chk=document.event_info.email1.value+"@"+document.event_info.email2.value; tel_chk=document.event_info.tel1.value+document.event_info.tel2.value+document.event_info.tel3.value; hp_chk=document.event_info.hp1.value+document.event_info.hp2.value+document.event_info.hp3.value; post_chk=document.event_info.zip1.value+document.event_info.zip2.value; addr_chk=document.event_info.add1.value+document.event_info.add2.value; if (document.event_info.uname.value.length==0) { alert( "¼º¸íÀ» ÀÔ·ÂÇϼ¼¿ä " ); document.event_info.uname.focus(); return false; } if(isEng(document.event_info.uname.value)){ alert('½Ç¸íÀº Çѱ۷θ¸ ÀÔ·ÂÇϼ¼¿ä'); document.event_info.uname.select(); return false; } if(document.event_info.pwd.value.length<4) { alert( "ºñ¹Ð¹øÈ£¸¦ 4ÀÚ¸® ÀÌ»ó ÀÔ·ÂÇØ ÁÖ¼¼¿ä." ); document.event_info.pwd.focus(); return false; } if(Jumin_chk(ssn)) { alert("Á¤È®ÇÑ Áֹεî·Ï¹øÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä"); document.event_info.ssn2.value=""; document.event_info.ssn1.select(); return false; } if (post_chk.length<5 && addr_chk.length<5) { alert ("¿ìÆí¹øÈ£ °Ë»öÀ» ÅëÇØ¼­ ÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä."); document.event_info.add2.focus(); return false; } if (tel_chk.length<9 && hp_chk.length<9) { alert ("Áý ¶Ç´Â ÈÞ´ëÆù ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä."); document.event_info.tel2.focus(); return false; } if (document.event_info.email1.value.length==0) { alert( "À̸ÞÀÏ ÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä " ); document.event_info.email1.focus(); return false; } if (!isEng(em_chk) || em_chk.length<9) { alert ("ID@À̸ÞÀϼ­¹ö ÁÖ¼Ò¸¦ Á¤È®ÇÏ°Ô ÀÔ·ÂÇϼ¼¿ä \n\n ¿¹) webmaster@visitincheon.org"); document.event_info.email1.select(); document.event_info.email2.value=""; return false; } if (document.event_info.ssn_chk.value != "Y") { alert( "Áߺ¹Ã¼Å©¸¦ ÇØÁÖ½Ã±æ ¹Ù¶ø´Ï´Ù " ); document.event_info.ssn2.focus(); return false; } //document.event_info.submit(); } // À̺¥Æ® Âü¿©Çϱ⠺°³­Áý/üÇè°Å¸® ÀÔ·ÂÆû üũ function event_form_chks(){ ssn=document.event_info.ssn1.value+document.event_info.ssn2.value; em_chk=document.event_info.email1.value+"@"+document.event_info.email2.value; tel_chk=document.event_info.tel1.value+document.event_info.tel2.value+document.event_info.tel3.value; hp_chk=document.event_info.hp1.value+document.event_info.hp2.value+document.event_info.hp3.value; post_chk=document.event_info.zip1.value+document.event_info.zip2.value; addr_chk=document.event_info.add1.value+document.event_info.add2.value; if (document.event_info.uname.value.length==0) { alert( "¼º¸íÀ» ÀÔ·ÂÇϼ¼¿ä " ); document.event_info.uname.focus(); return false; } if(isEng(document.event_info.uname.value)){ alert('½Ç¸íÀº Çѱ۷θ¸ ÀÔ·ÂÇϼ¼¿ä'); document.event_info.uname.select(); return false; } if(document.event_info.pwd.value.length<4) { alert( "ºñ¹Ð¹øÈ£¸¦ 4ÀÚ¸® ÀÌ»ó ÀÔ·ÂÇØ ÁÖ¼¼¿ä." ); document.event_info.pwd.focus(); return false; } if(Jumin_chk(ssn)) { alert("Á¤È®ÇÑ Áֹεî·Ï¹øÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä"); document.event_info.ssn2.value=""; document.event_info.ssn1.select(); return false; } if (post_chk.length<5 && addr_chk.length<5) { alert ("¿ìÆí¹øÈ£ °Ë»öÀ» ÅëÇØ¼­ ÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä."); document.event_info.add2.focus(); return false; } if (tel_chk.length<9 && hp_chk.length<9) { alert ("Áý ¶Ç´Â ÈÞ´ëÆù ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä."); document.event_info.tel2.focus(); return false; } if (document.event_info.email1.value.length==0) { alert( "À̸ÞÀÏ ÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä " ); document.event_info.email1.focus(); return false; } if (!isEng(em_chk) || em_chk.length<9) { alert ("ID@À̸ÞÀϼ­¹ö ÁÖ¼Ò¸¦ Á¤È®ÇÏ°Ô ÀÔ·ÂÇϼ¼¿ä \n\n ¿¹) webmaster@visitincheon.org"); document.event_info.email1.select(); document.event_info.email2.value=""; return false; } if (document.event_info.email_chk.value=="") { alert( "¸ÞÀϸµ¸®½ºÆ® ¼ö½Å¿©ºÎ¸¦ ¼±ÅÃÇØ ÁÖ¼¼¿ä " ); return false; } if (document.event_info.subject.value.length==0) { alert( "Á¦¸ñÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä " ); document.event_info.subject.focus(); return false; } var code_sum=""; for (var i = 0; i < document.event_info['recommand'].length; i++) { // Àüü ¹è¿­ÀÇ °¹¼ö¸¦ ±¸ÇÑ´Ù. if (document.event_info['recommand'][i].checked) { // ¼±ÅÃµÈ ¹è¿­ÀÇ °¹¼ö¸¦ ±¸ÇÑ´Ù. code_sum+= document.event_info['recommand'][i].value+"/"; // ¼±ÅÃµÈ ¹è¿­ÀÇ °ªÀ» '/'±¸ºÐÀ¸·Î ÇÕÄ£´Ù. } } document.event_info.re_code.value = code_sum; // ¿¡µðÅÍ ³»¿ë°¡Á®¿À±â - ÆûÀ̸§.È÷µçÇʵåÀ̸§.value document.event_info.memo.value = alice.getContent(); //document.event_info.submit(); } // »çÀ̹öÈ«º¸´ë»ç ÀÔ·ÂÆû üũ function cyber_login_chk(){ ssn=document.event_info.ssn1.value+document.event_info.ssn2.value; if (document.event_info.uname.value.length==0) { alert( "¼º¸íÀ» ÀÔ·ÂÇϼ¼¿ä " ); document.event_info.uname.focus(); return false; } if(isEng(document.event_info.uname.value)){ alert('½Ç¸íÀº Çѱ۷θ¸ ÀÔ·ÂÇϼ¼¿ä'); document.event_info.uname.select(); return false; } if(Jumin_chk(ssn)) { alert("Á¤È®ÇÑ Áֹεî·Ï¹øÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä"); document.event_info.ssn2.value=""; document.event_info.ssn1.select(); return false; } } // ¿Â¶óÀÎ ¿¹¾àÇϱâ ÀÔ·ÂÆû üũ function online_form_chk(){ em_chk=document.online_info.email1.value+"@"+document.online_info.email2.value; tel_chk=document.online_info.tel1.value+document.online_info.tel2.value+document.online_info.tel3.value; hp_chk=document.online_info.hp1.value+document.online_info.hp2.value+document.online_info.hp3.value; post_chk=document.online_info.zip1.value+document.online_info.zip2.value; addr_chk=document.online_info.add1.value+document.online_info.add2.value; /* if(document.online_info.pwd.value.length<4) { alert( "ºñ¹Ð¹øÈ£¸¦ 4ÀÚ¸® ÀÌ»ó ÀÔ·ÂÇØ ÁÖ¼¼¿ä." ); document.online_info.pwd.focus(); return false; }*/ if (post_chk.length<5 && addr_chk.length<5) { alert ("¿ìÆí¹øÈ£ °Ë»öÀ» ÅëÇØ¼­ ÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä."); document.online_info.add2.focus(); return false; } if (hp_chk.length<9) { alert ("ÈÞ´ëÆù ÀüÈ­¹øÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä."); document.online_info.hp2.focus(); return false; } if (document.online_info.email1.value.length==0) { alert( "À̸ÞÀÏ ÁÖ¼Ò¸¦ ÀÔ·ÂÇϼ¼¿ä " ); document.online_info.email1.focus(); return false; } if (!isEng(em_chk) || em_chk.length<9) { alert ("ID@À̸ÞÀϼ­¹ö ÁÖ¼Ò¸¦ Á¤È®ÇÏ°Ô ÀÔ·ÂÇϼ¼¿ä \n\n ¿¹) webmaster@visitincheon.org"); document.online_info.email1.select(); document.online_info.email2.value=""; return false; }if (document.online_info.course.value.length==0) { alert( "°ü±¤ÄÚ½º¸¦ ¼±ÅÃÇϽñ⠹ٶø´Ï´Ù " ); document.online_info.course.focus(); return false; } if (document.online_info.date_chk.value.length==0) { alert( "¿¹¾à³¯Â¥¸¦ ¼±ÅÃÇϽñ⠹ٶø´Ï´Ù." ); document.online_info.date_chk.focus(); return false; } if (document.online_info.class_id.value=="moonlight") { if (document.online_info.participator.value.length==0) { alert( "Âü°¡ÀοøÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä" ); document.online_info.participator.focus(); return false; } }else if(document.online_info.class_id.value=="citytour") { if (document.online_info.amount_no1.value.length==0) { alert( "Âü°¡ÀοøÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä" ); document.online_info.amount_no1.focus(); return false; } if (document.online_info.amount_no2.value.length==0) { alert( "Âü°¡ÀοøÀ» ÀÔ·ÂÇØ ÁÖ¼¼¿ä" ); document.online_info.amount_no2.focus(); return false; } } //if(document.getElementById("agreecheck").checked==true){ if(document.online_info.agreecheck.checked==false){ alert("Ãë¼Ò½Ã ȯºÒ¼ö¼ö·á¿¡ µ¿ÀÇÇØ¾ßÇÕ´Ï´Ù."); return false; } //ȯºÒÁ¤º¸Ã¼Å© if (document.online_info.userbank.value.length==0) { alert( "ÀºÇà¸íÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä" ); document.online_info.userbank.focus(); return false; } if (document.online_info.username.value.length==0) { alert( "¿¹±ÝÁÖ¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä" ); document.online_info.username.focus(); return false; } if (document.online_info.useraccount.value.length==0) { alert( "°èÁ¹øÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä" ); document.online_info.useraccount.focus(); return false; } //document.online_info.submit(); } // ·Ñ¿À¹ö ½ºÅ©¸³Æ® function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_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"; wbody += ""; wbody += ""; wbody += "â´Ý±â"; wbody += ""; winResult = window.open("about:blank","",wopt); winResult.document.open("text/html", "replace"); winResult.document.write(wbody); winResult.document.close(); return; } // ´Ù±¹¾î »çÀÌÆ® À̹ÌÁö Å©°Ô º¸±â function eng_show_img(src) { var imgObj = new Image(); imgObj.src = src; var wopt = "scrollbars=no, status=no, resizable=no"; wopt += ",width=" + imgObj.width; wopt += ",height=" + imgObj.height; var wbody = "Image Viewer"; wbody += "