
vjo.ctype("vjo.dsf.document.Text").needs("vjo.dsf.Element").props({autoClear:function(_1){var o=vjo.dsf.Element.get(_1);if(o){if(o.defaultValue==o.value){o.value="";}}}}).endType();

vjo.ctype("vjo.dsf.window.utils.VjWindow").props({open:function(_1,_2,_3,_4,_5,_6,_7){if(_5){var _8=(window.screen.width-_6)/2;var _9=(window.screen.height-_7)/2;_3+=",left="+_8+",top="+_9;}
return window.open(_1,_2,_3,_4);},location:function(_a){document.location.href=_a;},alert:function(_b){window.alert(_b);},confirm:function(_c){return window.confirm(_c);}}).endType();

vjo.ctype("vjo.darwin.core.memberbadge.MemberBadge").needs(["vjo.dsf.window.utils.VjWindow"]).props({openLink:function(_1){if(_1){var _2=_1;var _3=window.screen.width;vjo.dsf.window.utils.VjWindow.open(_1,"","width=440,height=500,resizable=yes,top=0,left="+(_3-450)+",location=no,menubar=no,scrollbars=no,status=no",false,false);return false;}}}).endType();

vjo.ctype("vjo.darwin.core.basememberbadge.BaseMemberBadge").needs(["vjo.dsf.window.utils.VjWindow"]).props({openLink:function(_1){if(_1){var _2=_1;var _3=window.screen.width;vjo.dsf.window.utils.VjWindow.open(_1,"","width=440,height=500,resizable=yes,top=0,left="+(_3-450)+",location=no,menubar=no,scrollbars=no,status=no",false,false);return false;}}}).endType();

vjo.ctype("vjo.dsf.document.Shim").needs("vjo.dsf.client.Browser").props({add:function(_1,_2,_3){var f,p="px",w,h,s;if(this.check()){w=_1.offsetWidth;h=_1.offsetHeight;w+=_2?_2:0;h+=_3?_3:0;f=document.createElement("IFRAME");s=f.style;s.width=w+p;s.height=h+p;s.filter="chroma(color='white')";f.frameBorder=0;s.position="absolute";s.left="0"+p;s.top="0"+p;s.zIndex="-1";s.filter="Alpha(Opacity=\"0\")";if(document.location.protocol=="https:"){f.src="https://securepics.ebaystatic.com/aw/pics/s.gif";}
_1.appendChild(f);return f;}
return null;},remove:function(_6,_7){if(this.check()){if(_7&&_7.parentNode){_7.parentNode.removeChild(_7);}}},check:function(){var B=vjo.dsf.client.Browser;return(B.bIE||B.bFirefox);}}).endType();

vjo.ctype("vjo.darwin.core.menu.Menu").needs("vjo.dsf.client.Browser").needs("vjo.dsf.Element").needs("vjo.dsf.document.Positioning").needs("vjo.dsf.document.Shim").protos({sElementId:null,sLayerId:null,iOffsetWidth:0,iOffsetHeight:0,iTimer:0,bRelContainer:null,sLayerTimer:0,bLeftAlign:null,iframeShim:null,constructs:function(_1,_2,_3,_4,_5,_6,_7){this.sElementId=_1;this.sLayerId=_2;this.iOffsetWidth=_3;this.iOffsetHeight=_4;this.iTimer=_5;this.bRelContainer=_6;this.sLayerTimer=0;this.bLeftAlign=_7;},showLayer:function(){var P=vjo.dsf.document.Positioning,E=vjo.dsf.Element;this.clearCloseLayerTimer();var _9=null;var _a=E.get(this.sLayerId);var _b=E.get(this.sElementId);var _c=this.bRelContainer?0:P.getOffsetLeft(_b);var _d=_c+this.iOffsetWidth;if(!this.bLeftAlign){_d-=(_a.offsetWidth-_b.offsetWidth);}
var _e=this.bRelContainer?0:P.getOffsetTop(_b);var _f=_e+(_b.offsetHeight)+this.iOffsetHeight;var B=vjo.dsf.client.Browser;if(B.bIE&&B.iVer==7){_f-=20;}
_a.style.left=(_d)+"px";_a.style.top=(_f)+"px";E.toggleVisibility(this.sLayerId,true);this.iframeShim=vjo.dsf.document.Shim.add(_a);},closeLayer:function(){vjo.dsf.Element.toggleVisibility(this.sLayerId,false);var _11=document.getElementById(this.sLayerId);if(this.iframeShim){vjo.dsf.document.Shim.remove(_11,this.iframeShim);}},startCloseLayerTimer:function(){this.sLayerTimer=setTimeout(vjo.hitch(this,this.closeLayer),this.iTimer);},clearCloseLayerTimer:function(){clearTimeout(this.sLayerTimer);}}).endType();

vjo.ctype("vjo.darwin.app.feedback.pres.component.horizontalmenu.HorizontalMenu").needs("vjo.dsf.Element").props({changeStyle:function(){if(vjo.dsf.Element.get("horizontalMenu-drop")){vjo.dsf.Element.get("horizontalMenu-drop").style.display="inline";}
if(vjo.dsf.Element.get("horizontalMenu-drop-yukon")){vjo.dsf.Element.get("horizontalMenu-drop-yukon").style.display="inline";}
if(vjo.dsf.Element.get("horizontalMenu-drop-yukon-PulldownMenu")){vjo.dsf.Element.get("horizontalMenu-drop-yukon-PulldownMenu").style.display="inline";}}}).endType();

vjo.ctype("vjo.darwin.core.cc.VjCharCounter").needs("vjo.dsf.typeextensions.string.TokenReplacement").needs("vjo.dsf.typeextensions.string.Comparison").needs("vjo.dsf.Element").protos({id:null,maxChars:0,noCharLeft:null,singleCharLeft:null,multipleCharsLeft:null,divId:null,alreadyCleared:false,bEuc:false,constructs:function(_1,_2,_3,_4,_5,_6){this.maxChars=_2;this.noCharLeft=_5[2];this.singleCharLeft=_5[1];this.multipleCharsLeft=_5[0];this.id=_3;this.divId=_4;this.alreadyCleared=false;this.bEuc=_6;this.updateDiv();return this;},checkMax:function(){var _7=vjo.dsf.Element.get(this.id);var _8=_7.value;var _9=this.determineLength(_8);var _a=this.maxChars;var _b=_a-_9;if(_9>_a){var _c=_7.scrollTop;var i=_a;if(_7.tagName.toLowerCase().indexOf("textarea")!=-1){i=i-this.getNoOfCRs(_8);if(_8.substr(i)!="\r\n"){i++;_7.value=_8.substr(0,i-1);}else{_7.value=_8.substr(0,i);}}
_7.scrollTop=_c;}
return _b;},getNoOfCRs:function(v){var _f=new RegExp("\r\n","g");var _10=v.match(_f);var l=0;if(_10!==null){var _12=_10.length;if(_12>=1){l=_12;}
return l-1;}
return l;},checkLength:function(v){var _14=0;if(!this.bEuc){return v.length;}
var _15=encodeURIComponent(v);if(_15.indexOf("%")!=-1){_14=_15.split("%").length-1;if(_14==0){_14++;}
var tmp=_15.length-(_14*3);_14=_14+tmp;}else{_14=_15.length;}
return _14;},determineLength:function(v){if(typeof(v)=="string"){var _18=new RegExp("\n","g");var _19=v.match(_18);var _1a=new RegExp("\r\n","g");var _1b=v.match(_1a);if(_19!=null&&_1b==null){var l=1;var _1d=_19.length;if(_1d>=1){l=_1d;}
v=v.replace(_18,"");l=l+this.checkLength(v);return l;}else{if(_1b!=null){var l=1;var _1d=_1b.length;if(_1d>=1){l=_1d*2;}
v=v.replace(_1a,"");l=l+this.checkLength(v);return l;}else{return this.checkLength(v);}}}
return 0;},updateDiv:function(){var _1e=vjo.dsf.Element.get(this.divId);var _1f=this.checkMax();var _20="";if(_1f<=0){_20=this.noCharLeft;}else{if(_1f==1){_20=this.singleCharLeft;}else{_20=this.multipleCharsLeft;}}
_1e.innerHTML=(_20.replaceTokensEx("##n##",_1f));}}).endType();

vjo.ctype("vjo.darwin.core.pagination.Pagination").needs("vjo.dsf.Element").props({changeImg:function(_1,_2){var _3=vjo.dsf.Element.get(_2);_3.src=_1;}}).endType();

vjo.ctype("vjo.dsf.window.utils.VjWindowUtils").props({getBrowserWindowHeight:function(){var s=self;var d=document;var de=d.documentElement;if(s.innerHeight){return s.innerHeight;}else{if(de&&de.clientHeight){return de.clientHeight;}}
return d.body.clientHeight;},getBrowserWindowWidth:function(){var s=self;var d=document;var de=d.documentElement;if(s.innerWidth){return s.innerWidth;}else{if(de&&de.clientWidth){return de.clientWidth;}}
return d.body.clientWidth;},getScrollXY:function(){var _7=0,scrOfY=0;if(typeof(window.pageYOffset)=="number"){scrOfY=window.pageYOffset;_7=window.pageXOffset;}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){scrOfY=document.body.scrollTop;_7=document.body.scrollLeft;}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){scrOfY=document.documentElement.scrollTop;_7=document.documentElement.scrollLeft;}}}
return[_7,scrOfY];},toPixels:function(_8){return _8+"px";},scrollTop:function(){if(window.pageYOffset!=null){return window.pageYOffset;}
if(document.documentElement){return Math.max(document.documentElement.scrollTop,document.body.scrollTop);}else{return document.body.scrollTop;}},scrollLeft:function(){if(window.pageXOffset!=null){return window.pageXOffset;}
if(document.documentElement){return Math.max(document.documentElement.scrollLeft,document.body.scrollLeft);}else{return document.body.scrollLeft;}},scrollWidth:function(){if(document.documentElement){return document.documentElement.scrollWidth;}else{return Math.max(document.body.scrollWidth,document.body.offsetWidth);}},scrollHeight:function(){if(document.documentElement){return document.documentElement.scrollHeight;}else{return Math.max(document.body.scrollHeight,document.body.offsetHeight);}},clientTop:function(){if(document.documentElement){return document.documentElement.clientTop;}else{return document.body.clientTop;}},clientLeft:function(){if(document.documentElement){return document.documentElement.clientLeft;}else{return document.body.clientLeft;}},clientWidth:function(){var _9=document.documentElement;if(_9&&window.innerWidth){return Math.min(_9.clientWidth,window.innerWidth);}else{if(_9&&_9.clientWidth){return _9.clientWidth;}else{if(window.innerWidth){return window.innerWidth;}else{if(document.body.clientWidth){return document.body.clientWidth;}else{return document.body.offsetWidth;}}}}},clientHeight:function(){var _a=document.documentElement;if(_a&&window.innerHeight){return Math.min(_a.clientHeight,window.innerHeight);}else{if(_a&&_a.clientHeight){return _a.clientHeight;}else{if(window.innerHeight){return window.innerHeight;}else{if(document.body.clientHeight){return document.body.clientHeight;}else{return document.body.offsetHeight;}}}}},browserTop:function(){return(window.innerHeight)?window.screenY+(window.outerHeight-window.innerHeight):window.screenTop;},browserLeft:function(){return(window.innerWidth)?window.screenX+(window.outerWidth-window.innerWidth):window.screenLeft;},eventTop:function(_b){if(_b.pageY!=null){return _b.pageY;}
if(document.documentElement){return _b.clientY+Math.max(document.documentElement.scrollTop,document.body.scrollTop);}else{return _b.clientY+document.body.scrollTop;}},eventLeft:function(_c){if(_c.pageX!=null){return _c.pageX;}
if(document.documentElement){return _c.clientX+Math.max(document.documentElement.scrollLeft,document.body.scrollLeft);}else{return _c.clientX+document.body.scrollLeft;}},offsetTop:function(_d){var _e=(document.documentElement&&document.documentElement.clientTop)?document.documentElement.clientTop:0;for(var _f=0;(_d!=null);_d=_d.offsetParent){_f+=_d.offsetTop;}
return _f+_e;},offsetLeft:function(_10){var _11=(document.documentElement&&document.documentElement.clientLeft)?document.documentElement.clientLeft:0;for(var _12=0;(_10!=null);_10=_10.offsetParent){_12+=_10.offsetLeft;}
return _12+_11;},openWindow:function(url,_14,_15){var _16=new Array();var _17=vjo.dsf.window.utils.VjWindowUtils;_15.top=_17.browserTop()+Math.round((_17.clientHeight()-_15.height)/2)+25;_15.left=_17.browserLeft()+Math.round((_17.clientWidth()-_15.width)/2);for(var key in _15){_16.push(key.concat("=",_15[key]));}
return window.open(url,_14,_16.join(","),true);}}).endType();

vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelMessage").inherits("vjo.dsf.Message").protos({bCheckState:false,sAnchorId:null,sBubbleId:null,constructs:function(_1,_2){var t=this;t.base.call(t,_1);t.request=t.response={};t.sAnchorId=t.sBubbleId="";t.bCheckState=false;},setBubbleId:function(_4){this.sBubbleId=_4;},getBubbleId:function(){return this.sBubbleId;},setAnchorId:function(_5){this.sAnchorId=_5;},getAnchorId:function(){return this.sAnchorId;},getCheckState:function(){return this.bCheckState;}}).endType();

vjo.ctype("vjo.darwin.core.bubble2.Bubble2").needs("vjo.dsf.Message").needs("vjo.dsf.Element").needs("vjo.dsf.ServiceEngine").needs("vjo.dsf.document.Positioning").needs("vjo.dsf.client.Browser").needs("vjo.dsf.window.utils.VjWindowUtils").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelMessage").protos({sOpenServiceName:null,sCloseServiceName:null,sOverlayPanelId:null,sOverlayPanelJsId:null,sOverlayDivId:null,sArrowBL:null,sArrowBR:null,sArrowTL:null,sArrowTR:null,sAnchorName:null,constructs:function(_1){this.sOpenServiceName=_1.openServiceName;this.sCloseServiceName=_1.closeServiceName;this.sOverlayPanelId=_1.overlayPanelDivId;this.sOverlayPanelJsId=_1.overlayPanelJsId;},openBubble2:function(_2,_3,_4){var _5=new vjo.dsf.Message(this.sOpenServiceName);_5.fSetNotchLocation=this.setNotchLocation;_5.oSetNotchLocationOverrider=this;_5.sAnchorId=_3;_5.bOver=_4||false;vjo.dsf.ServiceEngine.handleRequest(_5);},closeBubble2:function(){var _6=new vjo.darwin.core.overlaypanel.VjOverlayPanelMessage(this.sCloseServiceName);_6.bCheckState=true;vjo.dsf.ServiceEngine.handleRequest(_6);return false;},setNotchLocation:function(_7,_8,_9,_a){var _b=vjo.dsf.window.utils.VjWindowUtils;var _c=_9.offsetWidth;var _d=_9.offsetHeight;var _e=_b.getBrowserWindowWidth();var _f=_b.getBrowserWindowHeight();var _10=_b.getScrollXY();var px="px";var _12=vjo.dsf.Element.get(this.sOverlayDivId+"olparrow");var _13=_a.x-_10[0];var _14=_a.y-_10[1];var _15=vjo.dsf.Element.get(this.sAnchorName);var _16=_15.getElementsByTagName("img")[0];var _17=vjo.dsf.document.Positioning.getOffsetLeft(_16);_17-=_7.computeMarginAndBorder(_16,"left");var _18=vjo.dsf.document.Positioning.getOffsetTop(_16);var ox=_16.clientWidth/2;var oy=_16.clientHeight/2;var _1b=20;if(_15){_1b=_15.offsetHeight;}
var _1c=0,arrowWidth=0,arrowSpace=0;if(_12){_1c=15;arrowWidth=16;arrowSpace=12;}
if(_13>(_e-_c)&&_14<_d&&_14<(_f-_d)){_9.style.left=_17-_c+ox+arrowWidth+px;_9.style.top=_18+_1c+oy+px;_12.className=this.sArrowTR;}else{if((_13<_c||_13<_e-_c)&&_14<_d){_9.style.left=_17+ox-arrowSpace+px;_9.style.top=_18+_1c+oy+px;_12.className=this.sArrowTL;}else{if(_13>(_e-_c)&&_14>_d){var B=vjo.dsf.client.Browser;if(B.bIE&&B.fVer<7){_9.style.left=_17-_c+ox+arrowWidth+2+px;}else{_9.style.left=_17-_c+ox+arrowWidth+px;}
_9.style.top=_18-_d-_1c+oy+px;_12.className=this.sArrowBR;}else{_9.style.left=_17+ox-arrowSpace+px;_9.style.top=_18-_d-_1c+oy+px;_12.className=this.sArrowBL;}}}},computeMarginAndBorder:function(_1e,_1f){var _20=0,e=_1e,t=_1f,border=0;var B=vjo.dsf.client.Browser;if(B.bIE&&B.fVer<7){while(e){if(e.id!=""){var par=e;if(t=="left"){if(par.currentStyle.marginLeft){var _23=par.currentStyle.marginLeft;if(_23!="auto"){_20+=parseInt(_23.substr(0,_23.length-2));}}
if(par.currentStyle.borderLeftWidth){var _24=par.currentStyle.borderLeftWidth;if(_24!="medium"&&_24!="thin"&&_24!="thick"){border+=parseInt(_24.substr(0,_24.length-2));}}}else{if(t=="top"){if(par.currentStyle.marginTop){var _25=par.currentStyle.marginTop;if(_25!="auto"){_20+=parseInt(_25.substr(0,_25.length-2));}}
if(par.currentStyle.borderTopWidth){var _26=par.currentStyle.borderTopWidth;if(_26!="medium"&&_26!="thin"&&_26!="thick"){border+=parseInt(_26.substr(0,_26.length-2));}}}}}
e=e.offsetParent;}}
return _20+border;}}).endType();

vjo.ctype("vjo.dsf.utils.Timer").protos({timer:null,isRunning:false,interval:null,onTick:function(){},onStart:null,onStop:null,constructs:function(_1){this.interval=_1;},setInterval:function(ms){var t=this;if(t.isRunning){window.clearInterval(t.timer);}
t.interval=ms;if(t.isRunning){t.setInt();}},start:function(){var t=this;if(typeof t.onStart=="function"){t.onStart();}
t.isRunning=true;t.setInt();},stop:function(){var t=this;if(typeof t.onStop=="function"){t.onStop();}
t.isRunning=false;window.clearInterval(t.timer);},setInt:function(){var t=this;t.timer=window.setInterval(vjo.hitch(t,t.onTick),t.interval);}}).endType();

vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelController").needs("vjo.dsf.utils.Timer").needs("vjo.dsf.utils.Handlers").props({H:vjo.dsf.utils.Handlers,aOlps:[],sIsActivated:false,oCloseTimer:null,openAtZIndex:5000,registerOverlayPanel:function(_1){var t=this;t.aOlps[t.aOlps.length]=_1;},initCloseOnMouseOut:function(){var t=this;t.oCloseTimer=new vjo.dsf.utils.Timer(100);var _4=t.oCloseTimer;_4.onTick=function(){var i=0,arr=t.aOlps,len=arr.length;while(i<len){var _6=arr[i];if(_6.bCloseOnMouseOut){_6.tryCloseOnMouseOut();}
i++;}};_4.start();},zIndex:function(){var o=this.openAtZIndex;o+=1;return o;},requireResize:function(){this.sIsActivated=true;},forceResize:function(_8){var t=this,i=0;for(;i<t.aOlps.length;i++){var tO=t.aOlps[i];if(_8&&tO.sOverlayDivId==_8){tO.onResize();break;}else{tO.onResize();}}},initResize:function(){var t=this,H=t.H;H.detachEvt(window,"resize",t.initResize);H.attachEvt(window,"resize",t.requireResize,t);t.requireResize();t.oResizeTimer=new vjo.dsf.utils.Timer(500);var _c=t.oResizeTimer;_c.onTick=function(){var bA=t.sIsActivated;if(bA){for(var i=0;i<t.aOlps.length;i++){var tO=t.aOlps[i];if(tO.bAdjustSize&&tO.bPanelOpen){tO.onResize();}}
bA=false;}};_c.start();},resizeOlps:function(){var i=0,t=this;for(;i<t.aOlps.length;i++){var tO=t.aOlps[i];if(tO.bPanelOpen){tO.onResize();}}}}).inits(function(){var t=this,H=t.H;t.aOlps=[];t.sIsActivated=false;H.attachEvt(window,"resize",t.initResize,t);var _13=function(){t.initCloseOnMouseOut();};window.setTimeout(_13,500);t.openAtZIndex=5000;}).endType();

vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelOpenSvcHandler").needs("vjo.Registry").protos({sOverlayPanelJsCompId:null,constructs:function(_1){this.sOverlayPanelJsCompId=_1;},invoke:function(_2){var _3=vjo.Registry.get(this.sOverlayPanelJsCompId),mO=_2.bOver,LS=_2.leftOffset,TS=_2.topOffset,mL=_2.left,mT=_2.top,pAC=_3.aAnchorCoor;_3.fSetNotchLocation=_2.fSetNotchLocation;_3.oSetNotchLocationOverrider=_2.oSetNotchLocationOverrider;var _4=true;if(typeof(mO)!="undefined"){_4=mO;}
_3.bCloseOnMouseOut=_4;_3.setAnchorName(_2.sAnchorId);_3.iTmpLftOfset=LS?LS:0;_3.iTmpTopOfset=TS?TS:0;pAC=(mL&&mT)?{x:mL,y:mT}:false;if(_2.bResetPosition){_3.bPanelOpen=false;}
_3.onOpenOverlayPanel(pAC||false);_2.returnData=false;return _2;}}).endType();

vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelCloseSvcHandler").needs("vjo.Registry").protos({sOverlayPanelJsCompId:null,constructs:function(_1){this.sOverlayPanelJsCompId=_1;},invoke:function(_2){var _3=vjo.Registry.get(this.sOverlayPanelJsCompId);_3.onClosePanel(_2.getCheckState?_2.getCheckState():false);return _2;}}).endType();

vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanel").needs("vjo.dsf.client.Browser").needs("vjo.dsf.Element").needs("vjo.dsf.document.Positioning").needs("vjo.dsf.document.Shim").needs("vjo.dsf.utils.Handlers").needs("vjo.dsf.Message").needs("vjo.dsf.window.utils.VjWindowUtils").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelController").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelOpenSvcHandler").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelCloseSvcHandler").inherits("vjo.dsf.utils.Timer").protos({H:vjo.dsf.utils.Handlers,B:vjo.dsf.client.Browser,PC:vjo.darwin.core.overlaypanel.VjOverlayPanelController,E:vjo.dsf.Element,S:vjo.dsf.document.Shim,M:vjo.dsf.Message,P:vjo.dsf.document.Positioning,W:vjo.dsf.window.utils.VjWindowUtils,sOverlayDivId:null,sOlpId:null,oOlp:null,oCntnt:null,oShdw:null,oArr:null,pVt:null,sArrowVTL:null,sArrowVTR:null,sArrowVBL:null,sArrowVBR:null,sArrowTL:null,sArrowTR:null,sArrowBR:null,sArrowBL:null,iLastLeft:null,iLastTop:0,mouseState:0,initDx:0,top:0,left:0,iTmpLftOfset:0,iTmpTopOfset:0,iCnstLftOfset:null,iCnstTopOfset:0,aAnchorCoor:false,sHAlgn:false,sVAlgn:false,iShdwOfset:0,iOpDlay:0,iClsDlay:0,bCloseOnMouseOut:false,bHasMask:false,ArrowVBR:null,sOpMaskServId:null,sClsMaskServId:null,sPostOpServId:null,sPostClsServId:null,bAdjustSize:false,fSetNotchLocation:false,closeByButton:false,bPanelOpen:false,bCheckState:false,oSetNotchLocationOverrider:false,sOpenServiceName:null,sCloseServiceName:null,bSelfRegistry:false,bPromote2Body:false,oWHeader:null,oCntn:null,oCntntBox:null,oCloseBtn:null,sJsId:null,bHeaderDraggable:false,bDraggable:false,bHasCloseBtn:false,icmpWidth:0,sCmpOpacity:null,bMonitorDrag:false,sAnchorName:null,constructs:function(_1){var t=this,E=t.E;t.sOverlayDivId=_1.overlayCompId;var _3=t.sOverlayDivId;t.sOlpId=_1.cmpWrapperId;t.oOlp=E.get(_3);t.oCntnt=E.get(_3+"olpcontent");t.oShdw=E.get(_3+"olpshadow");t.oArr=E.get(_3+"olparrow");t.pVt=_1.pointerVertical;t.sArrowVTL=_1.arrowVTL;t.sArrowVTR=_1.arrowVTR;t.sArrowVBL=_1.arrowVBL;t.sArrowVBR=_1.arrowVBR;t.sArrowTL=_1.arrowTL;t.sArrowTR=_1.arrowTR;t.sArrowBR=_1.arrowBR;t.sArrowBL=_1.arrowBL;t.iLastLeft=t.iLastTop=t.mouseState=-1;t.initDx=t.initDy=t.top=t.left=t.iTmpLftOfset=t.iTmpTopOfset=0;t.bShownInCenter=_1.isShownInCenter;t.iCnstLftOfset=_1.leftOffset;t.iCnstTopOfset=_1.topOffset;t.aAnchorCoor=false;t.sHAlgn=_1.horizontalAlign||false;t.sVAlgn=_1.verticalAlign||false;t.iShdwOfset=_1.shadowOffset;t.iOpDlay=_1.openDelay;t.iClsDlay=_1.closeDelay;t.bCloseOnMouseOut=_1.isCloseOnMouseOut;t.bHasMask=_1.hasMask;t.sOpMaskServId=_1.openMaskServiceName;t.sClsMaskServId=_1.closeMaskServiceName;t.sPostOpServId=_1.postOpenedServiceName;t.sPostClsServId=_1.postClosedServiceName;t.bAdjustSize=_1.adjustSize;t.fSetNotchLocation=t.oSetNotchLocationOverrider=t.closeByButton=t.bPanelOpen=t.bCheckState=false;t.sOpenServiceName="OPEN_OVERLAY_PANEL"+_3;t.sCloseServiceName="CLOSE_OVERLAY_PANEL"+_3;t.bSelfRegistry=_1.selfRegistry;t.bPromote2Body=_1.promote2Body;t.bPromoted=false;t.oWHeader=E.get(_3+"olpctnhd");t.oCntn=E.get(_3+"_cnt_n");t.oCntntBox=E.get(_3+"olpctnbox");t.oCloseBtn=E.get(_3+"closebtn");t.oCloseLink=E.get(_3+"closelink");t.sJsId=_1.cmpJsId;t.bHeaderDraggable=_1.headerDraggable;t.bDraggable=_1.draggable;t.bHasCloseBtn=_1.hasCloseBtn;t.bHasCloseLink=_1.hasCloseText;t.icmpWidth=_1.cmpWidth;t.sCmpOpacity=_1.cmpOpacity;t.PC.registerOverlayPanel(t);var _4=E.get("IFrameOff");t.IfrOFF=false;if(_4){t.IfrOFF=_4.value;}
if(t.bSelfRegistry){t.init();}
if(t.bPromote2Body){var _5=function(){t.promote2body(true);};t.H.attachEvt(window,"load",_5,window);}
t.strExt=".gif";t.pngs=_1.pngImgs;t.gifs=_1.gifImgs;if(t.B.bIE&&t.B.bWin&&t.B.iVer>5&&t.B.iVer<=6){t.pngalpha=true;t.strExt=".png";}else{if((t.B.bFirefox)||(t.B.bSafari)||(t.B.bNav)||(t.B.bIE&&t.B.bMac)||(t.B.bOpera&&t.B.bWin&&t.B.iVer>=6)||(t.B.bOpera&&t.B.iVer>=6)||(t.B.bOpera&&t.B.bMac&&t.B.iVer>=5)||(t.B.bWebTV)||(t.B.bIE&&t.B.bWin&&t.B.iVer>6)){t.pngnorm=true;t.strExt=".png";if(!t.B.bSafari&&t.oIFrame){t.oIFrame.style.visibility="hidden";}}}},init:function(){var t=this,H=t.H,open=new vjo.darwin.core.overlaypanel.VjOverlayPanelOpenSvcHandler(t.sJsId),close=new vjo.darwin.core.overlaypanel.VjOverlayPanelCloseSvcHandler(t.sJsId);H.attachSvcReqt(t.sOpenServiceName,open.invoke,open);H.attachSvcReqt(t.sCloseServiceName,close.invoke,close);if((t.bDraggable&&!t.bHeaderDraggable)&&t.oWHeader){H.attachEvt(t.oWHeader,"mousedown",t.startDrag,t);}
if(t.oOlp&&t.oOlp.firstChild){var sO=t.oOlp.firstChild;sO.setAttribute("style",t.sCmpOpacity);}
if(t.bDraggable&&t.oWHeader&&t.oWHeader.firstChild){var ss=t.oWHeader.firstChild;t.setStyle(ss,"cursor","move");}
if(t.bHeaderDraggable&&t.oCntn){H.attachEvt(t.oCntn,"mousedown",t.startDrag,t);t.setStyle(t.oCntn,"cursor","move");}
if(t.bCloseOnMouseOut&&t.oCntntBox){H.attachEvt(t.oCntntBox,"mouseover",t.panelMouseOver,t);H.attachEvt(t.oCntntBox,"mouseout",t.panelMouseOut,t);}
if(t.bHasCloseBtn&&t.oCloseBtn){H.attachEvt(t.oCloseBtn,"click",t.onClosePanel,t);}
if(t.bHasCloseLink&&t.oCloseLink){H.attachEvt(t.oCloseLink,"click",t.onClosePanel,t);H.attachEvt(t.oCloseLink,"mouseover",t.closeLinkMouseOver,t);H.attachEvt(t.oCloseLink,"mouseout",t.closeLinkMouseOut,t);}
if(t.icmpWidth!==0&&t.oOlp){t.setStyle(t.oOlp,"width",(t.icmpWidth+"PX"));}},setStyle:function(_9,_a,_b){_9.style[_a]=_b;},closeLinkMouseOut:function(){var t=this;t.oCloseLink.style.textDecoration="none";},closeLinkMouseOver:function(){var t=this;t.oCloseLink.style.textDecoration="underline";},promote2body:function(_e){var t=this;if(_e){t.E.promoteToBody(t.sOlpId);t.bPromoted=true;}},onResize:function(){var t=this;if(t.bPanelOpen){if(!t.bDragged){t.bPanelOpen=false;}
t.openOverlayPanel();}},onOpenOverlayPanel:function(_11){var t=this;if(t.bPromote2Body&&!t.bPromoted){t.promote2body(true);}
t.aAnchorCoor=_11?_11:false;t.openTimer=(t.iOpDlay<=0)?t.openOverlayPanel():window.setTimeout(vjo.hitch(t,t.openOverlayPanel),t.iOpDlay);},openOverlayPanel:function(){var t=this,openedInfo=false;if(t.openTimer){window.clearTimeout(t.openTimer);t.openTimer=null;}
if(!t.bPanelOpen){t.bPanelOpen=true;openedInfo=t.render();if(t.bHasMask){t.openMask();}
var _14=new t.M(t.sPostOpServId);if(openedInfo){_14.clientContext={x:openedInfo[0],y:openedInfo[1],w:openedInfo[2],h:openedInfo[3]};t.H.handle(_14);}}},openMask:function(){var t=this,maskMsg=new t.M(t.sOpMaskServId),cnt=t.oCntnt;try{maskMsg.clientContext={formName:cnt};}
catch(e){}
t.H.handle(maskMsg);},align:function(_16,_17,pad,_19){return _16+((_17=="right"||_17=="bottom")?pad:0)+((_17=="middle")?(pad/2):0)+_19;},getLeftOffset:function(){var t=this;return t.iCnstLftOfset+t.iTmpLftOfset;},getTopOffset:function(){var t=this;return t.iCnstTopOfset+t.iTmpTopOfset;},render:function(){var t=this,E=t.E,B=t.B,P=t.P,W=t.W,anc=E.get(t.sAnchorName),coordinates={x:0,y:0},openedInfo=false,AC=t.aAnchorCoor,LS=t.getLeftOffset(),TS=t.getTopOffset(),SS=t.iShdwOfset;if(!t.bShownInCenter){if(AC){coordinates.x=AC.x+LS;coordinates.y=AC.y+TS;}else{coordinates.x=(B.bIE&&B.fVer<7)?P.getOffsetLeft(anc)+1:P.getOffsetLeft(anc);coordinates.y=P.getOffsetTop(anc);coordinates.x=t.align(coordinates.x,t.sHAlgn,anc?anc.offsetWidth:0,LS);coordinates.y=t.align(coordinates.y,t.sVAlgn,anc?anc.offsetHeight:0,TS);}}
var olp=t.oOlp,olpS=olp.style;if(olpS){olpS.visibility="visible";olpS.zIndex=t.PC.zIndex();if(olpS.zIndex===0){t.promote2body();}}
openedInfo=t.fSetNotchLocation?t.fSetNotchLocation(t.oSetNotchLocationOverrider,t,olp,coordinates):t.setNotchLocation(olp,coordinates);t.oShdw.style.height=W.toPixels(t.oCntnt.offsetHeight+2);if(t.oIFrame){var s=t.oIFrame.style;s.width=W.toPixels(olp.offsetWidth+SS);s.height=W.toPixels(olp.offsetHeight+SS+2);}else{if(!t.IfrOFF&&(t.B.bIE&&t.B.iVer<=6)){t.oIFrame=t.S.add(olp,SS,SS+2);}}
t.changeImage();return openedInfo;},changeImage:function(){var t=this;var e=vjo.dsf.Element;var _21=e.get(t.sOlpId);var _22=e.getElementsByTagClass(_21,"div","basOlp-scn");var _23=e.getElementsByTagClass(_21,"div","basOlp-s");var _24=null;for(var idx=0;idx<_23.length;idx++){if(_23[idx].className==="basOlp-s"){_24=_23[idx];break;}}
var _26=e.getElementByTagClass(_21,"div","basOlp-n");var _27=e.getElementByTagClass(_21,"div","basOlp-ctent");if(t.pngalpha){for(var cdx=0;cdx<_22.length;cdx++){t.applyStyle(_22[cdx],t.gifs[1]);_22[cdx].style.filter="";}
var _29="progid:DXImageTransform.Microsoft.AlphaImageLoader(src=";_24.style.filter=_29+t.pngs[0]+", sizingMethod='scale')";_26.style.filter=_29+t.pngs[0]+", sizingMethod='scale')";_27.style.filter=_29+t.pngs[0]+", sizingMethod='scale')";_24.style.background="transparent";_26.style.background="transparent";_27.style.background="transparent";try{var _2a="DXImageTransform.Microsoft.AlphaImageLoader";_24.filters[_2a].enabled=true;_26.filters[_2a].enabled=true;_27.filters[_2a].enabled=true;}
catch(e){for(var cdx=0;cdx<_22.length;cdx++){t.applyStyle(_22[cdx],t.gifs[1]);_22[cdx].style.filter="";}
t.applyStyle(_24,t.gifs[0]);t.applyStyle(_26,t.gifs[0]);t.applyStyle(_27,t.gifs[0]);_24.style.filter="";_26.style.filter="";_27.style.filter="";}}else{if(t.pngnorm){t.applyStyle(_24,t.pngs[0]);t.applyStyle(_26,t.pngs[0]);t.applyStyle(_27,t.pngs[0]);for(var cdx=0;cdx<_22.length;cdx++){t.applyStyle(_22[cdx],t.pngs[1]);}}else{t.applyStyle(_24,t.gifs[0]);t.applyStyle(_26,t.gifs[0]);t.applyStyle(_27,t.gifs[0]);for(var cdx=0;cdx<_22.length;cdx++){t.applyStyle(_22[cdx],t.gifs[1]);}}}},applyStyle:function(_2b,bkg){if(_2b&&bkg&&bkg!=""){_2b.style.backgroundImage="url("+bkg+")";}},setAnchorName:function(_2d){this.sAnchorName=_2d;},setBubbleDivId:function(_2e){this.sOverlayDivId=_2e;},onClosePanel:function(_2f){var t=this,CD=t.iClsDlay;t.bCheckState=_2f;t.closeTimer=(CD<=0)?t.closePanel():window.setTimeout(vjo.hitch(t,t.closePanel),CD);},closePanel:function(){var t=this,cT=t.closeTimer;if(cT){window.clearTimeout(cT);cT=null;}
if(t.bCheckState&&t.mouseState==1){t.bCheckState=false;return;}
t.hidePanel();if(t.mouseState==1){t.closeByButton=true;}
t.bDragged=false;},setNotchLocation:function(olp,_33){var t=this,W=t.W,olpS=olp.style,iX=_33.x,iY=_33.y,iW=olp.offsetWidth,iH=olp.offsetHeight,iScreenW=W.getBrowserWindowWidth(),iScreenH=W.getBrowserWindowHeight(),aScollLoc=W.getScrollXY(),iScrollX=aScollLoc[0],iScrollY=aScollLoc[1],arr=t.oArr;if(!t.bShownInCenter){if(t.pVt){var _35=iX-iScrollX,yLoc=iY-iScrollY,finalX=0,finalY=0,arrH=21,sAuto="auto",iAdj=5,bTop=true,bLeft=false,B=t.B,iGuard=1;if(!B.bIE){iAdj+=16;}
if((yLoc-iH-arrH)<0){finalY=iY+arrH+iGuard;bTop=false;}else{finalY=iY-iH-arrH-iGuard;}
if(iX-iW/2<0){finalX=0;}else{if(iX+iW/2+iAdj>iScreenW){finalX=iScreenW-iW-iAdj;bLeft=true;}else{finalX=iX-(iW/2);}}
if(arr){arr.style.left=W.toPixels(iX-finalX-(bLeft?arr.offsetWidth+iGuard:-iGuard));}
if(bTop){t.setArrDivStyle(arr,bLeft?t.sArrowVBL:t.sArrowVBR,sAuto,W.toPixels(-arrH));}else{t.setArrDivStyle(arr,bLeft?t.sArrowVTL:t.sArrowVTR,W.toPixels(-arrH),sAuto);}}else{var _35=iX-iScrollX,yLoc=iY-iScrollY,arrH=arr?21:0,arrW=arr?21:0,arrS=arr?14:0,finalX=0,finalY=0,finalW=iW+arrW,finalH=iH,sAuto="auto",iAdj=0,bLeft=false;if((_35+iW+arrW)<iScreenW||iW>iScreenW||(t.sHAlgn&&t.sHAlgn!="middle")){finalX=iX+arrW;bLeft=true;}else{if((_35-iW-arrW)<0){finalX=(iScreenW/2-iW/2)+iScrollX+t.getLeftOffset();}else{finalX=iX-iW-arrW;}}
if((yLoc+iH)<iScreenH){finalY=iY-arrS;t.setArrDivStyle(arr,bLeft?t.sArrowTL:t.sArrowTR,W.toPixels(arrS),sAuto);}else{if((yLoc+arrS)>iH){finalY=iY-iH+arrS;finalY-=t.getTopOffset()*2;t.setArrDivStyle(arr,bLeft?t.sArrowBL:t.sArrowBR,sAuto,W.toPixels(arrS));}else{if(yLoc<(iScreenH/2)&&(iH<iScreenH)){iAdj=(iY+iH)-(iScrollY+iScreenH);finalY=iY-iAdj-arrS;t.setArrDivStyle(arr,bLeft?t.sArrowTL:t.sArrowTR,W.toPixels(arrS+iAdj),sAuto);}else{iAdj=iScrollY-(iY-iH+arrS);finalY=iScrollY;t.setArrDivStyle(arr,bLeft?t.sArrowBL:t.sArrowBR,W.toPixels(yLoc-arrS),sAuto);}}}}}else{finalX=(iScreenW/2-iW/2)+iScrollX+t.getLeftOffset();finalY=iScreenH/2-iH/2;finalY=finalY>0?finalY:0;finalY=finalY+iScrollY+t.getTopOffset();}
olpS.left=W.toPixels(finalX);olpS.top=W.toPixels(finalY);return[finalX,finalY,finalW,finalH];},setArrDivStyle:function(_36,_37,_38,_39){var _3a=_36;if(_36){_3a.className=_37;_3a.style.top=_38;_3a.style.bottom=_39;}},startDrag:function(_3b){var t=this,P=t.P,W=t.W,olp=t.oOlp,SR=t.bSelfRegistry,H=t.H,db=document.body;if(!t.bMonitorDrag){t.bMonitorDrag=true;t.bDragged=true;var _3d=_3b.nativeEvent;if(SR){_3d=_3b.nativeEvent||_3b;}
var _3e=W.eventTop(_3d),mouseX=W.eventLeft(_3d);t.initDx=P.getOffsetLeft(olp)-mouseX;t.initDy=P.getOffsetTop(olp)-_3e;t.top=t.iLastTop=_3e;t.left=t.iLastLeft=mouseX;t.fOnMouseMoveHdl=H.attachEvt(db,"mousemove",t.onMouseMove,t);t.fOnMouseUpHdl=H.attachEvt(db,"mouseup",t.onMouseUp,t);if(olp){olp.onselectstart=olp.onmousedown=function(){return false;};}
t.interval=50;t.onTick=function(){t.monitorMouseDrag();};t.start();}
if(SR){var _3f=_3d.target||_3d.srcElement;H.attachEvt(_3f,"mouseup",t.stopDrag,t);}},onMouseMove:function(_40){var t=this,W=t.W;if(t.bMonitorDrag){var _42=window.event?window.event:_40;var _43=W.eventTop(_42),leftValue=W.eventLeft(_42);if(_43>=0&&leftValue>=0){t.top=_43;t.left=leftValue;}}},onMouseUp:function(_44){var t=this,H=t.H,db=document.body;if(t.bMonitorDrag){H.detachEvt(db,"mousemove",t.fOnMouseMoveHdl);H.detachEvt(db,"mouseup",t.fOnMouseUpHdl);t.stopDrag();}},monitorMouseDrag:function(){if(this.bMonitorDrag){var t=this,P=t.P,W=t.W;if((t.left!=t.iLastLeft)||(t.top!=t.iLastTop)){var dx=t.left-t.iLastLeft,dy=t.top-t.iLastTop;t.iLastLeft=t.left;t.iLastTop=t.top;var olp=t.oOlp,olpS=olp.style,x=P.getOffsetLeft(olp),y=P.getOffsetTop(olp);olpS.left=W.toPixels(x+dx);olpS.top=W.toPixels(y+dy);}}},stopDrag:function(){var t=this;t.bMonitorDrag=false;var olp=t.oOlp;if(olp){olp.onselectstart=olp.onmousedown=null;}
t.stop();},panelMouseOver:function(){this.mouseState=1;},panelMouseOut:function(){this.mouseState=0;},tryCloseOnMouseOut:function(){var t=this;if(t.mouseState===0){t.mouseState=-1;if(!t.closeByButton){t.onClosePanel();}else{t.closeByButton=false;t.mouseState=-1;}}},hidePanel:function(){var t=this,H=t.H,M=t.M,olp=t.oOlp,olpS=olp.style;olpS.visibility="hidden";olpS.left="-1600px";t.bPanelOpen=false;t.iTmpLftOfset=t.iTmpTopOfset=0;if(t.bHasMask){H.handle(new M(t.sClsMaskServId));}
if(t.sPostClsServId){H.handle(new M(t.sPostClsServId));}
if(t.oIFrame){if(!t.fCleanUp){t.fCleanUp=function(){t.S.remove(t.oOlp,t.oIFrame);t.oIFrame=null;};H.attachEvt(window,"unload",t.fCleanUp,t);}}},setContentTitle:function(_4d){var t=this,tcnt=t.oTitlCntnr;if(!tcnt){tcnt=t.E.get(t.sOverlayDivId+"olpcontenttitle");}
if(tcnt){tcnt.innerHTML=_4d;}}}).endType();

