// JavaScript Document
//
// The Consumer Menu
var firstConsumerArr = new Array();
	firstConsumerArr[0] = ['Retail Marketing','http://www.sunocoinc.com/site/Consumer/RetailMarketing/','subCPSgas'];
	firstConsumerArr[1] = ['APlus&reg; Convenience Stores','http://www.sunocoinc.com/site/Consumer/APlus/','subCPSplus'];
	firstConsumerArr[2] = ['Ultra Service Centers','http://www.sunocoinc.com/site/Consumer/UltraServiceCenters/','subCPSultra'];
	firstConsumerArr[3] = ['Home Heating Fuels & Comfort Services','http://www.sunocoinc.com/site/Consumer/HomeHeatingFuels/','subCPSheat'];
	firstConsumerArr[4] = ['Race Fuels','http://www.sunocoinc.com/site/Consumer/RaceFuels/','subCPSRaceFuel'];
	firstConsumerArr[5] = ['NASCAR&reg;','http://www.sunocoinc.com/site/Consumer/NASCAR/','subCPSrace'];
//
var subCPSgasArr = new Array();
//	subCPSgasArr[0] = ['Promotions','http://www.sunocoinc.com/site/Consumer/RetailMarketing/Promotions.aspx'];
	subCPSgasArr[0] = ['Promotions','http://www.gosunoco.com/promotions.aspx?subBrand=sunoco'];
//	subCPSgasArr[1] = ['Advertising','http://www.sunocoinc.com/site/Consumer/RetailMarketing/Advertising.htm'];
	subCPSgasArr[1] = ['Advertising','http://www.gosunoco.com/advertising.aspx'];
//	subCPSgasArr[2] = ['Products','http://www.sunocoinc.com/site/Consumer/RetailMarketing/Products.aspx'];
	subCPSgasArr[2] = ['Products','http://www.gosunoco.com/products.aspx'];
	subCPSgasArr[3] = ['Sunoco Gear','https://secure.sureshiponline.com/sunoco/'];
//	subCPSgasArr[4] = ['Gasoline Facts & Tips','http://www.sunocoinc.com/site/Consumer/RetailMarketing/GasolineFacts.htm'];
	subCPSgasArr[4] = ['Gasoline Facts & Tips','http://www.gosunoco.com/gas-facts-and-tips.aspx'];
	subCPSgasArr[5] = ['Vendor Solicitation - Marketing','http://www.sunocoinc.com/site/Consumer/RetailMarketing/VendorSolicitation.htm'];
	subCPSgasArr[6] = ['How to Become a Sunoco Dealer or Distributor','http://www.sunocoinc.com/site/Consumer/RetailMarketing/How+to+Become+a+Dealer+Distributor.htm'];	
//	subCPSgasArr[7] = ['FAQs','http://www.sunocoinc.com/site/Consumer/RetailMarketing/FAQs.htm'];	
	subCPSgasArr[7] = ['Apply for a Credit Card','http://www.sunocoinc.com/site/Consumer/ApplyforaCreditCard.htm'];
//
var subCPSplusArr = new Array();
//	subCPSplusArr[0] = ['Promotions','http://www.sunocoinc.com/site/Consumer/APlus/Promotions.htm'];
//	subCPSplusArr[1] = ['Products','http://www.sunocoinc.com/site/Consumer/APlus/Products.htm'];
//	subCPSplusArr[2] = ['Services','http://www.sunocoinc.com/site/Consumer/APlus/Services.htm'];
//	//subCPSplusArr[3] = ['Franchise Information','http://www.sunocoinc.com/site/Consumer/APlus/FranchiseInformation.htm'];
//	subCPSplusArr[3] = ['Vendor Solicitation - APlus','http://www.sunocoinc.com/site/Consumer/APlus/VendorSolicitation.htm'];
//	subCPSplusArr[4] = ['Apply for a Credit Card','http://www.sunocoinc.com/site/Consumer/ApplyforaCreditCard.htm'];
//	subCPSplusArr[0] = ['Consumers','http://www.sunocoinc.com/site/Consumer/APlus/Consumers/'];
	subCPSplusArr[0] = ['Consumers','http://www.gosunocoaplus.com/default.aspx'];
	subCPSplusArr[1] = ['Prospective Franchisees','http://www.sunocoinc.com/site/Consumer/APlus/ProspectiveFranchisees/'];
	subCPSplusArr[2] = ['Prospective Vendors','http://www.sunocoinc.com/site/Consumer/APlus/ProspectiveVendors/'];
