function MM_swapImgRestore() { //v3.0
  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_preloadImages() { //v3.0
 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_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  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) { //v2.0
window.open(theURL,winName,features);
}

function muestra_popup(archivo,ancho,alto){
   xWidth ('popup',ancho + 0)
   xHeight ('popup',alto + 0 + 20)
   xWidth ('c1',ancho)
   xHeight ('c1',alto)
   xWidth ('cerrarpopup',ancho - 4)

   xInnerHtml('c1','<img src="' + archivo + '" width="' + ancho + '" height="' + alto + '" border="0">')
   xShow('popup');
}

function muestra_popup_ofe(){
   xWidth ('popup',530 + 0)
   xHeight ('popup',570 + 0 + 20)
   xWidth ('c1',530)
   xHeight ('c1',570)
   xWidth ('cerrarpopup',530 - 4)

   xInnerHtml('c1','<table border="0" cellpadding="0" cellspacing="0" width="530"><tr><td><img src="imagenes_ofe/spacer.gif" width="530" height="1" border="0" alt=""></td><td><img src="imagenes_ofe/spacer.gif" width="1" height="1" border="0" alt=""></td></tr><tr><td><img name="ofe0811_r1_c1" src="imagenes_ofe/ofe0811_r1_c1.gif" width="530" height="111" border="0" alt=""></td><td><img src="imagenes_ofe/spacer.gif" width="1" height="111" border="0" alt=""></td></tr><tr><td><img name="ofe0811_r2_c1" src="imagenes_ofe/ofe0811_r2_c1.gif" width="530" height="75" border="0" alt=""></td><td><img src="imagenes_ofe/spacer.gif" width="1" height="75" border="0" alt=""></td></tr><tr><td><img name="ofe0811_r3_c1" src="imagenes_ofe/ofe0811_r3_c1.gif" width="530" height="73" border="0" alt=""></td><td><img src="imagenes_ofe/spacer.gif" width="1" height="73" border="0" alt=""></td></tr><tr><td><a href="/listas/ofertas" target="_parent"><img name="ofe0811_r4_c1" src="imagenes_ofe/ofe0811_r4_c1.gif" width="530" height="23" border="0" alt="Ofertas vigentes Línea Ideal"></a></td><td><img src="imagenes_ofe/spacer.gif" width="1" height="23" border="0" alt=""></td></tr><tr><td><img name="ofe0811_r5_c1" src="imagenes_ofe/ofe0811_r5_c1.gif" width="530" height="86" border="0" alt=""></td><td><img src="imagenes_ofe/spacer.gif" width="1" height="86" border="0" alt=""></td></tr><tr><td><a href="/listas/ofertas" target="_parent"><img name="ofe0811_r6_c1" src="imagenes_ofe/ofe0811_r6_c1.gif" width="530" height="21" border="0" alt="Ofertas vigentes Línea Ideal"></a></td><td><img src="imagenes_ofe/spacer.gif" width="1" height="21" border="0" alt=""></td></tr><tr><td><img name="ofe0811_r7_c1" src="imagenes_ofe/ofe0811_r7_c1.gif" width="530" height="82" border="0" alt=""></td><td><img src="imagenes_ofe/spacer.gif" width="1" height="82" border="0" alt=""></td></tr><tr><td><a href="/depilacion" target="_parent"><img name="ofe0811_r8_c1" src="imagenes_ofe/ofe0811_r8_c1.gif" width="530" height="31" border="0" alt="Promociones en fotodepilación: sesiones, packs y precios cerrados"></a></td><td><img src="imagenes_ofe/spacer.gif" width="1" height="31" border="0" alt=""></td></tr><tr><td><img name="ofe0811_r9_c1" src="imagenes_ofe/ofe0811_r9_c1.gif" width="530" height="68" border="0" alt=""></td><td><img src="imagenes_ofe/spacer.gif" width="1" height="68" border="0" alt=""></td></tr></table>')
   xShow('popup');
} 

function muestra_popup_ofe0810(){
   xWidth ('popup',530 + 0)
   xHeight ('popup',570 + 0 + 20)
   xWidth ('c1',530)
   xHeight ('c1',570)
   xWidth ('cerrarpopup',530 - 4)

   xInnerHtml('c1','<table border="0" cellpadding="0" cellspacing="0" width="530"><tr><td><img src="/imagenes_ofe/spacer.gif" width="530" height="1" border="0" alt=""></td><td><img src="/imagenes_ofe/spacer.gif" width="1" height="1" border="0" alt=""></td></tr><tr><td><img name="ofe0810_r1_c1" src="/imagenes_ofe/ofe0810_r1_c1.gif" width="530" height="111" border="0" alt=""></td><td><img src="/imagenes_ofe/spacer.gif" width="1" height="111" border="0" alt=""></td></tr><tr><td><img name="ofe0810_r2_c1" src="/imagenes_ofe/ofe0810_r2_c1.gif" width="530" height="75" border="0" alt=""></td><td><img src="/imagenes_ofe/spacer.gif" width="1" height="75" border="0" alt=""></td></tr><tr><td><img name="ofe0810_r3_c1" src="/imagenes_ofe/ofe0810_r3_c1.gif" width="530" height="63" border="0" alt=""></td><td><img src="/imagenes_ofe/spacer.gif" width="1" height="63" border="0" alt=""></td></tr><tr><td><a href="/listas/ofertas" target="_parent"><img name="ofe0810_r4_c1" src="/imagenes_ofe/ofe0810_r4_c1.gif" width="530" height="33" border="0" alt="Ofertas vigentes Línea Ideal"></a></td><td><img src="/imagenes_ofe/spacer.gif" width="1" height="33" border="0" alt=""></td></tr><tr><td><img name="ofe0810_r5_c1" src="/imagenes_ofe/ofe0810_r5_c1.gif" width="530" height="95" border="0" alt=""></td><td><img src="/imagenes_ofe/spacer.gif" width="1" height="95" border="0" alt=""></td></tr><tr><td><img name="ofe0810_r6_c1" src="/imagenes_ofe/ofe0810_r6_c1.gif" width="530" height="94" border="0" alt=""></td><td><img src="/imagenes_ofe/spacer.gif" width="1" height="94" border="0" alt=""></td></tr><tr><td><a href="/depilacion" target="_parent"><img name="ofe0810_r7_c1" src="/imagenes_ofe/ofe0810_r7_c1.gif" width="530" height="31" border="0" alt="Promociones en fotodepilación: sesiones, packs y precios cerrados"></a></td><td><img src="/imagenes_ofe/spacer.gif" width="1" height="31" border="0" alt=""></td></tr><tr><td><img name="ofe0810_r8_c1" src="/imagenes_ofe/ofe0810_r8_c1.gif" width="530" height="68" border="0" alt=""></td><td><img src="/imagenes_ofe/spacer.gif" width="1" height="68" border="0" alt=""></td></tr></table>')
   xShow('popup');
} 

function muestra_popup_ofe0807(){
   xWidth ('popup',580 + 0)
   xHeight ('popup',393 + 0 + 20)
   xWidth ('c1',580)
   xHeight ('c1',393)
   xWidth ('cerrarpopup',580 - 4)

   xInnerHtml('c1','<table width="580" border="0" cellpadding="0" cellspacing="0" /><tr><td width="580" height="393" valign="top" align="left"><a href="http://www.lineaideal.es/ofertas.htm" target="_self"><img src="/imagenes_ofe/ofe0807popup.gif" alt="Mes de la rebajas en L&iacute;nea Ideal. Hasta 50% de descuento" longdesc="Mes de la rebajas en Línea Ideal. Hasta 50% de descuento" border="0"></a></td></tr></table>')
   xShow('popup');
} 

function muestra_popup_pushup(){
   xWidth ('popup',460 + 0)
   xHeight ('popup',246 + 0 + 20)
   xWidth ('c1',460)
   xHeight ('c1',246)
   xWidth ('cerrarpopup',460 - 4)

   xInnerHtml('c1','<table width="460" border="0" cellpadding="0" cellspacing="0" background="/imagenes/push_up_g.jpg"><tr><td width="460" height="246" valign="top" align="left"><a href="http://www.lineaideal.es/tienda/push-up-alternativa-no-quirurgica-y-no-invasiva-para-el-aumento-de-los-senos-p-266.html" target="_self"><img src="/imagenes/adquieraAhora.gif" alt="PUSH UP, senos con m&aacute;s volumen sin bistur&iacute;" width="90" height="90" border="0" longdesc="PUSH UP, senos con más volumen sin bisturí"></a></td></tr></table>')
   xShow('popup');
} 

function muestra_popup_malaga_larios(){
   xWidth ('popup',640 + 0)
   xHeight ('popup',500 + 0 + 20)
   xWidth ('c1',640)
   xHeight ('c1',500)
   xWidth ('cerrarpopup',640 - 4)

   xInnerHtml('c1','<table width="640" border="0" cellspacing="0" cellpadding="0"><tr><td><iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.es/maps?f=q&amp;hl=es&amp;geocode=&amp;q=walt+whitman,+3,+malaga,+malaga,+andalucia,+espa%C3%B1a&amp;sll=37.165833,-3.600382&amp;sspn=0.01173,0.019956&amp;ie=UTF8&amp;s=AARTsJpsHEyMykwHHdD-wIRw1Zb8DfuCHg&amp;ll=36.718075,-4.432404&amp;spn=0.008256,0.013733&amp;z=16&amp;iwloc=addr&amp;output=embed"></iframe></td></tr><tr><td height="20" class="tdencabezado">Línea Ideal - Walt Whitman, nº 3 - 2ºA (Edificio Larios Centro) - Telefono para citas: 952 36 98 11</td></tr></table>')
   xShow('popup');
} 

function muestra_popup_malaga_reding(){
   xWidth ('popup',640 + 0)
   xHeight ('popup',500 + 0 + 20)
   xWidth ('c1',640)
   xHeight ('c1',500)
   xWidth ('cerrarpopup',640 - 4)

   xInnerHtml('c1','<table width="640" border="0" cellspacing="0" cellpadding="0"><tr><td><iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.es/maps?f=q&amp;hl=es&amp;geocode=&amp;q=paseo+de+reding,+51,+malaga,+malaga,+andalucia,+espa%C3%B1a&amp;sll=36.71597,-4.433453&amp;sspn=0.0118,0.019956&amp;ie=UTF8&amp;s=AARTsJqD7UMw2vrIvXm5z9KwJPkBQvP8Fg&amp;ll=36.721635,-4.410388&amp;spn=0.008256,0.013733&amp;z=16&amp;iwloc=addr&amp;output=embed"></iframe><br /></td></tr><tr><td height="20" class="tdencabezado">Línea Ideal - Paseo de Reding, nº 51 (Frente a los juzgados) - Telefono para citas: 952 60 60 97</td></tr></table>')
   xShow('popup');
} 

function muestra_popup_granada_puentezuelas(){
   xWidth ('popup',640 + 0)
   xHeight ('popup',500 + 0 + 20)
   xWidth ('c1',640)
   xHeight ('c1',500)
   xWidth ('cerrarpopup',640 - 4)

   xInnerHtml('c1','<table width="640" border="0" cellspacing="0" cellpadding="0"><tr><td><iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.es/maps?f=q&amp;hl=es&amp;geocode=&amp;q=puentezuelas,+3,+18002,+granada,+granada,+andalucia,+espa%C3%B1a&amp;sll=37.392702,-3.527549&amp;sspn=0.374237,0.63858&amp;ie=UTF8&amp;s=AARTsJqJ7M17YQ7yPM_BhxxDehWRCCMR8Q&amp;ll=37.174141,-3.600254&amp;spn=0.004103,0.006866&amp;z=17&amp;iwloc=addr&amp;output=embed"></iframe><br /></td></tr><tr><td height="20" class="tdencabezado">Línea Ideal - Puentezuelas 3 - 1ºA (Junto a ZARA Recogidas) - Telefono para citas: 958·258·826</td></tr></table>')
   xShow('popup');
} 

function muestra_popup_granada_senator(){
   xWidth ('popup',640 + 0)
   xHeight ('popup',500 + 0 + 20)
   xWidth ('c1',640)
   xHeight ('c1',500)
   xWidth ('cerrarpopup',640 - 4)

   xInnerHtml('c1','<table width="640" border="0" cellspacing="0" cellpadding="0"><tr><td><iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.es/maps?f=q&amp;hl=es&amp;geocode=&amp;q=paseo+del+violon,+10,+18006,+granada,+granada,+andalucia,+espa%C3%B1a&amp;sll=37.173098,-3.60078&amp;sspn=0.005865,0.009978&amp;ie=UTF8&amp;s=AARTsJpDwTNIvscaitgg5_VwVhSYbCCaIw&amp;ll=37.167926,-3.599331&amp;spn=0.008207,0.013733&amp;z=16&amp;iwloc=addr&amp;output=embed"></iframe><br /></td></tr><tr><td height="20" class="tdencabezado">Línea Ideal - SENATOR SPA Hotel, Paseo del Violón 10 - Telefono para citas: 958·136·208</td></tr></table>')
   xShow('popup');
} 

function muestra_bono(archivo,ancho,alto){
   xWidth ('bono',ancho + 0)
   xHeight ('bono',alto + 0 + 20)
   xWidth ('c2',ancho)
   xHeight ('c2',alto)
   xWidth ('cerrarpopup2',ancho - 4)

   xInnerHtml('c2','<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="580" height="360" style="background-image: url(/imagenes_web/bonodescuento.gif); background-repeat: no-repeat; background-position: center center;"><div style="position: relative; top: 10px; left: 225px;"><form name="form" action="index.php" method="post"><table border="0" cellpadding="5" cellspacing="0"><tr><td height="120" align="right"></td><td align="left"></td></tr><tr><tr><td align="right">Nombre</td><td align="left"><input type="text" style="width: 200px; border: 1px solid #FFFFFF;" name="name" value=""></td></tr><tr><td align="right">E-mail</td><td align="left"><input type="text" style="width: 200px; border: 1px solid #FFFFFF;" name="email" value=""></td></tr><tr><td align="right">&nbsp;</td><td align="left"><input type="button" style="width: 200px; border: 1px solid #FFFFFF; background-color: #E6E6E6; cursor:pointer" name="submit" value="Imprimir bono" onClick="printOffer(this.form)"></td></tr></table></form><table border="0" cellpadding="5" cellspacing="0"><tr><td height="106" align="left" valign="bottom">* Condiciones generales de esta tarjeta descuento</td></tr></table></div></td></tr></table>')
   xShow('bono');
} 
function cierra_popup(){
   xHide('popup');
}

function popUp(URL) { day = new Date(); id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=no,scrollbars=0,location=0,statusbar=0,status=0,menubar=0,resizable=0,width=600,height=360,left = 140,top = 25');");
}
function anadirFavoritos(URL,TITLE) {
	if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
	window.external.AddFavorite(URL,TITLE);	}
	else { 	var msg = "Añadir a favoritos"; if(navigator.appName == "Netscape") msg += "  (CTRL-D)"; document.write(msg); } } 
