jquery impl of Cascading Attribute Sheets http://www.xanthir.com/blog/b4K_0