vjo.ctype("vjo.darwin.core.overlaypanel.VjOverlayPanelEvtHandlers").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelMessage").needs("vjo.dsf.window.utils.VjWindowUtils").props({M:vjo.darwin.core.overlaypanel.VjOverlayPanelMessage,handleOpenEvent:function(_1,_2){var _3=new this.M(_1);_3.setAnchorId(_2);return _3;},handleOpenEventXY:function(_4,x,y){var _7=new this.M(_4);_7.left=x;_7.top=y;_7.resetPosition=false;return _7;},handleOpenEventByLoc:function(_8,_9){var e=_9.nativeEvent,W=vjo.dsf.window.utils.VjWindowUtils,x=W.eventLeft(e),y=W.eventTop(e);return this.handleOpenEventXY(_8,x,y);},handleCloseEvent:function(_b){var _c=new this.M(_b);return _c;},handleCloseEventWithCheck:function(_d,_e){var _f=new this.M(_d);_f.bCheckState=_e;return _f;}}).endType();

vjo.ctype("vjo.darwin.app.common.mask.MaskHandlers").props({openService:function(_1,_2){var _3=vjo.Registry.get(_1);if(_3){_3.show(_2.clientContext);}},closeService:function(_4,_5){var _6=vjo.Registry.get(_4);if(_6){_6.hide();}}}).endType();

