			

		function GetRadWindow()
		{
			var oWindow = null;
			if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
			else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;//IE (and Moz az well)
			return oWindow;
		}


		function CloseOnReload()
		{
			GetRadWindow().Close();
		}


		function RefreshParentPage()
		{
			GetRadWindow().BrowserWindow.location.reload();
		}
		
		function OpenRwUserAdmin()
		{
            var myWidth = 0, myHeight = 0;
			if( typeof( window.innerWidth ) == 'number' ) {
				//Non-IE
				myWidth = window.innerWidth;
				myHeight = window.innerHeight;
			} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
				//IE 6+ in 'standards compliant mode'
				myWidth = document.documentElement.clientWidth;
				myHeight = document.documentElement.clientHeight;
			} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
				//IE 4 compatible
				myWidth = document.body.clientWidth;
				myHeight = document.body.clientHeight;
			}
		
		    var oManager = GetRadWindowManager();
			var oWnd = oManager.GetWindowByName("pgRadWindow"); 
			if (!oWnd) return;
			
			var newUrl = "UserAdmin.aspx" ;
				oWnd.SetSize(530,300);
				oWnd.ReloadOnShow
				oWnd.SetUrl(newUrl);
				oWnd.Show();
				oWnd.MoveTo((myWidth-530)/2,50)

		}
			
		
	// End Rad Window
	
	
		function GoToBookmark(bkmk)
		{
//			if (bkmk <> ""){
			self.location.hash=bkmk; 
//			}
		}
