function Ventana()
{
win = window.open(this.URL,this.Titulo,this.settings);
/*if(win.window.focus){win.window.focus();*/
}
function PintaImagen()
{
document.write('<a href="javascript:RecRecomendados.Ventana();">'+'<img src="'+this.Imagen+'" border="0" alt="Webs Recomendados"></a>'); 
}
function Recomendados(Codigo)
{
this.OK=1;
this.win=null;
this.Ancho=700;
this.Altura=450;
this.PosicionI = (screen.width) ? (screen.width-this.Ancho)/2 : 0;
this.PosicionA = (screen.height) ? (screen.height-this.Altura)/2 : 0;
this.Scroll='yes';
this.settings ='height='+this.Altura+',width='+this.Ancho+',top='+this.PosicionA+',left='+this.PosicionI+',scrollbars='+this.Scroll+',status=yes,resizable';
this.Titulo='Recomendados';
this.Imagen='http://recomendados.eol.es/recomendados.gif';
this.URL='http://recomendados.eol.es/asociados/asociado.asp?Id='+Codigo+'&Cambio=si';
this.Ventana=Ventana;
this.PintaImagen=PintaImagen;

	if(Codigo>0)
		this.PintaImagen();

}
RecRecomendados=new Recomendados(Codigo);
