function title_switch(a)
{
	if(a == 0)
	{
		var area = "Central";
		var text = "Central Austin includes the main business district, older in-town neighborhoods and the newly re-developed Mueller Airport. Mueller is a master-planned mixed-use development that will include the Dell Children's Hospital, high-density single family yard houses, row houses and multifamily homes together with commercial projects...";
	}
	else if(a == 1)
	{
		var area = "North";
		var text = "North Austin, running along the busy I-35 corridor is one of the fastest growing areas in central Texas and includes parts of Austin, Round Rock and Georgetown in Travis and Williamson counties.</p><p>A number of choices are available to home buyers, including smaller re-sale homes in closer-in neighborhoods in lower to medium price ranges, and large master-planned communities at various stages of development, such as Avery Ranch, Teravista and the new Paloma Lake...";
	}
	else if(a == 2)
	{
		var area = "North East";
		var text = "Northeast Austin runs along Farm-to-Market Road 685 the new I-130 Tollway corridor and includes parts of Austin, Pflugerville and Hutto.</p><p>Housing choices are generally more affordable than in the North and Northwest areas and include predominantly suburban and country living communities.</p><p>Northeast Austin is served by Austin ISD, Hutto ISD, Manor ISD and Pflugerville ISD Schools...";
	}
	else if(a == 3)
	{
		var area = "East";
		var text = "East Austin runs along Highway 290 East and includes parts of Austin, Manor and Elgin in Travis and Bastrop counties.</p><p>Housing prices in this market area are mostly the lowest that can be found in Austin and there are a variety of housing choices in small to medium sizes for the budget-minded home buyer...";
	}
	else if(a == 4)
	{
		var area = "South East";
		var text = "Southeast Austin runs South of Lady Bird Johnson Lake and East of Highway 35 to FM 1327. There is a higher population density up to Highway 183 with a dwindling density further East. This area includes parts of Austin, Del Valle and Bastrop in Travis and Bastrop counties.</p><p>Housing choices range from moderately priced single family homes and condominiums closer to Highway 35 to more affordable communities and individual homes further East...";
	}
	else if(a == 5)
	{
		var area = "South";
		var text = "South Austin runs mostly West of Highway 35 South and includes parts of Austin, Sunset Valley, Buda and Kyle in Travis and Hays counties.</p><p>Housing choices range from close-in pricey old houses and newer condos just South of the Colorado River to very affordable single family homes in the suburban areas of Kyle and Buda...";
	}
	else if(a == 6)
	{
		var area = "South West";
		var text = "Southwest Austin runs south of Highway 290 and includes parts of Austin, Driftwood and Dripping Springs.</p><p>Housing choices range from various developments with-in the Circle C master-planned communities to a number of upscale acreage-communities. There are also many, more affordable acreage homes available out in the country of Southwest Austin...";
	}
	else if(a == 7)
	{
		var area = "West";
		var text = "West Austin running North of Highway 290 and South of FM 2222 along Highway 71 and Farm-to-Market road 2244 includes parts of Austin, prestigious West Lake Hills and Bee Cave in Travis County.</p><p>Housing choices range from high-end close-in areas along Loop 360 (Capital of Texas Highway) and F.M. 2244 with easy access to downtown Austin and a variety of shopping venues and to Hill Country acreage communities further out and master-planned communities, such as Flintrock Falls...";
	}
	else if(a == 8)
	{
		var area = "North West";
		var text = "Northwest Austin, running along US Highway 183 include parts of Austin, Cedar Park and Leander located in Travis and Williamson counties.</p><p>Housing choices range from closer-in mid to high priced re-sale neighborhoods, such as Northwest Hills; to traditional, more affordable suburban communities in Cedar Park and beautiful exclusive acreage settings such as in Crystal Falls in Leander...";
	}
	
	document.getElementById('link_holder').innerHTML = "<span class=\"more\"><a href=\"#\" id=\"profile_link\">read more</a></span>";
	document.getElementById("panel_title").innerHTML = area + " Austin";
	document.getElementById("area_description").innerHTML = text;
	
	document.getElementById("profile_link").href = "http://noohome.com/community-search/area-profiles/" + area.replace(" ","-");
}
