if(!window.AjaxComponents.HoverMenu||!window.AjaxComponents.HoverMenu.Loaded){AjaxComponents.HoverMenu=function(b,a){this.ID=b;this.HoverMenuParent=document.getElementById(a);this.HoverMenuParent.MenuChild=document.getElementById(b);this.HoverMenuParent.MenuChild.style.position="absolute";this.HoverMenuParent.MenuChild.MenuParent=this.HoverMenuParent};AjaxComponents.HoverMenu.prototype={Initialize:function(){this.HoverMenuParent.onmouseover=AjaxComponents.HoverMenu.prototype.OnParentMouseOver;this.HoverMenuParent.onmouseout=AjaxComponents.HoverMenu.prototype.OnParentMouseOut;this.HoverMenuParent.MenuChild.onmouseover=AjaxComponents.HoverMenu.prototype.OnChildMouseOver;this.HoverMenuParent.MenuChild.onmouseout=AjaxComponents.HoverMenu.prototype.OnChildMouseOut;this.HoverMenuParent.Show=AjaxComponents.HoverMenu.prototype.Show;this.HoverMenuParent.Hide=AjaxComponents.HoverMenu.prototype.Hide;this.HoverMenuParent.OpenDirection=this.OpenDirection;this.HoverMenuParent.OpenSide=this.OpenSide},Hide:function(){this.MenuChild.style.display="none"},Show:function(){this.MenuChild.style.display=""},OnParentMouseOver:function(g,h){this.Show();var c=$Utility.getPosition(this);var a=$Utility.getSize(this);var f=$Utility.getSize(this.MenuChild);var b=0;var d=0;if(this.OpenDirection=="Left"){if(this.OpenSide=="BottomLeft"){b+=(c.Y+a.Height);d+=(c.X-f.Width)}else{if(this.OpenSide=="BottomRight"){b+=(c.Y+a.Height);d+=(c.X+a.Width-f.Width)}else{if(this.OpenSide=="TopLeft"){b+=(c.Y-f.Height);d+=(c.X-f.Width)}else{if(this.OpenSide=="TopRight"){b+=(c.Y-f.Height);d+=(c.X+a.Width-f.Width)}}}}}else{if(this.OpenDirection=="Right"){if(this.OpenSide=="BottomLeft"){b+=(c.Y+a.Height);d+=c.X}else{if(this.OpenSide=="BottomRight"){b+=(c.Y+a.Height);d+=(c.X+a.Width)}else{if(this.OpenSide=="TopLeft"){b+=c.Y;d+=c.X}else{if(this.OpenSide=="TopRight"){b+=c.Y;d+=(c.X+a.Width)}}}}}}this.MenuChild.style.top=b+"px";this.MenuChild.style.left=d+"px"},OnParentMouseOut:function(a,b){this.Hide()},OnChildMouseOver:function(a,b){this.MenuParent.Show()},OnChildMouseOut:function(a,b){this.MenuParent.Hide()}};window.AjaxComponents.HoverMenu.Loaded=true};
if(!AjaxComponents.CCAnimation){AjaxComponents.CCAnimation=function(){};AjaxComponents.CCAnimation.prototype={loaded:false,changeWidth:function(c,e,d,b){if(c.changeWidthFunction){window.clearInterval(c.changeWidthFunction)}c.currentWidth=$Utility.getElementSize(c).Width;var f=0;var a=$Animation.getStepValueInt(c.currentWidth,e,d,b);var g=Math.ceil(b/d);if(a==0){c.style.width=e+"px";return}c.changeWidthFunction=window.setInterval(function(){c.currentWidth=c.currentWidth+a;c.style.width=c.currentWidth+"px";f++;if(f>g){c.style.width=e+"px";window.clearInterval(c.changeWidthFunction);c.changeWidthFunction=null}},d)},changeHeight:function(d,b,e,c){if(d.changeHeightFunction){window.clearInterval(d.changeHeightFunction)}d.currentHeight=$Utility.getElementSize(d).Height;var f=0;var g=$Animation.getStepValueInt(d.currentHeight,b,e,c);var a=Math.ceil(c/e);if(g==0){d.style.height=b+"px";return}d.changeHeightFunction=window.setInterval(function(){d.currentHeight=d.currentHeight+g;d.style.height=d.currentHeight+"px";f++;if(f>a){d.style.height=b+"px";window.clearInterval(d.changeHeightFunction);d.changeHeightFunction=null}},e)},changeXPos:function(d,b,e,c){if(d.changeXPosFunction){window.clearInterval(d.changeXPosFunction)}d.currentXPos=$Utility.getPositionX(d);var f=0;var g=$Animation.getStepValueInt(d.currentXPos,b,e,c);var a=Math.ceil(c/e);if(g==0){d.style.left=b+"px";return}d.changeXPosFunction=window.setInterval(function(){d.currentXPos=d.currentXPos+g;d.style.left=d.currentXPos+"px";f++;if(f>a){d.style.left=b+"px";window.clearInterval(d.changeXPosFunction);d.changeXPosFunction=null}},e)},changeYPos:function(d,b,e,c){if(d.changeYPosFunction){window.clearInterval(d.changeYPosFunction)}d.currentYPos=$Utility.getPositionY(d);var f=0;var g=$Animation.getStepValueInt(d.currentYPos,b,e,c);var a=Math.ceil(c/e);if(g==0){d.style.top=b+"px";return}d.changeYPosFunction=window.setInterval(function(){d.currentYPos=d.currentYPos+g;d.style.top=d.currentYPos+"px";f++;if(f>a){d.style.top=b+"px";window.clearInterval(d.changeYPosFunction);d.changeYPosFunction=null}},e)},changeTransparency:function(c,f,d,b){if(c.changeTransparencyFunction){window.clearInterval(c.changeTransparencyFunction)}c.currentTransparency=$Utility.getElementOpacity(c);var e=0;var a=$Animation.getStepValueInt(c.currentTransparency,f,d,b);var g=Math.ceil(b/d);if(a==0){$Utility.setElementOpacity(c,f);return}c.changeTransparencyFunction=window.setInterval(function(){c.currentTransparency=c.currentTransparency+a;$Utility.setElementOpacity(c,c.currentTransparency);e++;if(e>g){$Utility.setElementOpacity(c,f);window.clearInterval(c.changeTransparencyFunction);c.changeTransparencyFunction=null}},d)},getStepValueInt:function(b,c,a,d){return val=(c-b)/(d/a)}};var $Animation=new AjaxComponents.CCAnimation();AjaxComponents.CCAnimation.loaded=true};
