// * ============================================================== * // Catch Errors // * ============================================================== * function stopError() { // return false; // Production return true; // Live } window.onerror = stopError; function error_display() { if (!stopError() && window.status) { window.status = 'JavaScript Debugging Enabled'; } } error_display(); // * ============================================================== * // Catch Errors // * ============================================================== *