var xVersion="3.15.2",xNN4,xOp7,xOp5or6,xIE4Up,xIE4,xIE5,xMac,xUA=navigator.userAgent.toLowerCase();window.opera?(xOp7=xUA.indexOf("opera 7")!=-1||xUA.indexOf("opera/7")!=-1)||(xOp5or6=xUA.indexOf("opera 5")!=-1||xUA.indexOf("opera/5")!=-1||xUA.indexOf("opera 6")!=-1||xUA.indexOf("opera/6")!=-1):document.all&&xUA.indexOf("msie")!=-1?(xIE4Up=parseInt(navigator.appVersion)>=4,xIE4=xUA.indexOf("msie 4")!=-1,xIE5=xUA.indexOf("msie 5")!=-1):document.layers&&(xNN4=true);xMac=xUA.indexOf("mac")!=-1;
function xGetElementById(a){return typeof a!="string"?a:a=document.getElementById?document.getElementById(a):document.all?document.all[a]:null}function xParent(a,b){if(!(a=xGetElementById(a)))return null;var c=null;if(!b&&xDef(a.offsetParent))c=a.offsetParent;else if(xDef(a.parentNode))c=a.parentNode;else if(xDef(a.parentElement))c=a.parentElement;return c}function xDef(){for(var a=0;a<arguments.length;++a)if(typeof arguments[a]=="undefined")return false;return true}
function xStr(a){for(var b=0;b<arguments.length;++b)if(typeof arguments[b]!="string")return false;return true}function xNum(a){for(var b=0;b<arguments.length;++b)if(typeof arguments[b]!="number")return false;return true}function xShow(a){if((a=xGetElementById(a))&&a.style&&xDef(a.style.visibility))a.style.visibility="visible"}function xHide(a){if((a=xGetElementById(a))&&a.style&&xDef(a.style.visibility))a.style.visibility="hidden"}
function xZIndex(a,b){if(!(a=xGetElementById(a)))return 0;if(a.style&&xDef(a.style.zIndex)){if(xNum(b))a.style.zIndex=b;b=parseInt(a.style.zIndex)}return b}function xColor(a,b){if(!(a=xGetElementById(a)))return"";var c="";if(a.style&&xDef(a.style.color)){if(xStr(b))a.style.color=b;c=a.style.color}return c}
function xBackground(a,b,c){if(!(a=xGetElementById(a)))return"";var d="";if(a.style){if(xStr(b))xOp5or6?a.style.background=b:a.style.backgroundColor=b;if(xStr(c))a.style.backgroundImage=c!=""?"url("+c+")":null;d=xOp5or6?a.style.background:a.style.backgroundColor}return d}function xMoveTo(a,b,c){xLeft(a,b);xTop(a,c)}
function xLeft(a,b){if(!(a=xGetElementById(a)))return 0;var c=xDef(a.style);if(c&&xStr(a.style.left))xNum(b)?a.style.left=b+"px":(b=parseInt(a.style.left),isNaN(b)&&(b=0));else if(c&&xDef(a.style.pixelLeft))xNum(b)?a.style.pixelLeft=b:b=a.style.pixelLeft;return b}
function xTop(a,b){if(!(a=xGetElementById(a)))return 0;var c=xDef(a.style);if(c&&xStr(a.style.top))xNum(b)?a.style.top=b+"px":(b=parseInt(a.style.top),isNaN(b)&&(b=0));else if(c&&xDef(a.style.pixelTop))xNum(b)?a.style.pixelTop=b:b=a.style.pixelTop;return b}function xPageX(a){if(!(a=xGetElementById(a)))return 0;for(var b=0;a;)xDef(a.offsetLeft)&&(b+=a.offsetLeft),a=xDef(a.offsetParent)?a.offsetParent:null;return b}
function xPageY(a){if(!(a=xGetElementById(a)))return 0;for(var b=0;a;)xDef(a.offsetTop)&&(b+=a.offsetTop),a=xDef(a.offsetParent)?a.offsetParent:null;return b}function xOffsetLeft(a){return!(a=xGetElementById(a))?0:xDef(a.offsetLeft)?a.offsetLeft:0}function xOffsetTop(a){return!(a=xGetElementById(a))?0:xDef(a.offsetTop)?a.offsetTop:0}
function xScrollLeft(a){var b=0;if(a=xGetElementById(a)){if(xNum(a.scrollLeft))b=a.scrollLeft}else if(document.documentElement&&document.documentElement.scrollLeft)b=document.documentElement.scrollLeft;else if(document.body&&xDef(document.body.scrollLeft))b=document.body.scrollLeft;return b}
function xScrollTop(a){var b=0;if(a=xGetElementById(a)){if(xNum(a.scrollTop))b=a.scrollTop}else if(document.documentElement&&document.documentElement.scrollTop)b=document.documentElement.scrollTop;else if(document.body&&xDef(document.body.scrollTop))b=document.body.scrollTop;return b}function xHasPoint(a,b,c,d,e,f,g){xNum(d)?xNum(e)?xNum(f)||(g=e,f=d):e=f=g=d:d=e=f=g=0;var h=xPageX(a),i=xPageY(a);return b>=h+g&&b<=h+xWidth(a)-e&&c>=i+d&&c<=i+xHeight(a)-f}
function xResizeTo(a,b,c){xWidth(a,b);xHeight(a,c)}function xWidth(a,b){if(!(a=xGetElementById(a)))return 0;var b=xNum(b)?b<0?0:Math.round(b):-1,c=xDef(a.style);if(c&&xDef(a.offsetWidth)&&xStr(a.style.width))b>=0&&xSetCW(a,b),b=a.offsetWidth;else if(c&&xDef(a.style.pixelWidth)){if(b>=0)a.style.pixelWidth=b;b=a.style.pixelWidth}return b}
function xHeight(a,b){if(!(a=xGetElementById(a)))return 0;var b=xNum(b)?b<0?0:Math.round(b):-1,c=xDef(a.style);if(c&&xDef(a.offsetHeight)&&xStr(a.style.height))b>=0&&xSetCH(a,b),b=a.offsetHeight;else if(c&&xDef(a.style.pixelHeight)){if(b>=0)a.style.pixelHeight=b;b=a.style.pixelHeight}return b}function xGetCS(a,b){return parseInt(document.defaultView.getComputedStyle(a,"").getPropertyValue(b))}
function xSetCW(a,b){var c=0,d=0,e=0,f=0;if(xDef(document.defaultView)&&xDef(document.defaultView.getComputedStyle))c=xGetCS(a,"padding-left"),d=xGetCS(a,"padding-right"),e=xGetCS(a,"border-left-width"),f=xGetCS(a,"border-right-width");else if(xDef(a.currentStyle,document.compatMode))document.compatMode=="CSS1Compat"&&(c=parseInt(a.currentStyle.paddingLeft),d=parseInt(a.currentStyle.paddingRight),e=parseInt(a.currentStyle.borderLeftWidth),f=parseInt(a.currentStyle.borderRightWidth));else if(xDef(a.offsetWidth,
a.style.width))a.style.width=b+"px",c=a.offsetWidth-b;isNaN(c)&&(c=0);isNaN(d)&&(d=0);isNaN(e)&&(e=0);isNaN(f)&&(f=0);c=b-(c+d+e+f);if(!(isNaN(c)||c<0))a.style.width=c+"px"}
function xSetCH(a,b){var c=0,d=0,e=0,f=0;if(xDef(document.defaultView)&&xDef(document.defaultView.getComputedStyle))c=xGetCS(a,"padding-top"),d=xGetCS(a,"padding-bottom"),e=xGetCS(a,"border-top-width"),f=xGetCS(a,"border-bottom-width");else if(xDef(a.currentStyle,document.compatMode))document.compatMode=="CSS1Compat"&&(c=parseInt(a.currentStyle.paddingTop),d=parseInt(a.currentStyle.paddingBottom),e=parseInt(a.currentStyle.borderTopWidth),f=parseInt(a.currentStyle.borderBottomWidth));else if(xDef(a.offsetHeight,
a.style.height))a.style.height=b+"px",c=a.offsetHeight-b;isNaN(c)&&(c=0);isNaN(d)&&(d=0);isNaN(e)&&(e=0);isNaN(f)&&(f=0);c=b-(c+d+e+f);if(!(isNaN(c)||c<0))a.style.height=c+"px"}function xClip(a,b,c,d,e){if((a=xGetElementById(a))&&a.style)a.style.clip=xNum(e)?"rect("+b+"px "+c+"px "+d+"px "+e+"px)":"rect(0 "+parseInt(a.style.width)+"px "+parseInt(a.style.height)+"px 0)"}
function xClientWidth(){var a=0;if(xOp5or6)a=window.innerWidth;else if(!window.opera&&document.documentElement&&document.documentElement.clientWidth)a=document.documentElement.clientWidth;else if(document.body&&document.body.clientWidth)a=document.body.clientWidth;else if(xDef(window.innerWidth,window.innerHeight,document.height))a=window.innerWidth,document.height>window.innerHeight&&(a-=16);return a}
function xClientHeight(){var a=0;if(xOp5or6)a=window.innerHeight;else if(!window.opera&&document.documentElement&&document.documentElement.clientHeight)a=document.documentElement.clientHeight;else if(document.body&&document.body.clientHeight)a=document.body.clientHeight;else if(xDef(window.innerWidth,window.innerHeight,document.width))a=window.innerHeight,document.width>window.innerWidth&&(a-=16);return a}
function xInnerHtml(a,b){if(!(a=xGetElementById(a)))return"";if(xStr(a.innerHTML))if(xStr(b))a.innerHTML=b;else return a.innerHTML};

