function insert_html_into_object(id, html)
{
	if (typeof(document.getElementById) == "function")
	{
		var obj = document.getElementById(id);

		if (obj)
		{
			try
			{
				obj.innerHTML = html;
				return;
			}
			catch (e) {}
		}
	}

	// fall back for all other browsers
	document.write(html);
}


