// text counter function

function gotoBody( )
{
  document.form2.fnarrative.focus();
}

function gotoBody2( )
{
  document.form2.fnarrative2.focus();
}

function textCounter( field, countfield ) {
    countfield.value = field.value.length;
}

// highlight item
function setHighlight(obj, flag){
	if (flag){
	obj.className='aShadowH';
	}
	else {
	obj.className='aShadow';
	}
}

function confirmDelete(ffid)
{
	if(confirm('Are you sure you wish to permanently delete this forum posting entry (no undo)?  \nIf this is the main topic, all replies will also be deleted.  ')) location.href = "index.cfm?ffid=" + ffid + "&fdelete=yes" + "&rand=" + Math.random();
}