vjo.ctype("vjo.darwin.app.common.mask.Mask").needs("vjo.dsf.window.utils.VjWindowUtils").needs("vjo.dsf.EventDispatcher").needs("vjo.dsf.utils.Timer").needs("vjo.darwin.app.common.mask.MaskHandlers").needs("vjo.dsf.client.Browser").protos({constructs:function(_1,_2,_3,_4){var t=this;t.eElem=document.getElementById(_1);t.iOpacity=(_2)?parseFloat(_2):0;t.showing=false;t.zIndex=100;t.sIsActivated=false;t.oTimer=false;t.ED=vjo.dsf.EventDispatcher;t.pngalpha=false;t.pngnorm=false;t.strExt=".gif";t.B=vjo.dsf.client.Browser;t.png=_3;t.gif=_4;if(t.B.bIE&&t.B.iVer<=6){t.setDefaultBg(t.gif);}else{t.setDefaultBg(t.png);}},show:function(_6){var t=this;if(t.showing){return;}else{t.showing=true;}
t.cntr=(_6)?_6.formName:"";t.zIndex=(_6&&_6.overlayPanelIndex)?_6.overlayPanelIndex:t.zIndex;t.render();t.disableSelects();t.startResizeListener();},render:function(){var t=this;t.WU=vjo.dsf.window.utils.VjWindowUtils;var _9=t.WU.scrollWidth();var _a=t.WU.scrollHeight();t.setStyle("display","block");t.setStyle("width",_9+"px");t.setStyle("height",_a+"px");t.setStyle("zIndex",t.zIndex);},setDefaultBg:function(_b){this.setStyle("background","transparent url("+_b+") repeat left top");},hide:function(){var t=this;if(!t.showing){return;}else{t.showing=false;}
t.setStyle("display","none");t.setStyle("width","0");t.setStyle("height","0");t.enableSelects();t.stopResizeListener();},disableSelects:function(){var _d,_e,t=this,c=t.cntr,ids;t.disabledSelects=new Array();if(typeof c==="object"){_d=t.getCntrSelects(c);}else{_d=t.getCntrSelects(document.forms[c]);}
_e=document.body.getElementsByTagName("select");ids=_d.toString();for(var idx=0;(idx<_e.length);idx++){var _11=_e[idx];if(_11.disabled){continue;}
if(ids.indexOf(_11.id+",")!==-1){continue;}
_11.disabled=true;t.disabledSelects.push(_11);}},getCntrSelects:function(c){if(!c){return[];}
var ids=[],lst=c.getElementsByTagName("select"),l=lst.length,j=0;for(;j<l;j++){ids[j]=lst[j].id;}
ids[j]="";return ids;},enableSelects:function(){var _14=this.disabledSelects;for(var idx=0;(idx<_14.length);idx++){_14[idx].disabled=false;}},setStyle:function(_16,_17){var e=this.eElem;if(!e||!e.style){return;}
e.style[_16]=_17;},requireResize:function(){this.sIsActivated=true;},startResizeListener:function(){var t=this;t.ED.addEventListener(window,"resize",t.requireResize,t);if(!t.oTimer){t.oTimer=new vjo.dsf.utils.Timer();t.oTimer.interval=500;t.oTimer.onTick=function(){if(t.sIsActivated){t.render();t.sIsActivated=false;}};}
t.oTimer.start();},stopResizeListener:function(){var t=this;t.ED.removeEventListener(window,"resize",t.requireResize,t);if(t.oTimer){t.oTimer.stop();}}}).endType();

vjo.ctype("vjo.darwin.core.bubble.VjAnchorUtils").props({getAnchorWindowPosition:function(_1){},getPageOffsetLeft:function(el){},getWindowOffsetLeft:function(el){},getPageOffsetTop:function(el){},getWindowOffsetTop:function(el){}}).endType();

vjo.ctype("vjo.darwin.core.bubble.VjBubbleAnchorUtils").props({getAnchorWindowPosition:function(_1){},getAnchorPosition:function(_2){},getPageOffsetLeft:function(el){},getWindowOffsetLeft:function(el){},getPageOffsetTop:function(el){},getWindowOffsetTop:function(el){}}).endType();

vjo.ctype("vjo.darwin.core.bubble.VjBubble").needs("vjo.dsf.document.Shim").needs("vjo.darwin.core.bubble.VjBubbleAnchorUtils").needs("vjo.dsf.Element").needs("vjo.dsf.document.Positioning").needs("vjo.dsf.window.utils.VjWindowUtils").protos({sAnchorName:null,iframeShim:null,sContent:null,minHeight:0,sBubbleDivId:null,closeBubble:false,constructs:function(_1){this.sBubbleDivId=_1;},openBubbleHelp:function(){if(this.iframeShim){var _2=vjo.dsf.Element.get(this.sBubbleDivId);vjo.dsf.document.Shim.remove(_2,this.iframeShim);}
vjo.dsf.Element.get("hlpBubContent").innerHTML=this.sContent;this.minHeight=0;this.matchColumnHeight("hlpBubContent",this.minHeight,["hlpBubW","hlpBubE","hlbBubCloseBtn"]);var _3=vjo.darwin.core.bubble.VjBubbleAnchorUtils.getAnchorPosition(this.sAnchorName);var _4=vjo.dsf.Element.get(this.sBubbleDivId);if(_4.style){this.setNotchLocation(_4,_3);this.iframeShim=vjo.dsf.document.Shim.add(_4);}
var _5=vjo.dsf.Element.get("hlbBubCloseBtn");var _6=_5.getElementsByTagName("A");if(!window[this.sAnchorName+"OnClick"]){var _7=this;_6[0].style.display="none";}else{_6[0].style.display="";}},lockBubbleHelp:function(){this.closeBubble=false;},unLockBubbleHelp:function(){this.closeBubble=true;},setAnchorName:function(_8){this.sAnchorName=_8;},setBubbleDivId:function(_9){this.sBubbleDivId=_9;},setContent:function(_a){this.sContent=_a;},setNotchLocation:function(_b,_c){var _d=_b.offsetWidth;var _e=_b.offsetHeight;var _f=vjo.dsf.document.Positioning.getClientWidth();var _10=vjo.dsf.document.Positioning.getClientHeight();var _11=vjo.dsf.window.utils.VjWindowUtils.getScrollXY();var _12=_c.x-_11[0];var _13=_c.y-_11[1];var px="px";if(_12>(_f-_d)&&_13<_e&&_13<_10-_e){_b.className="hlbBub-btnRgt";_b.style.left=_c.x-_d+4+px;_b.style.top=_c.y+20+px;}else{if((_12<_d||_12<_f-_d)&&_13<_e){_b.className="hlbBub-btnLft";_b.style.left=_c.x+px;_b.style.top=_c.y+20+px;}else{if(_12>(_f-_d)&&_13>_e){_b.className="hlbBub-topRgt";_b.style.left=_c.x-_d+4+px;_b.style.top=_c.y-_e+px;}else{_b.className="hlbBub-topLft";_b.style.left=_c.x+px;_b.style.top=_c.y-_e+px;}}}},closeHelpBubble:function(){if(!window[this.sAnchorName+"OnClick"]){if(this.closeBubble!=null&&!this.closeBubble){var _15=this;setTimeout(function(){_15.closeHelpBubble();},50);return;}}
var _16="-400px";var _17=vjo.dsf.Element.get(this.sBubbleDivId);if(this.iframeShim){vjo.dsf.document.Shim.remove(_17,this.iframeShim);}
_17.style.left=_16;_17.style.top=_16;},matchColumnHeight:function(_18,_19,_1a){var px="px";var _1c=document.getElementById(_18);var _1d=_1c.offsetHeight;var _1e=Math.max(_1d,_19);for(var i=0;i<_1a.length;i++){document.getElementById(_1a[i]).style.height=_1e+px;}}}).endType();

