<!-- Hide script from old browsers
//
// Pic of the day script
// By Mike Anderson aka "Gumby"
// (c) 2001, 2002 by Mike Anderson.
//
// Images rotate with the day of the month.
// Supports thumbnails.
// Support for captions being added.
// - Gumby
// If you dont have enough images you can just repeat some, till you do.
//
// Add the script to the HEAD section and call it as follows:
// <script>Pic_of_the_day();</script>
//

// This is it. Call this function from your page where you want the pic to appear.
function Pic_of_the_day(){
// Declare Local Variables
   var dateobj = new Date();
   var dayofthemonth;
   var thumbs = new Array(31);
   var pics = new Array(31);

// Image Thumbnails. usually 120x90 (case Matters!!)
thumbs[1]="/potd/thumb_1.jpg";
thumbs[2]="/potd/thumb_1.jpg";
thumbs[3]="/potd/thumb_1.jpg";
thumbs[4]="/potd/thumb_1.jpg";
thumbs[5]="/potd/thumb_1.jpg";
thumbs[6]="/potd/thumb_1.jpg";
thumbs[7]="/potd/thumb_1.jpg";
thumbs[8]="/potd/thumb_1.jpg";
thumbs[9]="/potd/thumb_1.jpg";
thumbs[10]="/potd/thumb_1.jpg";
thumbs[11]="/potd/thumb_1.jpg";
thumbs[12]="/potd/thumb_1.jpg";
thumbs[13]="/potd/thumb_1.jpg";
thumbs[14]="/potd/thumb_1.jpg";
thumbs[15]="/potd/thumb_1.jpg";
thumbs[16]="/potd/thumb_1.jpg";
thumbs[17]="/potd/thumb_1.jpg";
thumbs[18]="/potd/thumb_1.jpg";
thumbs[19]="/potd/thumb_1.jpg";
thumbs[20]="/potd/thumb_1.jpg";
thumbs[21]="/potd/thumb_1.jpg";
thumbs[22]="/potd/thumb_1.jpg";
thumbs[23]="/potd/thumb_1.jpg";
thumbs[24]="/potd/thumb_1.jpg";
thumbs[25]="/potd/thumb_1.jpg";
thumbs[26]="/potd/thumb_1.jpg";
thumbs[27]="/potd/thumb_1.jpg";
thumbs[28]="/potd/thumb_1.jpg";
thumbs[29]="/potd/thumb_1.jpg";
thumbs[30]="/potd/thumb_1.jpg";
thumbs[31]="/potd/thumb_1.jpg";

// Full sized Images (case matters!!)
pics[1]="/potd/1.jpg";

pics[2]="/potd/1.jpg";

pics[3]="/potd/1.jpg";

pics[4]="/potd/1.jpg";

pics[5]="/potd/1.jpg";

pics[6]="/potd/1.jpg";

pics[7]="/potd/1.jpg";

pics[8]="/potd/1.jpg";

pics[9]="/potd/1.jpg";

pics[10]="/potd/1.jpg";

pics[11]="/potd/1.jpg";

pics[12]="/potd/1.jpg";

pics[13]="/potd/1.jpg";

pics[14]="/potd/1.jpg";

pics[15]="/potd/1.jpg";

pics[16]="/potd/1.jpg";

pics[17]="/potd/1.jpg";

pics[18]="/potd/1.jpg";

pics[19]="/potd/1.jpg";

pics[20]="/potd/1.jpg";

pics[21]="/potd/1.jpg";

pics[22]="/potd/1.jpg";

pics[23]="/potd/1.jpg";

pics[24]="/potd/1.jpg";

pics[25]="/potd/1.jpg";

pics[26]="/potd/1.jpg";

pics[27]="/potd/1.jpg";

pics[28]="/potd/1.jpg";

pics[29]="/potd/1.jpg";

pics[30]="/potd/1.jpg";

pics[31]="/potd/1.jpg";

// get the date
dayofthemonth = dateobj.getDate();
// Do it!!
document.write('<a href="',pics[dayofthemonth],'" target="_blank"><img src="',thumbs[dayofthemonth],'" width="132" height="110" border="0"></a>');
}
// Done hiding -->