Código:
<SCRIPT>
validator = "abcdefghjiklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
vowels = "aeiouyAEIOUY";
aemap = new Array();
aemap["a"] = "e"; aemap["b"] = "p"; aemap["c"] = "s"; aemap["d"] = "t";
aemap["e"] = "i"; aemap["f"] = "w"; aemap["g"] = "k"; aemap["h"] = "n";
aemap["i"] = "u"; aemap["j"] = "v"; aemap["k"] = "g"; aemap["l"] = "c";
aemap["m"] = "l"; aemap["n"] = "r"; aemap["o"] = "y"; aemap["p"] = "b";
aemap["q"] = "x"; aemap["r"] = "h"; aemap["s"] = "m"; aemap["t"] = "d";
aemap["u"] = "o"; aemap["v"] = "f"; aemap["w"] = "z"; aemap["x"] = "q";
aemap["y"] = "a"; aemap["z"] = "j";
aemap["A"] = "E"; aemap["B"] = "P"; aemap["C"] = "S"; aemap["D"] = "T";
aemap["E"] = "I"; aemap["F"] = "W"; aemap["G"] = "K"; aemap["H"] = "N";
aemap["I"] = "U"; aemap["J"] = "V"; aemap["K"] = "G"; aemap["L"] = "C";
aemap["M"] = "L"; aemap["N"] = "R"; aemap["O"] = "Y"; aemap["P"] = "B";
aemap["Q"] = "X"; aemap["R"] = "H"; aemap["S"] = "M"; aemap["T"] = "D";
aemap["U"] = "O"; aemap["V"] = "F"; aemap["W"] = "Z"; aemap["X"] = "Q";
aemap["Y"] = "A"; aemap["Z"] = "J";
eamap = new Array();
eamap["a"] = "y"; eamap["b"] = "p"; eamap["c"] = "l"; eamap["d"] = "t";
eamap["e"] = "a"; eamap["f"] = "v"; eamap["g"] = "k"; eamap["h"] = "r";
eamap["i"] = "e"; eamap["j"] = "z"; eamap["k"] = "g"; eamap["l"] = "m";
eamap["m"] = "s"; eamap["n"] = "h"; eamap["o"] = "u"; eamap["p"] = "b";
eamap["q"] = "x"; eamap["r"] = "n"; eamap["s"] = "c"; eamap["t"] = "d";
eamap["u"] = "i"; eamap["v"] = "j"; eamap["w"] = "f"; eamap["x"] = "q";
eamap["y"] = "o"; eamap["z"] = "w";
eamap["A"] = "Y"; eamap["B"] = "P"; eamap["C"] = "L"; eamap["D"] = "T";
eamap["E"] = "A"; eamap["F"] = "V"; eamap["G"] = "K"; eamap["H"] = "R";
eamap["I"] = "E"; eamap["J"] = "Z"; eamap["K"] = "G"; eamap["L"] = "M";
eamap["M"] = "S"; eamap["N"] = "H"; eamap["O"] = "U"; eamap["P"] = "B";
eamap["Q"] = "X"; eamap["R"] = "N"; eamap["S"] = "C"; eamap["T"] = "D";
eamap["U"] = "I"; eamap["V"] = "J"; eamap["W"] = "F"; eamap["X"] = "Q";
eamap["Y"] = "O"; eamap["Z"] = "W";
promap = new Array();
promap["a"] = "ah"; promap["b"] = "bae"; promap["c"] = "ku";
promap["d"] = "de"; promap["e"] = "eay"; promap["f"] = "fe";
promap["g"] = "ge"; promap["h"] = "ha"; promap["i"] = "ee";
promap["j"] = "jae"; promap["k"] = "kuk"; promap["l"] = "lu";
promap["m"] = "m"; promap["n"] = "n"; promap["o"] = "oh";
promap["p"] = "pe"; promap["q"] = "q"; promap["r"] = "ra";
promap["s"] = "see"; promap["t"] = "te"; promap["u"] = "oo";
promap["v"] = "fu"; promap["w"] = "w"; promap["x"] = "x";
promap["y"] = "ae"; promap["z"] = "z";
promap["A"] = "AH"; promap["B"] = "BAE"; promap["C"] = "KU";
promap["D"] = "DE"; promap["E"] = "EAY"; promap["F"] = "FE";
promap["G"] = "GE"; promap["H"] = "HA"; promap["I"] = "EE";
promap["J"] = "JAE"; promap["K"] = "KUK"; promap["L"] = "LU";
promap["M"] = "M"; promap["N"] = "N"; promap["O"] = "OH";
promap["P"] = "PE"; promap["Q"] = "Q"; promap["R"] = "RA";
promap["S"] = "SEE"; promap["T"] = "TE"; promap["U"] = "OO";
promap["V"] = "FU"; promap["W"] = "W"; promap["X"] = "X";
promap["Y"] = "AE"; promap["Z"] = "Z";
function transme() {
if (document.theform.picker[0].checked) { // english to al bhed
builder = ""; toggler=0;
for (var i=0; i < document.theform.stimulus.value.length; i++) {
if (document.theform.stimulus.value.charAt(i)=="[") {toggler=1;};
if (document.theform.stimulus.value.charAt(i)=="]") {toggler=0;};
if (toggler==1) {builder=builder+document.theform.stimulus.value.charAt(i);}
else {
if (validator.indexOf(document.theform.stimulus.value.charAt(i))==-1)
{builder=builder+document.theform.stimulus.value.charAt(i);}
else
{builder=builder+eamap[document.theform.stimulus.value.charAt(i)];};
};
};
builder2 = ""; toggler=0; prev=0;
for (var i=0; i < document.theform.stimulus.value.length; i++) {
if (document.theform.stimulus.value.charAt(i)=="[") {toggler=1;};
if (document.theform.stimulus.value.charAt(i)=="]") {toggler=0;};
if (toggler==1) {builder2=builder2+document.theform.stimulus.value.charAt(i);}
else {
if (validator.indexOf(document.theform.stimulus.value.charAt(i))==-1)
{builder2=builder2+document.theform.stimulus.value.charAt(i);
prev=0;}
else
{temp = promap[eamap[document.theform.stimulus.value.charAt(i)]];
if (prev==1) {if ((vowels.indexOf(temp.charAt(0))==-1) && (temp.length!=1)) {builder2=builder2+"-";};};
builder2=builder2+temp;
prev=1;
};
};
};
document.theform.response.value=builder+"\n\nSe Pronuncia: \""+builder2+"\"";
} else { //al bhed to english
builder = ""; toggler=0;
for (var i=0; i < document.theform.stimulus.value.length; i++) {
if (document.theform.stimulus.value.charAt(i)=="[") {toggler=1;};
if (document.theform.stimulus.value.charAt(i)=="]") {toggler=0;};
if (toggler==1) {builder=builder+document.theform.stimulus.value.charAt(i);}
else {
if (validator.indexOf(document.theform.stimulus.value.charAt(i))==-1)
{builder=builder+document.theform.stimulus.value.charAt(i);}
else
{builder=builder+aemap[document.theform.stimulus.value.charAt(i)];};
};
};
document.theform.response.value=builder;
};
return false;
};
</SCRIPT>
<META content="Microsoft FrontPage 4.0" name=GENERATOR><BGSOUND
src="http://usuarios.lycos.es/diosesjl/juegos/psx2/albhed/ff10.mid"
loop=-1>
<STYLE fprolloverstyle>A:hover {font-weight: bold; color: red}
</STYLE>
</HEAD>
<BODY bgProperties=fixed
background="">
<CENTER>
<SCRIPT language=JavaScript>
<!--
// Cache-busting LUBID bug.
var ran = Math.round(Math.random() * 899999) + 100000;
var lubid_string = "<img src=\"http://hb.lycos.com/header?VID=5905&LHIG=1&ord=" + ran + "\" height=\"1\" width=\"1\">";
document.write(lubid_string);
//-->
</SCRIPT>
<NOSCRIPT><IMG height=1
src=""
width=1></NOSCRIPT>
<CENTER>
</CENTER><!--insite and popunder-->
<SCRIPT language=javascript type=text/javascript>
function showUnder(scale) {
var expdate = new Date ();
var surveyCookieName = "TRIPODPOPUNDER";
var percentOfferedSurvey = 100;
var surveyLocation =
var popupNewWindow = false;
expdate.setTime (expdate.getTime() + (24 * 60 * 60 * 1000));
var stored_value = GetCookie(surveyCookieName);
if (stored_value == null){
SetCookie(surveyCookieName, "under", expdate, "/", ".tripod.com");
trUnder = window.open(surveyLocation,'under','height=300,width=720,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
trUnder.blur();
}
}
function showInsite(){
var expdate = new Date ();
var surveyCookieName = "TRIPODINSITE";
var percentOfferedSurvey = 100;
var showSurvey = "(none)";
var surveyLocation = "/adm/redirect/cgi/adm/popunder/insite.html?"+"member_name=homikasen&path=index.htm&client_ip=62.174.136.47&ts=1047816587&ad_type=EMBED&id=6438ebe5030a9780f87c4938c9333021"+"&member_url="+document.location;
var popupNewWindow = true;
expdate.setTime (expdate.getTime() + (24 * 60 * 60 * 1000));
var stored_value = GetCookie(surveyCookieName);
if (stored_value == null && showSurvey != "(none)"){
SetCookie(surveyCookieName, "insite", expdate, "/", ".tripod.com");
trInsite = window.open(surveyLocation,'insite','height=300,width=450,toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no');
trInsite.blur();
}
}
function SetCookie (name,value,expires,path,domain,secure){
document.cookie = name + "=" + escape (value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "");
}
function getCookieVal (offset){
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name){
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
if( (document.cookie == null) || (document.cookie.length == null)){
return null;
}
var i = 0;
while (i < clen){
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
showUnder();
showInsite();
</SCRIPT>
</CENTER>
<P><FONT size=+2>Traductor Albhed</FONT> <BR><FONT size=+1>Basado en el mejor
juego de Rol del momento .</FONT></P>
<FORM name=theform onsubmit="return transme()" action="http://usuarios.lycos.es/diosesjl/juegos/psx2/albhed/FFX-2.zip" method=get>
<P>Frase que se quiere traducir: (Si no quieres traducir algún nombre por favor
introdúzcala en <B>[ ]</B> .) <BR><TEXTAREA name=stimulus rows=6 wrap=VIRTUAL cols=60></TEXTAREA></P>
<P>Traducción: <BR><TEXTAREA name=response rows=6 wrap=VIRTUAL cols=60></TEXTAREA></P>
<P>Translate... <BR><INPUT type=radio CHECKED value=0 name=picker>Español a
AlBhed <BR><INPUT type=radio value=1 name=picker>AlBhed a Español</P>
<P><INPUT type=submit value=Acepta>
</P></FORM></BODY></HTML>
</pre></xmp></noscript>