function fixTableWidth()
{                                                        
    if(document.getElementById('RSJindholdContentTd') != null)
    {
        var height = parseInt(document.getElementById('indholdTable').clientHeight) - 22;    
        var currentHeight = parseInt(document.getElementById('RSJpagecontent').clientHeight);

        if(currentHeight < height)
        {
                                 
            if(BrowserDetect.browser == 'IE7')                                              
                document.getElementById('RSJpagecontent').style.minHeight = height + 'px';
            document.getElementById('RSJpagecontent').style.height = height + 'px';

            if (BrowserDetect.browser == 'Explorer' & BrowserDetect.version == '6') {
                document.getElementById('RSJpagecontent').style.height = (height - 1) + 'px'; }
        }
if(currentHeight > height)
        {
                                 
            if(BrowserDetect.browser == 'IE7')                                              
                document.getElementById('RSJpagecontent').style.minHeight = height + 'px';
            document.getElementById('RSJpagecontent').style.height = height + 'px';

if(BrowserDetect.browser == 'Firefox') 
           document.getElementById('RSJpagecontent').style.height = (height - 1) + 'px';

            if (BrowserDetect.browser == 'Explorer' & BrowserDetect.version == '6') {
                document.getElementById('RSJpagecontent').style.height = (height - 1) + 'px'; }
        }
    }
}
