/*
 * @File        $RCSfile: displayDIV.js,v $
 * @Version     $Revision: 1.1 $
 * @Author      $Author: goran $ (last checked in by)
 * @Date        $Date: 2002/12/18 14:26:34 $ (UTC date of last check in)
 */
 
var openQuestion = -1;
function clickQuestion(QID) {
	var d = document;

	if(openQuestion != QID) {
		if(openQuestion != -1) {
			d.getElementById('img_QA_'+openQuestion).src = '../../img/butn_faq_plus.gif';
			d.getElementById('A_'+openQuestion).style.display = 'none';
		}
		openQuestion = QID;
		d.getElementById('img_QA_'+QID).src = '../../img/butn_faq_min.gif';
		d.getElementById('A_'+QID).style.display = 'block';
	} else if(openQuestion == QID) {
		d.getElementById('img_QA_'+QID).src = '../../img/butn_faq_plus.gif';
		d.getElementById('A_'+QID).style.display = 'none';
		openQuestion = -1;
	}
}