//Mapeamento Abril
//Lista de TAGs
var lc = new Array
lc["home"] = "educar/home|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x21,x25,x50|home";
lc["indicadores"] = "educar/indicadores|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|indicadores";
lc["institucional"] = "educar/institucional|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|institucional";
lc["aprendizagem"] = "educar/aprendizagem|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|aprendizagem";
lc["denuncia"] = "educar/denuncia|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|denuncia";
lc["istodacerto"] = "educar/istodacerto|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|istodacerto";
lc["politica-publica"] = "educar/politica|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|politica-publica";
lc["comportamento"] = "educar/comportamento|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|comportamento";
lc["gestao-escolar"] = "educar/gestao|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|gestao-escolar";
lc["leitura"] = "educar/leitura|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|leitura";
lc["colaboradores"] = "educar/colaboradores|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|colaboradores";
lc["blog"] = "educar/blog|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|blog";
lc["hotsite-indicadores"] = "educar/indicadores|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsite-indicadores";
lc["amigos-do-educar"] = "educar/amigosdoeducar|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|amigos-do-educar";
lc["nota-da-escola"] = "educar/notadaescola|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|nota-da-escola";
lc["cartazes"] = "educar/cartazes|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|cartazes";
lc["guias-da-educacao"] = "educar/guiasdaeducacao|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|guias-da-educacao";
lc["testes"] = "educar/testes|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|testes";
lc["jogos"] = "educar/jogos|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|jogos";
lc["alfabetizacao"] = "educar/alfabetizacao|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|alfabetizacao";
lc["enem"] = "educar/enem|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|enem";
lc["ideb"] = "educar/ideb|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|ideb";
lc["teen"] = "educar/teen|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|teen";
lc["vestibular"] = "educar/vestibular|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|vestibular";
lc["concurso-cultural"] = "educar/concursocultural|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|concurso-cultural";
lc["depoimentos"] = "educar/depoimentos|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|depoimentos";
lc["hotsites"] = "educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";

//Lista de excecoes
var le = new Array
le[0]  = "br/index|educar/home|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x25,x50|home";
le[1]  = "br/chk|educar/home|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x25,x50|home";	
le[2]  = "/institucional/rss|educar/institucional|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|institucional";
le[3]  = "/grupo-abril|educar/institucional|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|institucional";
le[4]  = "/zigzigzaa|educar/institucional|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|institucional";
le[5]  = "/multimidia.shtml|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[6]  = "/livros|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[7]  = "/best-sellers|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[8]  = "/twitte-dica|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[9]  = "/na-escola|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[10]  = "/atracoes-educativas|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[11]  = "/grafia|educar/jogos|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|jogos";
le[12]  = "/regras-hifen|educar/jogos|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|jogos";
le[13]  = "/jogo-das-palavras|educar/jogos|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|jogos";
le[14]  = "/100-erros|educar/jogos|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|jogos";
le[15]  = "/seriados|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[16]  = "/historia-educacao|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[17]  = "/criancas|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[18]  = "/pensadores-da-educacao|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[19]  = "/como-se-fala|educar/jogos|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|jogos";
le[20]  = "/sexo|educar/comportamento|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|comportamento";
le[21]  = "/cordel|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[22]  = "/viagem|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[23]  = "/conteudo-livre|educar/institucional|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|institucional";
le[24]  = "/cursos|educar/aprendizagem|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|aprendizagem";
le[25]  = "/educacao-infantil|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[26]  = "/haicai|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[27]  = "/shakespeare|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[28]  = "/amigos-educar|educar/amigosdoeducar|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|amigos-do-educar";
le[29]  = "/termos-de-uso|educar/institucional|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|institucional";
le[30]  = "/limerique|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[31]  = "/ferias|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[32]  = "/praia|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[33]  = "/poesia|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";
le[34]  = "/disciplinas-obrigatorias|educar/institucional|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|institucional";
le[35]  = "/listas|educar/institucional|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|institucional";
le[36]  = "/aulas|educar/hotsites|Top,Bottom,Position2,Right1,x11,x12,x13,x15,x16,x17,x18,x20,x50|hotsites";

//Verifica o canal 
var theURL = new String (document.location) ;
theURL = theURL + "chk" ;


var bEx = false ;
if (typeof le != 'undefined') 
                for (i=0;i<le.length;i++)  

                if (theURL.indexOf( PrsStr(le[i],0) ) > -1 ) {
      var ABR_page    = PrsStr(le[i],1) ;
      var ABR_pos = PrsStr(le[i],2) ;
      area_site = PrsStr(le[i],3);                
                  bEx = true ;
                }

if (!bEx) {
                var auxPath = theURL.split("/") ;
                var chName = auxPath[3] ;
                if ((typeof lc != 'undefined') && (lc[chName]!=null)) {
                   var ABR_page  = PrsStr(lc[chName],0) ;
                   var ABR_pos = PrsStr(lc[chName],1) ;
       area_site = PrsStr(lc[chName],2) ;               

                } else {
                   var ABR_page = PrsStr(lc["interna"],0) ;
                   var ABR_pos = PrsStr(lc["interna"],1) ;
       area_site = PrsStr(lc["interna"],2);                
                }
}

function PrsStr(ct,id) {
   var str=ct.split('|');
   return str[id] ;
}
