function poneimg(){var i,x,a=document.alx_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}
function encob(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=encob(n,d.layers[i].document);if(!x && document.getElementById) x=document.getElementById(n); return x;}
function quitaimg(){var i,j=0,x,a=quitaimg.arguments; document.alx_sr=new Array;for(i=0;i<(a.length-2);i+=3)if((x=encob(a[i]))!=null){document.alx_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}
function voc(){var i,p,v,obj,args=voc.arguments;for (i=0; i<(args.length-2); i+=3) if ((obj=encob(args[i]))!=null) { v=args[i+2];if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v;}obj.visibility=v;}}
function newImage(arg) {if (document.images) {rslt = new Image();rslt.src = arg;return rslt;}}
function abreventana(URL,valoress){window.open(URL,0,valoress);}
var anch = screen.width, mod = 0, mod2 = 0, veloc=50, salto, tempor, inicio, ns4up = (document.layers) ? 1 : 0, ie4up = (document.all) ? 1 : 0, nav = new CompNav();
if(navigator.appName!="Microsoft Internet Explorer") {if(screen.height < 1100) {mod = 4;} else {mod = 20}}
if(navigator.appName!="Microsoft Internet Explorer") {mod2 = 6;}
function uno() {
document.getElementById("titulo").style.left=mod2+80; 
/*document.getElementById("telefono").style.left=mod+((anch)-153); 
document.getElementById("horario").style.left=mod+((anch)-205); 
document.getElementById("andalucia").style.left=mod+((anch)-257);*/
}
function CompNav(){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.nav=(this.ie5 || this.ie4 || this.ns4 || this.ns5); return this;}
function CreaObjMov(obj,capa){capa=(!capa) ? '':'document.'+capa+'.'; this.el=nav.dom?document.getElementById(obj):nav.ie4?document.all[obj]:nav.ns4?eval(capa+'document.'+obj):0; this.css=nav.dom?document.getElementById(obj).style:nav.ie4?document.all[obj].style:nav.ns4?eval(capa+'document.'+obj):0; this.scrollHeight=nav.ns4?this.css.document.height:this.el.offsetHeight; this.clipHeight=nav.ns4?this.css.clip.height:this.el.offsetHeight; this.up=subir;this.down=bajar; this.mover=mover; this.x; this.y; this.obj = obj + "Object"; eval(this.obj + "=this"); return this;}
function mover(x,y){this.x=x;this.y=y; this.css.left=this.x; this.css.top=this.y;}
function bajar(desplz){if(this.y>-this.scrollHeight+capa_marco.clipHeight){this.mover(0,this.y-desplz); if(salto) setTimeout(this.obj+".down("+desplz+")",veloc)}}
function subir(desplz){if(this.y<0){this.mover(0,this.y-desplz); if(salto) setTimeout(this.obj+".up("+desplz+")",veloc)}}
function DesplazarCont(veloc){if(inicio){salto=true; if(veloc>0) capa_mover.down(veloc); else capa_mover.up(veloc)}}
function PararVisualizador(){salto=false; if(tempor) clearTimeout(tempor)}
function iniciovisible(){capa_marco=new CreaObjMov('capamarco'); capa_mover=new CreaObjMov('contenido','capamarco'); capa_mover.mover(0,0); capa_marco.css.visibility='visible'; inicio=true;}
var ultima = "ini";
