var ns4 = (document.layers)? true:false;
var ns6 = (document.getElementById)? true:false;
var ie4 = (document.all)? true:false;
var ie5 = false;
function validar_cab(que) {
if (que=="buscar") {
var texto = document.formBuscador.busqueda.value;
while(''+texto.charAt(0)==' ')texto=texto.substring(1,texto.length);  while(''+texto.charAt(texto.length-1)==' ')texto=texto.substring(0,texto.length-1); document.formBuscador.busqueda.value = texto;
if( (texto.indexOf('[') != -1)||(texto.indexOf(']')!=-1)||
(texto.indexOf('\'')!=-1)||(texto.indexOf('<') != -1) || (texto.indexOf('>') != -1)||
(texto.indexOf('%') != -1) || (texto.indexOf('+') != -1) || (texto.indexOf('{') != -1)||
(texto.indexOf('}') != -1) || (texto.indexOf('\"') != -1)|| (texto.indexOf('(') != -1)||
(texto.indexOf(')') != -1) || (texto.indexOf('.') != -1)) {
alert('No pueden incluirse en la busqueda los caracteres:\n\n    [    <    (    {      \'        %        .    +    \"    }    )    >    ]');
} else if(texto.length < 2) {
alert('La busqueda debe tener al menos 2 letras');
} else {
document.formBuscador.target="_top";
document.formBuscador.action="http://www.vodafone.es/Vodafone/Buscador/BuscadorVodafone";
document.formBuscador.submit();
}
} else if (que=="ok") {
document.pixelClick.src="http://www.vodafone.es/Clickthrough/banner.jsp?banner_id=636";
document.formBuscador.target="_blank";
document.formBuscador.action='http://www.vodafone.es/cgi-bin/login_WM.cgi';
document.formBuscador.submit();
document.formBuscador.usuario.value="";
document.formBuscador.clave.value="";
} else if (que=="correo") {
document.formCorreo.target="_blank";
document.formCorreo.action='http://www.vodafone.es/cgi-bin/login_WM.cgi';
document.formCorreo.submit();
document.formCorreo.usuario.value="";
document.formCorreo.clave.value="";
} else if (que=="alta") {
var h = window.open('http://www.vodafone.es/airtelaltas/jsp/provision/AltasCondicionesGeneralesD.jsp','alta','scrollbars=yes,maximized=no,resizable=no,status=no,title=no,toolbar=no,width=795,height=600');
}
}
function Timer() {
var time= new Date();
secs= time.getSeconds();
if (secs <=9) {
document.location.href='http://212.166.239.4/web/VIM_Spn.exe';
} else if(secs>9 && secs<=19) {
document.location.href='http://212.166.239.5/web/VIM_Spn.exe';
} else if(secs>19 && secs<=29) {
document.location.href='http://212.166.239.6/web/VIM_Spn.exe';
} else if(secs>29 && secs<=39) {
document.location.href='http://212.166.239.7/web/VIM_Spn.exe';
} else if(secs>39 && secs<=49) {
document.location.href='http://212.166.239.8/web/VIM_Spn.exe';
} else if(secs>49 && secs<=59) {
document.location.href='http://212.166.239.10/web/VIM_Spn.exe';
}
}
function numeroCapas() {
var ns4 = (document.layers)? true:false;
var ns6 = (document.getElementById)? true:false;
var ie4 = (document.all)? true:false;
var ie5 = false;
if (document.layers) {ns=1} else {ns=0};
a=0;
if (!ns) {
if (!ns6) {
for (i=1;i<40;i++) {
if (eval("document.all.capa"+i) != undefined) {
a+=1;
};
}
} else if (!ie4) {
for (i=1;i<40;i++) {
if (eval('document.getElementById("capa'+i+'")') != undefined) {
a+=1;
};
}
} else {
for (i=1;i<40;i++) {
var existe=eval("document.all.capa"+i);
if (existe != null) {
a+=1;
};
}
}
} else {
for (i=1;i<40;i++) {
if (eval("document.layers.capa"+i) != undefined) {
a+=1;
};
}
}
if (a > 0) { return a; } else {return 0}
}
function ventana_tam(url,tbar,location,resizable,estatus,menubar,scroll,w,h) {
if (w=="") {w=700}
if (h=="") {h=400}
var ventana = window.open(url,'nuevaventana','toolbar='+tbar+',location='+location+',resizable='+resizable+',directories=no,status='+estatus+',menubar='+menubar+',copyhistory=yes,scrollbars='+scroll+',width='+w+',height='+h);
}
function changeImg(elemento, imagen) {
eval("document."+elemento+".src='"+ imagen+"';");
}
function subir(name) {
//document.write("<A HREF='#top' onMouseOut=\"changeImg('"+name+"','/Vodafone/Imagenes/subir_gr.gif');(window.status='');return true;\" onMouseOver=\"changeImg('"+name+"','/Vodafone/Imagenes/subir_ro.gif');(window.status='Subir');return true;\"><IMG SRC=\"/Vodafone/Imagenes/subir_gr.gif\" HEIGHT=\"11\" WIDTH=\"89\" NAME=\""+name+"\" BORDER=\"0\" ALT=\"Subir\"></A>");
document.write("<a class='txtBold' href='#top'><img src='http://www.vodafone.es/VSharedClient/VodafonePortal/img/red_arrowfilled5.gif' width='10' height='9' border='0'>Subir</a>");

}
function volver(name) {
if (name=="") {name="volver"};
document.write("<A HREF='javascript:window.history.back()' class='txtBold'><img src='http://www.vodafone.es/VSharedClient/VodafonePortal/img/red_arrowfilled3.gif' width='8' height='9' border='0'>Volver</a>");
}
function submitAME() {
document.formEIAME.submit();
}
function validarMMW() {
if (document.form1.msisdn.value=="")
{
alert("Debe introducir el número de teléfono");
}
else if (document.form1.clave.value=="")
{
alert("Debe introducir la clave de acceso");
}
else
{
document.form1.submit();
document.form1.msisdn.value="";
document.form1.clave.value="";
}
}
function volverEnlace(enlace) {
document.write("<A HREF='"+enlace+"' class='txtBold'><img src='http://www.vodafone.es/VSharedClient/VodafonePortal/img/red_arrowfilled3.gif' width='8' height='9' border='0'>Volver</a>");
}
function masInfo(name, link, text, status) {
document.write("<A HREF='" + link + "' onMouseOver=\"changeImg('" + name + "', '/Vodafone/Imagenes/b_masinfo_on.gif');(window.status='" + status + "');return true;\" onMouseOut=\"changeImg('" + name + "','/Vodafone/Imagenes/b_masinfo.gif');window.status=''\"><IMG SRC='/Vodafone/Imagenes/b_masinfo.gif' WIDTH='121' HEIGHT='11' VSPACE='7' BORDER='0' ALT='" + text + "' NAME='" + name + "'></A>");
}
function mainHeader(name, link, text, status, imgOn, imgOff) {
document.write("<A HREF=\"" + link + "\" target=\"_top\" onMouseOver=\"changeImg('" + name + "', '" + imgOn + "');(window.status='" + status + "');return true;\" onMouseOut=\"changeImg('" + name + "','" + imgOff + "');window.status='';\"><IMG SRC=\"" + imgOff + "\" NAME=\"" + name + "\" BORDER=\"0\" alt='" + text + "'></A>");
}
capa=0
function cambiarescena(direccion) {
if (direccion==1 && capa<7){
capa=capa+1;
} else if (direccion==-1 && capa>0) {
capa=capa-1;
}
switch (capa) {
case 0:
MM_showHideLayers('capa1','','show','capa6','','hide','capa7','','hide','capa8','','show','capa2','','hide','capa3','','hide','capa4','','hide','capa5','','hide','capa9','','hide','capa10','','hide');
break;
case 1:
MM_showHideLayers('capa1','','show','capa6','','show','capa7','','hide','capa8','','hide','capa2','','hide','capa3','','hide','capa4','','hide','capa5','','hide','capa9','','hide','capa10','','hide');
break;
case 2:
MM_showHideLayers('capa1','','hide','capa2','','show','capa3','','hide','capa4','','hide','capa5','','hide','capa9','','hide','capa10','','hide');
break;
case 3:
MM_showHideLayers('capa1','','hide','capa7','','hide','capa8','','hide','capa6','','show','capa2','','hide','capa3','','show','capa4','','hide','capa5','','hide','capa9','','hide','capa10','','hide');
break;
case 4:
MM_showHideLayers('capa1','','hide','capa7','','hide','capa8','','hide','capa6','','show','capa2','','hide','capa3','','hide','capa4','','show','capa5','','hide','capa9','','hide','capa10','','hide');
break;
case 5:
MM_showHideLayers('capa1','','hide','capa7','','hide','capa8','','hide','capa6','','show','capa2','','hide','capa3','','hide','capa4','','hide','capa5','','show','capa9','','hide','capa10','','hide');
break;
case 6:
MM_showHideLayers('capa1','','hide','capa7','','hide','capa6','','show','capa8','','hide','capa2','','hide','capa3','','hide','capa4','','hide','capa5','','hide','capa9','','show','capa10','','hide');
break;
case 7:
MM_showHideLayers('capa1','','hide','capa6','','hide','capa7','','show','capa8','','hide','capa2','','hide','capa3','','hide','capa4','','hide','capa5','','hide','capa9','','hide','capa10','','show');
}
}
capa=0
function cambiarescena1(direccion) {
if (direccion==1 && capa<5){
capa=capa+1;
} else if (direccion==-1 && capa>0) {
capa=capa-1;
}
switch (capa) {
case 0:
MM_showHideLayers('capa1','','show','capa6','','hide','capa7','','hide','capa8','','show','capa2','','hide','capa3','','hide','capa4','','hide','capa5','','hide');
break;
case 1:
MM_showHideLayers('capa1','','show','capa6','','show','capa7','','hide','capa8','','hide','capa2','','hide','capa3','','hide','capa4','','hide','capa5','','hide');
break;
case 2:
MM_showHideLayers('capa1','','hide','capa7','','hide','capa8','','hide','capa6','','show','capa2','','show','capa3','','hide','capa4','','hide','capa5','','hide');
break;
case 3:
MM_showHideLayers('capa1','','hide','capa7','','hide','capa2','','hide','capa3','','show','capa4','','hide','capa5','','hide');
break;
case 4:
MM_showHideLayers('capa1','','hide','capa7','','hide','capa6','','show','capa2','','hide','capa3','','hide','capa4','','show','capa5','','hide');
break;
case 5:
MM_showHideLayers('capa1','','hide','capa6','','hide','capa7','','show','capa2','','hide','capa3','','hide','capa4','','hide','capa5','','show');
}
}

