Tu sei qui: Home / Lingua / Esercizi / Esercizi interattivi / A scuola mi divertivo molto

A scuola mi divertivo molto

Livello intermedio. Esercizio di lettura, tratto da un testo di Federico Fellini

HTML icon Fellini1.htm — HTML, 22 KB (22861 bytes)

Contenuto del file

<html>

	<head>
		<meta name="author" content="Created with Hot Potatoes by Half-Baked Software, registered to Alberto Cairoli.">
		<meta name="keywords" content="Hot Potatoes, Half-Baked Software, Windows, University of Victoria">
		<title>A scuola mi divertivo molto</title>
		<script language="javascript" type="text/javascript">

//<![CDATA[

<!--
// BrowserCheck Object

function BrowserCheck() {
	var b = navigator.appName
//HBS extension
	this.mac = (navigator.appVersion.indexOf('Mac') != -1)
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.ns = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	this.min = (this.ns||this.ie)
	this.CRAPBrowser = (this.ie && this.mac); //Cannot Resolve Addresses Properly
}

is = new BrowserCheck();

var LocFolder = GetFolder(window.location.href);
function GetFolder(LocPath){
	var i = LocPath.lastIndexOf('/');
	if (i<0){i=LocPath.lastIndexOf('\\')};
	return LocPath.substring(0,i);
}

function CombineURLs(InURL){
	var i = InURL.indexOf('../');
	var s = LocFolder;
	while (i >- 1){
		s = GetFolder(s);
		InURL = InURL.substring(3,InURL.length);
		i = InURL.indexOf('../');
	}
	return s + '/' + InURL;
}

x = new Array();
function ResolveURLs(InText,Attribute){
	x.length=0;
	var Temp = InText.toLowerCase();
	var z;
	var AttLen = Attribute.length + 2;
	var y=Temp.lastIndexOf(Attribute + '="');
	while (y>-1){
		var sLoc = y+AttLen;
		if (Temp.substring(sLoc,sLoc+5) != 'http:'){
			x[x.length]=new Array();
			x[x.length-1][0] = sLoc;
			z = Temp.indexOf('"',sLoc);
			x[x.length-1][1] = z;
			x[x.length-1][2] = Temp.substring(sLoc,z);
		}
		Temp = Temp.substring(0,y);
		y=Temp.lastIndexOf(Attribute + '="');
	}
	for (var j=x.length-1; j>-1; j--){
		InText = InText.substring(0,x[j][0]) + CombineURLs(x[j][2]) + InText.substring(x[j][1], InText.length);
	}
	return InText;
}

function ResolveAllURLs(Stuff){
	Stuff = ResolveURLs(Stuff,'href');
	Stuff = ResolveURLs(Stuff,'src');
	return Stuff;
}
var CorrectResponse = 'Esatto!';
var IncorrectResponse = 'Spiacente! Prova di nuovo.';
var TheseAnswersToo = 'Sono giuste anche queste altre soluzioni:';
var ThisMuchCorrect = 'Questa &egrave; la parte giusta della tua risposta:';
var RemainingWords = 'Parole rimanenti:';
var NextCorrect = 'L\'elemento giusto successivo &egrave;: ';
var YourScoreIs = 'Il tuo punteggio...';
var CapitalizeFirst = false;
var ExerciseTitle = 'A scuola mi divertivo molto';;
var ExerciseSubtitle = 'Esercizio di ricostruzione.';;
var Instructions = 'Metti in ordine le varie parti per ricostruire una frase. Quando pensi che la tua frase sia corretta, clicca su "Controlla" per verificare la risposta. Se hai problemi, clicca su "Suggerimento" per trovare l\'elemento giusto successivo.'; //'';
var DefaultResponse = '[strDefaultResponse]';
var Penalties = 0;

var PreviousPage = history.length;

var ReadingURL = '';

