function attr(selector, attribute, value) { if ( arguments.length == 2) return sel(selector).getAttribute(atribute); return sel(selector).setAttribute(attribute, value); }