/* Built from X 4.19 by xag 0.02 beta on 30Nov09 */
xLibrary={version:"4.19",license:"GNU LGPL",url:"http://cross-browser.com/"};function X2(d){var e,g,b,f;b=d.split("-");f=b[0];for(e=1;e<b.length;++e){g=b[e].charAt(0);f+=b[e].replace(g,g.toUpperCase())}return f}function X3(){var b=0,c=document,a=window;if((!c.compatMode||c.compatMode=="CSS1Compat")&&c.documentElement&&c.documentElement.clientHeight){b=c.documentElement.clientHeight}else{if(c.body&&c.body.clientHeight){b=c.body.clientHeight}else{if(X5(a.innerWidth,a.innerHeight,c.width)){b=a.innerHeight;if(c.width>a.innerWidth){b-=16}}}}return b}function X4(){var b=0,c=document,a=window;if((!c.compatMode||c.compatMode=="CSS1Compat")&&!a.opera&&c.documentElement&&c.documentElement.clientWidth){b=c.documentElement.clientWidth}else{if(c.body&&c.body.clientWidth){b=c.body.clientWidth}else{if(X5(a.innerWidth,a.innerHeight,c.height)){b=a.innerWidth;if(c.height>a.innerHeight){b-=16}}}}return b}function X5(){for(var a=0;a<arguments.length;++a){if(typeof(arguments[a])=="undefined"){return false}}return true}function X7(g,f,c){if(!(g=X8(g))){return null}var d,a="undefined",b=document.defaultView;if(b&&b.getComputedStyle){d=b.getComputedStyle(g,"");if(d){a=d.getPropertyValue(f)}}else{if(g.currentStyle){a=g.currentStyle[X2(f)]}else{return null}}return c?(parseInt(a)||0):a}function X8(a){if(typeof(a)=="string"){if(document.getElementById){a=document.getElementById(a)}else{if(document.all){a=document.all[a]}else{a=null}}}return a}function X9(l,k,b,h){var g=[],d,j,a;d=new RegExp("(^|\\s)"+l+"(\\s|$)");j=XB(b,k);for(a=0;a<j.length;++a){if(d.test(j[a].className)){g[g.length]=j[a];if(h){h(j[a])}}}return g}function XB(a,c){var b=null;a=a||"*";c=X8(c)||document;if(typeof c.getElementsByTagName!="undefined"){b=c.getElementsByTagName(a);if(a=="*"&&(!b||!b.length)){b=c.all}}else{if(a=="*"){b=c.all}else{if(c.all&&c.all.tags){b=c.all.tags(a)}}}return b||[]}function XD(f,i,g,j,a,h,d){if(!XJ(j)){j=a=h=d=0}else{if(!XJ(a)){a=h=d=j}else{if(!XJ(h)){d=a;h=j}}}var c=XM(f),k=XN(f);return(i>=c+d&&i<=c+XY(f)-a&&g>=k+j&&g<=k+XE(f)-h)}function XE(i,f){var d,g=0,c=0,b=0,j=0,a;if(!(i=X8(i))){return 0}if(XJ(f)){if(f<0){f=0}else{f=Math.round(f)}}else{f=-1}d=X5(i.style);if(i==document||i.tagName.toLowerCase()=="html"||i.tagName.toLowerCase()=="body"){f=X3()}else{if(d&&X5(i.offsetHeight)&&XU(i.style.height)){if(f>=0){if(document.compatMode=="CSS1Compat"){a=X7;g=a(i,"padding-top",1);if(g!==null){c=a(i,"padding-bottom",1);b=a(i,"border-top-width",1);j=a(i,"border-bottom-width",1)}else{if(X5(i.offsetHeight,i.style.height)){i.style.height=f+"px";g=i.offsetHeight-f}}}f-=(g+c+b+j);if(isNaN(f)||f<0){return}else{i.style.height=f+"px"}}f=i.offsetHeight}else{if(d&&X5(i.style.pixelHeight)){if(f>=0){i.style.pixelHeight=f}f=i.style.pixelHeight}}}return f}function XH(c,a){if(!(c=X8(c))){return 0}var b=X5(c.style);if(b&&XU(c.style.left)){if(XJ(a)){c.style.left=a+"px"}else{a=parseInt(c.style.left);if(isNaN(a)){a=X7(c,"left",1)}if(isNaN(a)){a=0}}}else{if(b&&X5(c.style.pixelLeft)){if(XJ(a)){c.style.pixelLeft=a}else{a=c.style.pixelLeft}}}return a}function XI(b,a,c){XH(b,a);XX(b,c)}function XJ(){for(var a=0;a<arguments.length;++a){if(isNaN(arguments[a])||typeof(arguments[a])!="number"){return false}}return true}function XL(a,b){var c=X5(b);if(!(a=X8(a))){return 2}if(XU(a.style.opacity)){if(c){a.style.opacity=b+""}else{b=parseFloat(a.style.opacity)}}else{if(XU(a.style.filter)){if(c){a.style.filter="alpha(opacity="+(100*b)+")"}else{if(a.filters&&a.filters.alpha){b=a.filters.alpha.opacity/100}}}else{if(XU(a.style.MozOpacity)){if(c){a.style.MozOpacity=b+""}else{b=parseFloat(a.style.MozOpacity)}}else{if(XU(a.style.KhtmlOpacity)){if(c){a.style.KhtmlOpacity=b+""}else{b=parseFloat(a.style.KhtmlOpacity)}}}}}return isNaN(b)?1:b}function XM(b){var a=0;b=X8(b);while(b){if(X5(b.offsetLeft)){a+=b.offsetLeft}b=X5(b.offsetParent)?b.offsetParent:null}return a}function XN(a){var b=0;a=X8(a);while(a){if(X5(a.offsetTop)){b+=a.offsetTop}a=X5(a.offsetParent)?a.offsetParent:null}return b}function XR(c,a,b){return{w:XY(c,a),h:XE(c,b)}}function xScrollLeft(c,b){var a,d=0;if(!X5(c)||b||c==document||c.tagName.toLowerCase()=="html"||c.tagName.toLowerCase()=="body"){a=window;if(b&&c){a=c}if(a.document.documentElement&&a.document.documentElement.scrollLeft){d=a.document.documentElement.scrollLeft}else{if(a.document.body&&X5(a.document.body.scrollLeft)){d=a.document.body.scrollLeft}}}else{c=X8(c);if(c&&XJ(c.scrollLeft)){d=c.scrollLeft}}return d}function XS(c,b){var a,d=0;if(!X5(c)||b||c==document||c.tagName.toLowerCase()=="html"||c.tagName.toLowerCase()=="body"){a=window;if(b&&c){a=c}if(a.document.documentElement&&a.document.documentElement.scrollTop){d=a.document.documentElement.scrollTop}else{if(a.document.body&&X5(a.document.body.scrollTop)){d=a.document.body.scrollTop}}}else{c=X8(c);if(c&&XJ(c.scrollTop)){d=c.scrollTop}}return d}function XU(b){for(var a=0;a<arguments.length;++a){if(typeof(arguments[a])!="string"){return false}}return true}function XV(c,a){var b,f;for(b=2;b<arguments.length;++b){f=X8(arguments[b]);if(f.style){try{f.style[c]=a}catch(d){f.style[c]=""}}}}function XX(b,c){if(!(b=X8(b))){return 0}var a=X5(b.style);if(a&&XU(b.style.top)){if(XJ(c)){b.style.top=c+"px"}else{c=parseInt(b.style.top);if(isNaN(c)){c=X7(b,"top",1)}if(isNaN(c)){c=0}}}else{if(a&&X5(b.style.pixelTop)){if(XJ(c)){b.style.pixelTop=c}else{c=b.style.pixelTop}}}return c}function XY(g,b){var d,f=0,i=0,h=0,c=0,a;if(!(g=X8(g))){return 0}if(XJ(b)){if(b<0){b=0}else{b=Math.round(b)}}else{b=-1}d=X5(g.style);if(g==document||g.tagName.toLowerCase()=="html"||g.tagName.toLowerCase()=="body"){b=X4()}else{if(d&&X5(g.offsetWidth)&&XU(g.style.width)){if(b>=0){if(document.compatMode=="CSS1Compat"){a=X7;f=a(g,"padding-left",1);if(f!==null){i=a(g,"padding-right",1);h=a(g,"border-left-width",1);c=a(g,"border-right-width",1)}else{if(X5(g.offsetWidth,g.style.width)){g.style.width=b+"px";f=g.offsetWidth-b}}}b-=(f+i+h+c);if(isNaN(b)||b<0){return}else{g.style.width=b+"px"}}b=g.offsetWidth}else{if(d&&X5(g.style.pixelWidth)){if(b>=0){g.style.pixelWidth=b}b=g.style.pixelWidth}}}return b};