// write me if you have questions: web.master@male.ru

// constants
var initX       = 10; // x-coordinate of top left corner of dropdown menu 
var initY       = 153; // y-coordinate of top left corner of dropdown menu 
var backColor   = '#cccccc'; // the background color of dropdown menu, set empty '' for transparent
var borderColor = 'black'; // 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 ();

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 (
'Approfondimenti', 'http://www.sosazzardo.it/_approfondimenti.htm',
'Libro degli Ospiti', 'http://www.sosazzardo.it/guestbook.asp',
'FORUM', 'http://www.sosazzardo.it/public/wwwboard.asp',
'Mailing List', 'http://www.sosazzardo.it/mailing.asp',
'Site Map', 'http://www.sosazzardo.it/_sitemap.htm',
'Credits', 'http://www.sosazzardo.it/_credits.htm',
'Restricted', 'http://www.sosazzardo.it/monitor'
));

menuContent [1] = new Array ( 
-1, 
-1,
100,
-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 (
'Agita', 'http://www.sosazzardo.it/_agita.htm',
'International', 'http://www.sosazzardo.it/_agita_e.htm',
'Numeri Utili', 'http://www.sosazzardo.it/_numeriutili.htm',
'AIUTO', 'http://www.sosazzardo.it/richiesta_info.htm'
));

menuContent [2] = new Array ( 
-1, 
-1,
100,
-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 (
//'ESTERO', 'http://www.sosazzardo.it/notizieESTERO/_notizie_estero.htm',
'1999-2010', 'http://www.sosazzardo.it/notizie/notizie.asp'
));

menuContent [3] = new Array ( 
-1, 
-1,
100,
-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 (
'Libri', 'http://www.sosazzardo.it/_libri.htm',
'Recensioni', 'http://www.sosazzardo.it/_recensioni.htm',
'Corsi', 'http://www.sosazzardo.it/corsi/corsi.htm'
));


menuContent [4] = new Array ( 
-1, 
-1,
100,
-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 (
'Link(s)', 'http://www.sosazzardo.it/_link.htm',
'Site Map', 'http://www.sosazzardo.it/_sitemap.htm'
));

menuContent [5] = new Array ( 
-1, 
-1,
100,
-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 (
'Prossimi appuntamenti', 'http://www.sosazzardo.it/_convegni.htm',
'Convegni già svolti', 'http://www.sosazzardo.it/_allestimento.htm',
'Download Relazioni', 'http://www.sosazzardo.it/_download.htm',
'Approfondimenti', 'http://www.sosazzardo.it/_allestimento.htm'
));


menuContent [6] = new Array ( 
1, 
1,
100,
-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 (
'<img src=http://www.sosazzardo.it/pix/english_smst.jpg> English', 'http://www.sosazzardo.it/_agita_e.htm',
'<img src=http://www.sosazzardo.it/pix/germany.jpg> Deutsch', 'http://www.sosazzardo.it/_agita_d.htm',
'<img src=http://www.sosazzardo.it/pix/france.jpg> Française', 'http://www.sosazzardo.it/_agita_f.htm',
'<img src=http://www.sosazzardo.it/pix/spain.jpg> Espanol', 'http://www.sosazzardo.it/_agita_s.htm'
));

menuContent [7] = new Array ( 
0, 
0,
100,
-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 (
'Altri Convegni','http://www.sosazzardo.it/AltriConvegni.htm',
'Finanziaria 2006','http://www.sosazzardo.it/_approfondimenti_Finanziaria2006.htm',
'New Slot','http://www.sosazzardo.it/_speciale_MuoversiPerLeSlot.htm',
'Studio GAP', 'http://www.sosazzardo.it/gap.htm',
'Denuncia', 'http://www.sosazzardo.it/_specialeInformativaApparecchiIllegali.htm',
'Bingo', 'http://www.sosazzardo.it/_speciale_bingo.htm',
'Videopoker', 'http://www.sosazzardo.it/_speciale_videopoker.htm',
'Casinò', 'http://www.sosazzardo.it/mobilitazione.htm',
'Videolotteria', 'http://www.sosazzardo.it/_speciale_videolotteria.htm',
'Filmografia', 'http://www.sosazzardo.it/filmografia.htm',
'Citazioni Azzardate', 'http://www.sosazzardo.it/citazioni.htm',
'Intervento Psicosociale','http://www.sosazzardo.it/_approfondimenti_InterventoPsicosociale.htm'
));

menuContent [8] = new Array ( 
0, 
1,
100,
-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 (
'Scrivi commento', 'http://www.sosazzardo.it/guestbook_signup.asp'
));

