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_01_bloing_archive.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_01_bloing_archive.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_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="09/01/2002 - 09/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_09_01_bloing_archive.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_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="11/01/2002 - 11/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_11_01_bloing_archive.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_01_bloing_archive.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_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="02/01/2003 - 02/28/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_01_bloing_archive.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_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="04/01/2003 - 04/30/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_01_bloing_archive.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_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="06/01/2003 - 06/30/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_01_bloing_archive.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_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="09/01/2003 - 09/30/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_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="10/01/2003 - 10/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_10_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="11/01/2003 - 11/30/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_11_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="12/01/2003 - 12/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_12_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="04/01/2004 - 04/30/2004"; 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] = "2004_04_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="05/01/2004 - 05/31/2004"; 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] = "2004_05_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="06/01/2004 - 06/30/2004"; 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] = "2004_06_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="10/01/2004 - 10/31/2004"; 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] = "2004_10_01_bloing_archive.html"; archnames[i] = newdate; i++; tmp="11/01/2004 - 11/30/2004"; 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] = "2004_11_01_bloing_archive.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("
"); // tell the script to start a select menu that calls the gothere function when it is changed // change the class= to change the appearance of the menu, but leave the \" before and after your class document.write("
");