// moname[0] = "January" ... var moname = new Array ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec") // tmp="05/01/2001 - 05/31/2001" tmp="12/01/2001 - 12/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="03/01/2002 - 03/31/2002"; // 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/2002 - 04/30/2002"; // 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/2002 - 05/31/2002"; // 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/2002 - 06/30/2002"; // 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("

");