// MENU CONFIGURATION

 



   var locPathName =  location.pathname;

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

   var wDir = "home";

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



   var directories = new Array("products",

	        "education",

                           "support",

                           "customers",

                            "resources",

                           "company",
                           
                           "quick",
                           
                           "demo")



   

   var imgState = new Array(8);

   for(i=0;i<directories.length;i++){

     imgState[i] = "off";

     if(directories[i] == wDir){imgState[i]="on";} 

   }

   



	var NoOffFirstLineMenus=8;			// Number of first level items

	var LowBgColor='#EEEBEB';			// Background color when mouse is not over

	var LowSubBgColor='#EEEBEB';			// 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='#0088CC';			// Font color when mouse is not over

	var FontSubLowColor='#0088CC';		// Font color subs when mouse is not over

	var FontHighColor='white';			// Font color when mouse is over

	var FontSubHighColor='920554';		// Font color subs when mouse is over

	var BorderColor='black';			// Border color

	var BorderSubColor='#666867';		// Border color for subs

	var BorderWidth=0;				// Border width

	var BorderBtwnElmnts=0;			// Border between elements 1 or 0

	var FontFamily="verdana,arial,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='center';			// 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=0;				// Menu offset x coordinate

	//var StartLeft=0;				// Menu offset y coordinate



	// relative coordinates

	var StartTop=95;				// Menu offset x coordinate

	var StartLeft=-6;				// 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=['http://www.forecastpro.com/images/spc.gif',8,9,'http://www.forecastpro.com/images/spc.gif',8,9,'http://www.forecastpro.com/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/Products_off.jpg:../../images/Products_on.jpg","","../../images/Products_off.jpg",4,26,114);

		Menu1_1=new Array("Forecast Pro Overview","","../../images/bgMenuArrow_tr.gif",7,20,170);

			Menu1_1_1=new Array("Overview","../../products/overview/index.htm","",0,20,170);

			Menu1_1_2=new Array("Which Edition","../../products/overview/which.htm","",0,20,170);

			Menu1_1_3=new Array("TRAC","../../products/overview/TRAC.htm","",0,20,170);

			Menu1_1_4=new Array("Unlimited","../../products/overview/unlimited.htm","",0,20,170);

			Menu1_1_5=new Array("XE","../../products/overview/XE.htm","",0,20,170);

			Menu1_1_6=new Array("Forecasting Methodology","../../products/overview/method.htm","",0,20,170);

			Menu1_1_7=new Array("Integrating Forecast Pro","../../products/overview/integrating.htm","",0,20,170);

		Menu1_2=new Array("Literature & Demos","../../products/litdemos/index.htm","",0,20,170);

		Menu1_3=new Array("FAQ","../../products/faq/index.htm","",0,20,170);

		Menu1_4=new Array("Order","../../products/order/index.htm","",0,20,170);



Menu2=new Array("rollover:../../images/Education_off.jpg:../../images/Education_on.jpg","","../../images/Education_off.jpg",5,26,118);

		Menu2_1=new Array("Education Overview","../../education/overview/index.htm","",0,20,200);

		Menu2_2=new Array("Forecast Pro Public Training","../../education/training/index.htm","",0,20,200);

		Menu2_3=new Array("Consulting & Custom Training","../../education/consulting/index.htm","",0,20,200);

		Menu2_4=new Array("Business Forecasting Seminar","../../education/seminar/index.htm","",0,20,200);

		Menu2_5=new Array("Register for an Event","../../education/register/index.htm","",0,20,200);



Menu3=new Array("rollover:../../images/Support_off.jpg:../../images/Support_on.jpg","","../../images/Support_off.jpg",4,26,104);

		Menu3_1=new Array("Updates","../../support/updates/index.htm","",0,20,160);

		Menu3_2=new Array("Product Registration","../../support/registration/index.htm","",0,20,160);

		Menu3_3=new Array("Tech Support","../../support/tech_support/index.htm","",0,20,160);

		Menu3_4=new Array("Support Policies","../../support/policies/index.htm","",0,20,160);



Menu4=new Array("rollover:../../images/Customer_off.jpg:../../images/Customer_on.jpg","","../../images/Customer_off.jpg",2,26,123);

		Menu4_1=new Array("Client List","../../customers/client/index.htm","",0,20,130);

		//Menu4_2=new Array("Testimonials","../../customers/testimonials/index.htm","",0,20,130);

		Menu4_2=new Array("Success Stories","../../customers/success/index.htm","",0,20,130);



Menu5=new Array("rollover:../../images/Resources_off.jpg:../../images/Resources_on.jpg","","../../images/Resources_off.jpg",2,26,123);

		Menu5_1=new Array("Trends Newsletter","../../resources/trends/index.htm","",0,20,130);

		Menu5_2=new Array("Links","../../resources/links/index.htm","",0,20,130);



Menu6=new Array("rollover:../../images/Company_off.jpg:../../images/Company_on.jpg","","../../images/Company_off.jpg",4,26,108);

		Menu6_1=new Array("About Us","../../company/about/index.htm","",0,20,130);

		Menu6_2=new Array("Int'l Distributors","../../company/international/index.htm","",0,20,130);

		Menu6_3=new Array("Partner Solutions","../../company/partners/index.htm","",0,20,150);

		Menu6_4=new Array("Contact Us","../../company/contact/index.htm","",0,20,150);


Menu7=new Array("rollover:../../images/QuickTour_off.jpg:../../images/QuickTour_on.jpg","../../videos/overviewvideo.htm","../../images/QuickTour_off.jpg",0,26,122);

Menu8=new Array("rollover:../../images/DemoDownload_off.jpg:../../images/DemoDownload_on.jpg","../../products/litdemos/demodownload.htm","../../images/DemoDownload_off.jpg",0,26,164);
