﻿
//set the timeout to be 30 minutes
ESRI.ADF.System.maximumLapseTime = 40;

//Override the showLapseAlert() function to refresh the page automatically, no alert message will be displayed.
ESRI.ADF.System.showLapseAlert = function() {
    //alert('Session has timed out from extended inactivity. The page will now be refreshed.');
    window.location.reload();

}


ESRI.ADF.MapTools.MapDragRectangle = function() {
    alert('dragrectangle');
}
