function RefreshMaintainIncidents() { var IsHyperRefresh = '<%= Session["IsHyperRefresh"] %>'; if (IsHyperRefresh) { setTimeout("location.reload(true);", 1 * 10000); } else { setTimeout("location.reload(true);", 1 * 60000); } } RefreshMaintainIncidents();