//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
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)
}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect1 = "Fade(duration=0.2)"
	effect = "Fade(duration=0.2);Shadow(color='#FF9900', Direction=0, Strength=5)"
}
else
{
	effect1=""
        effect = "Shadow(color='#FF9900', Direction=0, Strength=5)" 
       // Stop IE5.5 bug when using more than one filter
}


timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=10;		// Sub menu offset Top position 
suboffset_left=10;		// 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.
"FFFFFF",					// Mouse Off Font Color
"FF9900",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"ffffff",				// Mouse On Background Color
"000000",				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
0,						// Menu Item Padding
"imagini/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"174D97",				// 3D High Color
"174D97",				// 3D Low Color
"000000",				// Current Page Item Font Color (leave this blank to disable)
"FF9900",					// Current Page Item Background Color (leave this blank to disable)
,			// Top Bar image (Leave this blank to disable)
"FF9900",				// 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
197,					// Menu Top - The Top position of the menu in pixels
10,				// Menu Left - The Left position of the menu in pixels
,					// 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"
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
effect1,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// 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
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// 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
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","index.php",,"Back to the home page",0 
// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;despre&nbsp;&nbsp;noi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","pagini/desprenoi.php",,"Despre Noi ....",0
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;contact&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","pagini/contact.php",,"Contact ....",0
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;conducere&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=echipaconducere",,"Conducere",0 
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;informatii&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=info",,"",0
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;achizitii&nbsp;&nbsp;publice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=achizitii",,"",0
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;infrastructura&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=infrastr",,"",0
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subunitati&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=subunitati",,"",0
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;imagini&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","pagini/imagini.php",,"Imagini din D.R.D.P. Craiova",0
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scurt&nbsp;&nbsp;istoric&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","pagini/istoric.php",,"Scurt Istoric D.R.D.P. Craiova",0
])
	
		addmenu(menu=["info",
		,,220,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"<img src=imagini/gol.gif width=15 height=15 border=0>restrictii de circulatie","pagini/restrictiitemp.php",,"Restrictii de circulatie",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>categorii de drum","pagini/categdn.php",,"Categorii de drum din punct de vedere al maselor si dimensiunilor maxime admise",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>mase si dimensiuni maxime","pagini/masedim.php",,"Mase si dimensiuni maxime admise",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>tarife","show-menu=tarife",,"Tarife suplimentare de utilizare a drumurilor nationale",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>autorizatii de amplasament/acces","pagini/autoconstr.php",,"Autorizatii de amplasament/acces",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>autorizatii de transport","pagini/autotransport.php",,"Autorizatii de transport",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>legislatie","pagini/lege.php",,"Legistalie rutiera",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>anunt public - acord mediu","pagini/acordmediu.php",,"Acord Mediu",0
		])


			
			addmenu(menu=["tarife",
			,,100,1,"",style1,,"left",effect1,,,,,,,,,,,,
			,"<img src=imagini/gol.gif width=15 height=15 border=0>romani","pagini/tariferom.php",,,
			,"<img src=imagini/gol.gif width=15 height=15 border=0>straini","pagini/tarifestr.php",,,
			])


		addmenu(menu=["infrastr",
		,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"<img src=imagini/gol.gif width=15 height=15 border=0>reteaua de drumuri","pagini/reteadn.php",,"Reteaua de drumuri administrate de DRDP Craiova",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>reteaua de poduri","pagini/reteapoduri.php",,"Reteaua de poduri administrate de DRDP Craiova",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>programul de reabilitare","pagini/reabilitare.php",,"Programul de reabilitare",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>harta drumuri","pagini/hartadn.php",,"Harta drumuri nationale D.R.D.P. Craiova",0
		])


		addmenu(menu=["subunitati",
		,,115,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"<img src=imagini/gol.gif width=15 height=15 border=0>S.D.N. Craiova","pagini/sdncv.php",,"Sectia Drumuri Nationale Craiova",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>S.D.N. Severin","pagini/sdnsev.php",,"Sectia Drumuri Nationale Severin",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>S.D.N. Tg.Jiu","pagini/sdnjiu.php",,"Sectia Drumuri Nationale Tg.Jiu",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>S.D.N. Valcea","pagini/sdnvl.php",,"Sectia Drumuri Nationale Valcea",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>S.D.N. Slatina","pagini/sdnsl.php",,"Sectia Drumuri Nationale Slatina",0
		])
	
		addmenu(menu=["achizitii",
		,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"<img src=imagini/gol.gif width=15 height=15 border=0>achizitii directe","pagini/achizitii_directe.php",,"Achizitii directe",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>documentatii de atribuire","pagini/achizitii.php",,"Documentatii de Atribuire",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>dosare de achizitii","pagini/dosare.php",,"Dosare de Achizitii",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>anunturi","pagini/anunturi.php",,"Dosare de Achizitii",0
		])

addmenu(menu=["echipaconducere",
		,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"<img src=imagini/gol.gif width=15 height=15 border=0>conducerea institutiei","pagini/conducere.php",,"Echipa Manageriala",0
		,"<img src=imagini/gol.gif width=15 height=15 border=0>declaratii de avere","pagini/declaratii_avere.php",,"Declaratii de avere",0
		])

	addmenu(menu=["imagini",
	,,60,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"<img src=imagini/gol.gif width=15 height=15 border=0>noi", "#",,,0
	,"<img src=imagini/gol.gif width=15 height=15 border=0>vechi", "#",,,0
	])
	

dumpmenus()