/*
JavaScript Image slideshow:
By Website Abstraction (www.wsabstract.com)
Over 200+ free JavaScript here!
*/
var slideimages=new Array()
var slidelinks=new Array()
function slideshowimages(){
	for (i=0;i<slideshowimages.arguments.length;i++){
		slideimages[i]=new Image()
		slideimages[i].src=slideshowimages.arguments[i]
	}
}
var slideimages1=new Array()
var slidelinks1=new Array()
function slideshowimages1(){
	for (i=0;i<slideshowimages1.arguments.length;i++){
		slideimages1[i]=new Image()
		slideimages1[i].src=slideshowimages1.arguments[i]
	}
}
function slideshowlinks(){
	for (i=0;i<slideshowlinks.arguments.length;i++)
		slidelinks[i]=slideshowlinks.arguments[i]
}
function slideshowlinks1(){
	for (i=0;i<slideshowlinks1.arguments.length;i++)
		slidelinks1[i]=slideshowlinks1.arguments[i]
}
function gotoshow(){
if (!window.winslide||winslide.closed)
	winslide=window.open(slidelinks[whichlink])
else
	winslide.location=slidelinks[whichlink]
	winslide.focus()
}
function gotoshow1(){
//if (!window.winslide||winslide.closed)
//	winslide=window.open(slidelinks1[whichlink1])
//else
//	winslide.location=slidelinks1[whichlink1]
	this.location=slidelinks1[whichlink1]
//	winslide.focus()
}
function printWindow() { bV = parseInt(navigator.appVersion); if (bV >= 4) window.print(); }
