// hides teh stuff function no_error() { return true; } window.onerror=no_error; // clear function doClear(theText) { if (theText.value == theText.defaultValue) { theText.value = "" } }