function tabChange(onBtnId,onBoxId,offBtnId,offBoxId) {

	var onBtn= document.getElementById(onBtnId);
	var onBox = document.getElementById(onBoxId);
	var offBtn = document.getElementById(offBtnId);
	var offBox = document.getElementById(offBoxId);
	
	if (!onBtn || !onBoxId || !offBtnId || !offBoxId) return false;

/*	alert(onBtn.innerHTML);
	alert(onBtn.firstChild.nodeType);
	alert(offBtn.innerHTML);
	alert(offBtn.firstChild.nodeType);
*/
	if(onBtn.firstChild.nodeType == 1){
		var onHTML = onBtn.firstChild.firstChild.nodeValue;
	} else if(onBtn.firstChild.nodeType == 3){
		var onHTML = onBtn.firstChild.nodeValue;
	}
	
	if(offBtn.firstChild.nodeType == 1){
		var offHTML = '<span class="close">'+offBtn.firstChild.firstChild.nodeValue+'</span>';
	} else if(offBtn.firstChild.nodeType == 3){
		var offHTML = '<span class="close">'+offBtn.firstChild.nodeValue+'</span>';
	}

	onBox.style.display = "block";
	onBtn.innerHTML = onHTML;
	offBox.style.display = "none";
	offBtn.innerHTML = offHTML;
}
