
function ELM(id,doc)
{if(typeof(doc)=='undefined')doc=document;return doc.getElementById(id);}
function DISABLE(id,option)
{var elm=ELM(id);if(elm==null)alert(id);var bDisabled;switch(option)
{case true:bDisabled=true;break;case false:bDisabled=false;break;case'switch':bDisabled=!elm.disabled;break;}
elm.disabled=bDisabled;return bDisabled;}
function DISPLAY(id,option)
{var elm=ELM(id);if(elm==null)alert(id);var bDisplay;switch(option)
{case'1':case true:option='block';bDisplay=true;break;case'0':case false:option='none';bDisplay=false;break;case'block':case'inline':bDisplay=true;break;case'none':bDisplay=false;break;case'switch':if(elm.style.display=='none')
{option='block';bDisplay=true;}
else
{option='none';bDisplay=false;}
break;}
elm.style.display=option;return bDisplay;}
function MOVE(id,x,y)
{elm=ELM(id);elm.style.left=x+'px';elm.style.top=y+'px';}
function POPUP(url,name,size,scrollbars)
{var nLeft=((.8*1024-size.width)/2);var nTop=((.8*screen.height-size.height)/2);var wnd=window.open(url,name,'menubar=0,toolbar=0,location=0,status=1,scrollbars='+(typeof('scrollbars')=='undefined'?0:scrollbars)+',resizable=0,width='+size.width+',height='+size.height+',left='+nLeft+',top='+nTop);wnd.focus();}
function FULLSCREEN(url,name,bFullWidth)
{var config=((bFullWidth)||(screen.width<=1024)?'fullscreen=1':'top=0,left=0,width=1070,height='+screen.height);wnd=window.open('',name,config+',menubar=1,toolbar=1,location=1,status=1,scrollbars=1,resizable=1');wnd.focus();}
function MAXCANVAS()
{top.window.moveTo(0,0);}
function SUBDOMINIO_PHOTOS_IDX(alias_photo)
{return(parseInt(alias_photo.charAt(alias_photo.length-1),16)%4)+1;}
function SEMAFORO(id_control,semaforo,valor_ok,valor_ko)
{ELM('semaforo_'+id_control).className='semaforo_'+(semaforo?'verde':'rojo');valor=(semaforo?(typeof(valor_ok)=='undefined'?'':valor_ok):(typeof(valor_ko)=='undefined'?'':valor_ko));if(valor!='')ELM('semaforo_'+id_control).innerHTML=valor;if(ELM('boton_'+id_control+'_ok')!=null)DISPLAY('boton_'+id_control+'_ok',semaforo?'none':'inline');if(ELM('boton_'+id_control+'_ko')!=null)DISPLAY('boton_'+id_control+'_ko',semaforo?'inline':'none');if(ELM('boton_'+id_control+'_ok_1')!=null)DISPLAY('boton_'+id_control+'_ok_1',semaforo?'none':'inline');if(ELM('boton_'+id_control+'_ko_1')!=null)DISPLAY('boton_'+id_control+'_ko_1',semaforo?'inline':'none');if(ELM('boton_'+id_control+'_ok_2')!=null)DISPLAY('boton_'+id_control+'_ok_2',semaforo?'none':'inline');if(ELM('boton_'+id_control+'_ko_2')!=null)DISPLAY('boton_'+id_control+'_ko_2',semaforo?'inline':'none');}
var bAjaxSemaphore=true;function Ajax(url,params,bDebug,bExternalSemaphore)
{if(typeof(params)=='undefined')params='';if(typeof(bDebug)=='undefined')bDebug=false;if(typeof(bExternalSemaphore)=='undefined')bExternalSemaphore=false;if((!bExternalSemaphore)&&(!bAjaxSemaphore))return;bAjaxSemaphore=false;var xmlhttp=new XMLHttpRequest();xmlhttp.open('POST',url,true);xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded');xmlhttp.send(params);xmlhttp.onreadystatechange=function()
{if(xmlhttp.readyState==4)
{var js=xmlhttp.responseText;if(bDebug)
{document.write(js);}
else
{switch(xmlhttp.status)
{case 0:alert("Error de conexión al servidor. Vuelva a intentarlo.");break;case 200:eval(js);break;default:alert(xmlhttp.status);}}
bAjaxSemaphore=true;}}}
function GetPostParams(id_form)
{var params=[];var grupos=[];var elm_form=ELM(id_form);var i=0;var bSkip;while(i<elm_form.elements.length)
{var elm=elm_form.elements[i];if(elm.id!='')
{var value='';bSkip=false;switch(elm.type)
{case'text':case'hidden':case'textarea':case'select-one':value=elm.value;break;case'checkbox':value=(elm.checked?elm.value:'');break;case'radio':var grupo=eval('elm_form.elements.'+elm.name);if(typeof(grupos[elm.name])!='undefined')
{bSkip=true;break;}
if(typeof(grupo.length)=='undefined')
{value=elm.value;}
else
{for(j=0;j<grupo.length;j++)
{if(grupo[j].checked)
{value=grupo[j].value;break;}}}
grupos[elm.name]=true;break;}
if(!bSkip)
{value=value.replace(/\+/g,"%2B");value=value.replace(/&/g,"%26");params[params.length]=elm.name+'='+value;}}
i++;}
return params.join('&');}
function SetCursorPos(elm,pos)
{if((typeof(document.selection)!='undefined')&&(document.selection))
{var text=elm.value;elm.value='';elm.focus();var str=document.selection.createRange();elm.value=text;str.move('character',pos);str.moveEnd('character',0);str.select();}
else if(typeof(elm.selectionStart!='undefined'))
{elm.setSelectionRange(pos,pos);}
elm.focus();}
function SetCursorPosAtEnd(elm)
{SetCursorPos(elm,elm.value.length);}
function TRIM(s)
{return s.replace(/\b/g,'');}
function STRIP_PX(s)
{return parseInt(new String(s).split('px')[0]);}
function RIGHT(s,n)
{return(s.substring(s.length-Math.min(s.length,n)));}
function EsNumero(valor)
{var regexp=/^\d+$/;return(regexp.test(valor));}
function IsSafari()
{var regexp=/Safari/i;return(regexp.test(navigator.userAgent));}
function SetEventListener(elm,sEvent,fn)
{if(elm==null)
{alert(sEvent+"\n\n"+fn);return;}
if(IsSafari())elm['on'+sEvent]=fn;else if(elm.addEventListener)elm.addEventListener(sEvent,fn,false);else if(elm.attachEvent)elm.attachEvent('on'+sEvent,fn);}
function StopEvent(ev)
{if(window.event)
{window.event.cancelBubble=true;window.event.returnValue=false;}
else
{if(ev.stopPropagation)ev.stopPropagation();if(ev.preventDefault)ev.preventDefault();}}
function DocumentReady()
{var alreadyrunflag=0
if(document.addEventListener)
document.addEventListener("DOMContentLoaded",function(){alreadyrunflag=1;walkmydog();feedcat('grapes')},false)
else if(document.all&&!window.opera){document.write('<script type="text/javascript" id="contentloadtag" defer="defer" src="javascript:void(0)"><\/script>')
var contentloadtag=document.getElementById("contentloadtag")
contentloadtag.onreadystatechange=function(){if(this.readyState=="complete"){alreadyrunflag=1
walkmydog()
feedcat('grapes')}}}
window.onload=function(){setTimeout("if (!alreadyrunflag){walkmydog(); feedcat('grapes')}",0)}}
function GetEventElement(ev)
{return(window.event?window.event.srcElement:ev.target);}
function GetEventLink(ev)
{var elm=GetEventElement(ev);while(elm.nodeName.toLowerCase()!='a')elm=elm.parentNode;return elm;}
function GetScrollX()
{if(typeof(window.pageXOffset)=='number')return window.pageXOffset;else if(document.body&&document.body.scrollLeft)return document.body.scrollLeft;else if(document.documentElement&&document.documentElement.scrollLeft)return document.documentElement.scrollLeft;else return 0;}
function GetScrollY()
{if(typeof(window.pageYOffset)=='number')return window.pageYOffset;else if(document.body&&document.body.scrollTop)return document.body.scrollTop;else if(document.documentElement&&document.documentElement.scrollTop)return document.documentElement.scrollTop;else return 0;}
function GetMouseX(ev)
{if(ev.pageX)return STRIP_PX(ev.pageX);else if(ev.clientX)return STRIP_PX(ev.clientX);else return 0;}
function GetMouseY(ev)
{if(ev.pageY)return STRIP_PX(ev.pageY);else if(ev.clientY)return STRIP_PX(ev.clientY);else return 0;}
function GetEventElmXY(ev)
{if(ev.offsetX)return{'x':ev.offsetX+1,'y':ev.offsetY+1}
var x=0;var y=0;elm=GetEventElement(ev);if(elm.offsetParent)
{do
{x+=elm.offsetLeft;y+=elm.offsetTop;}
while(elm=elm.offsetParent);}
return{'x':ev.pageX-x-1,'y':ev.pageY-y-1}}
function GetPageSize()
{if((window.innerHeight)&&(window.scrollMaxY))
{x=window.innerWidth+window.scrollMaxX;y=window.innerHeight+window.scrollMaxY;}
else if(document.body.scrollHeight>document.body.offsetHeight)
{x=document.body.scrollWidth;y=document.body.scrollHeight;}
else
{x=document.body.offsetWidth+document.body.offsetLeft;y=document.body.offsetHeight+document.body.offsetTop;}
return{'x':x,'y':y}}
function DatePicker(dia,mes,anyo)
{eval("var opts = {formElements: {"+anyo+": 'Y' , "+mes+": 'm' , "+dia+": 'd'} , showWeeks: true , statusFormat: 'l-cc-sp-d-sp-F-sp-Y'}");datePickerController.createDatePicker(opts);}
function str_replace(cadena,cambia_esto,por_esto){return cadena.split(cambia_esto).join(por_esto);}///////////////////////////////////////////////////////////////////////////////////////////

