/*----------------------------------------------------------------------
//	Web Object:		nav.js
//	Date:			?/04/2003
//	Author:			TransitID
//
//	Description:	Builds DHTML menus for corporate site 
//
// Modification History:
// By Who:               Date changed:		Change Description:
// Dan Johnson			05/12/03			Changed href reference to fleet-tools-metro.shtml 
//											to fleet-tools-metro.html. 
// FW Sargent                   07/26/2006      Add check for ---Choose Provinces---
// 
------------------------------------------------------------------------*/
function goGet(arg1){
window.open(arg1,"newWin");
self.close();
}

function checkMandatory() {
	var eles = document.frmContact.elements;
	var error_string = "";
	for(var i = 0; i < eles.length; i++) {
	if(eles[i].id.substring(0, 3) == 'req') {
		var temp = eles[i];
		if(temp.type == 'text') {
			if(temp.value == "") {
        			error_string += ("The " + temp.name + " field is required.\n");
        			temp.focus();
    			}
		}
		if(temp.type == 'select-one') {				
			if(checkSelectedIndex(temp.id) == false) {
				error_string += ("A selection form the " + temp.name + " drop down is required.\n");
			}				
		}
	}
	}
	if(error_string == "") {
        	return true;
    	} else {
        	error_string = "You must answer the following questions to proceed: \n" + error_string;
        	alert(error_string);
        	return false;
    	}
}

function setReimbursement(method)
	{
		document.FuelSave.action = "fuelsavecalc.cfm?ReimburseMethod=" + method;
		document.FuelSave.method = "post";
		document.FuelSave.submit();
}

function checkForm(form)
{	
	if (form.FuelSite.checked == false && form.ServiceSite.checked == false) {
		alert("Please select Fuel and/or Service sites.");
			form.FuelSite.focus();
			return false;	
	}
	if	(form.zip.value != "") 
	{
		if	(form.zip.value.length < 4)
			{	
			alert("Please enter a 5 OR 9 digit zip code for US or a 6 digit zip code for Canada.");
			form.zip.focus();
			form.zip.select();
			return false;
			}
	}
//added ---Choose State--- instead of "" dj 05/07/03
	if ((form.States.value == "---Choose State---" || form.States.value == "---Choose Province---") &&
		(form.SiteName.value == "") &&
		(form.zip.value == "") &&
		(form.city.value == "") &&
		(form.OIL.value != "")) 
	{		

		var msg = "\nBy searching only on Brand Name,\n" + 
		 		  "all listings in the US and Canada will be retrieved.\n\n" +
				   "Do you wish to continue?";
		if(confirm(msg))
		{
			form.submit();
		}
		else
		{
			alert("Try selecting a State or Province, entering a Zip Code, or entering\n" + 
				  "a City Name as well as a Brand Name to narrow your search.\n");
			return false;
		}		
	}

//added ---Choose State--- instead of "" dj 05/07/03
	if ((form.States.value == "---Choose State---" || form.States.value == "---Choose Province---") &&
		(form.SiteName.value == "") &&
		(form.zip.value == "") &&
		(form.city.value == "") &&
		(form.OIL.value == "")) 
	{		
		alert("You must enter additional criteria to narrow your search.\n" +
		"Please enter a brand, state, city or zip code.");
		return false;
	}
	form.submit();
}

function turnOn(imageName) {
  if (document.images) {
    document[imageName].src = eval(imageName + "on.src");
  }
}

function turnOff(imageName) {
  if (document.images) {
    document[imageName].src = eval(imageName + "off.src");
  }
}

function selectIndType(){
	if (document.frm_supplier_search.ServiceSite.checked == true){
		document.frm_supplier_search.industry_nm.selectedIndex = 0;
	}
	else {
		document.frm_supplier_search.industry_nm.selectedIndex = -1;
	}
}

function LoadApp (url) {
	window.open (url, "comment", "width=660,height=600,screenX=20,screenY=100,left=100,right=100,resizable=no,status=no,menubar=yes,toolbar=no,scrollbars=yes");
}

function PopWaitWindow()
{
	var mywin = open ("AlertWindow.html", "comment", "width=300,height=200, resizable=no,status=no,menubar=no,toolbar=no,scrollbars=no");	
//		mywin.move();
//		mywin.setInterval(x=1,70000);
//		mywin.close();
}

function PopUp (url) {
	window.open (url, "comment", "width=500,height=480,screenX=100,screenY=40,left=100,right=100,resizable=yes,status=no,toolbar=yes,scrollbars=yes");
}

