You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.3 KiB

  1. function MenuControl() {
  2. if (ALT && CHAR_CODE == 76) {
  3. if (confirm("Are you sure you want to lock application?")) {
  4. // Session("url") = document.getElementById("frmame_main").contentWindow.location.href;
  5. var url = document.getElementById("frmame_main").contentWindow.location.href;
  6. window.location.replace('Lock.aspx?url=' + url);
  7. }
  8. }
  9. //SEND DOMESTIC PAGE
  10. else if (CHAR_CODE == 114) {
  11. window.parent.frames['frmame_main'].location.href = "/Remit/Transaction/Agent/Send/Domestic/Send.aspx";
  12. }
  13. //SEND INTERNATIONAL PAGE
  14. else if (CHAR_CODE == 113) {
  15. window.parent.frames['frmame_main'].location.href = "/Remit/Transaction/International/Send/Send.aspx";
  16. }
  17. //PAYMENT PAGE
  18. else if (CHAR_CODE == 115) {
  19. window.parent.frames['frmame_main'].location.href = "/Remit/Transaction/Agent/Pay/Pay.aspx";
  20. }
  21. //Statement Of Account
  22. else if (CHAR_CODE == 117) {
  23. window.parent.frames['frmame_main'].location.href = "/Remit/Transaction/Reports/AgentReport/StmtOfAC_Agent.aspx";
  24. }
  25. //Enroll PAGE
  26. else if (CHAR_CODE == 118) {
  27. window.parent.frames['frmame_main'].location.href = "/Remit/Administration/AgentCustomerSetup/List.aspx";
  28. };
  29. }