function NewWindows(url)
{
    var jumpToHere;
    var winOptions;
    var popUpWindow;
    var swidth;
    var sheight

    swidth = screen.availWidth;
    sheight = screen.availHeight;
    jumpToHere = url ;
    winOptions = 'Height=' + sheight + ', Width=' + swidth +',scrollbars=yes,resizable=yes';
    popUpWindow = open(jumpToHere, "NewWindow", winOptions);
 }


function setinnerHeight()
{
if (window.innerHeight) 
    {
    theHeight=window.innerHeight;
    }
else if (document.documentElement && document.documentElement.clientHeight) 
    {
    theHeight=document.documentElement.clientHeight;
    }
else if (document.body) 
    {
    theHeight=document.body.clientHeight;
    }
    
if(parseInt(theHeight) < parseInt(document.body.scrollHeight))
    {
    theHeight=document.body.scrollHeight + 5;
    }    

document.getElementById("LeftBar").style.height=(theHeight-200) +'px';
}
