////



var carpeta=""


var canalactual='';



function escespacio(){
	sHTML+="<tr><td class='itemmenu-dhtml'><img src='"+carp+"imgs/espacio.gif' width='101' height='10'></td></tr>"
}
function escazul(){
	sHTML+="    <tr><td align='center' class='itemmenu-dhtml'><img src='"+carp+"imgs/pix-azul-claro.gif' width='101' height='1'></td></tr>"
}

function escitem(curl,texto,ventana){
sHTML+="<tr><td align='right' class='itemmenu-dhtml'><a href='"+curl+"' class='itemmenu-dhtml' title='"+texto+"' target='"+ventana+"'>"+texto+"</a>"
if (document.all) sHTML+="&nbsp;"
sHTML+="</td></tr>"
}
sHTML="<div id='fake' style='position:absolute; width:110px; z-index:1; left: 100px; top: 108px; visibility: hidden'> ";
sHTML+="</div>";
sHTML+="<div id='sobrenosotros' style='position:absolute;  width:110px;z-index:1; left: 230px; top: 143px;visibility: hidden'> <table width='110' border='0' cellpadding='1' cellspacing='0' bgcolor='#2284CE'>"
sHTML+="  </table></div>"
sHTML+="<div id='particulares' style='position:absolute;  width:110px;z-index:1; left: 100px; top: 143px;visibility: hidden'> <table width='110' border='0' cellpadding='1' cellspacing='0' bgcolor='#2284CE'>"
escespacio()
escitem('http://www.movistar.es/particulares/tarifasycontratos/index.htm','Tarifas y Contratos','_self')
escazul()
escitem('http://www.movistar.es/particulares/tarifasycontratos/recarga/recarga.htm','Recarga tu Tarjeta','_self')
escazul()
escitem('http://www.canalcliente.movistar.es?menup','Canal Cliente','_self')
escazul()
escitem('http://www.movistar.es/particulares/servicios/index.htm','Tus Servicios','_self')
escazul()
escitem('http://www.movistar.es/particulares/renueva/index.htm','Renueva tu M&oacute;vil','_self')
escazul()
escitem('http://www.movistar.es/portabilidad/index.htm','Ven a movistar','_self','tabindex=13')
escazul()
escitem('http://www.movistar.es/joven/','Web Joven','_blank')
escazul()
escespacio()
sHTML+="  </table></div>"
// EMPRESAS ************************************
sHTML+="<div id='empresas' style='position:absolute; width:110px; z-index:2; left: 300px; top: 143px; visibility: hidden'><table width='110' border='0' cellpadding='1' cellspacing='0' bgcolor='#2284CE'>"
escespacio()
escitem('http://www.movistar.es/empresas/tarifasycontratos/index.htm','Tarifas y Contratos','_self')
escazul()
escitem('http://www.canalcliente.movistar.es/empresas?menue','Canal Cliente','_self')
escazul()
escitem('http://www.movistar.es/empresas/servicios/index.htm','Servicios','_self')
escazul()
escitem('http://www.movistar.es/empresas/renueva/index.htm','Renueva el M&oacute;vil','_self')
escazul()
escitem('http://www.movistar.es/portabilidad/index2.htm','Ven a movistar','_self','tabindex=17')
escazul()
escitem('http://www.movilforum.movistar.es/','MovilForum','_blank')
escazul()
escitem('http://www.movistar.es/terceros/','Terceros','_self')
escazul()
escitem('http://www.movistar.es/mensatel/','Mensatel','_self')
escazul()
escitem('http://www.movistar.es/radiored/index.htm','Radiored','_self')
escazul()

escespacio()
sHTML+="</table></div>"

// DEPORTE ************************************
sHTML+="<div id='deporte' style='position:absolute; width:110px; z-index:3; left: 500px; top: 143px; visibility: hidden'><table width='110' border='0' cellpadding='1' cellspacing='0' bgcolor='#2284CE'>"
escespacio()
escitem('http://www.movistar.es/deportes/index.htm','Deporte','_self','tabindex=23')
escazul()
escitem('http://www.movistar.es/musica','Música','_self','tabindex=24')
escazul()
escespacio()
sHTML+="  </table></div>"
  if(document.all) document.onmousemove=followMouse_IE;
  
