var historyBlank = domain+"Libs/_js/blank.html?"; // ºê¶ó¿ìÁ® Á¤º¸ var browser = {}; /MSIE ([0-9]{1,})\.?/.exec(navigator.userAgent); browser.version = RegExp.$1; browser.kind = navigator.userAgent.match(/MSIE/) ? "IE" : "GEKO"; //################################################################################## 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=0; i--) { if (Menulist_isSelected(oMenu, i)) { if (i==oMenu.length-1) return; var idx = i; for (j=idx;jcnt;j--) { Menulist_upMenu(oMenu, idx); idx = idx - 1; } cnt = cnt + 1; } } } /* ¸Þ´º À§·Î À̵¿ */ function fnMenuMoveUp(oMenu) { var i=0; for (i=0; i=0; i--) { if (Menulist_isSelected(oMenu, i)) { if (i==oMenu.length-1) return; Menulist_downMenu(oMenu, i); } } } /* °ªÀ» »èÁ¦ */ function fnMenuDelete(oMenu) { var sel_len=0; for(var i =0, j = oMenu.options.length;i= 0){ fnMenuMoveEnd(oMenu); for(i=0,j=sel_len;i"); } //## media player object ó¸® ## var mediaDraw = function(i,s,w,h) { document.write(""); } //## ÆäÀÌÁö ½ºÅ©·Ñ¹Ù À§Ä¡ ## function getPageScroll() { var yScroll; if(self.pageYOffset) yScroll = self.pageYOffset; else if(document.documentElement && document.documentElement.scrollTop) yScroll = document.documentElement.scrollTop; // Explorer 6 Strict else if(document.body) yScroll = document.body.scrollTop; // all other Explorers arrayPageScroll = new Array('',yScroll) return arrayPageScroll; } //## ÆäÀÌÁö »çÀÌÁî ## function getPageSize(){ var xScroll, yScroll; if(window.innerHeight && window.scrollMaxY) { xScroll = document.body.scrollWidth; yScroll = window.innerHeight + window.scrollMaxY; } else if(document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac xScroll = document.body.scrollWidth; yScroll = document.body.scrollHeight; } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari xScroll = document.body.offsetWidth; yScroll = document.body.offsetHeight; } var windowWidth, windowHeight; if(self.innerHeight) { // all except Explorer windowWidth = self.innerWidth; windowHeight = self.innerHeight; } else if(document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode windowWidth = document.documentElement.clientWidth; windowHeight = document.documentElement.clientHeight; } else if(document.body) { // other Explorers windowWidth = document.body.clientWidth; windowHeight = document.body.clientHeight; } pageHeight = (yScroll < windowHeight) ? windowHeight : yScroll; pageWidth = (xScroll < windowWidth) ? windowWidth : xScroll; arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) return arrayPageSize; } //## ºí¶óÀεå ## var sb_selects; var screenBlind = function(mode) { if(mode == "on") { var arrayPageSize = getPageSize(); var arrayPageScroll = getPageScroll(); var sendingImage = document.createElement("img"); sendingImage.src = domain+"images/sending.gif"; sendingImage.setAttribute('id','sendingImage'); sendingImage.style.position = "absolute"; sendingImage.width = "195"; sendingImage.height = "18"; sendingImage.style.zIndex = "150"; sendingImage.style.top = arrayPageScroll[1] + ((arrayPageSize[3] - 35 - sendingImage.height) / 2) + 'px'; sendingImage.style.left = ((arrayPageSize[0] - sendingImage.width) / 2) + 'px'; sendingImage.style.display = "block"; $('screenBlind').appendChild(sendingImage); $('screenBlind').style.height = (arrayPageSize[1] + 'px'); $('screenBlind').style.display = "block"; sb_selects = document.getElementsByTagName("select"); for(var i=0; i0; i--) to.removeChild(optgroups[i-1]); for(var i=0; i"; this.body = "url('"+domain+"images/top01_search02.gif') repeat-x"; this.right = ""; this.styles = { // ½ºÅ²¿¡ Àû¿ëÇÒ ½ºÅ¸ÀÏ "base": "border:#dedede 0px solid;font-size:9pt;cursor:pointer;padding:0px;", "option": "border:#dedede 1px solid;font-size:9pt;display:none;background-color:white;padding:2px;", // ¿É¼Ç¹è°æ "item": "border:0;font-size:9pt;font-family:dotum;color:black;line-height:120%;background-color:white;padding:2 0 0 5px;" // ¾ÆÀÌÅÛ }; this.base_color = { // ±âº»»ö»ó : this.styles['item'] ¼³Á¤°ª°ú µ¿ÀÏÇÏ°Ô ¼³Á¤ "background": "white", "color": "black" }; this.hover_color = { // È£¹ö»ö»ó "background": "#336699", "color": "white" }; } // ÄÞº¸¹Ú½º ¼±Åà COMBOBOX.prototype.select_item = function(obj) { var item = $(obj.parentNode.id.replace(/_option$/g,'')); item.value = obj.value; $(item.name+'_text').update(obj.innerHTML); this.pulldown(item.name); } // ÄÞº¸¹Ú½º ¾ÆÀÌÅÛ È£¹ö COMBOBOX.prototype.item_hover = function(obj, mode) { var color = (mode=="hover") ? this.hover_color : this.base_color; var name = obj.parentNode.id.replace(/_option$/g,''); var item = $(name); if(this.pulldown_flag[parseInt(item.getAttribute('no'))]==true) { // ¼±Åðª ÃʱâÈ­ var option = obj.parentNode.getElementsByTagName('div'); for(var i=0; i
"+this.left+"{:text:}"+this.right+"
", "option": "
{:item:}
", "item": "
{:text:}
" }; var option = obj.options; var skinHTML = skins['base'].replace(/{:name:}/g, obj.name).replace(/{:no:}/g, no); skinHTML = skinHTML.replace(/{:value:}/g, obj.value).replace(/{:text:}/g, obj.options[obj.selectedIndex].text); // ÇöÀç ¼±ÅÃµÈ °ª; for(var i=0, item='', max_width=0; ithis.marginY ? document.body.scrollTop : this.marginY; var moveX = Math.ceil(Math.abs(floatingObjLeft - docLeft) / this.pro); var moveY = Math.ceil(Math.abs(floatingObjTop - docTop) / this.pro); if(this.pattern.indexOf('x')!=-1) this.floatingObj.style.left = floatingObjLeft < docLeft ? floatingObjLeft + moveX + "px" : floatingObjLeft - moveX + "px"; if(this.pattern.indexOf('y')!=-1) this.floatingObj.style.top = floatingObjTop < docTop ? floatingObjTop + moveY + "px" : floatingObjTop - moveY + "px"; setTimeout(function(){classObj.initialize()}, classObj.cycle); // Àç±ÍÈ£Ãâ }