ReadingText='<html><head><meta name="author" content="Created with Hot Potatoes by Half-Baked Software, registere';
ReadingText+='d to Alberto Cairoli."></meta><meta name="keywords" content="Hot Potatoes, Half-Baked Software, Wind';
ReadingText+='ows, University of Victoria"></meta><title>A scuola mi divertivo molto</title></head><body backgroun';
ReadingText+='d="Sfondo.jpg" bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000cc"><center><table border';
ReadingText+='="0" cellpadding="5" cellspacing="1" width="85%"><tr><td align="center" bgcolor="#ffffff"><font size';
ReadingText+='="+1" face="Geneva,Arial" color="#ff0000">A scuola mi divertivo molto<br></br></font></td></tr><tr><';
ReadingText+='td bgcolor="#ffffff"><font face="Geneva,Arial" size="-1" color="#000000">Gli anni del ginnasio e del';
ReadingText+=' liceo li ho raccontati in Amarcord, e da quel film si capisce che se a scuola apprendevo poco, in c';
ReadingText+='ompenso mi divertivo molto. Forse a scuola, pi&ugrave; che il greco, il latino, la matematica, la ch';
ReadingText+='imica, di cui non ho mai ricordato niente, nemmeno un verso, una frase, una cifra, una formula, ho i';
ReadingText+='mparato a sviluppare lo spirito d\'osservazione, ad ascoltare il silenzio del tempo che passa, a rico';
ReadingText+='noscere i rumori lontani, gli odori che arrivavano dalle finestre di fronte, un po\' come un carcerat';
ReadingText+='o che sa quanto tempo ci mette quel triangolo di sole per arrivare sulla branda, e distingue il suon';
ReadingText+='o della campana del Duomo da quella di Sant\'Agostino.<br />Ho un ricordo pigro e piacevole d\'intere ';
ReadingText+='mattinate, di interi pomeriggi passati senza far niente, allungando le gambe sotto Il banco, pulendo';
ReadingText+='mi le unghie con un pennino.<br /><br />Federico FELLINI, Intervista sul cinema, a cura di Giovanni ';
ReadingText+='GRAZZINI, Saggi tascabili. Laterza.<br /><br /></font></td></tr></table></center></body></html>';


if (is.CRAPBrowser){ReadingText=ResolveAllURLs(ReadingText);}




var NavBar='';


NavBar+='<tr><form name="NavButtons1" action=""><td bgcolor="#ffffff" align="center">';
NavBar+='<font face="Geneva,Arial" size="-1">';



NavBar+='<input type="button" value="Prossima frase" onclick="parent.location=\'Fellini2.htm\'"></input>';
NavBar+='</font></td></form></tr>';


var TitleCode = '<tr><td align="center" valign="middle" bgcolor="#ffffff">';
TitleCode += '<font size="+1" face="Geneva,Arial" color="#ff0000">' + ExerciseTitle + '</font><br />';
TitleCode += '<font size="-1" face="Geneva,Arial" color="#ff0000">' + ExerciseSubtitle + '<br />';
TitleCode += '</font></td></tr>';

var TableOpener = '<center><table border="0">';

var SegRowOpener = '<tr><td valign="middle" align="center" bgcolor="#ffffff">';
SegRowOpener += '<font face="Geneva,Arial" color="#000000" size="+1"><br />';

var SegRowCloser = '<br /><br /></td></tr>';

var ButtonRowOpener = '<form name="ButtonForm"><tr><td valign="middle" align="center" bgcolor="#ffffff">';
ButtonRowOpener += '<font face="Geneva,Arial" color="#000000">';

var ButtonRowCloser = '<br /></td></tr></form>';

var SegmentTemplate = '&nbsp;&nbsp;<a href="javascript:parent.DoNothing()" onclick="parent.AddSegment([SegmentNumber])" onMouseOver="window.status=\'Clicca sulle parole per aggiungerle alla frase.\';return true"><font color="#000000">[CurrentSegment]</font></a>&nbsp;&nbsp;';

var CheckButton = '<input type="button" value="Controlla" OnClick="parent.CheckAnswer(0)"></input>';


var UndoButton = '<input type="button" value="Annulla"  onclick="parent.Undo()"></input>';



var RestartButton = '<input type="button" value="Ricomincia"  onclick="parent.Restart()"></input>';


var HintButton = '<input type="button" value="Aiuto!"  onclick="parent.CheckAnswer(1)"></input>';


TableCloser = '</form></table></center>';

var Exercise = '';

var Punctuation = unescape(')}]!;:?,.%85%92%94%9B%A8%B4%B7%BB');

var Openers = unescape('"({[%82%84%8B%91%93%A1%AB%BF');

var Guesses = new Array();
var Remaining = new Array();
var CorrectParts = new Array();

var ClosestMatch = 0;

var LowerString='';
var UpperString='';

var Output = '';

