function cbizdirecthead() {
  document.writeln("<table border=0 width=100% cellpadding=0 cellspacing=0 align=center>");
  document.writeln("<tr><td bgcolor=white rowspan=2><a href='http://www.mtda.com/cbizdirect/index.htm'><img src='http://www.mtda.com/cbizdirect/cbiz.gif' width=58 height=66 border=0></a></td>");
  document.writeln("<td align=left bgcolor=white valign=middle><font face=verdana style=\"font-size:300%\" color=#0051b5>CBIZ Direct</font></td>");
  document.writeln("<td rowspan=2 bgcolor=white align=right><font face=verdana color=#0051b5 size=2>M.T. Donahoe & Associates, LLC</font>&nbsp;<br>");
  document.writeln("<font face=verdana color=#0051b5 size=1>7160 Columbia Gateway Drive, Suite 300&nbsp;<br>");
  document.writeln("Columbia, Maryland 21046-2132&nbsp;<br>Phone: (800) 231-1559&nbsp;<br>Fax: (800) 231-4158&nbsp;</font></td></tr>");
  document.writeln("<tr><td align=left bgcolor=white valign=middle><font face=verdana style=\"font-size:125%\" color=#0051b5> &#126; Your source for individual &amp; family health insurance &#126; </font></td></tr>");
  document.writeln("</table>");
  document.writeln("<img width=100% src='http://www.mtda.com/cbizdirect/grid.jpg'>");

  document.writeln("<table width=770 border=0 cellspacing=0 cellpadding=0 align=center>");
  document.writeln(" <tr> ");
  document.writeln("  <td height=36> ");
  document.writeln("   <table width=770 border=0 cellpadding=0 cellspacing=0 background='/cbizdirect/menu_bar.gif'> ");
  document.writeln("    <tr> ");
  document.writeln("     <td height=22 width=20><spacer type=block width=20></td>");
  document.writeln("     <td height=22 class=style1> ");
  document.writeln("         <a href='/cbizdirect/index.htm'    target='_top' class=style1>Home</a> ");
  document.writeln("       | <a href='/cbizdirect/about.htm'    target='_top' class=style1>About Us</a> ");
  document.writeln("       | <a href='/cbizdirect/products.htm' target='_top' class=style1>Helpful Hints </a> ");
  document.writeln("       | <a href='/cbizdirect/account.htm'  target='_top' class=style1>HSAs</a> ");

//*******************************************************************************************************

//  document.writeln("       | <a href='/cbizdirect/account.htm'  target='_top' class=style1>Consumer Guide</a> ");

//*******************************************************************************************************

  document.writeln("       | <a href='/cbizdirect/choose.htm'   target='_top' class=style1>Choose a Plan</a> ");
  document.writeln("       | <a href='/cbizdirect/process.htm'  target='_top' class=style1>The Process</a> ");
  document.writeln("       | <a href='/cbizdirect/medicare.htm' target='_top' class=style1>Medicare</a> ");
  document.writeln("       | <a href='/cbizdirect/contact.htm'  target='_top' class=style1>Contact Us</a> ");
  document.writeln("     </td>   ");
  document.writeln("    </tr>    ");
  document.writeln("   </table>  ");
  document.writeln("  </td>      ");
  document.writeln(" </tr>       ");
  document.writeln("</table>     ");

}

function cbizdirectfoot(){
  document.writeln("<div align=center>");
  document.writeln(" <p class=\"bottomMenu\"> ");
  document.writeln("    <a href=\"index.htm\">Home</a> ");
  document.writeln("   | <a href=\"/cbizdirect/about.htm\">About  Us</a> ");
  document.writeln("   | <a href=\"/cbizdirect/products.htm\">Helpful Hints</a> ");
  document.writeln("   | <a href=\"/cbizdirect/account.htm\">HSAs</a> ");
  document.writeln("   | <a href=\"/cbizdirect/choose.htm\">Choose a Plan</a> ");
  document.writeln("   | <a href=\"/cbizdirect/process.htm\">The Process</a> ");
  document.writeln("   | <a href=\"/cbizdirect/medicare.htm\">Medicare</a> ");
  document.writeln("   | <a href=\"/cbizdirect/contact.htm\">Contact Us</a> ");
  document.writeln(" </p>");
  document.writeln("</div>");
}

function test(){alert("TEST");}

function init()
{
	registerEventHandlers();
	showsummary('default');
}

function showsummary(state)
{
	hidestatesummary();
	obj = document.getElementById(state);
	obj.style.display = "block";
}

function hidestatesummary() 
{
	divs = document.getElementsByTagName('div');
	for (i=0; i < divs.length; i++)
	{
		thisdiv = divs[i];
		if(thisdiv.className.indexOf("statesummary") >= 0)
		{
			thisdiv.style.display = "none";
		}
	}
}

function registerEventHandlers()
{
	// Register the event handlers for the state links for mouseover/mouseout events
	statelinkEvents = document.getElementsByTagName("td");
	for (i=0; i < statelinkEvents.length; i++)
	{
		if(statelinkEvents[i].className == "statelink")
		{
			statelinkEvents[i].onmouseover = function() {statelinkonmouseover(this, event);};
			statelinkEvents[i].onmouseout = function() {statelinkonmouseout(this, event);};
		}
	}
}

function statelinkonmouseover(obj, e){obj.className = "statelinkhover";}
function statelinkonmouseout(obj, e){obj.className = "statelink";}


