jQuery.extend({html:{tag:function(A){return jQuery("<"+A+"></"+A+">")},hN:function(A){return this.tag("h"+A)},h1:function(A){return this.hN(1)},h2:function(A){return this.hN(2)},h3:function(A){return this.hN(3)},br:function(){return jQuery("<br/>")},hr:function(){return jQuery("<hr/>")},nbsp:function(){return this.span().append("&nbsp;")},div:function(){return this.tag("div")},pre:function(){return this.tag("pre")},blockquote:function(){return this.tag("blockquote")},iframe:function(){return jQuery("<iframe src='about:blank'/>")},span:function(){return this.tag("span")},tt:function(){return this.tag("tt")},b:function(){return this.tag("b")},strong:function(){return this.tag("strong")},em:function(){return this.tag("em")},i:function(){return this.tag("i")},strike:function(){return this.tag("strike")},u:function(){return this.tag("u")},sup:function(){return this.tag("sup")},sub:function(){return this.tag("sub")},td:function(){return this.tag("td")},th:function(){return this.tag("th")},thead:function(){return this.tag("thead")},tr:function(){var C=this.tag("tr");var A=this;function D(){return A.td().appendTo(this)}function B(){return A.th().appendTo(this)}C.td=D;C.th=B;return C},table:function(){var E=jQuery("<table><thead></thead><tbody></tbody></table>");var A=this;function D(){var F=A.tr();F.appendTo(this);return F}function C(){return jQuery("thead",this)}function B(){return jQuery("tbody",this)}E.thead=C;E.tbody=B;E.tr=D;return E},li:function(A){return this.tag("li")},ul:function(D){var B=this.tag("ul");var C=this;function A(){return C.li().appendTo(this)}B.li=A;return B},ol:function(D){var B=this.tag("ol");var C=this;function A(){return C.li().appendTo(this)}B.li=A;return B},form:function(){return this.tag("form")},input:function(A){return jQuery("<input type='"+A+"'></input>")},button:function(){return this.input("button")},textfield:function(){return this.input("text")},checkbox:function(){return this.input("checkbox")},radio:function(){return this.input("radio")},hidden:function(){return this.input("hidden")},select:function(){var C=this.tag("select");var A=this;function B(){return A.option().appendTo(this)}C.option=B;return C},option:function(){return this.tag("option")},textarea:function(){return this.tag("textarea")},fieldset:function(){return this.tag("fieldset")},img:function(){return this.tag("img")},a:function(){function A(){return false}return this.tag("a").attr("href","#").click(A)}}})
