//menu objects for Monster.com
//created by Dave Dellovo for Monster.com
//ddellovo@monster.com

//Load Menu Object

function onLoad() {
        window.loadMenus();
}


//If everything else on the page is loaded then activate the menus
if (document.all) {
        onLoad();
}

function loadMenus () {

//menu objects are parsed in the order  (top to bottom) that they appear.
//make sure to define child menus first-- before their parent menu.

	var myTop = "top.window.location";
	var myMonster = "http://www.monster.com"  //for: "http://www. monster. com";
	var myPortfolio = "http://my.chief.monster.com/";
	var myJobSearch = "http://jobsearch.chief.monster.com/"
	var myCompanySearch = "http://company.chief.monster.com/"
	var myContent   = "http://content.chief.monster.com/"
	
<!-- Child of My Profile-- My Profile Sub -->
    window.myprofile = new Menu("My Profile...");
    myprofile.addMenuItem("Account Profile", myTop + "='" + myPortfolio + "acct.asp'");
	myprofile.addMenuItem("Agents",			 myTop + "='" + myPortfolio + "manageagents.asp'"); 
    myprofile.addMenuItem("Applications",	 myTop + "='" + myPortfolio + "manageapps.asp'");
    myprofile.addMenuItem("Resumes",		 myTop + "='" + myPortfolio + "resume.asp'");
	myprofile.addMenuItem("Letters",		 myTop + "='" + myPortfolio + "manageletters.asp'");
	
	myprofile.fontColor = "#663399";
    myprofile.menuHiliteBgColor = "#cccc43";
	myprofile.fontColorHi = "#ffffff";
	myprofile.fontWeight = "bold";

		
<!-- Monster -->
    window.Monster = new Menu("Monster");
	Monster.addMenuItem("My ChiefMonster Home",		myTop + "='" + myPortfolio + "'"); 
    //Monster.addMenuItem(ctalent); 
    Monster.addMenuItem("Search ChiefMonster",  myTop + "='" + myJobSearch + "'");
	//Monster.addMenuItem(mymonster);
	Monster.addMenuItem("Career Strategy", myTop + "='" + myContent + "'");
	Monster.addMenuItem(myprofile);
	Monster.addMenuItem("Manage&nbsp;Opportunities", myTop + "='" + myPortfolio + "cabinet.asp'");
	
	Monster.fontColor = "#663399";
    Monster.menuHiliteBgColor = "#cccc43";
	Monster.fontWeight = "bold";
	
<!-- Search -->	
    window.search = new Menu("Search");
    search.addMenuItem("Opportunity Search", myTop + "='" + myJobSearch + "'");
	search.addMenuItem("Company Info",		 myTop + "='" + myCompanySearch + "'");
	
	search.fontColor = "#663399";
	search.menuHiliteBgColor = "#cccc43";
	myprofile.fontColorHi = "#ffffff";

	Monster.writeMenus();

}