//
var subCPSultraArr = new Array();
	subCPSultraArr[0] = ['Promotions','http://www.gosunoco.com/promotions.aspx?subBrand=3'];
	subCPSultraArr[1] = ['Products','http://www.sunocoinc.com/site/Consumer/UltraServiceCenters/Products.htm'];
	subCPSultraArr[2] = ['Services','http://www.sunocoinc.com/site/Consumer/UltraServiceCenters/Services.htm'];
	subCPSultraArr[3] = ['Apply for a Credit Card','http://www.sunocoinc.com/site/Consumer/ApplyforaCreditCard.htm'];
//
var subCPSheatArr = new Array();
	subCPSheatArr[0] = ['Promotions','http://www.sunocoinc.com/site/Consumer/HomeHeatingFuels/Promotions.htm'];
	subCPSheatArr[1] = ['Sunoco Home Comfort Services','http://www.sunocoinc.com/site/Consumer/HomeHeatingFuels/HomeComfortServices/Overview.htm'];
	subCPSheatArr[2] = ['Mohawk Home Comfort Services','http://www.sunocoinc.com/site/Consumer/HomeHeatingFuels/Mohawk/Overview.htm'];
	subCPSheatArr[3] = ['Montour Home Comfort Services','http://www.sunocoinc.com/site/Consumer/HomeHeatingFuels/Montour/Overview.htm'];
	subCPSheatArr[4] = ['Apply for a Credit Card','http://www.sunocoinc.com/site/Consumer/HomeHeatingFuels/ApplyforaCreditCard.htm'];
//
var subCPSRaceFuelArr = new Array();
	subCPSRaceFuelArr[0] = ['Traditional Fuels','http://www.sunocoinc.com/site/Consumer/RaceFuels/TraditionalFuels/'];
	subCPSRaceFuelArr[1] = ['Unleaded Fuels','http://www.sunocoinc.com/site/Consumer/RaceFuels/UnleadedFuels/'];
	subCPSRaceFuelArr[2] = ['Custom Fuels','http://www.sunocoinc.com/site/Consumer/RaceFuels/CustomFuels/'];
	subCPSRaceFuelArr[3] = ['Distributor Locator','http://www.sunocoinc.com/site/Consumer/RaceFuels/DistributorMap/'];
	subCPSRaceFuelArr[4] = ['Sunoco 260 GT 100 Locations','http://www.sunocoinc.com/site/Consumer/RaceFuels/260GT100Locations/'];
	subCPSRaceFuelArr[5] = ['Sanctioning Bodies','http://www.sunocoinc.com/site/Consumer/RaceFuels/SanctioningBodies/'];
	subCPSRaceFuelArr[6] = ['Racing Gear','http://www.sunocoinc.com/site/Consumer/RaceFuels/RacingGear/'];
	subCPSRaceFuelArr[7] = ['Contact Race Gas','http://www.sunocoinc.com/site/Consumer/RaceFuels/ContactRaceGas/'];
	subCPSRaceFuelArr[8] = ['News Releases','http://www.sunocoinc.com/site/Consumer/RaceFuels/NewsReleases/'];
	subCPSRaceFuelArr[9] = ['MSDS','http://www.sunocoinc.com/site/msdsRequest/'];

