var match_off = new Image();	match_off.src = "../_templates/img/match.gif";
var match_on = new Image();	match_on.src = "../_templates/img/match_on.gif";

function btnMatch(imgObj,btnStat){
	if(btnStat=="press"){
		//imgObj.src=match_on.src;
	}else if(btnStat=="release"){
		//imgObj.src=match_off.src;
	}
}

var weiter_off = new Image();	weiter_off.src = "../_templates/img/weiter.gif";
var weiter_on = new Image();	weiter_on.src = "../_templates/img/weiter_on.gif";


function btnContinue(imgObj,btnStat){
	if(btnStat=="press"){
		//imgObj.src=weiter_on.src;
	}else if(btnStat=="release"){
		//imgObj.src=weiter_off.src;
	}
}


function inactiv(lineId){
		for(i=0; i < 6; i++){
			iId=lineId+i;
			document.getElementById(iId).checked=false;
		}
	}
function activCbx(cbxId){
	radioId=cbxId+4;
	document.getElementById(radioId).checked=true;
}
function clickRadio(lineNm){
	cbxId="i"+lineNm+"5";
	document.getElementById(cbxId).checked=false;	
}




function matchThis(subNodeId, questionId){
	qForm = document.questionsForm;
	qForm.matchVar.value	= "true";
	continueThis(subNodeId, questionId);
}
function continueThis(subNodeId, questionId){
	qForm = document.questionsForm;
	qForm.subCat.value	= subNodeId;
	qForm.queCat.value	= questionId;
	qForm.submit();
}


