var defStat = "Mid-America Business Systems";
var lastObj = "";

statStr = new Array();
statStr[0] = "Click to enter site ...";
statStr[1] = "";
statStr[2] = "";
statStr[3] = "";
statStr[4] = "";
statStr[5] = "";
statStr[6] = "";
statStr[7] = "";
statStr[8] = "";
statStr[9] = "";
statStr[10] = "";
statStr[11] = "";
statStr[12] = "";
statStr[13] = "";
statStr[14] = "";
statStr[15] = "";
statStr[16] = "";
statStr[17] = "";
statStr[18] = "";
statStr[19] = "";
statStr[20] = "";
statStr[21] = "";
statStr[22] = "";
statStr[23] = "";
statStr[24] = "";
statStr[25] = "";
statStr[26] = "";
statStr[27] = "";
statStr[28] = "";
statStr[29] = "";
statStr[30] = "";
statStr[31] = "";
statStr[32] = "";
statStr[33] = "";
statStr[34] = "";
statStr[35] = "";
statStr[36] = "";
statStr[37] = "";
statStr[38] = "";
statStr[39] = "";
statStr[40] = "";
statStr[41] = "";
statStr[42] = "";
statStr[43] = "";
statStr[44] = "";
statStr[45] = "";
statStr[46] = "";
statStr[47] = "";
statStr[48] = "";
statStr[49] = "";
statStr[50] = "";
statStr[51] = "";
statStr[52] = "";
statStr[53] = "";
statStr[54] = "";
statStr[55] = "";
statStr[56] = " ";

function addAlert(obj) {
document.cmn[obj].value += "[alert]TEXT[/alert]";
document.cmn[obj].focus();
}

function newPara(pass, obj) {
if (pass == 0) {
document.cmn[obj].value += "¶";
document.cmn[obj].focus();
} else if (pass == 1) {
document.shw[obj].value += "¶";
document.shw[obj].focus();
}}

function newSent(pass, obj) {
if (pass == 0) {
document.cmn[obj].value += "_";
document.cmn[obj].focus();
} else if (pass == 1) {
document.shw[obj].value += "_";
document.shw[obj].focus();
}}

function startUp() {
window.focus();
window.status = defStat;
}

function statOn(pass) {
window.status = statStr[pass];
}

function statOff() {
window.status = defStat;
}

function menuOff(){
if (document.all) {
if (lastObj == '') {
} else {
document.all[lastObj].style.display = 'none';
lastObj = '';
}} else if (document.getElementById) {
if (lastObj == '') {
} else {
document.getElementById(lastObj).style.display = 'none';
lastObj = '';
}}}

function menuOn(obj) {
if (document.all) {
if (lastObj == '') {
document.all[obj].style.display = 'block';
lastObj = obj;
} else if (lastObj == obj) {
} else {
document.all[lastObj].style.display = 'none';
document.all[obj].style.display = 'block';
lastObj = obj;
}} else if (document.getElementById) {
if (lastObj == '') {
document.getElementById(obj).style.display = 'block';
lastObj = obj;
} else if (lastObj == obj) {
} else {
document.getElementById(lastObj).style.display = 'none';
document.getElementById(obj).style.display = 'block';
lastObj = obj;
}}}