
if (top.location != self.location) {
   top.location=self.location
}

//document.oncontextmenu=new Function("return false")

autorweb='carrioncondes@hotmail.com'

imprimir=false
nombre=location.host.split('.')
switch (nombre.length) {
 case 0:  hosted=''; break
 case 1:  hosted=nombre; break
 default: hosted=nombre[nombre.length-2]
}
if (hosted=='') imprimir=true

var grlFont="Verdana,Arial,Helvetica,sans-serif"
var imagef=''

document.write('<script type="text/javascript" src="indice.js"></script>')
document.write('<link rel=stylesheet href="estilos.css">')

function str_rep(n) {
 s=""
 t=this.toString()
 while (--n >= 0) s+=t
 return s
}
String.prototype.repeat=str_rep

function enlace(lnk, txt, tgt) {
 indice=lnk.indexOf('#')
 indice2=lnk.indexOf('http://')
 suf=(indice2>-1)?'':'.htm'
 pref='' //(indice2>-1)?'launcher.htm?':''
 switch (indice) {
  case -1: lnk+=(lnk.indexOf('.htm')==-1)?suf:''; break
  case  0: break
  default: lnk=lnk.substring(0,indice)+'.htm'+lnk.substring(indice,lnk.length); break
 }
 retorno='<A HREF="'+pref+lnk+'"'
 if (tgt!='' && tgt!=undefined) retorno+=' target="'+tgt+'"'
 retorno+='>'+txt+'</A>'
 return retorno
}

var obj='shield'
mY=0
yD=0
yS=0

function shieldCheck() {
 // Dimensiones de la imagen
 iw=document.body.clientWidth
 ih=document.body.clientHeight

 // Scroll del conjunto
 yy=document.body.scrollTop
 yD=yS-yy

 // Para scroll suave, utilizar estas líneas:
 if (yD<=-10) mY=Math.round((yD)/10)
  else if (yD>=10) mY=Math.round(yD/10)
  else if (yD<0) mY=-1
  else if (yD>0) mY=1
  else mY=0

 // Para scroll instantáneo, utilizar esta línea:
 //mY=yD

 yS-=mY
 document.getElementById(obj).style.top=(yS+iY)

 setTimeout("shieldCheck()",0) // Aumentar ",0" para aumentar el tiempo de reacción (mseg) al movimiento.
}

function header(index) { with (document) {
 document.getElementById(obj).style.left=10

if (!imprimir) {
  write('<a href=http://www.ademails.com/estadisticas1059748769.htm>')
  write('<img id="ademailsimg" style="float: right; border: none" alt="Estadisticas"></A>')

  <!--- EstadisticasGratis.com | código --->
  write('<span style="display:none;" id="EstadCodeComprove">687474703A2F2F7777772E666F726D6163696F6E7061726170726F666573696F6E616C65732E636F6D2F637572736F7320706172612070726F666573696F6E616C657320612064697374616E636961687474703A2F2F7777772E666F726D6163696F6E2D6164697374616E6369612E6E65742F637572736F7320612064697374616E636961687474703A2F2F7777772E637572736F732D6164697374616E6369612E636F6D2F637572736F7320612064697374616E636961687474703A2F2F7777772E637572736F737465636E69636F732E6E65742F637572736F732074E9636E69636F73</span>')
    //  write('<span style="display:none;" id="EstadCode"><a href="http://www.formacionparaprofesionales.com/" id="LinkKey0">cursos para profesionales a distancia</a><a href="http://www.formacion-adistancia.net/" id="LinkKey1">cursos a distancia</a><a href="http://www.cursos-adistancia.com/" id="LinkKey2">cursos a distancia</a><a href="http://www.cursostecnicos.net/" id="LinkKey3">cursos técnicos</a></span><span style="display:none;" id="Aux"><a href=""></a></span>')
  write('<a href="http://www.estadisticasgratis.com/" target="_blank"><img style="float: right; border: none" height="20" width="90" id="fwe_counter" src="shim.gif" alt="Estadisticas y contadores web gratis"></a><BR><BR>')
  <!--- EstadisticasGratis.com | código --->
}

if (!imprimir) {
  <!-- Start of StatCounter Code -->
  window.sc_project=3291608
  window.sc_invisible=1
  window.sc_partition=21
  window.sc_security="e2fd39a4"
  <!-- End of StatCounter Code -->
}}}

function comparar(a, b) {
   return a - b
}

