//º¸µå ¸®½ºÆ® ·Ñ¿À¹ö function onOver(f){ f.style.backgroundColor='#F6F6F6'; } function onOut(f){ f.style.backgroundColor='#FFFFFF'; } // ¹öư rollover - 20070104 Ãß°¡ function change_img(img_name,img_src) { document[img_name].src=img_src; } // MS IE Patch °ü·Ã - 20071224 Ãß°¡ function __ws__(id) { if (navigator.appName.indexOf("Netscape")==-1) { document.write(id.innerHTML);id.id=""; } } //main°ü·Ã ½ºÅ©¸³Æ® - 20070124 Ãß°¡ function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&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&&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 ) { if (szFind == "\n") { szAll = szAll.substr(0, i-1) + szReplace + szAll.substr(i+szFind.length,szAll.length - (i+szFind.length)); } else { szAll = szAll.substr(0, i) + szReplace + szAll.substr(i+szFind.length,szAll.length - (i+szFind.length)); } } else { szAll = szReplace + szAll.substr(i+szFind.length,szAll.length - (i+szFind.length)); } i = i + length; } } return szAll; } ///////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// // ž¸Þ´º 01 ¹Î¿ø function PRINT_TOPMENU_01(PNum, SNum) { document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); } //»ç¾÷Àå ¿ÞÂʸ޴º init function initSubmenu(depth1, depth2) { var d1 = ""; var d2 = ""; var menu1 = null; var menu2 = null; var submenu = null; if(depth1 != null && depth1 != "") d1 = "" + eval(depth1); if(depth2 != null && depth2 != "") d2 = "" + eval(depth2); for(var i=1; i<=20; i++) { menu1 = document.getElementById("leftmenu-1-" + i); if(menu1 != null && menu1 != "undefined") { //°°À»¶§ if(i == eval(d1)) { menu1.src = menu1.src.replace(".gif", "_on.gif"); //¼­ºê¸Þ´º°Ë»ç submenu = document.getElementById("leftsubMenu_" + i); if(submenu != null && submenu != "undefined") { //¼­ºê¸Þ´º Ȱ¼º submenu.style.display = "block"; //2depth°Ë»ç for(var j=1; j<=20; j++) { menu2 = document.getElementById("leftmenu-1-" + i + "-" + j); if(menu2 != null && menu2 != "undefined" && j == eval(d2)) { menu2.className = "on"; } menu2 = null; } } submenu = null; } //´Ù¸¦¶§ else { menu1.onmouseover = function () { this.src = this.src.replace(".gif", "_on.gif"); } menu1.onmouseout = function () { this.src = this.src.replace("_on.gif", ".gif"); } } } menu1 = null; } } // À̹ÌÁö ½½¶óÀ̵å function fnRolMove_Type1() { this.GoodsSetTime = null; this.BannerCurrent = 0; this.DateNum = 4; this.TempMenuImg = new Array(); // ¸Þ´º¹öư È¿°ú ÁÖ¼®Ã³¸® // this.TempMenuImg["on"] = new Array(); // this.TempMenuImg["off"] = new Array(); this.Start = function() { this.ObjBox = document.getElementById(this.BoxName); this.ObjPrev = document.getElementById(this.BannerPrev); this.ObjNext = document.getElementById(this.BannerNext); this.ObjBannerBox = document.getElementById(this.BannerName); this.ObjBannerUl = this.ObjBannerBox.getElementsByTagName("ul")[0]; this.ObjBannerLi = this.ObjBannerUl.getElementsByTagName("li"); this.ObjBannerTotalLi = this.ObjBannerLi.length; this.ObjBannerTotalWidth = this.ObjBannerTotalLi * this.BannerWidth; this._Style(); for ( var i=0; i 5 ) { this.BannerCurrent = this.BannerCurrent + ( val - this.BannerCurrent ) * this.Speed; } else { this.BannerCurrent = val; } this.ObjBannerUl.style.left = ( -1 * this.BannerCurrent ) + "px"; if ( this.BannerCurrent != val ) { this.GoodsSetTime = setTimeout(this.fnName + "._moveFrame(" + val + ",'" + fnmove + "')",10); } else { this.CurrentPicNum = this.BannerCurrent / this.BannerWidth; this.BannerPrevLeft = this.BannerCurrent - this.BannerWidth; this.BannerNextLeft = this.BannerCurrent + this.BannerWidth; if ( navigator.appName.indexOf("Explorer") != -1 ) { this.ObjPrev.style.filter="Alpha(opacity=100)"; this.ObjNext.style.filter="Alpha(opacity=100)"; } else { this.ObjPrev.style.opacity=1; this.ObjNext.style.opacity=1; } if ( this.BannerCurrent == 0 ) { this.BannerPrevLeft = 0; if ( navigator.appName.indexOf("Explorer") != -1 ) { this.ObjPrev.style.filter="Alpha(opacity=50)"; } else { this.ObjPrev.style.opacity=0.5; } } else if ( this.BannerCurrent == this.ObjBannerTotalWidth - ( this.BannerWidth * this.DateNum ) ) { this.BannerNextLeft = this.ObjBannerTotalWidth - ( this.BannerWidth * this.DateNum ); if ( navigator.appName.indexOf("Explorer") != -1 ) { this.ObjNext.style.filter="Alpha(opacity=50)"; } else { this.ObjNext.style.opacity=0.5; } } this.ObjPrev.fnName = this.fnName; this.ObjPrev.Num = this.BannerPrevLeft; this.ObjPrev.onclick = function() { eval(this.fnName + "._moveFrame(" + this.Num + ",'prev')" ); return false; } this.ObjNext.fnName = this.fnName; this.ObjNext.Num = this.BannerNextLeft; this.ObjNext.onclick = function() { eval(this.fnName + "._moveFrame(" + this.Num + ",'next')" ); return false; } } } this._Style = function() { this.ObjBox.style.position = "relative"; this.ObjBox.style.height = this.BoxHeight + "px"; this.ObjPrev.style.display = "block"; this.ObjPrev.style.position = "absolute"; this.ObjNext.style.display = "block"; this.ObjNext.style.position = "absolute"; this.ObjBannerBox.style.position = "relative"; this.ObjBannerBox.style.height = this.BannerHeight + "px"; this.ObjBannerBox.style.overflow = "hidden"; this.ObjBannerUl.style.width = this.ObjBannerTotalWidth + "px"; this.ObjBannerUl.style.position = "absolute"; } }