function nowyouseeit(x)
{
	if(x.style.display == "")
	{
		x.style.display = "none";
	}
	else
	{
		x.style.display = "";
	}
}

function drawsubmenu(a, b, c, e, f)
{
	for(x=0; x<c.length; x++, a+=(b+2))
	{
		if(c[x].submenu != null)
		{
			document.write("<span id='" + c[x].localname + "' class='" + f + "' style='color:white; position: absolute; left: 152; display: none;top:" + a + "' onmouseover='this.style.display=&quot;&quot;' onmouseout='nowyouseeit(this)'>");
			for(t=0; t<c[x].submenu.length; t++)
			{
				temparray = c[x].submenu[t].split("::");
				document.write("<a class='" + e + "' href='" + temparray[1] + "'>" + temparray[0] + "</a><br>");
			}
			document.write("</span>");
		}
	}
	thezero += a;
}

menuvals = new Array;

function toolbar(localname, text, link, submenu)
{
	this.localname = localname;
	this.text = text;
	this.link = link;
	this.submenu = submenu;
}

menuvals = new Array(new toolbar('curriculum', 'Curriculum', 'curriculum.html', new Array( 'Curriculum Main Page::curriculum.html', 'Resources::resources.html', 'Cheshire Elementary School Curriculum::curriculum1.html', 'Student Handbook::handbook.html', 'volunteer Agreement::volunteeragreement.html','School Improvement Plan::schoolimprovement.html')), new toolbar('events', 'Events', 'events.html', new Array('Events Main Page::events.html')), new toolbar('activities', 'Activities', 'activities.html', new Array('Activities Main Page::activities.html', 'Grade 4 Recent Activities::grade4.html', 'Grade 2 Ancestors Project::grade2ancestors.html', 'Grade 6 activities::grade6buddies.html')), new toolbar('calendar', 'Calendar', 'calendar.html', new Array('Current Calendar::calendar.html')), new toolbar('parents', 'For Parents', 'parents.html', new Array('Parent Welcome Page::parents.html', 'Principal Letter to Parents::letter.html', 'School News::news.html', 'Health and Human Services Resources::http://www.acrsd.net/humanservices.html')), new toolbar('policy', 'ACRSD Policies', 'http://www.acrsd.net/policies.html', new Array('ACRSD Policies Main Page::http://www.acrsd.net/policies.html')), new toolbar('nclb', 'No Child Left Behind', 'http://www.acrsd.net/nclb.html', new Array('NCLB Main Page::http://www.acrsd.net/nclb.html')), new toolbar('StrategicD', 'ACRSD Strategic Plan', 'http://www.acrsd.net/strategic.html', new Array('ACRSD Strategic Plan: <i>Strategic Direction</i> Main Page::http://www.acrsd.net/strategic.html',  'ACRSD Strategic Plan: <i>Strategic Direction</i> Document::http://www.acrsd.net/sdplan.html', 'ACRSD Strategic Plan: Status::http://www.acrsd.net/sdstatus.html')), new toolbar('ACEtext', 'ACE Partnership', 'http://www.acrsd.net/ace/index.html', new Array('ACE Partnership Main Page::http://www.acrsd.net/ace/index.html')), new toolbar('etools', 'ACRSD Webmail', 'http://webmail.acrsd.net/gw/webacc', new Array('ACRSD Webmail::http://webmail.acrsd.net/gw/webacc', 'ACRSD eTools for Faculty::http://etools.acrsd.net')), new toolbar('etools', 'ACRSD eTools', 'http://etools.acrsd.net'));
;

lowermenu = new Array(new toolbar('links', '<center>Lunch Menus and Other Links</center>', 'links.html'), new toolbar('faculty', '<center>Faculty & Staff</center>', 'faculty.html'), new toolbar('technology', '<center>Technology Plan</center>', 'technology.html'), new toolbar('contact', '<center>Contact Information</center>', 'contact.html'));

thezero = 0;
drawsubmenu(106, 20, menuvals, 'submenu', 'subcolor');
drawsubmenu((thezero+18), 18, lowermenu, 'lowersubmenu', 'lowersubcolor');