
// x-coordinate of top left corner of dropdown menu 

var myWidth = 0;

if( typeof( window.innerWidth ) == 'number' )
    myWidth = window.innerWidth;

if (document.compatMode && document.compatMode != "BackCompat")
   myWidth = document.documentElement.clientWidth;
else
   myWidth = document.body.clientWidth;

var initX             = (myWidth-640)/2; 

// y-coordinate of top left corner of dropdown menu 
var initY             = 234; 

// the background color of dropdown menu (set empty '' for transparent)
var backColor         = '#023467'; 

// the background color of selected menu items, set empty '' for transparent
var activeBackColor   = '#B0C4DE'; 

// the color of dropdown menu border
var borderColor = 'white'; 

// the width of menu border
var borderSize  = '1'; 

// height of menu itesm
var itemHeight  = 20;

// overlapping between 
var xOverlap    = 1000;
var yOverlap    = 10;

// end of constants


menuContent     = new Array ();

menuContent [0] = new Array ( 
-1, 
-1, 
99, // 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 (
' Aktualności ', 'spoldzielnia,budowlani,aktualnosci.html',
' Przetargi ', 'spoldzielnia,budowlani,przetargi.html',
' Regulaminy ', 'spoldzielnia,budowlani,regulaminy.html',
' Rada Nadzorcza ', 'spoldzielnia,budowlani,radanadzorcza.html',
' Zarząd ', 'spoldzielnia,budowlani,zarzad.html'
));

menuContent [1] = new Array ( 
-1, 
-1,
62, // 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 (
'Inwestycje', 'spoldzielnia,budowlani,inwestycje.html', 
'Realizacje', 'spoldzielnia,budowlani,realizacje.html'
));

menuContent [2] = new Array ( 
-1, 
-1,
95, // 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 (
'Twoje konto', 'spoldzielnia,budowlani,konto.html'
));