Index: trunk/ippTasks/detrend.norm.pro
===================================================================
--- trunk/ippTasks/detrend.norm.pro	(revision 13683)
+++ trunk/ippTasks/detrend.norm.pro	(revision 14042)
@@ -118,5 +118,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detPendingNormStatImfile
   end
@@ -145,8 +145,8 @@
     
     # look for new images in detPendingNormStatImfile
-    book getpage detPendingNormStatImfile 0 -var pageName -key state NULL
+    book getpage detPendingNormStatImfile 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detPendingNormStatImfile $pageName state RUN
+    book setword detPendingNormStatImfile $pageName pantaskState RUN
     book getword detPendingNormStatImfile $pageName det_id    -var DET_ID
     book getword detPendingNormStatImfile $pageName det_type  -var DET_TYPE
@@ -198,5 +198,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword detPendingNormStatImfile $options:0 state TIMEOUT
+    book setword detPendingNormStatImfile $options:0 pantaskState TIMEOUT
   end
 end
@@ -237,5 +237,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detPendingNormImfile
   end
@@ -264,8 +264,8 @@
     
     # look for new images in detPendingNormImfile
-    book getpage detPendingNormImfile 0 -var pageName -key state NULL
+    book getpage detPendingNormImfile 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detPendingNormImfile $pageName state RUN
+    book setword detPendingNormImfile $pageName pantaskState RUN
     book getword detPendingNormImfile $pageName det_type  -var DET_TYPE 
     book getword detPendingNormImfile $pageName camera    -var CAMERA   
@@ -321,5 +321,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword detPendingNormImfile $options:0 state TIMEOUT
+    book setword detPendingNormImfile $options:0 pantaskState TIMEOUT
   end
 end
@@ -360,5 +360,5 @@
     end
 
-    # delete existing entries in the appropriate states
+    # delete existing entries in the appropriate pantaskStates
     process_cleanup detPendingNormExp
   end
@@ -387,8 +387,8 @@
     
     # look for new images in detPendingNormExp
-    book getpage detPendingNormExp 0 -var pageName -key state NULL
+    book getpage detPendingNormExp 0 -var pageName -key pantaskState NULL
     if ($pageName == NULL) break
 
-    book setword detPendingNormExp $pageName state RUN
+    book setword detPendingNormExp $pageName pantaskState RUN
     book getword detPendingNormExp $pageName det_id    -var DET_ID  
     book getword detPendingNormExp $pageName iteration -var ITERATION    
@@ -441,5 +441,5 @@
   task.exit    timeout
     showcommand timeout
-    book setword detPendingNormExp $options:0 state TIMEOUT
-  end
-end
+    book setword detPendingNormExp $options:0 pantaskState TIMEOUT
+  end
+end
