		/*
		Array that holds all current hompage tabs. To add or change a tab, just modify
		the image, image map, and this array.
		*/

		var homepageTabs = new Array(3);
		homepageTabs[0] = new Array("#homepageTabPhone", "/images/homepage/tabs/hp_phones.gif");
		homepageTabs[1] = new Array("#homepageTabBroadband", "/images/homepage/tabs/hp_broadband.gif");
		homepageTabs[2] = new Array("#homepageTabPromos", "/images/homepage/tabs/hp_promos.gif");
    
		/*
		This function toggles the correct div for the tab variable pass to it and 
		adjusts the image to show the correct tab treatment.
		*/

		function toggleHomepageTab(selectedTab)
		{		
			for (var i = 0; i < homepageTabs.length; i++)
				if (homepageTabs[i][0] == selectedTab) {
					$(homepageTabs[i][0]).show();
					$('#homepageTabNavigationImage').attr('src', homepageTabs[i][1]);
				}
				else
				{
					$(homepageTabs[i][0]).hide();
				}
		}
