REPASO DE VOCABULARIO DE 2º: TRADUCE Ó GALEGO
/g, ClueNum);
Temp = Temp.replace(//g, AcrossCaption + ' ' + ClueNum);
strParams = 'true,' + ClueNum + ',' + x + ',' + y + ',\'[strBoxId]\'';
Temp = Temp.replace(//g, strParams);
Temp = Temp.replace(//g, 'GA_' + ClueNum + '_' + x + '_' + y);
Temp = Temp.replace(//g, GetEditSize(true,x,y));
Temp = Temp.replace(//g, GetAnswerLength(true,x,y));
Temp = Temp.replace(//g, Clue.innerHTML, Temp);
Result += Temp;
}
Clue = document.getElementById('Clue_D_' + ClueNum);
if (Clue != null){
Temp = InputStuff.replace(//g, ClueNum);
Temp = Temp.replace(//g, DownCaption + ' ' + ClueNum);
strParams = 'false,' + ClueNum + ',' + x + ',' + y + ',\'[strBoxId]\'';
Temp = Temp.replace(//g, strParams);
Temp = Temp.replace(//g, 'GD_' + ClueNum + '_' + x + '_' + y);
Temp = Temp.replace(//g, GetAnswerLength(false,x,y));
Temp = Temp.replace(//g, Clue.innerHTML, Temp);
Result += Temp;
}
document.getElementById('ClueEntry').innerHTML = Result;
}
function EnterGuess(Across,ClueNum,x,y,BoxId){
if (document.getElementById(BoxId) != null){
var Guess = document.getElementById(BoxId).value;
var AnsLength = GetAnswerLength(Across,x,y);
EnterAnswer(Guess,Across,AnsLength,x,y);
}
}
function SplitStringToPerceivedChars(InString, PC){
var Temp = InString.charAt(0);
if (InString.length > 1){
for (var i=1; i<InString.length; i++){
if (IsCombiningDiacritic(InString.charCodeAt(i)) == true){
Temp += InString.charAt(i);
}
else{
PC.push(Temp);
Temp = InString.charAt(i);
}
}
}
PC.push(Temp);
}
function EnterAnswer(Guess,Across,AnsLength,x,y){
var PC = new Array();
SplitStringToPerceivedChars(Guess, PC);
var i=x;
var j=y;
var Letter = 0;
while (Letter < AnsLength){
if (Letter < PC.length){
G[i][j] = PC[Letter];
if (document.getElementById('L_' + i + '_' + j) != null){
document.getElementById('L_' + i + '_' + j).innerHTML = PC[Letter];
}
}
if (Across == true){
j++;
}
else{
i++;
}
Letter++;
}
}
function SetGridSquareValue(x,y,Val){
var GridId = 'L_' + x + '_' + y;
if (document.getElementById(GridId) != null){
document.getElementById(GridId).innerHTML = Val;
}
}
function ShowHint(Across,ClueNum,x,y,BoxId){
var i=x;
var j=y;
var LetterFromGuess = '';
var LetterFromKey = '';
var OutString = '';
if (Across==true){
while (j<L[i].length){
if (L[i][j] != ''){
OutString += L[i][j];
if (CaseSensitive == true){
LetterFromKey = L[i][j];
LetterFromGuess = G[i][j];
}
else {
LetterFromKey = L[i][j].toUpperCase();
LetterFromGuess = G[i][j].toUpperCase();
}
if (LetterFromGuess != LetterFromKey){
// if (G[i][j] != L[i][j]){
G[i][j] = L[i][j];
Penalties++;
break;
}
}
else{
break;
}
j++;
}
}
else{
while (i<L.length){
if (L[i][j] != ''){
OutString += L[i][j];
if (CaseSensitive == true){
LetterFromKey = L[i][j];
LetterFromGuess = G[i][j];
}
else {
LetterFromKey = L[i][j].toUpperCase();
LetterFromGuess = G[i][j].toUpperCase();
}
if (LetterFromGuess != LetterFromKey){
// if (G[i][j] != L[i][j]){
G[i][j] = L[i][j];
Penalties++;
break;
}
}
else{
break;
}
i++;
}
}
if (document.getElementById(BoxId) != null){
document.getElementById(BoxId).value = OutString;
}
}
L = new Array();
L[0] = new Array('E','N','C','R','U','C','I','L','L','A','D','O','','','','','','','','','','','','','','','');
L[1] = new Array('','','R','','','','','','','','','','','','','','','','','','','','','','','','');
L[2] = new Array('P','R','E','X','U','D','I','C','A','R','','','','','','','','','','','','','','','','','');
L[3] = new Array('','','B','','','','','','','','','','','','','','','','','','','','','','','','');
L[4] = new Array('','L','A','M','B','E','T','A','D','A','S','','','','','','','','','','','L','O','U','R','O','');
L[5] = new Array('','','C','','','','','','','','','','','','','','','M','I','U','D','O','','','','','');
L[6] = new Array('','P','A','P','A','V','E','N','T','O','S','','','','','','','','','','','N','','','','','');
L[7] = new Array('','','B','','G','','','','','','','','T','','','','','','','','','G','','','','','');
L[8] = new Array('','M','E','D','O','R','E','N','T','O','','','I','','','','C','U','E','I','R','O','','','','','');
L[9] = new Array('','','Z','','C','','','','','','','','X','','','','','','S','','','','','','','','');
L[10] = new Array('','','A','C','H','E','G','A','R','S','E','','O','','','','','','Q','','','','','','','','');
L[11] = new Array('','','S','','A','','','','','','','','L','U','R','A','','C','U','L','L','E','R','','','','');
L[12] = new Array('','','','','R','E','G','A','L','I','C','I','A','','','','','','\u00CD','','','','','','','','');
L[13] = new Array('O','','','','S','','','','','','','','','','','R','A','P','O','S','O','','','','','','');
L[14] = new Array('R','A','N','D','E','E','I','R','A','','F','R','I','A','M','E','','','','','','','','','','','');
L[15] = new Array('Q','','','','','','','','','','','','','','','M','','','','','','','','','','','');
L[16] = new Array('U','','','B','I','S','C','O','I','T','O','','','','P','E','B','I','D','A','','','','','','','');
L[17] = new Array('E','','','','','O','','','','','','E','','','','X','','','','','','','','','','','');
L[18] = new Array('S','','','','','B','','','','R','E','S','O','R','T','E','','','','','','','','B','','','');
L[19] = new Array('T','A','R','T','A','R','U','G','A','','','G','','','','R','A','X','O','','','','','O','','','E');
L[20] = new Array('R','','','','','E','','','','','P','O','L','B','O','','','','','','','','','L','','','N');
L[21] = new Array('A','N','D','O','R','I','\u00D1','A','','C','','T','','','','','','','','','','','','B','','','V');
L[22] = new Array('','','','','','R','','','','A','F','A','S','T','A','R','','','','','','','','O','','','E');
L[23] = new Array('','','G','A','R','A','N','T','I','R','','R','','','','','','','','','','','','R','','','X');
L[24] = new Array('','','','X','','','','','','B','','','','','','','','F','R','I','T','I','D','E','I','R','A');
L[25] = new Array('','','','\u00D3','','','','','','A','N','T','O','L','L','O','','','','','I','','','T','','','');
L[26] = new Array('F','O','G','U','E','T','E','','','L','','','','','','','','','','','R','','','A','','','');
L[27] = new Array('','','','X','','','','O','L','L','O','M','O','L','','','','','','','A','','','','','','');
L[28] = new Array('','','','E','','','','','','O','','','','','','','','B','E','R','C','E','','','','','');
L[29] = new Array('','P','A','R','A','F','U','S','O','','','','','T','R','A','D','E','','','R','','','','','','');
L[30] = new Array('E','','','E','','E','','','','','','','','','','','','R','A','','O','','','','','','');
L[31] = new Array('S','','','','R','I','S','E','I','R','O','','','','','','','R','','','I','','','','','','');
L[32] = new Array('V','','','','','T','','','','','','T','','A','S','E','X','A','R','','O','','','','','','');
L[33] = new Array('A','F','U','N','D','I','R','','','B','','E','','N','','','','R','','','S','','','','','','');
L[34] = new Array('R','','','','','Z','','','','A','','S','','O','','','','','','','','','','','','','');
L[35] = new Array('A','','','A','C','O','U','G','A','R','','T','','X','U','L','G','A','R','','','','','','','','');
L[36] = new Array('R','','','','U','','','','','A','','A','','A','','','','','','','','','','','','','');
L[37] = new Array('','','P','A','N','O','','','','L','O','N','T','R','A','','','','','','','','','','','','');
L[38] = new Array('','','','','C','','','','','L','','','','','','','','','','','','','','','','','');
L[39] = new Array('','','','','A','','','','X','A','D','R','E','Z','','','','','','','','','','','','','');
CL = new Array();
CL[0] = new Array(1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[1] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[2] = new Array(3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[3] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[4] = new Array(0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0);
CL[5] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,0);
CL[6] = new Array(0,7,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[7] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[8] = new Array(0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,12,0,0,0,0,0,0,0,0);
CL[9] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[10] = new Array(0,0,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[11] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,15,0,0,0,0,0,0,0,0,0);
CL[12] = new Array(0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[13] = new Array(17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0);
CL[14] = new Array(19,0,0,0,0,0,0,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[15] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[16] = new Array(0,0,0,21,0,22,0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0,0,0);
CL[17] = new Array(0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[18] = new Array(0,0,0,0,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0);
CL[19] = new Array(27,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,0,0,0,0,0,0,0,0,29);
CL[20] = new Array(0,0,0,0,0,0,0,0,0,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[21] = new Array(31,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[22] = new Array(0,0,0,0,0,0,0,0,0,33,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[23] = new Array(0,0,34,35,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[24] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,0,0,37,0,0,0,0,0,0);
CL[25] = new Array(0,0,0,0,0,0,0,0,0,38,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[26] = new Array(39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[27] = new Array(0,0,0,0,0,0,0,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[28] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0,0,0,0,0,0,0,0,0);
CL[29] = new Array(0,42,0,0,0,43,0,0,0,0,0,0,0,44,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[30] = new Array(45,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,0,0,0,0,0,0,0,0,0);
CL[31] = new Array(0,0,0,0,47,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[32] = new Array(0,0,0,0,0,0,0,0,0,0,0,48,0,49,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[33] = new Array(50,0,0,0,0,0,0,0,0,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[34] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[35] = new Array(0,0,0,52,53,0,0,0,0,0,0,0,0,54,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[36] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[37] = new Array(0,0,55,0,0,0,0,0,0,56,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[38] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[39] = new Array(0,0,0,0,0,0,0,0,57,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
G = new Array();
G[0] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[1] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[2] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[3] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[4] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[5] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[6] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[7] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[8] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[9] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[10] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[11] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[12] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[13] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[14] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[15] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[16] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[17] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[18] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[19] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[20] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[21] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[22] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[23] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[24] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[25] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[26] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[27] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[28] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[29] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[30] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[31] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[32] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[33] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[34] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[35] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[36] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[37] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[38] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
G[39] = new Array('','','','','','','','','','','','','','','','','','','','','','','','','','','');
function CheckAnswers(){
if (Locked == true){return;}
var AllCorrect = true;
var TotLetters = 0;
var CorrectLetters = 0;
var LetterFromKey = '';
var LetterFromGuess = '';
//Check each letter
for (var i=0; i';
if (AllCorrect == false){
Output += Incorrect;
Penalties++;
}
ShowMessage(Output);
WriteToInstructions(Output);
if ((AllCorrect == true)||(TimeOver == true)){
TimeOver = true;
Locked = true;
Finished = true;
setTimeout('Finish()', SubmissionTimeout);
}
}
function Finish(){
//If there's a form, fill it out and submit it
if (document.store != null){
Frm = document.store;
Frm.starttime.value = HPNStartTime;
Frm.endtime.value = (new Date()).getTime();
Frm.mark.value = Score;
Frm.submit();
}
}
function TypeChars(Chars){
if (CurrentBox != null){
CurrentBox.value += Chars;
}
}
//-->
//]]>
REPASO DE VOCABULARIO DE 2º: TRADUCE Ó GALEGO
ENCRUCILLADO
Completa este encrucillado. Logo calca en "Comprobar" para validar a resposta. Se precisas axuda, podes calcar en "Pista".