// Función para que no se redimensionen las fotos


function foto(src,width,height,alt) {
	var i = new Image();
	i.src = src;
	if(i.width==0 || i.height==0) {
		document.write("<img src='"+src+"' border=0 alt='"+alt+"' width='"+width+"'>");
	} else {
		if(i.width > i.height) {
			document.write("<img src='"+src+"'  width="+width+"  border=0 alt='"+alt+"'>");
		} else {
			document.write("<img src='"+src+"'  height="+height+"  border=0 alt='"+alt+"'>");
		}
	}
}