function LinksAjaxBreadCrumbs(c,a,d,e,b){this.className=c;this.containerID=a;this.reverse=d;this.thisPage=e;this.linkImages=b;Utilities.register(this)}LinksAjaxBreadCrumbs.prototype={onPageLoad:function(){var b,a;a=(this.container=document.getElementById(this.containerID)).firstChild;while(a){if(a.nodeType==1){this.baseLink=a;break}a=a.nextSibling}},clearLinks:function(){var a=this,g=a.container,b=a.reverse,f,d=g.parentNode;while(f=b?g.previousSibling:g.nextSibling){d.removeChild(f)}},setBaseLink:function(d,b){var c=this,h=c.baseLink,f,a,g;c.clearLinks();if(h.nodeName.toLowerCase!="a"){h.parentNode.replaceChild(f=document.createElement("a"),h);f.className=h.className;f.id=h.id;h.id="";while(g=h.firstChild){f.appendChild(g)}h=c.baseLink=f}h.setAttribute("href",d);h.className=c.className+(b?"SelectedLink":"Link");if(a=c.linkImages){h.setAttribute("onmouseover",a+".mouseOver('"+c.thisPage+"')");h.setAttribute("onmouseout",a+".mouseOut('"+c.thisPage+"')")}},addCrumb:function(h,i,d,g,e){var k=this,a,f=k.container,c=f.parentNode,j=k.linkImages,b=window[j];a=document.createElement("a");a=k.reverse?c.insertBefore(a,c.firstChild):c.appendChild(a);a.className=k.className+(d?"SelectedLink":"Link");a.setAttribute("href",h);if(g){b.addImage(a,g,e,i);a.setAttribute("onmouseover",j+".mouseOver('"+g+"')");a.setAttribute("onmouseout",j+".mouseOut('"+g+"')")}else{a.innerHTML=i}},addCrumbFromAjax:function(f,b,h){var c=this,i=xdom_GetData(h),a,g,d=null;if(g=h.getAttribute("link_page")){d=h.getAttribute("link_ext")}c.addCrumb(f,i,b,g,d)}};function LinkImagesEngine(a){this.images=new Object();this.rollovers=new Object();this.imagesrc=new Object();this.ext=null;this.path="/images/";this.className=a;Utilities.register(this)}LinkImagesEngine.prototype={getRollovers:function(a,e,f){var d=this,b,g,c;d.ext=e;d.pages=a;if(f){this.path=f}for(c=0;c<a.length;c++){g=a[c];b=new Image();b.src=d.path+g+"_over."+e;d.rollovers[g]=b}},onPageLoad:function(){var e=this,a=e.pages,d,g,f=e.className,b;if(!a){return}for(d=0;d<a.length;d++){g=a[d];b=document.getElementById(g);if(!b){b=document.getElementById(f+g)}e.images[g]=b;e.images[f+g]=b;if(b){e.imagesrc[g]=b.src;e.imagesrc[f+g]=b.src}}},mouseOver:function(c){var a=this.images[c];if(a){a.src=this.path+c+"_over."+this.ext}var b=a},mouseOut:function(c){var a=this.images[c];if(a){a.src=this.imagesrc[c]}var b=a},addImage:function(c,h,e,g){var d=this,b,f,a;c.appendChild(b=new Image());f=d.path+h+"."+e;b.setAttribute("src",f);b.setAttribute("alt",g);d.images[h]=b;d.imagesrc[h]=f;a=new Image();a.src=d.path+h+"_over."+e;d.rollovers[h]=a;return b}};LinkImages=new LinkImagesEngine();Number.prototype.NaN0=function(){return isNaN(this)?0:this};function LinksPopupMgmtEngine(){this.Sets=new Array();this.TimeoutControl=new Array();Utilities.register(this)}LinksPopupMgmtEngine.prototype={onPageLoad:function(){var b,a,c;for(a=0;a<LinksPopupMgmt.Sets.length;a++){c=LinksPopupMgmt.Sets[a];if(!(b=document.getElementById(c.cid))){b=document.getElementById(c.className)}if(c.children){new LinksPopupSet(c,b,null)}}},fixMinWidthForIE:function(){var b,d,f,c,g,a;if(Utilities.Opera){c=document.getElementsByTagName("*");for(d=0;d<c.length;d++){f=c[d];b=window.getComputedStyle(f,"");g=b.getPropertyValue("min-width");if(g&&g!="auto"&&g!="0px"){a=document.createElement("DIV");a.style.cssText="margin:0 !important; padding:0 !important; border:0 !important; line-height:0 !important; height:0 !important; BACKGROUND:RED;";a.style.width=g;a.appendChild(document.createElement("span"));f.appendChild(a)}}return}try{if(!document.body.currentStyle){return}}catch(f){return}c=document.getElementsByTagName("*");for(d=0;d<c.length;d++){f=c[d];b=f.currentStyle;g=(b.minWidth)?b.minWidth:b.getAttribute("min-width");if(g&&g!="auto"){a=document.createElement("DIV");a.style.cssText="margin:0 !important; padding:0 !important; border:0 !important; line-height:0 !important; height:0 !important; BACKGROUND:RED;";a.style.width=g;a.appendChild(document.createElement("&nbsp;"));if(f.canHaveChildren){f.appendChild(a)}}}},addSet:function(a,b){this.Sets.push(b)},loadSet:function(b,a){}};LinksPopupMgmt=new LinksPopupMgmtEngine();function LinksPopupSet(o,a,D){var E=0;this.set=o;this.parentElement=D;this.container=a;o.popup=this;this.overDelay=o.over;this.outDelay=o.out;this.overTimerID=null;this.outTimerID=null;var p=this;var r=function(e){p.mouseout(e)};var H=function(e){p.mouseover(e)};if(D){var k=o.up,C=(o.dir=="left");var f=this.pos=D.pos;var y=this.xoff=(o.xanc=="left"?f.left:f.right)+o.xoff;var A=k?-o.ypad:o.ypad;E=this.yoff=(o.yanc=="top"?f.top:f.bottom)+(k?-o.yoff:o.yoff);this.onmouseover=D.onmouseover?D.onmouseover:null;this.onmouseout=D.onmouseout?D.onmouseout:null;D.onmouseover=H;D.onmouseout=r;this.visible=false}var b=this.csets=o.children;var g=true,z,s,c=0;var B=o.maxw?o.maxw:0;for(var u=0;u<b.length;u++){var d=b[u];if(D==null){z=document.getElementById(d.id);if(!z){return this}z.pos=Utilities.getAbsPosition(z,"Anchor")}else{z=document.createElement("div");z.className=d.className;z.id=d.id;z.style.visibility="hidden";z.style.position="absolute";if(B){z.style.width=B+"px"}a.appendChild(z);if(d.url){s=document.createElement("a");s.setAttribute("href",d.url)}else{s=document.createElement("span")}s.innerHTML=d.title;s.className=d.className+"Link";s.style.display="block";z.appendChild(s);var x=parseInt(z.offsetHeight);var m=parseInt(z.offsetWidth);c=(m>c)?m:c;if(g&&k){E-=x}z.style.top=E+"px";z.style.left=y+"px";z.onmouseover=H;z.onmouseout=r;E+=(k?-x:x)+A;if(g){var j=z;var G=$(z).css("paddingRight")}g=false}d.element=z;d.linkElement=s;z.linkObject=d;if(!D&&d.children){new LinksPopupSet(d,a,z)}}if(!D){return this}if(B){c=B}for(var u=0;u<b.length;u++){d=b[u];z=d.element;z.style.width=c+"px";d.linkElement.style.width=c+"px";z.pos=Utilities.getAbsPosition(z,"Anchor");if(C){d.element.style.left=(y-c)+"px";d.element.pos.left-=c}}if(j){var v=false,q,F,n;if(j.pos.right<f.left){v=j.pos.right;F=f.left;q=Math.min(j.pos.top,f.top);n=Math.max(j.pos.bottom,f.bottom)}else{if(j.pos.left>f.right){v=f.right;F=j.pos.left;q=Math.min(j.pos.top,f.top);n=Math.max(j.pos.bottom,f.bottom)}else{if(j.pos.top>f.bottom){q=f.bottom;n=j.pos.top;v=Math.min(j.pos.left,f.left);F=Math.max(j.pos.right,f.right)}else{if(j.pos.bottom<f.top){q=j.pos.bottom;n=f.top;v=Math.min(j.pos.left,f.left);F=Math.max(j.pos.right,f.right)}}}}if(v!==false){z=document.createElement("div");z.style.visibility="hidden";z.style.position="absolute";z.style.top=q+"px";z.style.left=v+"px";z.style.width=(F-v)+"px";z.style.height=(n-q)+"px";z.onmouseover=H;z.onmouseout=r;a.appendChild(z);j.gap=z}}for(var u=0;u<b.length;u++){d=b[u];if(d.children){new LinksPopupSet(d,a,d.element)}}}LinksPopupSet.prototype={mouseover:function(b){if(this.onmouseover){this.onmouseover(b)}if(this.outTimerID){clearInterval(this.outTimerID);this.outTimerID=null}if(this.overTimerID){return}var a=this;this.overTimerID=setInterval(function(){a.overTimer()},this.overDelay)},mouseout:function(b){if(this.onmouseout){this.onmouseout(b)}if(this.overTimerID){clearInterval(this.overTimerID);this.overTimerID=null}if(this.outTimerID){return}var a=this;this.outTimerID=setInterval(function(){a.outTimer()},this.outDelay)},overTimer:function(){if(this.set.bbl){this.bubbleVisible()}else{this.makeVisible()}},outTimer:function(){this.makeInvisible()},makeVisible:function(){if(this.visible){return true}for(var a=0;a<this.csets.length;a++){if(this.csets[a]){var b=this.csets[a].element;b.style.visibility="visible";if(b.gap){b.gap.style.visibility="visible"}}}this.visible=true;return false},bubbleVisible:function(){if(this.visible||this.bubbling){return true}this.bubbling=true;this.index=0;var a=this;this.bubbleTimer=setInterval(function(){a.bubbleNext()},this.set.bbl);this.bubbleNext();return false},bubbleNext:function(){var d=this.csets;var a=this.index++;if(d[a]){var b=d[a].element;b.style.visibility="visible";if(b.gap){b.gap.style.visibility="visible"}}if(this.index>=d.length){clearInterval(this.bubbleTimer);this.bubbling=false;this.visible=true}},makeInvisible:function(){if(!this.visible){return true}for(var a=0;a<this.csets.length;a++){if(this.csets[a]){var b=this.csets[a].element;b.style.visibility="hidden";if(b.gap){b.gap.style.visibility="hidden"}}}this.visible=false;return false}};