function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
  FW_startTimeout();
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments;
   
  document.MM_sr=new Array; 
  for(i=0;i<(a.length-2);i+=3)
  	if ((x=MM_findObj(a[i]))!=null)
   	{
   		document.MM_sr[j++]=x; 
   		if(!x.oSrc) 
   			x.oSrc=x.src; 
   		x.src=a[i+2];
   	}

   	if (x.src == "http://www.otl-upt.com/Template/Images/Drivers%20-%20Nav%20Button.png")
		FW_showMenu(window.DriverNavButton,241,102,null,null);
	if (x.src == "http://www.otl-upt.com/Template/Images/Customers%20-%20Nav%20Button.png")
		FW_showMenu(window.CustomerNavButton,241,209,null,null);
	if (x.src == "http://www.otl-upt.com/Template/Images/Employees%20-%20Nav%20Button.png")
		FW_showMenu(window.EmployeeNavButton,241,316,null,null);
	if (x.src == "http://www.otl-upt.com/Template/Images/About%20Us%20-%20Nav%20Button.png")
		FW_showMenu(window.AboutUsNavButton,241,423,null,null);
	if (x.src == "http://www.otl-upt.com/Template/Images/News&Features%20-%20Nav%20Button.png")
		FW_showMenu(window.NewsFeaturesNavButton,241,530,null,null);
}