var Espacio =
{
	espacios : [],
	anuncios : [],

	Iniciar : function ()
	{
		for (var id_tipo_espacio = 1 ; id_tipo_espacio < Espacio.espacios.length ; id_tipo_espacio++)
		{
			if (typeof (Espacio.espacios [id_tipo_espacio]) != 'undefined')
			{
				for (var i = 0 ; i < Espacio.espacios [id_tipo_espacio].length ; i++)
				{
					var id_subespacio = [Espacio.espacios [id_tipo_espacio][i].id_subespacio] ;
					
					var elm_subespacio = ELM ('subespacio_' + id_tipo_espacio + '_' + id_subespacio) ;
					if (elm_subespacio != null) SetEventListener (elm_subespacio,'click',Espacio.OnClick) ;
					
					for (var j = 1 ; j < Espacio.anuncios [id_tipo_espacio][id_subespacio].length ; j++)
					{
						Anuncio.Iniciar (id_tipo_espacio,id_subespacio,j) ;
					}
				}
			}
		}
	},
	
	OnClick : function (ev)
	{
		StopEvent (ev) ;
		var elm = GetEventElement (ev) ;
		
		// subespacio_#ID_TIPO_ESPACIO#_#ID_SUBESPACIO#
		var id_partes = elm.id.split ('_') ;
		ELM ('id_subespacio_filtro').value = id_partes [2] ;
		
		Buscador.Buscar (ev) ;
	}
}

