beacon '; //Write it to the frame TopFrame.document.clear(); TopFrame.document.open(); TopFrame.document.write(OutString); TopFrame.document.close(); } function DisplayExercise(){ //Build the output string var OutString = ''; OutString += ''; OutString += ' '; OutString += '
'; OutString += TitleCode; OutString += ''; OutString += NavBar; OutString += '
'; if (WordBox.length > 0){ OutString += WordBox; } OutString += ''; OutString += BuiltCloze; OutString += '
'; if (is.CRAPBrowser){OutString=ResolveAllURLs(OutString);} //Write it to the frame BottomFrame.document.clear(); BottomFrame.document.open(); BottomFrame.document.write(OutString); BottomFrame.document.close(); } function ShowClue(ItemNum){ //alert(ItemNum); State[ItemNum][0] = 1; WriteFeedback(I[ItemNum][2]); } function SaveCurrentAnswers(){ for (var i=0; i-1){ FirstBit = InString.substring(0, i); LastBit = InString.substring(i + Token.length, InString.length); InString = FirstBit + Replacement + LastBit; i = InString.indexOf(Token); } return InString; } I = new Array(); I[0] = new Array(); I[0][1] = new Array(); I[0][1][0] = new Array(); I[0][1][0][0]='\u00F3rdenes'; I[0][1][1] = new Array(); I[0][1][1][0]='ordenes'; I[0][1][2] = new Array(); I[0][1][2][0]='mandatos'; I[0][1][3] = new Array(); I[0][1][3][0]='instrucciones'; I[0][2]='hacer lo que nos mandan'; I[1] = new Array(); I[1][1] = new Array(); I[1][1][0] = new Array(); I[1][1][0][0]='costumbres'; I[1][1][1] = new Array(); I[1][1][1][0]='costumbres'; I[1][1][2] = new Array(); I[1][1][2][0]='h\u00E1bitos'; I[1][2]='Lo hacemos porque lo hemos hecho siempre'; I[2] = new Array(); I[2][1] = new Array(); I[2][1][0] = new Array(); I[2][1][0][0]='caprichos'; I[2][1][1] = new Array(); I[2][1][1][0]='caprichos'; I[2][2]='Lo hacemos porque s\u00ED'; I[3] = new Array(); I[3][1] = new Array(); I[3][1][0] = new Array(); I[3][1][0][0]='valores'; I[3][1][1] = new Array(); I[3][1][1][0]='valores'; I[3][1][2] = new Array(); I[3][1][2][0]='metas'; I[3][1][3] = new Array(); I[3][1][3][0]='ideales'; I[3][2]='motivos m\u00E1s elevados de conducta moral'; Text = new Array(); Text[0]='Vamos a detallar entonces la serie de diferentes motivos que tienes para tus comportamientos matutinos. Ya sabes lo que es un <> en el sentido que recibe la palabra en este contexto: es la raz\u00F3n que tienes o al menos crees tener para hacer algo, la explicaci\u00F3n m\u00E1s aceptable de tu conducta cuando reflexionas un poco sobre ella. En una palabra: la mejor respuesta que se te ocurre a la pregunta \u00AB\u00BFpor qu\u00E9 hago eso?\u00BB.
Pues bien, uno de los tipos de motivaci\u00F3n que reconoces es el de que yo te mando que hagas tal o cual cosa. A estos motivos les
llamaremos '; Text[1]='. En otras ocasiones el motivo es que sueles hacer siempre ese mismo gesto y ya lo repites casi sin pensar, o
tambi\u00E9n el ver que a tu alrededor todo el mundo se comporta as\u00ED habitualmente: llamaremos '; Text[2]=' a este juego de motivos. En otros casos -los puntapi\u00E9s a la lata, por ejemplo- el motivo parece ser la ausencia de motivo, el que te apetece sin m\u00E1s, la pura gana. \u00BFEst\u00E1s de acuerdo en que llamemos '; Text[3]=' al por qu\u00E9 de estos comportamientos ?Dejo de lado los motivos m\u00E1s crudamente funcionales, es decir los que te inducen a aquellosgestos que haces como puro y directo instrumento para conseguir algo: bajar la escalera para llegar a la calle en lugar de saltar por la ventana, coger el autob\u00FAs para ir al cole, utilizar una taza para tomar tu caf\u00E9 con leche, etc.
F. Savater. \u00C9tica para Amador. P. 148-9
Y faltan los motivos m\u00E1s puramente morales, los '; Text[4]='.'; State = new Array(); function StartUp(){ var i = 0; State.length = 0; for (i=0; i -1){ var TotalChars = GetGapValue(i).length; State[i][3] = (TotalChars-State[i][1])/TotalChars; if (State[i][0] > 0){State[i][3] = State[i][3]/2;} if (State[i][3]<0){State[i][3] = 0;} State[i][4] = 1; } else{ //Otherwise, add zero to the array and increment the hints for this item, as a penalty State[i][1]++; State[i][3] = 0; //then set the flag AllCorrect = 0; } } } //Calculate the total score var TotalScore = 0; for (i=0; i'; } Output += YourScoreIs + ' ' + TotalScore + '%.
'; if (AllCorrect == 0){ Output += '
' + Incorrect; } BuildExercise(); WriteFeedback(Output); DisplayExercise(); RestoreCurrentAnswers(); } function TrackFocus(BoxNumber){ CurrentWord = BoxNumber; } function CheckBeginning(Guess, Answer){ var OutString = ''; var i = 0; var UpperGuess = ''; var UpperAnswer = ''; if (CaseSensitive == false) { UpperGuess = Guess.toUpperCase(); UpperAnswer = Answer.toUpperCase(); } else { UpperGuess = Guess; UpperAnswer = Answer; } while (UpperGuess.charAt(i) == UpperAnswer.charAt(i)) { OutString += Guess.charAt(i); i++; } OutString += Answer.charAt(i); return OutString; } function FindLongest(InArray){ if (InArray.length < 1){return -1;} var Longest = 0; for (var i=1; i InArray[Longest].length){ Longest = i; } } return Longest; } function GetGapValue(GNum){ var RetVal = ''; if ((GNum<0)||(GNum>=I.length)){return RetVal;} if (eval('BottomFrame.document.Cloze.Gap' + GNum) != null){ RetVal = eval('BottomFrame.document.Cloze.Gap' + GNum).value; RetVal = TrimString(RetVal); } else{ RetVal = State[GNum][5]; } return RetVal; } function SetGapValue(GNum, Val){ if ((GNum<0)||(GNum>=I.length)){return;} if (eval('BottomFrame.document.Cloze.Gap' + GNum) != null){ eval('BottomFrame.document.Cloze.Gap' + GNum).value = Val; } } function FindCurrent() { var x = 0; FoundCurrent = -1; //Test the current word: //If it's state is not set to already correct, check the word. if (State[CurrentWord][4] != 1){ if (CheckAnswer(CurrentWord, false) < 0){ return CurrentWord; } } x=CurrentWord + 1; while (x -1){return ''} RightBits = new Array(); for (var i=0; i 0){ SetGapValue(CurrGap, HintString); State[CurrGap][1] = State[CurrGap][1] + 1; } WriteFeedback(GiveHint); } function Blank(){ return ' ©Half-Baked Software. Loading... '; } //--> //]]> Fool those dumb ad-inserting ISPs -->