<!-- 
function Foto(img)
{
	foto1= new Image();
	foto1.src=(img);
	Control(img);
}

function Control(img)
{
	if((foto1.width!=0)&&(foto1.height!=0))
	{
		viewFoto(img);
	}
	else
	{
		func="Control('"+img+"')";
		interval=setTimeout(func,20);
	}
}

function viewFoto(img)
{
	gro=foto1.width+20;
	hoe=foto1.height+25;
	stringF="width="+gro+",height="+hoe;
	wdw=window.open(img,"",stringF);
}
