You are on page 1of 3

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.

cs"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >


<head runat="server">
<!-- <% = clsCommon.getWebServerDetails("") %> -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link rel='stylesheet' type='text/css' id="csslink" runat="server" />
<title><% = Session["CoBrandName"] %> Online Manager</title>
<script type="text/javascript">
var loadstatustext="";

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>

<script language="JavaScript" type="text/JavaScript">


<!--

function MM_preloadImages() { //v3.0


var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i+
+)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload();
}
MM_reloadPage(true);

function adjustHeight()
{
// find the height of the page
var the_height;
var heightCenter=0;

//Adjust Left Window Height


if (document.getElementById('iframe_left')!=null)
{
the_height=
document.getElementById('iframe_left').contentWindow.document.body.scrollHeight;
document.getElementById('iframe_left').height= the_height;
if (the_height<=400)
{
document.getElementById('iframe_left').height= 400;
}
}

//Adjust Center Window Height


if (document.getElementById('iframe_center')!=null)
{
the_height=
document.getElementById('iframe_center').contentWindow.document.body.scrollHeight;
document.getElementById('iframe_center').height= the_height+10;
}
window.scrollTo(0,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">

<table width="952" cellspacing="0" cellpadding="0" border="0">


<tr class="body_inside">
<td colspan="2" width="952" align="left" valign="top"><iframe
id="TopRight" name="TopRight" src="Pages/TopRight.aspx" scrolling="no" width="100%"
frameborder="0" height="100"></iframe></td>
</tr>
<tr class="body_inside">
<td width="218" align="center" valign="top"><iframe id="iframe_left"
name="iframe_left" src="Pages/MiddleLeft.aspx" scrolling="no" width="100%"
height="450" frameborder="0"></iframe></td>
<td width="734" align="left" valign="top"><iframe runat="server"
id="iframe_center" name="iframe_center" frameborder="0" scrolling="no"
width="100%" height="700"></iframe></td>
</tr>

<tr class="body_inside" height="0" style="height:0px">


<td colspan="2" width="0" align="left" valign="top"><iframe
id="iframeLoadSession" src="LoadSession.aspx" scrolling="no" width="90%" height="0"
visible="false" frameborder="0"></iframe></td>
</tr>

<tr style="display:none" class="body_inside">


<td colspan="2" width="0" align="left" valign="top"><iframe
id="iframeAspxTopBar" src="../aspx_topbar.asp" scrolling="no" width="0%" height="0"
visible="false" frameborder="0"></iframe></td>
</tr>

<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>

You might also like