code: function setCaretTo(element, start, end)
  	{
  		if(element.createTextRange)
  		{
  			var range = element.createTextRange();
  			range.moveStart('character', start);
  			range.moveEnd('character', (end || start));
  			range.select();
  		}
  		else if(element.selectionStart)
  		{
  			element.focus();
  			element.setSelectionRange(start, (end || start));
  		}
  	}
docs: privates