code: function(tag, domAttributes, styleAttributes, innerHTML) {
          if (tag == 'input' && YAHOO.env.ua.ie) { //only limit to input tag that has no tag body
              var strDom = '<' + tag;
              if (domAttributes!=='undefined'){
                  for (var k in domAttributes){
                      strDom += ' ' + (k === "className" ? "class" : k) + '="' + domAttributes[k] + '"';
                  }
              }
              strDom += '/' + '>';
              return document.createElement(strDom);
  
          } else {
              var el = document.createElement(tag);
              this.sn(el, domAttributes, styleAttributes);
              if (innerHTML) {
                  el.innerHTML = innerHTML;
              }
              return el;
          }
      }
docs: Helper function to create a DOM node. (wrapps the document.createElement tag and the inputEx.sn functions)
  @static
  @param {String} tag The tagName to create (ex: 'div', 'a', ...)
  @param {Object} [domAttributes] see inputEx.sn
  @param {Object} [styleAttributes] see inputEx.sn
  @param {String} [innerHTML] The html string to append into the created element
  @return {HTMLElement} The created node