

function sizeMe()
{

    try
    {
        var sideBarHeight, utilityHeight, contentHeight, height;
        
        var sidebar = document.getElementById("ctl00_sidebar");
        var utility = document.getElementById("ctl00_utility");
        var content = document.getElementById("ctl00_homeMaster_div_contentSection");
        
       
        
      
        if (sidebar!=null)
        { 
            if(sidebar.offsetHeight)
            { 
                 sideBarHeight=sidebar.offsetHeight; 
            } 
            else if(sidebar.style.pixelHeight)
            { 
                 sideBarHeight=sidebar.style.pixelHeight; 
            } 
        }
        
        if (utility!=null)
        {
            if(utility.offsetHeight)
            { 
                 utilityHeight=utility.offsetHeight; 
            } 
            else if(utility.style.pixelHeight)
            { 
                 utilityHeight=utility.style.pixelHeight; 
            } 
        }
        
        if (content!=null)
        {
            if(content.offsetHeight)
            { 
                 contentHeight=content.offsetHeight; 
            } 
            else if(content.style.pixelHeight)
            { 
                contentHeight=content.style.pixelHeight; 
            } 
        }
        
        if (contentHeight <= sideBarHeight || contentHeight <= utilityHeight)
        {
            if (sideBarHeight >= utilityHeight)
                height = sideBarHeight; 
            else 
                height = utilityHeight;
        }
        else
        {
            height = contentHeight;
        }
        
          
        if (sidebar!=null)
            sidebar.style.height = height+ 'px';
        if (utility!=null)
            utility.style.height = height+ 'px';
        if (content!=null)
            content.style.height = height+20 + 'px';
          
          
    }
    catch(ex)
    {
        alert(ex.message);
    }
 
}