function siguiente(lnk, txt) { document.write('<span style="white-space: nowrap; font-size: 12pt; font-weight: bold">'+enlace(lnk, txt, '')+'</span>') }

function foot() { with (document) {
 sumario=new Array()
 nombre=location.pathname.split('/')
 nombre=nombre[nombre.length-1]
 nombre=nombre.split('\\')
 nombre=nombre[nombre.length-1]
 nombre=nombre.substr(0,nombre.indexOf('.')).toLowerCase()
 este=0
 for (i=0; i<=inpl; i++) {
  if (nombre==inp[i].url) este=i
  if (inp[i].ind==2) sumario[sumario.length]=i
 }

/**************************************************************
 write('<HR style="width: 100%">')
 if (este>0)
  write('<DIV style="border: thin solid; float: left; width: auto; margin-left: 15%; font-size: 12pt; font-weight: bold; text-align: center">&larr; '+enlace(inp[este-1].url, 'P&aacute;gina anterior', '')+'<DIV style="font-size: 9pt">'+inp[este-1].des+'</DIV></DIV>')

 write('<DIV style="border: thin solid; float: right; width: auto; margin-right: 15%; font-size: 12pt; font-weight: bold; text-align: center">')
 if (este<inpl)
  write(enlace(inp[este+1].url, 'P&aacute;gina siguiente', ''))
 else
  write(enlace(pag_inicio, 'P&aacute;gina inicial', ''))
 write(' &rarr;<DIV style="font-size: 9pt">'+inp[este+1].des+'</DIV></DIV><BR><BR><HR style="width: 100%">')
**************************************************************/

 write('<br><br><CENTER><TABLE class="bbot btop" BORDER=0 CELLSPACING=0 CELLPADDING=0><TR><TD height="20"></TD></TR><TR>')
 if (este>0) write('<TD style="text-align: right; vertical-align: bottom; white-space: nowrap; font-size: 12pt; font-weight: bold">'+enlace(inp[este-1].url, 'P&aacute;gina anterior', '')+'</TD>')
 write('<TD width="10%" rowspan="2"></TD><TD ALIGN="left" VALIGN=middle">')
 if (este<inpl)
  siguiente(inp[este+1].url,'P&aacute;gina siguiente')
 else
  siguiente(pag_inicio, 'P&aacute;gina inicial')

 write('</TD></TR><TR>')

 if (este>0)
  write('<TD ALIGN="right" VALIGN=middle" style="font-size: 9pt">'+inp[este-1].des+'</TD>')

 if (este<inpl)
  write('<TD ALIGN="left" VALIGN=middle" style="font-size: 9pt">'+inp[este+1].des+'</TD>')

 write('</TR><TR><TD height="20"></TD></TR></TABLE></CENTER>')

 write('<BR><DIV STYLE="text-align: left; margin-left: 10%"><DIV id="tx1">Sumario</DIV>')

 max=(inp[este].ind==5) ? 5 : inp[este].ind+1
 for (x=3; x<=max; x++) {
   for (ini=este; ini>=0; ini--)
     if (inp[ini].ind<x) break
   for (fin=este+1; fin<=inpl; fin++)
     if (inp[fin].ind<x) break
   for (i=ini; i<fin; i++)
     if (inp[i].ind==x) sumario[sumario.length]=i
 }
 tabl='<DIV id="tx'
 tabl2='</DIV>'
 sumario.sort(comparar)
 for (x=0; x<sumario.length; x++) {
  z=inp[sumario[x]].ind
  desc=inp[sumario[x]].des
  pag=inp[sumario[x]].url
  if (pag=='') alert('Pagina en blanco ('+desc+')')
  indice=pag.indexOf('#')
  pag=(indice==-1) ? pag+'.htm' : pag.substring(0, indice)+'.htm'+pag.substring(indice, pag.length)
  desc=(este!=sumario[x]) ? '<A HREF="'+pag+'">'+desc+'</A>' : desc='<B>'+desc+'</B>'
  write(tabl+z+'">'+desc+tabl2)
 }
 write('</DIV><BR>')

 iY=1
 yS=document.body.scrollTop
 shieldCheck()

if (!imprimir) {
  getElementById('ademailsimg').src="http://www.ademails.com/cgi-bin/contador.cgi?ID=1059748769&referer="+escape(referrer)

  write('<script type="text/javascript" src="http://www.estadisticasgratis.com/trace-ScriptContadorGold.php?page=17653&digits=6"></script>')
}
if (!imprimir) {
  write('<script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>')
}}}
