// JavaScript Document
function toggleBox(szDivID, iState) // 1 visible, 0 hidden
{
   var obj = document.layers ? document.layers[szDivID] :
   document.getElementById ?  document.getElementById(szDivID).style :
   document.all[szDivID].style;
   obj.visibility = document.layers ? (iState ? "show" : "hide") :
   (iState ? "visible" : "hidden");
   obj.display = (iState ? "block" : "none") ;
}

function upperMe(form,localME) {
	var inputStr = localME.value;
	var strlength = localME.value.length;
if (strlength > 250 )
	localME.value = inputStr.substring(0,250);
form.num.value = 250 - localME.value.length;
}

function upperMe2(form,localME, c, tot) {
	var inputStr = localME.value;
	var strlength = localME.value.length;
if (strlength > tot )
	localME.value = inputStr.substring(0,tot);
c.value = tot - localME.value.length;
}