homepage.js 521 B

1234567891011121314151617181920212223242526
  1. //toolbar call the js file
  2. if(typeof(logoutPrompt_text) == "undefined")
  3. {
  4. logoutPrompt_text = "logout from this Portal?" ;
  5. }
  6. if(typeof(winStatus_welcome_text) == "undefined")
  7. {
  8. winStatus_welcome_text = "Welcome login to EAS Portal.";
  9. }
  10. function logoutPrompt()
  11. {
  12. var obj = msgBox.showIndexAskMessageBox(msgBox.TYPE_ASK,logoutPrompt_text);
  13. if((obj!=null) && (obj.id=1)){
  14. return true;
  15. }else{
  16. return false;
  17. }
  18. }
  19. function clearWinStatus()
  20. {
  21. top.window.status = winStatus_welcome_text;
  22. }