/**
 * Javascripts for the Smile Tab Group
 */

function STGshow(li, show, first, last) {
	map(li.parentNode.getElementsByTagName("li"), function(obj) {obj.className = ""; });
	li.className = "selected";
	STGselectedLi = li;
	
	for (var i = first; i < last; i++)
		document.getElementById("smileTabGroupTab_" + i).style.display = i == show ? "block" : "none";
}