//
var subCPSraceArr = new Array();
//	subCPSraceArr[0] = ['NASCAR&reg; Promotions','http://www.sunocoinc.com/site/Consumer/NASCAR/Promotions.htm'];
	subCPSraceArr[0] = ['NASCAR&reg; Merchandise','https://secure.sureshiponline.com/sunoco/'];
//
//
//
// The Commercial Menu
var firstCommercialArr = new Array();
	firstCommercialArr[0] = ['Race Fuels','http://www.sunocoinc.com/site/Consumer/RaceFuels/',false];
	firstCommercialArr[1] = ['Heating & Transportation Fuels','http://www.sunocoinc.com/site/Commercial/HeatingFuels/',false];
	firstCommercialArr[2] = ['Lubricants &amp; Specialty Products','http://www.sunocolubricants.com',false];
	firstCommercialArr[3] = ['Chemicals','http://www.sunocochemicals.com/',false];
//

//
//
//
//
// The Wholesale Menu
var firstWholesaleArr = new Array();
	firstWholesaleArr[0] = ['Gasoline','http://www.sunocoinc.com/site/Wholesale/Gasoline/',false];
	firstWholesaleArr[1] = ['On Road Diesel &amp; Jet Fuel','http://www.sunocoinc.com/site/Wholesale/OnRoadDiesel_JetFuel/','subWMroad'];
	firstWholesaleArr[2] = ['Heating Oil','http://www.sunocoinc.com/site/Wholesale/HeatingOil/','subWMheat'];	
	firstWholesaleArr[3] = ['Lubricants &amp Specialty Products','http://www.sunocoinc.com/site/Wholesale/Lubricants/',false];
	firstWholesaleArr[4] = ['Doing Business with Refining & Supply','http://www.sunocoinc.com/site/Wholesale/DoingBusiness/',false];
	firstWholesaleArr[5] = ['Management Systems','http://www.sunocoinc.com/site/Wholesale/Management+Systems/',false];
	firstWholesaleArr[6] = ['Aspect Identification Process','http://www.sunocoinc.com/site/Wholesale/Aspect+Identification+Process/',false];
//
var subWMroadArr = new Array();
	subWMroadArr[0] = ['Low Sulfur Diesel','http://www.sunocoinc.com/site/Wholesale/OnRoadDiesel_JetFuel/LSD/'];
	subWMroadArr[1] = ['Jet Fuel','http://www.sunocoinc.com/site/Wholesale/OnRoadDiesel_JetFuel/JetFuel/'];
	subWMroadArr[2] = ['Ultra Low Sulfur Fuels','http://www.sunocoinc.com/site/Wholesale/OnRoadDiesel_JetFuel/UltraLowSulfurFuels/'];
//
var subWMheatArr = new Array();
	subWMheatArr[0] = ['Propane','http://www.sunocoinc.com/site/Wholesale/HeatingOil/Propane/'];
	subWMheatArr[1] = ['Heating Oil','http://www.sunocoinc.com/site/Wholesale/HeatingOil/'];
	subWMheatArr[2] = ['Kerosene','http://www.sunocoinc.com/site/Wholesale/HeatingOil/Kerosene/'];
	subWMheatArr[3] = ['Residual Fuel','http://www.sunocoinc.com/site/Wholesale/HeatingOil/ResidualFuel/'];
//
//
// The Company menus
var firstCompanyArr = new Array();
	firstCompanyArr[0] = ['Our History','http://www.sunocoinc.com/site/TheCompany/OurHistory/',false];
	firstCompanyArr[1] = ['Our Business Units','http://www.sunocoinc.com/site/TheCompany/OurBusinessUnits/','subCObiz'];
	firstCompanyArr[2] = ['Our Social Responsibility','http://www.sunococharitable.com',false];
	firstCompanyArr[3] = ['Our Diverse Workplace','http://www.sunocoinc.com/site/TheCompany/OurDiversity/','subCOdiversity'];
	firstCompanyArr[4] = ['Our Purpose & Commitment','http://www.sunocoinc.com/site/TheCompany/SocialResponsibility/OurPurpose.htm',false];	
