Index: /trunk/webapps/einotebook/script/scrollframe.js
===================================================================
--- /trunk/webapps/einotebook/script/scrollframe.js	(revision 631)
+++ /trunk/webapps/einotebook/script/scrollframe.js	(revision 632)
@@ -12,62 +12,4 @@
 }
 
-// Collect all the ratings from the events - OBSOLETE
-function collectRatings() 
-{
-    var output = ""
-    var ratingCount = 0
-    // Consider each event in the incident script
-    for (var evtidx = 0; evtidx < events.length; evtidx++)
-    {
-        // Does this event have any evaluations?
-        if (events[evtidx].evaluations.evaluations.length > 0)
-        {
-            // Examine each evaluation contained in this event
-            for (var rating=0; rating<events[evtidx].evaluations.evaluations.length; rating++ )
-            {
-                // Extract the rating assigned to this item
-                var item = events[evtidx].evaluations.evaluations[rating];
-                // If it not the default value we want to save it
-                if (item.rating > 0)
-                {   // Build a string for the log in this format:
-                    //03:01:00, Evaluation, CMS, Poor
-                    output += events[evtidx].time.format() +", Evaluation, "+item.type + ", " + item.ratingQualities[item.rating] + "\n"
-                    ratingCount += 1;  
-                }
-            }
-        }
-    }
-    submitRatings(output);
-    alert(ratingCount + " rating were saved.")
-}
 
-/* This is an alternative way to collect the ratings values by reading them directly from the radio buttons 
-function collectRadios()
-{
-    var radios = document.getElementsByTagName('input');
-    var count = 0;
-    for (var j=0; j<radios.length; j++)
-    {
-        if (radios[j].type == 'radio') 
-        {
-            count++;
-            if (radios[j].checked) 
-            {
-                console.log(radios[j].name + " checked " + radios[j].value)                        
-            }
-        }
-    }
-    alert("counted " + count + " radios");
-}
-*/
 
-// Send the string of ratings to the server - OBSOLETE
-function submitRatings(logString)
-{
-        // Using POST to send the data 
-        var xhr = new XMLHttpRequest();
-        xhr.open("POST", "/cgi-bin/saveRatingsToLog.py", true);
-        xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
-        // send the collected data
-        xhr.send("msg="+logString);
-}
Index: /trunk/webapps/einotebook/scripts/Evaluation.js
===================================================================
--- /trunk/webapps/einotebook/scripts/Evaluation.js	(revision 631)
+++ /trunk/webapps/einotebook/scripts/Evaluation.js	(revision 632)
@@ -25,5 +25,4 @@
     this.html = html;
     this.recordText = recordText; 
-    this.recordRating = recordRating;
     this.writeRating = writeRating;
     
@@ -71,13 +70,5 @@
     }
     
-    /**
-     * Stores the rating given by the evaluation scale radio button form. --OBSOLETE
-     */
-    function recordRating(givenRating) 
-    { 
 
-        this.rating = givenRating;
-        //console.log(this.ratingGroupName + " recordRating of " + this.rating )
-    }
     /**
      * Write an individual rating to a log file
@@ -85,5 +76,4 @@
     function writeRating(givenRating)
     {
-        //alert("writeRating: " + givenRating + " : " + this.evttime.format())
         // Build a string for the log in this format:
         //03:01:00, Evaluation, CMS, Poor
