var menuList  = new Array(); //Create an array of all links in section
//ID, Name, path, target, newWindow ,level, parentID
var queryString=document.location.search;
//if(queryString.length>0){
  var prPath=document.location.pathname;
  queryString = queryString.substr(1);
  var queryVar = queryString.split("=");
  var menuString, custString;
  //alert("menuString: " + menuString + "\ncustString: " + custString);
  // Conditional statement checking if page have a "cs" argument indicating
   // Displays casestudy 4th level link if a case study has been selected.
   // Example www.ups-scs.com/about/press.html?pr=true

  	if(queryVar[0]== "cs"){
	  custString="40|Case Study|" + prPath + "||0|3|39";


menuList[0]="1|Solutions|/solutions/index.html||0|1|0";

menuList[1]="2|Small Business Loans|/solutions/sbl_main.html||0|2|1";
	menuList[2]="3|SBA 7(A) Program|/solutions/sbl_7A.html||0|3|2";
	menuList[3]="4|SBA 504 Program|/solutions/sbl_504.html||0|3|2";
	menuList[4]="5|SBA Loans for Professionals|/solutions/sbl_pros.html||0|3|2"; 
	menuList[5]="6|Franchise Financing|/solutions/sbl_franchise.html||0|3|2";
	menuList[6]="7|Business Acquisitions|/solutions/sbl_acquisitions.html||0|3|2";
	menuList[7]="8|Commercial Construction Loans|/solutions/sbl_construction.html||0|3|2"; 
	menuList[8]="9|Commercial Real Estate Loans|/solutions/sbl_mortgage.html||0|3|2";
	menuList[9]="10|Financing for Women Owned Business|/solutions/diversity.html||0|3|2";
	menuList[10]="11|SBA Loan Application|/solutions/sblapplication.html||0|3|2"; 
menuList[11]="12|C.O.D. Enhancement Services|/solutions/cod_enhancement.html||0|2|1";
	menuList[12]="13|C.O.D. Automatic|/solutions/cod_auto.html||0|3|12";
	menuList[13]="14|C.O.D. Secure|/solutions/cod_secure.html||0|3|12";
menuList[14]="15|Insurance Solutions|/solutions/insurance.html||0|2|1";	
	menuList[15]="16|Cargo Insurance|/solutions/cargo_insurance.html||0|3|15";
	menuList[16]="17|Credit Insurance|/solutions/credit_insurance.html||0|3|15";
	menuList[17]="18|Small Business Insurance|/solutions/sbi.html||0|3|15";
	menuList[18]="19|Flexible Parcel|/solutions/flexible_parcel.html||0|3|15";
		menuList[19]="20|General Concerns|/solutions/concerns.html||0|4|19";
		menuList[20]="21|Billing|/solutions/billing.html||0|4|19";
		menuList[21]="22|Claims|javascript:popWindow('http://scsmail.ups-scs.com/InternetForms/capital/flex_claim.aspx','',550,500,1);|0|4|19";		
menuList[22]="23|Commercial Finance|/solutions/commercial.html||0|2|1";	
	menuList[23]="24|Asset-based Loans|/solutions/asset_based.html||0|3|23";
	menuList[24]="25|Equipment Leasing|/solutions/leasing.html||0|3|23";	
menuList[25]="26|Credit Card Services|/solutions/creditcardsvc.html||0|2|1";		
	menuList[26]="27|UPS Capital VisaŽ Business Rewards Card|/solutions/visa_card.html||0|3|26";
	menuList[27]="28|UPS Capital Merchant Services|/solutions/merchant.html||0|3|26";	
menuList[28]="29|Global Supply Chain Finance|/solutions/gscf.html||0|2|1";		
	menuList[29]="30|Payables Discounting|/solutions/payables.html||0|3|29";
	menuList[30]="31|Receivables Management Services|/solutions/receivables.html||0|3|29";
	menuList[31]="32|UPS Capital Cargo Finance|/solutions/cargo_finance.html||0|3|29";
	menuList[32]="33|Global Asset Based Lending|/solutions/gabl.html||0|3|29";	
	menuList[33]="34|Export Credit Agency Financing|/solutions/export_credit.html||0|3|29";
menuList[34]="35|Case Studies|/solutions/casestudies.html||0|2|1";
	menuList[35]=custString;

  	} else {

menuList[0]="1|Solutions|/solutions/index.html||0|1|0";

menuList[1]="2|Small Business Loans|/solutions/sbl_main.html||0|2|1";
	menuList[2]="3|SBA 7(A) Program|/solutions/sbl_7A.html||0|3|2";
	menuList[3]="4|SBA 504 Program|/solutions/sbl_504.html||0|3|2";
	menuList[4]="5|SBA Loans for Professionals|/solutions/sbl_pros.html||0|3|2"; 
	menuList[5]="6|Franchise Financing|/solutions/sbl_franchise.html||0|3|2";
	menuList[6]="7|Business Acquisitions|/solutions/sbl_acquisitions.html||0|3|2";
	menuList[7]="8|Commercial Construction Loans|/solutions/sbl_construction.html||0|3|2"; 
	menuList[8]="9|Commercial Real Estate Loans|/solutions/sbl_mortgage.html||0|3|2";
	menuList[9]="10|Financing for Women Owned Business|/solutions/diversity.html||0|3|2";
	menuList[10]="11|SBA Loan Application|/solutions/sblapplication.html||0|3|2"; 
menuList[11]="12|C.O.D. Enhancement Services|/solutions/cod_enhancement.html||0|2|1";
	menuList[12]="13|C.O.D. Automatic|/solutions/cod_auto.html||0|3|12";
	menuList[13]="14|C.O.D. Secure|/solutions/cod_secure.html||0|3|12";
menuList[14]="15|Insurance Solutions|/solutions/insurance.html||0|2|1";	
	menuList[15]="16|Cargo Insurance|/solutions/cargo_insurance.html||0|3|15";
	menuList[16]="17|Credit Insurance|/solutions/credit_insurance.html||0|3|15";
	menuList[17]="18|Small Business Insurance|/solutions/sbi.html||0|3|15";
	menuList[18]="19|Flexible Parcel|/solutions/flexible_parcel.html||0|3|15";
		menuList[19]="20|General Concerns|/solutions/concerns.html||0|4|19";
		menuList[20]="21|Billing|/solutions/billing.html||0|4|19";
		menuList[21]="22|Claims|javascript:popWindow('http://scsmail.ups-scs.com/InternetForms/capital/flex_claim.aspx','',550,500,1);|0|4|19";		
menuList[22]="23|Commercial Finance|/solutions/commercial.html||0|2|1";	
	menuList[23]="24|Asset-based Loans|/solutions/asset_based.html||0|3|23";
menuList[24]="25|Credit Card Services|/solutions/creditcardsvc.html||0|2|1";		
	menuList[25]="26|UPS Capital VisaŽ Business Rewards Card|/solutions/visa_card.html||0|3|26";
	menuList[26]="27|UPS Capital Merchant Services|/solutions/merchant.html||0|3|26";	
menuList[27]="28|Global Supply Chain Finance|/solutions/gscf.html||0|2|1";		
	menuList[28]="29|Payables Discounting|/solutions/payables.html||0|3|29";
	menuList[29]="30|Receivables Management Services|/solutions/receivables.html||0|3|29";
	menuList[30]="31|UPS Capital Cargo Finance|/solutions/cargo_finance.html||0|3|29";
	menuList[31]="32|Global Asset Based Lending|/solutions/gabl.html||0|3|29";	
	menuList[32]="33|Export Credit Agency Financing|/solutions/export_credit.html||0|3|29";
menuList[33]="34|Case Studies|/solutions/casestudies.html||0|2|1"; 




  
  }