// MENU CONFIGURATION

 



   var locPathName =  location.pathname;

   var listArray =  locPathName.split("/");

   var wDir = "home";

   if(listArray.length > 2 ){wDir = listArray[1];}



   var directories = new Array("products",

	        "educación",

                           "soporte",

                           "clientes",

                            "recursos",

                           "compañía")



   

   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







  	 // absolute coordinates

	var StartTop=47;				// Menu offset x coordinate

	var StartLeft=192;				// Menu offset y coordinate



	// relative coordinates

	//var StartTop=0;				// Menu offset x coordinate

	//var StartLeft=0;				// 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=2;				// 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","/products/","",6,19,96);

		Menu1_1=new Array("rollover:/images/bgMenuArrow_off.gif:/images/bgMenuArrow_on.gif","","",5,20,150);

			Menu1_1_1=new Array("Descripción","/products/fpfamily/index.html","",0,20,170);

			Menu1_1_2=new Array("¿Cuál Edición?","/products/fpfamily/whichedition.html","",0,20,170);

			Menu1_1_3=new Array("XE y Básica","/products/fpfamily/standard.html","",0,20,170);

			Menu1_1_4=new Array("Ilimitada","/products/fpfamily/unlimited.html","",0,20,170);

			Menu1_1_5=new Array("Integrar Forecast Pro","/products/litanddemo/integratingFP.html","",0,20,170);

		Menu1_2=new Array("Literatura y Demos","/products/litanddemo/index.html","",0,20,150);

		Menu1_3=new Array("Opiniones","/products/reviews/index.html","",0,20,150);

		Menu1_4=new Array("FAQ","/products/faq/index.html","",0,20,150);

		Menu1_5=new Array("Hacer Pedido","/products/ordering/index.html","",0,20,150);

		Menu1_6=new Array("Actualice a V5","/products/fpfamily/v5.html","",0,20,150);



Menu2=new Array("rollover:/images/1education_"+imgState[1]+".gif:/images/1education_on.gif","/education/","",3,19,90);

		Menu2_1=new Array("Capacitación","/education/training/index.html","",0,20,130);

		//Menu2_2=new Array("Seminario de Pronósticos","/education/seminars/index.html","",0,20,130);

		Menu2_2=new Array("Forecasting Summit","/education/summit/index.html","",0,20,130);

		Menu2_3=new Array("Eventos","/education/register/index.html","",0,20,130);



Menu3=new Array("rollover:/images/1support_"+imgState[2]+".gif:/images/1support_on.gif","/support/","",4,19,74);

		Menu3_1=new Array("Atualizaciones","/support/updates/index.html","",0,20,130);

		Menu3_2=new Array("Soporte Técnico","/support/tech_support/index.html","",0,20,130);

		Menu3_3=new Array("Registre su Producto","/support/registration/index.html","",0,20,130);

		Menu3_4=new Array("Póliza de Soporte","/support/policies/index.html","",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","/customers/","",2,19,93);

		Menu4_1=new Array("Clientes","/customers/clients.html","",0,20,130);

		Menu4_2=new Array("Testimonios","/customers/testimonials.html","",0,20,130);

		//Menu4_3=new Array("Casos de Estudios","/customers/casestudies.html","",0,20,130);



Menu5=new Array("rollover:/images/1resources_"+imgState[4]+".gif:/images/1resources_on.gif","/resources/","",3,19,91);

		Menu5_1=new Array("Boletín","/resources/trends/index.html","",0,20,130);

		Menu5_2=new Array("Calendario de Eventos","/resources/calendar/index.html","",0,20,130);

		Menu5_3=new Array("Vínculos","/resources/links/index.html","",0,20,130);



Menu6=new Array("rollover:/images/1company_"+imgState[5]+".gif:/images/1company_on.gif","/company/","",5,19,83);

		Menu6_1=new Array("Acerca de BSF","/company/about_us/index.html","",0,20,130);

		Menu6_2=new Array("Distribuidores Internacionales","/company/int_distributors/index.html","",0,20,130);

		Menu6_3=new Array("Socios","/company/partners/index.html","",0,20,150);

		Menu6_4=new Array("Noticias","/company/news/index.html","",0,20,130); 

		Menu6_5=new Array("Empleo","/company/employment/index.html","",0,20,130);