// JavaScript Document
<!-- Original:  Mark McCain (sub235k@worldnet.att.net) -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

var today = new Date();
var day = today.getDate();
var month = today.getMonth() + 1;
var year = today.getYear();
if (year < 2000)
year = year + 1900;
var offset = today.getDay();
var week;
var msg;
var weekandnames;
var index;

if(offset != 0) {
day = day - offset;
if ( day < 1) {
if ( month == 1) day = 31 + day;
if (month == 2) day = 31 + day;
if (month == 3) {
if (( year == 00) || ( year == 04)) {
day = 29 + day;
}
else {
day = 28 + day;
   }
}
if (month == 4) day = 31 + day;
if (month == 5) day = 30 + day;
if (month == 6) day = 31 + day;
if (month == 7) day = 30 + day;
if (month == 8) day = 31 + day;
if (month == 9) day = 31 + day;
if (month == 10) day = 30 + day;
if (month == 11) day = 31 + day;
if (month == 12) day = 30 + day;
if (month == 1) {
month = 12;
year = year - 1;
}
else {
month = month - 1;
      }
   }
}
/* Array of randomly chosen names
/* If you want to add a new name, modify the random.js file and then run the test.html page
/* Copy the array list and replace it below
*/

var thinkingabout = new Array();
thinkingabout[0]="Julie Romero";
thinkingabout[1]="Julie Romero";
thinkingabout[2]="Art Levine";
thinkingabout[3]="Julie Romero";
thinkingabout[4]="Art Levine";
thinkingabout[5]="Mike French";
thinkingabout[6]="Ronnie Robison";
thinkingabout[7]="Grant Gabel";
thinkingabout[8]="Adam Weatherby";
thinkingabout[9]="David Wold";
thinkingabout[10]="Josh Riddle";
thinkingabout[11]="Adam Weatherby";
thinkingabout[12]="KC Wilt";
thinkingabout[13]="Debbie Morales";
thinkingabout[14]="Grant Gabel";
thinkingabout[15]="Ryan Throop";
thinkingabout[16]="Rob Cruz";
thinkingabout[17]="Nathan Maldonado";
thinkingabout[18]="Betty Bloom";
thinkingabout[19]="Adam Katzenmeir";
thinkingabout[20]="Brittany Rausch";
thinkingabout[21]="Kristen Carlson";
thinkingabout[22]="Carson Wilt";
thinkingabout[23]="Carson Wilt";
thinkingabout[24]="Gerry DeOcampo";
thinkingabout[25]="David Minton";
thinkingabout[26]="Annette Richards";
thinkingabout[27]="Larry Rello";
thinkingabout[28]="Kathleen Sieck";
thinkingabout[29]="Nathan Maldonado";
thinkingabout[30]="Adam Weatherby";
thinkingabout[31]="Sue Rello";
thinkingabout[32]="Nikki Morales";
thinkingabout[33]="Grant Gabel";
thinkingabout[34]="Dan Liguori";
thinkingabout[35]="Joey Hernandez";
thinkingabout[36]="Ryan Throop";
thinkingabout[37]="Cameron Rausch";
thinkingabout[38]="Juan Lalinde";
thinkingabout[39]="Larry Rello";
thinkingabout[40]="Grace Foster";
thinkingabout[41]="Kevin Sturm";
thinkingabout[42]="Nikki Morales";
thinkingabout[43]="David Tell";
thinkingabout[44]="Larry Rello";
thinkingabout[45]="Art Levine";
thinkingabout[46]="KC Wilt";
thinkingabout[47]="Geoff Smith";
thinkingabout[48]="Nikki Morales";
thinkingabout[49]="Brittany Rausch";
thinkingabout[50]="Ronnie Robison";
thinkingabout[51]="Chrystal Sturm";
/* thinking bout 52  equals the last name of the year while you update this file...the current name
*/


/* No need to mess with this code until 2010, then just update to the Sunday number date
*/
week = month + "-" + day + "-" + year; // i.e. 10-31-99
if (week == "1-2-2011") {msg = 0;}
if (week == "1-9-2011") {msg = 1;}
if (week == "1-16-2011") {msg = 2;}
if (week == "1-23-2011") {msg = 3;}
if (week == "1-30-2011") {msg = 4;}
if (week == "2-6-2011") {msg = 5;}
if (week == "2-13-2011") {msg = 6;}
if (week == "2-20-2011") {msg = 7;}
if (week == "2-27-2011") {msg = 8;}
if (week == "3-6-2011") {msg = 9;}
if (week == "3-13-2011") {msg = 10;}
if (week == "3-20-2011") {msg = 11;}
if (week == "3-27-2011") {msg = 12;}
if (week == "4-3-2011") {msg = 13;}
if (week == "4-10-2011") {msg = 14;}
if (week == "4-17-2011") {msg = 15;}
if (week == "4-24-2011") {msg = 16;}
if (week == "5-1-2011") {msg = 17;}
if (week == "5-8-2011") {msg = 18;}
if (week == "5-15-2011") {msg = 19;}
if (week == "5-22-2011") {msg = 20;}
if (week == "5-29-2011") {msg = 21;}
if (week == "6-5-2011") {msg = 22;}
if (week == "6-12-2011") {msg = 23;}
if (week == "6-19-2011") {msg = 24;}
if (week == "6-26-2011") {msg = 25;}
if (week == "7-3-2011") {msg = 26;}
if (week == "7-12-2011") {msg = 27;}
if (week == "7-17-2011") {msg = 28;}
if (week == "7-24-2011") {msg = 29;}
if (week == "7-31-2011") {msg = 30;}
if (week == "8-7-2011") {msg = 31;}
if (week == "8-14-2011") {msg = 32;}
if (week == "8-21-2011") {msg = 33;}
if (week == "8-28-2011") {msg = 34;}
if (week == "9-4-2011") {msg = 35;}
if (week == "9-11-2011") {msg = 36;}
if (week == "9-18-2011") {msg = 37;}
if (week == "9-25-2011") {msg = 38;}
if (week == "10-2-2011") {msg = 39;}
if (week == "10-9-2011") {msg = 40;}
if (week == "10-16-2011") {msg = 41;}
if (week == "10-23-2011") {msg = 42;}
if (week == "10-30-2011") {msg = 43;}
if (week == "11-6-2011") {msg = 44;}
if (week == "11-13-2011") {msg = 45;}
if (week == "11-20-2011") {msg = 46;}
if (week == "11-27-2011") {msg = 47;}
if (week == "12-4-2011") {msg = 48;}
if (week == "12-11-2011") {msg = 49;}
if (week == "12-18-2011") {msg = 50;}
if (week == "12-25-2011") {msg = 51;}

