                   
    function onUpdating()
    {
        //This function dynamically displays a 'please wait' effect while loading the MVL items
        // get the update progress div
        var updateProgressDiv = $get('updateProgressDiv'); 
        // make it visible
        updateProgressDiv.style.display = '';

        //  get the rootPanel element   
             
        var pnlMain = $get('pnlRoot');
       
        // get the bounds of both the datalist and the progress div
        var pnlMainViewBounds = Sys.UI.DomElement.getBounds(pnlMain);
        var updateProgressDivBounds = Sys.UI.DomElement.getBounds(updateProgressDiv);
        
        //    do the math to figure out where to position the element (the center of the datalist)
        var x =  pnlMainViewBounds.x + Math.round(pnlMainViewBounds.width / 2) - Math.round(updateProgressDivBounds.width / 2);
        var y =  pnlMainViewBounds.y + Math.round(pnlMainViewBounds.height / 2) - Math.round(updateProgressDivBounds.height / 2);

        Sys.UI.DomElement.setLocation(updateProgressDiv, x,y);        
}

function onUpdated() 
{
    //This function reverts whatever onUpdating() did
    // get the update progress div
    var updateProgressDiv = $get('updateProgressDiv'); 
    // make it invisible
    updateProgressDiv.style.display = 'none';
}  

function rollover(oTitle, oCell)
{
  	      
  	        var title = oTitle.id;
  	        var tblCell = oCell.id;
  	        
  	        document.getElementById(title).style.color='#663399';
  	        document.getElementById(tblCell).style.backgroundColor = '#e8ddf3';
              
}
// This function applies the opposite of what the rollover function does. It changes all
// the colors and the transparency back to what it was originally when the mouse leaves
// an individual item  	    
function rollout(oTitle, oCell)
{          
  	      
  	       
  	        var title = oTitle.id;
  	        var tblCell = oCell.id;
  	        
  	        document.getElementById(title).style.color = 'Black';
  	        document.getElementById(tblCell).style.backgroundColor = 'White';  
}			