function volverInicio()	{
window.location	=	'../index.html';
}
function cambiofondo()
{
var bucle=0;
for (bucle; bucle<10; bucle++ )
{
document.bgColor="silver";
document.bgColor="lightslategray";
document.bgColor="lightgreen";
document.bgColor="lightblue";
document.bgColor="white";
document.bgColor="yellow";
document.bgColor="blue";
document.bgColor="black";
document.bgColor="white";
}
}
function cambiar_framedcha(parametro) {
alert("Voy a llevarte a la pantalla " + parametro);
window.parent.frames["principal"].location=parametro;
}
function aparecer(msg){
mitabla.style.display = 'block';
document.forms["miformulario"].mensaje.value=msg;
document.forms["miformulario"].mensaje.style.color='red';
window.status=msg;
}
function desaparecer(){
mitabla.style.display = 'none';
document.forms["miformulario"].mensaje.value="";
}
function evaluar() {
}
/* ===Variables globales que necesitamos ===== */
var navegador = navigator.appName;
var longMaximaPalabra = 0; //longitud Maxima de la palabra
var arrayPreguntas;
var lenArrayPreguntas;
var arrayRespuestas;
var lenArrayRespuestas;
var n=0; //nº intentos;
var cuenta=0;
var porc=0;
var nota=0;
var strTituloPagina = "";
var strPreguntas = "";
var strRespuestas ="";
var juego="";
var strMensajeAbandonar="Sure you want to leave this game ??";
var ayudaRespuestas="";
/* =======funciones visibilidad========= */
function AparecerAyuda(){
var texto="<h6>¡¡ IT IS NOT CORRECT !!</h6> " + "<p>Try again";
pintarAyuda(texto);
}
function AparecerOtra(){
//Otra.style.display='block';
var texto="<h6>¡¡ WAS NOT WELL !!</h6> " +
"<p>Try again";
pintarAyuda(texto);
}
function AparecerBien(){
var texto="<h6>¡¡ VERY WELL !!</h6> " +
"<p>Good, remains the same.<br/>";
pintarAyuda(texto);
}
function AparecerFin(){
nota=(num_aciertos*10/lenArrayRespuestas)-(num_intentos-lenArrayRespuestas)*10/lenArrayRespuestas;
nota=nota.toFixed(2);
if (nota<0) {
nota=0;
}else if (nota>10) {
nota=10;
}
msg="";
if (nota>=5) {
if (nota>=9) {
if (nota==10) {
msg="<p>Very, Very WELL, you get the MAXIMUM SCORE; you have an OUTSTANDING  !!!!<br/>";
}else {
msg="<p>Very WELL, you have an OUTSTANDING   !!!!<br/>";
}
}else if (nota>=7 && nota<9) {
msg="<p>Very WELL, you have a SIGNIFICANT !<br/>";
}else {
msg="<p>Very well, you have an approved !<br/>";
}
}else {
msg="<p>UPSS, you have to review this lesson !<br/>";
}
var texto="<h6>¡¡ THE END !!</h6> " + msg +
"<p>You get a  <label id='notafinal'>" + nota + ".</label><p>";
pintarAyuda(texto);
return;
}
function DesaparecerAyuda(){
return;
}
function DesaparecerOtra(){
return;
}
function DesaparecerBien(){
return;
}
function DesaparecerFin(){
return;
}
/* =====funciones comprobar====== */
var valor_old="";
function comprobar_nueva(fila) {
nombreCampo = "txt_palabra" + fila;
nombreImagen = "txt_img" + fila;
objCampo = document.getElementById(nombreCampo);
objImagen = document.getElementById(nombreImagen);
nombreCampoSiguiente = "txt_palabra" + parseInt(fila+1);
objCampoSiguiente = document.getElementById(nombreCampoSiguiente);
pregunta = arrayRespuestas[fila];
valor = objCampo.value;
if (valor!=""){
valor_old=valor;
var respuesta_correcta = comprobar(pregunta, valor, objCampo, objCampoSiguiente, objImagen);
return respuesta_correcta;
}
}
var num_intentos =0;
var num_fallos =0;
var num_aciertos =0;
function incrementarIntentos(){
var objContador = document.getElementById("intentos");
var num = parseInt(objContador.innerHTML);
num++;
objContador.innerHTML = num;
num_intentos = num;
var objContador ="";
}
function incrementarFallos() {
var objContador= document.getElementById("fallos");
var num = parseInt(objContador.innerHTML);
num++;
objContador.innerHTML = num;
num_fallos = num;
}
function incrementarAciertos() {
var objContador = document.getElementById("aciertos");
var num = parseInt(objContador.innerHTML);
if (num<lenArrayRespuestas) {
num++;
objContador.innerHTML = num;
num_aciertos =num;
}
}
/* ======comprobar========= */
function comprobar(pregunta, respuesta, obj, objSiguiente,objImagen) {
rdo=false;
var pregunta = pregunta.toUpperCase();
var respuesta = respuesta.toUpperCase();
if (pregunta.lastIndexOf("'")!=-1) {
pregunta = respuesta.replace("'","\'");
}
incrementarIntentos();
if (pregunta==respuesta) {
cuenta++;
incrementarAciertos();
obj.className="classAcierto";
AparecerBien();
objImagen.src = '../../../elabueloeduca_img/ok.gif';
objImagen.alt = 'Answer O.K!!!';
n=0;
if (objSiguiente!=null) {
objSiguiente.focus();
}
DesaparecerAyuda();
DesaparecerOtra();
rdo=true;
} else {
objImagen.src = '../../../elabueloeduca_img/error.png';
objImagen.alt = 'Click to view the correct answer';
 obj.className="classFallo";
incrementarFallos();
cuenta++;
DesaparecerAyuda();
AparecerAyuda();
rdo=false;
}
//====	Si se han contestado todas calculamos la nota	======
if (finalizado()) {
AparecerFin();
DesaparecerBien();
DesaparecerAyuda();
DesaparecerOtra();
}
return rdo;
}
function resolver(nomObj,pregunta) {
obj = document.getElementById(nomObj);
if (obj!=null) {
incrementarIntentos();
incrementarAciertos();
obj.value = pregunta;
obj.className="classAcierto";
objImagen.src = '../../../elabueloeduca_img/ok.gif';
objImagen.alt = 'Answer O.K!!!';
DesaparecerAyuda();
}
}
function comprobar_todas(fila) {
DesaparecerBien();
DesaparecerAyuda();
DesaparecerOtra();
DesaparecerFin();
for (i=0;i<lenArrayPreguntas;i++) {
nombreCampo = "txt_palabra" + i;
objCampo = document.getElementById(nombreCampo);
pregunta = arrayRespuestas[i];
valor =  objCampo.value;
compro(pregunta, valor, objCampo);
nombreImagen = "txt_img" + i;
objImagen = document.getElementById(nombreImagen);
objCampo.className="classAcierto";
objImagen.src = '../../../elabueloeduca_img/ok.gif';
objImagen.alt = 'Answer O.K!!!';
}
AparecerFin()
}
/* para comprobar_todas */
function compro(pregunta, respuesta, obj) {
var pregunta = pregunta.toUpperCase();
var respuesta = respuesta.toUpperCase();
if (pregunta==respuesta) {
incrementarAciertos();
obj.className="correcto";
}	else {
obj.className="error";
obj.value=pregunta
var num_fallos = parseInt(fallos.innerHTML);
num_fallos++;
fallos.innerHTML = num_fallos;
}
}
function dameLongitudMaxima(objArray) {
len = objArray.length;
for (i=0;i<len;i++) {
lenPalabra = objArray[i].length;
if (longMaximaPalabra<=lenPalabra) {
longMaximaPalabra=lenPalabra;
}
}
longMaximaPalabra=longMaximaPalabra+8;
}
/* =====funciones pintar==== */
function pintarPreguntas(arrayPreguntas) {
var strFilas="";
rowspan=lenArrayPreguntas*2;
str="<tr><td colspan='2' align='right' onclick='javascript:ocultarAR()' style='cursor:pointer'><h6>Close</h6></td>";
for (i=0;i<lenArrayPreguntas;i++) {
pregunta = arrayPreguntas[i];
respuesta = arrayRespuestas[i];
nombreCampo = "txt_palabra" + i;
nombreImagen = "txt_img" + i;
strFilas+="<tr><td class='nr'><label id='lbl_palabra1' onClick=\"javascript:verMapa('" + pregunta + "','" + nombreCampo + "')\">" + pregunta + "&nbsp;</label></td>" +
"<td class='nr'><img src='../../../elabueloeduca_img/validar.gif' alt='Click here to check your answer'><input type='text' id='" + nombreCampo + "' value='' onchange='javascript:return comprobar_nueva(" + i + ")' size='" + longMaximaPalabra +  "' class='classCaja' onfocus=\"javascript:comprobarFoco('" + nombreCampo + "')\">&nbsp;<img id='" + nombreImagen + "' src='../../../elabueloeduca_img/nada.gif' onclick=\"javascript:resolver('" + nombreCampo + "','" + respuesta + "')\"/></td>" +
"</tr>";
str+="<tr><td class='nr'><b>" +arrayPreguntas[i]+"</b></td><td class='nr'>" +arrayRespuestas[i]+"</td>";
}
ayudaRespuestas="<table><colgroup><col class='bold'></col><col></col></colgroup>"+str+"</table>";
strFilas+="<tr><td colspan='2'>&nbsp;</td></tr>";
strFilas+="<tr><td><img src='../../../elabueloeduca_img/pdf.jpg' alt='Generate a pdf document for printing. You may need to hold down the Ctrl key to allow it to open another window.' onclick='javascript:toPDF()' style='cursor:pointer'></td>";
strFilas+="<td><a href='javascript:toPDF()' class='ini pdf'>Click here if you want to generate a document <br/>to print the game.</a></td></tr>";
var strDocumento=pintarPanelAciertos();
strDocumento+="<div id='divRespuestas' style='position:absolute;visibility:hidden;z-index:90'></div>";
strDocumento+="<div id='tablaTotal'><div id='colIzq'>";
strDocumento+="<table id='tablaPreguntas' border=0 cellspacing='2' cellpadding='0' class='classFondo center' align='center'>";
strDocumento+=strFilas;
strDocumento+="</table></div>";
//Sacamos el muñeco de la tabla
strDocumento+="<div id='colDcha'><div id='panelAyuda'></div><img id='imgDuda' src='../../../elabueloeduca_img/duda.gif'/ style='display:none'/></div></div>";
var obj = document.getElementById("panelMostrar");
if (obj!=null) {
obj.style.display='block';
obj.innerHTML=strDocumento;
} else {
alert("No se ha encontrado el objeto panelMostrar");
}
obj = document.getElementById("divPubliV");
if (obj!=null) {
obj.innerHTML='';
}
obj = document.getElementById("divPubliH");
if (obj!=null) {
obj.innerHTML='';
}
obj = document.getElementById("txt_palabra0");
if (obj!=null) {
obj.focus();
}
}
function cargarArrays(strPreguntas,strRespuestas) {
arrayPreguntas = strPreguntas.split("|");
lenArrayPreguntas = arrayPreguntas.length;
arrayRespuestas = strRespuestas.split("|");
lenArrayRespuestas = arrayRespuestas.length;
dameLongitudMaxima(arrayRespuestas);
}
function iniciar(strPreguntas,strRespuestas,strTituloPagina){
cargarArrays(strPreguntas,strRespuestas) ;
pintarPreguntas(arrayPreguntas);
cargarAyudas();
iniciaContadores();
var tituloPagina = document.getElementById("tituloPagina");
if (tituloPagina!=null) {
tituloPagina.innerHTML=strTituloPagina;
}
var t = 0;
var caja = document.getElementById("txt_palabra"+t);
if (caja !=null) {
caja.focus();
} else {
alert("no funciona  " + pregunta + respuesta );
}
}
function iniciaContadores() {
longMaximaPalabra = 0;
n=0; //nº intentos;
cuenta=0;
porc=0;
nota=0;
document.getElementById("intentos").innerHTML=0;
document.getElementById("aciertos").innerHTML=0;
document.getElementById("fallos").innerHTML=0;
num_fallos=0;
num_aciertos=0;
num_intentos =0;
}
function cargarAyudas() {
/**/
}
function cambiarFondo(clase) {
/**/
}
function mostrarEjercicio(opcion) {
if (!juegoCompletado()) {
if (!eval(confirm(strMensajeAbandonar))) {
return;
}
}
juego="";
strTituloPagina="";
var textoAyuda="";
switch (opcion) {
case 'N1':
strTituloPagina = "(1) How would you write the following numbers with digits?: ";
strPreguntas = "Thirty two|Hundred thirty seven|Eighty nine|Forty six|Seven hundred and forty four|Three hundred and fifteen|Seventy two|One hundred and seventeen|Two hundred and nine|Eight hundred eight|Nineteen|Sixty nine|Four hundred eleven|Twenty four|Six hundred and six|Eighteen";
strRespuestas = "32|137|89|46|744|315|72|117|209|808|19|69|411|27|606|18";
break;
case 'N2':
strTituloPagina = "(2) How would you write the following numbers with digits?:";
strPreguntas = "One thousand two hundred and two|Thirty nine|Fifty eight|Two thousand and fifty|Eighteen|Sixty seven|Twenty five|Four hundred eighty three|One thousand and twelve|Six hundred and forty two|Two hundred and fifty seven|Eighty four|Ninety six|One hundred eight|Two thousand seven|Forty one";
strRespuestas = "1.202|39|58|2.050|18|67|25|483|1.012|642|257|84|96|108|2.007|41";
break;
case 'N3':
strTituloPagina = "(3) How would you write the following numbers with digits?:";
strPreguntas = "Seventy six|Eleven thousand fifteen|Seventeen|Three hundred and fifty two|Five thousand one hundred and twelve|Forty three|One hundred and nine|Thirty seven|Six hundred and thirty four|Two thousand one hundred and twenty|Sixty seven|Thirty five thousand eleven|Forty one|Two hundred and fifty three|One thousand two hundred five|Twenty four";
strRespuestas = "76|11.015|17|352|5.112|43|109|37|634|2.120|67|35.011|41|253|1.205|24";
break;
case 'N4':
strTituloPagina = "(4) How would you write the following numbers with digits?:";
strPreguntas = "Five thousand nine|One hundred and three|Eighty two|Seventy five|Six hundred one|Three thousand one hundred thirteen|Four hundred sixteen|Thirty eight|Twenty Four|Seven thousand five hundred eleven|Nine thousand five|Three hundred one|Sixty eight|Fifty seven|One hundred and six|One thousand three hundred and thirty one";
strRespuestas = "5.009|103|82|75|601|3.113|416|38|24|7.511|9.005|301|68|57|106|1.331";
break;
case 'N41':
strTituloPagina = "(5) How would you write the following numbers with digits?:";
strPreguntas = "Mil veintidós|Dos mil doce|Siete mil ciento diez|Quince mil doscientos tres|Mil doce|Doce mil nueve|Setecientos ocho|Trescientos diecinueve|Setenta y uno|Novecientos seis|Cincuenta y ocho|Cuatrocientos cuarenta y dos|Tres mil doscientos nueve|Seiscientos catorce|Cuarenta y dos|Seiscientos diecinueve";
strRespuestas = "1.022|2.012|7.110|15.203|1.012|12.009|708|319|71|906|58|442|3.209|614|42|619";
break;
case 'N42':
strTituloPagina = "(6) How would you write the following numbers with digits?:";
strPreguntas = "Doscientos sesenta y siete|Trescientos veinticinco|Cuatrocientos setenta y dos|Quinientos veinte|Quinientos setenta y cuatro|Mil ciento tres|Dos mil ochenta|Dos mil trescientos cuatro|Cuatro mil quince|Cuatro mil doscientos siete|Seis mil ocho|Ocho mil dieciséis|Nueve mil ciento tres|Diez mil cinco|Trece mil veinticuatro|Veinte mil diecisiete";
strRespuestas = "267|325|472|520|574|1.103|2.080|2.304|4.015|4.207|6.008|8.016|9.103|10.005|13.024|20.017";
break;
case 'N43':
strTituloPagina = "(7) How would you write the following numbers with digits?:";
strPreguntas = "Setecientos cincuenta|Novecientos dieciséis|Tres mil dos|Tres mil quince|Cuatro mil ciento veinte|Cinco mil siete|Seis mil seiscientos|Diez mil cuatro|Veintitres mil tres|Treinta y cinco mil ciento dos|Cuarenta mil doce|Cincuenta mil seiscientos|Setenta y dos mil quince|Ochenta y cinco mil nueve|Sesenta mil seis|Ciento dos mil";
strRespuestas = "750|916|3.002|3.015|4.120|5.007|6.600|10.004|23.003|35.102|40.012|50.600|72.015|85.009|60.006|102.000";
break;
case 'N5':
strTituloPagina = "(6) How would you write the following numbers with letters?:";
strPreguntas = "32|137|89|46|744|1.022|315|72|117|209|808|19|2.012|69|411|7.110";
strRespuestas = "Thirty two|Hundred thirty seven|Eighty nine|Forty six|Seven hundred and forty four|One thousand twenty two|Three hundred and fifteen|Seventy two|One hundred and seventeen|Two hundred and nine|Eight hundred eight|Nineteen|Two thousand twelve|Sixty nine|Four hundred eleven|Seven thousand one hundred ten";
break;
case 'N6':
strTituloPagina = "(7) How would you write the following numbers with letters?:";
strPreguntas ="1.202|39|58|2.050|18|67|25|483|1.012|642|257|84|96|108|2.007|41";
strRespuestas = "One thousand two hundred and two|Thirty nine|Fifty eight|Two thousand and fifty|Eighteen|Sixty seven|Twenty five|Four hundred eighty three|One thousand and twelve|Six hundred and forty two|Two hundred and fifty seven|Eighty four|Ninety six|One hundred eight|Two thousand seven|Forty one";
break;
case 'N7':
strTituloPagina = "(8) How would you write the following numbers with letters?:";
strPreguntas = "76|11.015|17|352|5.112|43|109|37|634|2.120|67|35.011|41|253|1.205|24";
strRespuestas = "Seventy six|Eleven thousand fifteen|Seventeen|Three hundred and fifty two|Five thousand one hundred and twelve|Forty three|One hundred and nine|Thirty seven|Six hundred and thirty four|Two thousand one hundred and twenty|Sixty seven|Thirty five thousand eleven|Forty one|Two hundred and fifty three|One thousand two hundred five|Twenty four";
break;
case 'N8':
strTituloPagina = "(9) How would you write the following numbers with letters?:";
strPreguntas = "5.009|103|82|75|601|3.113|416|38|24|7.511|9.005|301|68|57|106|1.331";
strRespuestas = "Five thousand nine|One hundred and three|Eighty two|Seventy five|Six hundred one|Three thousand one hundred thirteen|Four hundred sixteen|Thirty eight|Twenty Four|Seven thousand five hundred eleven|Nine thousand five|Three hundred one|Sixty eight|Fifty seven|One hundred and six|One thousand three hundred and thirty one";
break;
case 'N81':
strTituloPagina = "(5) How would you write the following numbers with letters?:";
strPreguntas = "1.022|2.012|7.110|15.203|1.012|12.009|708|319|71|906|58|442|3.209|614|42|619";
strRespuestas = "Mil veintidós|Dos mil doce|Siete mil ciento diez|Quince mil doscientos tres|Mil doce|Doce mil nueve|Setecientos ocho|Trescientos diecinueve|Setenta y uno|Novecientos seis|Cincuenta y ocho|Cuatrocientos cuarenta y dos|Tres mil doscientos nueve|Seiscientos catorce|Cuarenta y dos|Seiscientos diecinueve";
break;
case 'N82':
strTituloPagina = "(6) How would you write the following numbers with letters?:";
strPreguntas = "267|325|472|520|574|1.103|2.080|2.304|4.015|4.207|6.008|8.016|9.103|10.005|13.024|20.017";
strRespuestas = "Doscientos sesenta y siete|Trescientos veinticinco|Cuatrocientos setenta y dos|Quinientos veinte|Quinientos setenta y cuatro|Mil ciento tres|Dos mil ochenta|Dos mil trescientos cuatro|Cuatro mil quince|Cuatro mil doscientos siete|Seis mil ocho|Ocho mil dieciséis|Nueve mil ciento tres|Diez mil cinco|Trece mil veinticuatro|Veinte mil diecisiete";
break;
case 'N83':
strTituloPagina = "(7) How would you write the following numbers with letters?:";
strPreguntas = "750|916|3.002|3.015|4.120|5.007|6.600|10.004|23.003|35.102|40.012|50.600|72.015|85.009|60.006|102.000";
strRespuestas = "Setecientos cincuenta|Novecientos dieciséis|Tres mil dos|Tres mil quince|Cuatro mil ciento veinte|Cinco mil siete|Seis mil seiscientos|Diez mil cuatro|Veintitres mil tres|Treinta y cinco mil ciento dos|Cuarenta mil doce|Cincuenta mil seiscientos|Setenta y dos mil quince|Ochenta y cinco mil nueve|Sesenta mil seis|Ciento dos mil";
break;
case 'R1':
strTituloPagina = "(1) How would you write the following digits with Roman numbers?:";
strPreguntas = "16|66|6|21|67|4|9|40|90|400|900|13|14|33|34|11";
strRespuestas = "XVI|LXVI|VI|XXI|LXVII|IV|IX|XL|XC|CD|CM|XIII|XIV|XXXIII|XXXIV|XI";
break;
case 'R2':
strTituloPagina = "(2) How would you write the following digits with Roman numbers?:";
strPreguntas = "129|7|13|19|39|61|75|88|104|444|989|8|14|20|40|68";
strRespuestas = "CXXIX|VII|XIII|XIX|XXXIX|LXI|LXXV|LXXXVIII|CIV|CDXLIV|CMLXXXIX|VIII|XIV|XX|XL|LXVIII";
break;
case 'R3':
strTituloPagina = "(3) How would you write the following digits with Roman numbers?:";
strPreguntas = "1.008|12|18|31|11|17|34|59|71|80|99|399|899|1.010|64|73";
strRespuestas = "MVIII|XII|XVIII|XXXI|XI|XVII|XXXIV|LIX|LXXI|LXXX|XCIX|CCCXCIX|DCCCXCIX|MX|LXIV|LXXIII";
break;
case 'R4':
strTituloPagina = "(4) How would you write the following digits with Roman numbers?:";
strPreguntas = "76|1.015|14|352|112|43|2.109|37|684|1.120|67|511|441|254|1.205|94";
strRespuestas = "LXXVI|MXV|XIV|CCCLII|CXII|XLIII|MMCIX|XXXVII|DCLXXXIV|MCXX|LXVII|DXI|CDXLI|CCLIV|MCCV|XCIV";
break;
case 'R41':
strTituloPagina = "(5) How would you write the following digits with Roman numbers?:";
strPreguntas = "101|1.001|19|54|77|89|109|445|81|407|912|1.050|906|78|442|707";
strRespuestas = "CI|MI|XIX|LIV|LXXVII|LXXXIX|CIX|CDXLV|LXXXI|CDVII|CMXII|ML|CMVI|LXXVIII|CDXLII|DCCVII";
break;
case 'R42':
strTituloPagina = "(6) How would you write the following digits with Roman numbers?:";
strPreguntas = "24|28|30|38|44|53|69|74|108|253|398|447|706|1.482|1.593|1.775";
strRespuestas = "XXIV|XXVIII|XXX|XXXVIII|XLIV|LIII|LXIX|LXXIV|CVIII|CCLIII|CCCXCVIII|CDXLVII|DCCVI|MCDLXXXII|MDXCIII|MDCCLXXV";
break;
case 'R43':
strTituloPagina = "(7) How would you write the following digits with Roman numbers?:";
strPreguntas = "102|124|271|383|495|566|689|718|857|931|1.009|1.142|1.275|1.355|1.694|1.860";
strRespuestas = "CII|CXXIV|CCLXXI|CCCLXXXIII|CDXCV|DLXVI|DCLXXXIX|DCCXVIII|DCCCLVII|CMXXXI|MIX|MCXLII|MCCLXXV|MCCCLV|MDCXCIV|MDCCCLX";
break;
case 'R5':
strTituloPagina = "(6) How would you write the following Roman numbers with digits?:";
strPreguntas = "XVI|LXVI|VI|XXI|LXVII|IV|IX|XL|XC|CD|CM|XIII|XIV|XXXIII|XXXIV|XI";
strRespuestas = "16|66|6|21|67|4|9|40|90|400|900|13|14|33|34|11";
break;
case 'R6':
strTituloPagina = "(7) How would you write the following Roman numbers with digits?:";
strPreguntas = "CXXIX|VII|XIII|XIX|XXXIX|LXI|LXXV|LXXXVIII|CIV|CDXLIV|CMLXXXIX|VIII|XIV|XX|XL|LXVIII";
strRespuestas = "129|7|13|19|39|61|75|88|104|444|989|8|14|20|40|68";
break;
case 'R7':
strTituloPagina = "(8) How would you write the following Roman numbers with digits?:";
strPreguntas = "MVIII|XII|XVIII|XXXI|XI|XVII|XXXIV|LIX|LXXI|LXXX|XCIX|CCCXCIX|DCCCXCIX|MX|LXIV|LXXIII";
strRespuestas = "1.008|12|18|31|11|17|34|59|71|80|99|399|899|1.010|64|73";
break;
case 'R8':
strTituloPagina = "(9) How would you write the following Roman numbers with digits?:";
strPreguntas = "LXXVI|MXV|XIV|CCCLII|CXII|XLIII|MMCIX|XXXVII|DCLXXXIV|MCXX|LXVII|DXI|CDXLI|CCLIV|MCCV|XCIV";
strRespuestas = "76|1.015|14|352|112|43|2.109|37|684|1.120|67|511|441|254|1.205|94";
break;
case 'R81':
strTituloPagina = "(5) How would you write the following Roman numbers with digits?:";
strPreguntas = "CI|MI|XIX|LIV|LXXVII|LXXXIX|CIX|CDXLV|LXXXI|CDVII|CMXII|ML|CMVI|LXXVIII|CDXLII|DCCVII";
strRespuestas = "101|1.001|19|54|77|89|109|445|81|407|912|1.050|906|78|442|707";
break;
case 'R82':
strTituloPagina = "(6) How would you write the following Roman numbers with digits?:";
strPreguntas = "XXIV|XXVIII|XXX|XXXVIII|XLIV|LIII|LXIX|LXXIV|CVIII|CCLIII|CCCXCVIII|CDXLVII|DCCVI|MCDLXXXII|MDXCIII|MDCCLXXV";
strRespuestas = "24|28|30|38|44|53|69|74|108|253|398|447|706|1.482|1.593|1.775";
break;
case 'R83':
strTituloPagina = "(7) How would you write the following Roman numbers with digits?:";
strPreguntas = "CII|CXXIV|CCLXXI|CCCLXXXIII|CDXCV|DLXVI|DCLXXXIX|DCCXVIII|DCCCLVII|CMXXXI|MIX|MCXLII|MCCLXXV|MCCCLV|MDCXCIV|MDCCCLX";
strRespuestas = "102|124|271|383|495|566|689|718|857|931|1.009|1.142|1.275|1.355|1.694|1.860";
break;
case 'B1':
strTituloPagina = "B / V (1) How would you write correctly the following words?:";
strPreguntas = "A_eja|Agra_io|_ienal|_arco|_ifurcación|_ocanada|De_ate|Decli_e|Di_ersión|Ca_ellera|Cala_era|Cer_ical|Casca_el|_acilar|_enerar|_ástago";
strRespuestas = "Abeja|Agravio|Bienal|Barco|Bifurcación|Bocanada|Debate|Declive|Diversión|Cabellera|Calavera|Cervical|Cascabel|Vacilar|Venerar|Vástago";
break;
case 'B2':
strTituloPagina = "B / V (2) How would you write correctly the following words?:";
strPreguntas = "Al_ergue|A_ícola|_isagra|_imotor|_lasfemia|_rasero|De_ilidad|Delicti_o|Disol_ente|Cala_ozo|Cara_ana|Con_alidar|Corro_orar|_asija|_eneno|_elador";
strRespuestas = "Albergue|Avícola|Bisagra|Bimotor|Blasfemia|Brasero|Debilidad|Delictivo|Disolvente|Calabozo|Caravana|Convalidar|Corroborar|Vasija|Veneno|Velador";
break;
case 'B3':
strTituloPagina = "B / V (3) How would you write correctly the following words?:";
strPreguntas = "Al_orotar|An_erso|_lando|_astón|_lindaje|_uceador|De_utar|Deporti_o|Dilu_iar|Cam_alache|Carna_al|Cara_ela|Contri_uir|_elatorio|Venda_al|_ejiga";
strRespuestas = "Alborotar|Anverso|Blando|Bastón|Blindaje|Buceador|Debutar|Deportivo|Diluviar|Cambalache|Carnaval|Carabela|Contribuir|Velatorio|Vendaval|Vejiga";
break;
case 'B4':
strTituloPagina = "B / V (4) How would you write correctly the following words?:";
strPreguntas = "Ar_usto|A_ispa|_loquear|_ólido|_rillante|_estia|De_eres|De_aneo|Dia_ólico|Caram_ola|Cauti_o|Circun_alar|Com_inar|_acante|_endaje|_arapalo";
strRespuestas = "Arbusto|Avispa|Bloquear|Bólido|Brillante|Bestia|Deberes|Devaneo|Diabólico|Carambola|Cautivo|Circunvalar|Combinar|Vacante|Vendaje|Varapalo";
break;
case 'B5':
strTituloPagina = "B / V (5) How would you write correctly the following words?:";
strPreguntas = "Archi_o|Algara_ía|_lusa|_ramido|_ravo|_ella|Deli_erar|De_orar|Di_agar|Carta_ón|Ca_erna|Con_ocar|Co_ertura|_aciar|_encejo|_ándalo";
strRespuestas = "Archivo|Algarabía|Blusa|Bramido|Bravo|Bella|Deliberar|Devorar|Divagar|Cartabón|Caverna|Convocar|Cobertura|Vaciar|Vencejo|Vándalo";
break;
case 'B6':
strTituloPagina = "B / V (6) How would you write correctly the following words?:";
strPreguntas = "Auto_ús|Am_ulante|_alón|Bri_ón|_ufón|_igote|Des_aratar|Des_encijar|Des_ocar|Ce_ada|Cer_atillo|Con_ulsión|Cola_orar|_adear|Vena_lo|_allado";
strRespuestas = "Autobús|Ambulante|Balón|Bribón|Bufón|Bigote|Desbaratar|Desvencijar|Desbocar|Cebada|Cervatillo|Convulsión|Colaborar|Vadear|Venablo|Vallado";
break;
case 'B7':
strTituloPagina = "B / V (7) How would you write correctly the following words?:";
strPreguntas = "Ala_anza|A_estruz|_andeja|_asura|_ujía|_úcaro|Des_ordar|Depra_ado|Deci_elio|Cancer_ero|Ca_idad|Ci_ilizar|Ci_ernética|_agabundo|_ellosidad|_aivén";
strRespuestas = "Alabanza|Avestruz|Bandeja|Basura|Bujía|Búcaro|Desbordar|Depravado|Decibelio|Cancerbero|Cavidad|Civilizar|Cibernética|Vagabundo|Vellosidad|Vaivén";
break;
case 'G1':
strTituloPagina = "G / J (1) How would you write correctly the following words?:";
strPreguntas = "Abe_a|Alme_a|An_ina|Anti_edad|Dibu_ar|Ca_a|Ci_eña|Co_ín|Co_o|Hala_o|Nave_ante|Refri_erar|Esco_er|Reli_ión|Cerro_o";
strRespuestas = "abeja|almeja|angina|antigüedad|dibujar|caja|cigüeña|cojín|cojo|halago|navegante|refrigerar|escoger|religión|cerrojo";
break;
case 'G2':
strTituloPagina = "G / J (2) How would you write correctly the following words?:";
strPreguntas = "Cone_o|A_enda|Cora_e|Anal_ésico|Lente_as|Prodi_ioso|Pasa_e|Diri_ir|Espe_ismo|A_ente|Aluniza_e|Homo_éneo|Foto_énico|Olea_e|Paisa_ista";
strRespuestas = "conejo|agenda|coraje|analgésico|lentejas|prodigioso|pasaje|dirigir|espejismo|agente|alunizaje|homogéneo|fotogénico|oleaje|paisajista";
break;
case 'G3':
strTituloPagina = "G / J (3) How would you write correctly the following words?:";
strPreguntas = "Co_er|Aborda_e|Relo_ería|Mar_en|Cru_ir|Brú_ula|_énero|Le_os|Ima_en|Maquilla_e|Mensa_e|Ori_en|Embala_e|Prote_er|Pluma_e";
strRespuestas = "coger|abordaje|relojería|margen|crujir|brújula|género|lejos|imagen|maquillaje|mensaje|origen|embalaje|proteger|plumaje";
break;
case 'G4':
strTituloPagina = "G / J (4) How would you write correctly the following words?:";
strPreguntas = "A_encia|Aco_ida|Beren_ena|Can_ear|Cole_io|Ena_enar|_ente|Ener_ía|Extran_ero|Here_ía|In_erir|In_ertar|Le_ión|Ma_ia|Tan_ente|Tar_eta";
strRespuestas = "agencia|acogida|berenjena|canjear|colegio|enajenar|gente|energía|extranjero|herejía|ingerir|injertar|legión|magia|tangente|tarjeta";
break;
case 'Y1':
strTituloPagina = "Y / LL (1) How would you write correctly the following words?:";
strPreguntas = "Ensaladi_a|Go_a|Gri_o|Pro_ectil|Ra_a|Senci_o|Subra_ar|Toa_a|Tobi_o|Toca_o|Ensa_ar|Gru_a|Peri_a|Ra_o|Rodi_a";
strRespuestas = "ensaladilla|Goya|grillo|proyectil|raya|sencillo|subrayar|toalla|tobillo|tocayo|ensayar|grulla|perilla|rayo|rodilla";
break;
case 'Y2':
strTituloPagina = "Y / LL (2) How would you write correctly the following words?:";
strPreguntas = "Rabadi_a|Re_eno|Tra_ecto|Tri_adora|Patru_a|Cón_uge|Pasi_o|Le_es|Pe_ejo|Pepini_o|Rastri_o|Su_o|Pasti_a|Rosqui_a|Pe_izco";
strRespuestas = "rabadilla|relleno|trayecto|trilladora|patrulla|cónyuge|pasillo|leyes|pellejo|pepinillo|rastrillo|suyo|pastilla|rosquilla|pellizco";
break;
case 'Y3':
strTituloPagina = "Y/LL (3) How would you write correctly the following words?:";
strPreguntas = "_acimiento|_amar|_egua|Bote_a|Casti_o|Ganchi_o|Gui_otina|Hu_ó|Jeringui_a|Laca_o|Meda_a|Pa_aso|Pla_a|Servi_eta|Va_amos|Vari_a";
strRespuestas = "yacimiento|llamar|yegua|botella|castillo|ganchillo|guillotina|huyó|jeringuilla|lacayo|medalla|payaso|playa|servilleta|vayamos|varilla";
break;
case 'Y4':
strTituloPagina = "Y/LL (4) How would you write correctly the following words?:";
strPreguntas = "Torni_o|Bordi_o|Carreti_a|Fa_ar|Fa_ecer|Ensa_ar|Fo_eto|Fue_e|_eso|_ate|_ema|Bue_es|O_ese|Pose_endo|Reclu_ó|Enro_ar";
strRespuestas = "tornillo|bordillo|carretilla|fallar|fallecer|ensayar|folleto|fuelle|yeso|yate|yema|bueyes|oyese|poseyendo|recluyó|enrollar";
break;
case 'Y5':
strTituloPagina = "Y/LL (5) How would you write correctly the following words?:";
strPreguntas = "Abo_adura|Aca_ar|Ba_esta|Ba_eta|Ca_uco|Ca_ena|Embro_ar|En_esar|Dego_ado|Desa_uno|_anura|_ermo|_enar|Ha_azgo|Papaga_o|Ma_onesa";
strRespuestas = "abolladura|acallar|ballesta|bayeta|cayuco|cayena|embrollar|enyesar|degollado|desayuno|llanura|yermo|llenar|hallazgo|papagayo|mayonesa";
break;
case 'H1':
strTituloPagina = "H (1) How would you write correctly the following words?:";
strPreguntas = "_abitación|_ielo|_orno|_espejo|_empujar|_elado|_ogar|_echar|_águila|_uir|_ermano|_excursión|_ombro|_umo|_escoba|_abanico";
strRespuestas = "habitación|hielo|horno|espejo|empujar|helado|hogar|echar|águila|huir|hermano|excursión|hombro|humo|escoba|abanico";
break;
case 'H2':
strTituloPagina = "H (2) How would you write correctly the following words?:";
strPreguntas = "_arina|_ipócrita|_ueso|_indio|_ensalada|_acia|_igo|_abajo|_óseo|_otel|_ablar|_orfanato|_ígado|_orrible|_era|_invierno";
strRespuestas = "harina|hipócrita|hueso|indio|ensalada|hacia|higo|abajo|óseo|hotel|hablar|orfanato|hígado|horrible|era|invierno";
break;
case 'H3':
strTituloPagina = "H (3) How would you write correctly the following words?:";
strPreguntas = "_erencia|_oja|_úmedo|_igual|_acero|_ervir|_ormiga|_ayer|_estrella|_uracán|_amburguesa|_ojo|_ilo|_uelga|_escoger|_iglesia ";
strRespuestas = "herencia|hoja|húmedo|igual|acero|hervir|hormiga|ayer|estrella|huracán|hamburguesa|ojo|hilo|huelga|escoger|iglesia";
break;
case 'H4':
strTituloPagina = "H (4) How would you write correctly the following words?:";
strPreguntas = "_abitante|_ierro|_oróscopo|_idea|_azúcar|_embra|_oguera|_andar|_ermita|_umano|_erramienta|_umbral|_ierba|_undir|_emitir|_elegir";
strRespuestas = "habitante|hierro|horóscopo|idea|azúcar|hembra|hoguera|andar|ermita|humano|herramienta|umbral|hierba|hundir|emitir|elegir";
break;
case 'H5':
strTituloPagina = "H (5) How would you write correctly the following words?:";
strPreguntas = "_ambre|_ijo|_ueco|_istmo|_ostentar|_istoria|_uevo|_igiene|_oquedad|_arrabal|_erida|_acechar|_ombre|_umilde|_elección|_oleada";
strRespuestas = "hambre|hijo|hueco|istmo|ostentar|historia|huevo|higiene|oquedad|arrabal|herida|acechar|hombre|humilde|elección|oleada";
break;
case 'H6':
strTituloPagina = "H (6) How would you write correctly the following words?:";
strPreguntas = "A_ogar|Almo_ada|Pro_ibido|Ba_utizar|Ca_imán|A_orrar|Des_acer|Ca_ótico|Di_adema|Zana_oria|Alco_ol|Fi_ambrera|Me_andro|Caca_uete|Ve_ículo|Va_ina";
strRespuestas = "ahogar|almohada|prohibido|bautizar|caimán|ahorrar|deshacer|caótico|diadema|zanahoria|alcohol|fiambrera|meandro|cacahuete|vehículo|vaina";
break;
case 'Hr1':
strTituloPagina = "R/RR(1) How would you write correctly the following words?:";
strPreguntas = "P_ohibido|Aho_ar|Ba_co|Calo_|_umor|Hon_oso|Ba_ba|_itual|Hon_ado|A_oyo|Ca_etera|Sub_ayado|A_iba|Ca_etilla|_emo|Is_aelí";
strRespuestas = "Prohibido|Ahorrar|Barco|Calor|Rumor|Honroso|Barba|Ritual|Honrado|Arroyo|Carretera|Subrayado|Arriba|Carretilla|Remo|Israelí";
break;
case 'Hr2':
strTituloPagina = "R/RR(2) How would you write correctly the following words?:";
strPreguntas = "Ab_upto|Ba_eño|Mi_illa|Pa_illa|P_ueba|_eloj|_incón|_odilla|_umiante|Se_ano|Se_ucho|Sub_utina|Ca_tilla|_ascador|En_ique|Hon_adez";
strRespuestas = "Abrupto|Barreño|Mirilla|Parrilla|Prueba|Reloj|Rincón|Rodilla|Rumiante|Serrano|Serrucho|Subrutina|Cartilla|Rascador|Enrique|Honradez";
break;
case 'Hr3':
strTituloPagina = "R/RR(3) How would you write correctly the following words?:";
strPreguntas = "Al_ededor|A_opar|Ba_anco|Ca_a|De_ota|Hon_ar|Gue_ero|Is_ael|Ma_uecos|Mi_ador|P_ado|_atón|_ibera|_ima|_ueda|Sabo_";
strRespuestas = "Alrededor|Arropar|Barranco|Cara|Derrota|Honrar|Guerrero|Israel|Marruecos|Mirador|Prado|Ratón|Ribera|Rima|Rueda|Sabor";
break;
case 'Hm1':
strTituloPagina = "M/N (1) How would you write correctly the following words?:";
strPreguntas = "A_bulancia|A_plificador|Ca_peón|Co_bate|Co_prender|Gi_nasio|Álbu_|Ó_nibus|O_nívoro|A_verso|Co_natural|E_vidioso|I_vento|E_negrecer|I_vitar|Circu_scribir";
strRespuestas = "Ambulancia|Amplificador|Campeón|Combate|Comprender|Gimnasio|Álbum|Ómnibus|Omnívoro|Anverso|Connatural|Envidioso|Invento|Ennegrecer|Invitar|Circunscribir";
break;
case 'Hm2':
strTituloPagina = "M/N (2) How would you write correctly the following words?:";
strPreguntas = "O_nipotente|Pere_ne|Sie_pre|Si_número|Sole_nidad|E_vidia|E_vío|Tra_scribir|Co_stancia|Curriculu_|I_numerable|I_strumental|I_vierno|Sole_ne|Zu_|Tra_sporte";
strRespuestas = "Omnipotente|Perenne|Siempre|Sinnúmero|Solemnidad|Envidia|Envío|Transcribir|Constancia|Curriculum|Innumerable|Instrumental|Invierno|Solemne|Zum|Transporte";
break;
case 'Hm3':
strTituloPagina = "M/N (3) How would you write correctly the following words?:";
strPreguntas = "Auditóriu_|Circu_stancial|Co_notable|Ca_biar|Co_stante|Co_vivir|Cu_pleaños|E_noblecer|Gi_nástica|I_noble|I_nombrable|I_strumento|I_ventor|I_vocar|Ta_bién|Ta_bor";
strRespuestas = "Auditórium|Circunstancial|Connotable|Cambiar|Constante|Convivir|Cumpleaños|Ennoblecer|Gimnástica|Innoble|Innombrable|Instrumento|Inventor|Invocar|También|Tambor";
break;
case 'Hx1':
strTituloPagina = "X (1) How would you write correctly the following words?:";
strPreguntas = "Ane_o|Bo_eo|E_amen|E_pesa|E_ministro|Rece_ión|E_plicar|E_poleta|E_primir|Si_a|E_traño|E_puerta|Fle_ible|Má_imo|Géne_is|E_tragos";
strRespuestas = "Anexo|Boxeo|Examen|Espesa|Exministro|Recesión|Explicar|Espoleta|Exprimir|Sisa|Extraño|Espuerta|Flexible|Máximo|Génesis|Estragos";
break;
case 'Hx2':
strTituloPagina = "X (2) How would you write correctly the following words?:";
strPreguntas = "Pró_imo|Sa_ofón|E_tratégica|E_tremo|Ma_ilar|E_ternón|E_ótico|O_ígeno|E_polvorear|E_celente|Lé_ico|E_plendor|Sinta_is|Má_imo|Abi_al|A_ioma";
strRespuestas = "Próximo|Saxofón|Estratégica|Extremo|Maxilar|Esternón|Exótico|Oxígeno|Espolvorear|Excelente|Léxico|Esplendor|Sintaxis|Máximo|Abisal|Axioma";
break;
case 'Hx3':
strTituloPagina = "X (3) How would you write correctly the following words?:";
strPreguntas = "Asfi_ia|E_preso|E_pora|Ó_ido|E_traer|E_terilizar|Au_ilio|E_plotar|E_quivo|Se_teto|Te_tual|Mi_to|E_pliego|E_alcalde|La_ante|Sece_ión";
strRespuestas = "Asfixia|Expreso|Espora|Óxido|Extraer|Esterilizar|Auxilio|Explotar|Esquivo|Sexteto|Textual|Mixto|Espliego|Exalcalde|Laxante|Secesión";
break;
case 'Hx4':
strTituloPagina = "X (4) How would you write correctly the following words?:";
strPreguntas = "Cone_ión|E_propiar|E_trafalario|Lu_ación|E_traviar|E_pléndido|E_planada|Te_til|E_tremecer|E_primidor|Prete_tar|E_tranjero|A_estar|Filo_era|Ortodo_o|E_tratosfera";
strRespuestas = "Conexión|Expropiar|Estrafalario|Luxación|Extraviar|Espléndido|Explanada|Textil|Estremecer|Exprimidor|Pretextar|Extranjero|Asestar|Filoxera|Ortodoxo|Estratosfera";
break;
case 'X1':
strTituloPagina = "(1) Write the tilde, if it is necesary, in the following words:";
strPreguntas = "Camion|Paris|Tambien|Sofa|Doctor|Reloj|Pared|Fidel|Chandal|Ambar|Cesped|Lapiz|Cama|Virus|Virgen|Arena";
strRespuestas = "Camión|París|También|Sofá|Doctor|Reloj|Pared|Fidel|Chándal|Ámbar|Césped|Lápiz|Cama|Virus|Virgen|Arena";
break;
case 'X2':
strTituloPagina = "(2) Write the tilde, if it is necesary, in the following words:";
strPreguntas = "Mostrar|Borrador|Corcel|Usted|Pala|Suave|Crisis|Trajeron|Melon|Cafe|Poesia|Anis|Azucar|Facil|Lopez|Cenit";
strRespuestas = "Mostrar|Borrador|Corcel|Usted|Pala|Suave|Crisis|Trajeron|Melón|Café|Poesía|Anís|Azúcar|Fácil|López|Cénit";
break;
case 'X3':
strTituloPagina = "(3) Write the tilde, if it is necesary, in the following words:";
strPreguntas = "Brujula|Pajaro|Nucleo|Rapaz|Motor|Claridad|Mama|Comio|Limon|Habia|Martir|Docil|Leyeron|Pistas|Alferez|Jugando";
strRespuestas = "Brújula|Pájaro|Núcleo|Rapaz|Motor|Claridad|Mamá|Comió|Limón|Había|Mártir|Dócil|Leyeron|Pistas|Alférez|Jugando";
break;
case 'C11':
strTituloPagina = "(1) What is the Capital of the following  european Nations?:";
strPreguntas = "Portugal|España|Francia|Suiza|Italia|Grecia|Reino Unido|Noruega|Dinamarca|Suecia|Alemania|Bélgica|Austria|Andorra|San Marino|Vaticano";
strRespuestas = "Lisboa|Madrid|París|Berna|Roma|Atenas|Londres|Oslo|Copenhague|Estocolmo|Berlín|Bruselas|Viena|Andorra la Vieja|San Marino|Ciudad del Vaticano";
break;
case 'C12':
strTituloPagina = "(2) What is the Capital of the following european Nations?:";
strPreguntas = "Países Bajos (Ofi)|Irlanda|Islandia|Finlandia|Estonia|Letonia|Lituania|Polonia|Bielorrusia|Rusia|Albania|Bulgaria|Rumanía|Turquía|Georgia|Armenia";
strRespuestas = "Amsterdam|Dublín|Reikiavik|Helsinki|Tallín|Riga|Vilna|Varsovia|Minsk|Moscú|Tirana|Sofía|Bucarest|Ankara|Tiflis|Ereván";
break;
case 'C13':
strTituloPagina = "(3) What is the Capital of the following european Nations?:";
strPreguntas = "Hungría|Rep Checa|Ucrania|Eslovenia|Eslovaquia|Malta|Liechtenstein|Mónaco|Luxemburgo|Moldavia|Croacia|Bosnia-Hzg|Serbia|Montenegro|Macedonia|Chipre";
strRespuestas = "Budapest|Praga|Kiev|Liubliana|Bratislava|La Valeta|Vaduz|Mónaco|Luxemburgo|Chisinau|Zagreb|Sarajevo|Belgrado|Podgorica|Skopie|Nicosia";
break;
case 'C21':
strTituloPagina = "(1) What is the Capital of the following Asian Nations?:";
strPreguntas = "Libano|Israel|Chipre|Jordania|Siria|Irak|Kuwait|Arabia Saudí|Bahréin|Qatar|Yemen|Omán";
strRespuestas = "Beirut|Jerusalén|Nicosia|Ammán|Damasco|Bagdad|Kuwait|Riad|Manama|Doha|Saná|Mascate";
break;
case 'C22':
strTituloPagina = "(2) What is the Capital of the following Asian Nations?:";
strPreguntas = "Georgia|Rusia|Kazajistán|Turkmenistán|Uzbekistán|Kirguistán|Tayikistán|Afganistán|Pakistán|India|Sri Lanka (Ofi)|Maldivas";
strRespuestas = "Tiflis|Moscú|Astaná|Asjabad|Taskent|Biskek|Dusambé|Kabul|Islamabad|Nueva Delhi|Colombo|Malé";
break;
case 'C23':
strTituloPagina = "(3) What is the Capital of the following Asian Nations?:";
strPreguntas = "Tailandia|Camboya|Vietnam|Laos|China|Mongolia|Corea Norte|Corea Sur|Japón|Filipinas|Indonesia|Malasia|Birmania (Ofi)";
strRespuestas = "Bangkok|Phnom Penh|Hanói|Vientián|Pekín|Ulán Bator|Pyongyang|Seúl|Tokio|Manila|Yakarta|Kuala Lumpur|Naypyidaw";
break;
case 'C24':
strTituloPagina = "(4) What is the Capital of the following Asian Nations?:";
strPreguntas = "Emiratos A.U. |Irán|Azerbaiyán|Armenia|Nepal|Bután|Bangladesh|Brunei|Singapur|Taiwán|Turquía|Myanmar (Ofi)";
strRespuestas = "Abu Dabi|Teherán|Bakú|Ereván|Katmandú|Timbu|Dacca|Bandar Seri Begawan|Singapur|Taipei|Ankara|Naypyidaw";
break;
case 'C31':
strTituloPagina = "(1) What is the Capital of the following Nations of Africa?:";
strPreguntas = "Marruecos|Mauritania|Senegal|Gambia|Guinea|Sierra Leona|Liberia|Ghana|Togo|Benín|Nigeria|Burkina Faso|Malí|Níger|Argelia|Túnez";
strRespuestas = "Rabat|Nuakchot|Dakar|Banjul|Conakry|Freetown|Monrovia|Accra|Lomé|Porto Novo|Abuya|Uagadugú|Bamako|Niamey|Argel|Túnez";
break;
case 'C32':
strTituloPagina = "(2) What is the Capital of the following Nations of Africa?:";
strPreguntas = "Libia|Egipto|Chad|Camerún|Guinea Ecuatorial|Gabón|Rep Congo|R Centroafricana|Sudán|Uganda|Ruanda|Burundi|RD del Congo";
strRespuestas = "Trípoli|El Cairo|Yamena|Yaundé|Malabo|Libreville|Brazzaville|Bangui|Jartum|Kampala|Kigali|Buyumbura|Kinshasa";
break;
case 'C33':
strTituloPagina = "(3) What is the Capital of the following Nations of Africa?:";
strPreguntas = "Botsuana|Zimbabue|Zambia|Malaui|Mozambique|Madagascar|Las Comoras|Tanzania (Ofi)|Kenia|Etiopía|Somalia|Eritrea|Guinea-Bissau";
strRespuestas = "Gaborone|Harare|Lusaka|Lilongüe|Maputo|Antananarivo|Moroni|Dodoma|Nairobi|Adís Abeba|Mogadiscio|Asmara|Bissau";
break;
case 'C34':
strTituloPagina = "(4) What is the Capital of the following Nations of Africa?:";
strPreguntas = "Níger|Argelia|Túnez|Angola|Namibia|Sudáfrica (Ofi)|Lesoto|Santo Tomé y Príncipe|Las Seychelles|Mauricio|Suazilandia (Ofi)|Cabo Verde|Costa de Marfil (Ofi)|Djibouti";
strRespuestas = "Niamey|Argel|Túnez|Luanda|Windhoek|Pretoria|Maseru|Santo Tomé|Victoria|Port-Louis|Mbabane|Praia|Yamusukro|Djibouti";
break;
case 'C41':
strTituloPagina = "(1) What is the Capital of the following Nations of America?: ";
strPreguntas = "Canadá|Estados Unidos|México|Belice|Guatemala|Honduras|El Salvador|Nicaragua|Costa Rica|Panamá|Cuba|R Dominicana";
strRespuestas = "Ottawa|Washington D.C.|México D. F.|Belmopán|Ciudad de Guatemala|Tegucigalpa|San Salvador|Managua|San José|Panamá|La Habana|Santo Domingo";
break;
case 'C42':
strTituloPagina = "(2) What is the Capital of the following Nations of America?:";
strPreguntas = "Bahamas|Haití|Jamaica|Antigua y Barbuda|Barbados|Dominica|Granada|Saint Kitts y Nevis|San Vicente y Granadinas|Santa Lucía|Trinidad y Tobago|Guayana francesa";
strRespuestas = "Nassau|Puerto Príncipe|Kingston|Saint John\\'s|Bridgetown|Roseau|Saint George\\'s|Basseterre|Kingstown|Castries|Puerto España|Cayena";
break;
case 'C43':
strTituloPagina = "(3) What is the Capital of the following Nations of America?:";
strPreguntas = "Colombia|Venezuela|Guyana|Surinam|Brasil|Ecuador|Perú|Bolivia (Ofi)|Chile|Paraguay|Uruguay|Argentina";
strRespuestas = "Bogotá|Caracas|Georgetown|Paramaribo|Brasilia|Quito|Lima|Sucre|Santiago de Chile|Asunción|Montevideo|Buenos Aires";
break;
case 'C51':
strTituloPagina = "What is the Capital of the Nations of Oceania?:";
strPreguntas = "Australia|Nueva Zelanda|Micronesia|Papúa N Guinea|Palau|Islas Marshall|Fiyi|Samoa|Tonga|Islas Salomón|Vanuatu|Kiribati|Nauru|Niue|Tuvalu"
strRespuestas = "Canberra|Wellington|Palikir|Port Moresby|Koror|Majuro|Suva|Apia|Nuku\\'alofa|Honiara|Port Vila|Tarawa|Yaren|Alofi|Funafuti";
break;
case 'Cm1':
strTituloPagina = "(1) What is the Capital of the following Mexico States?:";
strPreguntas = "Aguascalientes|Baja California Sur|Chiapas|Coahuila|Durango|Guerrero|Jalisco|Michoacán|Nayarit|Oaxaca|Querétaro|San Luis Potosí|Sonora|Tamaulipas|Veracruz|Zacatecas";
strRespuestas = "Aguascalientes|La Paz|Tuxtla Gutiérrez|Saltillo|Durango|Chilpancingo|Guadalajara|Morelia|Tepic|Oaxaca|Querétaro|San Luis Potosí|Hermosillo|Ciudad Victoria|Jalapa|Zacatecas";
break;
case 'Cm2':
strTituloPagina = "(2) What is the Capital of the following Mexico States?:";
strPreguntas = "Baja California|Campeche|Chihuahua|Colima|Guanajuato|Hidalgo|Estado de México|Morelos|Nuevo León|Puebla|Quintana Roo|Sinaloa|Tabasco|Tlaxcala|Yucatán|Distrito Federal";
strRespuestas = "Mexicali|Campeche|Chihuahua|Colima|Guanajuato|Pachuca|Toluca|Cuernavaca|Monterrey|Puebla|Chetumal|Culiacán|Villahermosa|Tlaxcala|Mérida|Ciudad de México";
break;
case 'A1':
strTituloPagina = "(1) What are the Autonomy of the following provinces ?:";
strPreguntas = "Orense|Sevilla|Toledo|Salamanca|Vizcaya|La Rioja|Teruel|Valladolid|Lugo|Castellón|Jaén|Albacete"
strRespuestas = "Galicia|Andalucía|Castilla La Mancha|Castilla y León|País Vasco|La Rioja|Aragón|Castilla y León|Galicia|Comunidad Valenciana|Andalucía|Castilla La Mancha";
break;
case 'A2':
strTituloPagina = "(2) What are the Autonomy of the following provinces ?:";
strPreguntas = "Santander|Huelva|Lérida|Álava|León|Huesca|Baleares|Alicante|Granada|Burgos|Madrid|Cáceres|La Coruña"
strRespuestas = "Cantabria|Andalucía|Cataluña|País Vasco|Castilla y León|Aragón|Islas Baleares|Comunidad Valenciana|Andalucía|Castilla y León|Comunidad de Madrid|Extremadura|Galicia";
break;
case 'A3':
strTituloPagina = "(3) What are the Autonomy of the following provinces ?:";
strPreguntas = "Barcelona|Palencia|Cádiz|Las Palmas|Ciudad Real|Soria|Navarra|Álava|Murcia|Gerona|Málaga|Zamora|Córdoba"
strRespuestas = "Cataluña|Castilla y León|Andalucía|Islas Canarias|Castilla La Mancha|Castilla y León|Comunidad Foral de Navarra|País Vasco|Región de Murcia|Cataluña|Andalucía|Castilla y León|Andalucia";
break;
case 'A4':
strTituloPagina = "(4)What are the Autonomy of the following provinces ?:";
strPreguntas = "Guadalajara|Badajoz|Segovia|Almería|Santa Cruz de Tenerife|Tarragona|Zaragoza|Guipúzcoa|Asturias|Cuenca|Pontevedra|Valencia|Ávila"
strRespuestas = "Castilla La Mancha|Extremadura|Castilla y León|Andalucía|Islas Canarias|Cataluña|Aragón|País Vasco|Principado de Asturias|Castilla la Mancha|Galicia|Comunidad Valenciana|Castilla y León";
break;
case 'T1':
strTituloPagina = "(1) What is the name of Citizens of the following provinces?:";
strPreguntas = "Orense|Sevilla|Toledo|Salamanca|Vizcaya|La Rioja|Teruel|Valladolid|Lugo|Castellón|Jaén|Albacete"
strRespuestas = "orensano|sevillano|toledano|salmantino|vizcaíno|riojano|turolense|vallisoletano|lucense|castellonense|jienense|albaceteño";
break;
case 'T2':
strTituloPagina = "(2) What is the name of Citizens of the following provinces?:";
strPreguntas = "Santander|Huelva|Lérida|Álava|León|Huesca|Baleares|Alicante|Granada|Burgos|Madrid|Cáceres|La Coruña"
strRespuestas = "santanderino|onubense|leridano|alavés|leonés|oscense|balear|alicantino|granadino|burgalés|madrileño|cacereño|coruñés";
break;
case 'T3':
strTituloPagina = "(3) What is the name of Citizens of the following provinces?:";
strPreguntas = "Barcelona|Palencia|Cádiz|Ciudad Real|Soria|Navarra|Álava|Murcia|Gerona|Málaga|Zamora|Córdoba"
strRespuestas = "barcelonés|palentino|gaditano|ciudadrealeño|soriano|navarro|alavés|murciano|gerundense|malagueño|zamorano|cordobés";
break;
case 'T4':
strTituloPagina = "(4 )What is the name of Citizens of the following provinces?:";
strPreguntas = "Guadalajara|Badajoz|Segovia|Almería|Tarragona|Zaragoza|Guipúzcoa|Asturias|Cuenca|Pontevedra|Valencia|Ávila"
strRespuestas = "guadalajareño|pacense|segoviano|almeriense|tarraconense|zaragozano|guipuzcoano|asturiano|conquense|pontevedrés|valenciano|abulense";
break;
case 'T5':
strTituloPagina = "(5) What is the name of the inhabitant of the following cities?:";
strPreguntas = "Elche|Fuerteventura|Cabra|Melilla|Calahorra|Gijón|Calatayud|Ceuta|Ibiza|Mérida|Oviedo|Vigo"
strRespuestas = "ilicitano|majorero|egabrense|melillense|calagurritano|gijonés|bilbilitano|ceutí|ibicenco|emeritense|ovetense|vigués";
break;
case 'E1':
strTituloPagina = "(1) What is the capital of the following U.S. states?:";
strPreguntas = "Alabama|California|Connecticut|Distrito de Columbia|Idaho|Kansas|Maryland|Mississippi|New Hampshire|New Mexico|Pennsylvania|Utah|West Virginia";
strRespuestas = "Montgomery|Sacramento|Hartford|Washington DC|Boise|Topeca|Annapolis|Jackson|Concord|Santa Fe|Harrisburg|Salt Lake City|Charleston";
break;
case 'E2':
strTituloPagina = "(2) What is the capital of the following U.S. states?:";
strPreguntas = "Alaska|North Carolina|North Dakota|Florida|Illinois|Kentucky|Massachussetts|Missouri|New Jersey|Ohio|Rhode Island|Washington|Wisconsin";
strRespuestas = "Juneau|Raleigh|Bismarck|Tallahassee|Springfield|Frankfort|Boston|Jefferson City|Trenton|Columbus|Providence|Olympia|Madison";
break;
case 'E3':
strTituloPagina = "(3) What is the capital of the following U.S. states?:";
strPreguntas = "Arizona|South Carolina|South Dakota|Georgia,|Indiana|Louisiana|Michigan|Montana|Nevada|Oklahoma|Tennessee|Vermont|Wyoming";
strRespuestas = "Phoenix|Columbia|Pierre|Atlanta|Indianapolis|Baton Rouge|Lansing|Helena|Carson City |Oklahoma City|Nashville|Montpelier|Cheyene";
break;
case 'E4':
strTituloPagina = "(4) What is the capital of the following U.S. states?:";
strPreguntas = "Arkansas|Colorado|Delaware|Hawaii|Iowa|Maine|Minnesota|Nebraska|New York|Oregon|Texas|Virginia";
strRespuestas = "Little Rock|Denver|Dover|Honolulu|Des Moines|Augusta|Saint Paul|Lincoln|Albany|Salem|Austin|Richmond";
break;
case 'W1':
strTituloPagina = "(1) ¿Cómo escribirías en Inglés los siguientes números?<br/>How would you write in English the following numbers?";
strPreguntas = "7|15|40|9|8|12|13|30|5|14|11|16|90|4|50";
strRespuestas = "Seven|Fifteen|Forty|Nine|Eight|Twelve|Thirteen|Thirty|Five|Fourteen|Eleven|Sixteen|Ninety|Four|Fifty";
break;
case 'W2':
strTituloPagina = "(2) ¿Cómo escribirías en Inglés los siguientes números?<br/>How would you write in English the following numbers?";
strPreguntas = "18|80|800|500|5.000|400|4.000.000|4.000|19|900|1|100|1.000.000|1.000|17";
strRespuestas = "Eighteen|Eighty|Eight hundred|Five hundred|Five thousand|Four hundred|Four million|Four thousand|Nineteen|Nine hundred|One|One hundred|One million|One thousand|Seventeen";
break;
case 'W3':
strTituloPagina = "(3) ¿Cómo escribirías en Inglés los siguientes números?<br/>How would you write in English the following numbers?";
strPreguntas = "70|700|6|600|60|10|3|300|3.000.000|3.000|20|2|200|2.000.000|2.000";
strRespuestas = "Seventy|Seven hundred|Six|Six hundred|Sixty|Ten|Three|Three hundred|Three million|Three thousand|Twenty|Two|Two hundred|Two million|Two thousand";
break;
case 'W31':
strTituloPagina = "(4) ¿Cómo escribirías en Inglés los siguientes números?<br/>How would you write in English the following numbers?";
strPreguntas = "608|224|407|443|309|1.207|7.432|3.564|6.006|101|789|912|532|222|579|976";
strRespuestas = "six hundred and eight|two hundred and twenty four|four hundred and seven|four hundred and forty three|three hundred and nine|one thousand two hundred and seven|seven thousand four hundred and thirty two|three thousand five hundred and sixty four|six thousand and six|one hundred and one|seven hundred and eighty nine|nine hundred and twelve|five hundred and thirty two|two hundred and twenty two|five hundred and seventy nine|nine hundred and seventy six";
break;
case 'W4':
strTituloPagina = "(5) ¿Cómo escribirías con cifras los siguientes números?<br/>How would you write with digits the following numbers?";
strRespuestas = "7|15|40|9|8|12|13|30|5|14|11|16|90|4|50";
strPreguntas = "Seven|Fifteen|Forty|Nine|Eight|Twelve|Thirteen|Thirty|Five|Fourteen|Eleven|Sixteen|Ninety|Four|Fifty";
break;
case 'W5':
strTituloPagina = "(6) ¿Cómo escribirías con cifras los siguientes números?<br/>How would you write with digits the following numbers?";
strRespuestas = "18|80|800|500|5.000|400|4.000.000|4.000|19|900|1|100|1.000.000|1.000|17";
strPreguntas = "Eighteen|Eighty|Eight hundred|Five hundred|Five thousand|Four hundred|Four million|Four thousand|Nineteen|Nine hundred|One|One hundred|One million|One thousand|Seventeen";
break;
case 'W6':
strTituloPagina = "(7) ¿Cómo escribirías con cifras los siguientes números?<br/>How would you write with digits the following numbers?";
strRespuestas = "70|700|6|600|60|10|3|300|3.000.000|3.000|20|2|200|2.000.000|2.000";
strPreguntas = "Seventy|Seven hundred|Six|Six hundred|Sixty|Ten|Three|Three hundred|Three million|Three thousand|Twenty|Two|Two hundred|Two million|Two thousand";
break;
case 'Ic1':
strTituloPagina = "(3) ¿Cómo escribirías en Inglés los siguientes colores?<br/>How would you write in English the following colours?";
strPreguntas = "Negro|Azul|Marrón|Fucsia|Gris|Verde|Granate|Naranja|Rosa|Morado|Rojo|Plata|Violeta|Blanco|Amarillo";
strRespuestas = "Black|Blue|Brown|Fuchsia|Gray|Green|Maroon|Orange|Pink|Purple|Red|Silver|Violet|White|Yellow";
break;
case 'Ic2':
strTituloPagina = "(4) ¿Cómo escribirías en Inglés los siguientes colores?<br/>How would you write in English the following colours?";
strPreguntas = "Oscuro|Claro|Pálido|Brillante|Dorado|Celeste|Turquesa|Verde oscuro|Gris claro|Verde azulado|Lila|Carmesí|Azul marino|Castaño";
strRespuestas = "Dark|Light|Pale|Shiny|Golden|Sky blue|Turquoise|Dark green|Light gray|Teal|Mauve|Crimson|Navy blue|Chestnut";
break;
case 'Ic3':
strTituloPagina = "(1) ¿Cómo escribirías en Español los siguientes colores?<br/>How would you write in Spanish the following colours?";
strRespuestas = "Negro|Azul|Marrón|Fucsia|Gris|Verde|Granate|Naranja|Rosa|Morado|Rojo|Plata|Violeta|Blanco|Amarillo";
strPreguntas = "Black|Blue|Brown|Fuchsia|Gray|Green|Maroon|Orange|Pink|Purple|Red|Silver|Violet|White|Yellow";
break;
case 'Ic4':
strTituloPagina = "(2) ¿Cómo escribirías en Español los siguientes colores?<br/>How would you write in Spanish the following colours?";
strRespuestas = "Oscuro|Claro|Pálido|Brillante|Dorado|Celeste|Turquesa|Verde oscuro|Gris claro|Verde azulado|Lila|Carmesí|Azul marino|Castaño";
strPreguntas = "Dark|Light|Pale|Shiny|Golden|Sky blue|Turquoise|Dark green|Light gray|Teal|Mauve|Crimson|Navy blue|Chestnut";
break;
case 'Ib1':
strTituloPagina = "(4) ¿Cómo escribirías en Inglés las siguientes partes del cuerpo?<br/>How would you write in English the following parts of the body?";
strPreguntas = "Tobillo|Brazo|Ojos|Cara|Dedos|Mano|Cabeza|Pierna|Boca|Frente|Nariz|Cabello|Cuello|Dedos del pie|Rodilla|Codo";
strRespuestas = "Ankle|Arm|Eyes|Face|Fingers|Hand|Head|Leg|Mouth|Forehead|Nose|Hair|Neck|Toes|Knee|Elbow";
break;
case 'Ib2':
strTituloPagina = "(5) ¿Cómo escribirías en Inglés las siguientes partes del cuerpo?<br/>How would you write in English the following parts of the body?";
strPreguntas = "Puño|Labios|Uñas|Hombro|Cintura|Muñeca|Lengua|Pies|Espalda|Cejas|Pestañas|Párpados|Pecho|Mentón|Mejillas|Diente";
strRespuestas = "Fist|Lips|Nails|Shoulder|Waist|Wris|Tongue|Feet|Back|Eyebrows|Eyelashes|Eyelids|Chest|Chin|Cheeks|Tooth";
break;
case 'Ib3':
strTituloPagina = "(6) ¿Cómo escribirías en Inglés las siguientes partes del cuerpo?<br/>How would you write in English the following parts of the body?";
strPreguntas = "Sangre|Huesos|Riñones|Hígado|Pulmones|Costilla|Piel|Tronco|Cerebro|Garganta|Corazón|Caderas|Esqueleto|Cráneo|Tórax|Vena";
strRespuestas = "Blood|Bones|kidneys|Liver|Lungs|Rib|Skin|Trunk|Brain|Throat|Heart|Hips|Skeleton|Skull|Thorax|Vein";
break;
case 'Ib4':
strTituloPagina = "(1) ¿Cómo escribirías en Español las siguientes partes del cuerpo?<br/>How would you write in Spanish the following parts of the body?";
strRespuestas = "Tobillo|Brazo|Espalda|Sangre|Huesos|Mejillas|Pecho|Mentón|Orejas|Codo|Cejas|Párpados|Ojos|Cara|Pies|Dedos";
strPreguntas = "Ankle|Arm|Back|Blood|Bones|Cheeks|Chest|Chin|Ears|Elbow|Eyebrows|Eyelashes|Eyes|Face|Feet|Fingers";
break;
case 'Ib5':
strTituloPagina = "(2) ¿Cómo escribirías en Español las siguientes partes del cuerpo?<br/>How would you write in Spanish the following parts of the body?";
strRespuestas = "Puño|Pie|Frente|Cabello|Mano|Cabeza|Corazón|Caderas|Riñones|Rodilla|Pierna|Labios|Pulmones|Boca|Uñas|Nuca";
strPreguntas = "Fist|Foot|Forehead|Hair|Hand|Head|Heart|Hips|kidneys|Knee|Leg|Lips|Lungs|Mouth|Nails|Nape";
break;
case 'Ib6':
strTituloPagina = "(3) ¿Cómo escribirías en Español las siguientes partes del cuerpo?<br/>How would you write in Spanish the following parts of the body?";
strRespuestas = "Cuello|Costilla|Hombro|Piel|Estómago|Dientes|Tórax|Garganta|Dedos del pie|Lengua|Diente|Tronco|Cintura|Muñeca|Cerebro|Pestañas";
strPreguntas = "Neck|Rib|Shoulder|Skin|Stomach|Teeth|Thorax|Throat|Toes|Tongue|Tooth|Trunk|Waist|Wrist|Brain|Eyelids";
break;
case 'Im1':
strTituloPagina = "(3) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Abril|Agosto|Año|Día|Diciembre|Domingo|Enero|Febrero|Hora|Invierno|Jueves|Julio|Junio|Lunes|Mañana|Martes";
strRespuestas = "April|August|Year|Day|December|Sunday|January|February|Hour|Winter|Thursday|July|June|Monday|Morning|Tuesday";
break;
case 'Im2':
strTituloPagina = "(4) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Marzo|Mayo|Mes|Miércoles|Noche|Noviembre|Octubre|Otoño|Primavera|Sábado|Semana|Septiembre|Siglo|Tarde|Verano|Viernes";
strRespuestas = "March|May|Month|Wednesday|Night|November|October|Autumn|Spring|Saturday|Week|September|Century|Afternoon|Summer|Friday";
break;
case 'Im3':
strTituloPagina = "(1) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Abril|Agosto|Año|Día|Diciembre|Domingo|Enero|Febrero|Hora|Invierno|Jueves|Julio|Junio|Lunes|Mañana|Martes";
strPreguntas = "April|August|Year|Day|December|Sunday|January|February|Hour|Winter|Thursday|July|June|Monday|Morning|Tuesday";
break;
case 'Im4':
strTituloPagina = "(2) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Marzo|Mayo|Mes|Miércoles|Noche|Noviembre|Octubre|Otoño|Primavera|Sábado|Semana|Septiembre|Siglo|Tarde|Verano|Viernes";
strPreguntas = "March|May|Month|Wednesday|Night|November|October|Autumn|Spring|Saturday|Week|September|Century|Afternoon|Summer|Friday";
break;
case 'If1':
strTituloPagina = "(3) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Abuelos|Esposa|Esposo|Hermana|Hermano|Hija|Hijo|Hijos|Madre|Nietos|Padre|Primo|Sobrina|Sobrino|Tía|Tío";
strRespuestas = "Grandparents|Wife|Husband|Sister|Brother|Daughter|Son|Children|Mother|Grandchildren|Father|Cousin|Niece|Nephew|Aunt|Uncle";
break;
case 'If2':
strTituloPagina = "(4) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Abuela|Abuelo|Nieta|Nieto|Padres|Mamá|Papá|Cuñado|Cuñada|Suegra|Suegro|Ahijada|Ahijado|Hijastra|Hijastro|Mascota";
strRespuestas = "Grandmother|Grandfather|Granddaughter|Grandson|Parents|Mom|Dad|Brother in law|Sister in law|Mother in law|Father in law|Goddaughter|Godson|Stepdaughter|Stepson|Pet";
break;
case 'If3':
strTituloPagina = "(1) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Abuelos|Esposa|Esposo|Hermana|Hermano|Hija|Hijo|Hijos|Madre|Nietos|Padre|Primo|Sobrina|Sobrino|Tía|Tío";
strPreguntas = "Grandparents|Wife|Husband|Sister|Brother|Daughter|Son|Children|Mother|Grandchildren|Father|Cousin|Niece|Nephew|Aunt|Uncle";
break;
case 'If4':
strTituloPagina = "(2) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Abuela|Abuelo|Nieta|Nieto|Padres|Mamá|Papá|Cuñado|Cuñada|Suegra|Suegro|Ahijada|Ahijado|Hijastra|Hijastro|Mascota";
strPreguntas = "Grandmother|Grandfather|Granddaughter|Grandson|Parents|Mom|Dad|Brother in law|Sister in law|Mother in law|Father in law|Goddaughter|Godson|Stepdaughter|Stepson|Pet";
break;
case 'Ih1':
strTituloPagina = "(4) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Baño|Dormitorio|Puerta|Timbre|Piso|Jardín|Llave|Cocina|Habitación|Pared|Ventana|Comedor|Vestíbulo|Salón|Piscina|Pórtico";
strRespuestas = "Bathroom|Bedroom|Door|Doorbell|Floor|Garden|Key|Kitchen|Room|Wall|Window|Dining room|Hall|Living room|Pool|Porch";
break;
case 'Ih2':
strTituloPagina = "(5) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Desván|Balcón|Terraza|Escaleras|Parte de arriba|Parte de abajo|Escalones|Felpudo|Tejado|Buzón|Cerradura|Pasillo|Picaporte|Planta baja|Sótano|Césped";
strRespuestas = "Attic|Balcony|Terrace|Stairs|Upstairs|Downstairs|Steps|Doormat|Roof|Mailbox|Lock|Corridor|Door handle|Ground floor|Basement|Grass";
break;
case 'Ih3':
strTituloPagina = "(6) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Botella|Alfombra|Caja|Cama|Carta|Cortina|Cuero|Flor|Jabón|Lavar(se)|Luz|Mesa|Ordenador|Portátil|Seda|Silla";
strRespuestas = "Bottle|Carpet|Box|Bed|Letter|Curtain|Leather|Flower|Soap|Wash|Light|Table|Computer|Laptop|Silk|Chair";
break;
case 'Ih4':
strTituloPagina = "(1) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Baño|Dormitorio|Puerta|Timbre|Piso|Jardín|Llave|Cocina|Habitación|Pared|Ventana|Comedor|Vestíbulo|Salón|Piscina|Pórtico";
strPreguntas = "Bathroom|Bedroom|Door|Doorbell|Floor|Garden|Key|Kitchen|Room|Wall|Window|Dining room|Hall|Living room|Pool|Porch";
break;
case 'Ih5':
strTituloPagina = "(2) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Desván|Balcón|Terraza|Escaleras|Parte de arriba|Parte de abajo|Escalones|Felpudo|Tejado|Buzón|Cerradura|Pasillo|Picaporte|Planta baja|Sótano|Césped";
strPreguntas = "Attic|Balcony|Terrace|Stairs|Upstairs|Downstairs|Steps|Doormat|Roof|Mailbox|Lock|Corridor|Door handle|Ground floor|Basement|Grass";
break;
case 'Ih6':
strTituloPagina = "(3) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Botella|Alfombra|Caja|Cama|Carta|Cortina|Cuero|Flor|Jabón|Lavar(se)|Luz|Mesa|Ordenador|Portátil|Seda|Silla";
strPreguntas = "Bottle|Carpet|Box|Bed|Letter|Curtain|Leather|Flower|Soap|Wash|Light|Table|Computer|Laptop|Silk|Chair";
break;
case 'Iv1':
strTituloPagina = "(3) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Abril|Agosto|Año|Día|Diciembre|Domingo|Enero|Febrero|Hora|Invierno|Jueves|Julio|Junio|Lunes|Mañana|Martes";
strRespuestas = "April|August|Year|Day|December|Sunday|January|February|Hour|Winter|Thursday|July|June|Monday|Morning|Tuesday";
break;
case 'Iv2':
strTituloPagina = "(4) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Marzo|Mayo|Mes|Miércoles|Noche|Noviembre|Octubre|Otoño|Primavera|Sábado|Semana|Septiembre|Siglo|Tarde|Verano|Viernes";
strRespuestas = "March|May|Month|Wednesday|Night|November|October|Autumn|Spring|Saturday|Week|September|Century|Afternoon|Summer|Friday";
break;
case 'Iv3':
strTituloPagina = "(1) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Abuelos|Esposa|Esposo|Hermana|Hermano|Hija|Hijo|Hijos|Madre|Nietos|Padre|Primo|Sobrina|Sobrino|Tía|Tío";
strRespuestas = "Grandparents|Wife|Husband|Sister|Brother|Daughter|Son|Children|Mother|Grandchildrent|Father|Cousin|Niece|Nephew|Aunt|Uncle";
break;
case 'Iv4':
strTituloPagina = "(2) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Baño|Dormitorio|Puerta|Timbre|Piso|Jardín|Llave|Cocina|Habitación|Pared|Ventana|Abuela|Abuelo|Nieta|Nieto|Padres";
strRespuestas = "Bathroom|Bedroom|Door|Doorbell|Floor|Garden|Key|Kitchen|Room|Wall|Window|Grandmother|Grandfather|Granddaughter|Grandson|Parents";
break;
case 'Ia1':
strTituloPagina = "(4) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Zorro|León|Vaca|Toro|Tiburón|Serpiente|Ratón|Rata|Jirafa|Aguila|Hurón|Hormiga|Hamster|Gorilla|Gato|Gallo";
strRespuestas = "Fox|Lion|Cow|Bull|Shark|Snake|Mouse|Rat|Giraffe|Eagle|Ferret|Ant|Hamster|Gorilla|Cat|Cock";
break;
case 'Ia2':
strTituloPagina = "(5) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Pollito|Pez|Perro|Pavo|Pato|Pájaro|Oveja|Oso panda|Gallina|Foca|Erizo|Elefante|Delfín|Conejo|Cobaya|Ciervo";
strRespuestas = "Chicken|Fish|Dog|Turkey|Duck|Bird|Sheep|Panda bear|Hen|Seal|Hedgehog|Elephant|Dolphin|Rabbit|Guinea pig|Deer";
break;
case 'Ia3':
strTituloPagina = "(6) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Oso|Murciélago|Lobo|Mosca|Medusa|Mariquita|Mariposa|Loro|Cerdo|Cebra|Cangrejo|Cabra|Caballo|Burro|Araña|Ballena";
strRespuestas = "Bear|Bat|Wolf|Fly|Jellyfish|Ladybird|Butterfly|Parrot|Pig|Zebra|Crab|Goat|Horse|Donkey|Spider|Whale";
break;
case 'Ia4':
strTituloPagina = "(1) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Zorro|León|Vaca|Toro|Tiburón|Serpiente|Ratón|Rata|Jirafa|Águila|Hurón|Hormiga|Hamster|Gorila|Gato|Gallo";
strPreguntas = "Fox|Lion|Cow|Bull|Shark|Snake|Mouse|Rat|Giraffe|Eagle|Ferret|Ant|Hamster|Gorilla|Cat|Cock";
break;
case 'Ia5':
strTituloPagina = "(2) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Pollito|Pez|Perro|Pavo|Pato|Pájaro|Oveja|Oso panda|Gallina|Foca|Erizo|Elefante|Delfín|Conejo|Cobaya|Ciervo";
strPreguntas = "Chicken|Fish|Dog|Turkey|Duck|Bird|Sheep|Panda bear|Hen|Seal|Hedgehog |Elephant|Dolphin|Rabbit|Guinea pig|Deer";
break;
case 'Ia6':
strTituloPagina = "(3) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Oso|Murciélago|Lobo|Mosca|Medusa|Mariquita|Mariposa|Loro|Cerdo|Cebra|Cangrejo|Cabra|Caballo|Burro|Araña|Ballena";
strPreguntas = "Bear|Bat|Wolf|Fly|Jellyfish|Ladybird|Butterfly|Parrot|Pig|Zebra|Crab|Goat|Horse|Donkey|Spider|Whale";
break;
case 'Is1':
strTituloPagina = "(3) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Alegría|Aprendizaje|Ayuda|Bondad|Compartir|Creencia|Dar-regalar|Descubrir|Duda|Esperanza|Gusto|Imaginar|Llorar|Maldad|Mente|Mirada";
strRespuestas = "Joy|Learning|Help|Goodness|Share|Belief|Give|Discover|Doubt|Hope|Taste|Imagine|Cry|Evilness|Mind|Look";
break;
case 'Is2':
strTituloPagina = "(4) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Sonrisa|Sorpresa|Sueño|Susurrar|Tacto|Vista|Mirar|Observar|Oido|Olfato|Peligro|Pena|Perdonar|Reir|Sentimiento|Sentir";
strRespuestas = "Smile|Surprise|Dream|Whisper|Touch|Sight|Look at|Watch|Ear|Smell|Danger|Sorrow|Forgive|Laugh|Feeling|Feel";
break;
case 'Is3':
strTituloPagina = "(1) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Alegría|Aprendizaje|Ayuda|Bondad|Compartir|Creencia|Dar-regalar|Descubrir|Duda|Esperanza|Gusto|Imaginar|Llorar|Maldad|Mente|Mirada";
strPreguntas = "Joy|Learning|Help|Goodness|Share|Belief|Give|Discover|Doubt|Hope|Taste|Imagine|Cry|Evilness|Mind|Look";
break;
case 'Is4':
strTituloPagina = "(2) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Sonrisa|Sorpresa|Sueño|Susurrar|Tacto|Vista|Mirar|Observar|Oido|Olfato|Peligro|Pena|Perdonar|Reir|Sentimiento|Sentir";
strPreguntas = "Smile|Surprise|Dream|Whisper|Touch|Sight|Look at|Watch|Ear|Smell|Danger|Sorrow|Forgive|Laugh|Feeling|Feel";
break;
case 'In1':
strTituloPagina = "(3) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Viento|Lago|Nublado|Lluvioso|Soleado|Niebla|Anticiclón|Borrasca|Árbol|Rama|Hoja|Colina|Montaña|Cabaña|Volcán|Agua";
strRespuestas = "Wind|Lake|Cloudy|Rainy|Sunny|Fog|Anticyclone|Low pressure|Tree|Branch|Leaf|Hill|Mountain|Shed|Volcano|Water";
break;
case 'In2':
strTituloPagina = "(4) ¿Cómo escribirías en Inglés las siguientes palabras?<br/>How would you write in English the following words?";
strPreguntas = "Muñeco de nieve|Camino|Carretera|Cielo|Edificio|Fuego|Humo|Lluvia|Mar|Nieve|Olor|País|Aire|Puente|Rio|Tiempo atmosférico";
strRespuestas = "Snowman|Way|Road|Sky|Building|Fire|Smoke|Rain|Sea|Snow|Smell|Country|Air|Bridge|River|Weather";
break;
case 'In3':
strTituloPagina = "(1) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Viento|Lago|Nublado|Lluvioso|Soleado|Niebla|Anticiclón|Borrasca|Árbol|Rama|Hoja|Colina|Montaña|Cabaña|Volcán|Agua";
strPreguntas = "Wind|Lake|Cloudy|Rainy|Sunny|Fog|Anticyclone|Low pressure|Tree|Branch|Leaf|Hill|Mountain|Shed|Volcano|Water";
break;
case 'In4':
strTituloPagina = "(2) ¿Cómo escribirías en Español las siguientes palabras?<br/>How would you write in Spanish the following words?";
strRespuestas = "Muñeco de nieve|Camino|Carretera|Cielo|Edificio|Fuego|Humo|Lluvia|Mar|Nieve|Olor|País|Aire|Puente|Rio|Tiempo atmosférico";
strPreguntas = "Snowman|Way|Road|Sky|Building|Fire|Smoke|Rain|Sea|Snow|Smell|Country|Air|Bridge|River|Weather";
break;
case 'Vh1':
strTituloPagina = "(1) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Ps Pres|1ª Pp Pres|3ª Pp Fut|2ª Ps Pret Perf Sim|3ª Ps Pret Imp|2ª Pp Fut|1ª Ps Con|1ª Ps Pret Imp|1ª Ps Pret Perf Sim|3ª Pp Con|1ª Ps Fut|2ª Ps Pres|3ª Pp Pret Imp|1ª Pp Pret Perf Sim|3ª Ps Con|2ª Pp Pret Imp";
strRespuestas = "Yo He|Nosotros Hemos|Ellos Habrán|Tú Hubiste|Él Había|Vosotros Habréis|Yo Habría|Yo Había|Yo Hube|Ellos Habrían|Yo Habré|Tú Has|Ellos Habían|Nosotros Hubimos|Él Habría|Vosotros Habíais";
break;
case 'Vh2':
strTituloPagina = "(2) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Ps Con Perf|1ª Ps Fut Perf|1ª Ps Pret Ant|1ª Ps Pret Perf Com|1ª Ps Pret Plus|2ª Pp Pres|2ª Ps Con|2ª Ps Con Perf|2ª Ps Fut|2ª Ps Pret Imp|3ª Pp Fut Perf|3ª Ps Pres|3ª Ps Pret Ant|3ª Ps Pret Perf Com|3ª Ps Pret Perf Sim|3ª Ps Pret Plus";
strRespuestas = "Yo Habría habido|Yo Habré habido|Yo Hube habido|Yo He habido|Yo Había habido|Vosotros Habéis|Tú Habrías|Tú Habrías habido|Tú Habrás|Tú Habías|Ellos Habrán habido|Él Ha|Él Hubo habido|Él Ha habido|Él Hubo|Él Había habido";
break;
case 'Vh3':
strTituloPagina = "(3) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Pp Pret Imp|1ª Pp Fut|1ª Pp Con|1ª Pp Pret Ant|1ª Pp Fut Perf|2ª Ps Pret Perf Com|2ª Ps Pret Plus|2ª Ps Fut Perf|2ª Ps Pret Ant|2ª Pp Con|3ª Ps Fut|3ª Ps Fut Perf|3ª Pp Pres|3ª Pp  Pret Perf Com|3ª Pp Pret Plus|3ª Pp Pret Ant";
strRespuestas = "Nosotros Habíamos|Nosotros Habremos|Nosotros Habríamos|Nosotros Hubimos habido|Nosotros Habremos habido|Tú Has habido|Tú Habías habido|Tú Habrás habido|Tú Hubiste habido|Vosotros Habríais|Él Habrá|Él Habrá habido|Ellos Han|Ellos Han habido|Ellos Habían habido|Ellos Hubieron habido";
break;
case 'Vs1':
strTituloPagina = "(1) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Ps Pres|1ª Pp Pres|3ª Pp Fut|2ª Ps Pret Perf Sim|3ª Ps Pret Imp|2ª Pp Fut|1ª Ps Con|1ª Ps Pret Imp|1ª Ps Pret Perf Sim|3ª Pp Con|1ª Ps Fut|2ª Ps Pres|3ª Pp Pret Imp|1ª Pp Pret Perf Sim|3ª Ps Con|2ª Pp Pret Imp";
strRespuestas = "Yo Soy|Nosotros Somos|Ellos Serán|Tú Fuiste|Él Era|Vosotros Seréis|Yo Sería|Yo Era|Yo Fui|Ellos Serían|Yo Seré|Tú Eres|Ellos Eran|Nosotros Fuimos|Él Sería|Vosotros Érais";
break;
case 'Vs2':
strTituloPagina = "(2) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Pp Fut|1ª Pp Pret Imp|1ª Ps Fut Perf|1ª Ps Pret Plus|2ª Pp Con|2ª Pp Pres|2ª Pp Pret Perf Sim|2ª Ps Con|2ª Ps Con Perf|2ª Ps Fut|2ª Ps Pret Imp|3ª Pp Fut Perf|3ª Ps Pres|3ª Ps Pret Ant|3ª Ps Pret Perf Com|3ª Ps Pret Perf Sim";
strRespuestas = "Nosotros Seremos|Nosotros Éramos|Yo Habré sido|Yo Había sido|Vosotros Seríais|Vosotros Sois|Vosotros Fuisteis|Tú Serías|Tú Habrías sido|Tú Serás|Tú Eras|Ellos Habrán sido|Él Es|Él Hubo sido|Él Ha sido|Él Fue";
break;
case 'Vs3':
strTituloPagina = "(3) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Pp Con|1ª Ps Con Perf|1ª Ps Pret Ant|1ª Ps Pret Perf Com|2ª Pp Fut Perf|2ª Pp Pret Ant|2ª Pp Pret Perf Com|2ª Ps Fut Perf|2ª Ps Pret Ant|2ª Ps Pret Plus|3ª Pp Pres|3ª Pp Pret Perf Sim|3ª Ps Con Perf|3ª Ps Fut|3ª Ps Fut Perf|3ª Ps Pret Plus";
strRespuestas = "Nosotros Seríamos|Yo Habría sido|Yo Hube sido|Yo He sido|Vosotros Habréis sido|Vosotros Hubisteis sido|Vosotros Habéis sido|Tú Habrás sido|Tú Hubiste sido|Tú Habías sido|Ellos Son|Ellos Fueron|Él Habría sido|Él Será|Él Habrá sido|Él Había sido";
break;
case 'Va1':
strTituloPagina = "(1) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Ps Pres|1ª Pp Pres|3ª Pp Fut|2ª Ps Pret Perf Sim|3ª Ps Pret Imp|2ª Pp Fut|1ª Ps Con|1ª Ps Pret Imp|1ª Ps Pret Perf Sim|3ª Pp Con|1ª Ps Fut|2ª Ps Pres|3ª Pp Pret Imp|1ª Pp Pret Perf Sim|3ª Ps Con|2ª Pp Pret Imp";
strRespuestas = "Yo Amo|Nosotros Amamos|Ellos Amarán|Tú Amaste|Él Amaba|Vosotros Amaréis|Yo Amaría|Yo amaba|Yo Amé|Ellos Amarían|Yo Amaré|Tú Amas|Ellos Amaban|Nosotros Amamos|Él Amaría|Vosotros Amabais";
break;
case 'Va2':
strTituloPagina = "(2) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Ps Fut Perf|1ª Ps Pret Ant|1ª Ps Pret Perf Com|1ª Ps Pret Plus|2ª Pp Con|2ª Pp Fut Perf|2ª Pp Pres|2ª Pp Pret Ant|2ª Ps Con Perf|2ª Ps Fut|3ª Pp Fut Perf|3ª Pp Pret Perf Sim|3ª Ps Con Perf|3ª Ps Fut|3ª Ps Pret Ant|3ª Ps Pret Plus";
strRespuestas = "Yo Habré amado|Yo Hube amado|Yo He amado|Yo Había amado|Vosotros Amaríais|Vosotros Habréis amado|Vosotros Amáis|Vosotros Hubisteis amado|Tú Habrías amado|Tú Amarás|Ellos Habrán amado|Ellos Amaron|Él Habría amado|Él Amará|Él Hubo amado|Él Había amado";
break;
case 'Va3':
strTituloPagina = "(3) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Pp Con|1ª Pp Fut|1ª Pp Pret Imp|1ª Ps Con Perf|2ª Pp Pret Perf Com|2ª Pp Pret Perf Sim|2ª Ps Con|2ª Ps Fut Perf|2ª Ps Pret Ant|2ª Ps Pret Imp|2ª Ps Pret Plus|3ª Pp Pret Plus|3ª Ps Fut Perf|3ª Ps Pres|3ª Ps Pret Perf Com|3ª Ps Pret Perf Sim";
strRespuestas = "Nosotros Amaríamos|Nosotros Amaremos|Nosotros Amábamos|Yo Habría amado|Vosotros Habéis amado|Vosotros Amasteis|Tú Amarías|Tú Habrás amado|Tú Hubiste amado|Tú Amabas|Tú Habías amado|Ellos Habían amado|Él Habrá amado|Él Ama|Él Ha amado|Él Amó";
break;
case 'Vt1':
strTituloPagina = "(1) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Ps Pres|1ª Pp Pres|3ª Pp Fut|2ª Ps Pret Perf Sim|3ª Ps Pret Imp|2ª Pp Fut|1ª Ps Con|1ª Ps Pret Imp|1ª Ps Pret Perf Sim|3ª Pp Con|1ª Ps Fut|2ª Ps Pres|3ª Pp Pret Imp|1ª Pp Pret Perf Sim|3ª Ps Con|2ª Pp Pret Imp";
strRespuestas = "Yo Temo|Nosotros Tememos|Ellos Temerán|Tú Temiste|Él Temía|Vosotros Temeréis|Yo Temería|Yo Temía|Yo Temí|Ellos Temerían|Yo Temeré|Tú Temes|Ellos Temían|Nosotros Tememos|Él Temería|Vosotros Temíais";
break;
case 'Vt2':
strTituloPagina = "(2) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Ps Fut Perf|1ª Ps Pret Ant|1ª Ps Pret Perf Com|1ª Ps Pret Plus|2ª Pp Con|2ª Pp Fut Perf|2ª Pp Pres|2ª Pp Pret Ant|2ª Ps Con Perf|2ª Ps Fut|3ª Pp Fut Perf|3ª Pp Pret Perf Sim|3ª Ps Con Perf|3ª Ps Fut|3ª Ps Pret Ant|3ª Ps Pret Plus";
strRespuestas = "Yo Habré temido|Yo Hube temido|Yo He temido|Yo Había temido|Vosotros Temeríais|Vosotros Habréis temido|Vosotros Teméis|Vosotros Hubisteis temido|Tú Habrías temido|Tú Temerás|Ellos Habrán temido|Ellos Temieron|Él Habría temido|Él Temerá|Él Hubo temido|Él Había temido";
break;
case 'Vt3':
strTituloPagina = "(3) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Pp Con|1ª Pp Fut|1ª Pp Pret Imp|1ª Ps Con Perf|2ª Pp Pret Perf Com|2ª Pp Pret Perf Sim|2ª Ps Con|2ª Ps Fut Perf|2ª Ps Pret Ant|2ª Ps Pret Imp|2ª Ps Pret Plus|3ª Pp Pret Plus|3ª Ps Fut Perf|3ª Ps Pres|3ª Ps Pret Perf Com|3ª Ps Pret Perf Sim";
strRespuestas = "Nosotros Temeríamos|Nosotros Temeremos|Nosotros Temíamos|Yo Habría temido|Vosotros Habéis temido|Vosotros Temisteis|Tú Temerías|Tú Habrás temido|Tú Hubiste temido|Tú Temías|Tú Habías temido|Ellos Habían temido|Él Habrá temido|Él Teme|Él Ha temido|Él Temió";
break;
case 'Vp1':
strTituloPagina = "(1) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Ps Pres|1ª Pp Pres|3ª Pp Fut|2ª Ps Pret Perf Sim|3ª Ps Pret Imp|2ª Pp Fut|1ª Ps Con|1ª Ps Pret Imp|1ª Ps Pret Perf Sim|3ª Pp Con|1ª Ps Fut|2ª Ps Pres|3ª Pp Pret Imp|1ª Pp Pret Perf Sim|3ª Ps Con|2ª Pp Pret Imp";
strRespuestas = "Yo Parto|Nosotros Partimos|Ellos Partirán|Tú Partiste|Él Partía|Vosotros Partiréis|Yo Partiría|Yo Partía|Yo Partí|Ellos Partirían|Yo Partiré|Tú Partes|Ellos Partían|Nosotros Partimos|Él Partiría|Vosotros Partíais";
break;
case 'Vp2':
strTituloPagina = "(2) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Ps Fut Perf|1ª Ps Pret Ant|1ª Ps Pret Perf Com|1ª Ps Pret Plus|2ª Pp Con|2ª Pp Fut Perf|2ª Pp Pres|2ª Pp Pret Ant|2ª Ps Con Perf|2ª Ps Fut|3ª Pp Fut Perf|3ª Pp Pret Perf Sim|3ª Ps Con Perf|3ª Ps Fut|3ª Ps Pret Ant|3ª Ps Pret Plus";
strRespuestas = "Yo Habré partido|Yo Hube partido|Yo He partido|Yo Había partido|Vosotros Partiríais|Vosotros Habréis partido|Vosotros Partís|Vosotros Hubisteis partido|Tú Habrías partido|Tú Partirás|Ellos Habrán partido|Ellos Partieron|Él Habría partido|Él Partirá|Él Hubo partido|Él Había partido";
break;
case 'Vp3':
strTituloPagina = "(3) How would you write the following verbal forms, indicative mode?:";
strPreguntas = "1ª Pp Con|1ª Pp Fut|1ª Pp Pret Imp|1ª Ps Con Perf|2ª Pp Pret Perf Com|2ª Pp Pret Perf Sim|2ª Ps Con|2ª Ps Fut Perf|2ª Ps Pret Ant|2ª Ps Pret Imp|2ª Ps Pret Plus|3ª Pp Pret Plus|3ª Ps Fut Perf|3ª Ps Pres|3ª Ps Pret Perf Com|3ª Ps Pret Perf Sim";
strRespuestas = "Nosotros Partiríamos|Nosotros Partiremos|Nosotros Partíamos|Yo Habría partido|Vosotros Habéis partido|Vosotros Partisteis|Tú Partirías|Tú Habrás partido|Tú Hubiste partido|Tú Partías|Tú Habías partido|Ellos Habían partido|Él Habrá partido|Él Parte|Él Ha partido|Él Partió";
break;
case 'F1':
strTituloPagina = "(1) How would you write the following fractions with digits?:";
strPreguntas = "Two thirds|Three fifths|Nine tenths|Seven half|A quarter|Three sixths|Six sevenths|Two eighths|Seven ninths|Four fifths|Eight tenths|Five half|Six eighths|Five sixths|Four sevenths |A third";
strRespuestas = "2/3|3/5|9/10|7/2|1/4|3/6|6/7|2/8|7/9|4/5|8/10|5/2|6/8|5/6|4/7|1/3";
break;
case 'F2':
strTituloPagina = "(2) How would you write the following fractions with letters?:";
strRespuestas ="Two thirds|Three fifths|Nine tenths|Seven half|A quarter|Three sixths|Six sevenths|Two eighths|Seven ninths|Four fifths|Eight tenths|Five half|Six eighths|Five sixths|Four sevenths |A third";
strPreguntas = "2/3|3/5|9/10|7/2|1/4|3/6|6/7|2/8|7/9|4/5|8/10|5/2|6/8|5/6|4/7|1/3";
break;
case 'F3':
strTituloPagina = "(3) What is the result of the following operations?:";
strPreguntas = "2 / 4 + 1 / 4 =|2 / 4 &#8211; 1 / 4 =|3 / 6 + 2 / 6 =|3 / 6 &#8211; 2 / 6 =|3 / 8 + 2 / 8 =|3 / 8 &#8211; 2 / 8 =|6 / 9 + 2 / 9 =|6 / 9 &#8211; 2 / 9 =|4 / 7 + 2 / 7 =|3 / 5 + 1 / 5 =|5 / 8 + 2 / 8 =|5 / 9 + 3 / 9 =|4 / 7 &#8211; 2 / 7 =|3 / 5 &#8211; 1 / 5 =|5 / 8 &#8211; 2 / 8 =|5 / 9 &#8211; 3 / 9 =";
strRespuestas ="3/4|1/4|5/6|1/6|5/8|1/8|8/9|4/9|6/7|4/5|7/8|8/9|2/7|2/5|3/8|2/9";
juego="FRACCIONES_OPERAR";
break;
case 'F4':
strTituloPagina = "(4) What is the result of the following operations?:";
strPreguntas = "1 / 2 + 2 / 3 =|2 / 3 &#8211; 1 / 2 =|3 / 4 + 2 / 3 =|3 / 4 &#8211; 2 / 3 =|2 / 5 + 1 / 3 =|3 / 5 &#8211; 1 / 3 =|5 / 6 + 1 / 5 =|5 / 6 &#8211; 1 / 5 =|3 / 8 + 2 / 7 =|3 / 8 &#8211; 2 / 7 =|5 / 8 + 4 / 9 =|5 / 8 &#8211; 4 / 9 =|3 / 4 + 5 / 9 =|3 / 4 &#8211; 5 / 9 =|2 / 5 + 2 / 7 =|2 / 5 &#8211; 2 / 7 =";
strRespuestas ="7/6|1/6|17/12|1/12|11/15|4/15|31/30|19/30|37/56|5/56|77/72|13/72|47/36|7/36|24/35|4/35";
juego="FRACCIONES_OPERAR";
break;
case 'F5':
strTituloPagina = "(5) What is the result of the following operations?:";
strPreguntas = "1 / 5 x 3 / 7 =|1 / 5 <b>:</b> 3 / 7 =|2 / 7 <b>:</b> 5 / 9 =|2 / 7 x 5 / 9 =|2 / 9 <b>:</b> 5 / 7 =|2 / 9 x 5 / 7 =|1 / 4 x 7 / 9 =|1 / 4 <b>:</b> 7 / 9 =|5 / 6 x 1 / 7 =|5 / 6 <b>:</b> 1 / 7 =|1 / 8 x 3 / 5 =|1 / 8 <b>:</b> 3 / 5 =|5 / 9 <b>:</b> 7 / 8 =|5 / 9 x 7 / 8 =|4 / 7 x 3 / 5 =|4 / 7 <b>:</b> 3 / 5 =";
strRespuestas ="3/35|7/15|18/35|10/63|14/45|10/63|7/36|9/28|5/42|35/6|3/40|5/24|40/63|35/72|12/35|20/21";
juego="FRACCIONES_OPERAR";
break;
case 'It1':
strTituloPagina = "(1) ¿Cómo escribirías en Inglés las siguientes palabras?<br>How would you write in English the following words?";
strPreguntas = "Aguacate|Albaricoque|Arándano|Cacahuetes|Cereza|Ciruela|Frambuesa|Grosella|Higo|Lima|Mandarina|Manzana|Melocotón|Naranja|Nectarina|Pera";
strRespuestas = "Avocado|Apricot|Blueberry|Peanuts|Cherry|Plum|Raspberry|Redcurrant|Fig|Lime|Tangerine|Apple|Peach|Orange|Nectarine|Pear";
break;
case 'It2':
strTituloPagina = "(2) ¿Cómo escribirías en Inglés las siguientes palabras?<br>How would you write in English the following words?";
strPreguntas = "Dátiles|Arándano Agrio|Fresa|Granada|Mango|Melón|Membrillo|Níspero|Nueces|Papaya|Pasa|Piña|Castañas|Avellanas|Almendras|Anacardo";
strRespuestas = "Dates|Cranberry|Strawberry|Pomegranate|Mango|Melon|Quince|Medlar|Walnuts|Pawpaw|Raisin|Pineapple|Chestnuts|Hazelnuts|Almonds|Cashew";
break;
case 'It3':
strTituloPagina = "(3) ¿Cómo escribirías en Inglés las siguientes palabras?<br>How would you write in English the following words?";
strPreguntas = "Plátano|Pomelo|Sandía|Uvas|Tomates|Berros|Brócoli|Coco|Espárragos|Espinaca|Limón|Seta|Zanahoria|Habas|Alcachofa|Berenjena";
strRespuestas = "Banana|Grapefruit|Watermelon|Grapes|Tomatoes|Watercress|Broccoli|Coconut|Asparagus|Spinach|Lemon|Mushroom|Carrot|Beans|Artichoke|Eggplant";
break;
case 'It4':
strTituloPagina = "(4) ¿Cómo escribirías en Inglés las siguientes palabras?<br>How would you write in English the following words?";
strPreguntas = "Zarzamora|Sidra|Ajo|Rábanos|Remolacha|Pimiento|Patatas|Pepino|Nabo|Maíz|Lechuga|Col/Repollo|Coliflor|Cebollas|Calabaza|Apio";
strRespuestas = "Blackberry|Cider|Garlic|Radishes|Beet|Pepper|Potatoes|Cucumber|Turnip|Corn|Lettuce|Cabbage|Cauliflower|Onions|Pumpkin|Celery";
break;
case 'It5':
strTituloPagina = "(5) ¿Cómo escribirías en Español las siguientes palabras?<br>How would you write in Spanish the following words?";
strRespuestas = "Aguacate|Albaricoque|Arándano|Cacahuetes|Cereza|Ciruela|Frambuesa|Grosella|Higo|Lima|Mandarina|Manzana|Melocotón|Naranja|Nectarina|Pera";
strPreguntas = "Avocado|Apricot|Blueberry|Peanuts|Cherry|Plum|Raspberry|Redcurrant|Fig|Lime|Tangerine|Apple|Peach|Orange|Nectarine|Pear";
break;
case 'It6':
strTituloPagina = "(6) ¿Cómo escribirías en Español las siguientes palabras?<br>How would you write in Spanish the following words?";
strRespuestas = "Dátiles|Arándano Agrio|Fresa|Granada|Mango|Melón|Membrillo|Níspero|Nueces|Papaya|Pasa|Piña|Castañas|Avellanas|Almendras|Anacardo";
strPreguntas = "Dates|Cranberry|Strawberry|Pomegranate|Mango|Melon|Quince|Medlar|Walnuts|Pawpaw|Raisin|Pineapple|Chestnuts|Hazelnuts|Almonds|Cashew";
break;
case 'It7':
strTituloPagina = "(7) ¿Cómo escribirías en Español las siguientes palabras?<br>How would you write in Spanish the following words?";
strRespuestas = "Plátano|Pomelo|Sandía|Uvas|Tomates|Berros|Brócoli|Coco|Espárragos|Espinaca|Limón|Seta|Zanahoria|Habas|Alcachofa|Berenjena";
strPreguntas = "Banana|Grapefruit|Watermelon|Grapes|Tomatoes|Watercress|Broccoli|Coconut|Asparagus|Spinach|Lemon|Mushroom|Carrot|Beans|Artichoke|Eggplant";
break;
case 'It8':
strTituloPagina = "(8) ¿Cómo escribirías en Español las siguientes palabras?<br>How would you write in Spanish the following words?";
strRespuestas = "Zarzamora|Sidra|Ajo|Rábanos|Remolacha|Pimiento|Patatas|Pepino|Nabo|Maíz|Lechuga|Col/Repollo|Coliflor|Cebollas|Calabaza|Apio";
strPreguntas = "Blackberry|Cider|Garlic|Radishes|Beet|Pepper|Potatoes|Cucumber|Turnip|Corn|Lettuce|Cabbage|Cauliflower|Onions|Pumpkin|Celery";
break;
default:
break;
}
//Iniciar la aplicación en función de las preguntas y respuestas
if (strTituloPagina!="") {
var panel = document.getElementById("panelInfo");
if (panel!=null) {
panel.style.display = 'none';
}
desordenar();
iniciar(strPreguntas,strRespuestas,strTituloPagina);
document.getElementById("panelAyuda").style.display = 'block';
var primeraLetra=opcion.charAt(0);
switch (primeraLetra) {
//case 'B','G','Y','H':
case 'B':
case 'G':
case 'Y':
case 'H':
textoAyuda="Think the answer and write the word with the missing letter."+
"<br/><br/>Remember to put the accent on the words where necessary.";
juego="ORTOGRAFIA";
break;
case 'C':
textoAyuda="Write  the name of the capital."+
"<br/><br/>If you do not know, click on the nation to see the map.";
juego="CAPITALES";
break;
case 'A':
textoAyuda="Think the answer and write the correct name." +
"<br/><br/>Remember to put the accent on the words where necessary.";
juego="AUTONOMIAS";
break;
case 'T':
textoAyuda="Think the answer and write the correct name." +
"<br/><br/>Remember to put the accent on the words where necessary.";
juego="GENTILICIOS";
break;
case 'E':
textoAyuda="Think the answer and write the correct name.";
juego="ESTADOS";
break;
case 'N':
textoAyuda="Think the answer and write the correct values." +
"<br/><br/>Remember to put the point a thousand if needed!.";
juego="NUMEROS";
break;
case 'R':
textoAyuda="Think the answer and write the correct values." +
"<br/><br/>Remember to put the point a thousand if needed!.";
juego="NUMEROS";
break;
case 'I':
textoAyuda="Think the answer and write the correct name." +
"<br/><br/>Remember to put the accent on the words where necessary.";
juego="INGLES";
break;
case 'W':
textoAyuda="Think the answer and write the correct name or number.";
juego="INGLES";
break;
case 'V':
textoAyuda="Think the answer and write the correct person and tense." +
"<br/><br/>Remember to put the accent on the words where necessary.";
juego="INGLES";
break;
default:
textoAyuda="Think the answer and write the correct values.";
break;
}
textoAyuda+="<br/><br/>Then, click the arrow to check the answer." +
"<br/><br/>¡¡ GOOD LUCK !!";
pintarAyuda(textoAyuda);
} else {
document.getElementById("panelAyuda").style.display = 'none';
document.getElementById("panelInfo").style.display = 'block';
document.getElementById("panelMostrar").style.display = 'none';
}
}
function pintarAyuda(texto) {
if (juego=="AUTONOMIAS") {
texto+="<br/><br/>If you do not know look at these maps can help :<br/><br/><label class='tEjemplo cursor' onclick=\"javascript:breveAyuda('comunidades_trans.png')\"> Map of Communities </label>" +
"<br/><br/><label class='tEjemplo cursor' onclick=\"javascript:breveAyuda('provincias_trans.png')\"> Map of Provinces </label>";
}
texto="<div class='center'><img src='../../../elabueloeduca_img/ayuda.png'/ alt='Ayuda'></div>"+
"<p>" + texto + "</p>";
//obj = document.getElementById("textoComprobar");
obj = document.getElementById("panelAyuda");
if (obj!=null) {
obj.style.display='block';
obj.style.visibility='visible';
obj.innerHTML=texto;
}
obj = document.getElementById("imgDuda");
if (obj!=null) {
obj.style.display='block';
obj.style.visibility='visible';
}
}
function finalizado() {
var contAciertos=0;
var contFallos=0;
completado=true;
for (i=0;i<lenArrayRespuestas;i++) {
nombreCampo = "txt_palabra" + i;
obj = document.getElementById(nombreCampo);
if (obj!=null) {
if (obj.value == arrayRespuestas[i]) {
contAciertos++;
} else {
contFallos++;
}
if (obj.value=="") {
completado=false;
}
}
}
if (completado) {
return true;
} else {
return false;
}
}
var focoActual="";
function verMapa(mapa,nobj) {
obj = document.getElementById("divMapaAyuda");
objImagen = document.getElementById("imgmapa");
if (obj!=null) {
while (mapa.lastIndexOf(" ")!=-1) {
mapa = mapa.replace(" ","_");
}
mapa+=".jpg";
if (objImagen!=null) {
objImagen.src="../../../elabueloeduca_img/mapas/" + mapa;
posicionarMapaAyuda(objImagen.width, objImagen.height, obj);
obj.style.visibility='visible';
}
focoActual=nobj;
} else {
operacion = mapa;
//Si no tiene imagen, buscamos el listado de P R
obj=document.getElementById("divRespuestas");
ayudaFracciones="<div align='right' onclick='javascript:ocultarAR()' style='cursor:pointer'><h6>Close</h6></div>";
switch (operacion) {
case '2 / 5 – 2 / 7 =':
n1=2;
d1=5;
n2=2;
d2=7;
stroperador=" &#8211; ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
//n_final=rdo_n1 + rdo_n2;
n_final=rdo_n1 - rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>2 / 5 &#8211; 2 / 7</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and<br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, subtract the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '2 / 3 – 1 / 2 =':
n1=2;
d1=3;
n2=1;
d2=2;
stroperador=" &#8211; ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
//n_final=rdo_n1 + rdo_n2;
n_final=rdo_n1 - rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>2 / 3 &#8211; 1 / 2</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and<br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, subtract the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 4 – 2 / 3 =':
n1=3;
d1=4;
n2=2;
d2=3;
stroperador=" &#8211; ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
//n_final=rdo_n1 + rdo_n2;
n_final=rdo_n1 - rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 4 &#8211; 2 / 3</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/>denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, subtract the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 5 – 1 / 3 =':
n1=3;
d1=5;
n2=1;
d2=3;
stroperador=" &#8211; ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
//n_final=rdo_n1 + rdo_n2;
n_final=rdo_n1 - rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 5 &#8211; 1 / 3</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, subtract the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 6 – 1 / 5 =':
n1=5;
d1=6;
n2=1;
d2=5;
stroperador=" &#8211; ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
//n_final=rdo_n1 + rdo_n2;
n_final=rdo_n1 - rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 6 &#8211; 1 / 5</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, subtract the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 8 + 2 / 8 =':
n1=3;
d1=8;
n2=2;
d2=8;
stroperador=" + ";
n_final=n1+n2;
//n_final=rdo_n1 - rdo_n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 8 + 2 / 8</b><br/>"+
"<br/>As they have same denominator, add the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " + " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 8 – 2 / 8 =':
n1=3;
d1=8;
n2=2;
d2=8;
stroperador=" &#8211; ";
n_final=n1-n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 8 &#8211; 2 / 8</b><br/>"+
"<br/>As they have same denominator, subtract the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " &#8211; " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 8 – 2 / 7 =':
n1=3;
d1=8;
n2=2;
d2=7;
stroperador=" &#8211; ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
//n_final=rdo_n1 + rdo_n2;
n_final=rdo_n1 - rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 8 &#8211; 2 / 7</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, subtract the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 8 – 4 / 9 =':
n1=5;
d1=8;
n2=4;
d2=9;
stroperador=" &#8211; ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
//n_final=rdo_n1 + rdo_n2;
n_final=rdo_n1 - rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 8 &#8211; 4 / 9</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, subtract the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 4 – 5 / 9 =':
n1=3;
d1=4;
n2=5;
d2=9;
stroperador=" &#8211; ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
n_final=rdo_n1 - rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 4 &#8211; 5 / 9</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, subtract the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '2 / 5 + 2 / 7 =':
n1=2;
d1=5;
n2=2;
d2=7;
stroperador=" + ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
n_final=rdo_n1 + rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>2 / 5 + 2 / 7</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, add the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '1 / 2 + 2 / 3 =':
n1=1;
d1=2;
n2=2;
d2=3;
stroperador=" + ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
n_final=rdo_n1 + rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>1 / 2 + 2 / 3</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, add the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 4 + 2 / 3 =':
n1=3;
d1=4;
n2=2;
d2=3;
stroperador=" + ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
n_final=rdo_n1 + rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 4 + 2 / 3</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, add the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '2 / 5 + 1 / 3 =':
n1=2;
d1=5;
n2=1;
d2=3;
stroperador=" + ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
n_final=rdo_n1 + rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>2 / 5 + 1 / 3</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, add the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 6 + 1 / 5 =':
n1=5;
d1=6;
n2=1;
d2=5;
stroperador=" + ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
n_final=rdo_n1 + rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 6 + 1 / 5</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, add the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 8 + 2 / 7 =':
n1=3;
d1=8;
n2=2;
d2=7;
stroperador=" + ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
n_final=rdo_n1 + rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 8 + 2 / 7</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, add the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 8 + 4 / 9 =':
n1=5;
d1=8;
n2=4;
d2=9;
stroperador=" + ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
n_final=rdo_n1 + rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 8 + 4 / 9</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, add the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 4 + 5 / 9 =':
n1=3;
d1=4;
n2=5;
d2=9;
stroperador=" + ";
rdo_n1=n1*d2;
rdo_d1=d1*d2;
rdo_n2=n2*d1;
rdo_d2=d1*d2;
n_final=rdo_n1 + rdo_n2;
stroperador
d_final=rdo_d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 4 + 5 / 9</b><br/>"+
"<br/>As they have different denominator the first thing we have to do is equalize the denominators;<br/>"+
"<br/>To achieve this, we seek two fractions equivalent to those given by multiplying the numerator and <br/> denominator each by the denominator of the other.<br/>"+
"<br/>Once you get the same denominator, add the numerators and put the common denominator.<br/>" +
"<br/><b>(" + n1 + " x " + d2 + ") / (" + d1 + " x " + d2 + ")  " + stroperador + "  (" + n2 + " x " + d1 + ") / (" + d2 + " x " + d1 + ") = "+rdo_n1.toString()+" / "+rdo_d1.toString()+ stroperador +rdo_n2.toString()+" / "+rdo_d2.toString()+" = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '2 / 4 + 1 / 4 =':
n1=2;
d1=4;
n2=1;
d2=4;
stroperador=" + ";
n_final=n1+n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>2 / 4 + 1 / 4</b><br/>"+
"<br/>As they have same denominator, add the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " + " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 6 + 2 / 6 =':
n1=3;
d1=6;
n2=2;
d2=6;
stroperador=" + ";
n_final=n1+n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 6 + 2 / 6</b><br/>"+
"<br/>As they have same denominator, add the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " + " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 8 + 2 / 8 =':
n1=5;
d1=8;
n2=2;
d2=8;
stroperador=" + ";
n_final=n1+n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Resolviendo <b>5 / 8 + 2 / 8</b>"+
"<br>Como tienen el mismo denominador, sumamos los numeradores y ponemos el denominador común;<br>"+
"<br><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " + " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br>"+
"</div>";
break;
case '3 / 8 + 4 / 8 =':
n1=3;
d1=8;
n2=4;
d2=8;
stroperador=" + ";
n_final=n1+n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 8 + 2 / 8</b><br/>"+
"<br/>As they have same denominator, add the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " + " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '6 / 9 + 2 / 9 =':
n1=6;
d1=9;
n2=2;
d2=9;
stroperador=" + ";
n_final=n1+n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>6 / 9 + 2 / 9</b><br/>"+
"<br/>As they have same denominator, add the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " + " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '4 / 7 + 2 / 7 =':
n1=4;
d1=7;
n2=2;
d2=7;
stroperador=" + ";
n_final=n1+n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>4 / 7 + 2 / 7</b><br/>"+
"<br/>As they have same denominator, add the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " + " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 5 + 1 / 5 =':
n1=3;
d1=5;
n2=1;
d2=5;
stroperador=" + ";
n_final=n1+n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 5 + 1 / 5</b><br/>"+
"<br/>As they have same denominator, add the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " + " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 8 + 2 / 8 =':
n1=5;
d1=8;
n2=2;
d2=8;
stroperador=" + ";
n_final=n1+n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 8 + 2 / 84</b><br/>"+
"<br/>As they have same denominator, add the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " + " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 9 + 3 / 9 =':
n1=5;
d1=9;
n2=3;
d2=9;
stroperador=" + ";
n_final=n1+n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 9 + 3 / 9</b><br/>"+
"<br/>As they have same denominator, add the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " + " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '2 / 4 – 1 / 4 =':
n1=2;
d1=4;
n2=1;
d2=4;
stroperador=" &#8211; ";
n_final=n1-n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>2 / 4 &#8211; 1 / 4</b><br/>"+
"<br/>As they have same denominator, subtract the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " &#8211; " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 6 – 2 / 6 =':
n1=3;
d1=6;
n2=2;
d2=6;
stroperador=" &#8211; ";
n_final=n1-n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 6 &#8211; 2 / 6</b><br/>"+
"<br/>As they have same denominator, subtract the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " &#8211; " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 8 – 2 / 8 =':
n1=5;
d1=8;
n2=2;
d2=8;
stroperador=" &#8211; ";
n_final=n1-n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 8 &#8211; 2 / 8</b><br/>"+
"<br/>As they have same denominator, subtract the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " &#8211; " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '6 / 9 – 2 / 9 =':
n1=6;
d1=9;
n2=2;
d2=9;
stroperador=" &#8211; ";
n_final=n1-n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>6 / 9 &#8211; 2 / 9</b><br/>"+
"<br/>As they have same denominator, subtract the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " &#8211; " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '4 / 7 – 2 / 7 =':
n1=4;
d1=7;
n2=2;
d2=7;
stroperador=" &#8211; ";
n_final=n1-n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>4 / 7 &#8211; 2 / 7</b><br/>"+
"<br/>As they have same denominator, subtract the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " &#8211; " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '3 / 5 – 1 / 5 =':
n1=3;
d1=5;
n2=1;
d2=5;
stroperador=" &#8211; ";
n_final=n1-n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 5 &#8211; 1 / 5</b><br/>"+
"<br/>As they have same denominator, subtract the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " &#8211; " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '4 / 8 – 3 / 8 =':
n1=4;
d1=8;
n2=3;
d2=8;
stroperador=" &#8211; ";
n_final=n1-n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>3 / 8 &#8211; 2 / 8</b><br/>"+
"<br/>As they have same denominator, subtract the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " &#8211; " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 9 – 3 / 9 =':
n1=5;
d1=9;
n2=3;
d2=9;
stroperador=" &#8211; ";
n_final=n1-n2;
stroperador
d_final=d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 9 &#8211; 3 / 9</b><br/>"+
"<br/>As they have same denominator, subtract the numerators and put the common denominator;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " &#8211; " + n2 + ") / " + d2 + " = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '1 / 5 x 3 / 7 =':
n1=1;
d1=5;
n2=3;
d2=7;
stroperador=" x ";
n_final=n1*n2;
stroperador
d_final=d1*d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>1 / 5 x 3 / 7</b><br/>"+
"<br/>The product of various fractions is equal to another fraction whose numerator is the product<br/> of the numerators and denominator is the product of the denominators;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + n2 + ") / (" + d1 + " x " + d2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '4 / 7 x 3 / 5 =':
n1=4;
d1=7;
n2=3;
d2=5;
stroperador=" x ";
n_final=n1*n2;
stroperador
d_final=d1*d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>4 / 7 x 3 / 5</b><br/>"+
"<br/>The product of various fractions is equal to another fraction whose numerator is the product<br/> of the numerators and denominator is the product of the denominators;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + n2 + ") / (" + d1 + " x " + d2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '2 / 7 x 5 / 9 =':
n1=2;
d1=7;
n2=5;
d2=9;
stroperador=" x ";
n_final=n1*n2;
stroperador
d_final=d1*d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>2 / 7 x 5 / 9 </b><br/>"+
"<br/>The product of various fractions is equal to another fraction whose numerator is the product<br/> of the numerators and denominator is the product of the denominators;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + n2 + ") / (" + d1 + " x " + d2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '2 / 9 x 5 / 7 =':
n1=2;
d1=9;
n2=5;
d2=7;
stroperador=" x ";
n_final=n1*n2;
stroperador
d_final=d1*d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>2 / 9 x 5 / 7</b><br/>"+
"<br/>The product of various fractions is equal to another fraction whose numerator is the product<br/> of the numerators and denominator is the product of the denominators;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + n2 + ") / (" + d1 + " x " + d2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '1 / 4 x 7 / 9 =':
n1=1;
d1=4;
n2=7;
d2=9;
stroperador=" x ";
n_final=n1*n2;
stroperador
d_final=d1*d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>1 / 4 x 7 / 9</b><br/>"+
"<br/>The product of various fractions is equal to another fraction whose numerator is the product<br/> of the numerators and denominator is the product of the denominators;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + n2 + ") / (" + d1 + " x " + d2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 6 x 1 / 7 =':
n1=5;
d1=6;
n2=1;
d2=7;
stroperador=" x ";
n_final=n1*n2;
stroperador
d_final=d1*d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 6 x 1 / 7</b><br/>"+
"<br/>The product of various fractions is equal to another fraction whose numerator is the product<br/> of the numerators and denominator is the product of the denominators;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + n2 + ") / (" + d1 + " x " + d2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '1 / 8 x 3 / 5 =':
n1=1;
d1=8;
n2=3;
d2=5;
stroperador=" x ";
n_final=n1*n2;
stroperador
d_final=d1*d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>1 / 8 x 3 / 5</b><br/>"+
"<br/>The product of various fractions is equal to another fraction whose numerator is the product<br/> of the numerators and denominator is the product of the denominators;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + n2 + ") / (" + d1 + " x " + d2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 9 x 7 / 8 =':
n1=5;
d1=9;
n2=7;
d2=8;
stroperador=" x ";
n_final=n1*n2;
stroperador
d_final=d1*d2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 9 x 7 / 8</b><br/>"+
"<br/>The product of various fractions is equal to another fraction whose numerator is the product<br/> of the numerators and denominator is the product of the denominators;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + n2 + ") / (" + d1 + " x " + d2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '1 / 5 <b>:</b> 3 / 7 =':
n1=1;
d1=5;
n2=3;
d2=7;
stroperador=" : ";
n_final=n1*d2;
stroperador
d_final=d1*n2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>1 / 5 : 3 / 7</b><br/>"+
"<br/>The quotient of two fractions is another fraction whose numerator is the product of <br/>"+
"numerator of the first by denominator of the second, and the denominator is the product of <br/>"+
"denominator of the first by numerator of the second;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + d2 + ") / (" + d1 + " x " + n2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '2 / 7 <b>:</b> 5 / 9 =':
n1=2;
d1=7;
n2=5;
d2=9;
stroperador=" : ";
n_final=n1*d2;
stroperador
d_final=d1*n2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>2 / 7 : 5 / 9</b><br/>"+
"<br/>The quotient of two fractions is another fraction whose numerator is the product of <br/>"+
"numerator of the first by denominator of the second, and the denominator is the product of <br/>"+
"denominator of the first by numerator of the second;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + d2 + ") / (" + d1 + " x " + n2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '2 / 9 <b>:</b> 5 / 7 =':
n1=2;
d1=9;
n2=5;
d2=7;
stroperador=" : ";
n_final=n1*d2;
stroperador
d_final=d1*n2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>2 / 9 : 5 / 7</b><br/>"+
"<br/>The quotient of two fractions is another fraction whose numerator is the product of <br/>"+
"numerator of the first by denominator of the second, and the denominator is the product of <br/>"+
"denominator of the first by numerator of the second;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + d2 + ") / (" + d1 + " x " + n2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '1 / 4 <b>:</b> 7 / 9 =':
n1=1;
d1=4;
n2=7;
d2=9;
stroperador=" : ";
n_final=n1*d2;
stroperador
d_final=d1*n2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>1 / 4 : 7 / 9</b><br/>"+
"<br/>The quotient of two fractions is another fraction whose numerator is the product of <br/>"+
"numerator of the first by denominator of the second, and the denominator is the product of <br/>"+
"denominator of the first by numerator of the second;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + d2 + ") / (" + d1 + " x " + n2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 6 <b>:</b> 1 / 7 =':
n1=5;
d1=6;
n2=1;
d2=7;
stroperador=" : ";
n_final=n1*d2;
stroperador
d_final=d1*n2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 6 : 1 / 7</b><br/>"+
"<br/>The quotient of two fractions is another fraction whose numerator is the product of <br/>"+
"numerator of the first by denominator of the second, and the denominator is the product of <br/>"+
"denominator of the first by numerator of the second;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + d2 + ") / (" + d1 + " x " + n2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '1 / 8 <b>:</b> 3 / 5 =':
n1=1;
d1=8;
n2=3;
d2=5;
stroperador=" : ";
n_final=n1*d2;
stroperador
d_final=d1*n2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>1 / 8 : 3 / 5</b><br/>"+
"<br/>The quotient of two fractions is another fraction whose numerator is the product of <br/>"+
"numerator of the first by denominator of the second, and the denominator is the product of <br/>"+
"denominator of the first by numerator of the second;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + d2 + ") / (" + d1 + " x " + n2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '5 / 9 <b>:</b> 7 / 8 =':
n1=5;
d1=9;
n2=7;
d2=8;
stroperador=" : ";
n_final=n1*d2;
stroperador
d_final=d1*n2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>5 / 9 : 7 / 8</b><br/>"+
"<br/>The quotient of two fractions is another fraction whose numerator is the product of <br/>"+
"numerator of the first by denominator of the second, and the denominator is the product of <br/>"+
"denominator of the first by numerator of the second;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + d2 + ") / (" + d1 + " x " + n2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
case '4 / 7 <b>:</b> 3 / 5 =':
n1=4;
d1=7;
n2=3;
d2=5;
stroperador=" : ";
n_final=n1*d2;
stroperador
d_final=d1*n2;
ayudaFracciones+="<div class='ayudaFracciones'>Solving  <b>4 / 7 : 3 / 5</b><br/>"+
"<br/>The quotient of two fractions is another fraction whose numerator is the product of <br/>"+
"numerator of the first by denominator of the second, and the denominator is the product of <br/>"+
"denominator of the first by numerator of the second;<br/>"+
"<br/><b>" + n1 + "  / " + d1 + " " + stroperador +" " + n2 + "  / " + d2 + "  =  (" + n1 + " x " + d2 + ") / (" + d1 + " x " + n2 + ") = "+n_final.toString()+" / "+d_final.toString()+"</b><br/>"+
"</div>";
break;
default:
ayudaFracciones+="Undefined!!";
break;
}
if (obj!=null) {
if (juego=="FRACCIONES_OPERAR") {
ayudaRespuestas=ayudaFracciones;
}
obj.innerHTML=ayudaRespuestas;
posicionarDivRespuestas(obj);
obj.style.visibility='visible';
}
}
}
function quitarMapa() {
obj = document.getElementById("divMapaAyuda");
if (obj!=null) {
obj.style.visibility='hidden';
}
devolverFoco();
}
function posicionarMapaAyuda(ancho_foto,alto_foto, obj) {
ancho_pantalla=screen.availWidth;
alto_pantalla=screen.availHeight;
pos_left=parseInt(ancho_pantalla/2) - parseInt(ancho_foto/2);
pos_top=parseInt(alto_pantalla/2) - parseInt(alto_foto/2) + (document.body.scrollTop/2);
obj.style.left=pos_left+"px";
obj.style.top=pos_top+"px";
}
function posicionarMapaAyudaInicio() {
var obj = document.getElementById("divMapaAyuda");
var pos_left=0;
var pos_top=0;
ancho_foto=624;
alto_foto=400;
ancho_pantalla=screen.availWidth;
alto_pantalla=screen.availHeight;
pos_left=parseInt(ancho_pantalla/2) - parseInt(ancho_foto/2);
pos_top=document.documentElement.scrollTop + parseInt(alto_pantalla/2) - parseInt(alto_foto/2);
if (obj!=null) {
obj.style.left=pos_left+"px";
obj.style.top=pos_top+"px";
}
obj = document.getElementById("divMapaAyudaProvincias");
if (obj!=null) {
obj.style.left=pos_left+"px";
obj.style.top=pos_top+"px";
}
}
function juegoCompletado() {
completado=true;
for (i=0;i<lenArrayRespuestas;i++) {
nombreCampo = "txt_palabra" + i;
obj = document.getElementById(nombreCampo);
if (obj!=null) {
if (obj.value!="") {
completado=false;
break;
}
}
}
return completado;
}
function nosVamos(strUrl) {
if (!juegoCompletado()) {
if (eval(confirm(strMensajeAbandonar))) {
window.location = strUrl;
} else {
//return false;
}
} else {
window.location = strUrl;
}
}
function pintarPanelAciertos() {
var tabla = "<div id='panelAciertos' class='columna'>" +
"<table border='0' cellspacing='5' cellpadding='5' width='100%' id='tablaAciertos'><tr class='bold'><td>&nbsp;</td><td>Attempts: <label id='intentos'>0</label></td><td>&nbsp;</td>" +
"<td class='classAci'>Right: <label id='aciertos'>0</label></td><td>&nbsp;</td>" +
"<td class='classFa'>Wrong: <label id='fallos' >0</label></td></tr><tr><td colspan=10><b><div id='tituloPagina'></div></b></td></tr></table></div>";
return tabla;
}
var nuevoOrden ="";
var blnOpcRnd=true;
function num_random(precision) {
maximo = Math.pow(10,precision)-1;
rdo = parseInt((Math.random() * (maximo - 1) + 1).toPrecision(precision));
return rdo;
}
function existeEnArray(mArray,valor) {
var rdo=false;
valor=valor.toString();
len =mArray.length;
for (var i=len;i>=0;i--) {
if (mArray[i]==valor) {
rdo=true;
break;
};
}
return rdo;
}
/* AJAX */
var enProceso = false; // lo usamos para ver si hay un proceso activo
var http = getHTTPObject(); // Creamos el objeto XMLHttpRequest
function getHTTPObject() {
var xmlhttp;
/*navegador = navigator.appName;
if (navegador.lastIndexOf("Explorer")!=-1) {
navegador="IE";
}*/
try {
if (window.XMLHttpRequest) {
xmlhttp = new XMLHttpRequest();
} else if (window.ActiveXObject) {
//IE
xmlhttp =new ActiveXObject("Microsoft.XMLHTTP");
}
}catch (e) {
alert("ERROR AJAX " + e.description);
xmlhttp = false;
}
return xmlhttp;
}
function handleHttpResponse() {
//nuevoOrden = "";
if (http.readyState == 4) {
if (http.status == 200) {
rdo = http.responseText;
enProceso = false;
window.status="";
if (rdo!="") {
nuevoOrden = rdo;
} else {
}
} else {
msg="";
if (http.status==12029) {
msg="Se están experimentando errores en su conexión";
estado.innerHTML="Error en la conexión";
}
alert("Error: " + http.status + " " + msg);
}
}
}
function enviar(numHasta) {
url="http://elabueloeduca.calabriasoft.com/php/funciones.php?valor=" + numHasta
if (!enProceso && http) {
//http.open("GET", url, true); //asincrona
try {
//http.open("GET", url, false); //sincrona
if (navegador.lastIndexOf("Explorer")!=-1) {
http.open("GET", url, false);
} else {
http.open("GET", url, false); //asincrona parece q sÃ³lo asÃ­ la admite firefox
}
} catch (err) {
alert("La consulta no se puede realizar en local");
alert("ERR: " + err.description + http + " url: " +url);
}
http.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); //iso-8859-1
http.onreadystatechange = handleHttpResponse;
enProceso = true;
http.send(null);
} else {
//window.status  = "error";
if (http.readyState == 4) {
enProceso = false;
}
}
}
function desordenar() {
_arrayPreguntas = strPreguntas.split("|");
_arrayRespuestas = strRespuestas.split("|");
_lenArrayPreguntas = _arrayPreguntas.length;
_strPreguntas=strPreguntas;
_strRespuestas=strRespuestas;
strPreguntas="";
strRespuestas="";
deso(_lenArrayPreguntas);
if (nuevoOrden!="") {
arrayOrden = nuevoOrden.split("|");
lenOrden = arrayOrden.length;
separador="";
for (i=0;i<lenOrden;i++) {
if (_arrayPreguntas[arrayOrden[i]]!=null) {
strPreguntas+=separador+_arrayPreguntas[arrayOrden[i]];
strRespuestas+=separador+_arrayRespuestas[arrayOrden[i]];
separador="|";
}
}
} else {
strPreguntas=_strPreguntas;
strRespuestas=_strRespuestas;
}
}
function deso(maxValor) {
lenarr = maxValor;
var nuevoArray= new Array();
var contador=0;
var lenNuevo=nuevoArray.length;
var cadenaNumeros=",";
while (lenNuevo<=lenarr) {
num = parseInt((Math.random() * (lenarr)).toPrecision(2));
buscar="," + num.toString() + ",";
if (cadenaNumeros.lastIndexOf(buscar)==-1) {
nuevoArray.push(num);
lenNuevo=nuevoArray.length;
cadenaNumeros+=num.toString() +",";
}
if (contador>300) {
alert("Ha habido un problema al cargar el juego, por favor, recarga la página (Pulsa F5)!!")
break;
}
contador++;
}
var cadena="";
var separador="";
for (i=0;i<lenNuevo;i++) {
cadena+=separador+nuevoArray[i];
separador="|";
}
nuevoOrden = cadena;
}
function comprobarFoco(nobj){
focoActual=nobj;
}
function devolverFoco() {
var obj = document.getElementById(focoActual);
if (obj!=null) {
obj.focus();
}
}
function toPDF_old() {
if(strPreguntas.indexOf("&#8211;")!=-1){
while(strPreguntas.indexOf("&#8211;")!=-1)
{strPreguntas=strPreguntas.replace("&#8211;","&#45");}
}
if(strPreguntas.indexOf(" + ")!=-1){
while(strPreguntas.indexOf(" + ")!=-1)
{strPreguntas=strPreguntas.replace(" + "," &#43 ");}
}
if(strPreguntas.indexOf("  ")!=-1){
while(strPreguntas.indexOf("  ")!=-1)
{strPreguntas=strPreguntas.replace("  "," ");}
}
window.open("../../../generadorNPDF.php?html=" + escape(strPreguntas)+"&titulo="+escape(strTituloPagina),"","");
}
function toPDF() {
if(strPreguntas.indexOf("&#8211;")!=-1){
while(strPreguntas.indexOf("&#8211;")!=-1)
{strPreguntas=strPreguntas.replace("&#8211;","&#45;");}
}
if(strPreguntas.indexOf(" + ")!=-1){
while(strPreguntas.indexOf(" + ")!=-1)
{strPreguntas=strPreguntas.replace("+"," &#43; ");}
}
if(strPreguntas.indexOf("  ")!=-1){
while(strPreguntas.indexOf("  ")!=-1)
{strPreguntas=strPreguntas.replace("  "," ");}
}
window.open("../../../generadorNPDF.php?html=" + escape(strPreguntas)+"&titulo="+escape(strTituloPagina)+"&juego="+juego,"","");
}
function ocultarAR() {
obj=document.getElementById("divRespuestas");
if (obj!=null) {
obj.style.visibility='hidden';
}
}
function posicionarDivRespuestas(obj) {
if (obj!=null) {
ancho_foto=obj.style.width;
alto_foto=600;
ancho_pantalla=screen.availWidth;
alto_pantalla=screen.availHeight;
pos_top=parseInt(alto_pantalla/2) - parseInt(alto_foto/2);
obj.style.top=pos_top+"px";
}
}
function reproducir(opcion,palabra) {
var directorio="../../../elabueloeduca_snd/";
var directorio="../../elabueloeduca_snd/";
var objBg="";
if (navegador == "Microsoft Internet Explorer") {
objBg=document.getElementById("bg");
} else {
objBg=document.getElementById("mbg");
}
var extension="";
switch (opcion) {
case 1:
extension="mp3";
break;
case 2:
extension="wma";
break;
case 3:
extension="wav";
break;
default:
break;
}
try {
var sonido=directorio + palabra + "." + extension;
objBg.src=sonido;
objBg.autostart=true;
} catch(exception) {
alert(exception.toString());
}
}
