Look at Yahoo YUI.

PS. Looks like your sig is illegal here. I suggest you check the rules.