<!--Begin
//text: change to your own
// Create Array ["Due Date","Heading","Message"],
myMsg=new Array(

["20100131","10 Commandaments Hike",""],
["20100205","Death Valley","Fri Feb 5, 2010 to Sun Feb 7, 2010 <a target='_blank' href='/treks/2010/deathvalley/death_valley_permission.pdf'>Permission Slip</a>"],
["20100206","Mark Sarkis COH",""],
["20100214","Scout Sunday/Pancake Brkfst",""],
["20100226","Blue and Gold",""],
["20100228","COH - Seaver/Dlugolecki/Thomas","at SFX, Holy Cross Hall"],
["20100306","<a target='_Blank' href='/treks/2010/WinterSport/2010WINTERSPORTSTREK.pdf'>Winter Sport</a>","Ski/Snowboard"],
["20100327","<a target='_Blank' href='/treks/2010/snowcamp/Snow_Camping_permission.pdf'>Snow Camp</a>","Overnight March 27 - 28,Mt. Pinos, Chula Vista Campground, No cotton clothes!! Wool and synthetic socks (non-acrylic), snow boots, hat, wicking underwear, gaiters (optional), 2 pairs of waterproof,  gloves or mittens, waterproof parka or jacket, waterproof pants, shirt (wool, fleece or blend), sweater, 4-season sleeping bag, mat to put under sleeping bag, bike helmet for sleding, two Nalgene bottles,  trash bags, backpack or duffel bag to put everything in."],
["20100403","Day Hike",""],
["20100418","Service at Pinewood Derby",""],
["20100423","White Water Rafting",""],
["20100508","Backpacking Day hike",""],
["20100515","Morgen Olson's COH","3 Pm at Stough Nature Center in Burbank"],
["20100627","Camp Whitsett","June 27 - July 3rd, 2010"],
["20101022","Camp-O-Ree","100 years of Scouting"],
["20100711","<a target='_blank' href='/treks/2010/northerntier/northerntier.asp'>Northern Tier Expedition</a>","Depart July 11,2010 Return July 22, 2010"],

["0","VHC News & Events","Get Verdugo Hills Council <a href='#' onclick='msgPop();'>News and Events</a> in a popup"],
// Last Item on the List Must end with ;
["0","<a target='_blank' href='/calendar/calendar.asp'>Troop Calendar","Check your Troop Calendar for more information</a>"]);


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.getYear();
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>");
			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';");
}

-->
