// png À̹ÌÁö function setPng24(obj) { obj.width=obj.height=1; obj.style.width = obj.width + "px"; obj.style.height = obj.height + "px"; obj.className=obj.className.replace(/\bpng24\b/i,''); obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');" obj.src=''; return ''; } // ±âº» Ç÷¡½Ã function flashObj(URL,SizeX,SizeY,LnkId,Frm,Flag) // quick { document.write(' '); document.write(' '); document.write(' '); if ( Flag == null || Flag != 'N' ) { document.write(' '); } document.write(' '); document.write(' '); document.write(' '); document.write(' '); if ( Frm == 'Y' ) { // form ÅÂ±× µé¾î°¡´Â ÆäÀÌÁö¿¡ Àû¿ë eval("window." + LnkId + " = document.forms[0]."+ LnkId +"; "); } } //quick_top function initMoving(target, position, topLimit, btmLimit) { if (!target) return false; var obj = target; obj.initTop = position; obj.topLimit = topLimit; obj.bottomLimit = document.documentElement.scrollHeight - btmLimit; obj.style.position = "absolute"; obj.style.zIndex= "10"; obj.top = obj.initTop; obj.left = obj.initLeft; if (typeof(window.pageYOffset) == "number") { obj.getTop = function() { return window.pageYOffset; } } else if (typeof(document.documentElement.scrollTop) == "number") { obj.getTop = function() { return document.documentElement.scrollTop; } } else { obj.getTop = function() { return 0; } } if (self.innerHeight) { obj.getHeight = function() { return self.innerHeight; } } else if(document.documentElement.clientHeight) { obj.getHeight = function() { return document.documentElement.clientHeight; } } else { obj.getHeight = function() { return 1000; } } obj.move = setInterval(function() { if (obj.initTop > 0) { pos = obj.getTop() + obj.initTop; } else { pos = obj.getTop() + obj.getHeight() + obj.initTop; //pos = obj.getTop() + obj.getHeight() / 2 - 15; } if (pos > obj.bottomLimit) pos = obj.bottomLimit; if (pos < obj.topLimit) pos = obj.topLimit; interval = obj.top - pos; obj.top = obj.top - interval / 3; obj.style.top = obj.top + "px"; }, 30) } //ÆË¾÷¶ç¿ì±â ½ºÅ©·Ñ ¾ø´Â °Å function popsn(url,trgt,w,h) { window.open(url,trgt,'width='+w+',height='+h+',scrollbars=no,resizable=no,copyhistory=no,toolbar=no,status=no'); } //ÆË¾÷¶ç¿ì±â ½ºÅ©·Ñ ÀÖ´Â °Å function popsy(url,trgt,w,h) { window.open(url,trgt,'width='+w+',height='+h+',scrollbars=yes,resizable=no,copyhistory=no,toolbar=no,status=no,left=0,top=0'); } //À̺¥Æ® ¹è³Ê, ½½·ÎÇÁ¸Ê~! function slopeMapPop() { window.open('/krs/ski/pop_slopemap_01.asp','slopemap','width=817,height=810,scrollbars=yes,resizable=no,copyhistory=no,toolbar=no,status=no'); } //ENGLISH function englishPop() { window.open('http://www.konjiamresort.co.kr/krs/en/','_blank'); } //blog function blogPop() { window.open('http://blog.naver.com/konjiamblog','blog'); } //ÅÇ function imgOver(imgName) { if (imgName.getElementsByTagName("img")[0] == null) { imgName.src = imgName.src.replace(".gif", "_on.gif"); imgName.src = imgName.src.replace(".jpg", "_on.jpg"); }else{ imgName = imgName.getElementsByTagName("img")[0]; imgName.src = imgName.src.replace(".gif", "_on.gif"); imgName.src = imgName.src.replace(".jpg", "_on.jpg"); } } function imgOut(imgName) { if (imgName.getElementsByTagName("img")[0] == null) { imgName.src = imgName.src.replace("_on.gif", ".gif"); imgName.src = imgName.src.replace("_on.jpg", ".jpg"); }else{ imgName = imgName.getElementsByTagName("img")[0]; imgName.src = imgName.src.replace("_on.gif", ".gif"); imgName.src = imgName.src.replace("_on.jpg", ".jpg"); } } function tabOver(tabName){ tabName = tabName.className = "on"; } function tabOut(tabName){ tabName = tabName.className = ""; } function layer_events() { if (document.layers) { document.layers['gnb_area'].captureEvents(Event.MOUSEOVER|Event.MOUSEOUT|Event.MOUSEUP); document.layers['gnb_area'].onmouseout = new Function("this.style.height='115'"); document.layers['gnb_area'].onmouseover = new Function("this.style.height='260'"); } } function faq(n) { faq_div = document.getElementById("faq").getElementsByTagName("ul"); con_num = faq_div.length for (var i=1; i <= con_num; i++) { ul_con = faq_div[i-1]; a_con = document.getElementById("a"+i); if (i == n) { ul_con.className = "on"; if (a_con.style.display == "block") { a_con.style.display = "none"; ul_con.className = ""; }else{ a_con.style.display = "block"; } }else{ ul_con.className = ""; a_con.style.display = "none"; } } } function chgHeight(n) { document.getElementById("swf_snav").style.height = n+"px"; } function gnb_chgHeight(open,n) { if (open == "open") { document.getElementById("swf_mnav").style.height = n+"px"; document.getElementById("gnb").style.height = n+"px"; }else{ document.getElementById("swf_mnav").style.height = "226px"; document.getElementById("gnb").style.height = "226px"; } } function special_chgHeight(open,n) { if (open == "open") { document.getElementById("swf_mnav").style.height = n+"px"; document.getElementById("gnb").style.height = n+"px"; }else{ document.getElementById("swf_mnav").style.height = "226px"; document.getElementById("gnb").style.height = "226px"; } } function idpwd(n) { for (var i=1; i <= 2; i++) { con = document.getElementById("idpwd"+i); if (i == n) { con.style.display = "block"; }else{ con.style.display = "none"; } } } connum = 0; function con_tab(n) { con_div = document.getElementById("con_all").getElementsByTagName("div"); for (var i=1; i <= con_div.length; i++) { if (con_div[i-1].id != "") { connum = connum+1; } } for (var i=1; i <= connum; i++) { if (i == n) { document.getElementById("con"+i).style.display = "block"; }else{ document.getElementById("con"+i).style.display = "none"; } } connum = 0; } function eb(n) { con_div = document.getElementById("ebrochure").getElementsByTagName("div"); for (var i=1; i <= con_div.length; i++) { if (con_div[i-1].id != "") { connum = connum+1; } } for (var i=1; i <= connum; i++) { if (i == n) { document.getElementById("con"+i).style.display = "block"; }else{ document.getElementById("con"+i).style.display = "none"; } } connum = 0; } function map_chg(n) { document.getElementById('map_img').src="/krs/images/convention/pop_map_img_03_0"+n+".jpg"; } function chg_img(n) { document.getElementById('chg_mainimg').src="../images/ski/chg_0"+n+".jpg"; }