rem: alert(ajax.responseText); 
add: if ( ajax.responseText == 'GOOD' ) { var c = confirm('Your theme preference has been changed.\nWould you like to reload the page now to see the changes?'); if ( c ) window.location.reload(); } else { alert('Error occurred during attempt to change theme:\n' + ajax.responseText); } 
context:   ajaxPost(stdAjaxPrefix+'&_mode=setpass', 'password='+pass, function()    {      unsetAjaxLoading();      if(ajax.readyState==4)      {        alert(ajax.responseText);      }    }
meta: 3765	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3765/d7141bbfd35c2b2bc6e3720f56cfebedaeb26b35/ajax.js/clean/includes/clientside/static/ajax.js