// MENU CONFIGURATION

 



   var locPathName =  location.pathname;

   var listArray =  locPathName.split("/");

   var wDir = "home";

   if(listArray.length > 2 ){wDir = listArray[3];}



   var directories = new Array("produse",

						 "cursuri",

                           "suport",

                           "clienti",

                            "resurse",

                           "companie")



   

   var imgState = new Array(6);

   for(i=0;i<directories.length;i++){

     imgState[i] = "off";

     if(directories[i] == wDir){imgState[i]="on";} 

   }

   



	var NoOffFirstLineMenus=6;			// Number of first level items

	var LowBgColor='#f1f1f1';			// Background color when mouse is not over

	var LowSubBgColor='#f1f1f1';			// Background color when mouse is not over on subs

	var HighBgColor='#f1f1f1';			// Background color when mouse is over

	var HighSubBgColor='#999999';		// Background color when mouse is over on subs

	var FontLowColor='333333';			// Font color when mouse is not over

	var FontSubLowColor='#063c6d';		// Font color subs when mouse is not over

	var FontHighColor='white';			// Font color when mouse is over

	var FontSubHighColor='fcd159';		// Font color subs when mouse is over

	var BorderColor='ffffff';			// Border color

	var BorderSubColor='#666867';		// Border color for subs

	var BorderWidth=1;				// Border width

	var BorderBtwnElmnts=1;			// Border between elements 1 or 0

	var FontFamily="arial,verdana,technical"		// Font family menu items

	var FontSize=9;				// Font size menu items

	var FontBold=0;				// Bold menu items 1 or 0

	var FontItalic=0;				// Italic menu items 1 or 0

	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'

	var MenuCentered='left';			// Menu horizontal position 'left', 'center' or 'right'

	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static

	var ChildOverlap=.1;				// horizontal overlap child/ parent

	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent

	var dmObjectsCheck=1;





  	 // absolute coordinates

	var StartTop=65;				// Menu offset x coordinate

	var StartLeft=29;				// Menu offset y coordinate




	var VerCorrect=0;				// Multiple frames y correction

	var HorCorrect=0;				// Multiple frames x correction

	var LeftPaddng=3;				// Left padding

	var TopPaddng=0;				// Top padding

	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL

	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0

	var DissapearDelay=500;			// delay before menu folds in

	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame

	var FirstLineFrame='navig';			// Frame where first level appears

	var SecLineFrame='space';			// Frame where sub levels appear

	var DocTargetFrame='space';			// Frame where target documents appear

	//var TargetLoc='rMenu';			// span id for relative positioning

	var TargetLoc='';				// span id for relative positioning

	var HideTop=0;				// Hide first level when loading new document 1 or 0

	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0

	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0

	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover

	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0

	var ShowArrow=1;				// Uses arrow gifs when 1

	var KeepHilite=1;				// Keep selected path highligthed

	var Arrws=['/images/spc.gif',8,9,'/images/spc.gif',8,9,'/images/spc.gif',8,9];// Arrow source, width and height



function BeforeStart(){return}

function AfterBuild(){return}

function BeforeFirstOpen(){return}

function AfterCloseAll(){return}









// Menu tree

//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);

//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"




Menu1=new Array("rollover:images/1products_"+imgState[0]+".gif:images/1products_on.gif","","",4,19,96);

		Menu1_1=new Array("rollover:images/bgMenuArrow_off.gif:images/bgMenuArrow_on.gif","","",5,20,150);

			Menu1_1_1=new Array("General","produse/index.php?idp=1","",0,20,170);

			Menu1_1_2=new Array("Alege Editia","produse/index.php?idp=2","",0,20,170);

			Menu1_1_3=new Array("XE & Basic","produse/index.php?idp=3","",0,20,170);

			Menu1_1_4=new Array("Unlimited","produse/index.php?idp=4","",0,20,170);

			Menu1_1_5=new Array("Integrare Forecast Pro","produse/index.php?idp=5","",0,20,170);

		Menu1_2=new Array("Literatura & Demo","produse/index.php?idp=6","",0,20,150);

		Menu1_3=new Array("FAQ","produse/index.php?idp=7","",0,20,150);

		Menu1_4=new Array("Comanda","produse/index.php?idp=8","",0,20,150);

		//Menu1_5=new Array("V5 Upgrade Central","/v5.html","",0,20,150);



Menu2=new Array("rollover:images/1education_"+imgState[1]+".gif:images/1education_on.gif","","",1,19,90);

		Menu2_1=new Array("Forecast Pro Training","cursuri/index.php?idp=13","",0,20,130);

		//Menu2_2=new Array("Forecasting Education","/education/seminars/index.html","",0,20,130);

	  //Menu2_2=new Array("Forecasting Cursuri","education/summit/index.html","",0,20,130);

	 //Menu2_3=new Array("Inregistrare Eveniment","education/register/index.html","",0,20,130);



Menu3=new Array("rollover:images/1support_"+imgState[2]+".gif:images/1support_on.gif","","",4,19,74);

		Menu3_1=new Array("Update","suport/index.php?idp=9","",0,20,130);

		Menu3_2=new Array("Inregistrare Produs","suport/index.php?idp=10","",0,20,130);

		Menu3_3=new Array("Suport Tehnic","suport/index.php?idp=11","",0,20,130);

		Menu3_4=new Array("Politica de Suport","suport/index.php?idp=12","",0,20,130);


		//Menu3_5=new Array("FAQ","/support/faq/index.html","",0,20,130);



Menu4=new Array("rollover:images/1customers_"+imgState[3]+".gif:images/1customers_on.gif","","",3,19,93);

		Menu4_1=new Array("Lista Clienti","clienti/index.php?idp=14","",0,20,130);

		Menu4_2=new Array("Impresii","clienti/index.php?idp=15","",0,20,130);

		Menu4_3=new Array("Povestiri de Succes","clienti/index.php?idp=16","",0,20,130);



Menu5=new Array("rollover:images/1resources_"+imgState[4]+".gif:images/1resources_on.gif","","",3,19,91);

		Menu5_1=new Array("Trends Newsletter","resurse/index.php?idp=17","",0,20,130);

		Menu5_2=new Array("Calendar Evenimente","resurse/index.php?idp=18","",0,20,130);

		Menu5_3=new Array("Links","resurse/index.php?idp=19","",0,20,130);



Menu6=new Array("rollover:images/1company_"+imgState[5]+".gif:images/1company_on.gif","","",5,19,83);

		Menu6_1=new Array("Despre noi","companie/index.php?idp=20","",0,20,130);

		Menu6_2=new Array("Parteneri","companie/index.php?idp=21","",0,20,130);

		Menu6_3=new Array("BFS","companie/index.php?idp=22","",0,20,150);

		Menu6_4=new Array("News","companie/index.php?idp=23","",0,20,130); 

		Menu6_5=new Array("Angajari","companie/index.php?idp=24","",0,20,130);
