//
// File: etsfooter.js
//
// Purpose: This JavaScript file contains the scripting functions needed to
//          write out the ETS corporate footer.
//
//          It provides a date function to automatically write in the 
//          copyright date and the last-updated date.
//
// History: 
//
//    02 Jun 03: File created. (dhj)
//

document.write(''
+'<style type="text/css"> '
+'<!--  '
+'div.break { clear: both; } '
+'#footer { '
+'   margin:25px 0 10px 0; '
+'   padding:0 '
+'   font-size:10px; '
+'   font-family:helvetica,arial,sans-serif; '
+'   text-align: center; '
+'   } '
+'#footer p {  '
+'   font-size: 10px; '
+'   font-family: helvetica, arial, sans-serif; '
+'   color: #000000;  '
+'   white-space: nowrap; '
+'   } '
+'#footer a {  '
+'   font-size: 10px; '
+'   font-family: helvetica, arial, sans-serif; '
+'   color: #339999;  '
+'   } '
+'#footer a:link { } '
+'#footer a:active { } '
+'#footer a:visited {  '
+'   font-size: 10px; '
+'   font-family: helvetica, arial, sans-serif; '
+'   color: #336666;  '
+'   } '
+'#footer a:hover { } '
+'--> '
+'</style> '

+'<div class="break"><p>&nbsp; <br clear="all" /></p></div> '

+'<div id="footer"> '

+'<div class="footerLinks"> '
+'<p> '
+'<img src="rsc/etsweb.jpg" width="120" height="59" alt="ets footer logo" align="center" vspace="3"/></p>\n<p>'
+'<a href="http://www.ets.org/about" tabindex="23" title="About ETS" target="_blank">About ETS</a> | '
+'<a href="terms.html" tabindex="24" title="Terms and Conditions">Terms and Conditions</a> '
+'</p> '
+'</div> '


+'<p>');

var x = 0, y = 0;
var date = new Date( document.lastModified );

if( (date.getYear() ) > 99 ) { x = 100; } // old browser catch!
if( (date.getYear() ) > 1999 ) { y = 1900; }

var thismonth = date.getMonth() + 1; if( thismonth < 10 ) { thismonth = "0" + thismonth; }
var thisday = date.getDate(); if( thisday < 10 ) { thisday = "0" + thisday; }
var thisyear = date.getYear() - x - y + 2000; 

document.write("Last Updated: " + thismonth + "/" + thisday + "/" + thisyear + " ");

document.write(''
+'</p> '
+'</div> ');


