DAbout=null

function About(t,s) {
  var node=document.getElementsByTagName("body").item(0);
  if (!DAbout) DAbout=window.document.createElement("DIV")
  with (DAbout) {
    style.visibility="visible"
    style.position="absolute"
    style.top="8em"
    style.right="0%"
    style.zIndex=100
    style.width="40em"
    style.height="20em"
    style.background='#dddddd'
    style.color='#444444'
    style.fontSize='10pt'
    style.border='ridge white 5pt'
    but='<button style="float:right; font-size:7pt" onclick="DAbout.style.visibility=\'hidden\'"><b>X</b></button>'
    if      (s=='SPW') innerHTML=but+
                                 '<div style="margin:1em"><b>Soil, Plant, and Water Analysis Laboratory (SPW)<br>'+
                                 '2400 College Station Road<br>'+
                                 'Athens, Georgia 30602-9105<br>'+
                                 'phone: 706-542-5350<br>'+
                                 'fax: 706-369-5734<p>'+
                                 '<table style="border:none">'+
                                 '<tr><td style="text-align:right; border:none">Program Coordinator:'+
                                 '    <td style="border:none"><a class=la href="/people/lsonon.html">Dr. Leticia Sonon</a>'+
                                 '<tr><td style="text-align:right; border:none">QA/QC Officer:'+
                                 '    <td style="border:none"><a class=la>Angie McGarvey</a>'+
                                 '<tr><td style="text-align:right; border:none">Head:'+
                                 '    <td style="border:none"><a class=la href="/people/dkissel.html">Dr. David Kissel</a>'+
                                 '</table><br>'+
                                 'This laboratory performs analysis of soil, plant tissue, water, animal waste, sludge, and cotton petioles.'+
                                 '</div>'
    else if (s=='FEW') innerHTML=but+
                                 '<div style="margin:1em"><b>Feed and Environmental Water Lab (FEW)<br>'+
                                 '2300 College Station Road<br>'+
                                 'Athens, Georgia 30602-4356<br>'+
                                 'phone: 706-542-7690<br>'+
                                 'fax: 706-542-1474<p>'+
                                 '<table style="border:none">'+
                                 '<tr><td style="text-align:right; border:none">Program Coordinator:'+
                                 '    <td style="border:none"><a class=la href="/people/usaha.html">Dr. Uttam Saha</a>'+
                                 '<tr><td style="text-align:right; border:none">QA/QC Officer:'+
                                 '    <td style="border:none"><a class=la>Angie McGarvey</a>'+
                                 '<tr><td style="text-align:right; border:none">Head:'+
                                 '    <td style="border:none"><a class=la href="/people/dkissel.html">Dr. David Kissel</a>'+
                                 '</table><br>'+
                                 'This laboratory performs analysis of feeds, forages, foods, feed ingredients, natural waters, and industrial wastewater.'+
                                 '</div>'
    else if (s=='PHW') innerHTML=but+
                                 '<div style="margin:1em"><b>Pesticide and Hazardous Waste Lab (PHW)<br>'+
                                 '2300 College Station Road<br>'+
                                 'Athens, Georgia 30602-4356<br>'+
                                 'phone: 706-542-9023<br>'+
                                 'fax: 706-542-1474<p>'+
                                 '<table style="border:none">'+
                                 '<tr><td style="text-align:right; border:none">Program Coordinator:'+
                                 '    <td style="border:none"><a class=la href="/people/pbush.html">Dr. Parshall Bush</a>'+
                                 '<tr><td style="text-align:right; border:none">QA/QC Officer:'+
                                 '    <td style="border:none"><a class=la>Angie McGarvey</a>'+
                                 '<tr><td style="text-align:right; border:none">Head:'+
                                 '    <td style="border:none"><a class=la href="/people/dkissel.html">Dr. David Kissel</a>'+
                                 '</table><br>'+
                                 'This laboratory performs analysis of insecticides, herbicides, and hazardous materials.'+
                                 '</div>'
  }
  node.appendChild(DAbout)
}

