/** class nriError (ver. 0.0.1)
 ** -------------------
 ** Javascript error handler. Mostly a stub at the moment.
 **
 ** Stephen Paschall, Jan. 2005
 ** Copyright 2005 - The Greensboro News & Record 
 **                  and Landmark Communications, Inc.
 **                  200 E. Market Street
 **                  Greensboro, NC 27401
 **
 ** Contact webmaster@news-record.com for additional
 ** information.
*/

nriError = function() {
}

nriError.fatal = function( errarr ) {
    nriError.alert(errarr);
}

nriError.alert = function( errarr ) {
    if ( nriError.DisplayErrors ) alert(errarr[2]+" ("+errarr[0]+","+errarr[1]+")");
}

nriError.warn = nriError.fatal;

nriError.DisplayErrors = 1;
