function buildMenu()
{
// addItem(id, text, hint, location);
// addSubItem(idParent, text, hint, location);

menu = new Menu();


menu.addItem("be","Borrower Eligibility","","#borrower_eligibility");
menu.addSubItem("be","Title Requirements","","#title_requirements");
menu.addSubItem("be","Residency","","#residency");
menu.addSubItem("be","Ineligible Borrowers","","#ineligible_borrowers");
menu.addSubItem("be","Multiple Loans to One Borrower","","#multiple_loans_to_one_borrower");
menu.addSubItem("be","Number of Properties Owned","","#number_of_properties_owned");
menu.addSubItem("be","Non-Occupant Co-Borrowers","","#non_occupant_co_borrowers");
menu.addSubItem("be","Non ARM's Length Transaction","","#non_arms_length_transaction");
menu.addSubItem("be","Occupancy","","#occupancy");

menu.addItem("cr","Credit Requirements","","#credit_requirements");
menu.addSubItem("cr","Credit History","","#credit_history");
menu.addSubItem("cr","Minimum Credit Score","","#minimum_credit_score");
menu.addSubItem("cr","Age of Report","","#age_of_report");
menu.addSubItem("cr","Bankruptcy","","#bankruptcy");
menu.addSubItem("cr","Foreclosure","","#foreclosure");
menu.addSubItem("cr","Adverse Credit","","#adverse_credit");
menu.addSubItem("cr","Payoff Debt to Qualify","","#payoff_debt_to_qualify");

menu.addItem("ir","Income Requirements","","#income_requirements");
menu.addSubItem("ir","Acceptable Income","","#acceptable_income");
menu.addSubItem("ir","Unacceptable Income","","#unacceptable_income");
menu.addSubItem("ir","Employment History","","#employment_history");
menu.addSubItem("ir","Documentation Type","","#documentation_type");
menu.addSubItem("ir","Self-Employed","","#self_employed");
menu.addSubItem("ir","Tax Returns","","#tax_returns");
menu.addSubItem("ir","Fixed Income","","#fixed_income");
menu.addSubItem("ir","Rental Income","","#rental_income");
menu.addSubItem("ir","Trailing Spouse Income","","#trailing_spouse_income");
menu.addSubItem("ir","Alimony/Child Support","","#alimony_child_support");
menu.addSubItem("ir","Non-Traditional Income","","#non_traditional_income");


menu.addItem("topofpage","Top&nbsp;of&nbsp;Page","","#");

menu.showMenu();
}