function followMouse_IE()  {
	 
  swcapa1=false;swcapa2=false;swcapa3=false;swcapa4=false;swcapa5=false;
  ratonx=document.body.scrollTop+event.clientX;ratony=document.body.scrollTop+event.clientY;
  poscapa1=particulares.style.left.substr(0,particulares.style.left.indexOf("px"));
  poscapa1=parseInt(poscapa1);
  poscapa2=empresas.style.left.substr(0,empresas.style.left.indexOf("px"));
  poscapa2=parseInt(poscapa2);
  poscapa3=deporte.style.left.substr(0,deporte.style.left.indexOf("px"));
  poscapa3=parseInt(poscapa3);
  
  	capa1=particulares.style.left.substr(0,particulares.style.left.indexOf("px"));
	
	if((ratonx > poscapa1) && (ratonx < (poscapa1+110)) && (ratony > 35) && (ratony < 265)) {
		swcapa1=true;
		
	}
  	if(!swcapa1) {		particulares.style.visibility = "hidden"	}
  
  	capa2=empresas.style.left.substr(0,empresas.style.left.indexOf("px"));
	
	if((ratonx > poscapa2) && (ratonx < (poscapa2+150)) && (ratony > 35) && (ratony < 320)) {swcapa2=true;}
	if(!swcapa2) {		empresas.style.visibility = "hidden"		
	}

	
  	capa3=deporte.style.left.substr(0,deporte.style.left.indexOf("px"));
	
	if((ratonx > poscapa3) && (ratonx < (poscapa3+110)) && (ratony > 35) && (ratony < 260)) swcapa3=true;
  	if(!swcapa3) {		deporte.style.visibility = "hidden"}

	boton4=poscapa2 +110
	if((ratonx > boton4) && (ratonx < (boton4+110)) && (ratony > 35) && (ratony < 240)) swcapa4=true;
		
	

	boton5=poscapa3 +111
	if((ratonx > boton5) && (ratonx < (boton5+110)) && (ratony > 35) && (ratony < 240)) swcapa5=true;
	
   }

if (canalactual=='particulares') part.src=carp+"imgs/bot_particulares_on.gif";
if (canalactual=='empresas') empre.src=carp+"imgs/bot_empresas_on.gif";

function P7_N4hideIt(e) { 
 var b=e.target;
 if(b.p7N4hide==true) {b.visibility="hidden";}
}

function P7_N4autoHide() { 
 if(!document.layers)return;
 var args=P7_N4autoHide.arguments;
 p7N4 = new Array();
 for (var k=0;k<(args.length);k++) {
   if ((g=MM_findObj(args[k]))!=null) {
    g.captureEvents(Event.MOUSEOUT);
    g.onmouseout = P7_N4hideIt;
    g.p7N4hide=true;}}
}

function P7_autoLayers() { //v1.2 by PVII

 var g,b,k,f,args=P7_autoLayers.arguments;
 var a = parseInt(args[0]);if(isNaN(a))a=0;
 if(!document.p7setc) {p7c=new Array();document.p7setc=true;
  for (var u=0;u<10;u++) {p7c[u] = new Array();}}
 for(k=0; k<p7c[a].length; k++) {
  if((g=MM_findObj(p7c[a][k]))!=null) {
   b=(document.layers)?g:g.style;b.visibility="hidden";}}
 for(k=1; k<args.length; k++) {
  if((g=MM_findObj(args[k])) != null) {
   b=(document.layers)?g:g.style;b.visibility="visible";f=false;
   for(j=0;j<p7c[a].length;j++) {
    if(args[k]==p7c[a][j]) {f=true;}}
  if(!f) {p7c[a][p7c[a].length++]=args[k];}}}
}


document.write(sHTML);





