function showHideAnswer()
{
	var numericID = this.id.replace(/[^\d]/g,'');
	var obj = document.getElementById('a' + numericID);
	if(obj.style.display=='block'){
		obj.style.display='none';
	}else{
		obj.style.display='block';
	}
	var obj = document.getElementById('q' + numericID);
	if(obj.style.backgroundImage=='url(includes/templates/gs/images/down.gif)'){
		obj.style.backgroundImage='url(includes/templates/gs/images/up.gif)';
	}else{
		obj.style.backgroundImage='url(includes/templates/gs/images/down.gif)';
	}
	
}
	
function initShowHideContent()
{
	var divs = document.getElementsByTagName('DIV');
	for(var no=0;no<divs.length;no++){
		if(divs[no].className=='question'){
			divs[no].onclick = showHideAnswer;
		}	
	}	
}