vjo.ctype("vjo.darwin.core.bubble.VjBubbleMsg").inherits("vjo.dsf.Message").protos({request:null,sContent:null,sAnchorId:null,sBubbleId:null,clientContext:null,returnData:false,trace:null,constructs:function(_1,_2){this.svcId=_1;this.request={};this.sContent="";this.sAnchorId="";this.sBubbleId="";this.objType="dsf_Message";this.request=undefined;this.clientContext=undefined;this.trspType="InProc";this.status=undefined;this.svcConfig=undefined;this.returnData=true;this.trace="";this.response={};},setContent:function(_3){this.sContent=_3;},getContent:function(){return this.sContent;},setBubbleId:function(_4){this.sBubbleId=_4;},getBubbleId:function(){return this.sBubbleId;},setAnchorId:function(_5){this.sAnchorId=_5;},getAnchorId:function(){return this.sAnchorId;}}).endType();

vjo.ctype("vjo.darwin.core.bubble.VjBubbleHandlers").needs("vjo.darwin.core.bubble.VjBubbleMsg").needs("vjo.dsf.ServiceEngine").needs("vjo.Registry").props({interv:0,bubbleComponent:null,handleLoadEvent:function(_1,_2,_3){var _4=new vjo.darwin.core.bubble.VjBubbleMsg(_2);_4.setBubbleId(_3);return _4;},handleOpenEvent:function(_5,_6,_7,_8,_9){var _a=new vjo.darwin.core.bubble.VjBubbleMsg(_6);_a.setBubbleId(_9);_a.setAnchorId(_7);_a.setContent(_8);if(_5.eventType=="click"){window[_7+"OnClick"]=true;}else{window[_7+"OnClick"]=false;}
return _a;},handleLockEvent:function(_b,_c){var _d=vjo.Registry.get(_c);_d.lockBubbleHelp();},handleUnLockEvent:function(_e,_f){var _10=vjo.Registry.get(_f);_10.unLockBubbleHelp();},handleCloseEvent:function(evt,_12,_13){var _14=new vjo.darwin.core.bubble.VjBubbleMsg(_12);_14.setBubbleId(_13);vjo.dsf.ServiceEngine.handleRequest(_14);return false;},openAction:function(msg){var _16=vjo.Registry.get(msg.sBubbleId);_16.setContent(msg.sContent);_16.setAnchorName(msg.sAnchorId);if(this.interv!=null){clearTimeout(this.interv);}
if(!window[msg.sAnchorId+"OnClick"]){setTimeout(function(){_16.openBubbleHelp();},250);}else{_16.openBubbleHelp();}
msg.returnData=false;return msg;},closeAction:function(msg){this.bubbleComponent=vjo.Registry.get(msg.sBubbleId);if(!window[msg.sAnchorId+"OnClick"]){this.interv=setTimeout(function(){vjo.Registry.get(msg.sBubbleId).closeHelpBubble();},50);}else{this.bubbleComponent.closeHelpBubble();}
return msg;}}).endType();

vjo.ctype("vjo.darwin.core.moduletab.ModuleTab").protos({sHtmlName:null,sactiveRgt:null,sactiveLft:null,shighlightLft:null,shighlightRgt:null,sinactiveLft:null,sinactiveRgt:null,shoverLft:null,shoverRgt:null,stabcontentOuterOff:null,stabcontentOuterOn:null,sContentElementId:null,sActiveBkgColor:null,aTabs:null,iCurTab:null,constructs:function(_1){var m=_1;var t=this;t.sHtmlName=m.htmlName;t.sactiveRgt=m.activeRgt;t.sactiveLft=m.activeLft;t.shighlightLft=m.highlightLft;t.shighlightRgt=m.highlightRgt;t.sinactiveLft=m.inactiveLft;t.sinactiveRgt=m.inactiveRgt;t.shoverLft=m.hoverLft;t.shoverRgt=m.hoverRgt;t.stabcontentOuterOff=m.tabcontentOuterOff;t.stabcontentOuterOn=m.tabcontentOuterOn;t.sContentElementId=null;t.sActiveBkgColor=m.activeBkgColor;t.aTabs=[];t.iCurrTab=m.activeTabId;}}).endType();

vjo.ctype("vjo.darwin.core.utils.ServiceUtils").needs("vjo.dsf.ServiceEngine","SE").needs("vjo.dsf.Message","M").props({rgSv:function(_1,_2){this.vj$.SE.registerSvcHdl(_1,_2);},rgSvRsp:function(_3,_4){this.vj$.SE.registerSvcRespHdl(_3,_4);},sndM:function(_5){this.vj$.SE.handleRequest(typeof(_5)=="object"?_5:this.gM(_5));},gM:function(_6){return new this.vj$.M(_6);}}).endType();

vjo.ctype("vjo.darwin.core.moduletab.TabProperties").needs("vjo.Registry").needs("vjo.darwin.core.utils.ServiceUtils","SU").needs("vjo.dsf.EventDispatcher").needs("vjo.dsf.Element").protos({RG:vjo.Registry,hN:null,iId:0,sUrl:null,bIsActive:false,bIsHighlighted:false,bIsAjaxEnabled:false,clkSvcId:null,constructs:function(_1){var RG=this.RG,m=_1;var t=this;t.hN=m.htmlName;t.iId=m.id;t.sUrl=m.url;t.bIsActive=m.active;t.bIsHighlighted=m.highlighted;t.bIsAjaxEnabled=m.ajaxEnabled;t.clkSvcId=m.clkSvcId;var _n=RG.get(t.hN);if(_n!==null){var _5=_n.aTabs;_5[_5.length]=t;}
t.bindEventsInJS();t.attachEventListner(t.hN,t.clkSvcId);},bindEventsInJS:function(){var t=this,vjEd=vjo.dsf.EventDispatcher,_tProp=vjo.darwin.core.moduletab.TabProperties;var _7=t.hN+"_tab_rgt_"+t.iId,tbL=t.hN+"_tab_lft_"+t.iId,tb=t.hN+"_"+t.iId;if(t.sUrl===null){t.sUrl="";}
var _f=function(_9){return _tProp.switchToTab(t.hN,t.iId,_9,t.clkSvcId);};vjEd.add(tbL,"click",_f);vjEd.add(_7,"click",_f);vjEd.add(_7,"mouseover",function(_a){return _tProp.hoverChange(t.hN,t.iId,true);});vjEd.add(_7,"mouseout",function(_b){return _tProp.hoverChange(t.hN,t.iId,false);});},attachEventListner:function(_c,_d){var t=vjo.darwin.core.moduletab.TabProperties,fn=function(){t.initializer(_c,_d);};vjo.dsf.EventDispatcher.addEventListener(window,"load",fn);}}).props({tLft:"_tab_lft_",tRgt:"_tab_rgt_",tCnt:"_content_",tCurrId:"CurrId",E:vjo.dsf.Element,R:vjo.Registry,switchToTab:function(_f,_10,_11,_12){var t=this,ob=t.vj$,pTab=t.R.get(_f),pArrTab=pTab.aTabs,hid=t.E.get(_f+t.tCurrId),currId=(hid)?hid.value:1,from,to;hid.value=currId=(hid.value==0)?1:currId;for(var i=0;i<pArrTab.length;i++){if(currId==pArrTab[i].iId){from=i;}
if(_10==pArrTab[i].iId){to=i;}}
var tp=vjo.darwin.core.moduletab.TabProperties;var _16=_f+t.tRgt+pArrTab[from].iId,fTbL=_f+t.tLft+pArrTab[from].iId;var _17=_f+t.tRgt+pArrTab[to].iId,tTbL=_f+t.tLft+pArrTab[to].iId;if(!pArrTab){return;}
if(pArrTab[to].bIsActive===true||pArrTab[to].iId!=_10||pArrTab[to].dsbl==true){return;}
var rt=this.E.get(_17),url=pArrTab[to].sUrl;if(_11&&(!pArrTab[to].bIsAjaxEnabled)&&(url&&url.length>1&&url.toLowerCase().indexOf("javascript")<0)){var src=_11.nativeEvent.target?_11.nativeEvent.target:_11.nativeEvent.srcElement;if(src.tagName.toLowerCase()==="a"){src.blur();return;}
document.location.href=pArrTab[to].sUrl;return;}
if(hid){hid.value=_10;}
tp.setTabs(_10,pArrTab[from],_f,pTab,_12);tp.setTabs(_10,pArrTab[to],_f,pTab,_12);},sendMsg:function(_1a,tb,rTb,lTb,url,cnt){var t=this,SU=t.vj$.SU,msg=SU.gM(_1a);msg.tb=tb;msg.rTb=rTb;msg.lTb=lTb;msg.url=url;msg.cnt=cnt;SU.sndM(msg);},setClz:function(_21,_22){var el;el=this.E.get(_21);if(el){el.className=_22;}},setBkgColor:function(_24,_25){var el;el=this.E.get(_24);if(el){el.style.backgroundColor=_25;}},initializer:function(_27,_28){var t=this,pTab=t.R.get(_27),pArrTab=pTab.aTabs,tp=vjo.darwin.core.moduletab.TabProperties,hid=t.E.get(_27+tp.tCurrId),currId=(hid)?hid.value:1,to;for(var i=0;i<pArrTab.length;i++){if(currId==pArrTab[i].iId){to=i;break;}}
if(pArrTab){if((pArrTab[to])&&(pArrTab[to].bIsActive===true||pArrTab[to].dsbl==true)){return;}
for(var i=0;i<pArrTab.length;i++){tp.setTabs(currId,pArrTab[i],_27,pTab,_28);}}},setTabs:function(_2b,_2c,_2d,_2e,_2f){var t=vjo.darwin.core.moduletab.TabProperties;var _31=_2d+t.tRgt+_2c.iId,fTbL=_2d+t.tLft+_2c.iId,tTcnt=_2d+t.tCnt+_2c.iId,url=_2c.sUrl;if(_2b==_2c.iId){_2c.bIsActive=true;if(_2f){t.sendMsg(_2f,_2b,_31,fTbL,url,tTcnt);}
if(_2e.sActiveBkgColor!==null){t.setBkgColor(fTbL,_2e.sActiveBkgColor);t.setBkgColor(_31,_2e.sActiveBkgColor);}
t.setClz(fTbL,_2e.sactiveLft);t.setClz(_31,_2e.sactiveRgt);t.setClz(_2d+t.tCnt+_2c.iId,_2e.stabcontentOuterOn);}else{_2c.bIsActive=false;t.setBkgColor(fTbL,"");t.setBkgColor(_31,"");if(_2c.bIsHighlighted===true){t.setClz(fTbL,_2e.shighlightLft);t.setClz(_31,_2e.shighlightRgt);}else{t.setClz(fTbL,_2e.sinactiveLft);t.setClz(_31,_2e.sinactiveRgt);}
t.setClz(_2d+t.tCnt+_2c.iId,_2e.stabcontentOuterOff);}},hoverChange:function(_32,_33,_34){var _35=this.R.get(_32),tp=vjo.darwin.core.moduletab.TabProperties,pArrTab=_35.aTabs,to;for(var i=0;i<pArrTab.length;i++){if(pArrTab[i].iId==_33){to=i;break;}}
var _37=_32+tp.tRgt+pArrTab[to].iId,tTbL=_32+tp.tLft+pArrTab[to].iId;if(pArrTab){if(pArrTab[to].bIsActive===true||pArrTab[to].dsbl==true){return;}
if(pArrTab[to].bIsHighlighted===true){if(_34===true){tp.setClz(tTbL,_35.shighlightLft+" "+_35.shoverLft);tp.setClz(_37,_35.shighlightRgt+" "+_35.shoverRgt);}else{tp.setClz(tTbL,_35.shighlightLft);tp.setClz(_37,_35.shighlightRgt);}}else{if(_34===true){tp.setClz(tTbL,_35.sinactiveLft+" "+_35.shoverLft);tp.setClz(_37,_35.sinactiveRgt+" "+_35.shoverRgt);}else{tp.setClz(tTbL,_35.sinactiveLft);tp.setClz(_37,_35.sinactiveRgt);}}}}}).endType();