function Header() {
  var pt='' //'<span style="font-family:WingDings">Ø</span>'
  document.writeln(
    '<style>#bbb,#bSPW,#bFEW,#bPHW {background:silver; color:#222222; border:ridge 1pt; font-size:8pt; cursor:hand; width:15em}</style>'+
    '<div id="theHeader">'+
    ' <table style="background:#922222;color:silver;font-size:16pt;width:100%;border-collapse:collapse">'+
    ' <col style="width:25em"><col zstyle="width:50%"><col style="width:18em">'+
    ' <tr>'+
    '     <td style="font-size:7pt;text-align:left">'+
    '      <div><img src="/images/arch.gif" style="position:absolute;cursor:hand" onclick="location=\'http://www.uga.edu\'"><a style="position:relative;left:50px" class="ha" href="http://www.uga.edu">'+pt+'The University of Georgia</a></div>'+
    '      <div style="padding-top:5px"><a style="position:relative;left:50px" class="ha" href="http://www.caes.uga.edu/">'+pt+'College of Agricultural<br>&nbsp;&nbsp;&nbsp;and Environmental Sciences</a></div>'+
    '      <div style="padding-top:5px"><a style="position:relative;left:50px" class="ha" href="http://www.caes.uga.edu/extension"><nobr>'+pt+'Cooperative Extension Service</a></nobr></div>'+
    '     <th style="zbackground-image:url(/images/default.jpg); background-repeat:repeat-x"><a class="ha" href="/" style="font-weight:bold;font-family:times new roman;font-size:14pt;color:white">Agricultural&nbsp;&nbsp;&amp;&nbsp;&nbsp;Environmental<br>Services&nbsp;&nbsp;Laboratories</a>'+
//    '     <th><a class="ha" href="/" style="font-family:times new roman; color:#eeeeee; font-size:14pt">AGRICULTURAL&nbsp;&nbsp;&amp;&nbsp;&nbsp;ENVIRONMENTAL<br>SERVICES&nbsp;&nbsp;LABORATORIES</a>'+
    '     <th style="font-size:8pt">'+
    '      <button id=bSPW style="width:100%" onmouseout="this.style.background=\'silver\'" onmouseover="this.style.background=\'lightblue\'" onclick="About(this,\'SPW\')"><b>SPW: 706-542-5350</b></button><br>'+
    '      <button id=bFEW style="width:100%" onmouseout="this.style.background=\'silver\'" onmouseover="this.style.background=\'lightblue\'" onclick="About(this,\'FEW\')"><b>FEW: 706-542-7690</b></button><br>'+
    '      <button id=bPHW style="width:100%" onmouseout="this.style.background=\'silver\'" onmouseover="this.style.background=\'lightblue\'" onclick="About(this,\'PHW\')"><b>PHW: 706-542-9023</b></button><br>'+
    '      <button id=bbb  style="width:100%" onmouseout="this.style.background=\'silver\'" onmouseover="this.style.background=\'lightblue\'" onclick="parent.location=\'mailto:soiltest@uga.edu\'"><b>Contact:  soiltest@uga.edu</b></button>'+
    ' </table>'+
    '</div>'
  )
}

function Footer() {
  document.writeln(
    '<div style="color:gray; zposition:absolute; ztop:expression(parentElement.offsetHeight); font-family:Times New Roman; font-size:8pt; width:100%">'+
    '<center><b>PUTTING KNOWLEDGE TO WORK</b><br>'+
    'The University of Georgia and Fort Valley State University, the U.S. Department of Agriculture and counties of the state cooperating.<br>'+
    '<nobr>The Cooperative Extension Service offers educational programs, assistance and materials to all people without regard to race, color, national origin, age, sex or disability.</nobr><br>'+
    'An equal opportunity/affirmative action organization committed to a diverse work force.</center>'+
    '</div>'
  )
}
