
//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=JavaScript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=200                   // The time delay for menus to remain visible
followspeed=5                 // Follow Scrolling speed
followrate=5                 // Follow Scrolling Rate
suboffset_top=4               // Sub menu offset Top position
suboffset_left=10             // Sub menu offset Left position


fomenu=[			                // Array of properties. You can have as many property arrays as you need
"ffffff",                     // Mouse Off Font Color
"969FA8",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"888888",                     // Mouse On Font Color
"969FA8",                     // Mouse On Background Color
"0e2a5f",                     // Menu Border Color
"22",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                     // Font Weight (bold or normal)
"Arial, Helvetica",           // Font Name
0,                            // Menu Item Padding or spacing
"",                           // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
"FFFFFF",                     // 3D High Color
"000000",                     // 3D Low Color
,                             // Current Page Item Font Color (leave this blank to disable)
,                             // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]



almenu=[			                // Array of properties. You can have as many property arrays as you need
"ffffff",                     // Mouse Off Font Color
"969FA8",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"DC5D3D",                     // Mouse On Font Color
"969FA8",                     // Mouse On Background Color
"3e557f",                     // Menu Border Color
"11",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"normal",                       // Font Weight (bold or normal)
"Arial, Helvetica",  // Font Name
1,                            // Menu Item Padding or spacing
"images/kisharomszog.gif",                           // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
"FFFFFF",                     // 3D High Color
"000000",                     // 3D Low Color
,                             // Current Page Item Font Color (leave this blank to disable)
,                             // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
"000000",                     // Menu Header Background Color (Leave blank if headers are not needed)
"3e557f",                             // Menu Item Separator Color
]



addmenu(menu=[
"mainmenu",                   // Menu Name - This is needed in order for this menu to be called
86,                          // Menu Top - The Top position of this menu in pixels
(screen.width-770)/2-4,                          // Menu Left - The Left position of this menu in pixels
170,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
fomenu,                  // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
,//"Shadow(color=777777, Direction=135, Strength=5)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties

// rolloveres rész
,"<a href='index.php?action=szerviz'><img src=images/btn_szerviz_off.jpg border=0></a>","show-menu=x","# swapimage=images/btn_szerviz_on.jpg;","Gyártás",0
,"<a href='index.php?action=kereskedelem_fo'><img src=images/btn_kereskedelem_off.jpg border=0></a>","show-menu=kereskedelem","# swapimage=images/btn_kereskedelem_on.jpg;","Értékesítés",0
,"<a href='index.php?action=tartos'><img src=images/btn_tartos_off.jpg border=0></a>","show-menu=x","# swapimage=images/btn_tartos_on.jpg;","Bérbeadás",0  

])


// nem rolloveres menu
//,"szerviz","index.php?action=szerviz","","Címlap",0
//,"kereskedelem","show-menu=kereskedelem","index.php?action=kereskedelem","Kereskedelem",0
//,"tartós bérlet","index.php?action=tartos","","tartós bérlet",0




addmenu(menu=["kereskedelem",
0,0,145,1,,almenu,0,"left",,0,0,0,,,0,0,,,0,,
,"új gépek","index.php?action=kereskedelem&status=1","","új gépek",1
,"használt gépek","index.php?action=kereskedelem&status=0","","használt gépek",1
])


dumpmenus();