function fwLoadMenus() {
    if (window.DriverNavButton) return;
    window.DriverNavButton = new Menu("root",250,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#ffffff","#000000","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
    DriverNavButton.addMenuItem("Apply&nbsp;Online", "location='https://intelliapp.driverapponline.com/c/oktank '");
	DriverNavButton.addMenuItem("Company&nbsp;Driver&nbsp;Opportunities","location='http://www.otl-upt.com/Drivers/CompanyDriverOpportunities.htm'");
  	DriverNavButton.addMenuItem("Owner&nbsp;Operator&nbsp;Opportunities","location='http://www.otl-upt.com/Drivers/OwnerOperatorOpportunities.htm'");
	DriverNavButton.addMenuItem("What Do Our Drivers Say?","location='http://www.otl-upt.com/Drivers/Testimonials/Index.htm'");  	
	DriverNavButton.addMenuItem("Locations","location='http://www.otl-upt.com/Locations/Index.htm'");
  	DriverNavButton.addMenuItem("Equipment","location='http://www.otl-upt.com/Equipment.htm'");
  	DriverNavButton.addMenuItem("What Every Driver Should Know","location='http://www.otl-upt.com/Drivers/Know/Index.htm'");
  	DriverNavButton.addMenuItem("Online Training Center","location='http://www.otl-upt.com/Training/Index.htm'"); 
  	DriverNavButton.hideOnMouseOut=true;
   	DriverNavButton.menuBorder=1;
   	DriverNavButton.menuLiteBgColor='#ffffff';
   	DriverNavButton.menuBorderBgColor='#555555';
   	DriverNavButton.bgColor='#555555';

    if (window.CustomerNavButton) return;
   	window.CustomerNavButton = new Menu("root",280,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#ffffff","#000000","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
	CustomerNavButton.addMenuItem("Benefits&nbsp;of&nbsp;Using&nbsp;OTL-UPT","location='http://www.otl-upt.com/Customers/Benefits.htm'");
 	CustomerNavButton.addMenuItem("Customer&nbsp;Service&nbsp;Center&nbsp;Locations","location='http://www.otl-upt.com/Locations/Index.htm'");
 	CustomerNavButton.addMenuItem("About&nbsp;Our&nbsp;Equipment","location='http://www.otl-upt.com/Equipment.htm'");
 	CustomerNavButton.addMenuItem("'Tank&nbsp;Talk'&nbsp;Newsletter","location='http://www.otl-upt.com/News%20&%20Features/Newsletter.pdf'");
  	CustomerNavButton.addMenuItem("Current&nbsp;Fuel&nbsp;Surcharge&nbsp;Information","location='http://www.otl-upt.com/Customers/Surcharge.htm'");
  	CustomerNavButton.addMenuItem("Request&nbsp;More&nbsp;Information","location='http://www.otl-upt.com/Customers/Brochure.htm'");
  	CustomerNavButton.addMenuItem("Customer&nbsp;information&nbsp;Login","location='http://www.otl-upt.com/Customers/SecureAccess/Index.htm'");
   	CustomerNavButton.hideOnMouseOut=true;
   	CustomerNavButton.menuBorder=1;
   	CustomerNavButton.menuLiteBgColor='#ffffff';
   	CustomerNavButton.menuBorderBgColor='#555555';
   	CustomerNavButton.bgColor='#555555';

    if (window.EmployeeNavButton) return;
   	window.EmployeeNavButton = new Menu("root",280,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#ffffff","#000000","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
	EmployeeNavButton.addMenuItem("Career&nbsp;Opportunities","location='http://www.otl-upt.com/Employees/CareerOpportunities.htm'");
 	EmployeeNavButton.addMenuItem("Company&nbsp;Apparel&nbsp;Store","location='http://www.otl-upt.p-funlimited.com'");
 	EmployeeNavButton.addMenuItem("'Tank&nbsp;Talk'&nbsp;Newsletter","location='http://www.otl-upt.com/News%20&%20Features/Newsletter.pdf'");
  	EmployeeNavButton.addMenuItem("Health&nbsp;Insurance&nbsp;&&nbsp;Other&nbsp;Benefits","location='http://www.otl-upt.com/Employees/Benefits.htm'");
  	EmployeeNavButton.addMenuItem("Corporate&nbsp;Citrix&nbsp;Login","location='http://okccsg01.otl-upt.com'");
  	EmployeeNavButton.addMenuItem("Employee&nbsp;Directory", "location='http://www.otl-upt.com/EmployeeDirectory.htm'");
  	EmployeeNavButton.addMenuItem("Corporate&nbsp;Webmail", "location='https://webmail.otl-upt.com'");
  	EmployeeNavButton.addMenuItem("Online Training Center","location='http://www.otl-upt.com/Training/Index.htm'"); 
   	EmployeeNavButton.hideOnMouseOut=true;
   	EmployeeNavButton.menuBorder=1;
   	EmployeeNavButton.menuLiteBgColor='#ffffff';
   	EmployeeNavButton.menuBorderBgColor='#555555';
   	EmployeeNavButton.bgColor='#555555';

    if (window.AboutUsNavButton) return;
   	window.AboutUsNavButton = new Menu("root",280,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#ffffff","#000000","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
	AboutUsNavButton.addMenuItem("Company&nbsp;Overview","location='http://www.otl-upt.com/About Us/CompanyOverview.htm'");
 	AboutUsNavButton.addMenuItem("History","location='http://www.otl-upt.com/About Us/History.htm'");
 	AboutUsNavButton.addMenuItem("Vision&nbsp;&&nbsp;Mission&nbsp;Statement","location='http://www.otl-upt.com/About Us/VisionMission.htm'");
  	AboutUsNavButton.addMenuItem("Officers","location='http://www.otl-upt.com/About Us/Officers.htm'");
  	AboutUsNavButton.addMenuItem("Employee&nbsp;Directory","location='http://www.otl-upt.com/EmployeeDirectory.htm'");
  	AboutUsNavButton.addMenuItem("How&nbsp;to&nbsp;Contact&nbsp;Us","location='http://www.otl-upt.com/About Us/ContactUs.htm'");
   	AboutUsNavButton.hideOnMouseOut=true;
   	AboutUsNavButton.menuBorder=1;
   	AboutUsNavButton.menuLiteBgColor='#ffffff';
   	AboutUsNavButton.menuBorderBgColor='#555555';
   	AboutUsNavButton.bgColor='#555555';

    if (window.NewsFeaturesNavButton) return;
   	window.NewsFeaturesNavButton = new Menu("root",280,20,"Verdana, Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#ffffff","#000000","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
	NewsFeaturesNavButton.addMenuItem("Current&nbsp;News&nbsp;&&nbsp;Announcements","location='http://www.otl-upt.com/News%20&%20Features/CurrentNews.htm'");
 	NewsFeaturesNavButton.addMenuItem("'Tank&nbsp;Talk'&nbsp;Newsletter","location='http://www.otl-upt.com/News%20&%20Features/Newsletter.pdf'");
 	NewsFeaturesNavButton.addMenuItem("Industry&nbsp;Links","location='http://www.otl-upt.com/News%20&%20Features/IndustryLinks.htm'");
  	NewsFeaturesNavButton.addMenuItem("Equipment&nbsp;for&nbsp;Sale","location='http://www.otl-upt.com/News%20&%20Features/EquipmentForSale.htm'");
  	NewsFeaturesNavButton.hideOnMouseOut=true;
   	NewsFeaturesNavButton.menuBorder=1;
   	NewsFeaturesNavButton.menuLiteBgColor='#ffffff';
   	NewsFeaturesNavButton.menuBorderBgColor='#555555';
   	NewsFeaturesNavButton.bgColor='#555555';

	CustomerNavButton.writeMenus();

} // fwLoadMenus()