function openCloseAnswer(id, oc) {
	var a_id = id;
	var a_pm = id+"pm";
	
	var status = true;
	
	if(document.getElementById(id).style.display != 'none') {
		status = false;
	}
	
	if(oc != undefined){
		status = oc;
	}
	
	if(status) {
		document.getElementById(a_id).style.display = 'inline';
		document.getElementById(a_pm).src = "images/minus.png";

	}else {
		document.getElementById(a_id).style.display = 'none';
		document.getElementById(a_pm).src = "images/plus.png";
	}

}
function openCloseALLAnswers(count, oc) {
	for(var i = 1; i <= count; i++){
		var id = "a"+ i;
		openCloseAnswer(id, oc);
	}
}


function setTarget(obj) {
	obj.target = '_blank';
}