//
var subCObizArr = new Array();
	subCObizArr[0] = ['Refining & Supply','http://www.sunocoinc.com/site/TheCompany/OurBusinessUnits/RefiningandSupply/'];
	subCObizArr[1] = ['Retail Marketing','http://www.sunocoinc.com/site/TheCompany/OurBusinessUnits/RetailMarketing/'];
	subCObizArr[2] = ['Chemicals','http://www.sunocoinc.com/site/TheCompany/OurBusinessUnits/Chemicals/'];
	subCObizArr[3] = ['Logistics','http://www.sunocoinc.com/site/TheCompany/OurBusinessUnits/Logistics/'];
	subCObizArr[4] = ['Coke','http://www.sunocoinc.com/site/TheCompany/OurBusinessUnits/Coke/'];
	
	
	
//
var subCOsocialArr = new Array();
	subCOsocialArr[0] = ['Our Purpose & Commitment','http://www.sunocoinc.com/site/TheCompany/SocialResponsibility/OurPurpose.htm'];
	subCOsocialArr[1] = ['Charitable Contributions - Sunoco Inc.','http://www.sunocoinc.com/site/TheCompany/SocialResponsibility/OurContributions.htm'];
	subCOsocialArr[2] = ['The Sunoco Foundation','http://www.sunocoinc.com/site/TheCompany/SocialResponsibility/TheSunocoFoundation.htm'];
//
var subCOdiversityArr = new Array();
	subCOdiversityArr[0] = ['Supplier Diversity','http://www.sunocoinc.com/site/TheCompany/OurDiversity/SupplierDiversity/'];
	subCOdiversityArr[1] = ['Affiliations','http://www.sunocoinc.com/site/TheCompany/OurDiversity/Affiliations.htm'];
//
//
//
// HSE Menus
var firstHSEArr = new Array();
	firstHSEArr[0] = ['Sunoco\'s Principles','http://www.sunocoinc.com/site/HES/HESPrinciples/Overview.htm',false];
//	firstHSEArr[1] = ['Sunoco\'s HES/Ceres Reports','http://www.sunocoinc.com/site/HES/HESCeresReports/Overview.htm','subHSEreports'];
	firstHSEArr[1] = ['Sunoco\'s Corporate Responsibility Reports','http://hesreport.sunocoinc.com/fw/main/Home-770.html',false];
//	firstHSEArr[2] = ['Product Stewardship','http://www.sunocoinc.com/site/HES/ProductStewardship.htm',false];	
	firstHSEArr[2] = ['Product Stewardship','http://www.sunocoinc.com/site/HES/ProductStewardship/','subHSEprodstew'];	
	firstHSEArr[3] = ['MSDS','http://www.sunocoinc.com/site/msdsRequest/',false];
	firstHSEArr[4] = ['Community Advisory Panel (CAPS)','http://www.sunocoinc.com/site/HES/CAPS/',false];
	firstHSEArr[5] = ['Glossary','http://www.sunocoinc.com/site/HES/Glossary/',false];
//
var subHSEreportsArr = new Array(); //currently not needed
	subHSEreportsArr[0] = ['Report Library','http://www.sunocoinc.com/site/HES/HESCeresReports/ReportLibrary.htm']; //currently not needed
