// paste this into your archive template, and remember // there should be absolutely nothing else in your archive template // moname[0] = "January" ... var moname = new Array ("januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "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="05/01/2001 - 05/31/2001" tmp="09/15/2002 - 09/21/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_09_15_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="09/22/2002 - 09/28/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_09_22_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="09/29/2002 - 10/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_09_29_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="10/06/2002 - 10/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_10_06_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="10/13/2002 - 10/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_10_13_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="10/20/2002 - 10/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_10_20_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="10/27/2002 - 11/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_10_27_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="11/03/2002 - 11/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_11_03_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="11/10/2002 - 11/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_11_10_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="11/17/2002 - 11/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_11_17_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="11/24/2002 - 11/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_11_24_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="12/01/2002 - 12/07/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_12_01_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="12/08/2002 - 12/14/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_12_08_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="12/15/2002 - 12/21/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_12_15_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="12/22/2002 - 12/28/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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_12_22_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="12/29/2002 - 01/04/2003"; // 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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2002_12_29_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="01/12/2003 - 01/18/2003"; // 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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_01_12_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="01/19/2003 - 01/25/2003"; // 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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_01_19_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="01/26/2003 - 02/01/2003"; // 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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_01_26_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="02/02/2003 - 02/08/2003"; // 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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_02_02_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="02/09/2003 - 02/15/2003"; // 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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_02_09_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="02/23/2003 - 03/01/2003"; // 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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_02_23_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="03/02/2003 - 03/08/2003"; // 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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_03_02_archief.htm"; archnames[i] = newdate; i++; // tmp="05/01/2001 - 05/31/2001" tmp="03/09/2003 - 03/15/2003"; // 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=day+" "+mo+" "+yr; // put first link and name in archlinks[0] and archnames[0], second in [1], ... archlinks[i] = "2003_03_09_archief.htm"; 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("
");