function innerHTML(oElemento, sHtml){
	if (document.getElementById && !document.all) {
		var oRange = document.createRange();
		oRange.setStartBefore(oElemento);
		
		var oHtmlFrag = oRange.createContextualFragment(sHtml);
		
		while (oElemento.hasChildNodes())
			oElemento.removeChild(oElemento.lastChild);
			
		oElemento.appendChild(oHtmlFrag);
	} else {
		oElemento.innerHTML = sHtml;
	}
}