function headesp ()
{



document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#00FF00">')

document.write('<tr><td width="100%">')
// document.write('</td></tr></table>')

foldersback=""
towritepic=""
if(levelNo==1)
towritepic="../"
else
if(levelNo==2)
towritepic="../../"
else
if(levelNo==3)
towritepic="../../../"

foldersback=towritepic

towritepic+="calpe/apartamento/calpe_rock_from_beach.jpg"


towrite ='<div style="width: 100%; height: 120px; background-image: url('
towrite+="'"+towritepic+"'"
towrite+='); background-repeat: repeat; background-attachment: scroll; border: 0px solid black; background-position: 0% 50%">'
towrite+='<div style="color: white; width: 100%; height: 120px; background-image: url('
towrite+="'"+towritepic+"'"
towrite+='); background-repeat: repeat; background-attachment: scroll; filter: alpha(opacity=70); opacity: .70; font-size: 42px; line-height: 3em; text-align: center; margin-bottom: 0px; background-position: 0% 50%">'
towrite+='Alquiler apartamento de Calpe</div></div>'
document.write(towrite)

document.write('')
document.write('')

var backColor = new Array(); // don't change this

// Enter the colors you wish to use.  Follow the
// pattern to use more colors.  The number in the
// brackets [] is the number you will use in the
// function call to pick each color.

backColor[0] = '#FF0000';
backColor[1] = '#00FF00';
backColor[2] = '#0000FF';
backColor[3] = '#FFFFFF';


function changeBG(whichColor){
document.bgColor = backColor[whichColor];
}

// changeBG(1)

function changeBGC(color)
{
document.bgColor = color;
}

// changeBGC('#000099')


// document.write('<body bgcolor="black" text="#FFFFFF">')


document.write('</td></tr></table>')
document.write('')
document.write('')


document.write('<table border="0" width="100%" bgcolor="#FFCC99" cellspacing="4" cellpadding="0">')
document.write('<tr>')
document.write('<td style="color: #FF0000; border-style: solid; border-width: 1" bgcolor="#FFFFDD" bordercolor="#FF0000" align="center"><font size="1"><a href="'+foldersback+'index.htm">Casero</a></font></td>')
document.write('<td style="color: #FF0000; border-style: solid; border-width: 1" bgcolor="#FFFFDD" bordercolor="#FF0000" align="center"><font size="1"><a href="'+foldersback+'calpe/apartamento/alquila/index.htm">Cuadros de Calpe</a></font></td>')
document.write('<td style="color: #FF0000; border-style: solid; border-width: 1" bgcolor="#FFFFDD" bordercolor="#FF0000" align="center"><font size="1"><a href="'+foldersback+'calpe/index.htm">Fotos del apartamento a alquilarse</a></font></td>')
document.write('<td style="color: #FF0000; border-style: solid; border-width: 1" bgcolor="#FFFFDD" bordercolor="#FF0000" align="center"><font size="1"><a href="'+foldersback+'calpe/apartamento/index.htm">Disponibilidad</a></font></td>')
// document.write('</tr></table><table border="0" width="100%" bgcolor="#FFCC99" cellspacing="4" cellpadding="0" height="22"><tr>')
document.write('<td style="color: #FF0000; border-style: solid; border-width: 1" bgcolor="#FFFFDD" bordercolor="#FF0000" align="center" height="18"><font size="1"><a href="http://www.calpe-apartment.com/espanol/map.htm">Mapa de Google</a></font></td>')
document.write('<td style="color: #FF0000; border-style: solid; border-width: 1" bgcolor="#FFFFDD" bordercolor="#FF0000" align="center" height="18"><font size="1"><a href="http://calpe-apartment.com/tinc?key=tm7qkHsO&formname=eapartfriend">Enviar esta página a un amigo</a></font></td>')
document.write('<td style="color: #FF0000; border-style: solid; border-width: 1" bgcolor="#FFFFDD" bordercolor="#FF0000" align="center" height="18"><font size="1"><a href="http://calpe-apartment.com/tinc?key=tm7qkHsO&formname=eapartcontact">Entrarnos en contacto con</a></font></td>')
document.write('</tr></table>')

}

