/* js cached1: /opt/inet6/inet6es-6.2/base/global/www/skins/default/javascript/lib/jquery/bgiframe/bgiframe.js:/opt/inet6/inet6es-6.2/base/global/www/skins/default/javascript/lib/jquery/dimensions/dimensions.js:/opt/inet6/inet6es-6.2/base/global/www/skins/default/javascript/lib/jquery/superfish/superfish.js:/opt/inet6/inet6es-6.2/base/global/www/skins/default/javascript/lib/jquery/jd_menu/jd_menu.js*/
(function($){ $.fn.bgIframe=$.fn.bgiframe=function(s){ if($.browser.msie&&/6.0/.test(navigator.userAgent)){ s=$.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},s||{}); var _3=function(n){ return n&&n.constructor==Number?n+"px":n; },_5="<iframe class=\"bgiframe\"frameborder=\"0\"tabindex=\"-1\"src=\""+s.src+"\""+"style=\"display:block;position:absolute;z-index:-1;"+(s.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(s.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":_3(s.top))+";"+"left:"+(s.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":_3(s.left))+";"+"width:"+(s.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":_3(s.width))+";"+"height:"+(s.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":_3(s.height))+";"+"\"/>"; return this.each(function(){ if($("> iframe.bgiframe",this).length==0){ this.insertBefore(document.createElement(_5),this.firstChild); } }); } return this; }; })(jQuery); ;(function($){ $.dimensions={version:"1.2"}; $.each(["Height","Width"],function(i,_3){ $.fn["inner"+_3]=function(){ if(!this[0]){ return; } var _4=_3=="Height"?"Top":"Left",_5=_3=="Height"?"Bottom":"Right"; return this.is(":visible")?this[0]["client"+_3]:num(this,_3.toLowerCase())+num(this,"padding"+_4)+num(this,"padding"+_5); }; $.fn["outer"+_3]=function(_6){ if(!this[0]){ return; } var _7=_3=="Height"?"Top":"Left",_8=_3=="Height"?"Bottom":"Right"; _6=$.extend({margin:false},_6||{}); var _9=this.is(":visible")?this[0]["offset"+_3]:num(this,_3.toLowerCase())+num(this,"border"+_7+"Width")+num(this,"border"+_8+"Width")+num(this,"padding"+_7)+num(this,"padding"+_8); return _9+(_6.margin?(num(this,"margin"+_7)+num(this,"margin"+_8)):0); }; }); $.each(["Left","Top"],function(i,_b){ $.fn["scroll"+_b]=function(_c){ if(!this[0]){ return; } return _c!=undefined?this.each(function(){ this==window||this==document?window.scrollTo(_b=="Left"?_c:$(window)["scrollLeft"](),_b=="Top"?_c:$(window)["scrollTop"]()):this["scroll"+_b]=_c; }):this[0]==window||this[0]==document?self[(_b=="Left"?"pageXOffset":"pageYOffset")]||$.boxModel&&document.documentElement["scroll"+_b]||document.body["scroll"+_b]:this[0]["scroll"+_b]; }; }); $.fn.extend({position:function(){ var _d=0,_e=0,_f=this[0],_10,_11,_12,_13; if(_f){ _12=this.offsetParent(); _10=this.offset(); _11=_12.offset(); _10.top-=num(_f,"marginTop"); _10.left-=num(_f,"marginLeft"); _11.top+=num(_12,"borderTopWidth"); _11.left+=num(_12,"borderLeftWidth"); _13={top:_10.top-_11.top,left:_10.left-_11.left}; } return _13; },offsetParent:function(){ var _14=this[0].offsetParent; while(_14&&(!/^body|html$/i.test(_14.tagName)&&$.css(_14,"position")=="static")){ _14=_14.offsetParent; } return $(_14); }}); function num(el,_16){ return parseInt($.curCSS(el.jquery?el[0]:el,_16,true))||0; } })(jQuery); ;(function($){ $.superfish={}; $.superfish.o=[]; $.superfish.op={}; $.superfish.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",delay:800,animation:{opacity:"show"},speed:"normal",oldJquery:false,disableHI:false,onInit:function(){ },onBeforeShow:function(){ },onShow:function(){ },onHide:function(){ }}; $.fn.superfish=function(op){ var _3="sfbreadcrumb",_4=function(){ var $$=$(this),_6=_7($$); _8(_6,true); clearTimeout(_6.sfTimer); $$.showSuperfishUl().siblings().hideSuperfishUl(); },_9=function(){ var $$=$(this),_b=_7($$); var o=_8(_b,true); clearTimeout(_b.sfTimer); if(!$$.is("."+_3)){ _b.sfTimer=setTimeout(function(){ $$.hideSuperfishUl(); if(o.$path.length){ _4.call(o.$path); } },o.delay); } },_7=function(_d){ return _d.parents("ul.superfish:first")[0]; },_8=function(el,_f){ el=_f?el:_7(el); return $.superfish.op=$.superfish.o[el.serial]; },_10=function(){ return $.superfish.op.oldJquery?"li[ul]":"li:has(ul)"; }; return this.each(function(){ var s=this.serial=$.superfish.o.length; var o=$.extend({},$.superfish.defaults,op); o.$path=$("li."+o.pathClass,this).each(function(){ $(this).addClass(o.hoverClass+" "+_3).filter(_10()).removeClass(o.pathClass); }); $.superfish.o[s]=$.superfish.op=o; $(_10(),this)[($.fn.hoverIntent&&!o.disableHI)?"hoverIntent":"hover"](_4,_9).not("."+_3).hideSuperfishUl(); var $a=$("a",this); $a.each(function(i){ var $li=$a.eq(i).parents("li"); $a.eq(i).focus(function(){ _4.call($li); }).blur(function(){ _9.call($li); }); }); o.onInit.call(this); }).addClass("superfish"); }; $.fn.extend({hideSuperfishUl:function(){ var o=$.superfish.op,$ul=$("li."+o.hoverClass,this).add(this).removeClass(o.hoverClass).find(">ul").hide().css("visibility","hidden"); o.onHide.call($ul); return this; },showSuperfishUl:function(){ var o=$.superfish.op,$ul=this.addClass(o.hoverClass).find(">ul:hidden").css("visibility","visible"); o.onBeforeShow.call($ul); $ul.animate(o.animation,o.speed,function(){ o.onShow.call(this); }); return this; }}); $(window).unload(function(){ $("ul.superfish").each(function(){ $("li",this).unbind("mouseover","mouseout","mouseenter","mouseleave"); }); }); })(jQuery); ;(function($){ var _2=[]; $.fn.jdMenu=function(_3){ var _4=$.extend({},arguments.callee.defaults,_3); return this.each(function(){ _2.push(this); $(this).addClass("jd_menu_flag_root"); this.$settings=$.extend({},_4,{isVerticalMenu:$(this).is(".jd_menu_vertical")}); addEvents(this); }); }; $.fn.jdMenuShow=function(){ return this.each(function(){ showMenuLI.apply(this); }); }; $.fn.jdMenuHide=function(){ return this.each(function(){ hideMenuUL.apply(this); }); }; $(window).bind("click",function(){ $(_2).find("ul:visible").jdMenuHide(); }).bind("unload",function(){ $(_2).each(function(){ this.$settings=null; }); }); $.fn.jdMenu.defaults={activateDelay:50,showDelay:50,hideDelay:150,onShow:null,onHideCheck:null,onHide:null,onAnimate:null,onClick:null,offsetX:4,offsetY:2,iframe:$.browser.msie}; $.fn.parentsUntil=function(_5){ var a=[]; $(this[0]).parents().each(function(){ a.push(this); return !$(this).is(_5); }); return this.pushStack(a,arguments); }; function getSettings(el){ var _8=$(el).parents("ul.jd_menu_flag_root")[0]; if(!_8){ var d={activateDelay:50,showDelay:50,hideDelay:150,onShow:null,onHideCheck:null,onHide:null,onAnimate:null,onClick:null,offsetX:4,offsetY:2,iframe:$.browser.msie}; return d; } return _8.$settings; } function addEvents(ul){ removeEvents(ul); $("> li",ul).hover(hoverOverLI,hoverOutLI).bind("click",itemClick).find("> a.accessible").bind("click",accessibleClick); } function removeEvents(ul){ $("> li",ul).unbind("mouseover").unbind("mouseout").unbind("click").find("> a.accessible").unbind("click"); } function hoverOverLI(){ var _c="jd_menu_hover"+($(this).parent().is(".jd_menu_flag_root")?"_menubar":""); $(this).addClass(_c).find("> a").addClass(_c); if(this.$timer){ clearTimeout(this.$timer); } if($("> ul",this).size()>0){ var _d=getSettings(this); var _e=($(this).parents("ul.jd_menu_flag_root").find("ul:visible").size()==0)?_d.activateDelay:_d.showDelay; var t=this; this.$timer=setTimeout(function(){ showMenuLI.apply(t); },_e); } } function hoverOutLI(){ $(this).removeClass("jd_menu_hover").removeClass("jd_menu_hover_menubar").find("> a").removeClass("jd_menu_hover").removeClass("jd_menu_hover_menubar"); if(this.$timer){ clearTimeout(this.$timer); } if($(this).is(":visible")&&$("> ul",this).size()>0){ var _10=getSettings(this); var ul=$("> ul",this)[0]; this.$timer=setTimeout(function(){ hideMenuUL.apply(ul); },_10.hideDelay); } } function showMenuLI(){ var ul=$("> ul",this).get(0); if($(ul).is(":visible")){ return false; } if(this.$timer){ clearTimeout(this.$timer); } var _13=getSettings(this); if(_13.onShow!=null&&_13.onShow.apply(this)==false){ return false; } var _14=$(this).parent().is(".jd_menu_flag_root"); var c="jd_menu_active"+(_14?"_menubar":""); $(this).addClass(c).find("> a").addClass(c); if(!_14){ var c="jd_menu_active"+($(this).parent().parent().parent().is(".jd_menu_flag_root")?"_menubar":""); $(this).parent().parent().addClass(c).find("> a").addClass(c); } $(this).parent().find("> li > ul:visible").not(ul).each(function(){ hideMenuUL.apply(this); }); addEvents(ul); var _16=function(x1,x2,y1,y2){ this.x1=x1; this.x2=x2; this.y1=y1; this.y2=y2; }; _16.prototype.contains=function(_1b){ return (this.x1<=_1b.x1&&_1b.x2<=this.x2)&&(this.y1<=_1b.y1&&_1b.y2<=this.y2); }; _16.prototype.transform=function(x,y){ return new _16(this.x1+x,this.x2+x,this.y1+y,this.y2+y); }; _16.prototype.nudgeX=function(_1e){ if(this.x1<_1e.x1){ return new _16(_1e.x1,_1e.x1+(this.x2-this.x1),this.y1,this.y2); }else{ if(this.x2>_1e.x2){ return new _16(_1e.x2-(this.x2-this.x1),_1e.x2,this.y1,this.y2); } } return this; }; _16.prototype.nudgeY=function(_1f){ if(this.y1<_1f.y1){ return new _16(this.x1,this.x2,_1f.y1,_1f.y1+(this.y2-this.y1)); }else{ if(this.y2>_1f.y2){ return new _16(this.x1,this.x2,_1f.y2-(this.y2-this.y1),_1f.y2); } } return this; }; var sx=$(window).scrollLeft(); var sy=$(window).scrollTop(); var ww=$(window).innerWidth(); var wh=$(window).innerHeight(); var _24=new _16(sx,sx+ww,sy,sy+wh); $(ul).css({visibility:"hidden",left:0,top:0}).show(); var _25=$(ul).outerWidth(); var _26=$(ul).outerHeight(); var tp=$(this).parent(); var _28=tp.outerWidth(); var _29=parseInt(tp.css("borderLeftWidth"))+parseInt(tp.css("borderRightWidth")); var _2a=$(this).outerHeight(); var _2b=$(this).offset({border:false}); if(isNaN(_29)){ _29=0; } if($(this).parent().is(".jd_menu_flag_root")&&_13.isVerticalMenu){ var _2c=$(this).parent("[&position=relative]").offset({border:false}); _2b.left=(_2b.left-_2c.left); }else{ if($(this).parent().is(".jd_menu_flag_root")){ var _2c=$(this).parent("[&position=relative]").offset({border:false}); } } $(ul).hide().css({visibility:""}); var _2d=[]; _2d[0]=new _16(_2b.left,_2b.left+_25,_2b.top+_2a,_2b.top+_2a+_26); _2d[1]=new _16((_2b.left+_28)-_25,_2b.left+_28,_2d[0].y1,_2d[0].y2); _2d[2]=_2d[0].nudgeX(_24); _2d[3]=new _16(_2b.left+_28-_29,_2b.left+_28-_29+_25,_2b.top,_2b.top+_26); _2d[4]=new _16(_2d[3].x1,_2d[3].x2,_2d[0].y1-_26,_2d[0].y1); _2d[5]=_2d[3].nudgeY(_24); _2d[6]=new _16(_2b.left,_2b.left+_25,_2b.top-_26,_2b.top); _2d[7]=new _16((_2b.left+_28)-_25,_2b.left+_28,_2d[6].y1,_2d[6].y2); _2d[8]=_2d[6].nudgeX(_24); _2d[9]=new _16(_2b.left-_25,_2b.left,_2d[3].y1,_2d[3].y2); _2d[10]=new _16(_2d[9].x1,_2d[9].x2,_2d[4].y1+_2a-_26,_2d[4].y1+_2a); _2d[11]=_2d[10].nudgeY(_24); var _2e=[]; if($(this).parent().is(".jd_menu_flag_root")&&!_13.isVerticalMenu){ _2e=[0,1,2,6,7,8,5,11]; }else{ _2e=[3,4,5,9,10,11,0,1,2,6,7,8]; } var pos=_2e[0]; for(var i=0,j=_2e.length;i<j;i++){ if(_24.contains(_2d[_2e[i]])){ pos=_2e[i]; break; } } var _32=_2d[pos]; $(this).add($(this).parents()).each(function(){ if($(this).css("position")=="absolute"){ var abs=$(this).offset(); _32=_32.transform(-abs.left,-abs.top); return false; } }); switch(pos){ case 3: _32.y1+=_13.offsetY; case 4: _32.x1-=_13.offsetX; break; case 9: _32.y1+=_13.offsetY; case 10: _32.x1+=_13.offsetX; break; } if(_13.iframe){ $(ul).bgiframe(); } if(_13.onAnimate){ $(ul).css({left:_32.x1,top:_32.y1}); _13.onAnimate.apply(ul,[true]); }else{ $(ul).css({left:_32.x1,top:_32.y1}).show(); } return true; } function hideMenuUL(_34){ if(!$(this).is(":visible")){ return false; } var _35=getSettings(this); if(_35.onHideCheck!=null&&_35.onHideCheck.apply(this)==false){ return false; } $("> li ul:visible",this).each(function(){ hideMenuUL.apply(this,[false]); }); if($(this).is(".jd_menu_flag_root")){ return false; } var _36=$("> li",this).add($(this).parent()); _36.removeClass("jd_menu_hover").removeClass("jd_menu_hover_menubar").removeClass("jd_menu_active").removeClass("jd_menu_active_menubar").find("> a").removeClass("jd_menu_hover").removeClass("jd_menu_hover_menubar").removeClass("jd_menu_active").removeClass("jd_menu_active_menubar"); removeEvents(this); $(this).each(function(){ if(_35.onAnimate!=null){ _35.onAnimate.apply(this,[false]); }else{ $(this).hide(); } }).find("> .bgiframe").remove(); if(_35.onHide!=null){ _35.onHide.apply(this); } if(_34==true){ $(this).parentsUntil("ul.jd_menu_flag_root").removeClass("jd_menu_hover").removeClass("jd_menu_hover_menubar").not(".jd_menu_flag_root").filter("ul").each(function(){ hideMenuUL.apply(this,[false]); }); } return true; } function accessibleClick(e){ if($(this).is(".accessible")){ e.preventDefault(); } } function itemClick(e){ e.stopPropagation(); var _39=getSettings(this); if(_39.onClick!=null&&_39.onClick.apply(this)==false){ return false; } if($("> ul",this).size()>0){ showMenuLI.apply(this); }else{ if(e.target==this){ var _3a=$("> a",e.target).not(".accessible"); if(_3a.size()>0){ var a=_3a.get(0); if(!a.onclick){ window.open(a.href,a.target||"_self"); }else{ $(a).click(); } } } hideMenuUL.apply($(this).parent(),[true]); } } })(jQuery); ;
