function flipContenidos(muestra,oculta) {
	if (document.getElementById) {
		if(oculta)document.getElementById(oculta).style.display = "none";
		if(muestra)document.getElementById(muestra).style.display = "block";
	}
}

function flipPestanyas(objOn, stileOn, objOff, stileOff ) {
		var botOn = document.getElementById(objOn);
		var botOff = document.getElementById(objOff);
		if (botOn.setAttribute("class", stileOn)) botOn.setAttribute("class", stileOn);
    if (botOff.setAttribute("class", stileOff)) botOff.setAttribute("class", stileOff);
    if (botOn.setAttribute("className", stileOn))botOn.setAttribute("className", stileOn);
    if (botOff.setAttribute("className", stileOff))botOff.setAttribute("className", stileOff);
}