function showToolbar()
{
// AddItem(id, text, hint, location, alternativeLocation);
// AddSubItem(idParent, text, hint, location, linktarget);

	menu = new Menu();

	menu.addItem("m_mainid", "Главная", "",  null , null);
	menu.addSubItem("m_mainid", "Поиск", "Поиск",  "index.php?p=search", "content");
	menu.addSubItem("m_mainid", "Главная", "Главная",  "index.php?p=main", "content");
	menu.addItem("m_rulesid", "Форум", "",  null , null);
	menu.addSubItem("m_rulesid", "Форум", "Форум",  "forum/index.php?styleid=1", "_blank");
	menu.addSubItem("m_rulesid", "Правила", "Правила",  "index.php?p=rules", "content");
	menu.addSubItem("m_rulesid", "Форум КПК", "Форум КПК",  "forum/index.php?styleid=3", "_blank");
	menu.addItem("m_aboutid", "О клубе", "",  null , null);
	menu.addSubItem("m_aboutid", "О клубе", "О клубе",  "index.php?p=about", "content");
	menu.addSubItem("m_aboutid", "СМИ о нас", "СМИ о нас",  "index.php?p=smi", "content");
	menu.addSubItem("m_aboutid", "Автомобили клуба", "Автомобили клуба",  "index.php?p=clubcars", "content");
	menu.addItem("m_actionsid", "Мероприятия", "",  null , null);
	menu.addSubItem("m_actionsid", "М-день", "М-день",  "index.php?p=mday", "content");
	menu.addSubItem("m_actionsid", "Мячково", "Мячково",  "index.php?p=mya4kovo", "content");
	menu.addSubItem("m_actionsid", "Ралли спринт", "Ралли спринт",  "index.php?p=rally", "content");
	menu.addSubItem("m_actionsid", "Картинг", "Картинг",  "index.php?p=carting", "content");
	menu.addSubItem("m_actionsid", "Экзотика", "Экзотика",  "index.php?p=exotic", "content");
	menu.addSubItem("m_actionsid", "Тусовка", "Тусовка",  "index.php?p=tusovka", "content");
	menu.addSubItem("m_actionsid", "Gumball 3000", "Gumball 3000",  "index.php?p=gumball", "content");
	menu.addSubItem("m_actionsid", "Дрифт", "Дрифт",  "index.php?p=drift", "content");
	menu.addSubItem("m_actionsid", "Unlim 500+", "Unlim 500+",  "index.php?p=unlim500", "content");
	menu.addSubItem("m_actionsid", "Разное", "Разное",  "index.php?p=raznoe", "content");
	menu.addSubItem("m_actionsid", "", "",  "index.php?p=", "content");
	menu.addSubItem("m_actionsid", "Календарь", "Календарь",  "index.php?p=calendar", "content");
	menu.addItem("m_textid", "Текст", "",  null , null);
	menu.addSubItem("m_textid", "История", "История",  "index.php?p=history", "content");
	menu.addSubItem("m_textid", "Тех. данные", "Тех. данные",  "index.php?p=tehdata", "content");
	menu.addSubItem("m_textid", "Обзоры", "Обзоры",  "index.php?p=reviews", "content");
	menu.addSubItem("m_textid", "Статьи", "Статьи",  "index.php?p=articles", "content");
	menu.addSubItem("m_textid", "Ремонт", "Ремонт",  "index.php?p=repair", "content");
	menu.addSubItem("m_textid", "Тюнинг", "Тюнинг",  "index.php?p=tuning", "content");
	menu.addSubItem("m_textid", "Запасные части", "Запасные части",  "index.php?p=spareparts", "content");
	menu.addSubItem("m_textid", "FAQ", "FAQ",  "index.php?p=faq", "content");
	menu.addSubItem("m_textid", "Управление", "Управление",  "index.php?p=aktivles", "content");
	menu.addItem("mediaid", "Медиа", "",  null , null);
	menu.addSubItem("mediaid", "Галерея", "Галерея",  "index.php?p=gallery", "content");
	menu.addSubItem("mediaid", "Видео", "Видео",  "index.php?p=video", "content");
	menu.addSubItem("mediaid", "Файлы", "Файлы",  "index.php?p=files", "content");
	menu.addSubItem("mediaid", "Обои", "Обои",  "index.php?p=wallpers", "content");
	menu.addItem("m_partnerid", "Партнеры", "",  null , null);
	menu.addSubItem("m_partnerid", "Спонсоры", "Спонсоры",  "index.php?p=sponsors", "content");
	menu.addSubItem("m_partnerid", "Партнеры", "Партнеры",  "index.php?p=partners", "content");
	menu.addSubItem("m_partnerid", "Ссылки", "Ссылки",  "index.php?p=links", "content");
	menu.addSubItem("m_partnerid", "Друзья", "Друзья",  "index.php?p=friends", "content");
	menu.addItem("m_contactsid", "Контакты", "",  null , null);
	menu.addSubItem("m_contactsid", "Контакты", "Контакты",  "menu/contacts/contacts.html", "content");
	menu.addSubItem("m_contactsid", "Баннеры", "Баннеры",  "menu/contacts/banners.html", "content");
	menu.addSubItem("m_contactsid", "Реклама", "Реклама",  "menu/contacts/reklama.html", "content");
	menu.addSubItem("m_contactsid", "Счет", "Счет",  "menu/contacts/acount.html", "content");


	menu.showMenu();
}

