function OpenPrintView(NE_ID)
{
strTarget = '/news/news-printer-version.asp?id=' + NE_ID;
window.open(strTarget, '', config='width=700,height=500,resizable=1,scrollbars=1,status=no,location=0,menubar=1,directories=no,copyhistory=no');
}

function OpenNewsCommentDelete(NC_ID,NE_ID,Source)
{
strTarget = '/news/delete-news-comment.asp?comment='+NC_ID+'&id='+NE_ID+'&return='+Source;
window.open(strTarget, '', config='width=500,height=200,resizable=0,scrollbars=1,status=no,location=0,menubar=0,directories=no,copyhistory=no');
}

function CheckNewsCommentForm() {
	var errorMsg = "";
	var errorMsgLong = "";

	if (document.ForumForm.ContentArea.value.length < 5) {
		errorMsg += "\n\tComment  \t\t- Enter your Comment Text";
	    } 
	    
	if ((errorMsg != "") || (errorMsgLong != "")){
		msg = "_____________________________________________________________________\n\n";
		msg += "There are problems with the data you submitted\n";
		msg += "_____________________________________________________________________\n\n";
		msg += "You must fix the following fields: -\n";
		
		errorMsg += alert(msg + errorMsg + "\n\n" + errorMsgLong);
		return false;
	}
	

	return true;
}

function ViewSignature()
{
strTarget = '/forum/signature-view.asp';
window.open(strTarget, '', config='width=700,height=300,resizable=1,scrollbars=1,status=no,location=0,menubar=0,directories=no,copyhistory=no');
}

function EditSignature()
{
strTarget = '/forum/signature-edit.asp';
window.open(strTarget, '', config='width=700,height=300,resizable=1,scrollbars=1,status=no,location=0,menubar=0,directories=no,copyhistory=no');
}