vjo.ctype("vjo.darwin.core.pageleveltab.PageLevelTab").protos({sHtmlName:null,sactiveRgt:null,sactiveLft:null,shighlightLft:null,shighlightRgt:null,sinactiveLft:null,sinactiveRgt:null,shoverLft:null,shoverRgt:null,stabcontentOuterOff:null,stabcontentOuterOn:null,sContentElementId:null,sActiveBkgColor:null,aTabs:[],iCurrTab:0,hon:false,constructs:function(_1){var t=_1,o=this;o.sHtmlName=t.htmlName;o.sactiveRgt=t.activeRgt;o.sactiveLft=t.activeLft;o.shighlightLft=t.highlightLft;o.shighlightRgt=t.highlightRgt;o.sinactiveLft=t.inactiveLft;o.sinactiveRgt=t.inactiveRgt;o.shoverLft=t.hoverLft;o.shoverRgt=t.hoverRgt;o.stabcontentOuterOff=t.tabcontentOuterOff;o.stabcontentOuterOn=t.tabcontentOuterOn;o.sContentElementId=null;o.sActiveBkgColor=t.activeBkgColor;o.aTabs=[];o.iCurrTab=t.activeTabId;o.hon=t.hoverOn;}}).endType();

vjo.ctype("vjo.darwin.core.pageleveltab.TabProperties").needs("vjo.Registry","R").needs("vjo.darwin.core.utils.ServiceUtils","SU").needs("vjo.dsf.EventDispatcher","ED").needs("vjo.dsf.Element","E").protos({E:vjo.dsf.Element,R:vjo.Registry,ED:vjo.dsf.EventDispatcher,hN:null,iId:null,sUrl:null,bIsActive:false,bIsHighlighted:false,bIsAjaxEnabled:false,clkSvcId:null,dsbl:false,mName:null,constructs:function(_1){var t=this;var m=_1,mName=m.htmlName;t.hN=m.htmlName;t.iId=m.id;t.sUrl=m.url;t.bIsActive=m.active;t.bIsHighlighted=m.highlighted;t.bIsAjaxEnabled=m.ajaxEnabled;t.clkSvcId=m.clkSvcId;t.dsbl=m.dsbl;var _n=t.R.get(t.hN);if(_n!==null){var _5=_n.aTabs;_5[_5.length]=t;}
t.bindEventsInJS(_n.hon);t.attachEventListner(t.hN,t.clkSvcId);},bindEventsInJS:function(_6){var t=this,ED=this.ED,_tProp=vjo.darwin.core.pageleveltab.TabProperties;var _8=t.hN+"_tab_rgt_"+t.iId,tbL=t.hN+"_tab_lft_"+t.iId,tb=t.hN+"_"+t.iId;if(t.sUrl===null){t.sUrl="";}
var _f=function(_a){return _tProp.switchToTab(t.hN,t.iId,_a,t.clkSvcId);},ar=[_8,tbL,"mouseover","mouseout"],j=0;ED.add(tbL,"click",_f);ED.add(_8,"click",_f);if(_6){for(j=0;j<2;j++){ED.add(ar[j],ar[2],function(_b){return _tProp.hoverChange(t.hN,t.iId,true);});ED.add(ar[j],ar[3],function(_c){return _tProp.hoverChange(t.hN,t.iId,false);});}}},attachEventListner:function(_d,_e){var t=vjo.darwin.core.pageleveltab.TabProperties,fn=function(){t.initializer(_d,_e);};this.ED.addEventListener(window,"load",fn);}}).props({tLft:"_tab_lft_",tRgt:"_tab_rgt_",tCnt:"_content_",tCurrId:"CurrId",_rg:vjo.Registry,_elm:vjo.dsf.Element,switchToTab:function(_10,_11,_12,_13){var t=this,pTab=t._rg.get(_10),pArrTab=pTab.aTabs,hid=t._elm.get(_10+t.tCurrId),currId=(hid)?hid.value:1,from,to;hid.value=currId=(hid.value==0)?1:currId;for(var i=0;i<pArrTab.length;i++){if(currId==pArrTab[i].iId){from=i;}
if(_11==pArrTab[i].iId){to=i;}}
var tp=vjo.darwin.core.pageleveltab.TabProperties,fTbR=_10+t.tRgt+pArrTab[from].iId,fTbL=_10+t.tLft+pArrTab[from].iId,tTbR=_10+t.tRgt+pArrTab[to].iId,tTbL=_10+t.tLft+pArrTab[to].iId;if(pArrTab){if(pArrTab[to].bIsActive===true||pArrTab[to].dsbl==true){return;}
if(pArrTab[to].iId==_11){var rt=t._elm.get(tTbR),url=pArrTab[to].sUrl;if(_12&&(!pArrTab[to].bIsAjaxEnabled)&&(url&&url.length>1&&url.toLowerCase().indexOf("javascript")<0)){var src=_12.nativeEvent.target?_12.nativeEvent.target:_12.nativeEvent.srcElement;if(src.tagName.toLowerCase()==="a"){src.blur();return;}
document.location.href=pArrTab[to].sUrl;return;}
if(hid){hid.value=_11;}
tp.setTabs(_11,pArrTab[from],_10,pTab,_13);tp.setTabs(_11,pArrTab[to],_10,pTab,_13);}}},sendMsg:function(_19,tb,rTb,lTb,url){var t=this,SU=t.vj$.SU,msg=SU.gM(_19);msg.tb=tb;msg.rTb=rTb;msg.lTb=lTb;msg.tbUrl=url;SU.sndM(msg);},setClz:function(_1f,_20){var el;el=this._elm.get(_1f);if(el){el.className=_20;}},setBkgColor:function(_22,_23){var el;el=this._elm.get(_22);if(el){el.style.backgroundColor=_23;}},initializer:function(_25,_26){var t=this,to,pTab=t._rg.get(_25),pArrTab=pTab.aTabs,tp=vjo.darwin.core.pageleveltab.TabProperties,hid=t._elm.get(_25+tp.tCurrId),currId=(hid)?hid.value:1;for(var i=0;i<pArrTab.length;i++){if(currId==pArrTab[i].iId){to=i;break;}}
if(pArrTab){if((pArrTab[to])&&(pArrTab[to].bIsActive===true||pArrTab[to].dsbl==true)){return;}
for(var i=0;i<pArrTab.length;i++){tp.setTabs(currId,pArrTab[i],_25,pTab,_26);}}},setTabs:function(_29,_2a,_2b,_2c,_2d){var t=vjo.darwin.core.pageleveltab.TabProperties;var _2f=_2b+t.tRgt+_2a.iId,fTbL=_2b+t.tLft+_2a.iId;if(_29==_2a.iId){_2a.bIsActive=true;if(_2d){t.sendMsg(_2d,_29,_2f,fTbL);}
if(_2c.sActiveBkgColor!==null){t.setBkgColor(fTbL,_2c.sActiveBkgColor);t.setBkgColor(_2f,_2c.sActiveBkgColor);}
t.setClz(fTbL,_2c.sactiveLft);t.setClz(_2f,_2c.sactiveRgt);t.setClz(_2b+t.tCnt+_2a.iId,_2c.stabcontentOuterOn);}else{_2a.bIsActive=false;t.setBkgColor(fTbL,"");t.setBkgColor(_2f,"");if(_2a.bIsHighlighted===true){t.setClz(fTbL,_2c.shighlightLft);t.setClz(_2f,_2c.shighlightRgt);}else{t.setClz(fTbL,_2c.sinactiveLft);t.setClz(_2f,_2c.sinactiveRgt);}
t.setClz(_2b+t.tCnt+_2a.iId,_2c.stabcontentOuterOff);}},hoverChange:function(_30,_31,_32){var _33=this._rg.get(_30),tp=vjo.darwin.core.pageleveltab.TabProperties,pArrTab=_33.aTabs,to;for(var i=0;i<pArrTab.length;i++){if(pArrTab[i].iId==_31){to=i;break;}}
var _35=_30+tp.tRgt+pArrTab[to].iId,tTbL=_30+tp.tLft+pArrTab[to].iId;if(pArrTab){if(pArrTab[to].bIsActive===true||pArrTab[to].dsbl==true){return;}
if(pArrTab[to].bIsHighlighted===true){if(_32===true){tp.setClz(tTbL,_33.shighlightLft+" "+_33.shoverLft);tp.setClz(_35,_33.shighlightRgt+" "+_33.shoverRgt);}else{tp.setClz(tTbL,_33.shighlightLft);tp.setClz(_35,_33.shighlightRgt);}}else{if(_32===true){tp.setClz(tTbL,_33.sinactiveLft+" "+_33.shoverLft);tp.setClz(_35,_33.sinactiveRgt+" "+_33.shoverRgt);}else{tp.setClz(tTbL,_33.sinactiveLft);tp.setClz(_35,_33.sinactiveRgt);}}}}}).endType();

vjo.ctype("vjo.darwin.app.feedback.pres.component.usersummary.PageLayers").protos({constructs:function(id){this.id=id;this.stayOpen=false;},showOnClick:function(_2){this.stayOpen=true;_2.nativeEvent.cancelBubble=true;if(_2.nativeEvent.stopPropogation){_2.nativeEvent.stopPropogation();}},show:function(){setStyle(this.id,"display","block");},hide:function(){if(!this.stayOpen){setStyle(this.id,"display","none");}},closeOnClick:function(){this.stayOpen=false;this.hide();}}).props({resize:function(_3,_4,_5){var d=document,e=d[_3]||d.images[_3],ow,oh,nw,nh,arw,arh,ar;if(e){ow=e.width;oh=e.height;arw=ow/_4;arh=oh/_5;ar=(arw>arh)?arw:arh;if(ar>=1){nw=ow/ar;nh=oh/ar;}else{nw=ow;nh=oh;}
e.width=nw;e.height=nh;}},setStyle:function(id,_8,_9){var o=document.getElementById(id);if(o){eval("o.style."+_8+"=\""+_9+"\"");}}}).endType();

