function pintar(url,txtEnlace)//recibe la url y el texto a visualizar para el enlace.
{
 var rutaHomePage="/local/es/kc3/homepage.nsf/html/";
 var rutaHomePage_old="./";
 document.write("&nbsp;&gt;&nbsp;<a href="+rutaHomePage+url+"><font color='#2e3f75'><small>"+txtEnlace+"</small></font></a>")
}
function pintar2(url,txtEnlace)//recibe la url y el texto a visualizar para el enlace.
{
 rutaHomePage_old="./";
 document.write("&nbsp;&gt;&nbsp;<a href="+url+"><font color='#2e3f75'><small>"+txtEnlace+"</small></font></a>")
}
function DisplayRutaNiveles(opcion)
{
 switch (opcion)
 {  
//Pestaña NEWS & RESEARCH  
   case "NEWS" :
   pintar("nw_noticias.html","News & Research")
   break;
   case "NOTICIAS" :
   pintar("nw_noticias.html","Noticias")
   break;
   
   case "RECURSOSKM":
   pintar("body_news.html","Recursos KM")
   break;
   //SubCategorías RECURSOS KM
   case "KC" :
   pintar("nw_rec_kcenter.html","KC")
   break;
   case "FUENTES" :
   pintar("nw_rec_home.html","Otras Fuentes")
   break;
   
   //Categorías PORTALES SECTORIALES
   case "PORTALESSECTORIALES" :
   pintar("body_news.html","Portales Sectoriales")
   break;
   //SubCategorías PORTALES SECTORIALES
   case "GFS" :
   pintar("body_news.html","GFS")
   break;
   case "CIPS" :
   pintar("body_news.html","CIPS")
   break;
   case "TICE" :
   pintar("ne_po_tice.html","TICE")
   break;
   case "SERVICIOS" :
   pintar("body_news.html","Servicios")
   break;
   case "ENERGIA" :
   pintar("body_news.html","Energ&iacute;a")
   break;
   case "SECTORPUBLICO" :
   pintar("body_news.html","Sector P&uacute;blico")
   break;
   // Pestaña WINNING WORK
   case "NEGOCIO" :
   pintar2("dn_body_negocio.html","Winning Work")
   break;
   case "KMENLASLOS" :
   pintar("body_news.html","KM en las LoS")
   break;
   case "KMENLASLOSCF" :
   pintar("nw_kmlos_cf.html","KM CF")
   break;
   case "KMENLASLOSABAS" :
   pintar("nw_kmlos_abastpa.html","TPA")
   break;
   //Marketing
   case "MARKETING":
   pintar("Marketing");
   break;
   //Marketing
   case "COMPETENCIA" :
   pintar("body_news.html","Competencia")
   break;
   //Marketing
   case "SOLUCIONES":
   pintar("blanca.html","Soluciones de Negocio");
   break;
   //Marketing
   case "SITIOSPWC":
   pintar("blanca.html","Sitios PwC");
   break;
   //Marketing
   case "IDENTIDAD":
   pintar("blanca.html","Identidad Visual PwC");
   break;
   
    //Pestaña VIRTUAL OFFICE   
  case "OFICINA" :
   pintar("of_body_oficina.html","VIRTUAL OFFICE")
   break;
 //Categorías VIRTUAL OFFICE
  case "SERVICIOS":
  pintar("blanca.html","Servicios en Oficinas");
  break;
  case "ORGANIZACIÓN":
  pintar("blanca.html","Nuestra Organizaci&oacute;n");
  break;
  case "DIRECTORIOS":
  pintar("blanca.html","Directorios");
  break;
  case "HELP":
  pintar("blanca.html","Help Services");
  break;
  case "GASTOS":
  pintar("blanca.html","Gastos / Finance");
  break;
  case "VIAJES":
  pintar("blanca.html","Viajes");
  break;
  case "NORMAS":
  pintar("blanca.html","Normas &amp; Policies");
  break;
  case "TRADUCCION":
  pintar("blanca.html","Traducci&oacute;n");
  break;
 //Pestaña ME@PWC   
  case "ME@PWC" :
   pintar("me_wel_home.html","Me@PwC")
   break;
   case "WELCOME" :
   pintar("me_wel_home.html","Welcome PwC")
   break;
   case "RRHHABAS":
  pintar("me_rh_abas.html","RR.HH ABAS");
  break;
  case "RRHHTLS":
  pintar("me_rh_TLS.html","RR.HH TLS");
  break;
  case "RRHHSHARED":
  pintar("me_rh_shared.html","Administraci&oacute;n de Personal");
  break;
  case "FORMACION":
  pintar("blanca.html","Formaci&oacute;n");
  break;
  case "RRHH":
  pintar("blanca.html","RR.HH");
  break;
  
 //Pestaña OURORGANIZATION   
  case "OUR" :
   pintar("ou_body_organization.html","Our Organization");
   break;
  case "mensaje":
  pintar("ou_mensaje.html","Mensaje MFP");
  break;
  case "historia":
  pintar("ou_historia.html","Historia de la Firma");
  break;
  case "estructura":
  pintar("ou_estructura.html","Estructura de la Firma");
  break;
  case "cifras":
  pintar("ou_cifras.html","Cifras");
  break;
  case "estrategia":
  pintar("ou_estrategia.html","Estrategia");
  break;
  case "codigo":
  pintar("ou_etica3.html","Oficina de &Eacute;tica");
  break;
 }
}


function DisplayRuta()
{
 document.write("<small>Estas en </small>")
 for (var i=0; i< DisplayRuta.arguments.length; i=i+1) 
  // DisplayRutaNiveles(valor)
      DisplayRutaNiveles(DisplayRuta.arguments[i])
   
}
