try{ redirectLogin(); }catch(e){ window.location.replace("/external/aboutRegistration.do"); }