');
else if (language.indexOf('pt') > -1) document.write('');
else if (language.indexOf('pt-br') > -1) document.write('');
else if (language.indexOf('es') > -1) document.write('');
// If language isn't one of the above, default to English
else document.write('');
-->
');
}
// This is for the preview button. It reads the textarea and writes it to a new window.
function preview()
{
if(document.gen.fbagen.value.length>0)
{
nw=window.open("","Preview","scrollbars=1,menubar=1,status=0,width=800,height=610,left=50,top=40");
nw.document.write("
" + document.gen.fbagen.value + "
");
}
else alert('' + document.lang.nothin.value + '')
}
// This is for loading the SHA1 window.
function sha1()
{
if (document.gen.mamevers.value == "70") if (document.gen.shaopen.value =="closed") {
nw=window.open("files/sha1.htm","SHA1","scrollbars=0,menubar=0,status=0,width=430,height=650,left=300,top=20");
}
if (document.gen.mamevers.value == "68") if (document.gen.shaopen.value =="closed") {
nw=window.open("files/sha1.htm","SHA1","scrollbars=0,menubar=0,status=0,width=430,height=650,left=300,top=20");
}
}
// This is for closing the SHA1 window if the main window is closed.
function closesha1()
{
if (document.gen.shaopen.value !="closed") {
nw=window.open("","SHA1","scrollbars=0,menubar=0,status=0,width=430,height=650,left=300,top=20");
nw.document.write("