

function newWindow(URL, Title, width, height, top, left)
    {
     //Show new window
     //not providing a name as a second parameter will create a new window
     var oWindow = window.open (URL, null,"height=" & height & ",width=" & width & ",status=no,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes" );

   }
    
    
//This code is used to provide a reference to the radwindow "wrapper"
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 rg_RowSelected(rowObject)

 { 
	if (rowObject.Control.cells(2).all(0).href != undefined){
		window.location.href=rowObject.Control.cells(2).all(0).href;
    }

 }