function checkSelectedIndex(selector) {
	var ele = document.getElementById(selector);
	if(ele.options.selectedIndex == 0 || ele.options.selectedIndex.value == "") {
		return false;
	}
}

function MM_preloadImages() { //v3.0
   var later = new Date();
   var expDate = new Date();
  
   expDate.setMonth(later.getMonth()+12);
  
   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];
        }
    }
 
    //if the user came from the portal set the portal cookie-expires in one year
    //the portal cookie is used to redirect the user to the portal
    //if they click on myPage
     plog = location.search;
     //alert(plog);
 
    if(plog.substr(8,6) == "portal"){
      document.cookie = "wexsource=portal;PATH=/;EXPIRES="+ expDate.toGMTString();
     }
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function hidem(arg1){
	for(i=0;i<=5;i++){
		if(i!=arg1){
		MM_showHideLayers('Layer'+i,'','hide')
	}else{
		MM_showHideLayers('Layer'+i,'','show')
		MM_showHideLayers('Layer0','','show')
		}
	}
}

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;
}

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];}
}

function centerWin (url,winName) {
	screenWidth = 430;
	screenHeight = 285;
	var xPos = (screen.width - screenWidth)/2;
    var yPos = (screen.height - screenHeight)/2;
	WinProperties = 'height=' + screenHeight +',width=' + screenWidth;
    WinProperties += ',titlebar=no,menubar=no,scrollbars=no,status=no,resizable=no,location=no,directories=no';
    WinProperties += ',left=' + xPos + ',top=' + yPos;
	window.open (url, winName, WinProperties);
}

function portalCookieExists(){
	var regex = /wexsource=portal/;
	var chips = document.cookie;
	var chipsArray = chips.split(";");
	//alert(chips);
	for(i=0;i<chipsArray.length;i++){
		if(regex.test(chipsArray[i])){
			return true;
		}
	}
	return false;
}

