function putFooter(changedate, backcolor) {
	thisdate = new Date();
	document.write('<table width="100%" border="0" cellpadding="0" cellspacing="0" align="left" bgcolor="#ffffff"><tr><td>' +
               	'<div style="margin-left: 50px;">' +
               	'<font color="#000000" size="1" face="arial,helvetica,verdana,sans-serif"><br>' +
               	'&nbsp;This page last updated on ' + changedate + '<br>' +
               	'&nbsp;Copyright ' + thisdate.getFullYear() + 
               	', University of Florida. All rights reserved.' +
                  ' Site maintained by <a class="footerLink" HREF="http://www.agrenaissance.com">AgRenaissance Software LLC.</a>' +
                  '<br><br></font></div>' +
                  '</td></tr></table>'	); 
}

function putHeader(uplevel, itemname) {
  var updir = 'http://tsa.ifas.ufl.edu/';
  if (uplevel == 0) updir='';
  if (uplevel == 1) updir='../';
  if (uplevel == 2) updir='../../';

   document.write(' ' +
          '<table valign="top" align="left" width="770" border="0" cellspacing="0" cellpadding="0" bgcolor="#c0c0c0">' +
          '<form name="tsa" action="' + updir + '00Search/search.asp" method="get">' +
            '<tr align="left" valign="top">' + 
               '<td height="25" style="color: #0021A5" class="xSmallText" id="awmAnchor-headermenu">' +
               '     &nbsp;&nbsp;<b>Search Site:</b>' +
               '     <input type="text" name="zoom_query" value="" size="13">' +
               '     <input type="submit" value="Go">' +
               '</td>' +
            '</tr>' +
            '<tr align="left" valign="top">' +
               '<td bgcolor="#c0c0c0">' +
                  '<img src="' + updir + '00Images/TSAHEADER.jpg" width="770" height="95" border="0" usemap="#header">' +
                  '<map name="header">' +
                     '<AREA SHAPE="RECT" COORDS="0,0,190,95" HREF="http://ifas.ufl.edu" TARGET="_blank">' +
                     '<AREA SHAPE="RECT" COORDS="586,0,769,95"HREF="http://wfrec.ifas.ufl.edu" TARGET="_blank">' +
                  '</map>' +
               '</td>' +
            '</tr>' +
         '</form>' +         
         '</table>' +
         '<br clear="all">'  );
}

function putLeftSide(uplevel, itemname) {
  var updir = 'http://tsa.ifas.ufl.edu/';
  if (uplevel == 0) updir='';
  if (uplevel == 1) updir='../';
  if (uplevel == 2) updir='../../';
   document.write(' ' +
         '<div><img src="' + updir + '00Images/grey.gif" width="152" height="45" border="0"></div>' +
         '<div id="awmAnchor-' + itemname + '" style="margin-left: 5px;"></div>' +
         '<div style="background-color: #c0c0c0; height: 100%; width: 152px"></div>' );
}

function markNavBar(itemnum) {
  awmSelectedItem=itemnum;
  if (itemnum == '') awmSelectedItem=0;
  if (itemnum == 'home') awmSelectedItem=1;
  if (itemnum == 'extension') awmSelectedItem=2;
  if (itemnum == 'research') awmSelectedItem=3;
  if (itemnum == 'biology') awmSelectedItem=4;
  if (itemnum == 'bmp') awmSelectedItem=5;
}

