

var logout = new new_menu();
logout.name = "logout";
logout.base = "true";
logout.horizontal = "true";
logout.links.push(new GenericLink("logout", ROOT + "login.php5?action=out", "Confirm Logout").make());

var news = new new_menu();
news.name = "news";
news.base = "true";
news.horizontal = "true";
news.links.push(new GenericLink("world", "#", "World").make());
news.links.push(new GenericLink("entertainment", "#", "Entertainment").make());
news.links.push(new GenericLink("sport", "#", "Sport").make());
news.links.push(new GenericLink("health", "#", "Health").make());

var tools = new new_menu();
tools.name = "tools";
tools.base = "true";
tools.horizontal = "true";
tools.links.push(new GenericLink("gym_basics", ROOT + 'gym_basics/', "Gym Basics").make());
tools.links.push(new GenericLink("training_plans", ROOT + "trainingplans/", "Training Plans").make());
tools.links.push(new GenericLink("assessment_results", ROOT + 'reports/', "Assessment Results").make());
tools.links.push(new GenericLink("calorie_tool", ROOT + "calorie/", "Calorie Tool").make());
tools.links.push(new GenericLink("food", ROOT + "food/", "Food Diary").make());
tools.links.push(new GenericLink("goals", ROOT + "goals/", "Goals").make());
tools.links.push(new GenericLink("ips_league_table",  ROOT + "ips/", "IPS League Table").make());
tools.links.push(new GenericLink("personal_log",  ROOT + "personallog/", "Personal Log").make());

var account = new new_menu();
account.name = "account";
account.base = "true";
account.horizontal = "true";
account.links.push(new GenericLink("personal_details", ROOT + "preferences/", "Personal Details").make());
account.links.push(new GenericLink("video_preferences", ROOT + "preferences/video_settings.php5", "Video Preferences").make());

var help = new new_menu();
help.name = "help";
help.base = "true";
help.horizontal = "true";
help.links.push(new GenericLink("contact_support",  ROOT + "help/contact_support.php5", "Contact Support").make());

var forums = new new_menu();
forums.name = "forum";
forums.base = "true";
forums.horizontal = "true";
forums.links.push(new GenericLink("gym_only", ROOT + "forum/", "Gym Only").make());
forums.links.push(new GenericLink("community", ROOT + "forum/", "Community").make());

