MenuWidth = 470
PosicionVertical = document.getElementById("scriptcenter").offsetTop;
if(navigator.appName == "Microsoft Internet Explorer")
{
PosicionHorizontal = (window.screen.availWidth-MenuWidth)/2;
}
else
{
PosicionHorizontal = (window.innerWidth-MenuWidth)/2;
}

/* --- geometry and timing of the menu --- */
var MENU_POS1 = new Array();
        // item sizes for different levels of menu
        MENU_POS1['height'] = [15, 15, 15, 15, 15];
        MENU_POS1['width'] = [90, 150, 150, 150, 150];
        // menu block offset from the origin:
        //        for root level origin is upper left corner of the page
        //        for other levels origin is upper left corner of parent item
        MENU_POS1['block_top'] = [90, 17, 0, 0, 0];
        MENU_POS1['block_left'] = [PosicionHorizontal, 0, 150, 150, 150];
        //MENU_POS1['block_top'] = [94, 17, 0, 0, 0];
        //MENU_POS1['block_left'] = [280, 0, 150, 150, 150];
        // offsets between items of the same level
        MENU_POS1['top'] = [0, 17, 17, 17, 17];
        MENU_POS1['left'] = [90, 0, 0, 0, 0];
        // time in milliseconds before menu is hidden after cursor has gone out
        // of any items
        MENU_POS1['hide_delay'] = [200, 200, 200, 200, 200];

/* --- dynamic menu styles ---
note: you can add as many style properties as you wish but be not all browsers
are able to render them correctly. The only relatively safe properties are
'color' and 'background'.
*/
var MENU_STYLES1 = new Array();
        // default item state when it is visible but doesn't have mouse over
        MENU_STYLES1['onmouseout'] = [
                'color', ['#ffffff', '#ffffff', '#ffffff', '#000000', '#000000'],
                'background', ['#336699', '#5c85ad', '#85a3c2', '#adc2d6', '#d9e2ec'],
                'fontWeight', ['normal', 'normal', 'normal', 'normal', 'normal'],
                'textDecoration', ['none', 'none', 'none', 'none', 'none'],
        ];
        // state when item has mouse over it
        MENU_STYLES1['onmouseover'] = [
                'color', ['#ffffff', '#ffffff', '#ffffff', '#000000', '#000000'],
                'background', ['#339966', '#5cad5c', '#89c285', '#aec6ad', '#dbecd9'],
                'fontWeight', ['bold', 'bold', 'bold', 'bold', 'bold'],
                'textDecoration', ['underline', 'none', 'none', 'none', 'none'],
        ];
        // state when mouse button has been pressed on the item
        MENU_STYLES1['onmousedown'] = [
                'color', ['#ffffff', '#ffffff', '#ffffff', '#000000', '#000000'],
                'background', ['#993366', '#ad5c5c', '#c28588', '#c6adef', '#ecd9d9'],
                'fontWeight', ['bold', 'bold', 'bold', 'bold', 'bold'],
                'textDecoration', ['underline', 'none', 'none', 'none', 'none'],
        ];
