function GetHeight(Y)
{
var app = navigator.appName.charAt(0);
if (app == "N") 
{
//document.getElementById(Y).height = parent.frames['newY'].document.height +40;//
document.getElementById(Y).height = parent.frames['newY'].document.body.scrollHeight +40;
}
else
{
document.getElementById(Y).height = parent.frames['newY'].document.body.scrollHeight +40;
}
}