function go(){
	var loc = getHost();
	if(document.radioBut.setUp[0].checked == true){
		document.radioBut.action = loc + "/ecom/enroll/DrvAcct.jsp?source=corp"
		document.radioBut.submit();
	}else if(document.radioBut.setUp[1].checked == true){
		location.href = "http://www.fleetenrollment.com";
	}else if(document.radioBut.setUp[2].checked == true){
		document.radioBut.action = loc +"/ecom/enroll/MerchAccCD.jsp?source=corp"
		document.radioBut.submit();
	}else if(document.radioBut.setUp[3].checked == true){		
		document.radioBut.action = loc +"/ecom/enroll/ISpecAccCD.jsp?source=corp"
		document.radioBut.submit();
	}else if(document.radioBut.setUp[4].checked == true){
		document.radioBut.action = loc +"/ecom/enroll/ISpecAccCD.jsp?source=corp"
		document.radioBut.submit();				
	}else{
		alert("Please select a radio button.");
	}
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function sendToPortal(){
	var loc = getHost() + "/ecom/?source=corp";
	location.href = loc;	
}

function forgotPassword(){
	var loc = getHost() + '/ecom/forgotpass/index.jsp';
	centerWin(loc,'Forgot_My_Password');
}

function getHost(){
	var host=window.location.host;
	var loc;
		if(host.search(".80")>0){
		loc="http://dit.wol.ecom.wrightexpress.com/ecom/?source=corp";
	} else if(host.search(".81")>0){
		loc="http://uat.wol.ecom.wrightexpress.com/ecom/?source=corp";	
	} else {
		loc="https://portal.wexonline.com";
	}
		
	return loc;
}

function enroll_submit(){
	var loc = getHost();
	document.enroll.action = loc + "/ecom/enroll/index.jsp"
	document.enroll.submit();
}	

function openPictureWindow_Fever(imageType,imageName,imageWidth,imageHeight,alt,posLeft,posTop) {  // v4.01
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	if (imageType == "swf"){
	newWindow.document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('<param name=movie value=\"'+imageName+'\"><param name=quality value=high>');
	newWindow.document.write('<embed src=\"'+imageName+'\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('</embed></object>');	}else{
	newWindow.document.write('<img src=\"'+imageName+'\" width='+imageWidth+' height='+imageHeight+' alt=\"'+alt+'\">'); 	}
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}

function breadCrumbs(base,delStr,defp,cStyle,tStyle,dStyle,nl) { // by Paul Davis - http://www.kaosweaver.com
loc=window.location.toString();subs=loc.substr(loc.indexOf(base)+base.length+1).split("/");
 document.write('<a href="'+getLoc(subs.length-1)+defp+'" class="'+cStyle+'">Home</a>  '+'<span class="'+dStyle+'">'+delStr+'</span> ');
 a=(loc.indexOf(defp)==-1)?1:2;for (i=0;i<(subs.length-a);i++) { subs[i]=makeCaps(unescape(subs[i]));
 document.write('<a href="'+getLoc(subs.length-i-2)+defp+'" class="'+cStyle+'">'+subs[i]+'</a>  '+'<span class="'+dStyle+'">'+delStr+'</span> ');}
 if (nl==1) document.write("<br>");document.write('<span class="'+tStyle+'">'+document.title+'</span>');
}

function makeCaps(a) {
  g=a.split(' ');for (l=0;l<g.length;l++) g[l]=g[l].toUpperCase().slice(0,1)+g[l].slice(1);
  return g.join(" ");
}

function getLoc(c) {
  var d="";if (c>0) for (k=0;k<c;k++) d=d+"../"; return d;
}

document.write("<div id=\"Layer0\" style=\"position:absolute; left:1px; top:139px; width:805px; height:300px; z-index:0; visibility: hidden\"><a href=\"#\" onMouseOver=\"hidem();\"><img src=\"../images/townBl.gif\" width=\"800\" height=\"600\" border=\"0\"></a>  ");
document.write("       </div> ");
document.write("        ");
document.write("     <div id=\"Layer1\" style=\"position:absolute; left:79px; top:132px; width:173px; height:103px; z-index:1; visibility: hidden\">  ");
document.write("       <table width=\"163\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"grey-top\"> ");
document.write("     <tr valign=\"top\">  ");
document.write("       <td valign=\"top\">  ");
document.write("             <p><a href=\"../WEX/index.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Fleet-Card11','','../images/nav/CardsSubNav_01-ovr.gif',1)\"><img src=\"../images/nav/CardsSubNav_01.gif\" alt=\"Universal Fleet Card11\" name=\"Fleet-Card11\" width=\"163\" height=\"24\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Truck/index.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Heavy-Truck11','','../images/nav/CardsSubNav_02-ovr.gif',1)\"><img src=\"../images/nav/CardsSubNav_02.gif\" alt=\"Heavy Truck Card\" name=\"Heavy-Truck11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../MasterCard/index.html\" target=\"_self\" onMouseOver=\"MM_swapImage('Corporate-MasterCard11','','../images/nav/CardsSubNav_04-ovr.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src=\"../images/nav/CardsSubNav_04.gif\" alt=\"Corporate MasterCard11\" name=\"Corporate-MasterCard11\" width=\"163\" height=\"23\" border=\"0\"></a><br> ");
document.write("               <a href=\"../Business/index.html\" target=\"_self\" onMouseOver=\"MM_swapImage('BusinessCard1','','../images/nav/CardsSubNav_03-ovr.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src=\"../images/nav/CardsSubNav_03.gif\" alt=\"Business Card1\" name=\"BusinessCard1\" width=\"163\" height=\"23\" border=\"0\"></a><br> ");
document.write("           </p> ");
document.write("       </td> ");
document.write("     </tr> ");
document.write("   </table> ");
document.write(" </div> ");
document.write("        ");
document.write("     <div id=\"Layer2\" style=\"position:absolute; left:181px; top:132px; width:170px; height:161px; z-index:2; visibility: hidden\">  ");
document.write("       <table width=\"163\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"grey-top\"> ");
document.write("  ");
document.write("   <tr valign=\"top\">  ");
document.write("     <td valign=\"top\"> ");
document.write("             <p><a href=\"../Brand/index.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Program-Overview111','','../images/nav/BrandSubNav_01-ovr.gif',1)\"><img src=\"../images/nav/BrandSubNav_01.gif\" alt=\"Program-Overview\" name=\"Program-Overview111\" width=\"163\" height=\"24\" border=\"0\" id=\"Program-Overview1\"><br> ");
document.write("               </a><a href=\"../Brand/brand-private.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Private-Label11','','../images/nav/BrandSubNav_02-ovr.gif',1)\"><img src=\"../images/nav/BrandSubNav_02.gif\" alt=\"Private Label\" name=\"Private-Label11\" width=\"163\" height=\"23\" border=\"0\"></a><a href=\"../Brand/index.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Program-Overview11','','../images/nav/BrandSubNav_01-ovr.gif',1)\"><br> ");
document.write("               </a><a href=\"../Brand/brand-cobrand.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('CoBrand11','','../images/nav/BrandSubNav_03-ovr.gif',1)\"><img src=\"../images/nav/BrandSubNav_03.gif\" alt=\"CoBrand\" name=\"CoBrand11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Brand/brand-affinity.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Affinity11','','../images/nav/BrandSubNav_05-ovr.gif',1)\"><img src=\"../images/nav/BrandSubNav_05.gif\" alt=\"Affinity\" name=\"Affinity11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Brand/brand-request.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Request-info11','','../images/nav/BrandSubNav_06-ovr.gif',1)\"><img src=\"../images/nav/BrandSubNav_06.gif\" alt=\"Request More Information\" name=\"Request-info11\" width=\"163\" height=\"23\" border=\"0\"></a></p> ");
document.write("          </td> ");
document.write("   </tr> ");
document.write(" </table> ");
document.write("  ");
document.write(" </div> ");
document.write("        ");
document.write("     <div id=\"Layer3\" style=\"position:absolute; left:283px; top:132px; width:173px; height:200px; z-index:2; visibility: hidden\">  ");
document.write("       <table width=\"163\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"grey-top\"> ");
document.write("  ");
document.write("   <tr valign=\"top\">  ");
document.write("     <td valign=\"top\"> ");
document.write("             <p><a href=\"../Accept/index.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Program-Overview211','','../images/nav/AcceptSubNav_01-ovr.gif',1)\"><img src=\"../images/nav/AcceptSubNav_01.gif\" alt=\"Program Overview\" name=\"Program-Overview211\" width=\"163\" height=\"24\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Accept/accept-fuelmerchants-2.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Set-up11','','../images/nav/AcceptSubNav_02-ovr.gif',1)\"><img src=\"../images/nav/AcceptSubNav_02.gif\" alt=\"Getting Set-up\" name=\"Set-up11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Brand/brand-partner.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Brand11','','../images/nav/AcceptSubNav_03-ovr.gif',1)\"><img src=\"../images/nav/AcceptSubNav_03.gif\" alt=\"Brand With Us\" name=\"Brand11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Accept/accept-fuelmerchants-4.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Tax-Exemption11','','../images/nav/AcceptSubNav_04-ovr.gif',1)\"><img src=\"../images/nav/AcceptSubNav_04.gif\" alt=\"Tax Exemption\" name=\"Tax-Exemption11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Accept/accept-faqs.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('FAQs11','','../images/nav/AcceptSubNav_05-ovr.gif',1)\"><img src=\"../images/nav/AcceptSubNav_05.gif\" alt=\"Frequently Asked Questions\" name=\"FAQs11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../WEX/wex-universal-locations.cfm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Site-Directory11','','../images/nav/AcceptSubNav_06-ovr.gif',1)\"><img src=\"../images/nav/AcceptSubNav_06.gif\" alt=\"Site Directory\" name=\"Site-Directory11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Accept/accept-rebate.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Merchant-Rebate11','','../images/nav/AcceptSubNav_07-ovr.gif',1)\"><img src=\"../images/nav/AcceptSubNav_07.gif\" alt=\"Merchant Rebate Network\" name=\"Merchant-Rebate11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Accept/accept-signs.html\" onMouseOver=\"MM_swapImage('MerchantSigns11','','../images/nav/AcceptSubNav_09-ovr.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"><img src=\"../images/nav/AcceptSubNav_09.gif\" alt=\"Merchant Rebate Network\" name=\"MerchantSigns11\" width=\"163\" height=\"22\" border=\"0\" id=\"MerchantSigns11\"></a></p> ");
document.write("          </td> ");
document.write("   </tr> ");
document.write(" </table> ");
document.write("  ");
document.write("  ");
document.write(" </div> ");
document.write("  ");
document.write("        ");
document.write("     <div id=\"Layer4\" style=\"position:absolute; left:400px; top:132px; width:172px; height:160px; z-index:2; visibility: hidden\">  ");
document.write("       <table width=\"163\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"grey-top\"> ");
document.write("  ");
document.write("     <tr valign=\"top\">  ");
document.write("           <td valign=\"top\">  ");
document.write("             <p><a href=\"../Tools/Fleet-tools-wexonline.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('WEXOnline11','','../images/nav/FleetToolsSubNav_01-ovr.gif',1)\"><img src=\"../images/nav/FleetToolsSubNav_01.gif\" alt=\"WEXOnline\" name=\"WEXOnline11\" width=\"163\" height=\"24\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Tools/Fleet-tools-total.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Features','','../images/nav/TruckSubNav_02-ovr.gif',1)\"><img src=\"../images/nav/TruckSubNav_02.gif\" alt=\"Total Fuel Management\" name=\"Features\" width=\"163\" height=\"23\" border=\"0\"></a><a href=\"../Tools/Fleet-tools-total.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Bulk-Fuel11','','../images/nav/FleetToolsSubNav_02-ovr.gif',1)\"><br> ");
document.write("               </a><a href=\"../Tools/Fleet-tools-index.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('WEXIndex11','','../images/nav/FleetToolsSubNav_03-ovr.gif',1)\"><img src=\"../images/nav/FleetToolsSubNav_03.gif\" alt=\"WEXIndex\" name=\"WEXIndex11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Tools/Fleet-tools-metro.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Metro-Price11','','../images/nav/FleetToolsSubNav_05-ovr.gif',1)\"><img src=\"../images/nav/FleetToolsSubNav_05.gif\" alt=\"Top Metro Fuel Price\" name=\"Metro-Price11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Tools/Fleet-tools-mapping.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Fuel-Mapping11','','../images/nav/FleetToolsSubNav_06-ovr.gif',1)\"><img src=\"../images/nav/FleetToolsSubNav_06.gif\" alt=\"Fuel Price Mapping\" name=\"Fuel-Mapping11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../WEX/wex-universal-locations.cfm\" 	onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Loactions','','../images/nav/WEXSubNav_04-ovr.gif',1)\">	<img src=\"../images/nav/WEXSubNav_04.gif\" alt=\"Accepting Locations\" name=\"Loactions\" width=\"163\" height=\"23\" border=\"0\"></a><br>  ");
document.write("               </a><a href=\"../Tools/ServiceNetwork.html\" 		onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Network11','','../images/nav/FleetToolsSubNav_07-ovr.gif',1)\">		<img src=\"../images/nav/FleetToolsSubNav_07.gif\" alt=\"Service Network\" name=\"Network11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../Brand/index.html\"><br> ");
document.write("               </a></p> ");
document.write("       </td> ");
document.write("     </tr> ");
document.write("   </table> ");
document.write(" </div> ");
document.write("        ");
document.write("     <div id=\"Layer5\" style=\"position:absolute; left:482px; top:132px; width:172px; height:160px; z-index:2; visibility: hidden\">  ");
document.write("       <table width=\"163\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"grey-top\"> ");
document.write("    ");
document.write("   <tr valign=\"top\">  ");
document.write("     <td valign=\"top\"> ");
document.write("             <p><a href=\"../About/index.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Our-Story11','','../images/nav/AboutSubnav_01-ovr.gif',1)\"><img src=\"../images/nav/AboutSubnav_01.gif\" alt=\"Our Story\" name=\"Our-Story11\" width=\"163\" height=\"24\" border=\"0\"></a><a href=\"../About/index.html\"><br> ");
document.write("               </a><a href=\"https://www.ultirecruit.com/WRI1001/jobboard/ListJobs.aspx\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Careers11','','../images/nav/AboutSubnav_02-ovr.gif',1)\"><img src=\"../images/nav/AboutSubnav_02.gif\" alt=\"Careers at Wright Express\" name=\"Careers11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../About/corporate-culture.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Corporate-Culture11','','../images/nav/AboutSubnav_03-ovr.gif',1)\"><img src=\"../images/nav/AboutSubnav_03.gif\" alt=\"Corporate Culture\" name=\"Corporate-Culture11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("               </a><a href=\"../About/benefits.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Company-Benefits11','','../images/nav/AboutSubnav_04-ovr.gif',1)\"><img src=\"../images/nav/AboutSubnav_04.gif\" alt=\"Company Benefits\" name=\"Company-Benefits11\" width=\"163\" height=\"23\" border=\"0\"><br> ");
document.write("         </a><a href=\"http://phx.corporate-ir.net/phoenix.zhtml?c=186699&p=irol-news\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('Newsroom11','','../images/nav/AboutSubnav_05-ovr.gif',1)\"><img src=\"../images/nav/AboutSubnav_05.gif\" alt=\"Newsroom\" name=\"Newsroom11\" width=\"163\" height=\"23\" border=\"0\"></a></p></td> ");
document.write("   </tr> ");
document.write(" </table> ");
document.write(" </div> ");