docs: function selectText(element)
  			{
  				if(element)
  				{
  					var element = element[0];
  					
  					if (document.body.createTextRange)
  					{
  						var range = document.body.createTextRange();
  						range.moveToElementText(element);
  						range.select();
  					}
  					else if (window.getSelection)
  					{
  						var selection = window.getSelection();  
  						var range = document.createRange();
  						
  						if(element != "undefined" && element != null)
  						{
  							range.selectNodeContents(element);
  							
  							selection.removeAllRanges();
  							selection.addRange(range);
  							
  							if($(element).is(":empty"))
  							{
  								$(element).append("&nbsp;");
  									selectText($(element));
  							}
  						}
  					}
  				}
  			}