set telerik dock popup position

function ShowRadDock() { var myWidth = 0, myHeight = 0; var scrollLeft = 0; var scrollTop = 0; if( typeof( window.innerWidth ) == ‘number’ ) { //Non-IE myWidth = window.innerWidth; myHeight = window.innerHeight; scrollLeft = window.pageXOffset; scrollTop = window.pageYOffset; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in ‘standards …