legend");
	for(var i=0; i<list.length; ++i){
		var element = list[i];
		element.innerText = Translator.map(element.getAttribute("name"));
	}
}


	function getCaretPos( target ){

          target.focus()
            var _range = document.getSelection().getRangeAt(0)
            var range = _range.cloneRange()
            range.selectNodeContents(target)
            range.setEnd(_range.endContainer, _range.endOffset)
            return range.toString().length;
  	}
  	function createRange(node, chars, range)