--- countdowntimer.module	2008-02-10 12:37:00.000000000 +0100
+++ countdowntimer_patched.module	2008-02-10 12:38:00.000000000 +0100
@@ -29,8 +29,8 @@ admin page.  You can also format each ti
 There are some good examples for node and block usage in the readme.txt file.  
 Please look at it.</p>
 HELP_TXT;
-      $output .= '<p>Usage Example for a Node<br/>&lt;span class="countdowntimer"&gt;Count Up to 11:30<br/>&lt;span style="display:none" name="datetime"&gt;2007-02-26T09:30:00&lt;/span&gt;<br/>&lt;span style="display:none" name="tz_hours"&gt;-8&lt;/span&gt;<br/>';
-      $output .= '&lt;span style="display:none" name="dir"&gt;up&lt;/span&gt;<br/>&lt;/span&gt;</p>';
+      $output .= '<p>Usage Example for a Node<br/>&lt;span class="countdowntimer"&gt;Count Up to 11:30<br/>&lt;span style="display:none" class="datetime"&gt;2007-02-26T09:30:00&lt;/span&gt;<br/>&lt;span style="display:none" class="tz_hours"&gt;-8&lt;/span&gt;<br/>';
+      $output .= '&lt;span style="display:none" class="dir"&gt;up&lt;/span&gt;<br/>&lt;/span&gt;</p>';
       return ($output);
   }
 }
@@ -262,7 +262,7 @@ function return_javascript() {
     }
 
     function parse_datetime() {
-      var strdate = $(this.element).children("span[@name=datetime]").html();
+      var strdate = $(this.element).children("span[@class=datetime]").html();
       if ( String(strdate) != "null" ) {
         /* 1995-02-04T15:00:00   International Standard ISO 8601 */
         var date_and_time = String(strdate).split('T');
@@ -278,15 +278,15 @@ function return_javascript() {
           this.d.min  = time_only[1] || this.d.min;
           this.d.sec  = time_only[2] || this.d.sec;
         }
-        this.d.dir = $(this.element).children("span[@name=dir]").html() || this.d.dir;
-        this.d.tz_hours = $(this.element).children("span[@name=tz_hours]").html() || this.d.tz_hours;
-        this.d.format_num = $(this.element).children("span[@name=format_num]").html() || this.d.format_num;
-        this.d.format_txt = $(this.element).children("span[@name=format_txt]").html() || "";
+        this.d.dir = $(this.element).children("span[@class=dir]").html() || this.d.dir;
+        this.d.tz_hours = $(this.element).children("span[@class=tz_hours]").html() || this.d.tz_hours;
+        this.d.format_num = $(this.element).children("span[@class=format_num]").html() || this.d.format_num;
+        this.d.format_txt = $(this.element).children("span[@class=format_txt]").html() || "";
         if ( String(this.d.format_txt).match("'") ) {
           this.d.format_txt = "<span style=\"color:red;\">Format may not contain single quotes(').</span>";
         }
-        this.d.threshold = $(this.element).children("span[@name=threshold]").html() || this.d.threshold;
-        this.d.timer_complete = $(this.element).children("span[@name=complete]").html() || this.d.timer_complete;
+        this.d.threshold = $(this.element).children("span[@class=threshold]").html() || this.d.threshold;
+        this.d.timer_complete = $(this.element).children("span[@class=complete]").html() || this.d.timer_complete;
 
       } else {
         /* legacy format */
