function deleteArticle( articleid, serverid, title ) {
	var ret = confirm( "Are you sure you want to delete the article '" + title  + "'.\nPress Ok to continue." );

	if ( ret ) {
		$.ajax(
			{ type: "post",
			   url: "/ajax.php",
			  data: "req=delarticle&article_id=" + articleid + "&article_serverid=" + serverid,
		      success:
			function( data, status ) {
				output = JSON.parse( data );
				if ( output != null ) {
					if ( output.success == 1 ) {
						$("form#article_" + output.article_id + "_" + output.article_serverid).hide("slow");
					} else {
						alert( output.error );
					}
				}
			}
		} );
	}
}
