﻿if (typeof window.RadControlsNamespace=="u\x6e\x64efined"){window.RadControlsNamespace= {} ; }if (typeof(window.RadControlsNamespace.Screen)=="unde\x66\x69ned" || typeof(window.RadControlsNamespace.Screen.Version)==null || window.RadControlsNamespace.Screen.Version<.11e1){window.RadControlsNamespace.Screen= {Version: .11e1,GetViewPortSize:function (){var width=0; var height=0; var lhq=document.body; if (RadControlsNamespace.Browser.StandardsMode && !RadControlsNamespace.Browser.IsSafari){lhq=document.documentElement; }if (window.innerWidth){width=window.innerWidth; height=window.innerHeight; }else {width=lhq.clientWidth; height=lhq.clientHeight; }width+=lhq.scrollLeft; height+=lhq.scrollTop; return {width:width-6,height:height-6 } ; } ,GetElementPosition:function (el){var parent=null; var l5u= {x: 0,y: 0 } ; var box; if (el.getBoundingClientRect){box=el.getBoundingClientRect(); var scrollTop=document.documentElement.scrollTop || document.body.scrollTop; var scrollLeft=document.documentElement.scrollLeft || document.body.scrollLeft; l5u.x=box.left+scrollLeft-2; l5u.y=box.top+scrollTop-2; return l5u; }else if (document.getBoxObjectFor){try {box=document.getBoxObjectFor(el); l5u.x=box.x-2; l5u.y=box.y-2; }catch (e){}}else {l5u.x=el.offsetLeft; l5u.y=el.offsetTop; parent=el.offsetParent; if (parent!=el){while (parent){l5u.x+=parent.offsetLeft; l5u.y+=parent.offsetTop; parent=parent.offsetParent; }}}if (window.opera){parent=el.offsetParent; while (parent && parent.tagName!="B\x4f\x44\x59" && parent.tagName!="\x48TML"){l5u.x-=parent.scrollLeft; l5u.y-=parent.scrollTop; parent=parent.offsetParent; }}else {parent=el.parentNode; while (parent && parent.tagName!="\x42ODY" && parent.tagName!="\x48TML"){l5u.x-=parent.scrollLeft; l5u.y-=parent.scrollTop; parent=parent.parentNode; }}return l5u; } ,ElementOverflowsTop:function (i6){return this.GetElementPosition(i6).y<0; } ,ElementOverflowsLeft:function (i6){return this.GetElementPosition(i6).x<0; } ,ElementOverflowsBottom:function (ihq,i6){var Ihq=this.GetElementPosition(i6).y+RadControlsNamespace.Box.GetOuterHeight(i6); return Ihq>ihq.height; } ,ElementOverflowsRight:function (ihq,i6){var ohr=this.GetElementPosition(i6).x+RadControlsNamespace.Box.GetOuterWidth(i6); return ohr>ihq.width; }};}

if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();