function verifyCompatibleBrowser()
{
this.ver=navigator.appVersion
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
bw=new verifyCompatibleBrowser()
var speed=50
var loop, timer
function ConstructObject(obj,nest)
{
nest=(!nest) ? '':'document.'+nest+'.'
this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;
this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;
this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight;
this.clipHeight=bw.ns4?this.css.clip.height:this.el.offsetHeight;
this.up=MoveAreaUp;this.down=MoveAreaDown;
this.MoveArea=MoveArea; this.x; this.y;
this.obj = obj + "Object"
eval(this.obj + "=this")
return this
}
function MoveArea(x,y)
{
this.x=x;this.y=y
this.css.left=this.x
this.css.top=this.y
}
function MoveAreaDown(move)
{
if(this.y>-this.scrollHeight+objContainer.clipHeight){
this.MoveArea(0,this.y-move)
if(loop) setTimeout(this.obj+".down("+move+")",speed)
}
}
function MoveAreaUp(move)
{
if(this.y<=0){
this.MoveArea(0,this.y-move)
if(loop) setTimeout(this.obj+".up("+move+")",speed)
}
}
function Ancla(x,y)
{
objScroller.MoveArea(x,y)
}
function PerformScroll(speed)
{
if(initialised){
loop=true;
if(speed>0) objScroller.down(speed)
else objScroller.up(speed)
}
}
function CeaseScroll()
{
loop=false
if(timer) clearTimeout(timer)
}
var initialised;
function InitialiseScrollableArea()
{
objContainer=new ConstructObject('capa5')
objScroller=new ConstructObject('divContent','capa5')
objScroller.MoveArea(0,0)
objContainer.css.visibility='visible'
initialised=true;
PerformScroll(1);
PerformScroll(-1);
CeaseScroll();

}

function MM_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features);
}
drop = new Array();
image = new Array();
function imgPreload(name) {
eval( name + " = new Image()" );
eval( name + ".src = \"/vodafone/Campus/images/" + name + ".gif\"" );
}
var ns4 = (document.layers)? true:false;
var ns6 = (document.getElementById)? true:false;
var ie4 = (document.all)? true:false;
var ie5 = false;
if (ie4) {
if ((navigator.userAgent.indexOf('MSIE 5') > 0) || (navigator.userAgent.indexOf('MSIE 6') > 0)) { ie5 = true; }
if (ns6) { ns6 = false; }
}
function abrirventana(mywindow,mywindow2,myurl,mywidth,myheight,myscroll)
{
width = "width="+mywidth;
height= "height="+myheight;
auxscroll= "scrollbars="+myscroll;
mywindow=window.open(myurl,mywindow2,width+","+height+",resizable=no,"+auxscroll+",toolbars=no,directories=no,titlebar=no,status=no");
}
function carga_ventana(web_ventana,resx,resy,posx,posy)
{
var ancho_interface=10
var alto_interface=29
if ((posx==-1) && (posy==-1))
{
var tamx=screen.width;
var tamy=screen.height;
posx=(tamx-(resx+ancho_interface))/2;
posy=(tamy -(resy+alto_interface))/2;
var testo=tamx + " " + tamy + " " + posx + " " + posy;
 }
var cadena_opciones="width=" + resx + ",height=" + resy + ",left=" + posx + ",top=" + posy;
myventanashockwave=window.open(web_ventana,"",cadena_opciones);
}

