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="12/30/2001 - 01/05/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2001_12_30_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="01/06/2002 - 01/12/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_01_06_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="01/13/2002 - 01/19/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_01_13_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="01/20/2002 - 01/26/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_01_20_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="01/27/2002 - 02/02/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_01_27_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="02/03/2002 - 02/09/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_02_03_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="02/10/2002 - 02/16/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_02_10_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="02/17/2002 - 02/23/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_02_17_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="02/24/2002 - 03/02/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_02_24_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="03/03/2002 - 03/09/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_03_03_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="03/10/2002 - 03/16/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_03_10_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="03/17/2002 - 03/23/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_03_17_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="03/24/2002 - 03/30/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_03_24_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="03/31/2002 - 04/06/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_03_31_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="04/07/2002 - 04/13/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_04_07_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="04/14/2002 - 04/20/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_04_14_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="04/21/2002 - 04/27/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_04_21_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="04/28/2002 - 05/04/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_04_28_lnkblog_arch.phtml"; archnames[i] = newdate; i++; tmp="05/05/2002 - 05/11/2002"; // get the starting month number mo=tmp.substring(0,2); // get the starting day day=tmp.substring(3,5); // get the starting year yr=tmp.substring(6,10); mo=moname[mo - 1]; // if day is 01 to 09, take just the second character if (day<10) { day=day.substring(1) } newdate=mo+" "+day+", "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "http://www.billsaysthis.com/content/linksblog/lnkblogarch.phtml?archdate=2002_05_05_lnkblog_arch.phtml"; 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("
");