//
//
var subHSEprodstewArr = new Array();
	subHSEprodstewArr[0] = ['Our Commitment','http://www.sunocoinc.com/site/HES/ProductStewardship/Our+Commitment.htm'];
	subHSEprodstewArr[1] = ['Outreach','http://www.sunocoinc.com/site/HES/ProductStewardship/Outreach.htm'];
	subHSEprodstewArr[2] = ['Products\, Customers and Transport','http://www.sunocoinc.com/site/HES/ProductStewardship/ProdCustTransport.htm'];
	subHSEprodstewArr[3] = ['Suppliers and Contractors','http://www.sunocoinc.com/site/HES/ProductStewardship/Suppliers+and+Contractors.htm'];
	subHSEprodstewArr[4] = ['Contacts','http://www.sunocoinc.com/site/HES/ProductStewardship/Contacts.htm'];
//
//
// IR menus
var firstIRArr = new Array();
	//firstIRArr[0] = ['IR Home','#',false];
	firstIRArr[0] = ['Stock Information','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-stockQuoteChart','subIRstockinfo'];
	firstIRArr[1] = ['Financial Reports','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-reportsAnnual','subIRfinancials'];
	firstIRArr[2] = ['Corporate Governance','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-govHighlights','subIRgovernance'];
	firstIRArr[3] = ['Management Presentations','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-calendar',false];
	firstIRArr[4] = ['News Releases','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-news&nyo=0',false];
	firstIRArr[5] = ['Buy & Sell Sunoco Stock','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-stockpurchase',false];
	firstIRArr[6] = ['Shareholder FAQs','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-faq',false];
	firstIRArr[7] = ['Key Contacts','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-contact',false];
	firstIRArr[8] = ['Info Request','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-infoReq',false];
//
var subIRstockinfoArr = new Array();
	subIRstockinfoArr[0] = ['Stock Chart','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-stockQuoteChart'];
	subIRstockinfoArr[1] = ['Cash Dividends','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-dividends'];
	subIRstockinfoArr[2] = ['Stock Dividends','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-dividends#stockdiv'];
	subIRstockinfoArr[3] = ['Stock Splits / Distributions','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-dividends#splits'];
	subIRstockinfoArr[4] = ['Historical Price<br />Look-up','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-stockLookup'];
	subIRstockinfoArr[5] = ['Trading Statistics','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-fundTrading'];
//
var subIRfinancialsArr = new Array();
	subIRfinancialsArr[0] = ['Annual Reports & Quarterly Reports','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-reportsAnnual'];
	subIRfinancialsArr[1] = ['Key Financial Statistics','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-keystats'];
	subIRfinancialsArr[2] = ['SEC Filings','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-sec'];
//
var subIRgovernanceArr = new Array();
	subIRgovernanceArr[0] = ['Governance Guidelines','http://phx.corporate-ir.net/External.File?item=UGFyZW50SUQ9MzMxMTJ8Q2hpbGRJRD0tMXxUeXBlPTM=&t=1'];
	subIRgovernanceArr[1] = ['Board of Directors','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-govBoard'];
	subIRgovernanceArr[2] = ['Board Committees','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-govCommComp'];
	subIRgovernanceArr[3] = ['Committee Charters','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-govcommittees'];
	subIRgovernanceArr[4] = ['Principal Officers','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-govManage'];
//	subIRgovernanceArr[5] = ['Code of Business Conduct & Ethics','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-govConduct'];
	subIRgovernanceArr[5] = ['Code of Business Conduct & Ethics','http://media.corporate-ir.net/media_files/irol/99/99437/codeofconduct.pdf'];
	subIRgovernanceArr[6] = ['Insider SEC Filings','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-sec&control_selectgroup=3,4,5'];
	subIRgovernanceArr[7] = ['Proxy Statements','http://phx.corporate-ir.net/phoenix.zhtml?c=99437&p=irol-sec&control_selectgroup=Proxy%20Filings'];
	subIRgovernanceArr[8] = ['2009 Annual Meeting Voting Results','http://phx.corporate-ir.net/External.File?item=UGFyZW50SUQ9NjM3NXxDaGlsZElEPS0xfFR5cGU9Mw==&t=1'];

//

