Index: trunk/FACT++/scripts/doc/dim.js
===================================================================
--- trunk/FACT++/scripts/doc/dim.js	(revision 14704)
+++ trunk/FACT++/scripts/doc/dim.js	(revision 14740)
@@ -140,4 +140,25 @@
 /**
  *
+ * Returns a list of all known state of a given server.
+ *
+ * The returned object has all states with their index as property.
+ * Each state is returned as a String object with the property description.
+ *
+ * @param {String} [server='DIM_CONTROL']
+ *     Name of the server for which states should be listed.
+ *     The states of the DIM_CONTROl server are the default.
+ *
+ * @type Object[StringObject]
+ *
+ * @example
+ *     var states = dim.getStates("SERVER");
+ *     console.out(JSON.stringify(states));
+ *     for (var index in states)
+ *         console.out(index+"="+states[index]+": "+states[index].description);
+ */
+dim.getStates = function() { /* [native code] */ }
+
+/**
+ *
  * Callback in case of state changes.
  *
@@ -165,4 +186,5 @@
 dim.onchange = [];
 
+
 /**
  * DIM version number
