function GetHeight(ID,NAME)
{
    var app = navigator.appName.charAt(0);
    if(navigator.userAgent.indexOf('Safari') != -1){
        document.getElementById(ID).height = parent.frames[NAME].document.body.scrollHeight + 80;
    }else if (app == "N")
    {
        document.getElementById(ID).height = parent.frames[NAME].document.height +20;
    }
    else
    {
        document.getElementById(ID).height = parent.frames[NAME].document.body.scrollHeight + 30;
    }
//alert("height="+parent.frames[NAME].document.body.scrollHeight);
}
