diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
index a6f0cf2..3268c41 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
@@ -603,7 +603,13 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
range: "max",
min: 0,
value: 0,
- slide: function (event, ui) {
+ slide: function (event, ui)
+ {
+ var layerNum;
+ var daViewScope = angular.element(document.getElementById("daView")).scope();
+ layerNum = parseInt(daViewScope.totalLayers) //- parseInt(scope.layerNumber);
+ var sliderVal = layerNum - ui.value;
+ $("#txtlayerNumber").val(sliderVal);
},
stop: function (event, ui) {