Professional Documents
Culture Documents
Default Aspx
Default Aspx
cs"
Inherits="_Default" %>
function autofitIframe(id)
{
if (!window.opera && !document.mimeType && document.all &&
document.getElementById)
{
parent.document.getElementById(id).style.height=this.document.body.offsetHeight+"px
";
}
else if (navigator.userAgent.indexOf('Safari') != -1)
{
parent.document.getElementById(id).style.height=this.document.body.offsetHeight+"px
";
}
else if(document.getElementById)
{
parent.document.getElementById(id).style.height=this.document.body.scrollHeight+"px
"
}
}
function LoadPage(getThisPage)
{
alert("<iframe width='98%' src='"+ getThisPage.id +".aspx'
scrolling='no'></iframe>");
document.getElementById('Main1').innerHTML = "<iframe id='IframeMain'
width='98%' src='"+ getThisPage.id +".aspx' scrolling='no'></iframe>";
document.getElementById('IframeMain').height=500;
// document.getElementById('IframeMain').style.border=0;
alert("OK "+this.document.getElementById('IframeMain').offsetHeight);
return false;
}
function Check()
{
var DIVtoRemove;
alert("Check ");
//document.getElementById('div_CallForward').style.visibility= 'hidden';
DIVtoRemove=document.getElementById('div_CallForward');
DIVtoRemove=null;
//document.body.removeChild(DIVtoRemove);
return false;
}
</script>
function adjustHeight()
{
// find the height of the page
var the_height;
var heightCenter=0;
//-->
</script>
</head>
<!--<body onload="LoadAllPage()">-->
<!--
This page is not in use. The brand specific folder has the defaulta.aspx
-->
<body class="body_outside">
<form id="form1_default" runat="server">
<div align="center">
<tr class="body_inside">
<td colspan="2" width="952" align="left" valign="top"><iframe
id="iframe_footer" src="Pages/NavFooter.aspx" scrolling="no" width="100%"
height="65" frameborder="0"></iframe></td>
</tr>
</table>
</div>
</form>
</body>
</html>