function open_tab(initiator)
{
	var id = jQuery(initiator).attr("id");
	jQuery(".container-tab-contents").hide();
	jQuery(initiator).parent().parent().find("li").removeClass("active");

	jQuery(initiator).parent().addClass("active");
	jQuery(".container-tab-contents[opens-by="+id+"]").show();
}
/*
	Opens tab with settings by provided identifier from initiator(i.e clicked button)

	@param initiator - an object of button that is passed onclick event, must contain opens-by attribute(with an ID of tab to open)

	@returns VOID
*/
Opens tab with settings by provided identifier from initiator
Opens tab with settings by provided identifier from initiator
function open_tab(initiator)
{
	var id = jQuery(initiator).attr("id");
	jQuery(".container-tab-contents").hide();
	jQuery(initiator).parent().parent().find("li").removeClass("active");
	jQuery(initiator).parent().addClass("active");
	jQuery(".container-tab-contents[opens-by="+id+"]").show();
}
function open_tab ( initiator ) { var id = jQuery ( initiator ) . attr ( "id" ) ; jQuery ( ".container-tab-contents" ) . hide ( ) ; jQuery ( initiator ) . parent ( ) . parent ( ) . find ( "li" ) . removeClass ( "active" ) ; jQuery ( initiator ) . parent ( ) . addClass ( "active" ) ; jQuery ( ".container-tab-contents[opens-by=" + id + "]" ) . show ( ) ; }
Opens tab with settings by provided identifier from initiator(i.e clicked button)
Opens tab with settings by provided identifier from initiator ( i . e clicked button )