anchor.diff:  				}
   			}
   		}
  -		
  -		function setAdvanceSessionTimeout(ptimeOut) 
  -		{
  -			
  +
  +		function setAdvanceSessionTimeout(ptimeOut)
  +		{
  +
   			if(ptimeOut > 0)
   			{
   				var time = (ptimeOut - (advanceTime*60)) * 1000;
   				warnTimeout = setTimeout('warnBeforeSessionExpiry()', time); //if session timeout, then redirect to Home page
   			}
   		}
  -		
  -		
  +
  +
   		function sendToHomePage()
  -		{			
  -				<% 
  -				   Object obj = request.getSession().getAttribute(Constants.SESSION_DATA);			  			
  -				   if(obj != null) 
  +		{
  +				<%
  +				   Object obj = request.getSession().getAttribute(Constants.SESSION_DATA);
  +				   if(obj != null)
   				   {
  -				%>			
  +				%>
   				   var timeoutMessage = "<%= ApplicationProperties.getValue("app.session.timeout") %>";
  -				   alert(timeoutMessage);			  
  -			   
  +				   alert(timeoutMessage);
  +
   				   window.location.href = "Logout.do";
   				<%
   				   }
  -				%>		  
  +				%>
   		}
   
   		function detectApplicationUsageActivity()
  
positive.code: <html>
  <tiles:importAttribute />
  <head>
  <title><bean:message key="app.name"/><bean:message key="app.version"/></title>
  
  <!--Jitendra -->
  <script language="JavaScript">
  
negative.code: 			var currentTime = new Date().getTime();
  			var activationTime = currentTime - pageLoadTime;
  			var advTime = (advanceTime * 1) + 1;
  
  			if(((timeOut*1000) - activationTime) <= (advTime*60*1000)) {
  				lastRefreshTime = new Date().getTime();
  				sendBlankRequest();
  