var Anuncio =
{
	id_tipo_espacio : '',
	id_subespacio 	: '',
	idx_anuncio			: '',
	
	Iniciar : function (id_tipo_espacio,id_subespacio,idx_anuncio)
	{
		var ad = ELM ('ad_' + id_tipo_espacio + '_' + id_subespacio + '_' + idx_anuncio) ;
		
		SetEventListener (ad,'mouseover',Anuncio.OnMouseOver) ;
		SetEventListener (ad,'mouseout'	,Anuncio.OnMouseOut ) ;
		SetEventListener (ad,'click'		,Anuncio.OnClick	  ) ;
	},
	
	OnMouse : function (ev)
	{
		StopEvent (ev) ;
		var elm = GetEventLink (ev) ;
		
		// ad_#ID_TIPO_ESPACIO#_#ID_SUBESPACIO#_#IDX_ANUNCIO#

		var id_partes = elm.id.split ('_') ;
		
		Anuncio.id_tipo_espacio = id_partes [1] ;
		Anuncio.id_subespacio 	= id_partes [2] ;
		Anuncio.idx_anuncio			= id_partes [3] ;
		
		return elm ;
	},
	
	OnMouseOver : function (ev)
	{
		Anuncio.OnMouse (ev) ;
		elm = ELM ('ad_' + Anuncio.id_tipo_espacio + '_' + Anuncio.id_subespacio + '_' + Anuncio.idx_anuncio + '_titulo') ;
		
		switch (elm.className)
		{
			case 'titulo':				 elm.className = 'titulo_hover' 			 	; break ;
			case 'titulo_grande':	 elm.className = 'titulo_hover_grande' 	; break ; 
			case 'titulo_pequeno': elm.className = 'titulo_hover_pequeno'	; break ;
		}
			
		elm.style.cursor = 'pointer' ;
	},

	OnMouseOut : function (ev)
	{
		Anuncio.OnMouse (ev) ;
		elm = ELM ('ad_' + Anuncio.id_tipo_espacio + '_' + Anuncio.id_subespacio + '_' + Anuncio.idx_anuncio + '_titulo') ;

		switch (elm.className)
		{
			case 'titulo_hover':				 elm.className = 'titulo' 				; break ;
			case 'titulo_hover_grande':	 elm.className = 'titulo_grande'	; break ; 
			case 'titulo_hover_pequeno': elm.className = 'titulo_pequeno' ; break ;
		}
	},

	OnClick : function (ev)
	{
		elm = Anuncio.OnMouse (ev) ;
		var form = ELM ('content') ;
		
		if (typeof (form.id_poblacion) != 'undefined') form.id_poblacion.value = Anuncio.id_subespacio ;
		
		form.action = elm.href ;
		form.method = 'post' ;
		form.target = '_blank' ;		
		form.submit () ;
	}
}

