	protected HTMLPanel instantiateWidget(Element element, String widgetId) 
	{
		HTMLPanel ret = new HTMLPanel(element.getInnerHTML());
		element.setInnerHTML("");
		return ret;
	}

	protected HTMLPanel instantiateWidget(Element element, String widgetId) 
	{
		String innerHTML = element.getInnerHTML();
		element.setInnerHTML("");
		HTMLPanel ret = new HTMLPanel(innerHTML);
		return ret;
	}
