/**
 * @author davereid
 */

function MapObject(key,tab,subtab,footer,breadcrumb){
	this.key = key;
	this.tab = tab;
	this.subtab = subtab;
	this.footer = footer;
	this.breadcrumb = breadcrumb;	
}
//	var RESIDENTIAL_CRB = '<a href="/residential/">Residential</a>';

	var RENEWABLE_ENERGY_CRB = '<a href="/business/energyeff/index.htm">Renewable energy</a>';

	var CAREERS_CRB = '<a href="/home/careerop.htm">Careers</a>';
	var FIRSTRESPONDERS_CRB = '<a href="/firstresponders/">First Responders</a>';
	var ENVIRONMENT_CRB = '<a href="/environmental/">Environment</a>';
	var FORESTRY_CRB = '<a href="/forestry/">Forestry</a>';
	var RECIPES_CRB = '<a href="/recipes/">Recipes</a>';
	var CONTRACTORS_CRB = '<a href="/contractors/">Contractors</a>';
	var ELECTRICIAN_CRB = '<a href="/contractors/electrician/electricians.htm">Electrician</a>';
	var EDUCATORS_CRB = '<a href="/educators/">Educators</a>';
	var BUILDERS_AND_DEVELOPERS_CRB = '<a href="/contractors/builders_and_developers.htm">Builders and developers</a>';
	//var CONTRACTORS_BD_CRB = '<a href="/builders_and_develoeprs.htm/">Builders and Developers</a>';
	//var CONTRACTORS_D__CRB = '<a href="/builders_and_develoeprs.htm/">Builders and Developers</a>';
	//var CONTRACTORS_E_CRB = '<a href="/builders_and_develoeprs.htm/">Builders and Developers</a>';
	var UNDERGROUND_UTILITIES_CRB = '<a href="/contractors/safety/undergrnd_utilities.htm">Underground utilities</a>';
	var OVERHEAD_UTILITIES_CRB = '<a href="/contractors/safety/ovrhead_utilities.htm">Overhead utilities</a>';
	var ONLINE_ACCOUNT_INFO_CRB = '<a href="/residential/paybill/online_account_access_info.htm">Online Account Access Info</a>';
	
	var WI_TOU_CRB = '<a href="/residential/acctoptions/tou_wi.htm">Wisconsin time-of-use</a>';
	var MI_TOU_CRB = '<a href="/residential/acctoptions/tou_mi.htm">Michigan time-of-use</a>';
	
	var SEP = ' > ';
 
 	var aM = new Array();  
 	aM.push(new MapObject('residential','residential','','',''));
	aM.push(new MapObject('residential/paybill','residential','paybill','',''));
	aM.push(new MapObject('residential/moving','residential','moving','',''));
	aM.push(new MapObject('residential/new_construction','residential','new_construction','',''));
	aM.push(new MapObject('residential/rates_policies','residential','rates_policies','',''));
	aM.push(new MapObject('residential/acctoptions','residential','rates_policies','',''));
	
	aM.push(new MapObject('residential/acctoptions/tou_wi_level1_2.htm','residential','rates_policies','',WI_TOU_CRB));
	aM.push(new MapObject('residential/acctoptions/tou_wi_level3.htm','residential','rates_policies','',WI_TOU_CRB));
	aM.push(new MapObject('residential/acctoptions/tou_wi_shiftappli.htm','residential','rates_policies','',WI_TOU_CRB));
	aM.push(new MapObject('residential/acctoptions/tou_wi_shiftappli_ptr.htm','residential','rates_policies','',WI_TOU_CRB));
	aM.push(new MapObject('residential/acctoptions/tou_termswi.htm','residential','rates_policies','',WI_TOU_CRB));
	
	
	
	aM.push(new MapObject('residential/ecosts','residential','paybill','',''));
	//aM.push(new MapObject('residential/ecosts','residential','myaccount','',''));
	
	aM.push(new MapObject('residential/myaccount','residential','paybill','',ONLINE_ACCOUNT_INFO_CRB));
	
	
	aM.push(new MapObject('residential/service','residential','new_construction','',''));
	aM.push(new MapObject('residential/safety','outages_safety','reporting','',''));
	
	aM.push(new MapObject('outages_safety','outages_safety','','',''));
	aM.push(new MapObject('outages_safety/reporting','outages_safety','reporting','',''));
	aM.push(new MapObject('outages_safety/digging_trees_landscaping','outages_safety','digging_trees_landscaping','',''));
	aM.push(new MapObject('outages_safety/using_energy_safely','outages_safety','using_energy_safely','',''));
	
	aM.push(new MapObject('energy-saving_ideas','energy-saving_ideas','','',''));
	aM.push(new MapObject('energy-saving_ideas/tips','energy-saving_ideas','tips','',''));
	aM.push(new MapObject('energy-saving_ideas/high_bill_reasons_solutions','energy-saving_ideas','high_bill_reasons_solutions','',''));
	
	aM.push(new MapObject('business','business','','',''));
	aM.push(new MapObject('business/billpay','business','billpay','',''));
	aM.push(new MapObject('business/wisconsin_service_rates','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/michigan_service_rates','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/property_management','business','property_management','',''));	
	
	//aM.push(new MapObject('business/energyeff/energyeff.htm','business','','',''));
	aM.push(new MapObject('business/energyeff/','','','',''));
	aM.push(new MapObject('business/energyeff/train_events.htm','','','',RENEWABLE_ENERGY_CRB));
	aM.push(new MapObject('business/energyeff/successstories.htm','','','',RENEWABLE_ENERGY_CRB));
	aM.push(new MapObject('residential/acctoptions/eft.htm','','','',RENEWABLE_ENERGY_CRB));
	aM.push(new MapObject('business/altenergy/eft_smbus.htm','','','',RENEWABLE_ENERGY_CRB));
	aM.push(new MapObject('business/altenergy/eft_lrgbus.htm','','','',RENEWABLE_ENERGY_CRB));
	aM.push(new MapObject('residential/energyeff/active_installdata.htm','','','',RENEWABLE_ENERGY_CRB));
	aM.push(new MapObject('residential/energyeff/renewlinks.htm','','','',RENEWABLE_ENERGY_CRB));
	
	aM.push(new MapObject('home/airqual_proj.htm','','','',ENVIRONMENT_CRB));
	
	aM.push(new MapObject('renewable_energy_environment/environment','','','',ENVIRONMENT_CRB));
	
	aM.push(new MapObject('renewable_energy_environment/renewable_energy','','','',RENEWABLE_ENERGY_CRB));
		
	//aM.push(new MapObject('business/energyeff','business','','','<a href="/business/energyeff/energyeff.htm">Energy Efficiency</a>'));	
	
	aM.push(new MapObject('business/elec/elecrateswi.htm','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/elec/startbus_wi_deposits.htm','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/elec/startbus_wi_legal.htm','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/elec/startbus_wi.htm','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/elec/tariffs_wi','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/elec/termsserv_wi.htm','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/elec/wi_genprimary_cp1.htm','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/elec/wi_lrgbus.htm','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/elec/wi_medbus.htm','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/elec/wi_smbus.htm','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/elec/wibus_tou.htm','business','wisconsin_service_rates','',''));
	aM.push(new MapObject('business/elec/wiserv.htm','business','wisconsin_service_rates','',''));
	
	aM.push(new MapObject('business/altenergy/custgen_wisc.htm','business','wisconsin_service_rates','',''));
	

	aM.push(new MapObject('business/elec/elecratesmi.htm','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/elec/startbus_mi_deposits.htm','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/elec/startbus_mi_legal.htm','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/elec/startbus_mi.htm','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/elec/tariffs_mi','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/elec/termsserv_mi.htm','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/elec/mi_genprimary_cp1.htm','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/elec/mi_lrgbus.htm','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/elec/mi_medbus.htm','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/elec/mi_smbus.htm','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/elec/mibus_tou.htm','business','michigan_service_rates','',''));
	aM.push(new MapObject('business/elec/miserv.htm','business','michigan_service_rates','',''));	
	
	aM.push(new MapObject('business/altenergy/custgen_mich.htm','business','michigan_service_rates','',''));	
	
	
	aM.push(new MapObject('business/elec','business','','rates_policies',''));
	aM.push(new MapObject('business/natgas','business','','rates_policies',''));

	aM.push(new MapObject('espanol','','espanol','',''));
	aM.push(new MapObject('media','','media','',''));
	
	aM.push(new MapObject('recipes/cookiebook_stories.htm','','','',RECIPES_CRB));
	
	aM.push(new MapObject('apps/newsrel','','news','',''));
	
	/* Forestry */
	//aM.push(new MapObject('forestry','','','',FORESTRY_CRB));
	/* Forestry End */
	
	/* Environment */
	//ENVIRONMENT_CRB
	aM.push(new MapObject('environmental/index.htm','','','',''));
	aM.push(new MapObject('environmental','','','',ENVIRONMENT_CRB));
	
	aM.push(new MapObject('environmental/environmental/protect_wildlife.htm','','','',ENVIRONMENT_CRB + SEP + '<a href="/environmental/peregrine_falcons.htm">Peregrine Falcons</a>'));	
	aM.push(new MapObject('environmental','','','',ENVIRONMENT_CRB));	
	aM.push(new MapObject('environmental','','','',ENVIRONMENT_CRB));		
	/* Environment End */
	
	/* First Responders */
	//FIRSTRESPONDERS_CRB
	aM.push(new MapObject('firstresponders','','','firstresponders',''));
	aM.push(new MapObject('firstresponders/cart','','','firstresponders',FIRSTRESPONDERS_CRB));
	aM.push(new MapObject('firstresponders/co_resources.htm','','','firstresponders',FIRSTRESPONDERS_CRB));
	aM.push(new MapObject('firstresponders/info_resources.htm','','','firstresponders',FIRSTRESPONDERS_CRB));
	aM.push(new MapObject('firstresponders/publicsafety.htm','','','firstresponders',FIRSTRESPONDERS_CRB));
	/* First Responders End */
	
	
	/* Agriculture */
	aM.push(new MapObject('agricultureservices','','agricultureservices','',''));
	aM.push(new MapObject('agricultureservices/electric_rewiring','','agricultureservices','','<a href="/agricultureservices/">Agriculture</a>'));
	aM.push(new MapObject('agricultureservices/contact','','agricultureservices','','<a href="/agricultureservices/">Agriculture</a>'));
	aM.push(new MapObject('agricultureservices/energyeff','','agricultureservices','','<a href="/agricultureservices/">Agriculture</a>'));
	aM.push(new MapObject('agricultureservices/safety','','agricultureservices','','<a href="/agricultureservices/">Agriculture</a>'));
	aM.push(new MapObject('agricultureservices/stray_voltage','','agricultureservices','','<a href="/agricultureservices/">Agriculture</a>'));
	aM.push(new MapObject('agricultureservices/ag_contactus.htm','','agricultureservices','','<a href="/agricultureservices/">Agriculture</a>'));
	
	aM.push(new MapObject('environmental/gypsum.htm','','agricultureservices','','<a href="/agricultureservices/">Agriculture</a>'));	

	aM.push(new MapObject('environmental/gypsum_photos.htm','','agricultureservices','','<a href="/agricultureservices/">Agriculture</a>' + SEP + '<a href="/environmental/Gypsum.htm">Gypsum</a>'));	

		
	/* Agriculture End */
	
	aM.push(new MapObject('educators','','educators','',''));
	aM.push(new MapObject('educators/classroom','','educators','',EDUCATORS_CRB));
	aM.push(new MapObject('educators/ebasics','','educators','',EDUCATORS_CRB));
	aM.push(new MapObject('educators/fieldtrips','','educators','',EDUCATORS_CRB));
	aM.push(new MapObject('educators/home','','educators','',EDUCATORS_CRB));
	aM.push(new MapObject('educators/photos','','educators','',EDUCATORS_CRB));
	aM.push(new MapObject('educators/renew','','educators','',EDUCATORS_CRB));
	aM.push(new MapObject('educators/safety','','educators','',EDUCATORS_CRB));
	aM.push(new MapObject('educators/tscience','','educators','',EDUCATORS_CRB));
	aM.push(new MapObject('educators/tworkshops','','educators','',EDUCATORS_CRB));


	
	
	//aM.push(new MapObject('contractors','','contractors','','<a href="/contractors/">Contractors</a>'));
	
	aM.push(new MapObject('business/energyeff/installers.htm','contractors','','',CONTRACTORS_CRB));	
	
	
	aM.push(new MapObject('contractors/safety/undergrnd_utilities.htm','','contractors','',CONTRACTORS_CRB));
	aM.push(new MapObject('contractors/safety/locating_flags.htm','','contractors','',CONTRACTORS_CRB + SEP + UNDERGROUND_UTILITIES_CRB));

	aM.push(new MapObject('contractors/safety/dig_safely.htm','','contractors','',CONTRACTORS_CRB + SEP + UNDERGROUND_UTILITIES_CRB));
	aM.push(new MapObject('contractors/safety/digin_emerg.htm','','contractors','',CONTRACTORS_CRB + SEP + UNDERGROUND_UTILITIES_CRB));
	
	
	
	aM.push(new MapObject('contractors/safety/ovrhead_utilities.htm','','contractors','',CONTRACTORS_CRB));
	aM.push(new MapObject('contractors/safety/b4work.htm','','contractors','',CONTRACTORS_CRB));
	
	
	aM.push(new MapObject('contractors/safety','','contractors','',CONTRACTORS_CRB + SEP + OVERHEAD_UTILITIES_CRB));
	
	
	aM.push(new MapObject('forestry/tree_contractors.htm','','contractors','',CONTRACTORS_CRB));
	
	
	
	aM.push(new MapObject('contractors/electrician/electricians.htm','','contractors','',CONTRACTORS_CRB));
	aM.push(new MapObject('contractors/electrician','','contractors','',CONTRACTORS_CRB + SEP + ELECTRICIAN_CRB));
	aM.push(new MapObject('contractors/demolitions','','contractors','',CONTRACTORS_CRB));
	aM.push(new MapObject('contractors/builders_and_developers.htm','','contractors','',CONTRACTORS_CRB));
	aM.push(new MapObject('contractors/builderdeveloper','','contractors','',CONTRACTORS_CRB + SEP + BUILDERS_AND_DEVELOPERS_CRB));
	
	
	aM.push(new MapObject('contractors','','contractors','',''));
	
	aM.push(new MapObject('home/contactus.htm','','contact','',''));
	
	/* Careers */
	aM.push(new MapObject('home/careerop.htm','','careers','',''));
	//CAREERS_CRB
	aM.push(new MapObject('home/engineerdev.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/benefits.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/career_diversity.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/career_faq.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/career_tips.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/careerop_contact.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/careerop_designers.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/careerop_engineers.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/careerop_gastech.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/careerop_linemech.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/careerop_ppop.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/coop_prog_info.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/employ_testing.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/interndev.htm','','careers','',CAREERS_CRB));
	aM.push(new MapObject('home/profcareers.htm','','careers','',CAREERS_CRB));
	/* End Careers */	
	
	/* About */
	aM.push(new MapObject('home/aboutus.htm','','about','',''));
	aM.push(new MapObject('home/power_plants.htm','','about','','<a href="/home/aboutus.htm">About</a>'));
	aM.push(new MapObject('home/projects.htm','','about','','<a href="/home/aboutus.htm">About</a>'));
	aM.push(new MapObject('home/we_keyfacts.htm','','about','','<a href="/home/aboutus.htm">About</a>'));
	/* About Configuration End */
	
	/* Night Aura */
	aM.push(new MapObject('night_aura','residential','rates_policies','',''));
	aM.push(new MapObject('night_aura/about','residential','rates_policies','','<a href="/night_aura/">Night Aura</a>'));
	aM.push(new MapObject('night_aura/contact','residential','rates_policies','','<a href="/night_aura/">Night Aura</a>'));
	aM.push(new MapObject('night_aura/contact3','residential','rates_policies','','<a href="/night_aura/">Night Aura</a>'));
	aM.push(new MapObject('night_aura/forms','residential','rates_policies','','<a href="/night_aura/">Night Aura</a>'));
	aM.push(new MapObject('night_aura/products','residential','rates_policies','','<a href="/night_aura/">Night Aura</a>'));
	/* Night Aura End */
		
	/* Power Quality */	
	aM.push(new MapObject('powerquality','business','','',''));

	aM.push(new MapObject('powerquality/causedistrub.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/contactus.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/cost_tracktool_app.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/costtracking_tool.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/disturbance_impacts.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/disturbance_log.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/disturbance_type.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/links.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/powerdelivery.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/pqresid_index.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/professional_services.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/qa.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/res_professional_services.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/respowerqual_solutions.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/respoqerqual.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/selfhelp.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/termsconditions.htm','business','','','<a href="/powerquality/">Power Quality</a>'));
	aM.push(new MapObject('powerquality/troubleshooting.htm','business','','','<a href="/powerquality/">Power Quality</a>'));




	/* Power Quality End */