function flash(banner, theWidth, theHeight) {
	output = "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"" + theWidth + "\" height=\"" + theHeight + "\" id=\"video2\" align=\"middle\">  ";
	output += "<param name=\"allowScriptAccess\" value=\"sameDomain\" />  ";
	output += "<param name=\"movie\" value=\"" + banner + "\" />  ";
	output += "<param name=\"quality\" value=\"high\" />  ";
	output += "<param name=\"wmode\" value=\"transparent\">  ";
	output += "<embed src=\"" + banner + "\" quality=\"high\" wmode=\"transparent\" width=\"" + theWidth + "\" height=\"" + theHeight + "\" name=\"TFSLogo\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />  ";
	output += "</object>  ";
	document.write(output);
}

function changeImage(theID, theImage){
	document.getElementById(theID).src= theImage;
}

function HideContent(d) {
	if(d.length < 1) { 
		return; 
	}
	
	document.getElementById(d).style.display = "none";
}

function ShowContent(d) {
	if(d.length < 1) { 
		return; 
	}
	document.getElementById(d).style.display = "block";
}

function ReverseContentDisplay(d) {
	if(d.length < 1) { 
		return; 
	}
	if(document.getElementById(d).style.display == "none") { 
		document.getElementById(d).style.display = "block"; 
	}else { 
		document.getElementById(d).style.display = "none"; 
	}
}

function showLocation(theID){
	var locationList =new Array("ann_arbor","austin", "baltimore", "beverly_hills", "boca_raton", "boston",  "dallas", "delray_beach", "des_moines", "indianapolis", "memphis", "lakeland", "newport_news", "oklahoma_city", "philadelphia", "portland", "san_francisco" , "seattle","st_louis", "washington" );
	
	for (curLocation = 0; curLocation < locationList.length; curLocation ++){

		if (locationList[curLocation]==theID){
			document.getElementById(locationList[curLocation]).style.display = "block";
		}else{
			document.getElementById(locationList[curLocation]).style.display = "none";
		}
	}
		
}

function showFAQ(theID){
	var locationList =new Array("faq1","faq2", "faq3", "faq4", "faq5", "faq6", "faq7", "faq8", "faq9" );
	
	for (curLocation = 0; curLocation < locationList.length; curLocation ++){

		if (locationList[curLocation]==theID){
			document.getElementById(locationList[curLocation]).style.display = "block";
		}else{
			document.getElementById(locationList[curLocation]).style.display = "none";
		}
	}
		
}