vjo.ctype("vjo.darwin.core.pulldownmenu.PulldownMenuItemMsg").inherits("vjo.dsf.Message").protos({sItemTitle:null,sItemValue:null,bCloseWhenClicked:false,constructs:function(_1,_2){this.base.call(this,_1);this.sItemTitle="";this.sItemValue="";this.bCloseWhenClicked=false;},setItemTitle:function(_3){this.sItemTitle=_3;},getItemTitle:function(){return this.sItemTitle;},setItemValue:function(_4){this.sItemValue=_4;},getItemValue:function(){return this.sItemValue;},setCloseWhenClicked:function(_5){this.bCloseWhenClicked=_5;},isCloseWhenClicked:function(){return this.bCloseWhenClicked;}}).endType();

vjo.ctype("vjo.darwin.core.pulldownmenu.PulldownMenuItemEvtHandler").needs("vjo.dsf.Element").needs("vjo.darwin.core.pulldownmenu.PulldownMenuItemMsg").props({handleOnClickEvent:function(_1,_2,_3,_4){var _5=new vjo.darwin.core.pulldownmenu.PulldownMenuItemMsg(_1);_5.setItemTitle(_2);_5.setItemValue(_3);_5.setCloseWhenClicked(_4);return _5;},handleOnClickBoldSelected:function(id){var E=vjo.dsf.Element;var e=E.get(id);var lt=e.parentNode.childNodes;for(var i=0;i<lt.length;i++){var _b=lt[i].childNodes;for(var j=0;j<_b.length;j++){if(_b[j].className){_b[j].className="pdm-normal-enabled";}}}
var ec=e.childNodes;for(var k=0;k<ec.length;k++){if(ec[k].className){ec[k].className="pdm-bold-enabled";}}}}).endType();

vjo.ctype("vjo.darwin.core.pulldownmenu.PulldownMenu").needs("vjo.dsf.Element").needs("vjo.dsf.ServiceEngine").needs("vjo.darwin.core.overlaypanel.VjOverlayPanelMessage").needs("vjo.dsf.client.Browser").needs("vjo.dsf.window.utils.VjWindowUtils").needs("vjo.dsf.Message","M").needs("vjo.Registry").protos({E:vjo.dsf.Element,sOpenServiceName:null,sCloseServiceName:null,sPostOpenServiceName:null,sPostCloseServiceName:null,sOlpId:null,sOlpJsId:null,sCntId:null,sCntPhId:null,bRightAlign:false,sScrollbarHeight:0,bForgive:false,bOpenUp:false,bOpened:false,bToggle:false,iOpDlay:0,iClsDlay:0,nClz:null,hClz:null,anchorId:null,oModel:null,closeTimer:0,openTimer:0,constructs:function(_1){var t=this,m=_1;t.sOpenServiceName=m.openServiceName;t.sCloseServiceName=m.closeServiceName;t.sPostOpenServiceName=m.postOpenServiceName;t.sPostCloseServiceName=m.postCloseServiceName;t.sOlpId=m.olpId;t.sOlpJsId=m.olpJsId;t.sCntId=m.cntId;t.sCntPhId=m.cntPhId;t.bRightAlign=m.rightAlign;t.sScrollbarHeight=m.scrollbarHeight;t.bForgive=t.bOpenUp=t.bOpened=t.bToggle=false;t.iOpDlay=m.openDelay;t.iClsDlay=m.closeDelay;t.nClz=m.normalClz;t.hClz=m.hiddenClz;t.anchorId="";t.oModel=m;},toggle:function(_3,_4){var t=this,oOlp=t.E.get(t.sOlpId);if(oOlp.style.visibility=="visible"){t.bToggle=false;t.bForgive=false;t.disappear(_3);}else{t.bToggle=true;t.appear(_3,_4);}
var _6=_3.nativeEvent?_3.nativeEvent:window.event;if(_6.stopPropagation){_6.stopPropagation();}else{_6.cancelBubble=true;}},appear:function(_7,_8){var t=this;if(t.openTimer){window.clearTimeout(t.openTimer);}
if(t.closeTimer){window.clearTimeout(t.closeTimer);}
t.anchorId=_8;t.openTimer=(t.iOpDlay<=0)?t.openOlpPanel():window.setTimeout(vjo.hitch(t,this.openOlpPanel),t.iOpDlay);},openOlpPanel:function(){var t=this,SE=vjo.dsf.ServiceEngine,openMsg=new vjo.dsf.Message(t.sOpenServiceName);openMsg.fSetNotchLocation=t.setNotchLocation;openMsg.oSetNotchLocationOverrider=t;openMsg.sAnchorId=t.anchorId;t.anchorId="";if(t.bOpened){openMsg.bResetPosition=true;}
SE.handleRequest(openMsg);t.appendCnt();var _b=new vjo.dsf.Message(t.sPostOpenServiceName);_b.clientContext={up:t.bOpenUp};SE.handleRequest(_b);t.bOpened=true;t.bForgive=true;return false;},disappear:function(_c){var t=this;if(t.closeTimer){window.clearTimeout(t.closeTimer);}
if(t.openTimer){window.clearTimeout(t.openTimer);}
var fl=false;if(_c!==undefined){fl=true;}
t.bForgive=false;t.closeTimer=(t.iClsDlay<=0)?t.closeOlpPanelWithStateCheck(fl):window.setTimeout(vjo.hitch(t,this.closeOlpPanel),t.iClsDlay);},kill:function(){this.bForgive=false;this.disappear();},closeOlpPanelWithStateCheck:function(_f){this.innerCloseOlpPanel(_f);},innerCloseOlpPanel:function(_10){var t=this,oOlp=t.E.get(t.sOlpId);if(oOlp==null){return;}
t.bOpened=false;if(t.openTimer){window.clearTimeout(t.openTimer);t.openTimer=null;}
if(oOlp.style.visibility=="visible"){if(!t.bForgive){var _12=new vjo.darwin.core.overlaypanel.VjOverlayPanelMessage(t.sCloseServiceName);if(_10){_12.bCheckState=true;}else{_12.bCheckState=false;}
vjo.dsf.ServiceEngine.handleRequest(_12);}else{t.bForgive=false;}}},closeOlpPanel:function(){this.innerCloseOlpPanel(true);},forgive:function(_13){this.bForgive=true;},notifyOnClose:function(_14){vjo.dsf.ServiceEngine.handleRequest(new vjo.dsf.Message(this.sPostCloseServiceName));return false;},setNotchLocation:function(_15,_16,_17,_18){var WU=vjo.dsf.window.utils.VjWindowUtils,B=vjo.dsf.client.Browser,lh=window.location.href,width=_17.offsetWidth,height=_17.offsetHeight,olpS=_17.style,screenWidth=WU.clientWidth()-7,screenHeight=WU.getBrowserWindowHeight(),aScollLocation=WU.getScrollXY(),xLoc=_18.x-aScollLocation[0],yLoc=_18.y-aScollLocation[1],anch=vjo.dsf.Element.get(_16.sAnchorName),anchHeight=20,anchorWidth=0,shadowWidth=12,m=_15.oModel,topOffset=1+m.topOffset,leftOffset=m.leftOffset,px="px";if(anch){anchHeight=anch.offsetHeight;anchorWidth=anch.offsetWidth;}
if(B.bIE&&lh.indexOf("feedback")!=-1){topOffset-=anch.offsetTop;leftOffset-=anch.offsetLeft;}
if(B.bIE&&lh.indexOf("my")!=-1&&!_15.iPdmLeft){var nd=anch.parentNode,pa="";_15.iPdmLeft=0;while(nd.nodeName!="BODY"){if(nd.nodeName=="TD"){pa=nd.currentStyle.paddingLeft;pa=pa.substr(0,pa.lastIndexOf(px));_15.iPdmLeft+=parseInt(pa);}
nd=nd.parentNode;}}
leftOffset=_15.iPdmLeft?(leftOffset-_15.iPdmLeft):leftOffset;if(!_15.bRightAlign&&((xLoc+width)<screenWidth||width>screenWidth)){olpS.left=_18.x+leftOffset+px;if((yLoc+anchHeight+height)<screenHeight||height>screenHeight){olpS.top=_18.y+anchHeight+topOffset+px;_15.bOpenUp=false;}else{if(yLoc>height){olpS.top=_18.y-height-shadowWidth+topOffset+px;_15.bOpenUp=true;}else{olpS.top=_18.y+anchHeight+topOffset+px;_15.bOpenUp=false;}}}else{olpS.left=_18.x-width+anchorWidth+leftOffset+px;if((yLoc+anchHeight+height)<screenHeight||height>screenHeight){olpS.top=_18.y+anchHeight+topOffset+px;_15.bOpenUp=false;}else{if(yLoc>height){olpS.top=_18.y-height-shadowWidth+topOffset+px;_15.bOpenUp=true;}else{olpS.top=_18.y+anchHeight+topOffset+px;_15.bOpenUp=false;}}}},hide:function(e){e.className=this.hClz;},appendCnt:function(){var t=this,ph=t.E.get(t.sCntPhId),cnt=t.E.get(t.sCntId);if(ph&&cnt&&cnt.parentNode){while(ph.firstChild){var n=ph.firstChild;t.hide(n);ph.removeChild(n);document.body.appendChild(n);}
var _1e=cnt.style,w=cnt.offsetWidth;_1e.fontSize="1em";w=cnt.offsetWidth;t.showCnt(cnt);cnt.parentNode.removeChild(cnt);ph.appendChild(cnt);t.adjust(w);}},showCnt:function(e){e.className=this.nClz;},adjust:function(_20){var t=this,addWidth=10;if(t.sScrollbarHeight&&parseInt(t.sScrollbarHeight)>0){addWidth=30;}
if(!t.oOlpS){var _22=t.E.get(t.sOlpId);t.oOlpS=_22?_22.style:false;}
if(!t.oOlpJsRef){t.oOlpJsRef=vjo.Registry.get(t.sOlpJsId);}
if(t.oOlpS&&t.oOlpJsRef){t.oOlpS.width=(_20+addWidth)+"px";t.oOlpJsRef.render();}},closePanel:function(_23){if(_23.isCloseWhenClicked()){this.bForgive=false;this.disappear();}
return;},onMouseoutClose:function(_24){this.bForgive=false;this.disappear(_24);}}).endType();

// nl_BE/e679i/FeedbackApp_viewFeedback_e679i11667155_6_nl_BE
// b=11667155