///////////////////////////////////////////////////////////////////////////////////////////

Espacio.espacios[2]=[];Espacio.anuncios[2]=[];Espacio.espacios[2][Espacio.espacios[2].length]={'id_subespacio':'madrid'};Espacio.anuncios[2]['madrid']=[];Espacio.anuncios[2]['madrid'][1]={};Espacio.anuncios[2]['madrid'][2]={};Espacio.anuncios[2]['madrid'][3]={};Espacio.Iniciar();
ELM('desactivada').innerHTML='<span class="titulo">Este anuncio ha caducado o ha sido desactivado.</span><br /><br />En la columna de la derecha te mostramos otras <strong>escorts</strong> que  están disponibles actualmente en Madrid.<br /><br />Si quieres ver el listado completo de <b>escorts</b> haz click <a href="http://www.photoescorts.com/es/es/escorts-madrid" class="bold">aquí</a>.';
document.getElementById('top').innerHTML+='<ul id="compartir"><li><a id="compartir_link" href="mailto:?subject=Te recomiendo esta pagina web&body=Hola,%20mirate%20esta%20pagina%20web:%0A%0Ahttp%3A%2F%2Fwww.photoescorts.com%2Fes%2Fes%2Fescort-4712%0A%0ASaludos."><img src="http://gfx-1.photoescorts.com/pe/gfx/recomendar.gif" alt="Recomendar" />Recomendar</a></li></ul>';
image_small=new Array();image_big=new Array();GoTo=new Array();if(location.pathname.indexOf('/escorts-madrid')!=-1)
{image_small[0]='http://gfx-1.photoescorts.com/pe/gfx/donsexshop_small.swf';image_small[1]='http://gfx-1.photoescorts.com/pe/gfx/tus_mejores_momentos_small.swf';image_small[2]='http://gfx-1.photoescorts.com/pe/gfx/tus_fantasias_realizadas_small.swf';image_big[0]='http://gfx-1.photoescorts.com/pe/es/gfx/donsexshop_big.gif';image_big[1]='http://gfx-1.photoescorts.com/pe/gfx/tus_mejores_momentos_big.jpg';image_big[2]='http://gfx-1.photoescorts.com/pe/gfx/tus_fantasias_realizadas_big.jpg';GoTo[0]='http://www.donsexshop.com/sexshop.asp';GoTo[1]='http://www.photoescorts.com/es/es/banner-3935';GoTo[2]='http://www.photoescorts.com/es/es/banner-3934';}
else if((location.pathname.indexOf('/escorts-barcelona')!=-1)||(location.pathname.indexOf('/escorts-barcelone')!=-1))
{image_small[0]='http://gfx-1.photoescorts.com/pe/gfx/easysex_small.swf';image_small[1]='http://gfx-1.photoescorts.com/pe/gfx/felina_small.swf';image_small[2]='http://gfx-1.photoescorts.com/pe/gfx/vierose_small.swf';image_big[0]='http://gfx-1.photoescorts.com/pe/gfx/easysex_big.jpg';image_big[1]='http://gfx-1.photoescorts.com/pe/gfx/felina_big.jpg';image_big[2]='http://gfx-1.photoescorts.com/pe/gfx/vierose_big.jpg';GoTo[0]='http://www.photoescorts.com/es/es/banner-3937';GoTo[1]='http://www.photoescorts.com/es/es/banner-3936';GoTo[2]='http://www.photoescorts.com/es/es/banner-3938';}
else
{image_small[0]='http://gfx-1.photoescorts.com/pe/gfx/donsexshop_small.swf';image_big[0]='http://gfx-1.photoescorts.com/pe/es/gfx/donsexshop_big.gif';GoTo[0]='http://www.donsexshop.com/sexshop.asp';}
var anzahl=image_small.length;var nr=Math.round((anzahl-1)*Math.random());var Link=GoTo[nr];var Image1=image_small[nr];var Image2=image_big[nr];var esel=new Object();esel.ad_url=escape(Link);esel.small_path='http://gfx-1.photoescorts.com/pe/gfx/cornersmall.swf';esel.small_image=escape(Image1);esel.small_width='100';esel.small_height='100';esel.small_params='ico='+esel.small_image;esel.big_path='http://gfx-1.photoescorts.com/pe/gfx/cornerbig.swf';esel.big_image=escape(Image2);esel.big_width='650';esel.big_height='650';esel.big_params='big='+esel.big_image+'&ad_url='+esel.ad_url;function sizeup987()
{document.getElementById('eselcornerBig').style.top=0;document.getElementById('eselcornerSmall').style.top='-1000px';}
function sizedown987()
{document.getElementById("eselcornerSmall").style.top=0;document.getElementById("eselcornerBig").style.top="-1000px";}
esel.putObjects=function()
{document.write('<div id="eselcornerSmall" style="position:fixed;width:'+esel.small_width+'px;height:'+esel.small_height+'px;z-index:9999;right:0px;top:0px;">');document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');document.write(' id="eselSmallcornerObject" width="'+esel.small_width+'" height="'+esel.small_height+'">');document.write(' <param name="allowScriptAccess" value="always"/> ');document.write(' <param name="movie" value="'+esel.small_path+'?'+esel.small_params+'"/>');document.write(' <param name="wmode" value="transparent" />');document.write(' <param name="quality" value="high" /> ');document.write(' <param name="FlashVars" value="'+esel.small_params+'"/>');document.write('<embed src="'+esel.small_path+'?'+esel.small_params+'" name="eselcornerSmallObject" wmode="transparent" quality="high" width="'+esel.small_width+'" height="'+esel.small_height+'" flashvars="'+esel.small_params+'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');document.write('</object>');document.write('</div>');document.write('<div id="eselcornerBig" style="position:fixed;width:'+esel.big_width+'px;height:'+esel.big_height+'px;z-index:9999;right:0;top:0px;">');document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');document.write(' id="eselcornerBigObject" width="'+esel.big_width+'" height="'+esel.big_height+'" style="float:right">');document.write(' <param name="allowScriptAccess" value="always"/> ');document.write(' <param name="movie" value="'+esel.big_path+'?'+esel.big_params+'"/>');document.write(' <param name="wmode" value="transparent"/>');document.write(' <param name="quality" value="high" /> ');document.write(' <param name="FlashVars" value="'+esel.big_params+'"/>');document.write('<embed src="'+esel.big_path+'?'+esel.big_params+'" id="eselcornerBigEmbed" name="eselcornerBigObject" wmode="transparent" quality="high" width="'+esel.big_width+'" height="'+esel.big_height+'" flashvars="'+esel.big_params+'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');document.write('</object>');document.write('</div>');setTimeout('document.getElementById("eselcornerBig").style.top = "-1000px";',1000);}
esel.putObjects();
var Footer=[];Footer.push('<div id="footer_banners"><a href="http://www.donsexshop.com/sexshop.asp" title="Don Sex Shop .com - El mejor SexShop online de España"><img src="http://gfx-2.photoescorts.com/pe/es/gfx/banner_dss.gif" class="banner_328x100" alt="Don Sex Shop .com - El mejor SexShop online de España" /></a><a href="http://www.desire-vips.com" rel="nofollow"><img src="http://gfx-2.photoescorts.com/pe/gfx/banner_desire_vips.gif" class="banner_600x100" /></a></div><div id="footer_dss"><ul class="footer_dss_items"><li class="footer_dss_item"><div class="photo"><a href="http://www.donsexshop.com/juguetes.asp" title="Juguetes XXX"><img src="http://gfx-2.photoescorts.com/pe/es/gfx/dds_juguetes.jpg" alt="Juguetes XXX" /></a></div></li><li class="footer_dss_item"><div class="photo"><a href="http://www.donsexshop.com/lenceria.asp" title="Lencería"><img src="http://gfx-2.photoescorts.com/pe/es/gfx/dds_lenceria.jpg" alt="Lencería" /></a></div></li><li class="footer_dss_item"><div class="photo"><a href="http://www.donsexshop.com/dvd.asp" title="DVD"><img src="http://gfx-2.photoescorts.com/pe/es/gfx/dds_dvd.jpg" alt="DVD" /></a></div></li><li class="footer_dss_item last"><div class="photo"><a href="http://www.donsexshop.com/preservativos.asp" title="Preservativos"><img src="http://gfx-2.photoescorts.com/pe/es/gfx/dds_preservativos.jpg" alt="Preservativos" /></a></div></li></ul><ul class="footer_dss_items" style="margin-top:0"><li class="footer_dss_item"><div class="photo"><a href="http://www.donsexshop.com/alargamientodepene.asp" title="Alargamiento Pene"><img src="http://gfx-2.photoescorts.com/pe/es/gfx/dds_alargamiento.jpg" alt="Alargamiento Pene" /></a></div></li><li class="footer_dss_item"><div class="photo"><a href="http://www.donsexshop.com/juegos.asp" title="Juegos"><img src="http://gfx-2.photoescorts.com/pe/es/gfx/dds_juegos.jpg" alt="Juegos" /></a></div></li><li class="footer_dss_item"><div class="photo"><a href="http://www.donsexshop.com/aceites.asp" title="Aceites y Lubricantes"><img src="http://gfx-2.photoescorts.com/pe/es/gfx/dds_aceites.jpg" alt="Aceites y Lubricantes" /></a></div></li><li class="footer_dss_item last"><div class="photo"><a href="http://www.donsexshop.com/afrodisiacos.asp" title="Afrodisíacos"><img src="http://gfx-2.photoescorts.com/pe/es/gfx/dds_afrodisiacos.jpg" alt="Afrodisíacos" /></a></div></li></ul></div>');Footer.push('<div id="footer_webs">'+'   <div class="titulo_sec">WEBS DEL GRUPO :</div>'+'     <ul class="lista"'+'       ><li><a href="http://www.photoescorts.com"      title="PhotoEscorts.com"><img id="fw_pees" src="http://gfx-1.photoescorts.com/pe/es/gfx/photoescorts.gif" alt="PhotoEscorts.com"  /></a></li'+'       ><li><a href="http://www.travestispro.com"      title="TravestisPro.com"><img id="fw_tpes" src="http://gfx-1.photoescorts.com/pe/es/gfx/travestispro.gif" alt="TranvestisPro.com" /></a></li'+'       ><li><a href="http://www.donsexshop.com/sexshop.asp" title="DonSexShop.com" ><img id="fw_dss"   src="http://gfx-1.photoescorts.com/pe/es/gfx/donsexshop.gif"   alt="DonSexShop.com"   /></a></li'+'       ></ul>'+' </div>'+' <ul id="footer_toolbar"'+'  ><li><a class="sociedad"   href="http://www.photoescorts.com/es/es/contactar"><span class="copyright">&copy;</span>&nbsp;Photo Interactive Services, S.L.</a></li'+'  ><li><a class="contactar"  href="http://www.photoescorts.com/es/es/contactar">Contactar</a></li'+'  ><li><a class="privacidad" href="http://www.photoescorts.com/es/es/politica-privacidad">Política de Privacidad</a></li'+'  ><li><a class="nota_legal" href="http://www.photoescorts.com/es/es/nota-legal">Nota Legal</a></li'+'  ></ul>');ELM('footer').innerHTML=Footer.join('\n');if(ELM('content'))typeof(ELM('content').parentNode.clientHeight);