function bluring() { try{ if(event.srcElement.tagName=='A'||event.srcElement.tagName=='IMG') { document.body.focus(); } }catch( e ) { } } try{ document.onfocusin=bluring; }catch( e ) { } var rurl = location.href; var purl = getUrl(rurl); function getUrl(url_str) { var real_url; if (url_str.indexOf('/') > 0) { real_url = url_str.split('/'); real_url = real_url[0]+'//'+real_url[2]+'/'+real_url[3]+'/'; } return real_url; } function goLocate(go_url) { document.location = purl + go_url; } //´º½ºÆ¼Ä¿ ÇÔ¼ö function eScroll() { /********************************* * eScroll ( eNamoo scroll script ) * by mirrh * 2006.07.16 ********************************/ var thisObj = this; this.timeObj = null; /*** ¼³Á¤º¯¼ö ***/ this.mode = "top"; // ½ºÅ©·Ñ ¹æÇâ (top|left) this.width = "642"; // ¶óÀÎ´ç °¡·Î°ª (pixel) this.height = 190; // ¶óÀÎ´ç ³ôÀÌ°ª (pixel) this.line = 1; // Ãâ·Â ¶óÀμö this.delay = 150; // ½ºÅ©·ÑÈÄ µô·¹ÀÌ ½Ã°£ this.speed = 1; // ½ºÅ©·Ñ ¼Óµµ (ÀÛÀ»¼ö·Ï ºü¸§) this.id = 'obj_eScroll'; // °´Ã¼ id (Ŭ·¡½º ´ÙÁß »ç¿ë½Ã id ´Ù¸£°Ô ÁöÁ¤ ¿ä¸Á) this.contents = new Array(); // Ãâ·Â ³»¿ë (¹è¿­·Î ³»¿ë ÁöÁ¤ ¿ä¸Á) this.align = "left"; // ³»¿ë aligne this.valign = "middle"; // ³»¿ë valigne /*** ³»À庯¼ö ***/ this.gap = 0; this.direction = 1; this.add = add; this.exec = exec; this.start = start; this.stop = stop; this.scroll = scroll; this.direct = direct; this.go = go; function add(str) { this.contents[this.contents.length] = str; } function exec() { this.basis = (this.mode == "left") ? this.width : this.height; var outWidth = this.width * ((this.mode == "left") ? this.line : 1); var outHeight = this.height * ((this.mode == "top") ? this.line : 1); var outline = "
"; document.write(outline); this.obj = document.getElementById(this.id); var tb = this.obj.appendChild(document.createElement("table")); var tbody = tb.appendChild(document.createElement("tbody")); tb.cellPadding = 0 ; tb.cellSpacing = 0 ; tb.onmouseover = function(){thisObj.stop()}; tb.onmouseout = function(){thisObj.start()}; if (this.mode=="left") var tr = tbody.appendChild(document.createElement("tr")); for (k in this.contents){ if (this.mode=="top") var tr = tbody.appendChild(document.createElement("tr")); var td = tr.appendChild(document.createElement("td")); td.noWrap = true; td.style.width = this.width; td.style.height = this.height; td.style.textAlign = this.align; td.style.verticalAlign = this.valign; td.innerHTML = this.contents[k]; } var len = (this.contents.length=this.delay) this.gap = 0; } if (!this.gap){ var ret = (out==this.tpoint) ? this.direction : out + this.direction; if (ret<0) ret = this.tpoint + ret; if (this.mode=="left") this.obj.scrollLeft = ret; else this.obj.scrollTop = ret; } } function start() { this.timeObj = window.setInterval("(document.getElementById('" + this.id + "')).parent.scroll()",this.speed); } function stop() { clearTimeout(this.timeObj); } function direct(d) { this.direction = d; } function go() { this.stop(); var out = (this.mode=="left") ? this.obj.scrollLeft : this.obj.scrollTop; var ret = (parseInt(out / this.basis) + this.direction) * this.basis; if (ret<0) ret = this.tpoint + ret; if (ret>this.tpoint) ret = this.basis; if (this.mode=="left") this.obj.scrollLeft = ret; else this.obj.scrollTop = ret; } } //´º½ºÆ¼Ä¿ ÇÔ¼ö³¡