// 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 ("Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember") // tmp="05/01/2001 - 05/31/2001" tmp="11/01/2000 - 11/30/2000"; // get number for month mo=tmp.substring(13,15); // get number for year yr=tmp.substring(19); // change month number to name - remember January = 0 mo=moname[mo - 1]; // set date to "May 2001" newdate=mo+" "+yr; // tell the script to write the archive link in the main page document.write(""); // tell the script to write the date document.write(newdate); // close the link tag and go to a new line document.write("
"); // tmp="05/01/2001 - 05/31/2001" tmp="12/01/2000 - 12/31/2000"; // get number for month mo=tmp.substring(13,15); // get number for year yr=tmp.substring(19); // change month number to name - remember January = 0 mo=moname[mo - 1]; // set date to "May 2001" newdate=mo+" "+yr; // tell the script to write the archive link in the main page document.write(""); // tell the script to write the date document.write(newdate); // close the link tag and go to a new line document.write("
"); // tmp="05/01/2001 - 05/31/2001" tmp="01/01/2001 - 01/31/2001"; // get number for month mo=tmp.substring(13,15); // get number for year yr=tmp.substring(19); // change month number to name - remember January = 0 mo=moname[mo - 1]; // set date to "May 2001" newdate=mo+" "+yr; // tell the script to write the archive link in the main page document.write(""); // tell the script to write the date document.write(newdate); // close the link tag and go to a new line document.write("
"); // tmp="05/01/2001 - 05/31/2001" tmp="02/01/2001 - 02/28/2001"; // get number for month mo=tmp.substring(13,15); // get number for year yr=tmp.substring(19); // change month number to name - remember January = 0 mo=moname[mo - 1]; // set date to "May 2001" newdate=mo+" "+yr; // tell the script to write the archive link in the main page document.write(""); // tell the script to write the date document.write(newdate); // close the link tag and go to a new line document.write("
"); // tmp="05/01/2001 - 05/31/2001" tmp="03/01/2001 - 03/31/2001"; // get number for month mo=tmp.substring(13,15); // get number for year yr=tmp.substring(19); // change month number to name - remember January = 0 mo=moname[mo - 1]; // set date to "May 2001" newdate=mo+" "+yr; // tell the script to write the archive link in the main page document.write(""); // tell the script to write the date document.write(newdate); // close the link tag and go to a new line document.write("
"); // tmp="05/01/2001 - 05/31/2001" tmp="04/01/2001 - 04/30/2001"; // get number for month mo=tmp.substring(13,15); // get number for year yr=tmp.substring(19); // change month number to name - remember January = 0 mo=moname[mo - 1]; // set date to "May 2001" newdate=mo+" "+yr; // tell the script to write the archive link in the main page document.write(""); // tell the script to write the date document.write(newdate); // close the link tag and go to a new line document.write("
"); // tmp="05/01/2001 - 05/31/2001" tmp="05/01/2001 - 05/31/2001"; // get number for month mo=tmp.substring(13,15); // get number for year yr=tmp.substring(19); // change month number to name - remember January = 0 mo=moname[mo - 1]; // set date to "May 2001" newdate=mo+" "+yr; // tell the script to write the archive link in the main page document.write(""); // tell the script to write the date document.write(newdate); // close the link tag and go to a new line document.write("
"); // tmp="05/01/2001 - 05/31/2001" tmp="06/01/2001 - 06/30/2001"; // get number for month mo=tmp.substring(13,15); // get number for year yr=tmp.substring(19); // change month number to name - remember January = 0 mo=moname[mo - 1]; // set date to "May 2001" newdate=mo+" "+yr; // tell the script to write the archive link in the main page document.write(""); // tell the script to write the date document.write(newdate); // close the link tag and go to a new line document.write("
"); // tmp="05/01/2001 - 05/31/2001" tmp="07/01/2001 - 07/31/2001"; // get number for month mo=tmp.substring(13,15); // get number for year yr=tmp.substring(19); // change month number to name - remember January = 0 mo=moname[mo - 1]; // set date to "May 2001" newdate=mo+" "+yr; // tell the script to write the archive link in the main page document.write(""); // tell the script to write the date document.write(newdate); // close the link tag and go to a new line document.write("
"); // tmp="05/01/2001 - 05/31/2001" tmp="08/01/2001 - 08/31/2001"; // get number for month mo=tmp.substring(13,15); // get number for year yr=tmp.substring(19); // change month number to name - remember January = 0 mo=moname[mo - 1]; // set date to "May 2001" newdate=mo+" "+yr; // tell the script to write the archive link in the main page document.write(""); // tell the script to write the date document.write(newdate); // close the link tag and go to a new line document.write("
");