<!--

function troba_nom(str)
{
	re=/%20/gi;
	theleft = str.indexOf("n=") + 2;
	theright = str.indexOf("&");
	newstr=str.substring(theleft, theright);
	return(newstr.replace(re," "));
}

function nomes_variables(str)
{
	theleft = str.indexOf("?") + 3;
	newstr=str.substring(theleft);
	return(newstr);
}

function desencripta(Str_Message)
{
	Len_Str_Message=Str_Message.length;
	Str_Encrypted_Message="";
	for (Position = 0 ; Position<Len_Str_Message ; Position+=3)
	{
		cadena_num = Str_Message.substring(Position, Position+3);
		Ascii_Num_Byte = 999-cadena_num;
	        caracter=String.fromCharCode(Ascii_Num_Byte);
		Str_Encrypted_Message=Str_Encrypted_Message+caracter;
	} 
	return(Str_Encrypted_Message);
}

var inilocate = window.location
var eltext

document.joe.burns.value = inilocate
eltext=document.joe.burns.value

variables_encriptades=nomes_variables(eltext);
variables_no_encriptades=desencripta(variables_encriptades);
document.write("<br>"+troba_nom(variables_no_encriptades)+", carefully type the following text:");
-->
