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 compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
scrollLeft = document.documentElement.scrollLeft;
scrollTop = document.documentElement.scrollTop;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
scrollLeft = document.body.scrollLeft;
scrollTop = document.body.scrollTop;
}
var dockImport = $find("");
var dockStyle = document.getElementById("");
var left = (myWidth - dockImport.get_width().replace("px","")) / 2 + scrollLeft;
var top = (myHeight - dockImport.get_height().replace("px","")) / 2 + scrollTop;
if (left < 0){
left = 0;
}
if (top < 0){
top = 0;
}
dockStyle.style.left = left + "px";
dockStyle.style.top = top + "px";
dockImport.enableModalExtender();
}