--- prototype.orig.js	2006-07-24 03:14:58.000000000 +0100
+++ prototype.js	2006-07-24 02:48:08.000000000 +0100
@@ -921,6 +921,15 @@
     return $(element).style.display != 'none';
   },
 
+  create: function(tagname, prop) {
+     var elm = document.createElement(tagname);
+     $H(prop).each(function(pair) {
+        elm.setAttribute(pair[0], pair[1]);
+        }
+     ); 
+     return elm;
+  },
+
   toggle: function() {
     for (var i = 0; i < arguments.length; i++) {
       var element = $(arguments[i]);
@@ -2003,4 +2012,4 @@
 
     return [valueL, valueT];
   }
-}
\ No newline at end of file
+}

