/* js cached1: /opt/inet6/inet6es-5.6/base/global/www/skins/default/javascript/lightbox/greybox/AJS.js:/opt/inet6/inet6es-5.6/base/global/www/skins/default/javascript/lightbox/greybox/AJS_fx.js:/opt/inet6/inet6es-5.6/base/global/www/skins/default/javascript/lightbox/greybox/gb_scripts.js:/opt/inet6/inet6es-5.6/base/global/www/skins/default/javascript/global.js:/opt/inet6/inet6es-5.6/base/global/www/skins/default/javascript/nodomws.js*/
AJS={BASE_URL:"",drag_obj:null,drag_elm:null,_drop_zones:[],_cur_pos:null,join:function(_1,_2){ try{ return _2.join(_1); } catch(e){ var r=_2[0]||""; AJS.map(_2,function(_4){ r+=_1+_4; },1); return r+""; } },getScrollTop:function(){ var t; if(document.documentElement&&document.documentElement.scrollTop){ t=document.documentElement.scrollTop; }else{ if(document.body){ t=document.body.scrollTop; } } return t; },addClass:function(){ var _6=AJS.forceArray(arguments); var _7=_6.pop(); var _8=function(o){ if(!new RegExp("(^|\\s)"+_7+"(\\s|$)").test(o.className)){ o.className+=(o.className?" ":"")+_7; } }; AJS.map(_6,function(_a){ _8(_a); }); },setStyle:function(){ var _b=AJS.forceArray(arguments); var _c=_b.pop(); var _d=_b.pop(); AJS.map(_b,function(_e){ _e.style[_d]=AJS.getCssDim(_c); }); },_getRealScope:function(fn,_10,_11,_12){ var _13=window; _10=AJS.$A(_10); if(fn._cscope){ _13=fn._cscope; } return function(){ var _14=[]; var i=0; if(_11){ i=1; } AJS.map(arguments,function(arg){ _14.push(arg); },i); _14=_14.concat(_10); if(_12){ _14=_14.reverse(); } return fn.apply(_13,_14); }; },preloadImages:function(){ AJS.AEV(window,"load",AJS.$p(function(_17){ AJS.map(_17,function(src){ var pic=new Image(); pic.src=src; }); },arguments)); },_createDomShortcuts:function(){ var _1a=["ul","li","td","tr","th","tbody","table","input","span","b","a","div","img","button","h1","h2","h3","br","textarea","form","p","select","option","iframe","script","center","dl","dt","dd","small","pre"]; var _1b=function(elm){ var _1d="return AJS.createDOM.apply(null, ['"+elm+"', arguments]);"; var _1e="function() { "+_1d+"    }"; eval("AJS."+elm.toUpperCase()+"="+_1e); }; AJS.map(_1a,_1b); AJS.TN=function(_1f){ return document.createTextNode(_1f); }; },documentInsert:function(elm){ if(typeof (elm)=="string"){ elm=AJS.HTML2DOM(elm); } document.write("<span id=\"dummy_holder\"></span>"); AJS.swapDOM(AJS.$("dummy_holder"),elm); },getWindowSize:function(doc){ doc=doc||document; var _22,_23; if(self.innerHeight){ _22=self.innerWidth; _23=self.innerHeight; }else{ if(doc.documentElement&&doc.documentElement.clientHeight){ _22=doc.documentElement.clientWidth; _23=doc.documentElement.clientHeight; }else{ if(doc.body){ _22=doc.body.clientWidth; _23=doc.body.clientHeight; } } } return {"w":_22,"h":_23}; },flattenList:function(_24){ var r=[]; var _26=function(r,l){ AJS.map(l,function(o){ if(o==null){ }else{ if(AJS.isArray(o)){ _26(r,o); }else{ r.push(o); } } }); }; _26(r,_24); return r; },removeElement:function(){ var _2a=AJS.forceArray(arguments); AJS.map(_2a,function(elm){ AJS.swapDOM(elm,null); }); },_unloadListeners:function(){ if(AJS.listeners){ AJS.map(AJS.listeners,function(elm,_2d,fn){ AJS.REV(elm,_2d,fn); }); } AJS.listeners=[]; },partial:function(fn){ var _30=AJS.forceArray(arguments); return AJS.$b(fn,null,_30.slice(1,_30.length).reverse(),false,true); },getIndex:function(elm,_32,_33){ for(var i=0;i<_32.length;i++){ if(_33&&_33(_32[i])||elm==_32[i]){ return i; } } return -1; },isDefined:function(o){ return (o!="undefined"&&o!=null); },isArray:function(obj){ return obj instanceof Array; },setLeft:function(){ var _37=AJS.forceArray(arguments); _37.splice(_37.length-1,0,"left"); AJS.setStyle.apply(null,_37); },appendChildNodes:function(elm){ if(arguments.length>=2){ AJS.map(arguments,function(n){ if(AJS.isString(n)){ n=AJS.TN(n); } if(AJS.isDefined(n)){ elm.appendChild(n); } },1); } return elm; },isOpera:function(){ return (navigator.userAgent.toLowerCase().indexOf("opera")!=-1); },isString:function(obj){ return (typeof obj=="string"); },hideElement:function(elm){ var _3c=AJS.forceArray(arguments); AJS.map(_3c,function(elm){ elm.style.display="none"; }); },setOpacity:function(elm,p){ elm.style.opacity=p; elm.style.filter="alpha(opacity="+p*100+")"; },setHeight:function(){ var _40=AJS.forceArray(arguments); _40.splice(_40.length-1,0,"height"); AJS.setStyle.apply(null,_40); },setWidth:function(){ var _41=AJS.forceArray(arguments); _41.splice(_41.length-1,0,"width"); AJS.setStyle.apply(null,_41); },createArray:function(v){ if(AJS.isArray(v)&&!AJS.isString(v)){ return v; }else{ if(!v){ return []; }else{ return [v]; } } },isDict:function(o){ var _44=String(o); return _44.indexOf(" Object")!=-1; },isMozilla:function(){ return (navigator.userAgent.toLowerCase().indexOf("gecko")!=-1&&navigator.productSub>=20030210); },_listenOnce:function(elm,_46,fn){ var _48=function(){ AJS.removeEventListener(elm,_46,_48); fn(arguments); }; return _48; },createDOM:function(_49,_4a){ var i=0,_4c; elm=document.createElement(_49); if(AJS.isDict(_4a[i])){ for(k in _4a[0]){ _4c=_4a[0][k]; if(k=="style"){ elm.style.cssText=_4c; }else{ if(k=="class"||k=="className"){ elm.className=_4c; }else{ elm.setAttribute(k,_4c); } } } i++; } if(_4a[0]==null){ i=1; } AJS.map(_4a,function(n){ if(n){ if(AJS.isString(n)||AJS.isNumber(n)){ n=AJS.TN(n); } elm.appendChild(n); } },i); return elm; },setTop:function(){ var _4e=AJS.forceArray(arguments); _4e.splice(_4e.length-1,0,"top"); AJS.setStyle.apply(null,_4e); },getElementsByTagAndClassName:function(_4f,_50,_51){ var _52=[]; if(!AJS.isDefined(_51)){ _51=document; } if(!AJS.isDefined(_4f)){ _4f="*"; } var els=_51.getElementsByTagName(_4f); var _54=els.length; var _55=new RegExp("(^|\\s)"+_50+"(\\s|$)"); for(i=0,j=0;i<_54;i++){ if(_55.test(els[i].className)||_50==null){ _52[j]=els[i]; j++; } } return _52; },bindMethods:function(_56){ for(var k in _56){ var _58=_56[k]; if(typeof (_58)=="function"){ _56[k]=AJS.$b(_58,_56); } } },addEventListener:function(elm,_5a,fn,_5c,_5d){ if(!_5d){ _5d=false; } var _5e=AJS.$A(elm); AJS.map(_5e,function(_5f){ if(_5c){ fn=AJS._listenOnce(_5f,_5a,fn); } if(AJS.isIn(_5a,["submit","load","scroll","resize"])){ var old=elm["on"+_5a]; elm["on"+_5a]=function(){ if(old){ fn(arguments); return old(arguments); }else{ return fn(arguments); } }; return; } if(AJS.isIn(_5a,["keypress","keydown","keyup"])){ var _61=fn; fn=function(e){ e.key=e.keyCode?e.keyCode:e.charCode; switch(e.key){ case 63232: e.key=38; break; case 63233: e.key=40; break; case 63235: e.key=39; break; case 63234: e.key=37; break; } return _61.apply(null,arguments); }; } if(_5f.attachEvent){ _5f.attachEvent("on"+_5a,fn); }else{ if(_5f.addEventListener){ _5f.addEventListener(_5a,fn,_5d); } } AJS.listeners=AJS.$A(AJS.listeners); AJS.listeners.push([_5f,_5a,fn]); }); },isNumber:function(obj){ return (typeof obj=="number"); },map:function(_64,fn,_66,_67){ var i=0,l=_64.length; if(_66){ i=_66; } if(_67){ l=_67; } for(i;i<l;i++){ fn.apply(null,[_64[i],i]); } },removeEventListener:function(elm,_6b,fn,_6d){ if(!_6d){ _6d=false; } if(elm.removeEventListener){ elm.removeEventListener(_6b,fn,_6d); if(AJS.isOpera()){ elm.removeEventListener(_6b,fn,!_6d); } }else{ if(elm.detachEvent){ elm.detachEvent("on"+_6b,fn); } } },getCssDim:function(dim){ if(AJS.isString(dim)){ return dim; }else{ return dim+"px"; } },log:function(o){ if(AJS.isMozilla()){ console.log(o); }else{ var div=AJS.DIV({"style":"color: green"}); AJS.ACN(AJS.getBody(),AJS.setHTML(div,""+o)); } },setHTML:function(elm,_72){ elm.innerHTML=_72; return elm; },bind:function(fn,_74,_75,_76,_77){ fn._cscope=_74; return AJS._getRealScope(fn,_75,_76,_77); },forceArray:function(_78){ var r=[]; AJS.map(_78,function(elm){ r.push(elm); }); return r; },update:function(l1,l2){ for(var i in l2){ l1[i]=l2[i]; } return l1; },getBody:function(){ return AJS.$bytc("body")[0]; },HTML2DOM:function(_7e,_7f){ var d=AJS.DIV(); d.innerHTML=_7e; if(_7f){ return d.childNodes[0]; }else{ return d; } },getElement:function(id){ if(AJS.isString(id)||AJS.isNumber(id)){ return document.getElementById(id); }else{ return id; } },removeClass:function(){ var _82=AJS.forceArray(arguments); var cls=_82.pop(); var _84=function(o){ o.className=o.className.replace(new RegExp("\\s?"+cls),""); }; AJS.map(_82,function(elm){ _84(elm); }); },showElement:function(){ var _87=AJS.forceArray(arguments); AJS.map(_87,function(elm){ elm.style.display=""; }); },swapDOM:function(_89,src){ _89=AJS.getElement(_89); var _8b=_89.parentNode; if(src){ src=AJS.getElement(src); _8b.replaceChild(src,_89); }else{ _8b.removeChild(_89); } return src; },isIn:function(elm,_8d){ var i=AJS.getIndex(elm,_8d); if(i!=-1){ return true; }else{ return false; } }}; AJS.$=AJS.getElement; AJS.$$=AJS.getElements; AJS.$f=AJS.getFormElement; AJS.$p=AJS.partial; AJS.$b=AJS.bind; AJS.$A=AJS.createArray; AJS.DI=AJS.documentInsert; AJS.ACN=AJS.appendChildNodes; AJS.RCN=AJS.replaceChildNodes; AJS.AEV=AJS.addEventListener; AJS.REV=AJS.removeEventListener; AJS.$bytc=AJS.getElementsByTagAndClassName; AJS.addEventListener(window,"unload",AJS._unloadListeners); AJS._createDomShortcuts(); AJS.Class=function(_8f){ var fn=function(){ if(arguments[0]!="no_init"){ return this.init.apply(this,arguments); } }; fn.prototype=_8f; AJS.update(fn,AJS.Class.prototype); return fn; }; AJS.Class.prototype={extend:function(_91){ var _92=new this("no_init"); for(k in _91){ var _93=_92[k]; var cur=_91[k]; if(_93&&_93!=cur&&typeof cur=="function"){ cur=this._parentize(cur,_93); } _92[k]=cur; } return new AJS.Class(_92); },implement:function(_95){ AJS.update(this.prototype,_95); },_parentize:function(cur,_97){ return function(){ this.parent=_97; return cur.apply(this,arguments); }; }}; AJS.$=AJS.getElement; AJS.$$=AJS.getElements; AJS.$f=AJS.getFormElement; AJS.$b=AJS.bind; AJS.$p=AJS.partial; AJS.$A=AJS.createArray; AJS.DI=AJS.documentInsert; AJS.ACN=AJS.appendChildNodes; AJS.RCN=AJS.replaceChildNodes; AJS.AEV=AJS.addEventListener; AJS.REV=AJS.removeEventListener; AJS.$bytc=AJS.getElementsByTagAndClassName; AJSDeferred=function(req){ this.callbacks=[]; this.errbacks=[]; this.req=req; }; AJSDeferred.prototype={excCallbackSeq:function(req,_9a){ var _9b=req.responseText; while(_9a.length>0){ var fn=_9a.pop(); var _9d=fn(_9b,req); if(_9d){ _9b=_9d; } } },callback:function(){ this.excCallbackSeq(this.req,this.callbacks); },errback:function(){ if(this.errbacks.length==0){ alert("Error encountered:\n"+this.req.responseText); } this.excCallbackSeq(this.req,this.errbacks); },addErrback:function(fn){ this.errbacks.unshift(fn); },addCallback:function(fn){ this.callbacks.unshift(fn); },addCallbacks:function(fn1,fn2){ this.addCallback(fn1); this.addErrback(fn2); },sendReq:function(_a2){ if(AJS.isObject(_a2)){ this.req.send(AJS.queryArguments(_a2)); }else{ if(AJS.isDefined(_a2)){ this.req.send(_a2); }else{ this.req.send(""); } } }}; script_loaded=true; script_loaded=true; ;AJS.fx={highlight:function(_1,_2){ var _3=new AJS.fx.Base(); _3.elm=AJS.$(_1); _3.setOptions(_2); _3.options.duration=600; AJS.update(_3,{_shades:{0:"ff",1:"ee",2:"dd",3:"cc",4:"bb",5:"aa",6:"99"},increase:function(){ if(this.now==7){ _1.style.backgroundColor="transparent"; }else{ _1.style.backgroundColor="#ffff"+this._shades[Math.floor(this.now)]; } }}); return _3.custom(6,0); },fadeIn:function(_4,_5){ _5=_5||{}; if(!_5.from){ _5.from=0; } if(!_5.to){ _5.to=1; } var s=new AJS.fx.Style(_4,"opacity",_5); return s.custom(_5.from,_5.to); },fadeOut:function(_7,_8){ _8=_8||{}; if(!_8.from){ _8.from=1; } if(!_8.to){ _8.to=0; } var s=new AJS.fx.Style(_7,"opacity",_8); return s.custom(_8.from,_8.to); },setWidth:function(_a,_b){ var s=new AJS.fx.Style(_a,"width",_b); return s.custom(_b.from,_b.to); },setHeight:function(_d,_e){ var s=new AJS.fx.Style(_d,"height",_e); return s.custom(_e.from,_e.to); }}; AJS.fx.Base=new AJS.Class({init:function(){ AJS.bindMethods(this); },setOptions:function(_10){ this.options=AJS.update({onStart:function(){ },onComplete:function(){ },transition:AJS.fx.Transitions.sineInOut,duration:500,wait:true,fps:50},_10||{}); },step:function(){ var _11=new Date().getTime(); if(_11<this.time+this.options.duration){ this.cTime=_11-this.time; this.setNow(); }else{ setTimeout(AJS.$b(this.options.onComplete,this,[this.elm]),10); this.clearTimer(); this.now=this.to; } this.increase(); },setNow:function(){ this.now=this.compute(this.from,this.to); },compute:function(_12,to){ var _14=to-_12; return this.options.transition(this.cTime,_12,_14,this.options.duration); },clearTimer:function(){ clearInterval(this.timer); this.timer=null; return this; },_start:function(_15,to){ if(!this.options.wait){ this.clearTimer(); } if(this.timer){ return; } setTimeout(AJS.$p(this.options.onStart,this.elm),10); this.from=_15; this.to=to; this.time=new Date().getTime(); this.timer=setInterval(this.step,Math.round(1000/this.options.fps)); return this; },custom:function(_17,to){ return this._start(_17,to); },set:function(to){ this.now=to; this.increase(); return this; },setStyle:function(elm,_1b,val){ if(this.property=="opacity"){ AJS.setOpacity(elm,val); }else{ AJS.setStyle(elm,_1b,val); } }}); AJS.fx.Style=AJS.fx.Base.extend({init:function(elm,_1e,_1f){ this.parent(); this.elm=elm; this.setOptions(_1f); this.property=_1e; },increase:function(){ this.setStyle(this.elm,this.property,this.now); }}); AJS.fx.Styles=AJS.fx.Base.extend({init:function(elm,_21){ this.parent(); this.elm=AJS.$(elm); this.setOptions(_21); this.now={}; },setNow:function(){ for(p in this.from){ this.now[p]=this.compute(this.from[p],this.to[p]); } },custom:function(obj){ if(this.timer&&this.options.wait){ return; } var _23={}; var to={}; for(p in obj){ _23[p]=obj[p][0]; to[p]=obj[p][1]; } return this._start(_23,to); },increase:function(){ for(var p in this.now){ this.setStyle(this.elm,p,this.now[p]); } }}); AJS.fx.Transitions={linear:function(t,b,c,d){ return c*t/d+b; },sineInOut:function(t,b,c,d){ return -c/2*(Math.cos(Math.PI*t/d)-1)+b; }}; script_loaded=true; script_loaded=true; ;var GB_ROOT_DIR="/inet6/global/www/skins/default/javascript/lightbox/greybox/"; var GB_CURRENT=null; GB_hide=function(){ GB_CURRENT.hide(); }; GreyBox=new AJS.Class({init:function(_1){ this.type="page"; this.overlay_click_close=false; this.salt=0; this.root_dir=GB_ROOT_DIR; this.callback_fns=[]; this.reload_on_close=false; this.src_loader=this.root_dir+"loader_frame.html"; this.show_loading=true; AJS.update(this,_1); },addCallback:function(fn){ if(fn){ this.callback_fns.push(fn); } },show:function(_3){ GB_CURRENT=this; this.url=_3; var _4=[AJS.$bytc("object"),AJS.$bytc("select")]; AJS.map(AJS.flattenList(_4),function(_5){ _5.style.visibility="hidden"; }); this.createElements(); return false; },hide:function(){ this.onHide(); if(AJS.fx){ var _6=this.overlay; AJS.fx.fadeOut(this.overlay,{onComplete:function(){ AJS.removeElement(_6); _6=null; },duration:300}); AJS.removeElement(this.g_window); }else{ AJS.removeElement(this.g_window,this.overlay); } this.removeFrame(); AJS.REV(window,"scroll",_GB_setOverlayDimension); AJS.REV(window,"resize",_GB_update); var _7=[AJS.$bytc("object"),AJS.$bytc("select")]; AJS.map(AJS.flattenList(_7),function(_8){ _8.style.visibility="visible"; }); var _9=this.callback_fns; if(_9!=[]){ AJS.map(_9,function(fn){ fn(); }); } GB_CURRENT=null; if(this.reload_on_close){ window.location.reload(); } },update:function(){ this.setOverlayDimension(); this.setFrameSize(); this.setWindowPosition(); },createElements:function(){ this.initOverlay(); this.g_window=AJS.DIV({"id":"GB_window"}); AJS.hideElement(this.g_window); AJS.getBody().insertBefore(this.g_window,this.overlay.nextSibling); this.initFrame(); this.initHook(); this.update(); var me=this; if(AJS.fx){ AJS.fx.fadeIn(this.overlay,{duration:300,to:0.7,onComplete:function(){ me.onShow(); AJS.showElement(me.g_window); me.startLoading(); }}); }else{ AJS.setOpacity(this.overlay,0.7); AJS.showElement(this.g_window); this.onShow(); this.startLoading(); } AJS.AEV(window,"scroll",_GB_setOverlayDimension); AJS.AEV(window,"resize",_GB_update); },removeFrame:function(){ try{ AJS.removeElement(this.iframe); } catch(e){ } this.iframe=null; },startLoading:function(){ this.iframe.src=this.src_loader+"?s="+this.salt++; AJS.showElement(this.iframe); },setOverlayDimension:function(){ var _c=AJS.getWindowSize(); if(AJS.isMozilla()||AJS.isOpera()){ AJS.setWidth(this.overlay,"100%"); }else{ AJS.setWidth(this.overlay,_c.w); } var _d=Math.max(AJS.getScrollTop()+_c.h,AJS.getScrollTop()+this.height); if(_d<AJS.getScrollTop()){ AJS.setHeight(this.overlay,_d); }else{ AJS.setHeight(this.overlay,AJS.getScrollTop()+_c.h); } },initOverlay:function(){ this.overlay=AJS.DIV({"id":"GB_overlay"}); if(this.overlay_click_close){ AJS.AEV(this.overlay,"click",GB_hide); } AJS.setOpacity(this.overlay,0); AJS.getBody().insertBefore(this.overlay,AJS.getBody().firstChild); },initFrame:function(){ if(!this.iframe){ var d={"name":"GB_frame","class":"GB_frame","frameBorder":0}; this.iframe=AJS.IFRAME(d); this.middle_cnt=AJS.DIV({"class":"content"},this.iframe); this.top_cnt=AJS.DIV(); this.bottom_cnt=AJS.DIV(); AJS.ACN(this.g_window,this.top_cnt,this.middle_cnt,this.bottom_cnt); } },onHide:function(){ },onShow:function(){ },setFrameSize:function(){ },setWindowPosition:function(){ },initHook:function(){ }}); _GB_update=function(){ if(GB_CURRENT){ GB_CURRENT.update(); } }; _GB_setOverlayDimension=function(){ if(GB_CURRENT){ GB_CURRENT.setOverlayDimension(); } }; AJS.preloadImages(GB_ROOT_DIR+"indicator.gif"); script_loaded=true; var GB_SETS={}; function decoGreyboxLinks(){ var as=AJS.$bytc("a"); AJS.map(as,function(a){ if(a.getAttribute("href")&&a.getAttribute("rel")){ var rel=a.getAttribute("rel"); if(rel.indexOf("gb_")==0){ var _12=rel.match(/\w+/)[0]; var _13=rel.match(/\[(.*)\]/)[1]; var _14=0; var _15={"caption":a.title||"","url":a.href,"excaption":a.getAttribute("capt")||""}; if(_12=="gb_pageset"||_12=="gb_imageset"){ if(!GB_SETS[_13]){ GB_SETS[_13]=[]; } GB_SETS[_13].push(_15); _14=GB_SETS[_13].length; } if(_12=="gb_pageset"){ a.onclick=function(){ GB_showFullScreenSet(GB_SETS[_13],_14); return false; }; } if(_12=="gb_imageset"){ a.onclick=function(){ GB_showImageSet(GB_SETS[_13],_14); return false; }; } if(_12=="gb_image"){ a.onclick=function(){ GB_showImage(_15.caption,_15.url,_15.excaption); return false; }; } if(_12=="gb_page"){ a.onclick=function(){ var sp=_13.split(/, ?/); GB_show(_15.caption,_15.url,parseInt(sp[1]),parseInt(sp[0])); return false; }; } if(_12=="gb_page_fs"){ a.onclick=function(){ GB_showFullScreen(_15.caption,_15.url); return false; }; } if(_12=="gb_page_center"){ a.onclick=function(){ var sp=_13.split(/, ?/); GB_showCenter(_15.caption,_15.url,parseInt(sp[1]),parseInt(sp[0])); return false; }; } } } }); } AJS.AEV(window,"load",decoGreyboxLinks); GB_showImage=function(_18,url,_1a,_1b){ var _1c={width:300,height:300,type:"image",fullscreen:false,center_win:true,caption:_18,excaption:_1a,callback_fn:_1b}; var win=new GB_Gallery(_1c); return win.show(url); }; GB_showPage=function(_1e,url,_20){ var _21={type:"page",caption:_1e,callback_fn:_20,fullscreen:true,center_win:false}; var win=new GB_Gallery(_21); return win.show(url); }; GB_Gallery=GreyBox.extend({init:function(_23){ this.parent({}); this.img_close=this.root_dir+"g_close.gif"; AJS.update(this,_23); this.addCallback(this.callback_fn); },initHook:function(){ AJS.addClass(this.g_window,"GB_Gallery"); var _24=AJS.DIV({"class":"inner"}); this.header=AJS.DIV({"class":"GB_header"},_24); AJS.setOpacity(this.header,0); AJS.getBody().insertBefore(this.header,this.overlay.nextSibling); var _25=AJS.TD({"id":"GB_caption","class":"caption","width":"40%"},this.caption); var _26=AJS.TD({"id":"GB_middle","class":"middle","width":"20%"}); var _27=AJS.IMG({"src":this.img_close}); AJS.AEV(_27,"click",GB_hide); var _28=AJS.TD({"class":"close","width":"40%"},_27); var _29=AJS.TD({"id":"GB_excaption","class":"excaption","width":"100%","colspan":"3"},this.excaption); var _2a=AJS.TBODY(AJS.TR(_25,_26,_28),AJS.TR(_29)); var _2b=AJS.TABLE({"cellspacing":"0","cellpadding":0,"border":0},_2a); AJS.ACN(_24,_2b); if(this.fullscreen){ AJS.AEV(window,"scroll",AJS.$b(this.setWindowPosition,this)); }else{ AJS.AEV(window,"scroll",AJS.$b(this._setHeaderPos,this)); } },setFrameSize:function(){ var _2c=this.overlay.offsetWidth; var _2d=AJS.getWindowSize(); if(this.fullscreen){ this.width=_2c-40; this.height=_2d.h-80; } AJS.setWidth(this.iframe,this.width); AJS.setHeight(this.iframe,this.height); AJS.setWidth(this.header,_2c); },_setHeaderPos:function(){ AJS.setTop(this.header,AJS.getScrollTop()+10); },setWindowPosition:function(){ var _2e=this.overlay.offsetWidth; var _2f=AJS.getWindowSize(); AJS.setLeft(this.g_window,((_2e-50-this.width)/2)); var _30=AJS.getScrollTop()+55; if(!this.center_win){ AJS.setTop(this.g_window,_30); }else{ var fl=((_2f.h-this.height)/2)+20+AJS.getScrollTop(); if(fl<0){ fl=0; } if(_30>fl){ fl=_30; } AJS.setTop(this.g_window,fl); } this._setHeaderPos(); },onHide:function(){ AJS.removeElement(this.header); AJS.removeClass(this.g_window,"GB_Gallery"); },onShow:function(){ if(AJS.fx){ AJS.fx.fadeIn(this.header,{to:1}); }else{ AJS.setOpacity(this.header,1); } }}); AJS.preloadImages(GB_ROOT_DIR+"g_close.gif"); GB_showFullScreenSet=function(set,_33,_34){ var _35={type:"page",fullscreen:true,center_win:false}; var _36=new GB_Sets(_35,set); _36.addCallback(_34); _36.showSet(_33-1); return false; }; GB_showImageSet=function(set,_38,_39){ var _3a={type:"image",fullscreen:false,center_win:true,width:300,height:300}; var _3b=new GB_Sets(_3a,set); _3b.addCallback(_39); _3b.showSet(_38-1); return false; }; GB_Sets=GB_Gallery.extend({init:function(_3c,set){ this.parent(_3c); if(!this.img_next){ this.img_next=this.root_dir+"next.gif"; } if(!this.img_prev){ this.img_prev=this.root_dir+"prev.gif"; } this.current_set=set; },showSet:function(_3e){ this.current_index=_3e; var _3f=this.current_set[this.current_index]; this.show(_3f.url); this._setCaption(_3f.caption); this._setExCaption(_3f.excaption); this.btn_prev=AJS.IMG({"class":"left",src:this.img_prev}); this.btn_next=AJS.IMG({"class":"right",src:this.img_next}); AJS.AEV(this.btn_prev,"click",AJS.$b(this.switchPrev,this)); AJS.AEV(this.btn_next,"click",AJS.$b(this.switchNext,this)); GB_STATUS=AJS.SPAN({"class":"GB_navStatus"}); AJS.ACN(AJS.$("GB_middle"),this.btn_prev,GB_STATUS,this.btn_next); this.updateStatus(); },updateStatus:function(){ AJS.setHTML(GB_STATUS,(this.current_index+1)+" / "+this.current_set.length); if(this.current_index==0){ AJS.addClass(this.btn_prev,"disabled"); }else{ AJS.removeClass(this.btn_prev,"disabled"); } if(this.current_index==this.current_set.length-1){ AJS.addClass(this.btn_next,"disabled"); }else{ AJS.removeClass(this.btn_next,"disabled"); } },_setCaption:function(_40){ AJS.setHTML(AJS.$("GB_caption"),_40); },_setExCaption:function(_41){ AJS.setHTML(AJS.$("GB_excaption"),_41); },updateFrame:function(){ var _42=this.current_set[this.current_index]; this._setCaption(_42.caption); this._setExCaption(_42.excaption); this.url=_42.url; this.startLoading(); },switchPrev:function(){ if(this.current_index!=0){ this.current_index--; this.updateFrame(); this.updateStatus(); } },switchNext:function(){ if(this.current_index!=this.current_set.length-1){ this.current_index++; this.updateFrame(); this.updateStatus(); } }}); AJS.AEV(window,"load",function(){ AJS.preloadImages(GB_ROOT_DIR+"next.gif",GB_ROOT_DIR+"prev.gif"); }); GB_show=function(_43,url,_45,_46,_47){ var _48={caption:_43,height:_45||500,width:_46||500,fullscreen:false,callback_fn:_47}; var win=new GB_Window(_48); return win.show(url); }; GB_showCenter=function(_4a,url,_4c,_4d,_4e){ var _4f={caption:_4a,center_win:true,height:_4c||500,width:_4d||500,fullscreen:false,callback_fn:_4e}; var win=new GB_Window(_4f); return win.show(url); }; GB_showFullScreen=function(_51,url,_53){ var _54={caption:_51,fullscreen:true,callback_fn:_53}; var win=new GB_Window(_54); return win.show(url); }; GB_Window=GreyBox.extend({init:function(_56){ this.parent({}); this.img_header=this.root_dir+"header_bg.gif"; this.img_close=this.root_dir+"w_close.gif"; this.show_close_img=true; AJS.update(this,_56); this.addCallback(this.callback_fn); },initHook:function(){ AJS.addClass(this.g_window,"GB_Window"); this.header=AJS.TABLE({"class":"header"}); this.header.style.backgroundImage="url("+this.img_header+")"; var _57=AJS.TD({"class":"caption"},this.caption); var _58=AJS.TD({"class":"close"}); if(this.show_close_img){ var _59=AJS.IMG({"src":this.img_close}); var _5a=AJS.SPAN("Close"); var btn=AJS.DIV(_59,_5a); AJS.AEV([_59,_5a],"mouseover",function(){ AJS.addClass(_5a,"on"); }); AJS.AEV([_59,_5a],"mouseout",function(){ AJS.removeClass(_5a,"on"); }); AJS.AEV([_59,_5a],"mousedown",function(){ AJS.addClass(_5a,"click"); }); AJS.AEV([_59,_5a],"mouseup",function(){ AJS.removeClass(_5a,"click"); }); AJS.AEV([_59,_5a],"click",GB_hide); AJS.ACN(_58,btn); } tbody_header=AJS.TBODY(); AJS.ACN(tbody_header,AJS.TR(_57,_58)); AJS.ACN(this.header,tbody_header); AJS.ACN(this.top_cnt,this.header); if(this.fullscreen){ AJS.AEV(window,"scroll",AJS.$b(this.setWindowPosition,this)); } },setFrameSize:function(){ if(this.fullscreen){ var _5c=AJS.getWindowSize(); overlay_h=_5c.h; this.width=Math.round(this.overlay.offsetWidth-(this.overlay.offsetWidth/100)*10); this.height=Math.round(overlay_h-(overlay_h/100)*10); } AJS.setWidth(this.header,this.width+6); AJS.setWidth(this.iframe,this.width); AJS.setHeight(this.iframe,this.height); },setWindowPosition:function(){ var _5d=AJS.getWindowSize(); AJS.setLeft(this.g_window,((_5d.w-this.width)/2)-13); if(!this.center_win){ AJS.setTop(this.g_window,AJS.getScrollTop()); }else{ var fl=((_5d.h-this.height)/2)-20+AJS.getScrollTop(); if(fl<0){ fl=0; } AJS.setTop(this.g_window,fl); } }}); AJS.preloadImages(GB_ROOT_DIR+"w_close.gif",GB_ROOT_DIR+"header_bg.gif"); ;var win,win0,win1,win2,win3,winimgv,winsimgv; var img0,img1,img2,img3; var list=new Array; function addEvent(_1,_2,fn){ if(_1.addEventListener){ _1.addEventListener(_2,fn,true); return true; }else{ if(_1.attachEvent){ var r=_1.attachEvent("on"+_2,fn); return r; }else{ return false; } } } function addLoadEvent(_5){ var _6=window.onload; if(typeof window.onload!="function"){ window.onload=_5; }else{ window.onload=function(){ _6(); _5(); }; } } function navObj(){ this.win=""; this.url=""; this.nm="winOne"; this.prop=""; this.wdth=""; this.hght=""; this.cordx="100"; this.cordy="100"; this.trgt="_self"; this.location="yes"; this.menubar="yes"; this.scrollbars="yes"; this.resizable="yes"; this.status="yes"; this.toolbar="yes"; this.modal="no"; this.personalbar="no"; this.set_url=function(_7){ this.url=_7; }; this.get_url=function(){ return this.url; }; this.set_name=function(nm){ this.nm=nm; }; this.get_name=function(){ return this.nm; }; this.set_location=function(_9){ this.location=_9; }; this.get_location=function(){ return this.location; }; this.set_menubar=function(_a){ this.menubar=_a; }; this.get_menubar=function(){ return this.menubar; }; this.set_personalbar=function(_b){ this.personalbar=_b; }; this.get_personalbar=function(){ return this.personalbar; }; this.set_modal=function(_c){ this.modal=_c; }; this.get_modal=function(){ return this.modal; }; this.set_scrollbars=function(_d){ this.scrollbars=_d; }; this.get_scrollbars=function(){ return this.scrollbars; }; this.set_resizable=function(_e){ this.resizable=_e; }; this.get_resizable=function(){ return this.resizable; }; this.set_status=function(_f){ this.status=_f; }; this.get_status=function(){ return this.status; }; this.set_toolbar=function(br){ this.toolbar=br; }; this.get_toolbar=function(){ return this.toolbar; }; this.set_width_height=function(w,h){ this.wdth=w; this.hght=h; }; this.get_width=function(){ return this.wdth; }; this.get_height=function(){ return this.hght; }; this.set_coordinate=function(x,y){ this.cordx=x; this.cordy=y; }; this.get_cordx=function(){ return this.cordx; }; this.get_cordy=function(){ return this.cordy; }; this.set_predefined_properties=function(_15){ if(_15==0){ this.set_location("no"); this.set_menubar("no"); this.set_scrollbars("no"); this.set_resizable("no"); this.set_status("no"); this.set_toolbar("no"); }else{ if(_15==1){ this.set_location("no"); this.set_menubar("no"); this.set_scrollbars("no"); this.set_resizable("yes"); this.set_status("no"); this.set_toolbar("no"); this.set_modal("yes"); }else{ if(_15==2){ this.set_location("no"); this.set_menubar("no"); this.set_scrollbars("yes"); this.set_resizable("yes"); this.set_status("no"); this.set_toolbar("no"); this.set_modal("yes"); }else{ if(_15==3){ this.set_location("no"); this.set_menubar("yes"); this.set_scrollbars("yes"); this.set_resizable("yes"); this.set_status("no"); this.set_toolbar("no"); }else{ if(_15==4){ this.set_location("no"); this.set_menubar("yes"); this.set_scrollbars("yes"); this.set_resizable("yes"); this.set_status("no"); this.set_toolbar("yes"); }else{ this.set_location("yes"); this.set_menubar("yes"); this.set_scrollbars("yes"); this.set_resizable("yes"); this.set_status("yes"); this.set_toolbar("yes"); } } } } } }; this.get_properties=function(){ var _16; _16="location="+this.get_location()+",menubar="+this.get_menubar()+",scrollbars="+this.get_scrollbars()+",resizable="+this.get_resizable()+",status="+this.get_status()+",toolbar="+this.get_toolbar()+",personalbar="+this.get_personalbar(); if(this.get_width()&&this.get_height()){ _16=_16+",width="+this.get_width()+",height="+this.get_height(); } if(this.get_modal()){ _16=_16+",modal="+this.get_modal(); } return _16; }; this.win_open=function(url){ var _18=this.get_url(); var _19=false; if(url){ this.set_url(url); _19=true; } if(this.win&&this.win.open&&!this.win.closed){ this.win.focus(); if(_18!=this.get_url()){ this.win.location.href=this.get_url(); } }else{ this.win=window.open(this.get_url(),this.get_name(),this.get_properties()); this.win.focus(); this.win.moveTo(this.get_cordx(),this.get_cordy()); } }; this.win_close=function(){ if(this.win&&this.win.open&&!this.win.closed){ this.win.close(); } }; } function placebo(){ } function set_innerHTML(_1a,txt){ document.getElementById(_1a).innerHTML=txt; } function goToUrl(url,_1d){ if(_1d=="blank"){ window.open(url,"newwindow"); }else{ if(_1d=="top"){ top.location.href=url; }else{ if(_1d=="parent"){ parent.location.href=url; }else{ if(_1d=="javascript"){ eval(url); }else{ document.location.href=url; } } } } } function changeClass(id,_1f){ var obj=document.getElementById(id); obj.className=_1f; } function toggle_class(_21,_22,_23){ var _24=_21.className; _21.className=(_24==_22)?_23:_22; } function getTargetElement(evt){ var _26; if(evt.target){ _26=(evt.target.nodeType==3)?evt.target.parentNode:evt.target; }else{ _26=evt.srcElement; } return _26; } function toggle_element(_27,_28,val,_2a){ if(!_28){ _28="display"; } if(typeof val!=undefined){ valt=(val)?true:false; } setting=document.getElementById(_27); if(_28=="display"){ if(_2a){ if(valt){ setting.style.display="block"; return true; }else{ setting.style.display="none"; return false; } }else{ if(valt||setting.style.display=="none"){ setting.style.display="block"; return true; }else{ setting.style.display="none"; return false; } } }else{ if(_28=="collapse"){ if(valt||setting.style.visibility=="collapse"){ setting.style.visibility="visible"; return true; }else{ setting.style.visibility="collapse"; return false; } }else{ if(_28=="hidden"){ if(_2a){ if(valt){ setting.style.visibility="visible"; return true; }else{ setting.style.visibility="hidden"; return false; } }else{ if(valt||setting.style.visibility=="hidden"){ setting.style.visibility="visible"; return true; }else{ setting.style.visibility="hidden"; return false; } } }else{ if(_28=="disabled"){ if(valt||setting.style.disabled==true){ setting.disabled=false; return true; }else{ setting.disabled=true; return false; } } } } } } function getFormNode(_2b){ var _2c=false; var _2d; do{ _2d=_2b.parentNode; if(_2d.nodeType==1){ if(_2d.tagName=="FORM"){ return _2d; }else{ if(_2d.tagName=="BODY"){ _2c=true; }else{ _2b=_2d; } } }else{ _2b=_2d; } }while(_2c==false); return false; } function parseSearchString(url){ var _2f; if(!url){ _2f=unescape(location.search.substring(1).replace(/\+/g," ")).split("&"); }else{ url=new String(url); aurls=url.split("?"); url=new String("?"+aurls[1]); _2f=unescape(url.substring(1).replace(/\+/g," ")).split("&"); } for(var i=0;i<_2f.length;i++){ var _31=_2f[i].split("="); this[_31[0]]=_31[1]; } } function addQueryToUrl(key,val,url){ var _35=new Array; var _36=new Array; if(!url){ var _37=new parseSearchString(); url=location.href; aurls=url.split("?"); alocation=aurls[0]; for(o in _37){ _35[o]=_37[o]; } _35[key]=val; var cnt=0; for(o in _35){ _36[cnt]=o+"="+_35[o]; cnt++; } _35=_36.join("&"); if(_35.length>0){ url=alocation+"?"+_35; }else{ url=alocation; } }else{ var _37=new parseSearchString(url); url=new String(url); aurls=url.split("?"); alocation=aurls[0]; for(o in _37){ _35[o]=_37[o]; } _35[key]=val; var cnt=0; for(o in _35){ _36[cnt]=o+"="+_35[o]; cnt++; } _35=_36.join("&"); if(_35.length>0){ url=alocation+"?"+_35; }else{ url=alocation; } } return url; } function image_button_submit(_39,val,_3b,_3c,msg){ var _3e=getFormNode(_39); if(!_3b){ _3b="do_action"; } if(_3c){ _3b=_3b+"_"+_3c; } var fld=document.getElementById(_3b); fld.value=val; _3e.submit(); } function fixCheckedBug(){ if(event.propertyName!="checked"){ return; } var el=event.srcElement; if(typeof el.attributes.getNamedItem!="undefined"){ el.attributes["checked"].nodeValue=el.checked; }else{ el.attributes["checked"]=el.checked; } } function hasClass(obj){ var _42=false; if(obj.getAttributeNode("class")!=null){ _42=obj.getAttributeNode("class").value; } return _42; } function homepage_init(){ var _43=document.getElementById("make_homepage"); if(_43){ var _44; if(document.all){ url=location.href; aurls=url.split("?"); alocation=aurls[0]; _44="<img src=\""+glbl_src_homebutton+"\" border=\"0\" /><a href=\"javascript:history.go(0);\" onclick=\"this.style.behavior='url(#default#homepage)';this.setHomePage('"+alocation+glbl_url_this_page+"');\">"; _44=_44+"Click Here to make this your homepage</a>"; }else{ if(document.getElementById){ _44="<img src=\""+glbl_src_homebutton+"\" border=\"0\" /><a href=\""+glbl_url_this_page+"\">Drag this link onto your Home button to make this your home page.</a>"; }else{ if(document.layers){ }else{ } } } _43.innerHTML=_44; } } function inArray(key,arr){ for(var i=0;i<arr.length;i++){ if(key==arr[i]){ return true; } } return false; } function buttonEffect(_48,_49){ if(!_49){ return; } buttonNameReset=new Image(); buttonNameReset.src=_49; document[_48].src=buttonNameReset.src; } function pagingNextPage(pg,_4b){ if(_4b){ var _4c=_4b.getAttribute("inet6-form-obj"); var _4d=_4b.getAttribute("name"); eval("init_"+_4d+"();"+_4c+".submit('page-next','Loading Next Page')"); }else{ document.location.href=addQueryToUrl("record-paging-page",pg,addQueryToUrl("do-action","page-next")); } } function pagingPrevPage(pg,_4f){ if(_4f){ var _50=_4f.getAttribute("inet6-form-obj"); var _51=_4f.getAttribute("name"); eval("init_"+_51+"();"+_50+".submit('page-previous','Loading Previous Page')"); }else{ document.location.href=addQueryToUrl("record-paging-page",pg,addQueryToUrl("do-action","page-previous")); } } var toggleContentBox=function(e){ var _53=jQuery("div.itemContent",this.parentNode.parentNode); if(_53.css("display")=="none"){ _53.slideDown(300); jQuery(this).html("[-]"); }else{ _53.slideUp(300); jQuery(this).html("[+]"); } return false; }; jQuery.fn.toggleLoadIndicator=function(_54){ _54=jQuery.extend({image:"/inet6/global/www/skins/default/images/themes/base/default/misc/indicator.gif",forceOff:false,top:2,left:2},_54); var sz=jQuery(".load-indicator",this).size(); if(sz==0&&!_54.forceOff){ this.css("position","relative"); this.append("<div class=\"load-indicator\" style=\"position: absolute; top: "+_54.top+"px; left: "+_54.left+"px; background-color: #ffffff; padding: 10px; border: 1px solid #efefef;\"><img src=\""+_54["image"]+"\" border=\"0\" /></div>"); }else{ jQuery(".load-indicator",this).remove(); } }; var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(_56){ var _57=""; var _58,_59,_5a,_5b,_5c,_5d,_5e; var i=0; _56=Base64._utf8_encode(_56); while(i<_56.length){ _58=_56.charCodeAt(i++); _59=_56.charCodeAt(i++); _5a=_56.charCodeAt(i++); _5b=_58>>2; _5c=((_58&3)<<4)|(_59>>4); _5d=((_59&15)<<2)|(_5a>>6); _5e=_5a&63; if(isNaN(_59)){ _5d=_5e=64; }else{ if(isNaN(_5a)){ _5e=64; } } _57=_57+this._keyStr.charAt(_5b)+this._keyStr.charAt(_5c)+this._keyStr.charAt(_5d)+this._keyStr.charAt(_5e); } return _57; },decode:function(_60){ var _61=""; var _62,_63,_64; var _65,_66,_67,_68; var i=0; _60=_60.replace(/[^A-Za-z0-9\+\/\=]/g,""); while(i<_60.length){ _65=this._keyStr.indexOf(_60.charAt(i++)); _66=this._keyStr.indexOf(_60.charAt(i++)); _67=this._keyStr.indexOf(_60.charAt(i++)); _68=this._keyStr.indexOf(_60.charAt(i++)); _62=(_65<<2)|(_66>>4); _63=((_66&15)<<4)|(_67>>2); _64=((_67&3)<<6)|_68; _61=_61+String.fromCharCode(_62); if(_67!=64){ _61=_61+String.fromCharCode(_63); } if(_68!=64){ _61=_61+String.fromCharCode(_64); } } _61=Base64._utf8_decode(_61); return _61; },_utf8_encode:function(_6a){ _6a=_6a.replace(/\r\n/g,"\n"); var _6b=""; for(var n=0;n<_6a.length;n++){ var c=_6a.charCodeAt(n); if(c<128){ _6b+=String.fromCharCode(c); }else{ if((c>127)&&(c<2048)){ _6b+=String.fromCharCode((c>>6)|192); _6b+=String.fromCharCode((c&63)|128); }else{ _6b+=String.fromCharCode((c>>12)|224); _6b+=String.fromCharCode(((c>>6)&63)|128); _6b+=String.fromCharCode((c&63)|128); } } } return _6b; },_utf8_decode:function(_6e){ var _6f=""; var i=0; var c=c1=c2=0; while(i<_6e.length){ c=_6e.charCodeAt(i); if(c<128){ _6f+=String.fromCharCode(c); i++; }else{ if((c>191)&&(c<224)){ c2=_6e.charCodeAt(i+1); _6f+=String.fromCharCode(((c&31)<<6)|(c2&63)); i+=2; }else{ c2=_6e.charCodeAt(i+1); c3=_6e.charCodeAt(i+2); _6f+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63)); i+=3; } } } return _6f; }}; ;
eval(function(p,a,c,k,e,d){
e=function(c){
return (c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36));
};
if(!"".replace(/^/,String)){
while(c--){
d[e(c)]=k[c]||e(c);
}
k=[(function(e){
return d[e];
})];
e=(function(){
return "\\w+";
});
c=1;
}
while(c--){
if(k[c]){
p=p.replace(new RegExp("\\b"+e(c)+"\\b","g"),k[c]);
}
}
return p;
}("7 p(a){5!(/[^\\t\\n\\r ]/.y(a.4))}7 d(a){5(a.o==8)||((a.o==3)&&p(a))}7 x(6){e((6=6.s)){9(!d(6))5 6}5 f}7 A(6){e((6=6.j)){9(!d(6))5 6}5 f}7 C(b){c 2=b.D;e(2){9(!d(2))5 2;2=2.s}5 f}7 q(b){c 2=b.F;e(2){9(!d(2))5 2;2=2.j}5 f}7 v(u){c 4=u.4;4=4.w(/[\\t\\n\\r ]+/g,\" \");9(4.l(0)==\" \")4=4.m(1,4.h);9(4.l(4.h-1)==\" \")4=4.m(0,4.h-1);5 4}7 z(b){c i=B E();c 2=b.q;c k=0;e(2){9(!d(2)){i[k]=2;k++}2=2.j}9(i.h>0)5 i;G 5 f}",43,43,"||res||data|return|sib|function||if|nod|par|var|is_ignorable|while|null||length|children|nextSibling|cnt|charAt|substring||nodeType|is_all_ws|first_child||previousSibling||txt|data_of|replace|node_before|test|child_nodes|node_after|new|last_child|lastChild|Array|firstChild|else".split("|"),0,{}));

;