vjo.ctype("vjo.darwin.domain.jaguar.justintimemessaging.JustInTimeMessaging").needs("vjo.darwin.domain.jaguar.ajax.AjaxUtils").protos({constructs:function(_1,_2,_3,_4){this.url=_1;this.tibId=_2;this.tibOService=_4;this.anchorId=_3;vjo.reg.register(this,this.anchorId);vjo.evt.addAjaxHandler(this,this.checkToDisplay,"Page.response");vjo.svc.addReqtHandler(this,this.onPageComplete,"Page.Complete")},onClick:function(){var _5=vjo.utl.getBaseUri(this.url,false);vjo.ajx.getRequest("",_5.getUri()).send();
return false},onPageComplete:function(){this.checkToDisplay()},onPdpTabChange:function(){var t=this;var tib=vjo.get(t.tibId);if(tib)tib.style.visibility="hidden"},checkToDisplay:function(){var t=this;var tib=vjo.get(t.tibId);var _8=vjo.get(t.anchorId);if(tib)if(_8&&_8.offsetHeight>0)vjo.darwin.core.tempinfobox1.TempInfoBox.sndMsg(this.tibOService,t.anchorId);else tib.style.display="none"}}).endType();
vjo.ctype("vjo.darwin.core.utils.ServiceUtils").needs("vjo.dsf.ServiceEngine","SE").needs("vjo.dsf.Message","M").props({reg:new Array,rgSv:function(_1,_2,_3){this.vj$.SE.registerSvcHdl(_1,_2);this.register(_1,_3)},rgSvRsp:function(_4,_5,_6){this.vj$.SE.registerSvcRespHdl(_4,_5);this.register(_4,_6)},sndM:function(_7){this.vj$.SE.handleRequest(typeof _7=="object"?_7:this.gM(_7))},gM:function(_8){return new this.vj$.M(_8)},register:function(_9,_a){if(!_9||!_a)return;var SE=vjo.darwin.core.utils.ServiceUtils;
var _c;if(!SE.reg[_a]){_c=[];SE.reg[_a]=_c}else _c=SE.reg[_a];_c.push(_9)},unRegister:function(_d){var _e=this.reg[_d];if(_e){var i=0;for(var l=_e.length;i<l;i++)delete vjo.dsf.ServiceEngine.inProcHdl.svcHdls[_e[i]]}}}).endType();
vjo.ctype("vjo.darwin.core.tempinfobox1.TempInfoBox").needs("vjo.dsf.Element","E").needs("vjo.darwin.core.utils.ServiceUtils","SE").protos({m:null,st:0,S:null,constructs:function(_1){var t=this;var M=t.m=_1;var S=t.S=t.vj$.SE;var I=M.olpJsId;var f1=function(m){t.open(m)};var f2=function(){t.close()};S.rgSv(M.OSN+I,f1);S.rgSv(M.CSN+I,f2)},open:function(_7){var t=this;var E=t.vj$.E;var S=t.S;var _9=S.gM(t.m.OPO);_9.sAnchorId=_7.ancId;_9.ho=_7.ho;S.sndM(_9);var mD=E.get(t.m.cntId);var msg=S.gM(t.m.cntSN);
if(mD!=null)msg.cnt=mD;S.sndM(msg);clearTimeout(t.st);var f=function(){t.close()};if(t.m.ODR)t.st=setTimeout(f,t.m.ODR);var ss=vjo.darwin.core.tempinfobox1.TempInfoBox;if(ss.cur&&ss.cur!=t)ss.cur.close();if(!t.m.ex)ss.cur=t},close:function(){var t=this;var S=t.S;var cMsg=S.gM(t.m.CSN);cMsg.bCheckState=true;S.sndM(t.m.OPC)}}).props({cur:null,sndMsg:function(_f,_10,_11){var o=vjo.darwin.core.utils.ServiceUtils;var m=o.gM(_f);m.ancId=_10;m.ho=_11;o.sndM(m)}}).endType();
vjo.ctype("vjo.darwin.core.overlaypanel3.OverlayPanel").needs("vjo.dsf.client.Browser","B").needs("vjo.dsf.Element","E").needs("vjo.dsf.document.Shim","S").needs("vjo.dsf.EventDispatcher","EV").needs("vjo.darwin.core.utils.ServiceUtils","SE").needs("vjo.Registry").protos({m:null,sId:null,Open:false,sJsId:null,cW:0,minTries:0,maxTries:0,isPromoted:false,promote2bodyFunc:null,ct:null,st:null,mst:-1,refE:null,ifm:null,oOlp:null,fCall:false,cusPos:null,ctr:null,J:null,LST:["A","INPUT","TEXTAREA","SELECT",
"BUTTON","IFRAME"],skip:false,TE:false,sa:null,constructs:function(_1){var t=this;var J=t.J=t.vj$;var B;var M=t.m=_1;var E=J.E;var I=t.sId=M.CId;t.Open=false;t.sJsId=M.CJId;t.cW=M.cW;t.minTries=0;t.maxTries=10;t.isPromoted=false;t.promote2bodyFunc=function(){if(t.minTries>=t.maxTries)return;var _3=document.documentElement.doScroll;try{if(_3)_3("left");t.J.E.promoteToBody(t.sId);t.isPromoted=true}catch(err){t.minTries++;setTimeout(t.promote2bodyFunc,200)}};t.rgEH("load",t.promote2bodyFunc);t.ct=null;
t.st=null;t.mst=-1;t.refE=null;t.ifm=null;B=J.B;t.IE=B.bIE&&B.iVer<7;M.sOn=!t.IE;t.fCall=false;t.AC=M.ACC;var f1=function(m){t.open(m)};var f2=function(m){t.close(m)};var f3=function(m){var cl=J.E.get(t.sId+"_cbtn"||t.sId+"_ctxt");var ms=t.m.HM;try{if(ms&&cl){t.sa.focus();return}else if(t.refE){if(t.m.ICOMO&&t.TE)t.skip=true;t.refE.focus()}}catch(ex){t.skip=false}if(t.m.ICOMO||!cl)t.close(m)};t.cusPos=null;J.SE.rgSv(M.OSN+I,f1,t.sId);J.SE.rgSv(M.CSN+I,f2,t.sId);J.SE.rgSvRsp(M.CSN+"ALL",f2,t.sId);
J.SE.rgSv("ALL"+M.CSN,f2,t.sId);if(t.AC)J.EV.addEventListener(M.CId+"_ea","focus",f3,t)},isTE:function(_9){var t=this;var f=false;var i=0;for(var l=t.LST.length;i<l;i++)if(t.LST[i]==_9.tagName){f=true;break}if(_9.getAttribute("tabindex"))f=true;if(i==0&&!_9.getAttribute("href"))f=false;return f},getCtr:function(t){if(!t.ctr)t.ctr=t.J.E.get(t.sId+"_olp_pad");var _d=t.ctr.parentNode;if(t.J.B.bSafari)if(_d)_d.style.height="100%";return t.ctr},getOlp:function(t){if(!t.oOlp)t.oOlp=t.J.E.get(t.sId);return t.oOlp},
setMdl:function(_f,_10){var t=this;var m=t.m;m.CD=_f["2"]?+_f["2"]:0;m.OD=_f["3"]?+_f["3"]:0;m.ScrlH=_f["7"]?+_f["7"]:0;m.HOF=_f["9"]?+_f["9"]:0;m.VOF=_f["10"]?+_f["10"]:0;var td=t.J.E.get(t.sId+"_olp_cnt");if(td)td.parentNode.height=_f["20"]?+_f["20"]:"auto";var tbl=t.J.E.get(t.sId);if(tbl)tbl.firstChild.width=_f["21"]?+_f["21"]:0;var _14=parseInt(_f["22"]);var th=vjo.getType("vjo.darwin.core.overlaypanel3.OverlayPanel");m.scrbl=th.i2B(_14,0);var ce=t.J.E.get(t.sId+"_cbtn");if(ce)ce.style.display=
th.i2B(_14,1)?"inline":"none";m.ICOMO=th.i2B(_14,2);m.COB=th.i2B(_14,3);m.DRG=th.i2B(_14,5);m.SIC=th.i2B(_14,6);m.HM=th.i2B(_14,7);var _16=parseInt(_f["23"]);m.HTSC=th.i2B(_16,3);if(th.i2B(_14,4)||m.DRG||th.i2B(_16,0)){t.dU=vjo.getType("vjo.darwin.core.utils.DragUtils");if(th.i2B(_14,4))t.dU=new t.dU(t.sId+"_ttl",t.sId);else if(th.i2B(_16,0))t.dU=new t.dU(t.sId+"tid",t.sId);else t.dU=new t.dU(t.sId,t.sId);t.dU.regDrag()}else if(t.dU)t.dU.detachEvts();var _17=t.J.E.get(_10+"cnh");if(_17){var ob=new Object;
ob.cnt=_17;t.setCon(ob)}var ttl=t.J.E.get(t.sId+"_ttl");var ttn=t.J.E.get(_10+"_ttl");if(ttl.firstChild)t.J.E.get(t.m.CHI).appendChild(ttl.firstChild);if(ttn&&ttl)ttl.appendChild(ttn);m.HJId=m.HJId.replace("njs","");if(!th.i2B(_16,1)){m.HJId=m.HJId+"njs";t.J.E.get(t.sId+"arid").style.display="none"}},setCon:function(msg){var _1c=msg.cnt;if(!_1c)return;var t=this;var cnt=t.getCtr(t);var cntC=cnt.childNodes;var l=cntC.length;var isStr=typeof _1c=="string";if(isStr)cnt.innerHTML=_1c;else{for(var i=0;i<
l;i++){var s=cntC[i];if(s.innerHTML!=undefined){if(s.getAttribute("ex")!=null)continue;s.parentNode.removeChild(s)}}cnt.appendChild(_1c)}t.posPanel(t.oOlp,t.refE)},onResize:function(t){if(!t)t=this;if(t.Open&&(t.refE||t.m.SIC))t.posPanel(t.oOlp,t.refE)},regEvt:function(){var t=this;var rF=function(){t.onResize(t)};if(!t.m.STK){t.rgEH("resize",rF);t.rgEH("scroll",rF)}var f1=function(e){if(!t.Open)return;var el=e.nativeEvent.srcElement||e.nativeEvent.target;if(!t.m.COB)return;for(;el;){if(el.id==t.sId||
t.refE&&t.refE.id==el.id)return;el=el.parentNode}t.close()};t.J.EV.add("body","click",f1,t);t.fCall=true},rgEH:function(evt,hnd){this.J.EV.addEventListener(window,evt,hnd,window)},setPositionHandler:function(_27){this.cusPos=_27},open:function(_28){var t=this;var cnt=t.getCtr(t);var rid;var mm;var f4=function(){t.skip=false};if(!t.isPromoted)t.promote2bodyFunc();t.getOlp(t);if(t.skip&&t.AC&&t.m.ICOMO){t.skip=false;if(t.refE)t.refE.focus();return}if(_28){rid=_28.sAnchorId,cnt=t.ctr;t.refE=rid&&rid.getAttribute?
rid:t.J.E.get(rid),mm=_28.model;t.setCon(_28);mm?t.setVals(mm):"";if(_28.dspModel)t.setMdl(_28.dspModel,_28.cmpId);if(mm){if(mm.posHandler)t.cusPos=mm.posHandler;if(mm.VOF)t.m.VOF=mm.VOF;if(mm.HOF)t.m.HOF=mm.HOF}if(_28.ho!=null)t.m.ICOMO=_28.ho}!t.fCall?t.regEvt():"";if(t.ctr)t.ctr.scrollTop=0;if(t.m.ICOMO)clearTimeout(t.ct);var f=function(){if(!t.ifm&&t.oOlp&&t.IE)t.ifm=t.J.S.add(t.oOlp);var _2b=t.refE;if(_2b||t.m.SIC)t.posPanel(t.oOlp,_2b);else{t.oOlp.style.visibility="hidden";return}t.oOlp.style.visibility=
"visible";t.Open=true;t.sa=t.J.E.get(t.m.CId+"_sa");if(t.sa&&t.Open&&t.AC)try{if(!(t.AC&&t.refE&&t.refE.getAttribute&&t.refE.getAttribute("ska")))t.sa.focus()}catch(ex){}if(t.refE&&t.isTE(t.refE))t.TE=true;if(t.refE&&t.AC&&t.m.ICOMO){t.J.EV.detachHandler(t.refE.id,"focus",f4);t.J.EV.add(t.refE.id,"focus",f4,t)}t.J.SE.sndM(t.m.POSN+t.sId);var _2c=t.J.SE.gM(t.m.MCO);_2c.containerId=t.sId;if(t.m.HM)t.J.SE.sndM(_2c)};clearTimeout(t.st);t.st=setTimeout(f,t.m.OD)},setVals:function(m){var t=this;var md=
t.m;m[4]?md.scrbl=m[4]=="true"?true:false:"";m[5]?md.scrlH=parseInt(m[5]):0;m[1]?md.HA=m[1]:"";m[7]?md.VA=m[7]:"";var ce=t.J.E.get(t.sId+"_cbtn");if(ce)ce.style.display=m[9]=="true"?"inline":"none";md.ICOMO=m[12]=="true"?true:false;md.HOF=m[10]!=null?parseInt(m[10]):0;md.VOF=m[11]!=null?parseInt(m[11]):0},posPanel:function(olp,_31){var u="px";var t=this;var m=t.m;var h=t.cusPos?t.cusPos:vjo.Registry.get(m.HJId);if(!h)return;var p=h.position(olp,_31,m.HA,m.VA,m);if(t.ifm){var _34=t.ifm.style;_34.top=
"0"+u;_34.left="0"+u;_34.width=p[2]+u;_34.height=p[3]+u}},setMState:function(_35){this.mst=_35},onMout:function(){var t=this;var f=function(){if(t.mst===0&&t.m.ICOMO){t.mst=-1;t.close()}};setTimeout(f,50)},onMin:function(){if(this.m.ICOMO)clearTimeout(this.ct)},close:function(_38){var t=this;var f=function(){if(!t.oOlp)return;var s=t.oOlp.style;s.visibility="hidden";s.left="-1000px";t.Open=false;var _3b=_38&&_38.isRetire;if(!_3b){t.J.SE.sndM(t.m.PCSN+t.sId);if(t.m.HM)t.J.SE.sndM(t.m.MCI)}};if(_38&&
t.AC){var aid=_38.sAnchorId;var flg=aid&&aid==t.sId+"_cbtn"||aid==t.sId+"_ctxt";if(flg)if(t.refE){if(t.m.ICOMO&&t.TE)t.skip=true;try{t.refE.focus()}catch(ex){t.skip=false}}}clearTimeout(t.ct);t.ct=setTimeout(f,_38&&_38.ignDelay?0:t.m.CD)}}).props({olpMsg:function(_3d,_3e,cnt,_40,ho,_42){var o=this.vj$.SE;var m=o.gM(_3d);m.sAnchorId=_3e;if(cnt)m.cnt=cnt;if(_40)m.model=_40;if(ho!=null)m.ho=ho;if(_42!=null)m.ignDelay=_42;o.sndM(m)},sendMessage:function(_44,_45){this.olpMsg(_44,_45.anchorId,_45.cnt,_45)},
registerEvent:function(_46,_47,_48,_49,_4a){var t=this;var handler=vjo.dsf.EventDispatcher;var f1=function(){t.sendMessage(_47,_46)};var f2=function(){t.sendMessage(_48,_46)};handler.add(_46.anchorId,_49,f1,t);handler.add(_46.anchorId,_4a,f2,t)},i2B:function(num,idx){var val=num.toString(2);var l=val.length-1;var ds=idx-l<0?-(idx-l):idx-l;if(idx>=val.length)return false;return val.charAt(ds)==1}}).endType();
vjo.ctype("vjo.darwin.core.bubble3.Bubble").needs("vjo.dsf.Element","E").needs("vjo.darwin.core.utils.ServiceUtils","SE").needs("vjo.darwin.core.overlaypanel3.OverlayPanel","OP").protos({S:null,m:null,om:null,OCW:0,OP:null,content:null,constructs:function(_1,_2){var t=this;var M=t.m=_1;var S=t.S=vjo.darwin.core.utils.ServiceUtils;var I=M.cmpId;var f1=function(m){t.open(m)};var f2=function(m){t.close(m)};t.om=_2;t.OCW=M.OCW;t.OP=t.vj$.OP;t.c=null;S.rgSv(M.POSN+I,f1);S.rgSv(M.PCSN+I,f2)},open:function(_6){var t=
this;var E=t.vj$.E;var S=t.S;var sA=t.m.stArr;var OCW=t.OCW;var mD=E.get(t.m.cntId);var cn;if(mD!=null)cn=t.setDynCnt(mD);else{var _8=E.createElement("div");_8.style.width=OCW+"px";_8.innerHTML=t.m.cnt;cn=t.setDynCnt(_8)}t.OP.olpMsg(t.m.OSN+t.m.olpDivId,_6.ancId,cn,t.om,_6.ho);if(t.m.enGp){var ss=vjo.darwin.core.bubble3.Bubble;if(ss.cur&&ss.cur!=t)ss.cur.close();ss.cur=t}},close:function(){var t=this;t.OP.olpMsg(t.m.CSN+t.m.olpDivId,"")},setContent:function(o){this.content=o},setDynCnt:function(_c){var t=
this;var cn=t.content;var OCW=t.OCW;var con;if(cn!=null)if(typeof cn!="string")con=cn;else{if(!t.tD)t.tD=t.vj$.E.createElement("div");var _e=t.tD;_e.innerHTML=cn;_e.style.width=OCW+"px";con=_e}else{if(!t.c){_c.style.display="block";t.c=_c;if(_c.parentNode)_c.parentNode.removeChild(_c)}con=t.c}return con}}).props({cur:null,sndMsg:function(_f,_10,_11){var o=vjo.darwin.core.utils.ServiceUtils;var m=o.gM(_f);m.ancId=_10;m.ho=_11;o.sndM(m)}}).endType();
vjo.ctype("vjo.darwin.core.overlaypanel3.ZIndexUtil").props({getNewZIndex:function(_1,_2,_3,_4){if(!_3&&!_4)return 0;var z=_1==false?_2:_3;z=_4&&_4>=z?_4:z;return z+10}}).endType();
vjo.ctype("vjo.darwin.core.overlaypanel3.PositionElement").needs("vjo.darwin.core.overlaypanel3.ZIndexUtil","ZU").needs("vjo.darwin.core.utils.WindowDimension").needs("vjo.dsf.Element").protos({cBT:false,W:null,constructs:function(_1){this.cBT=_1;this.W=vjo.darwin.core.utils.WindowDimension},position:function(_2,_3,_4,_5,_6){var t=this;var tp="top";var bt="bottom";var rt="right";var lt="left";var u="px";var oc=vjo.dsf.Element.get(_2.id+"_olp_pad");var ocS=oc.style;var id=_6.overlayCompId;var scrbl=
_6.scrbl;var scrlH=_6.scrlH;var md=_6;var z=0;var olpS=_2.style;ocS.height=scrlH>0?scrlH+u:"auto";ocS.overflowY=scrlH>0?"auto":"";ocS.overflowX="";olpS.left="-1000px";olpS.top="-1000px";var _8=25;var P=t.P;var hof=_6.HOF;var vof=_6.VOF;var iW=_2.offsetWidth;var iH=_2.offsetHeight;var W=t.W;var wD=W.getBrowserDimension();var aS=W.getScrollXY();var finalZ=0;var _a;var _b;if(_6.SIC){var _c=_6.CID;var con=vjo.dsf.Element.get(_c);var cW=_c?con.offsetWidth:wD[0];var cH=_c?con.offsetHeight:wD[1];var cd=
_c?t.W.getOffsetPosition(con):aS;_a=(cW-iW)/2+cd[0];_b=(cH-iH)/2+cd[1];if(iH>wD[1]+_8)_b=aS[1]+_8;finalZ=cd[2]?cd[2]:finalZ}else if(_3){var rH=_3.offsetHeight;var rW=_3.offsetWidth;var oP=W.getOffsetPosition(_3);var rX=oP[0];var rY=oP[1];var x=rX-aS[0];var y=rY-aS[1];var spB=wD[1]-y-rH-_8;var spT=y-_8;var ovh=0;var vAl=bt;var hAl;if(iH+vof<spB&&_5=="auto"||_5==bt)_b=rY+rH+vof;else if(iH+vof<spT&&_5=="auto"||_5==tp){_b=rY-iH-vof;vAl=tp}else if(t.cBT)_b=aS[1];else{if(spB>spT){_b=rY+rH+vof;ovh=spB}else{ovh=
spT;_b=scrbl&&ovh>55?rY-spT:rY-iH-vof;vAl=tp}if(scrbl&&ovh>55){ocS.overflowY="auto";ocS.overflowX="hidden";ocS.height=scrlH>0?scrlH+u:ovh-_8+u}}iW=_2.offsetWidth;rW=_3.offsetWidth;var _e=W.getOffsetPosition(_3);rX=_e[0];if(iW+_8+hof<wD[0]-x&&_4=="auto"||_4==lt){_a=rX+hof+hof;hAl=lt}else if(iW+_8+hof<x&&_4=="auto"||_4==rt){_a=rX+rW-hof-iW+8;hAl=rt}else _a=(wD[0]-iW)/2;finalZ=oP[2]?oP[2]:finalZ}else return;olpS.left=_a+u;olpS.top=_b+u;z=t.vj$.ZU.getNewZIndex(md.HM,md.zid,md.mzid,finalZ);olpS.zIndex=
z;return[_a,_b,iW,iH,hAl,vAl,z]}}).endType();
vjo.ctype("vjo.darwin.core.overlaypanel3.bubbleoverlaypanel.PositionBubble").needs("vjo.dsf.Element","E").needs("vjo.darwin.core.utils.WindowDimension","W").needs("vjo.darwin.core.overlaypanel3.ZIndexUtil","ZU").protos({st:null,aId:null,ofst:0,sof:0,rsof:0,dPT:false,constructs:function(_1,_2,_3,_4,_5,_6){var t=this;t.st=_1;t.aId=_2;t.ofst=_3;t.sof=_4;t.rsof=_5;t.dPT=_6},position:function(_8,rE,_a,_b,_c){var t=this;var tp="top";var bt="bottom";var rt="right";var lt="left";var u="px";var md=_c;var z=
0;var _e=t.ofst;var yof=parseInt(md.VOF);var dPT=t.dPT;var sOn=md.sOn;var _f=parseInt(md.HOF);var olpS=_8.style;var iW=_8.offsetWidth;var iH=_8.offsetHeight;var W=t.vj$.W;var dim=W.getBrowserDimension();var iSW=dim[0];var iSH=dim[1];var aSL=W.getScrollXY();var iSX=aSL[0];var iSY=aSL[1];var rEH;var rEW;var offsetP;var finalY;var finalX;var ac;if(rE){rEH=rE.offsetHeight;rEW=rE.offsetWidth;offsetP=W.getOffsetPosition(rE);var rEX=offsetP[0];var rEY=offsetP[1];var x=rEX-iSX;var y=rEY-iSY;var vAl;var hAl;
var hgt=y;var fyVal=rEY-iH-yof;var fyVal2=rEY+(yof+t.sof)+rEH;var p="top";var b="bottom";var finalZ=0;if(!dPT){hgt=iSH-y;p=b;fyVal=fyVal2}if(iH+_e+yof<hgt&&_b=="auto"||_b==p){finalY=fyVal;vAl=p}else if(!dPT){finalY=rEY-iH;vAl="top"}else{finalY=fyVal2;vAl=b}iW=_8.offsetWidth;rEW=rE.offsetWidth;offsetP=W.getOffsetPosition(rE);rEX=offsetP[0];if(iW+_e+_f<iSW-x-rEW&&_a=="auto"||_a==lt){finalX=rEX+rEW-12;hAl=lt}else{finalX=rEX+rEW-iW+t.rsof+12;hAl=rt}finalZ=offsetP[2]?offsetP[2]:finalZ}olpS.left=finalX+
u;olpS.top=finalY+u;z=t.vj$.ZU.getNewZIndex(md.HM,md.zid,md.mzid,finalZ);olpS.zIndex=z;var sA=t.st;var bs=sA[0];var arr=t.vj$.E.get(t.aId);var as=arr.style;var tt="-13"+u;var sp=bs+" ";as.display="block";if(hAl==lt&&vAl==bt)ac=sp+sA[1];else if(hAl==lt&&vAl==tp){ac=sp+sA[2];if(!sOn)as.bottom=tt}else if(hAl==rt&&vAl==tp){ac=sp+sA[3];if(!sOn)as.bottom=tt}else ac=sp+sA[4];arr.className=ac;return[finalX,finalY,iW,iH,hAl,vAl,z]}}).endType();

