Here i have the code which works on click. I need this to work onBlur mode iin javascript. Please give your opinions... Here is my code : if(!m.isSystemButtonClicked)
						{
							console.debug("Inside onHide. m.isSystemButtonClicked=",m.isSystemButtonClicked);
							
							if(m.unloadListener)
							{
								window.onbeforeunload = m.unloadListener;
							}
						}