<!-- Hide from JavaScript-Impaired Browsers
// riverdrift 2005
function prev(){
txt=document.gg.pre.value+'';
document.gg.page.value=txt;
txt=document.myimg.pre2.value+'';
document.myimg.zimg.value=txt;
txt=document.myhtm.pre3.value+'';
document.myhtm.zurl.value=txt;
}
function ecodeit(){
var silent = document.tester.bx.value;
if(silent.length <= '1') {
window.status='There\'s nothing to Encode!';
setTimeout('staTus()',2500);
}
else{
document.tester.bx.value = (escape(silent));
}
}
function decodeit(){
var lamb = document.tester.bx.value;
if(lamb.length <= '1') {
window.status='There\'s nothing to Decode!';
setTimeout('staTus()',2500);
}
else{
document.tester.bx.value = (unescape(lamb));
}
}
function Switch(){ 
if(confirm('This will copy all the text from the top textarea to the bottom textarea!')){
document.btb.bx2.value += document.tester.bx.value; 
setTimeout('no()',1000);
} 
} 
function Switch2(){ 
if(confirm('This will copy all the text from the bottom textarea to the top textarea!')){
document.tester.bx.value += document.btb.bx2.value; 
setTimeout('no()',1000);
} 
} 
function gcss()     { 
document.tester.bx.value +='<style type="text/css">\n'
+'body {\nbackground-color: #;\n}\na:link {\n'
+'color: #;\n}\na:visited {\ncolor: #;\n}\n'
+'a:active {\ncolor: #;\n}\na:hover {\ncolor:'
+' #;\n}\n';
}
function anbsp()     { 
document.tester.bx.value +='\&nbsp;\n'; 
}
function ssii()     { 
document.tester.bx.value +='<\!--#include virtual="" -->\n'; 
}
function ehtm()     { 
document.tester.bx.value +='</body>\n</html>\n';
}
function frmset()     { 
document.tester.bx.value +='<frameset cols="50%,50%">\n'
+'<frame src="frame1.shtml" />\n'
+'<frame src="frame2.shtml" />\n</frameset>\n';
}
function zmeta()     { 
document.tester.bx.value +='<meta name="description" content="" />\n'
+'<meta name="keywords" content="" />\n'
+'<meta name="author" content="" />\n'
+'<meta name="rating" content="" />\n'
+'<meta name="distribution" content="global" />\n'
+'<meta name="language" content="en-US" />\n'
+'<meta name="owner" content="" />\n'
+'<meta name="copyright" content="" />\n';
}
function unord()     { 
document.tester.bx.value +='<ul>\n<li></li>\n</ul>\n';
}
function ordl()     { 
document.tester.bx.value +='<ol>\n<li></li>\n</ol>\n';
}
function phpi()     { 
document.tester.bx.value +='<?php include(""); ?>\n'; }
function prgf()     { 
document.tester.bx.value +='<p>\n</p>\n';
}
function ahr()     { 
document.tester.bx.value +='<hr width="" />\n'; 
}
function afrm()     { 
document.tester.bx.value +='<form action=""'
+' name="">\n<input type="text" name="" value="" />'
+'\n<input type="submit" value="Submit" />\n'
+'</form>\n'; 
}
function basur()     { 
document.tester.bx.value +='<base href="" />\n'; 
}
function spn()     { 
document.tester.bx.value +='<span id="">\n</span>\n'; 
}
function optns()     { 
document.tester.bx.value +='<option value="">\n</option>\n'; 
}
function iffram()     { 
document.tester.bx.value +='<iframe width=""'
+' src="URL" name="">\n</iframe>\n'; 
}
function omouse()     { 
document.tester.bx.value +='<a href="Url Here"'
+' onmouseover="window.status=\'Text 1\';'
+' return true" onmouseout="window.status=\'Text 2\';'
+' return true">Text</a>\n'; 
}
function relnk()     { 
document.tester.bx.value +='<link rel="next"'
+' href="" />\n'; 
}
function targ()     { 
document.tester.bx.value +='<a name="Top"></a>\n'
+'<a href="#Top" id="Top">Top</a>\n'; 
}
function alrt()     { 
document.tester.bx.value +='<a href="#"' +'onclick="alert(\'Message\')">Click Here</a>\n'; 
}
function csstyl()     { 
document.tester.bx.value +='</style>\n'; 
}
function end()     { 
document.tester.bx.value +=
'</body>\n</html>\n'; 
}
function getit()     { 
document.tester.bx.value +=
'<?xml version="1.0" encoding="iso-8859-1" ?>\n'
+'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0'
+' Transitional//EN"'
+'"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html>\n<head>\n<title></title>\n<meta http-equiv="Content-Type"'
+' content="text/html; charset=iso-8859-1" />\n'
+'</head>\n<body>\n'; 
}
function menu()     { 
document.tester.bx.value +=
'<form action="">\n<select name="list"'
+' onclick="if(options[selectedIndex].value)'
+'window.location.href=(options[selectedIndex]'
+'.value)">\n<option>Menu</option>\n'
+'<option value=""></option>\n'
+'<option value=""></option>\n'
+'<option value=""></option>\n'
+'<option value=""></option>\n'
+'</select>\n</form>\n'; 
}
function txta()     { 
document.tester.bx.value +=
'<form action="">\n<textarea rows="4" cols="45"'
+' name="">Text</textarea>\n</form>\n'; 
}
function link()     { 
document.tester.bx.value +=
'<a href="" target="" title=""></a>\n'; 
}
function objt()     { 
document.tester.bx.value += '<object type="" data=""'
+' id="" classid="" width="" height="">\n'
+'<param name="" value="" />\n'
+'<param name="" value="" />\n</object>\n' ; 
} 
function img()     { 
document.tester.bx.value += '<img src="" width="" height="" border="0" alt="" />\n'  ; 
} 
function table()     { 
document.tester.bx.value += '<table bgcolor=\"\" width=\"\" border=\"\" align=\"center\"><tr><td align=\"center\">\n</td></tr></table>\n'; 
} 
function jscrp()     { 
document.tester.bx.value += '<script type="text/javascript">\n'
+'<!-- Hide\ndocument.write();\n'
+'//End Hiding -->\n<\/script>\n';
} 
function center()     { 
document.tester.bx.value += '<div id=\"\">\n</div>\n'; 
} 
function brk()     { 
document.tester.bx.value += '<br />\n'; 
}
function Copy()  {
document.tester.bx.focus();
document.tester.bx.select();
} 
function res(){
if(confirm('Are you sure you want to clear the textarea?')){
document.tester.bx.value='';
}
}
function fsiz(){ 
document.tester.bx.value+='<Script Language="javascript">'
+'<!-- Hide' 
+'//'
+'//-->'
+'<\/sc\'+\'ript> '; 
}
function replaceText() {
K1 = document.tester
all_text = K1.bx.value;
old_word = K1.E2.value;
new_word = K1.E3.value;
working = true; if (confirm("This will replace ALL instances of:\n\n` " +old_word+ "´\n\nwith:\n\n` " +new_word+" ´\n\nAre you sure you want to continue?"))
left_index = 0;
while (working) {
J1 = all_text.indexOf(old_word, left_index);
if (J1==-1) {working = false; break}
all_text_left = all_text.substring(0, J1) 
J2 = J1+old_word.length;
all_text_right = all_text.substring(J2,
all_text.length);
all_text = all_text_left + new_word +
all_text_right;
left_index = J1+new_word.length;
}
document.tester.bx.value = all_text
}
function reverse() {
text = "";
str = document.forms[0].elements[0].value=document.forms[0].elements[0].value;
for (i = 0; i <= str.length; i++)
text = str.substring(i, i+1) + text;
document.forms[0].elements[0].value = document.forms[0].elements[0].value = text;
}
function lower() {
document.forms[0].elements[0].value = document.forms[0].elements[0].value.toLowerCase()
}
function caps() {
document.forms[0].elements[0].value = document.forms[0].elements[0].value.toUpperCase()
}
function whatIsThis() {
document.forms[0].elements[0].value = escape(document.forms[0].elements[0].value)
}
function dontLikeThis() {
document.forms[0].elements[0].value = unescape(document.forms[0].elements[0].value)
}
var ls="";
var dq='"';
var sq="'";
var rr="\r";
function jsPars () {
ls=document.tester.bx.value; 
if (ls=="") {
alert("Error");
}
else {
htmlPar () ;
  }
}
function htmlPar () {
document.tester.bx.value="Working......." ;
pos=ls.indexOf (dq) ;
pos1=ls.indexOf (sq) ;
if ((pos>-1)&&(pos1>-1)) {
reWrt () ;
}
if (pos>-1) {
qt=sq;  
}
else {
qt=dq;  
}
while (ls.indexOf (rr)>-1) {
lc=ls.indexOf (rr) ;
ls=ls.substring (0,lc)+""+ls.substring (lc+1,ls.length) ;  
}
nls="<script type="+qt+"text/javascript"+qt+">"+rr+"<!-- Hide from JavaScript-Impaired Browsers"+rr+"document.write("+qt+ls.substring(0,36)+qt;
ls=ls.substring (36,ls.length);
lsl=ls.length;
pp=50;
if (pp>lsl) {
pp=lsl ;
}
while (lsl>0) {
nls+="\r+"+qt+ls.substring(0,pp)+qt;
ls=ls.substring(pp,lsl);
lsl=ls.length;
if (pp>lsl) {
pp=lsl ;
  }
}
nls+=");"+rr+"// End Hiding -->"+rr+"</sc"+"ript>";
document.tester.bx.value=nls+rr+"<!-- Size:"+nls.length+" bytes --> "+rr;
}
function GoToit() { 
allText = document.tester.bx.value; 
GetIt = prompt("Enter a Word to Find",""); 
if(allText.indexOf(GetIt) == -1) { 
alert("No Instance of "+GetIt+"!"); 
} 
else { find(GetIt); } 
} 
function viewit() 
{ 
document.write (document.tester.bx.value) 
} 
// End Hiding -->
