title: Prototype setStyle not working in IE6
body: <p>I'm using prototype and setStyle in IE6 is just messing everything up. It's throwing a big error.</p>
  
  <p>I've Googled it but cant find a solution.</p>
  
  <p>I've identified the line in prototype with the IE script debugger, it's the final else block:</p>
  
  <pre><code>setStyle: function(element, styles) {
      element = $(element);
      var elementStyle = element.style, match;
      if (Object.isString(styles)) {
        element.style.cssText += ';' + styles;
        return styles.include('opacity') ?
          element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]) : element;
      }
      for (var property in styles)
        if (property == 'opacity') element.setOpacity(styles[property]);
        else
          elementStyle[(property == 'float' || property == 'cssFloat') ?
            (Object.isUndefined(elementStyle.styleFloat) ? 'cssFloat' : 'styleFloat') :
              property] = styles[property];
  
      return element;
    },
  </code></pre>
  
  <p>Anyone had this problem? </p>
  
  <p>P.S. normally I would use jQuery however this is someone else code I've had to update.</p>