num_faqs = 19;

for ( x = 1; x <= num_faqs; x++ ) {
	
	document.getElementById( "faq_" + x + "_content" ).style.display = "none";
	
}

function showDetails( local ) {
	
	document.getElementById( local + "_content" ).style.display = "block";
	//document.getElementById( local + "_control" ).style.backgroundImage = "url(images/arrow_up.gif)";
	document.getElementById( local + "_control" ).href = "javascript:hideDetails( '" + local + "' );";
	document.getElementById( local + "_control" ).title = "Hide Answer";
}

function hideDetails( local ) {
	
	document.getElementById( local + "_content" ).style.display = "none";
	//document.getElementById( local + "_control" ).style.backgroundImage = "url(images/arrow_down.gif)";
	document.getElementById( local + "_control" ).href = "javascript:showDetails( '" + local + "' );";
	document.getElementById( local + "_control" ).title = "Show Answer";
}

