Update To css.js

25|5|09

I've discovered a simple error in the code for css.js the regexp was too specific and didn't allow dashes in classes or ids so heres the new code
 Object.prototype.$ = function (s) {
  c=(this==window)?document:this;
  t=/[.#]/.exec(s);
  v=/[^.#]+/.exec(s);
  if(!t){
   return c.getElementsByTagName(v);
  }else if (t == '#') {
   return c.getElementById(v);
  }else if(t == '.'){
   return([].slice.call(c.getElementsByTagName('*'))).filter(function(e){
    return(e.className==v);
   });
  };
 };