var LowerString=unescape('abcdefghijklmnopqrstuvwxyz%9A%9C%E0%E1%E2%E3%E4%E5%E6%E7%E8%E9%EA%EB%EC%ED%EE%EF%F0%F1%F2%F3%F4%F5%F6%F8%F9%FA%FB%FC%FD%FE%FF');
var UpperString=unescape('ABCDEFGHIJKLMNOPQRSTUVWXYZ%8A%8C%C0%C1%C2%C3%C4%C5%C6%C7%C8%C9%CA%CB%CC%CD%CE%CF%D0%D1%D2%D3%D4%D5%D6%D8%D9%DA%DB%DC%DD%DE%9F');

CharList = new Array();

EscapeList = new Array();


function Webble(InString){
	var OutString = '';
	var NextChar = '';
	var FoundCode = '';
	var j = 0;
	var i = 0;
	for (i=0; i<InString.length; i++){
		FoundCode = '';
		NextChar = InString.charAt(i);
		for (j=0; j<CharList.length; j++){
			if (NextChar == CharList[j]){
				FoundCode = EscapeList[j];
				break;
			}
		}
		if (FoundCode.length > 0){
			OutString += FoundCode;
		}
		else{
			OutString += NextChar;
		}
	}
	return OutString;
}

var Segments = new Array();
Segments[0] = new Array();
Segments[0][0] = unescape('Gli anni del ginnasio');
Segments[0][1] = 1;
Segments[0][2] = 0;
Segments[1] = new Array();
Segments[1][0] = unescape('li ho raccontati');
Segments[1][1] = 3;
Segments[1][2] = 0;
Segments[2] = new Array();
Segments[2][0] = unescape('apprendevo poco,');
Segments[2][1] = 8;
Segments[2][2] = 0;
Segments[3] = new Array();
Segments[3][0] = unescape('si capisce che');
Segments[3][1] = 6;
Segments[3][2] = 0;
Segments[4] = new Array();
Segments[4][0] = unescape('e da quel film');
Segments[4][1] = 5;
Segments[4][2] = 0;
Segments[5] = new Array();
Segments[5][0] = unescape('mi divertivo');
Segments[5][1] = 10;
Segments[5][2] = 0;
Segments[6] = new Array();
Segments[6][0] = unescape('in Amarcord,');
Segments[6][1] = 4;
Segments[6][2] = 0;
Segments[7] = new Array();
Segments[7][0] = unescape('in compenso');
Segments[7][1] = 9;
Segments[7][2] = 0;
Segments[8] = new Array();
Segments[8][0] = unescape('se a scuola');
Segments[8][1] = 7;
Segments[8][2] = 0;
Segments[9] = new Array();
Segments[9][0] = unescape('e del liceo');
Segments[9][1] = 2;
Segments[9][2] = 0;
Segments[10] = new Array();
Segments[10][0] = unescape('molto.');
Segments[10][1] = 11;
Segments[10][2] = 0;


var GuessSequence = new Array();

var Answers = new Array();
Answers[0] = new Array(1,2,3,4,5,6,7,8,9,10,11);


function GoBack(){
	var BackSkip = history.length - PreviousPage;
	if (BackSkip > 0){
		history.go((BackSkip+1)*-1);
	}
	else{
		parent.history.back();
	}
}


function WriteFeedback(Feedback) {
	if (is.CRAPBrowser){Feedback=ResolveAllURLs(Feedback);}
//Build the output string
	var OutString = '';
	OutString += '<html>';
	OutString += '<body  background="Sfondo.jpg" bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000cc">';
	OutString += '<center><table border="0" cellpadding="5" cellspacing="1" width="85%">';
	OutString += NavBar;
	if (Feedback.length>0){
		OutString += '<tr><td bgcolor="#ffffff" align="center">'; 
		OutString += '<font face="Geneva,Arial" size="-1" color="#000000">';
		OutString += Feedback;
		OutString += '</font></td></tr>'
	}
	OutString += '</table></center></body></html>';
//Write it to the frame
	TopFrame.document.clear();
	TopFrame.document.open();
	TopFrame.document.write(OutString);
	TopFrame.document.close();
}

function Restart(){
	Penalties = 0;
	GuessSequence.length = 0;
	BuildCurrGuess();
	WriteFeedback(RemainingWords + '<br /><i>' + RemainingList + '</i>');
	BuildExercise();
	DisplayExercise(Exercise);
}

