//this script will put in my style sheet since i don't have access to the head directly
var top=document.getElementsByTagName("head");
var css=document.createElement("link");    
//if you want to use a new style sheet change the url on the following line
css.setAttribute("href","http://lance.mckendree.edu/~srgrodeon/template.css");
css.setAttribute("rel","stylesheet");
css.setAttribute("type","text/css");
top[0].appendChild(css);
//fix the td with the wrong width  
var findTd=document.getElementsByTagName("td");
for(var i in findTd)
{
  if(findTd[i].width=="612")
  {
    var con=findTd[i];
    con.width="100%";
    con.style.paddingLeft="0px";
    con.style.paddingTop="0px";
    con.style.backgroundColor="white";
    con.style.paddingRight="0px";
    break;
  }
}
//fix the width of the top navbar
for(var z in document.images)
{
  if(document.images[z].src=="http://www.mckendree.edu/images/topnav_left.gif")
  {
    document.images[z].style.width="100%";
    document.images[z].style.height="26px";
  }
}
//fix width of tables
var headT=document.getElementsByTagName("table");
    headT[0].width="100%";
    headT[1].id="headTable";
    headT[1].width="100%";
    headT[3].width="100%";
    headT[3].style.backgroundImage="url('http://www.mckendree.edu/images/topnav2_quicklinks.gif')";
    headT[4].width="100%";
    headT[4].style.backgroundImage="url('http://lance.mckendree.edu/~srgrodeon/images/darkpurple.jpg')";
    headT[5].width="100%";

//remove body margin
    document.body.style.margin="0";
    document.body.style.border="0";
