document.writeln("<div id=\"header\"><a href=\"index.html\"><img src=\"images/compass-header.jpg\" width=\"990\" /></a></div>");

document.writeln("<div id=\"menu\">");
document.writeln("<a id=\"aboutMenu\"             href=\"about.html\" onMouseOver=\"menuMouseOver(this.id, 'aboutAegis');\"    onMouseOut=\"menuMouseOut();\">About AEGIS</a>");
document.writeln("<a id=\"servicesMenu\"          href=\"services.html\" onMouseOver=\"menuMouseOver(this.id, 'services');\"   onMouseOut=\"menuMouseOut();\">Services</a>");
document.writeln("<a id=\"successesMenu\"         href=\"successes.html\" onMouseOver=\"menuMouseOver(this.id, 'successes');\" onMouseOut=\"menuMouseOut();\">Success Stories</a>");
document.writeln("<a id=\"contractVehiclesMenu\"  href=\"contractvehicles.html\" onMouseOver=\"menuMouseOver(this.id, '');\"   onMouseOut=\"menuMouseOut();\">Contract Vehicles</a>");
document.writeln("<a id=\"careersMenu\"           href=\"careers.html\" onMouseOver=\"menuMouseOver(this.id, 'careers');\"     onMouseOut=\"menuMouseOut();\">Careers</a>");
document.writeln("<a id=\"contactMenu\"           href=\"contactus.html\" onMouseOver=\"menuMouseOver(this.id, '');\"           onMouseOut=\"menuMouseOut();\">Contact AEGIS</a>");
document.writeln("</div>");

document.writeln("<div id=\"aboutAegis\" class=\"subMenu\" style=\"display:none\" onMouseOver=\"menuMouseOver(null, '');\" onMouseOut=\"menuMouseOut();\">");
document.writeln("<a href=\"management.html\">Senior Management</a>");
document.writeln("<a href=\"news.html\">News</a>");
document.writeln("<span class=\"menuBottom\"><span>&nbsp;</span></span>");
document.writeln("</div>");

document.writeln("<div id=\"services\" class=\"subMenu\" style=\"display:none\" onMouseOver=\"menuMouseOver(null, '');\" onMouseOut=\"menuMouseOut();\">");
document.writeln("<a href=\"services.html#projectmanagment\">Project Management</a>");
document.writeln("<a href=\"services.html#ivandv\">IV&amp;V</a>");
document.writeln("<a href=\"services.html#testing\">Testing</a>");
document.writeln("<a href=\"services.html#development\">Design &amp; Develop</a>");
document.writeln("<span class=\"menuBottom\"><span>&nbsp;</span></span>");
document.writeln("</div>");

document.writeln("<div id=\"successes\" class=\"subMenu\" style=\"display:none\" onMouseOver=\"menuMouseOver(null, '');\" onMouseOut=\"menuMouseOut();\">");
document.writeln("<a href=\"successes.html#clients\">Clients</a>");
document.writeln("<a href=\"successes.html#engagements\">Engagements</a>");
document.writeln("<span class=\"menuBottom\"><span>&nbsp;</span></span>");
document.writeln("</div>");

document.writeln("<div id=\"careers\" class=\"subMenu\" style=\"display:none\" onMouseOver=\"menuMouseOver(null, '');\" onMouseOut=\"menuMouseOut();\">");
document.writeln("<a href=\"benefits.html\">Benefits</a>");
document.writeln("<span class=\"menuBottom\"><span>&nbsp;</span></span>");
document.writeln("</div>");

document.writeln("<div id=\"sidebar\">");
document.writeln("<a href=\"index.html\" ><img id=\"logo\" src=\"images/AEGIS-logo.jpg\" alt=\"AEGIS.net, Inc.\" title=\"AEGIS.net, Inc.\" width=\"130\" height=\"174\" /></a>");
document.writeln("<hr noshade/>");
document.writeln("<div id=\"spotlight-outer\">");
document.writeln("<div class=\"nw\"><div class=\"ne\"><div class=\"sw\"><div class=\"se\"><b>SPOTLIGHT</b>");
document.writeln("<div id=\"spotlight-inner\">");
document.writeln("<p><b><a href=\"news.html#news_item_1\">February 2010</a></b> &mdash; AEGIS to Exhibit at HIMSS10</p>");
document.writeln("<p><b><a href=\"news.html#news_item_2\">January 2010</a></b> &mdash; AEGIS Completes SCAMPI Class A Appraisal</p>");
document.writeln("<p><b><a href=\"news.html#news_item_3\">December 2009</a></b> &mdash; AEGIS Shows \"Partnering Works\" at Department of State</p>");
document.writeln("</div>");
document.writeln("</div></div></div></div>");
document.writeln("</div>");
document.writeln("</div>");

window.onload = setupPage;

function setupPage()
{
	sidebarPaddingString = $('sidebar').getStyle('padding-top');
	sidebarPadding = sidebarPaddingString.substr(0, sidebarPaddingString.length - 2) - 1;

	sidebarHeight = $('sidebar').getHeight();
	contentHeight = $('content').getHeight();

	if (sidebarHeight > contentHeight)
	{
		$('content').style.height = sidebarHeight + "px";
	}
	else if (contentHeight > sidebarHeight)
	{
		$('sidebar').style.height = (contentHeight - (sidebarPadding + 1)) + "px";
	}			
}