function Undo(){
	if (GuessSequence.length < 1){
		return;
	}
	GuessSequence.length = GuessSequence.length - 1;
	BuildCurrGuess();
	WriteFeedback('<i><font size="+1">' + Output + '</font></i><br /><br />' + RemainingWords + '<br /><i>' + RemainingList + '</i>');
	BuildExercise();
	DisplayExercise(Exercise);
}

function AddSegment(SegNum){
	GuessSequence[GuessSequence.length] = SegNum;
	BuildCurrGuess();
	WriteFeedback('<font size="+1">' + Output + '</font>');
//	WriteFeedback('<i>' + Output + '</i><br /><br />' + RemainingWords + '<br /><i>' + RemainingList + '</i>');
	BuildExercise();
	DisplayExercise(Exercise);
}

function BuildCurrGuess(){

	var i = 0;
	var j = 0;
	var NewSeg = '';

//first, create arrays of all the segments guessed so far and those not yet used
	GuessSegs = new Array();
	GuessSegs.length = 0;

//set the "used" markers all to 0
	for (i=0; i<Segments.length; i++){
		Segments[i][2] = 0;
	}

	for (i=0; i<GuessSequence.length; i++){
		for (j=0; j<Segments.length; j++){
			if ((Segments[j][1] == GuessSequence[i])&&(Segments[j][2] == 0)){
				GuessSegs[GuessSegs.length] = Segments[j][0];
				Segments[j][2] = 1;
				break;
			}
		}
	}

//Create the list of unused segments
	RemainingList = '';
	for (i=0; i<Segments.length; i++){
		if (Segments[i][2] == 0){
			RemainingList += Segments[i][0] + '&nbsp;&nbsp;&nbsp;';
		}
	}
	
//now concatenate the segments, adding spaces where appropriate;
	Output = CompileString(GuessSequence);
}

function CompileString(InArray){
	var OutString = '';
	var i = 0;
	OutArray = new Array();

	for (i=0; i<InArray.length; i++){
		OutArray[OutArray.length] = FindSegment(InArray[i]);
	}

	if (OutArray.length > 0){
		OutString = OutArray[0];
	}
	else{
		OutString = '';
	}
	var Spacer = '';

	for (i=1; i<OutArray.length; i++){
		Spacer = ' ';
		if ((Openers.indexOf(OutString.charAt(OutString.length-1)) > -1)||(Punctuation.indexOf(OutArray[i].charAt(0)) > -1)){
			Spacer = '';
		}
		OutString = OutString + Spacer + OutArray[i];		
	}

//Capitalize the first letter if necessary
	if (CapitalizeFirst == true){
		i = 0;
		if ((Openers.indexOf(OutString.charAt(i))>-1)||(OutString.charAt(i) == ' ')){
			i++;
		}
		if ((Openers.indexOf(OutString.charAt(i))>-1)||(OutString.charAt(i) == ' ')){
			i++;
		}
		var Temp = OutString.charAt(i);
		Temp = ConvertCase(Temp, 1);
		OutString = OutString.substring(0, i) + Temp + OutString.substring(i+1, OutString.length);
	}
	return OutString;
}

function ConvertCase(InString, Direction){

	var FromString = '';
	var ToString = '';

	if (Direction == 0){
		FromString = UpperString;
		ToString = LowerString;
	}
	else{
		FromString = LowerString;
		ToString = UpperString;
	}

	var i = 0;
	j = 0;
	var OutString = '';
	for (i=0; i<InString.length; i++){
		if (FromString.indexOf(InString.charAt(i)) > -1){
			j = FromString.indexOf(InString.charAt(i));			
			OutString += ToString.charAt(j);
		}
		else{	
			OutString += InString.charAt(i);
		}
	}
	return OutString;
}

