function OpenPrintView(AR_ID)
{
strTarget = '/info/article-printer-version.asp?id=' + AR_ID;
window.open(strTarget, '', config='width=700,height=500,resizable=1,scrollbars=1,status=no,location=0,menubar=1,directories=no,copyhistory=no');
}

function OpenArticleCommentDelete(AC_ID,AR_ID,Source)
{
strTarget = '/info/delete-article-comment.asp?comment='+AC_ID+'&id='+AR_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 CheckArticleCommentForm() {
	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');
}
