function initFAQs() {	var d = document;	if (!d.getElementsByTagName) return	var divs = d.getElementsByTagName('div');	for (var i = 0; i < divs.length; i++) {		div = divs[i];		if (div.className == 'a') {			div.style.display = 'none';		}	}}window.onload = initFAQs;function showAnswer(qId) {	var d = document;	if (!d.getElementsByTagName) return	// Get the div containing the question and answer	var qnaDiv = d.getElementById(qId);	// Get all of the divs within it	var divs = qnaDiv.getElementsByTagName('div');	for (var i = 0; i < divs.length; i++ ) {		div = divs[i];		// find the 'question' div						if (div.className == 'q') {			div.className = 'q_opened';			as = div.getElementsByTagName('a')			for (var j = 0; j < as.length; j++) {				a = as[j];				if (a.className == 'q') {					a.className = 'q_opened';				}			}		}		// find the 'answer' div and display it		if (div.className == 'a') {			div.style.display = 'block';		}	}}function hideAnswer(qId) {	var d = document;	if (!d.getElementsByTagName) return	// Get the div containing the question and answer	var qnaDiv = d.getElementById(qId);	// Get all of the divs within it	var divs = qnaDiv.getElementsByTagName('div');	for (var i = 0; i < divs.length; i++ ) {		div = divs[i];		// find the 'question' div						if (div.className == 'q_opened') {			div.className = 'q';			as = div.getElementsByTagName('a')			for (var j = 0; j < as.length; j++) {				a = as[j];				if (a.className == 'q_opened') {					a.className = 'q';				}			}		}		// find the 'answer' div and display it		if (div.className == 'a') {			div.style.display = 'none';		}	}}function showAll() {	var d = document;	if (!d.getElementsByTagName) return	// Get all the divs	var divs = d.getElementsByTagName('div')	for (var i = 0; i < divs.length; i++ ) {		div = divs[i];		// find the 'question' divs		if (div.className == 'q') {			div.className = 'q_opened';		}		// find the 'answer' div and display it		if (div.className == 'a') {			div.style.display = 'block';		}	}	// Get all the as	var as = d.getElementsByTagName('a')	for (var j = 0; j < as.length; j++) {		a = as[j];		if (a.className == 'q') {		a.className = 'q_opened';		}	}}function hideAll() {	var d = document;	if (!d.getElementsByTagName) return	// Get all the divs	var divs = d.getElementsByTagName('div')	for (var i = 0; i < divs.length; i++ ) {		div = divs[i];		// find the 'question' divs		if (div.className == 'q_opened') {			div.className = 'q';		}		// find the 'answer' div and display it		if (div.className == 'a') {			div.style.display = 'none';		}	}	// Get all the as	var as = d.getElementsByTagName('a')	for (var j = 0; j < as.length; j++) {		a = as[j];		if (a.className == 'q_opened') {		a.className = 'q';		}	}}