//
//
//
// Jobs menus
var firstCareersArr = new Array();
//	firstCareersArr[0] = ['Recruiting Process','http://www.sunocoinc.com/site/Careers/RecruitingProcess/',false];
//	firstCareersArr[1] = ['University Recruiting','http://www.sunocoinc.com/site/Careers/UniversityRecruiting/','subJOBuniv'];
//	firstCareersArr[2] = ['View Jobs & Apply','https://sunoco.ats.hrsmart.com/','subJOBview'];
//	firstCareersArr[3] = ['Diversity','http://www.sunocoinc.com/site/TheCompany/OurDiversity/',false];
//	firstCareersArr[4] = ['Manage My Profile','https://sunoco.ats.hrsmart.com/cgi-bin/a/mycenter.cgi',false];
//
//	firstCareersArr[0] = ['Why Sunoco?','http://www.sunocoinc.com/site/Careers/WhySunoco/','subJOBview'];
	firstCareersArr[0] = ['Career Center','https://sunoco.ats.hrsmart.com/',false];
	firstCareersArr[1] = ['Recruiting Process','http://www.sunocoinc.com/site/Careers/RecruitingProcess/',false];
	firstCareersArr[2] = ['University Recruiting','http://www.sunocoinc.com/site/Careers/UniversityRecruiting/','subJOBuniv'];


var subJOBunivArr = new Array();
	subJOBunivArr[0] = ['University Recruiting and Interview Schedule','http://www.sunocoinc.com/site/Careers/UniversityRecruiting/RecruitingProcess.htm'];
	subJOBunivArr[1] = ['Disciplines and Qualifications','http://www.sunocoinc.com/site/Careers/UniversityRecruiting/Disciplines%20and%20Qualifications'];
	subJOBunivArr[2] = ['Potential Positions','http://www.sunocoinc.com/site/Careers/UniversityRecruiting/PotentialPositions.htm'];
	subJOBunivArr[3] = ['Location Information','http://www.sunocoinc.com/site/Careers/UniversityRecruiting/Locations'];
	subJOBunivArr[4] = ['Benefits of Working at Sunoco','http://www.sunocoinc.com/site/Careers/UniversityRecruiting/BenefitsofWorkingatSunoco.htm'];	

var subJOBviewArr = new Array();
//	subJOBviewArr[0] = ['Retail Jobs','http://www.sunocoinc.com/site/Careers/RetailJobs/'];
//	subJOBviewArr[1] = ['Refinery Jobs','http://www.sunocoinc.com/site/Careers/RefineryJobs/'];
///	subJOBviewArr[3] = ['Home Comfort Jobs','http://www.sunocoinc.com/site/Careers/HomeComfortJobs/'];
//
	subJOBviewArr[0] = ['Social Responsibility','http://www.sunocoinc.com/site/TheCompany/SocialResponsibility/'];
	subJOBviewArr[1] = ['Company Benefits','http://www.sunocoinc.com/site/Careers/CompanyBenefits/'];
	subJOBviewArr[2] = ['Diversity','http://www.sunocoinc.com/site/TheCompany/OurDiversity/'];

// Retail Jobs menus
var firstRetailJobsArr = new Array();
	firstRetailJobsArr[0] = ['Retail Jobs Overview ','http://www.sunocoinc.com/site/Careers/RetailJobs/Overview.htm',false];
	firstRetailJobsArr[1] = ['Retail Benefits','http://www.sunocoinc.com/site/Careers/RetailJobs/Benefits.htm',false];
	firstRetailJobsArr[2] = ['Retail Job Descriptions','http://www.sunocoinc.com/site/Careers/RetailJobs/JobDescriptions.htm',false];
	firstRetailJobsArr[3] = ['Apply Now','http://www.sunocoinc.com/site/Careers/RetailJobs/Apply+Now.htm',false];
	firstRetailJobsArr[4] = ['EEOC Statement','http://www.sunocoinc.com/site/Careers/RetailJobs/EEO.htm',false];
//
//