function iframeAutoHeight ()
{
   var obj=document.getElementById ("gitweb"); 
   
    if (obj.contentDocument && obj.contentDocument.documentElement.offsetHeight) {
        obj.height = obj.contentDocument.documentElement.offsetHeight+"px";
    } else if (obj.document && obj.contentWindow.document.documentElement) {
        obj.height = obj.contentWindow.document.documentElement.scrollHeight+"px";
    }
}
