Index: trunk/ippTasks/detrend.stack.pro
===================================================================
--- trunk/ippTasks/detrend.stack.pro	(revision 11360)
+++ trunk/ippTasks/detrend.stack.pro	(revision 11476)
@@ -29,4 +29,22 @@
   echo detPendingStackedImfile
   book listbook detPendingStackedImfile
+end
+
+macro detstack.on
+  task dettool.stack.load
+    active true
+  end
+  task dettool.stack.run
+    active true
+  end
+end
+
+macro detstack.off
+  task dettool.stack.load
+    active false
+  end
+  task dettool.stack.run
+    active false
+  end
 end
 
