<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function hideLayer(whichLayer) {
	if (document.getElementById) {
		// this is the way the standards work
		document.getElementById(whichLayer).style.display = "none";
	}
	else if (document.all) {
		// this is the way old msie versions work
		document.all[whichlayer].style.display = "none";
	}
	else if (document.layers) {
		// this is the way nn4 works
		document.layers[whichLayer].display = "none";
	}
}
function showLayer(whichLayer) {
	if (document.getElementById) {
		// this is the way the standards work
		document.getElementById(whichLayer).style.display = "block";
	}
	else if (document.all) {
		// this is the way old msie versions work
		document.all[whichlayer].style.display = "block";
	}
	else if (document.layers) {
		// this is the way nn4 works
		document.layers[whichLayer].display = "block";
	}
}
function textCounter(field, countfield, maxlimit) {
	a = field.value.split('\\n');
	if (field.value.length > maxlimit){
		field.value = field.value.substring(0, maxlimit);
	}
	else if(a.length>10){
		field.value = field.value.substring(0, (field.value.length-2));
	}
	else{
		countfield.value = maxlimit - field.value.length;
	}
}
function sz(t) {
	a = t.value.split('\\n');
	l=0;
	ll=0;
	for (x=0;x < a.length; x++) {
		if (a[x].length > t.cols){
			l+=a[x].length;
			ll++;
		}
	}
	t.rows = Math.ceil((l/(t.cols-13))+(a.length-ll))+2;
}


//-->