<!--Begin
//text: change to your own
// Create Array ["Due Date","Heading","Message"],
myMsg=new Array(

["20110129","10 Commandaments Hike",""],
["20110212","Urban Hike",""],
["20110213","Scout Sunday/Pancake Brkfst",""],
["20110219","Philmont Training/Wildwood Day Hike",""],
["20110228","Pack212 - Bridging",""],
["20110305","Skiing & Snowboarding",""],
["20110311","Pack225 - Blue & Gold",""],
["20110318","Service Project at Crystal Lake",""],
["20110323","LA Times Tour",""],
["20110409","Overnight Snow Camping",""],
["20110410","Pack225 - Pinewood Derby",""],
["20110412","Salsa & Guacamole Cook-Off",""],
["20110418","Pack225 - Bridging",""],
["20110429","Rocket Academy",""],
["20110430","L A River Cleanup & BBQ Lunch",""],
["20110513","Fresh Water Fishing",""],
["20110521","Rock Climbing Training",""],
["20110630","Joshua Rock Climbing",""],
["20110618","Family Rafting",""],
["20110626","Circle-X Summer Camp",""],
["20110726","Philmont High Adventure",""],
["20110808","Deep Sea Fishing",""],
["20110830","Last SFX Meeting","End Summer with $1.00 ice cream sundaes"],
["20110909","Camp Jubilee","Orienteering Merit Badge"],
["20111021","Camp-O-Ree",""],
["20111028","Cub-On",""],
["20111101","T209 Cook Off",""],
["20111104","Camp Trask",""],
["20111117","Scouting 4 Food","Drop Off"],
["20111119","Scouting 4 Food","Collection"],
["20111124","Meals on Wheels",""],
["20111203","Mistletoe Collection",""],
["20111209","<a target='_blank' href='/tforum/index.asp'>Wrapping Schedule</a>",""],
["20111224","Meals on Wheels",""],
["20111227","T209 Alumni Holiday Party",""],
["20120613","June Florida Sea Base",""],
["20120709","July Florida Sea Base",""],

["0","VHC News & Events","Get Verdugo Hills Council <a href='#' onclick='msgPop();'>News and Events</a> in a popup"],
//["0","<a href='/tforum/index.asp'>Troop Forum</a>","Treks, caledar, permission slips, pictures are now all in our forum"],
// Last Item on the List Must end with ;
["0","<a href='/tforum/index.asp'>Troop Forum</a>","Treks, caledar, permission slips, pictures are now all in our forum"]);


var nowDate = new Date();
var day = nowDate.getDate();
var month = nowDate.getMonth()+1;
  if (month < 10) {month = "0" + month;}
  if (day < 10){day = "0" + day;}
var year = nowDate.getFullYear();
var GMTdate = year + "" + month + "" + day;
var i;
for (i=0; i<myMsg.length; i++) {
	if (myMsg[i][0] == "0") {
			document.write('<a onmouseover="Toggle(');
			document.write("'w" + i + "')");
			document.write('"');
			document.write(' href="javascript:Toggle(');
			document.write("'w" + i + "')");
			document.write('">');
			document.write('<img src="/images/arrow_box_blue.gif" border="0"></a>');
			document.write('<font size="3" style="color=Blue;">');
			document.write(myMsg[i][1] + "</font>");
			document.write('<div id="w' + i + '" class="postMessage" style="DISPLAY: none">');
			document.write(myMsg[i][2] + '</div><br>');
		}
	else
		{
		month = myMsg[i][0].slice(4,-2)
		day = myMsg[i][0].slice(6)
		if (myMsg[i][0] >= GMTdate) {
			document.write('<a onmouseover="Toggle(');
			document.write("'w" + i + "')");
			document.write('"');
			document.write(' href="javascript:Toggle(');
			document.write("'w" + i + "')");
			document.write('">');
			document.write('<img src="/images/arrow_box_blue.gif" border="0"></a>');
			document.write('<font size="3" style="color=Blue;">');
			document.write(month + "/" + day + "&nbsp;  " + myMsg[i][1] + "</font>");
			if (myMsg[i][2]=="") {
			document.write('<br>');
			}
			else
			{
			document.write('<div id="w' + i + '" class="postMessage" style="DISPLAY: none">');
			document.write(myMsg[i][2] + '</div><br>');
			}
		}
	}
}


function Toggle( elemId )
{
	var id = document.getElementById( elemId );
	if (id.style.display == "none")
		eval("id.style.display = 'block';");
	else
		eval("id.style.display = 'none';");
}

-->

