// constants
var initX       = 5; // x-coordinate of top left corner of dropdown menu 
//now initX is not use
var initY       = 107; // y-coordinate of top left corner of dropdown menu 
var backColor   = 'white'; // the background color of dropdown menu, set empty '' for transparent
var borderColor = '#006699'; // the color of dropdown menu border
var borderSize  = '1'; // the width of dropdown menu border
var itemHeight  = 20;
var xOverlap    = 5;
var yOverlap    = 10;
//

// Don't change these parameters
var delay        = 500; /////
var menuElement  = new Array ();
var usedWidth    = 0;
var numOfMenus   = 0;
/// ----------------------------

menuContent     = new Array ();
// --- top_menu_arrays ---
menuContent[0] = new Array ( 
-1, // the id of parent menu, -1 if this is a first level menu
-1, // the number of line in parent menu, -1 if this is a first level menu
100, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate

new Array (
'Москва', '/offline_stores_msk/',
'Санкт-Петербург', '/offline_stores_spb/',
'Нижний Новгород', '/offline_stores_nng/',
'Тула', '/offline_stores_tula/',
'Новосибирск', '/offline_stores_nvsk/',
'Ростов-на-Дону', '/offline_stores_rostov/',
'Рязань', '/offline_stores_razan/',
'Ярославль', '/offline_stores_yaroslavl/',
'Краснодар', '/offline_stores_krasnodar/',
'Калуга', '/offline_stores_klg/'
));


menuContent[1] = new Array ( 
-1, // the id of parent menu, -1 if this is a first level menu
-1, // the number of line in parent menu, -1 if this is a first level menu
100, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate

new Array (
'Сервисный центр', '/service/',
'Гарантия', '/guarantee/',
'Доставка', '/delivery/',
'Торговля в кредит', '/credit/',
'Комиссионный магазин', '/commission/'
));




menuContent[2] = new Array ( 
-1, // the id of parent menu, -1 if this is a first level menu
-1, // the number of line in parent menu, -1 if this is a first level menu
100, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate

new Array (
'Как выбрать и заказать товар', '/help/',
'Как найти товар', '/product_search/',
'Расширенный поиск', '/exsearch.php'
));




menuContent[3] = new Array ( 
-1, // the id of parent menu, -1 if this is a first level menu
-1, // the number of line in parent menu, -1 if this is a first level menu
0, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate

new Array (
));




menuContent[4] = new Array ( 
-1, // the id of parent menu, -1 if this is a first level menu
-1, // the number of line in parent menu, -1 if this is a first level menu
0, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate

new Array (
));

// --- end of top_menu_arrays ---
