// JavaScript Document



function Limpiar ( idElemento  )
{

document.getElementById ( idElemento).innerHTML = '';
}

function generarCierre ( idElemento )

{

document.getElementById ( idElemento).innerHTML += '<br><a  href="#" onclick="EsconderElemento(\'mapa_central\');">[Cerrar ventana]</a>';
}


function MostrarAlgo (idElemento, salMes)
{


var miEnlace = new Array(6)

miEnlace[0] = '<iframe width="390" height="240" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.es/maps?f=q&amp;source=s_q&amp;hl=es&amp;geocode=&amp;q=palier+32,+28914+Legan%C3%A9s&amp;aq=&amp;sll=40.396764,-3.713379&amp;sspn=16.598135,26.784668&amp;ie=UTF8&amp;hq=&amp;hnear=Calle+del+Palier,+32,+28914+Legan%C3%A9s,+Comunidad+de+Madrid&amp;t=m&amp;ll=40.314287,-3.767023&amp;spn=0.015707,0.033388&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.es/maps?f=q&amp;source=embed&amp;hl=es&amp;geocode=&amp;q=palier+32,+28914+Legan%C3%A9s&amp;aq=&amp;sll=40.396764,-3.713379&amp;sspn=16.598135,26.784668&amp;ie=UTF8&amp;hq=&amp;hnear=Calle+del+Palier,+32,+28914+Legan%C3%A9s,+Comunidad+de+Madrid&amp;t=m&amp;ll=40.314287,-3.767023&amp;spn=0.015707,0.033388&amp;z=14&amp;iwloc=A" style="color:#0000FF;text-align:left">Ver mapa más grande</a></small>';
miEnlace[1] = '<iframe width="390" height="240" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.es/maps?f=q&amp;source=s_q&amp;hl=es&amp;q=Calle+del+General+Ricardos,+224,+28025+Madrid,+Comunidad+de+Madrid&amp;sll=40.357059,-3.745887&amp;sspn=0.009304,0.016501&amp;ie=UTF8&amp;cd=1&amp;geocode=FUY4aAId3u_G_w&amp;split=0&amp;hq=&amp;hnear=Calle+del+General+Ricardos,+224,+28025+Madrid,+Comunidad+de+Madrid&amp;ll=40.393365,-3.735437&amp;spn=0.015689,0.033388&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.es/maps?f=q&amp;source=embed&amp;hl=es&amp;q=Calle+del+General+Ricardos,+224,+28025+Madrid,+Comunidad+de+Madrid&amp;sll=40.357059,-3.745887&amp;sspn=0.009304,0.016501&amp;ie=UTF8&amp;cd=1&amp;geocode=FUY4aAId3u_G_w&amp;split=0&amp;hq=&amp;hnear=Calle+del+General+Ricardos,+224,+28025+Madrid,+Comunidad+de+Madrid&amp;ll=40.393365,-3.735437&amp;spn=0.015689,0.033388&amp;z=14&amp;iwloc=A" style="color:#0000FF;text-align:left">Ver mapa más grande</a></small>';


miEnlace[2] = '<iframe width="390" height="240" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.es/maps?f=q&amp;source=s_q&amp;hl=es&amp;geocode=&amp;q=Calle+Puerto+de+Pozazal,+18,+vallecas&amp;sll=40.379741,-3.631594&amp;sspn=0.009301,0.016501&amp;ie=UTF8&amp;hq=&amp;hnear=Calle+Puerto+de+Pozazal,+18,+28031+Madrid,+Comunidad+de+Madrid&amp;ll=40.388528,-3.627377&amp;spn=0.01569,0.033388&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.es/maps?f=q&amp;source=embed&amp;hl=es&amp;geocode=&amp;q=Calle+Puerto+de+Pozazal,+18,+vallecas&amp;sll=40.379741,-3.631594&amp;sspn=0.009301,0.016501&amp;ie=UTF8&amp;hq=&amp;hnear=Calle+Puerto+de+Pozazal,+18,+28031+Madrid,+Comunidad+de+Madrid&amp;ll=40.388528,-3.627377&amp;spn=0.01569,0.033388&amp;z=14&amp;iwloc=A" style="color:#0000FF;text-align:left">Ver mapa más grande</a></small>';


miEnlace[3] = '<iframe width="390" height="240" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.es/maps?f=q&amp;source=s_q&amp;hl=es&amp;geocode=&amp;q=Isaac+Newton,+7+Pol%C3%ADgono+SGSE-A+Parcela+n%C2%BA+1&amp;sll=40.38217,-3.635466&amp;sspn=0.004855,0.008776&amp;g=Calle+Puerto+de+Pozazal,+18,+vallecas&amp;ie=UTF8&amp;hq=Isaac+Newton,+7+Pol%C3%ADgono+SGSE-A+Parcela+n%C2%BA+1&amp;hnear=Calle+Puerto+de+Pozazal,+18,+28031+Madrid&amp;cid=14075737165683461439&amp;ll=40.567546,-3.354263&amp;spn=0.125185,0.267105&amp;z=11&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.es/maps?f=q&amp;source=embed&amp;hl=es&amp;geocode=&amp;q=Isaac+Newton,+7+Pol%C3%ADgono+SGSE-A+Parcela+n%C2%BA+1&amp;sll=40.38217,-3.635466&amp;sspn=0.004855,0.008776&amp;g=Calle+Puerto+de+Pozazal,+18,+vallecas&amp;ie=UTF8&amp;hq=Isaac+Newton,+7+Pol%C3%ADgono+SGSE-A+Parcela+n%C2%BA+1&amp;hnear=Calle+Puerto+de+Pozazal,+18,+28031+Madrid&amp;cid=14075737165683461439&amp;ll=40.567546,-3.354263&amp;spn=0.125185,0.267105&amp;z=11&amp;iwloc=A" style="color:#0000FF;text-align:left">Ver mapa más grande</a></small>';


miEnlace[4] = '<iframe width="390" height="240" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.es/maps?f=q&amp;source=s_q&amp;hl=es&amp;geocode=&amp;q=R%C3%ADo+Jarama,+48+toledo&amp;sll=40.556591,-3.383789&amp;sspn=0.567597,1.056061&amp;ie=UTF8&amp;hq=&amp;hnear=Calle+del+R%C3%ADo+Jarama,+48,+45007+Toledo,+Castilla-La+Mancha&amp;ll=39.878522,-3.953962&amp;spn=0.015808,0.033388&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.es/maps?f=q&amp;source=embed&amp;hl=es&amp;geocode=&amp;q=R%C3%ADo+Jarama,+48+toledo&amp;sll=40.556591,-3.383789&amp;sspn=0.567597,1.056061&amp;ie=UTF8&amp;hq=&amp;hnear=Calle+del+R%C3%ADo+Jarama,+48,+45007+Toledo,+Castilla-La+Mancha&amp;ll=39.878522,-3.953962&amp;spn=0.015808,0.033388&amp;z=14&amp;iwloc=A" style="color:#0000FF;text-align:left">Ver mapa más grande</a></small>';


miEnlace[5] = '<iframe width="390" height="240" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.es/maps?f=q&amp;source=s_q&amp;hl=es&amp;geocode=&amp;q=Nitra,+2+guadalajara&amp;sll=39.870009,-3.958039&amp;sspn=0.009371,0.016501&amp;ie=UTF8&amp;hq=&amp;hnear=Calle+de+Nitra,+2,+19004+Guadalajara,+Castilla-La+Mancha&amp;ll=40.661238,-3.17874&amp;spn=0.015626,0.033388&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.es/maps?f=q&amp;source=embed&amp;hl=es&amp;geocode=&amp;q=Nitra,+2+guadalajara&amp;sll=39.870009,-3.958039&amp;sspn=0.009371,0.016501&amp;ie=UTF8&amp;hq=&amp;hnear=Calle+de+Nitra,+2,+19004+Guadalajara,+Castilla-La+Mancha&amp;ll=40.661238,-3.17874&amp;spn=0.015626,0.033388&amp;z=14&amp;iwloc=A" style="color:#0000FF;text-align:left">Ver mapa más grande</a></small>';


miEnlace[6] = '<iframe width="390" height="240" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.es/maps?hl=es&amp;q=calle+eratostenes+18+getafe&amp;ie=UTF8&amp;hq=&amp;hnear=Calle+de+Erat%C3%B3stenes,+18,+28906+Getafe,+Madrid,+Comunidad+de+Madrid&amp;gl=es&amp;ei=vOlXTOLEMKaM4gaUwKTUBg&amp;ved=0CBYQ8gEwAA&amp;ll=40.294977,-3.694239&amp;spn=0.015712,0.033388&amp;z=14&amp;iwloc=A&amp;output=embed"></iframe><br /><small><a href="http://maps.google.es/maps?hl=es&amp;q=calle+eratostenes+18+getafe&amp;ie=UTF8&amp;hq=&amp;hnear=Calle+de+Erat%C3%B3stenes,+18,+28906+Getafe,+Madrid,+Comunidad+de+Madrid&amp;gl=es&amp;ei=vOlXTOLEMKaM4gaUwKTUBg&amp;ved=0CBYQ8gEwAA&amp;ll=40.294977,-3.694239&amp;spn=0.015712,0.033388&amp;z=14&amp;iwloc=A&amp;source=embed" style="color:#0000FF;text-align:left">Ver mapa más grande</a></small>';



Limpiar (idElemento);
document.getElementById ( idElemento).innerHTML = miEnlace[salMes] ;
generarCierre ( idElemento );

}
function MostrarElemento ( idElemento, salMes)

{




Effect.Appear(idElemento, { duration: 1.0 });
MostrarAlgo ( idElemento, salMes );

return false;





}

function EsconderElemento ( idElemento  )

{



Effect.Fade(idElemento, { duration: 1.0 });
Limpiar (idElemento);
return false;





}
