var moname = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); // we need the links and names in an array, so we can loop through the options in the select menu var archlinks = new Array; var archnames = new Array; var i = 0; tmp="06/01/2002 - 06/30/2002"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_06.html"; archnames[i] = newdate; i++; tmp="07/01/2002 - 07/31/2002"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_07.html"; archnames[i] = newdate; i++; tmp="08/01/2002 - 08/31/2002"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_08.html"; archnames[i] = newdate; i++; tmp="09/01/2002 - 09/31/2002"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_09.html"; archnames[i] = newdate; i++; tmp="10/01/2002 - 10/31/2002"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_10.html"; archnames[i] = newdate; i++; tmp="11/01/2002 - 11/31/2002"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_11.html"; archnames[i] = newdate; i++; tmp="12/01/2002 - 12/31/2002"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_12.html"; archnames[i] = newdate; i++; tmp="01/01/2003 - 01/31/2003"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_01.html"; archnames[i] = newdate; i++; tmp="02/01/2003 - 02/31/2003"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_02.html"; archnames[i] = newdate; i++; tmp="03/01/2003 - 03/31/2003"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_03.html"; archnames[i] = newdate; i++; tmp="04/01/2003 - 04/31/2003"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_04.html"; archnames[i] = newdate; i++; tmp="05/01/2003 - 05/31/2003"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_05.html"; archnames[i] = newdate; i++; tmp="06/01/2003 - 06/31/2003"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_06.html"; archnames[i] = newdate; i++; tmp="07/01/2003 - 07/31/2003"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_07.html"; archnames[i] = newdate; i++; tmp="08/01/2003 - 08/31/2003"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_08.html"; archnames[i] = newdate; i++; tmp="09/01/2003 - 09/31/2003"; mo=tmp.substring(13,15); yr=tmp.substring(19); mo=moname[mo - 1]; newdate=mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_09.html"; archnames[i] = newdate; i++; // change current location to archlink when selected from menu function gothere(where) { location.href = where.options[where.selectedIndex].value } // tell the script to start a form - the \ before the " tells javascript that you want to write a " rather // than interpreting it as the end of the stuff you want to write document.write("
");