function spell() { 
var word = prompt("Enter a word",""); 
if (!word || null) { 
    alert('Please enter a word to lookup if you wish to continue.') 
    return false 
} 
else { 
    document.web.va.value = ""+word+""; 
    document.web.submit(); 
 } 
} 
function SR(){ 
d = document;
SE = prompt("Search for What?...CASE SENSITIVE!",""); 
if (!SE) { 
alert('Please enter a word to replace if you wish to continue.') 
return false; 
} 
else { 
document.SE.value; 
}
RE = prompt("Replace it with What?...",""); 
if (!RE) { 
alert('Please enter a word to replace if you wish to continue.') 
return false; 
} 
else { 
document.RE.value; 
}
d.show.results.value = d.show.results.value.split(SE).join(RE); 
}  
function Mail() { 
results = document.show.results.value; 
var to = prompt("To Whom:",''); 
if (!to) { 
alert('Please enter an email address if you wish to continue.') return false 
} 
else { 
document.to.value; 
} 
var sb='results'; 
var ms=results; 
document.mail.action='mailto:'+to+'?no_signature=true&subject=Testbed+results'; document.mail.results.value=ms; document.mail.submit(); 
document.mail.results.reset(); 
document.mail.reset(); 
to=""; 
sb=""; 
ms=""; 
} 
function viewer() { 
look = document.show.results.value; 
if (look == "") { 
alert ('The test area is empty. Please enter a script') 
return false; 
} 
else  { 
if ( navigator.appCodeName == "bowser" ) { WebTV(); } 
else { Comp(); } 
    } 
} 
function WebTV() { 
{location.href='#tb';}
document.open();
document.write('<html><head><title>Your Results</title></head>');
document.write("<font size=7>");
document.write(look);
document.write("</font>");
document.write('</html>');
document.close();
}
function Comp() {
preWindow=open("","preWindow","status=no,toolbar=no,menubar=yes,height=800,width=600,srcollbars=yes");
preWindow.document.open();
preWindow.document.write('<html><head><title>Your Results</title></head>');
preWindow.document.write("<font size=7>");
preWindow.document.write(look);
preWindow.document.write("</font>");
preWindow.document.write('</html>');
preWindow.document.close();
}
function KeyP() {
setTimeout("Sta()", 1000);
}
function Sta() {
leng = document.show.results.value.length;
document.show.size.value = leng;
}