// you'll support standards and LIKE it, MSIE
Element.Methods.Simulated.hasAttribute = function(element, attr) {
return element.outerHTML.indexOf(" " + attr + "=") > -1;
};