function CheckAnswer(CheckType){

	if (GuessSequence.length < 1){
		if (CheckType == 1){
			WriteFeedback(NextCorrect + '<br /><i>' + FindSegment(Answers[0][0]) + '</i>');
			Penalties++;
		}
		return;
	}

	var i = 0;
	var j = 0;
	var k = 0;
	var WellDone = '';
	var WhichCorrect = -1;
	var TryAgain = '';
	var LongestCorrectBit = '';
	TempCorrect = new Array();
	LongestCorrect = new Array();
	var TempHint = '';
	var HintToReturn = 1;
	var OtherAnswers = '';

	for (i=0; i<Answers.length; i++){
		TempCorrect.length = 0;
		for (j=0; j<Answers[i].length; j++){
			if (Answers[i][j] == GuessSequence[j]){
				TempCorrect[j] = GuessSequence[j];
			}
			else{
				TempHint = Answers[i][j];
				break;
			}
		}
		if ((TempCorrect.length == GuessSequence.length)&&(TempCorrect.length == Answers[i].length)){
			WhichCorrect = i;
			break;
		}
		else{
			if (TempCorrect.length > LongestCorrect.length){
				LongestCorrect.length = 0;
				for (k=0; k<TempCorrect.length; k++){
					LongestCorrect[k] = TempCorrect[k];
				}
				HintToReturn = TempHint;
			} 
		}	
	}
	if (WhichCorrect > -1){
		for (i=0; i<Answers.length; i++){
			if (i!=WhichCorrect){
				OtherAnswers += '<br />' + CompileString(Answers[i]);
			}
		}

		WellDone = '<i>' + Output + '</i><br /><br />' + CorrectResponse + '<br />';

//Do score calculation here
		var Score = Math.floor(((Segments.length-Penalties) * 100)/Segments.length);
		WellDone += YourScoreIs + ' ' + Score + '%.<br />';

		if (OtherAnswers.length > 0){
			WellDone += TheseAnswersToo + '<i>' + OtherAnswers + '</i>';
		}


		WriteFeedback(WellDone);

		return;
	}

	else{
		TryAgain = '<i>' + CompileString(GuessSequence) + '</i><br /><br />';
		Penalties++;
		if (CheckType == 0){
			TryAgain += IncorrectResponse + '<br />';
		}

		if (LongestCorrect.length > 0){
			LongestCorrectBit = CompileString(LongestCorrect);
			GuessSequence.length = LongestCorrect.length;
			TryAgain += ThisMuchCorrect + '<br /><i>' + LongestCorrectBit + '</i><br />';
		}

		if (CheckType == 1){
			TryAgain += NextCorrect + '<br />' + FindSegment(HintToReturn);
		}

		WriteFeedback(TryAgain);
		BuildCurrGuess();
		BuildExercise();
		DisplayExercise(Exercise);
	}
}

function FindSegment(SegID){
	var Seg = '';
	for (var i=0; i<Segments.length; i++){
		if (Segments[i][1] == SegID){
			Seg = Segments[i][0];
			break;
		}
	}
	return Seg;
}

function DoNothing(){}

function StartUp(){

//Write the top frame
	WriteFeedback(Instructions);


	if (TimerFrame != null) {
		Stuff='<input type="button"';
		Stuff+=' name="StartIt" value="Inizio della lettura" onclick="parent.StartReading()"></input>';
		WriteToReading('Clicca sul bottone per vedere il testo da leggere.');
		WriteToTimer(Stuff);
	}


//Build and show the exercise
	BuildExercise();
	DisplayExercise(Exercise);



}

function BuildExercise(){
	Exercise = '';

	var ButtonRow = ButtonRowOpener + CheckButton;

	ButtonRow += UndoButton;


	ButtonRow += RestartButton;


	ButtonRow += HintButton;

	ButtonRow += ButtonRowCloser;

	var SegRow = SegRowOpener;
	var TempRow = '';

	for (var i=0; i<Segments.length; i++){
//if the segment hasn't been used yet
		if (Segments[i][2] == 0){
			TempRow = SegmentTemplate;
			TempRow = ReplaceStuff('[SegmentNumber]', Segments[i][1], TempRow);
			TempRow = ReplaceStuff('[CurrentSegment]', Webble(Segments[i][0]), TempRow);
			SegRow += TempRow;
		}
	}

	SegRow += SegRowCloser;

//Make it into a table
	Exercise = TableOpener + ButtonRow + SegRow + TableCloser;
}

