var healthMenuColors = new Array('#c6e5e5','#ffffcc');
var lifeMenuColors   = new Array('#C6E5C6','#ffffcc');
var disabilityMenuColors   = new Array('#E4C6E5','#ffffcc');
var bottomColor      = '#cccccc';

var speed = 5;

DynAPI.onLoad = function() {
	var menu = new Menu();
	menu.initTop();
	menu.width = 141;
	menu.setCellHeight(15);
	menu.x = 10;
	menu.y = 206;
	menu.z = 10;
	menu.bgColor = null;

	var health, life;
	
	// addChild (content, link, bgcolors, images)
	// any field can be omitted or null.
	// content, bgcolors, and images can be arrays (length 2) for a swap.  image takes swap precedence over content and bgcolors

	health = menu.addChild(null,'../health/index.asp',null,new Array('../images/sub_health_off.gif','../images/sub_health_on.gif'));
	life = menu.addChild(null,'../life/index.asp',null,new Array('../images/sub_life_off.gif','../images/sub_life_on.gif'));
	disability = menu.addChild(null,'../disability/index.asp',null,new Array('../images/sub_disability_off.gif','../images/sub_disability_on.gif'));
	menu.addChild(null,'../longterm/index.asp',null,new Array('../images/sub_longterm_off.gif','../images/sub_longterm_on.gif'));
	menu.addChild(null,'../contact/index.asp',null,new Array('../images/sub_contact_off.gif','../images/sub_contact_on.gif'));
	menu.addChild(null,'http://www.walczaknews.com',null,new Array('../images/sub_newsletter_off.gif','../images/sub_newsletter_on.gif'));
	
	health.addChild('&nbsp;&nbsp;Medical','../health/index.asp?pageID=2',healthMenuColors);
	health.addChild('&nbsp;&nbsp;&nbsp;<img src="../images/drop.gif" width="10" height="9" border="0"> Group','../health/index.asp?pageID=3',healthMenuColors);
	health.addChild('&nbsp;&nbsp;&nbsp;<img src="../images/drop.gif" width="10" height="9" border="0"> Self Employed','../health/index.asp?pageID=4',healthMenuColors);
	health.addChild('&nbsp;&nbsp;&nbsp;<img src="../images/drop.gif" width="10" height="9" border="0"> International','../health/index.asp?pageID=5',healthMenuColors);
	health.addChild('&nbsp;&nbsp;Dental','../health/index.asp?pageID=6',healthMenuColors);
	health.addChild('&nbsp;&nbsp;Vision','../health/index.asp?pageID=7',healthMenuColors);

	life.addChild('&nbsp;&nbsp;Group','../life/index.asp?pageID=2',lifeMenuColors);
	life.addChild('&nbsp;&nbsp;Individual','../life/index.asp?pageID=3',lifeMenuColors);

	disability.addChild('&nbsp;&nbsp;Group','../disability/index.asp?pageID=2',disabilityMenuColors);
	disability.addChild('&nbsp;&nbsp;Individual','../disability/index.asp?pageID=3',disabilityMenuColors);

	menu.init();
}

