// 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="<script language=javascript>";
	for(a=1;a<menus.length;a++)
	{
		mt+=" menu"+a+"=menus["+a+"];"
	}
	mt+="<\/script>";_d.write(mt)
}
function leftPos()
{
	gabarit = 920;
	sirina = screen.width;
//	levatacka = 180;
	levatacka = (sirina-gabarit)/2;
/*	alert('Gabarit: '+gabarit);
	alert('Sirina: '+sirina);
	alert('Leva Tacka: '+levatacka); */
	return levatacka;
}
//Please leave the above line intact

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////


effect = "Fade(duration=0.1);Alpha(style=0,opacity=100);" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
//effect = "Fade(duration=0.1);Alpha(style=0,opacity=100);Shadow(color='#999999', Direction=135, Strength=2)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters

timegap=100				// The time delay for menus to remain visible
followspeed=9			// Follow Scrolling speed
followrate=30			// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=0;		// Sub menu offset Left position

style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"A8B6BF",				// Mouse Off Font Color
"04121D",				// Mouse Off Background Color
"F8F9FA",				// Mouse On Font Color
"04121D",				// Mouse On Background Color
"04121D",	        	// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Trebuchet MS,Arial,sans-serif",		// Font Name
2,						// Menu Item Padding
"",						// 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)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]

style2=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"A8B6BF",				// Mouse Off Font Color
"000000",				// Mouse Off Background Color
"F8F9FA",				// Mouse On Font Color
"04121D",				// Mouse On Background Color
"000000",	        	// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Trebuchet MS,Arial,sans-serif",		// Font Name
2,						// Menu Item Padding
"",						// 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)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
114,				// Menu Top - The Top position of the menu in pixels
leftPos(),					// Menu Left - The Left position of the menu in pixels
82,					// Menu Width - Menus width in pixels
1,					// Menu Border Width 
"",			// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// ..Now Obsolete..
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
//###//
,"Autodesk","show-menu=menu1","?1",,1
,"Software","show-menu=menu2","?2",,1
,"Usluge","show-menu=menu4","?4",,1
,"Oprema","show-menu=menu5","?5",,1
,"Zanimljivosti","show-menu=menu7","?7",,1

//###//
])
//###//
addmenu(menu=["menu1",121,,135,0,"",style2,,"left",effect,,,,,,,,,,,,
,"<h3>Opšti CAD</h3>","?1:1",,,1
,"<h3>Arhitektura</h3>","?1:2",,,1
,"<h3>Instalacije</h3>","?1:3",,,1
,"<h3>GIS i MAP</h3>","?1:4",,,1
,"<h3>Visokogradnja</h3>","?1:44",,,1
,"Niskogradnja","?1:45",,,1
])
addmenu(menu=["menu2",121,,135,0,"",style2,,"left",effect,,,,,,,,,,,,
,"NormAG","?2:31",,,1
,"Symantec/Norton","?2:36",,,1
])
addmenu(menu=["menu4",121,,135,0,"",style2,,"left",effect,,,,,,,,,,,,
,"<h3>Obuka i uvođenje Revit-a</h3>","?4:41",,,1
,"<h3>3D modeliranje i vizuelizacija</h3>","?4:42",,,1
,"<h3>Autodesk podrška</h3>","?4:43",,,1
])
addmenu(menu=["menu5",121,,135,0,"",style2,,"left",effect,,,,,,,,,,,,
,"Ploteri do A1","?5:22",,,1
,"Ploteri A0+","?5:26",,,1
,"Grafičke radne stanice","?5:29",,,1
])
addmenu(menu=["menu7",121,,135,0,"",style2,,"left",effect,,,,,,,,,,,,
,"Revit u Srbiji","?7:28",,,1
,"Pitanja/Odgovori","?7:32",,,1
,"Vesti","?7:37",,,1
,"Video materijal","?7:38",,,1
])

//###//
dumpmenus()