<!-- Hide from JavaScript-Impaired Browsers
// Script by Gnubee- Skydrift 2003
function reset(){ 
document.ttb.bx.value = '';
} 
function fsiz(){ 
document.ttb.bx.value+='<Script Language="javascript"><!-- Hide////--> </sc'+'ript> '; 
} 
// Search and replace by R_E
function rptext() {
K1 = document.ttb
all_text = K1.bx.value;
old_word = K1.bgc.value;
new_word = K1.bgc2.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.ttb.bx.value = all_text
}
function viewit(){
var bx = document.ttb.bx.value;
if (navigator.appName.substring(0,5) == "WebTV"){
location.href="#";
document.open();
document.write(bx);
document.close();
}
else {
temp = document.ttb.bx.value;
preWindow = open("",
"preWindow","status=no, toolbar=yes, menubar=yes");
preWindow.document.open();
preWindow.document.write(temp);
preWindow.document.close();
}
}
function copy()  {
document.ttb.bx.focus();
document.ttb.bx.select();
}
function img()     { 
document.ttb.bx.value +='<img src="'
+document.ttb.imgu.value+'" width="'
+document.ttb.imgw.value+'" height="'
+document.ttb.imgh.value+'" border="'
+document.ttb.imgb.value+'" alt="'
+document.ttb.imga.value+'" />\n';
}
function tal()     { 
document.ttb.bx.value +=' align="'
+document.ttb.tba.value+'"';
}
function cls()     { 
document.ttb.bx.value +=' class="'
+document.ttb.cls2.value+'"';
}
function rwspn()     { 
document.ttb.bx.value +=' rowspan="'
+document.ttb.rwspn2.value+'"';
}
function clspn()     { 
document.ttb.bx.value +=' colspan="'
+document.ttb.clspn2.value+'"';
}
function tid()     { 
document.ttb.bx.value +=' id="'
+document.ttb.tid2.value+'"';
}
function tbdr()     { 
document.ttb.bx.value +=' border="'
+document.ttb.tbdr2.value+'"';
}
function heig()     { 
document.ttb.bx.value +=' height="'
+document.ttb.heig2.value+'"';
}
function widt()     { 
document.ttb.bx.value +=' width="'
+document.ttb.widt2.value+'"';
}
function valn()     { 
document.ttb.bx.value +=' valign="'
+document.ttb.valn2.value+'"';
}
function csp()     { 
document.ttb.bx.value +=' cellspacing="'
+document.ttb.csp2.value+'"';
}
function cpp()     { 
document.ttb.bx.value +=' cellpadding="'
+document.ttb.cpp2.value+'"';
}
function tbc()     { 
document.ttb.bx.value +=' bgcolor="'
+document.ttb.bgc.value+'"';
}
function tbc2()     { 
document.ttb.bx.value +=' bgcolor="'
+document.ttb.bgc2.value+'"';
}
function grdc()     { 
document.ttb.bx.value +=' gradcolor="'
+document.ttb.grdc2.value+'"';
}
function grda()     { 
document.ttb.bx.value +=' gradangle="'
+document.ttb.grda2.value+'"';
}
function back()     { 
document.ttb.bx.value +=' background="'
+document.ttb.back2.value+'"';
}
function table()     { 
document.ttb.bx.value +='<table';
}
function brrk()     { 
document.ttb.bx.value +='<br />\n';
}
function etable()     { 
document.ttb.bx.value +='</table>\n';
}
function etable2()     { 
document.ttb.bx.value +='</td>\n</tr>\n</table>\n';
}
function tr()     { 
document.ttb.bx.value +='<tr>';
}
function td()     { 
document.ttb.bx.value +='<td>';
}
function tr2()     { 
document.ttb.bx.value +='<tr';
}
function etr()     { 
document.ttb.bx.value +='</tr>';
}
function td2()     { 
document.ttb.bx.value +='<td';
}
function etd()     { 
document.ttb.bx.value +='</td>';
}
function th()     { 
document.ttb.bx.value +='<th>';
}
function th2()     { 
document.ttb.bx.value +='<th';
}
function eth()     { 
document.ttb.bx.value +='<th';
}
function ea()     { 
document.ttb.bx.value +='>';
}
function lbrk()     { 
document.ttb.bx.value +='\n';
}
// End Hiding -->
