VOCABULARIO DE 3º DE ESO: 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('C','O','R','R','E','S','P','O','N','D','E','N','T','E','','','','','','','','','');
L[1] = new Array('O','','','','X','','','','','','','','','','','','','','','','','','');
L[2] = new Array('M','','','','T','','','','','','','','','','','','','','','','','','');
L[3] = new Array('P','','','C','R','E','B','A','C','A','B','E','Z','A','S','','','','','','','','');
L[4] = new Array('A','','','','A','','','','','','','','','','A','','','','','','','','');
L[5] = new Array('I','','','','V','','','','','','','','','','R','E','M','U','\u00CD','\u00D1','O','','');
L[6] = new Array('X','','','','E','','G','','','','','','','','A','','','','','','','','');
L[7] = new Array('\u00D3','','C','A','R','B','A','L','L','E','I','R','A','','B','','','','','','','','');
L[8] = new Array('N','','','','T','','R','','','','','','','','I','L','L','O','T','E','','','');
L[9] = new Array('','','','','I','','G','','T','E','N','R','U','R','A','','','','','','','','');
L[10] = new Array('','','','','D','','A','','','','','','','','','S','A','B','I','C','H','\u00D3','N');
L[11] = new Array('L','E','N','Z','O','','L','A','R','A','N','X','E','I','R','A','','','','','','','');
L[12] = new Array('','','','','','','L','','','','','','','','','L','A','G','O','A','','','');
L[13] = new Array('','','','P','A','P','A','V','E','N','T','O','S','','','G','','','','','','','');
L[14] = new Array('','','','','','','D','','','','','','','','','U','','','','','','','');
L[15] = new Array('','','','M','A','N','A','N','C','I','A','L','','A','M','E','I','X','E','I','R','A','');
L[16] = new Array('','','','','','','','','','','','','','','','I','','','','','','B','');
L[17] = new Array('','','','','','','','','','C','E','R','D','E','I','R','A','','','','','O','');
L[18] = new Array('','','','','F','R','A','G','A','','N','','','','','O','','','','','','R','');
L[19] = new Array('','','','','O','','','','','','X','E','A','D','A','','','','','','','R','');
L[20] = new Array('','','','A','L','F','A','R','E','M','E','','','','','','','','','','','E','');
L[21] = new Array('','','','','E','','','','','','\u00D1','','C','O','V','A','R','D','E','','','C','');
L[22] = new Array('','X','A','D','R','E','Z','','','','O','','H','','','','','','','','','E','');
L[23] = new Array('','','','','P','','','T','R','I','S','T','U','R','A','','','','','','','M','');
L[24] = new Array('S','O','I','D','A','D','E','','','','O','','V','','','','','','','','','E','');
L[25] = new Array('','L','','','','','','','','','','','I','','','','','','','','','N','');
L[26] = new Array('C','I','C','E','L','','P','E','R','I','G','O','S','O','','','','','','','','T','');
L[27] = new Array('','V','','','','','','','','','','','C','','','','','','','','','O','');
L[28] = new Array('','A','','','','','P','E','R','E','I','R','A','','','','','','','','','','');
L[29] = new Array('','','','','','','','S','','','','','','','','','','','','','','','');
L[30] = new Array('','','','','','','','T','','','','','','','','','','','','','','','');
L[31] = new Array('','','','','E','N','V','E','X','A','','','','','','','','','','','','','');
L[32] = new Array('','','','','','','','I','','','','','','','','','','','','','','','');
L[33] = new Array('','','','C','H','A','I','R','A','','','','','','','','','','','','','','');
L[34] = new Array('C','','','','','N','','O','','','','','','','','','','','','','','','');
L[35] = new Array('A','R','X','I','L','A','','','','','','','','','','','','','','','','','');
L[36] = new Array('N','','','','','N','E','B','O','A','','','','','','','','','','','','','');
L[37] = new Array('T','','','','','\u00C1','','','','','','','','','','','','','','','','','');
L[38] = new Array('I','','','X','E','S','O','','','','','','','','','','','','','','','','');
L[39] = new Array('L','','','','','','','','','','','','','','','','','','','','','','');
CL = new Array();
CL[0] = new Array(1,0,0,0,2,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);
CL[2] = 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);
CL[3] = new Array(0,0,0,3,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0);
CL[4] = 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);
CL[5] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0);
CL[6] = new Array(0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[7] = new Array(0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[8] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0);
CL[9] = new Array(0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[10] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0);
CL[11] = new Array(11,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[12] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0);
CL[13] = new Array(0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[14] = 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);
CL[15] = new Array(0,0,0,15,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,17,0);
CL[16] = 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);
CL[17] = new Array(0,0,0,0,0,0,0,0,0,18,19,0,0,0,0,0,0,0,0,0,0,0,0);
CL[18] = new Array(0,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[19] = new Array(0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0);
CL[20] = new Array(0,0,0,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[21] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0);
CL[22] = new Array(0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[23] = new Array(0,0,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[24] = new Array(26,27,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[25] = 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);
CL[26] = new Array(28,0,0,0,0,0,29,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,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,30,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[29] = 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);
CL[30] = 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);
CL[31] = new Array(0,0,0,0,32,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,0,0,0,0,0,0,0,0,0,0,0,0);
CL[33] = new Array(0,0,0,33,0,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[34] = new Array(35,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(36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[36] = new Array(0,0,0,0,0,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
CL[37] = 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);
CL[38] = new Array(0,0,0,38,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,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;
}
}
//-->
//]]>
VOCABULARIO DE 3º DE ESO: TRADUCE Ó GALEGO
ENCRUCILLADO
Completa este encrucillado. Logo calca en "Comprobar" para validar a resposta. Se precisas axuda, podes calcar en "Pista".