function createSimpleElement(p_type,p_id,p_class) {
	element = document.createElement(p_type);
	if (p_id!=undefined)
		element.id = p_id;
	if (p_class!=undefined)
		element.className = p_class;
	return element;
}
## createTab
@desc Creates a generic tab object with optional parameters and callbacks.
Ex: p_mode === 'customer_dashboard' expects data based on columns from customer tables, and will return all data necessary to kickoff a customer dashboard.

@param  {function} p_clickFunction Callback for onclick.
@param  {boolean} p_close Defines if the elementA has a closing icon.
@param  {function} p_dblClickFunction  Callback for ondoubleclick.
@param  {boolean} p_disabled  Defines if the elementA is disabled.
@param  {string} p_icon HTML string is accepted as an optional icon.
@param  {boolean} p_isDraggable Defines if the elementA is draggable inside the tab-menu.
@param  {string} p_name HTML string is accepted as an optional name for the elementA.
@param  {function} p_rightClickFunction Callback for oncontextmenu.
@param  {function} p_selectFunction  Callback for after the tab-content is rendered.
@param  {boolean} p_selectable  Defines if the the tab-content is controlled by default bootstrap tab system selection. Used together with p_clickFunction to override the selecting tab behaviour, like the snippets panel.
@param  {string} p_tooltip_name  HTML string is accepted as an optional tooltip. This is bootstrap's default tooltip.
@param  {string} p_omnidb_tooltip_name  HTML string is accepted as an optional tooltip. This is OmniDB custom tooltip, used in the outer menu to avoid overflow bugs from bootstrap.
@return {oject} Creates the tab object in this tabControl.