// path = ""  

// Main page:  headerStuff("","It's About Time Subscription Sites","bannerimage")

function headerStuff(path,title,bannerId)

{
bannerStyle = "banner1";
leftPhotoStyle = "leftPhoto1";
leftPhotoName = "170.jpg";
if (bannerId) {

//
// banner + bannerId MUST EXACTLY match one of the following strings (including letter case):
// bannerHome, banner1, banner2, banner3, banner4, banner5, banner6, banner7,
// bannerWS, bannerPeda
//

if (bannerId=="Home" || bannerId=="1" )
   {
   bannerStyle = "banner" + bannerId;
   leftPhotoStyle = "leftPhoto" + bannerId;
   leftPhotoName = "leftphoto" + bannerId + ".jpg";
   }
else
   {
   bannerStyle = "banner1";
   leftPhotoStyle = "leftPhoto1";
   leftPhotoName = "170.jpg";
   }
}


document.write("<body>");
//document.write("<div id='wrapper'>");

document.write("<table id='container' border ='0' align='center' cellpadding='0' cellspacing='0'>");

document.write("<tr id='"+bannerStyle+"'>");
document.write("<td height='110' colspan='2'>");



// ---- Banner Title Div- - - - - - - - - - - - - - - -  --
// bannerStyle = "bannerShort";
// if (bannerId=="u1" || bannerId=="u2") {bannerStyle="unitBanner";}
// else if (bannerId=="pedagogy") {bannerStyle="pedagogyBanner";}
// document.write("<div id='"+bannerStyle+"'>");
// document.write("<div id='bannerShort'>");

if (title) {
document.write("<div id='bannerTitle'>"+title+"</div>");
}


document.write("</td></tr>");


// -- Content Section start - - - - - - - - - - - - - -  -->
document.write("<tr valign='top'>");


// -- Column1 (left) start - - - - - - - - - - - - - -  -->
document.write("<td id='leftCol' width='200'>");

leftNavMenu(path);

document.write("<img src='"+path+"/"+leftPhotoName+"' alt='spacer' width='170' height='10' />");

document.write("</td>");




// Real End Content Left

document.write("<td id='contentCol'>");
}
function leftNavMenu(path)
{
document.write("<ul id='nav'>");
document.write("<li><a href='"+path+"states/staterep.html' title='Find Your State Representative'>Find Your State Rep</a></li>");
document.write("<li><a href='"+path+"iathome/contactus.html' title='Contact Us'>Contact Us</a></li>");
document.write("<li><a href='"+path+"iathome/csr.html' title='Customer Service'>Customer Service</a></li>");
document.write("<li><a href='"+path+"iathome/companydirectory.html' title='Company Directory'>Company Directory</a></li>");
//document.write("<li><a href='"+path+"callme.html' title='Please Call Me ASAP'>Please Call Me ASAP</a></li>");
document.write("<li><a href='"+path+"sample2.html' title='Sample Request Form'>Sample Request Form</a></li>");
document.write("</ul>");
}
// Foot (bottom) of the web page--copyright notice and final end tags

function footerStuff()
{
document.write("<br />");
document.write("</td>");
document.write("</tr>");
document.write("<tr id='footerRow'>");
document.write("<td>&nbsp;</td>");
document.write("<td id='footer'>&copy; 2011 <em>It's About Time</em>. All rights reserved. </td>");
document.write("</tr>");

document.write("</table>");

// Bottom Bar Starts 

document.write("<script language='Javascript' src='"+path+"wz_tooltip.js'></script>");
document.write("</body>");
}
// ----- DreamWeaver Functions start here --------

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();
}
// ----- End DreamWeaver Functions -----
