function XSUtilsClass(){var A=A;var B=B}XSUtilsClass.prototype.getWindowX=function(){if(window.screenLeft!=null){return window.screenLeft
}else{if(window.screenX!=null){return window.screenX}}};XSUtilsClass.prototype.getWindowY=function(){if(window.screenTop!=null){return window.screenTop
}else{if(window.screenY!=null){return window.screenY}}};XSUtilsClass.prototype.getViewportWidth=function(){if(window.innerWidth!=null){return window.innerWidth
}else{if(document.documentElement&&document.documentElement.clientWidth!=null){return document.documentElement.clientWidth
}else{if(document.body.clientWidth!=null){return document.body.clientWidth}}}};XSUtilsClass.prototype.getViewportHeight=function(){if(window.innerHeight!=null){return window.innerHeight
}else{if(document.documentElement&&document.documentElement.clientHeight!=null){return document.documentElement.clientHeight
}else{if(document.body.clientHeight!=null){return document.body.clientHeight}}}};
XSUtilsClass.prototype.getHorizontalScroll=function(){var A=null;if(window.pageXOffset!=null){A=window.pageXOffset
}else{if(document.documentElement&&document.documentElement.scrollLeft!=null){A=document.documentElement.scrollLeft
}else{if(document.body.scrollLeft!=null){A=document.body.scrollLeft}}}return A};XSUtilsClass.prototype.getVerticalScroll=function(){if(window.pageYOffset!=null){return window.pageYOffset
}else{if(document.documentElement&&document.documentElement.scrollTop!=null){return document.documentElement.scrollTop
}else{if(document.body.scrollTop!=null){return document.body.scrollTop}}}};XSUtilsClass.prototype.getDocumentWidth=function(){if(document.documentElement&&document.documentElement.scrollWidth!=null){return document.documentElement.scrollWidth
}else{if(document.body.scrollWidth!=null){return document.body.scrollWidth}}};XSUtilsClass.prototype.getDocumentHeight=function(){if(document.documentElement&&document.documentElement.scrollHeight!=null){return document.documentElement.scrollHeight
}else{if(document.body.scrollHeight!=null){return document.body.scrollHeight}}};XSUtilsClass.prototype.addEventListener=function(D,C,B,A){if(D.addEventListener){D.addEventListener(C,B,A)
}else{if(D.attachEvent){D.attachEvent("on"+C,B)}}};XSUtilsClass.prototype.removeEventListener=function(D,C,B,A){if(D.removeEventListener){D.removeEventListener(C,B,A)
}else{if(D.attachEvent){D.detachEvent("on"+C,B)}}};XSUtilsClass.prototype.isMouseInsideElement=function(F,A){var I=A.clientX+this.getHorizontalScroll();
var H=A.clientY+this.getVerticalScroll();var E=0;var C=0;var G=F.offsetWidth;var B=F.offsetHeight;
var D=F;do{E+=D.offsetLeft;C+=D.offsetTop}while(D=D.offsetParent);var J=I>=E&&I<=E+G&&H>=C&&H<=C+B;
return J};XSUtilsClass.prototype.rgb2HTMLColor=function(D,C,A){var B=Math.round(D)*65536+256*Math.round(C)+Math.round(A);
return B.toString(16)};XSUtilsClass.prototype.changeOpacityForElement=function(C,B){var A=C.style;
A.opacity=(B/100);A.MozOpacity=(B/100);A.KhtmlOpacity=(B/100);A.filter="alpha(opacity="+B+")";
if(B==0){A.visibility="hidden"}else{A.visibility="visible"}};var XSUtils=new XSUtilsClass();