context: function hpClickCheckJCrossV5V6(hp, v, AD, q, row, col) {	// v is the version of Hot Potatoes	// AD is the direction ('A' or 'D')	// make sure HP[_checks] and HP[_correct] are initialized	if (!HP[_checks][AD]) HP[_checks][AD] = new Array();	if (!HP[_correct][AD]) HP[_correct][AD] = new Array();	// get clue, if any	var clue = (hp==5) ? eval('window.'+AD) : GetJCrossClue('Clue_'+AD+'_' + q);	// is this a question that has not been answered correctly yet?	if (clue && !HP[_correct][AD][q]) {				var check = false;		var guess = GetJCrossWord(G, row, col, (AD=='D'));		var correct = GetJCrossWord(L, row, col, (AD=='D'));		if (guess==correct) {			HP[_correct][AD][q] = correct;			check = true;		} else if (guess) {			// make sure HP[_wrong] is initialized			if (!HP[_wrong][AD]) HP[_wrong][AD] = new Array();			if (!HP[_wrong][AD][q]) HP[_wrong][AD][q] = new Array();			// check this guess has not been entered before			var i_max = HP[_wrong][AD][q].length;			for (var i=0; i<i_max; i++) {				if (HP[_wrong][AD][q]==guess) break;			}			// add the guess if it has not been entered before			if (i>=i_max) {				HP[_wrong][AD][q][i] = guess;				check = true;			}		}		// update HP[_checks], if necessary		if (check) {			if (!HP[_checks][AD]) HP[_checks][AD] = new Array();			if (!HP[_checks][AD][q]) HP[_checks][AD][q] = 0;			HP[_checks][AD][q]++;		}	}}
meta: 752	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/752/5237207862290e6950c71339743289f4d2d5f4d3/hotpot-full.js/clean/mod/hotpot/hotpot-full.js