function subtabsHasPage(subtabs, page)
{
	var links = subtabs.querySelectorAll("a.tab");
	for (var i = 0; i < links.length; i++)
		if (links[i].getAttribute("data-tab") == page)
			return true;
	return false;
}
/**
 * @param {HTMLElement} subtabs the subtabs header containing links
 * @param {string} page
 */
@param {HTMLElement} subtabs the subtabs header containing links
@param {string} page
@param { HTMLElement } subtabs the subtabs header containing links @param { string } page
function subtabsHasPage(subtabs, page)
{
	var links = subtabs.querySelectorAll("a.tab");
	for (var i = 0; i < links.length; i++)
		if (links[i].getAttribute("data-tab") == page)
			return true;
	return false;
}
function subtabsHasPage ( subtabs , page ) { var links = subtabs . querySelectorAll ( "a.tab" ) ; for ( var i = 0 ; i < links . length ; i ++ ) if ( links [ i ] . getAttribute ( "data-tab" ) == page ) return true ; return false ; }
@param {HTMLElement} subtabs the subtabs header containing links
 @param {string} page
@param { HTMLElement } subtabs the subtabs header containing links @param { string } page