﻿ function onBeforeUnloadAction(){
   return "If you have not saved your report yet  and you continue, all progress made will be lost." ;
 }
 window.onbeforeunload = function(){
   if((window.event.clientX<0) || 
      (window.event.clientY<0)){ 
     return onBeforeUnloadAction();
   }
 } 
