<!-- 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]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[2]="http://clandevious.com/images/screenshots/01_tn.jpg";
thumbs[3]="http://clandevious.com/images/screenshots/02_tn.jpg";
thumbs[4]="http://clandevious.com/images/screenshots/03_tn.jpg";
thumbs[5]="http://clandevious.com/images/screenshots/04_tn.jpg";
thumbs[6]="http://clandevious.com/images/screenshots/05_tn.jpg";
thumbs[7]="http://clandevious.com/images/screenshots/06_tn.jpg";
thumbs[8]="http://clandevious.com/images/screenshots/07_tn.jpg";
thumbs[9]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[10]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[11]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[12]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[13]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[14]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[15]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[16]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[17]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[18]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[19]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[20]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[21]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[22]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[23]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[24]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[25]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[26]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[27]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[28]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[29]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[30]="http://clandevious.com/images/screenshots/00_tn.jpg";
thumbs[31]="http://clandevious.com/images/screenshots/00_tn.jpg";

// Full sized Images (case matters!!)
pics[1]="http://clandevious.com/images/screenshots/00.jpg";
pics[2]="http://clandevious.com/images/screenshots/01.jpg";
pics[3]="http://clandevious.com/images/screenshots/02.jpg";
pics[4]="http://clandevious.com/images/screenshots/03.jpg";
pics[5]="http://clandevious.com/images/screenshots/04.jpg";
pics[6]="http://clandevious.com/images/screenshots/05.jpg";
pics[7]="http://clandevious.com/images/screenshots/06.jpg";
pics[8]="http://clandevious.com/images/screenshots/07.jpg";
pics[9]="http://clandevious.com/images/screenshots/00.jpg";
pics[10]="http://clandevious.com/images/screenshots/00.jpg";
pics[11]="http://clandevious.com/images/screenshots/00.jpg";
pics[12]="http://clandevious.com/images/screenshots/00.jpg";
pics[13]="http://clandevious.com/images/screenshots/00.jpg";
pics[14]="http://clandevious.com/images/screenshots/00.jpg";
pics[15]="http://clandevious.com/images/screenshots/00.jpg";
pics[16]="http://clandevious.com/images/screenshots/00.jpg";
pics[17]="http://clandevious.com/images/screenshots/00.jpg";
pics[18]="http://clandevious.com/images/screenshots/00.jpg";
pics[19]="http://clandevious.com/images/screenshots/00.jpg";
pics[20]="http://clandevious.com/images/screenshots/00.jpg";
pics[21]="http://clandevious.com/images/screenshots/00.jpg";
pics[22]="http://clandevious.com/images/screenshots/00.jpg";
pics[23]="http://clandevious.com/images/screenshots/00.jpg";
pics[24]="http://clandevious.com/images/screenshots/00.jpg";
pics[25]="http://clandevious.com/images/screenshots/00.jpg";
pics[26]="http://clandevious.com/images/screenshots/00.jpg";
pics[27]="http://clandevious.com/images/screenshots/00.jpg";
pics[28]="http://clandevious.com/images/screenshots/00.jpg";
pics[29]="http://clandevious.com/images/screenshots/00.jpg";
pics[30]="http://clandevious.com/images/screenshots/00.jpg";
pics[31]="http://clandevious.com/images/screenshots/00.jpg";

// get the date
dayofthemonth = dateobj.getDate();
// Do it!!
document.write('<a href="',pics[dayofthemonth],'" target="_blank"><img src="',thumbs[dayofthemonth],'" width="120" height="90" border="0"></a>');
}
// Done hiding -->