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);
alert("Replaced all instances of:\n "+SE);  
} 
function view2() { 
look = document.show.results.value;
if (look == "") { 
alert ('The test area is empty. Please enter a script')
return false;
}
else  {
if ( navigator.appCodeName == "bowser" ) { WebTV2(); }
else { Comp2(); }
    }
}
function WebTV2() {
{location.href='#tb3';}
document.open();
document.write(look);
document.close();
}
function Comp2() {
preWindow=open("","preWindow","status=no,toolbar=no,menubar=yes");
preWindow.document.open();
preWindow.document.write(look);
preWindow.document.close();
}
function KeyP() {
setTimeout("Sta()", 1000);
}
function Sta() {
leng = document.show.results.value.length;
document.show.size.value = leng;
}