//<script type="text/javascript" src="minmax.js"></script>

// MOREABOUT HANDLER


function moreabout(topic) {
homebase="http://dss.ucsd.edu/cgi-bin/cgiwrap/dkjordan/moreabout.pl?tyimuh=";
window.open(homebase+topic, "name", "scrollbars=yes", "location=no", "copyhistory=no")
} 



// DATE HANDLER
var time = new Date(document.lastModified);
var zyr = time.getYear();
//The following two kluge lines solve Y2K problems
zyr=zyr-2000;
if(navigator.appName=="Netscape"){zyr=zyr+1900};//Netscape counts from 1900

if (zyr >0 && zyr < 10){zyr = "0"+zyr} //convert year to two-digit string
if (zyr == 0){zyr="00"}
var zmo = time.getMonth();
zmo = zmo+1 //JS counts months from 0
if (zmo < 10){zmo = "0"+zmo} //convert month to two-digit string
var zda = time.getDate();
if (zda <10) {zda = "0"+zda} // convert day to two-digit string
var zdate = zyr+""+zmo+""+zda

// FOOTNOTE HANDLER


var ffnn = 0;
var footnote = new Array(18) //number must at least equal number of footnotes

function showfn(ffnn,graphicname){
var fnwindow=window.open("","fnwindow");
fnwindow.innerWidth=(screen.width*.85);
fnwindow.innerHeight=(screen.height*.7);
alwaysLowered=true;
fnwindow.document.writeln("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\">");
fnwindow.document.writeln("<html><head>");
fnwindow.document.writeln("<meta http-equiV='Content-Type' content='text/html; charset=utf-8'>");
fnwindow.document.writeln("<link rel=\"stylesheet\" href=\"clar.css\" type=\"text/css\">");
fnwindow.document.writeln("<title>Quick Note</title></head>");
fnwindow.document.writeln("<body bgcolor=\"#ffcc33\" text=\"#660066\" onclick=\"self.close\">");
fnwindow.document.writeln ("<div style='width:7in';>");
fnwindow.document.writeln("<p><form><center>");
fnwindow.document.writeln("<input type=\"button\" value='Close Quick Note Window' onclick='window.close()'></center></form><p>");
fnwindow.document.writeln("<p><h2 style='text-align:left'>Quick Note:</h2><blockquote>");
fnwindow.document.write(footnote[ffnn]);
fnwindow.document.writeln("</blockquote>");
fnwindow.document.writeln("<br clear=all><p><center><form><input type=\"button\" value='Close Quick Note Window' onclick='window.close()'></form></center><p>");
fnwindow.document.writeln("<p></body></html>");
fnwindow.document.close()
} // end of function showfn()


// SCROLLER FOR BOTTOM TEXT

var spacer="                                                               ";
var ScrollString=spacer+"\"There is not one civilization, from the oldest to the very newest, from which we cannot learn.\" --- Eleanor Roosevelt"+spacer;

var ScrollString=spacer+"MMW-1: Your Center for Cutting-Edge Hypercoolitudinality!"+spacer;

var time = 0

function Scrollon() {
//document.box.boxtext.value = ScrollString
window.status = ScrollString
ScrollString=ScrollString.substring(1,ScrollString.length)+
ScrollString.charAt(0)
timer = setTimeout("Scrollon()",160)
}



