function getUrlBase()
{ 
	/*var baseTag = document.getElementsByTagName("base");
    if (baseTag.length > 0)
    	return baseTag[0].href;
    else
		return null;*/
	return "http://www.transminuano.com.br/site/";
	//return "http://lenon/minuano/";
}

function inicial(){ document.location = getUrlBase() }
// A Minuano
function minuano(){ document.location = getUrlBase() + "aempresa.html"; }
function empresa(){ document.location = getUrlBase() + "aempresa.html"; }
function historia(){ document.location = getUrlBase() + "historia.html"; }
function qualidade(){ document.location = getUrlBase() + "qualidade.html"; }
function responsabilidade(){ document.location = getUrlBase() + "responsabilidadesocial.html"; }
// Informações
function informacoes(){ document.location = getUrlBase() + "perfildecarga.html"; }
function oque(){ document.location = getUrlBase() + "perfildecarga.html"; }
function atuacao(){ document.location = getUrlBase() + "areadeatuacao.html"; }
function tecnologia(){ document.location = getUrlBase() + "tecnologia.html"; }
function diferenciais(){ document.location = getUrlBase() + "diferenciais.html"; }
function seguro(){ document.location = getUrlBase() + "seguro.html"; }
//Serviços Online
function servicos(){ document.location = getUrlBase() + "localizacao.html"; }
function localizacao(){ document.location = getUrlBase() + "site/localizecargas"; }
function faturas(){ document.location = getUrlBase() + "site/localizefaturas"; }
function atendimento(){ document.location = getUrlBase() + "atendimento.html"; }
//Noticias
function noticias(){ document.location = getUrlBase() + "informativo/public"; }
//Telefones
function telefones(){ document.location = getUrlBase() + "telefones.html"; }
//Trabalhe Conosco
function trabalhe(){ document.location = getUrlBase() + "site/curriculo"; }
// Fale Conosco
function contato(){ document.location = getUrlBase() + "site/contato"; }


//Estados links

function areaMG(){ document.location = getUrlBase() + "areadeatuacao_mg.html"; }
function areaPR(){ document.location = getUrlBase() + "areadeatuacao_pr.html"; }
function areaRJ(){ document.location = getUrlBase() + "areadeatuacao_rj.html"; }
function areaRS(){ document.location = getUrlBase() + "areadeatuacao_rs.html"; }
function areaSC(){ document.location = getUrlBase() + "areadeatuacao_sc.html"; }
function areaSP(){ document.location = getUrlBase() + "areadeatuacao_sp.html"; }

function seleciona(estado){
	if( estado == 'MG' )
		areaMG();
	else if( estado == 'PR' )
	    areaPR();
	else if( estado == 'RJ' )
	    areaRJ();
	else if( estado == 'RS' )
	    areaRS();
	else if( estado == 'SC' )
	    areaSC();
	else if( estado == 'SP' )
	    areaSP();
}