function ReplaceStuff(Token, Replacement, InString){
	var i = InString.indexOf(Token);
	var FirstBit = '';
	var LastBit = '';
	while (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;
}

function DisplayExercise(StuffToDisplay){
//Build the output string
	var OutString = '';
	OutString += '<html>';
	OutString += '<body  background="Sfondo.jpg" bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000cc">';
	OutString += '<center><table border="0" cellpadding="5" cellspacing="1" width="85%">';
	OutString += TitleCode; 
	OutString += '<tr><td bgcolor="#ffffff" align="center">'; 
	OutString += '<font face="Geneva,Arial" size="-1">';
	OutString += StuffToDisplay;
	OutString += '</font></td></tr>';
	OutString += NavBar;
	OutString += '</table></center></body></html>';

	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 ShowReading(){
	if (ReadingFrame != null){
		if (ReadingURL.length > 0){
			ReadingFrame.location.href=ReadingURL;
		}
		else{
			ReadingFrame.document.clear();
			ReadingFrame.document.open();
			ReadingFrame.document.write(ReadingText);
			ReadingFrame.document.close();
		}
	}
}



//Reading text/timer code
var min
var sec
var ShowReadingAgain = 'Mostra di nuovo il testo';

function DownTime(mm,ss){
	min = mm;
	sec = ss;

	if (sec==0) {
		sec = 60;
		min--;
	}

	sec--;
	if (sec<10){
		sec="0" + sec;
	}

	if (TimerFrame.document.TimerForm.face == null){
		return;
	}

	TimerFrame.document.TimerForm.face.value= min+":"+sec;
	if ((min==0) && (sec==0)){
		TimesUp()
	}
	else{
		setTimeout('DownTime(min,sec)',1000)
	}
}

function StartReading(){
	Stuff='Tempo restante:';
	Stuff+=' <input type="text" name="face" size="6" value="1:00"></input>';
	WriteToTimer(Stuff);
	ShowReading();
	timeoutID=setTimeout('DownTime(1,0)',1000);
}

function TimesUp() {
	if (ShowReadingAgain.length > 0) {
		Stuff='<input type="Hidden" name="ThisAvoidsNavigator3Bug"></input>';
		Stuff+='<input type="button" name="StartIt" value="Mostra di nuovo il testo" onclick="parent.StartReading()"></input>';
		WriteToTimer(Stuff);
	}
	WriteToReading('Tempo scaduto');
}

function WriteToReading(Stuff) {
	if (is.CRAPBrowser){Stuff=ResolveAllURLs(Stuff);}
	ReadingFrame.document.clear();
	ReadingFrame.document.open();
	ReadingFrame.document.writeln ('<html>');
	ReadingFrame.document.writeln ('<body  background="Sfondo.jpg" bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000cc">');
	ReadingFrame.document.writeln ('<center><table border="0" cellpadding="5" cellspacing="1" width="85%">');
	ReadingFrame.document.writeln ('<tr><td bgcolor="#ffffff" align="center">') 
	ReadingFrame.document.writeln ('<font face="Geneva,Arial" size="-1">');
	ReadingFrame.document.writeln (Stuff);
	ReadingFrame.document.writeln ('</font></td></tr></table></center></body></html>');
	ReadingFrame.document.close();
}

function WriteToTimer(Stuff){
	if (is.CRAPBrowser){Stuff=ResolveAllURLs(Stuff);}
	TimerFrame.document.clear();
	TimerFrame.document.open();
	TimerFrame.document.writeln ('<html>');
	TimerFrame.document.writeln ('<body  background="Sfondo.jpg" bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#0000cc">');
	TimerFrame.document.writeln ('<center><table border="0" cellpadding="5" cellspacing="1" width="85%">');
	TimerFrame.document.writeln ('<form name="TimerForm"><tr><td bgcolor="#ffffff" align="center">') 
	TimerFrame.document.writeln ('<font face="Geneva,Arial" size="-1">');
	TimerFrame.document.writeln (Stuff);
	TimerFrame.document.writeln ('</font></td></tr></form></table></center></body></html>');
	TimerFrame.document.close();
}






function Blank(){
	return '<html><body>&copy;Half-Baked Software. Loading...</body></html>';
}

//-->

//]]>

</script>
	</head>

	<!--<body>Fool those dumb ad-inserting ISPs</body>-->
	<!--For full XHTML 1.0 compatibility, remove the border and framespacing attributes.
These are required for proper display in current browsers, but render the document incompatible. Then, you'll need to add the appropriate Document Type Declaration; use
the W3C XHTML 1 frameset DTD.-->
	<frameset cols="50%,50%" framespacing="0" border="0">
		<frameset rows="40%,*" framespacing="0" border="0" onload="StartUp()">
			<frame src="javascript:parent.Blank()" frameborder="0" name="TopFrame">
			<frame src="javascript:parent.Blank()" frameborder="0" name="BottomFrame">
		</frameset>
		<frameset rows="20%,*" framespacing="0" border="0">
			</frame>
			<frame src="javascript:parent.Blank()" frameborder="0" name="TimerFrame">
			<frame src="javascript:parent.Blank()" frameborder="0" name="ReadingFrame">
		</frameset>
	</frameset>
</html>