function checkBrowser(){
this.ver=navigator.appVersion
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
if(this.ie6){this.ie5=1}
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
function oculta(i)
{
MM_showHideLayers('capa'+i,'','hide')
}
function muestra(i)
{
MM_showHideLayers('capa'+i,'','show')
}
var ancho,anterior;
function centrar(n)
{
var bw=new checkBrowser()
anterior=(ancho)? ancho:780;
ancho=(bw.ns5||bw.ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
coloca_capas(n,ancho,anterior,780);
}
function coloca_capas(ncapas,anchopantalla,anchoanterior,anchominimo)
{
var bw=new checkBrowser()
var nom,capa,xcapa1,xcapa,correccion,anchoaplicar
for(x=1;x<=ncapas;x++)
{
nom='capa'+x
if(bw.ns4) {capa=document.layers[nom]}
else if(bw.ie4) {capa=document.all[nom].style}
else if(bw.ie5||bw.ns5){capa=document.getElementById(nom).style}
xcapa1=capa.left
xcapa=(bw.ns4)? parseInt(xcapa1):parseInt(xcapa1.substr(0,xcapa1.lastIndexOf("p")))
anchoaplicar=Math.max(anchoanterior,anchominimo)
correccion=(anchoaplicar/2)-xcapa
anchoaplicar=Math.max(anchopantalla,anchominimo)
capa.left=(anchoaplicar/2)-correccion
}
}
function ApareceCapa(capa)
{
var bw=new checkBrowser();
if(bw.ie4)
{
document.all(capa).style.display = "block";
}
else
{
document.getElementById(capa).style.display="block";
}
return true;
}
function ApagaCapa(capa){
var bw=new checkBrowser();
if(bw.ie4)
{
document.all(capa).style.display = "none";
}
else
{
document.getElementById(capa).style.display ="none";
}
return true;
}
function Abre(capa)
{
var bw=new checkBrowser();
if(bw.ie4)
{
document.all(capa).style.display = "block";
}
else
{
document.getElementById(capa).style.display="block";
}
return true;
}
function Cierra(capa){
var bw=new checkBrowser();
if(bw.ie4)
{
document.all(capa).style.display = "none";
}
else
{
document.getElementById(capa).style.display ="none";
}
return true;
}
function MM_reloadPage(init) { if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_preloadImages() { var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_swapImage() { var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_openBrWindow(theURL,winName,features) { window.open(theURL,winName,features);
}
function MM_showHideLayers() { var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
resp= new Array();
resp[0]=new Array();
resp[0].fuenteA="/Vodafone/Campus/Imagenes/botonpeque.gif";
resp[0].fuenteB="/Vodafone/Campus/Imagenes/botonmarcado.gif";
resp[0].activo=-1;
resp[0].nombre=new Array();
resp[0].nombre[0]="a1";
resp[0].nombre[1]="b1";
resp[0].nombre[2]="c1";
resp[0].nombre[3]="d1";
resp[0].nombre[4]="e1";
resp[0].contestado=false;
resp[1]=new Array();
resp[1].fuenteA="/Vodafone/Campus/Imagenes/botonpeque.gif";
resp[1].fuenteB="/Vodafone/Campus/Imagenes/botonmarcado.gif";
resp[1].activo=-1;
resp[1].nombre=new Array();
resp[1].nombre[0]="a2";
resp[1].nombre[1]="b2";
resp[1].nombre[2]="c2";
resp[1].nombre[3]="d2";
resp[1].nombre[4]="e2";
resp[1].contestado=false;
resp[2]=new Array();
resp[2].fuenteA="/Vodafone/Campus/Imagenes/botonpeque.gif";
resp[2].fuenteB="/Vodafone/Campus/Imagenes/botonmarcado.gif";
resp[2].activo=-1;
resp[2].nombre=new Array();
resp[2].nombre[0]="a3";
resp[2].nombre[1]="b3";
resp[2].nombre[2]="c3";
resp[2].nombre[3]="d3";
resp[2].nombre[4]="e3";
resp[2].contestado=false;
resp[3]=new Array();
resp[3].fuenteA="/Vodafone/Campus/Imagenes/botonpeque.gif";
resp[3].fuenteB="/Vodafone/Campus/Imagenes/botonmarcado.gif";
resp[3].activo=-1;
resp[3].nombre=new Array();
resp[3].nombre[0]="a4";
resp[3].nombre[1]="b4";
resp[3].nombre[2]="c4";
resp[3].nombre[3]="d4";
resp[3].nombre[4]="e4";
resp[3].contestado=false;
resp[4]=new Array();
resp[4].fuenteA="/Vodafone/Campus/Imagenes/botonpeque.gif";
resp[4].fuenteB="/Vodafone/Campus/Imagenes/botonmarcado.gif";
resp[4].activo=-1;
resp[4].nombre=new Array();
resp[4].nombre[0]="a5";
resp[4].nombre[1]="b5";
resp[4].nombre[2]="c5";
resp[4].nombre[3]="d5";
resp[4].nombre[4]="e5";
resp[4].contestado=false;
resp[5]=new Array();
resp[5].fuenteA="/Vodafone/Campus/Imagenes/botonpeque.gif";
resp[5].fuenteB="/Vodafone/Campus/Imagenes/botonmarcado.gif";
resp[5].activo=-1;
resp[5].nombre=new Array();
resp[5].nombre[0]="a6";
resp[5].nombre[1]="b6";
resp[5].nombre[2]="c6";
resp[5].nombre[3]="d6";
resp[5].nombre[4]="e6";
resp[5].contestado=false;
resp[6]=new Array();
resp[6].fuenteA="/Vodafone/Campus/Imagenes/botonpeque.gif";
resp[6].fuenteB="/Vodafone/Campus/Imagenes/botonmarcado.gif";
resp[6].activo=-1;
resp[6].nombre=new Array();
resp[6].nombre[0]="a7";
resp[6].nombre[1]="b7";
resp[6].nombre[2]="c7";
resp[6].nombre[3]="d7";
resp[6].nombre[4]="e7";
resp[6].contestado=false;
resp[7]=new Array();
resp[7].fuenteA="/Vodafone/Campus/Imagenes/botonpeque.gif";
resp[7].fuenteB="/Vodafone/Campus/Imagenes/botonmarcado.gif";
resp[7].activo=-1;
resp[7].nombre=new Array();
resp[7].nombre[0]="a8";
resp[7].nombre[1]="b8";
resp[7].nombre[2]="c8";
resp[7].nombre[3]="d8";
resp[7].nombre[4]="e8";
resp[7].contestado=false;
resp[8]=new Array();
resp[8].fuenteA="/Vodafone/Campus/Imagenes/botonpeque.gif";
resp[8].fuenteB="/Vodafone/Campus/Imagenes/botonmarcado.gif";
resp[8].activo=-1;
resp[8].nombre=new Array();
resp[8].nombre[0]="a9";
resp[8].nombre[1]="b9";
resp[8].nombre[2]="c9";
resp[8].nombre[3]="d9";
resp[8].nombre[4]="e9";
resp[8].contestado=false;
resp[9]=new Array();
resp[9].fuenteA="/Vodafone/Campus/Imagenes/botonpeque.gif";
resp[9].fuenteB="/Vodafone/Campus/Imagenes/botonmarcado.gif";
resp[9].activo=-1;
resp[9].nombre=new Array();
resp[9].nombre[0]="a10";
resp[9].nombre[1]="b10";
resp[9].nombre[2]="c10";
resp[9].nombre[3]="d10";
resp[9].nombre[4]="e10";
resp[9].contestado=false;
resp[10]=new Array();
resp[10].fuenteA="/Vodafone/Campus/Imagenes/botonpeque.gif";
resp[10].fuenteB="/Vodafone/Campus/Imagenes/botonmarcado.gif";
resp[10].activo=-1;
resp[10].nombre=new Array();
resp[10].nombre[0]="a11";
resp[10].nombre[1]="b11";
resp[10].nombre[2]="c11";
resp[10].nombre[3]="d11";
resp[10].nombre[4]="e11";
resp[10].contestado=false;
function cambia(valor,opcion)
{
if(!resp[valor].contestado)
{
document.images[resp[valor].nombre[opcion]].src=resp[valor].fuenteB;
resp[valor].contestado=true;
}
 
resp[valor].activo=opcion;
}
function openwindow(mywindow,mywindow2,myurl,mywidth,myheight,myscroll)
{
width = "width="+mywidth;
height= "height="+myheight;
auxscroll= "scrollbars="+myscroll;
mywindow=window.open(myurl,mywindow2,width+","+height+",resizable=no,"+auxscroll+",toolbars=no,directories=no,titlebar=no,status=no");
}
var FDK_loaded=false;
function FDK_goToFrame(ID,frameNum) {
loc = eval("window.document."+ID);
frameNum = (parseInt(frameNum));
if (navigator.appName.indexOf ("Microsoft") !=-1) {
TFrames = (parseInt(loc.TotalFrames));
}
else {
TFrames = (parseInt(loc.TotalFrames()));
}
if (frameNum <= TFrames) {
if (!FDK_loaded) {
while (!FDK_loaded) {
if(loc.PercentLoaded() == 100) {
loc.GotoFrame(frameNum);
FDK_loaded = true;
}
}
}
else {
loc.GotoFrame(frameNum);
}
}
else {
alert("Flash Scripting Error: The jump frame you specified is greater than the total number of fames in the Flash movie. Choose a lesser value.");
}
}
function cargaCab(name) {
eval( name + " = new Image();" )
eval( name + ".src = \"/VSharedClient/Vodafone/Componentes/Imagenes/" + name + ".gif\";" )
}
function includeTAG(referer) {
var a = Math.random();
a = a * 10000000000000;
var htmlreferer = "";
if (typeof(referer)!="undefined"){htmlreferer = "app="+referer+"&";}
document.write('<img src="http://www.vodafone.es/AppVodafone/VodafoneTags/ServletTags?'+htmlreferer+'origen=jmstags&id='+a+'" width=0 height=0 border=0>');
}
//document.write('<script src="http:\/\/www.vodafone.es\/VSharedClient\/Vodafone\/Javascript\/pluginDetection.js"><\/script>');
