// JavaScript Document
$(document).ready(function() {
	$("#content > div").hide();
	$("#content > div:eq(0)").show();
	$("#tabs > a:eq(0)").css("background", "#9DCC49"); //selecionado
});

function opentab(num) {
	$("#content > div").hide();
	$("#content > div:eq(" + (num-1) + ")").show();
	$("#tabs > a").css("background", "#CFE6A6"); //inativo
	$("#tabs > a:eq(" + (num-1) + ")").css("background", "#9DCC49"); //selecionado
}