<!-- Begin

/* How to Display Date and Messages for layout1_04

days[0] = "May 31, 2010";
msgs[0] = "<img src='dateimg/layout1_04_053110.jpg' width='752' height='170' border='0' id='layout1_04' />";

days[1] = "June 6, 2010";
msgs[1] = "<img src='dateimg/layout1_04_060610.jpg' width='752' height='170' border='0' id='layout1_04' />";

If you need to display text you need to adjust the image size to compensate.

*/


var days = new Array();
var video = new Array();

days[0] = "March 6, 2011";
video[0] = "<iframe src=http://player.vimeo.com/video/20450009?title=0&amp;byline=0&amp;portrait=0&amp;autoplay=1;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>";

days[1] = "March 7, 2011";
video[1] = "<iframe src=http://player.vimeo.com/video/20450009?title=0&amp;byline=0&amp;portrait=0&amp;autoplay=100;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>";

days[2] = "March 8, 2011";
video[2] = "<iframe src=http://player.vimeo.com/video/20450009?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>";

days[3] = "March 9, 2011";
video[3] = "<iframe src=http://player.vimeo.com/video/20450009?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>";

days[4] = "March 10, 2011";
video[4] = "<iframe src=http://player.vimeo.com/video/20450009?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>";

days[5] = "March 11, 2011";
video[5] = "<iframe src=http://player.vimeo.com/video/20450009?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>";

days[6] = "March 12, 2011";
video[6] = "<iframe src=http://player.vimeo.com/video/20450009?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>";

days[7] = "March 13, 2011";
video[7] = "<iframe src=http://player.vimeo.com/video/20450009?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>";

days[8] = "March 14, 2011";
video[8] = "<iframe src=http://player.vimeo.com/video/20450009?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>";

days[9] = "March 15, 2011";
video[9] = "<iframe src=http://player.vimeo.com/video/20450009?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>";

days[10] = "March 16, 2011";
video[10] = "<iframe src=http://player.vimeo.com/video/20450009?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>";


<!-- Video Collection:
<!-- "<iframe src=http://player.vimeo.com/video/18825248?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp;autoplay=1 width=297 height=201 frameborder=0></iframe>";
<!-- "<object width='297' height='201'><param name='movie' value='http://www.youtube.com/v/ha8_QIoB4Ow&amp;hl=en_US&amp;fs=1'></param><param name='allowFullScreen' value='true'></param><param name='allowscriptaccess' value='always'></param><embed src='http://www.youtube.com/v/ha8_QIoB4Ow&amp;hl=en_US&amp;fs=1' type='application/x-shockwave-flash' allowscriptaccess='always' allowfullscreen='true' width='297' height='201'></embed></object>";
<!-- "<object width='297' height='201'><param name='movie' value='http://www.youtube.com/v/IvbMytS2ZOg&amp;hl=en_US&amp;fs=1'></param><param name='allowFullScreen' value='true'></param><param name='allowscriptaccess' value='always'></param><embed src='http://www.youtube.com/v/IvbMytS2ZOg&amp;hl=en_US&amp;fs=1' type='application/x-shockwave-flash' allowscriptaccess='always' allowfullscreen='true' width='297' height='201'></embed></object>";

var months = new Array("",
"January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December"
);

var today = new Date(); // today
var mon = months[today.getMonth() + 1]; // month
var day = today.getDate(); // day
var year = y2k(today.getYear()); // year

function datevideo() {
for (i = 0; i < days.length; i++) {
tempdate = new Date(days[i]);
tempmonth = months[tempdate.getMonth() + 1];
tempday = tempdate.getDate();
tempyear = y2k(tempdate.getYear());
if (year == tempyear && mon == tempmonth && day == tempday)
return(video[i]); // returns day message
   }
return("<iframe src=http://player.vimeo.com/video/16715305?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp; width=297 height=201 frameborder=0></iframe>"); //Welcome Intro
<!-- return("<iframe src=http://player.vimeo.com/video/16715305?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp;autoplay=1 width=297 height=201 frameborder=0></iframe>");
<!--return("<object width=297 height=201><param name=movie value=http://www.youtube.com/v/IvbMytS2ZOg&hl=en_US&fs=1&></param><param name=allowFullScreen value=true></param><param name=allowscriptaccess value=always></param><embed src=http://www.youtube.com/v/IvbMytS2ZOg&hl=en_US&fs=1& type=application/x-shockwave-flash allowscriptaccess=always allowfullscreen=true width=297 height=201></embed></object>"); // returns default
}

// Y2K Fix Function
function y2k(year) {
if (year < 2000)
year = year + 1900;
return year;
}//  End -->
