--- C:/Downloads/Drupal 5.x Modules/taxonomy_dhtml-5.x-2.2/taxonomy_dhtml/taxonomy_dhtml.module	Sat Mar 03 13:07:48 2007
+++ T:/Program Files/Apache Software Foundation/Apache2.2/htdocs/modules/contribs/taxonomy_dhtml/taxonomy_dhtml.module	Tue Jan 20 17:43:42 2009
@@ -227,22 +227,33 @@
 }
 
 function taxonomy_dhtml_page() {
+  $dcols = 3; //Sets the number of columns to be displayed
+  $table_count = 0;
+  $output .= "<table>";
+  $output .= "<tr>";
   switch (arg(1)) {
     case "overview":
     default:
       if ($type = $_GET['type']) {
         $boxes = taxonomy_dhtml_overview($type);
+        
       }
       else {
         $boxes = taxonomy_dhtml_overview();
       }
 
       foreach ($boxes as $box) {
-       $output .= "<div class=\"voc\">\n";
-       $output .= "<h3>". $box['subject']. "</h3>\n";
-       $output .= $box['content']. "\n";
-       $output .= "</div>\n";
-      }
+         $output .= "<td valign=\"top\"><div class=\"voc\">\n";
+         $output .= "<h3>". $box['subject']. "</h3>\n";
+         $output .= $box['content']. "\n";
+         $output .= "</div></td>\n";
+         $table_count ++;
+         if ($table_count == $dcols){
+         	$table_count = 0;
+         	$output .= "</tr>";
+         }
+       }
+      $output .= "</table>";
       return $output;
   }
 }
