

/*Do not alter but for hex value of color*/
function SetBoxText($show) {
var X = document.getElementById("box_text");
var Y = document.getElementById("layer_" + $show);
X.innerHTML = Y.innerHTML;

/*TAB ONE*/
$hide = "welcome";
if ($show == "welcome") $hide = "license";
with (document.getElementById("button_" + $hide).style) {
backgroundColor = "#DFDFDF";
color = "black";
}

/*TAB TWO*/
$hide = "license";
if ($show == "license") $hide = "version";
with (document.getElementById("button_" + $hide).style) {
backgroundColor = "#DFDFDF";
color = "black";
}

/*TAB THREE*/
$hide = "version";
if ($show == "version") $hide = "welcome";
with (document.getElementById("button_" + $hide).style) {
backgroundColor = "#DFDFDF";
color = "black";
}

/*TAB FOUR*/

/*Do not alter but hex value for color or backgroundColor, this will be displayed in the title of the active tab*/
with (document.getElementById("button_" + $show).style) {
backgroundColor = "#EFEFEF";
color = "#1867ca"; 
}

/* More tabs come here if You want*/

return true;
}

