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