File: /home/awaldron/public_html/archive/waldron1/sm_header.php
<html>
<head>
<title>Waldron Internet Management Services</title>
<script language="JavaScript1.2">
<!--
function AW_swapImgRestore() { //v3.0
var i,x,a=document.AW_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function AW_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.AW_p) d.AW_p=new Array();
var i,j=d.AW_p.length,a=AW_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.AW_p[j]=new Image; d.AW_p[j++].src=a[i];}}
}
function AW_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=AW_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function AW_swapImage() { //v3.0
var i,j=0,x,a=AW_swapImage.arguments; document.AW_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=AW_findObj(a[i]))!=null){document.AW_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function AW_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<link rel="stylesheet" type="text/css" href="lib/sm_styles.css">
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" rightmargin="0" marginwidth="0" marginheight="0" onLoad="AW_preloadImages('../images/small/b_home_on.gif','../images/small/b_plans_on.gif','../images/small/b_rates_on.gif','../images/small/b_portfolio_on.gif','../images/small/b_about_on.gif','../images/small/b_contact_on.gif','../images/small/b_clientlog_on.gif')">
<script language="JavaScript">
<!-- Hide
if (window.innerWidth)
{ heightAvail = window.innerHeight;
widthAvail = window.innerWidth; }
else if (document.documentElement && document.documentElement.clientWidth)
{ heightAvail = document.documentElement.clientHeight;
widthAvail = document.documentElement.clientWidth; }
else if (document.body)
{ heightAvail = document.body.clientHeight;
widthAvail = document.body.clientWidth; }
heightAvail -= 12;
document.write("<table width=100% height=" + heightAvail + " border=0 cellpadding=0 cellspacing=0>");
-->
</script>
<tr>
<td width=125 height=64><img src="images/wf_topleft.gif" width=125 height=64></td>
<td width="*" height=64 background="images/wf_top.gif" align="center"><img src="images/wf_title.gif" width=275 height=64></td>
<td width=150 height=64><img src="images/wf_topright.gif" width=95 height=64></td>
</tr>
<tr>
<td width=125 valign="top" background="images/wf_left.gif">
<table width=100% border=0 cellspacing=0 cellpadding=0>
<?
if ($page_name == "index") {
echo "<tr><td><a href=\"sm_index.php\"><img src=\"../images/small/b_home_on.gif\" name=\"home\" border=\"0\"></a></td></tr>";
} else {
echo "<tr><td><a href=\"sm_index.php\" onMouseOut=\"AW_swapImgRestore()\" onMouseOver=\"AW_swapImage('home','','../images/small/b_home_on.gif',1)\"><img src=\"../images/small/b_home_off.gif\" name=\"home\" border=\"0\"></a></td></tr>";
}
if ($page_name == "plans") {
echo "<tr><td><a href=\"sm_plans.php\"><img src=\"../images/small/b_plans_on.gif\" name=\"plans\" border=\"0\"></a></td></tr>";
} else {
echo "<tr><td><a href=\"sm_plans.php\" onMouseOut=\"AW_swapImgRestore()\" onMouseOver=\"AW_swapImage('plans','','../images/small/b_plans_on.gif',1)\"><img src=\"../images/small/b_plans_off.gif\" name=\"plans\" border=\"0\"></a></td></tr>";
}
if ($page_name == "rates") {
echo "<tr><td><a href=\"sm_rates.php\"><img src=\"../images/small/b_rates_on.gif\" name=\"rates\" border=\"0\"></a></td></tr>";
} else {
echo "<tr><td><a href=\"sm_rates.php\" onMouseOut=\"AW_swapImgRestore()\" onMouseOver=\"AW_swapImage('rates','','../images/small/b_rates_on.gif',1)\"><img src=\"../images/small/b_rates_off.gif\" name=\"rates\" border=\"0\"></a></td></tr>";
}
if ($page_name == "portfolio") {
echo "<tr><td><a href=\"sm_portfolio.php\"><img src=\"../images/small/b_portfolio_on.gif\" name=\"portfolio\" border=\"0\"></a></td></tr>";
} else {
echo "<tr><td><a href=\"sm_portfolio.php\" onMouseOut=\"AW_swapImgRestore()\" onMouseOver=\"AW_swapImage('portfolio','','../images/small/b_portfolio_on.gif',1)\"><img src=\"../images/small/b_portfolio_off.gif\" name=\"portfolio\" border=\"0\"></a></td></tr>";
}
if ($page_name == "about") {
echo "<tr><td><a href=\"sm_about.php\"><img src=\"../images/small/b_about_on.gif\" name=\"about\" border=\"0\"></a></td></tr>";
} else {
echo "<tr><td><a href=\"sm_about.php\" onMouseOut=\"AW_swapImgRestore()\" onMouseOver=\"AW_swapImage('about','','../images/small/b_about_on.gif',1)\"><img src=\"../images/small/b_about_off.gif\" name=\"about\" border=\"0\"></a></td></tr>";
}
if ($page_name == "contact") {
echo "<tr><td><a href=\"sm_contact.php\"><img src=\"../images/small/b_contact_on.gif\" name=\"contact\" border=\"0\"></a></td></tr>";
} else {
echo "<tr><td><a href=\"sm_contact.php\" onMouseOut=\"AW_swapImgRestore()\" onMouseOver=\"AW_swapImage('contact','','../images/small/b_contact_on.gif',1)\"><img src=\"../images/small/b_contact_off.gif\" name=\"contact\" border=\"0\"></a></td></tr>";
}
if ($page_name == "client") {
echo "<tr><td><a href=\"sm_login.php\"><img src=\"../images/small/b_clientlog_on.gif\" name=\"client\" border=\"0\"></a></td></tr>";
} else {
echo "<tr><td><a href=\"sm_login.php\" onMouseOut=\"AW_swapImgRestore()\" onMouseOver=\"AW_swapImage('client','','../images/small/b_clientlog_on.gif',1)\"><img src=\"../images/small/b_clientlog_off.gif\" name=\"client\" border=\"0\"></a></td></tr>";
}
?>
</table></td>