var   flag=false;   
function   DDDDrawImage(ImgD){   
var   image=new   Image();   
image.src=ImgD.src;   
if(image.width>0   &&   image.height>0){   
flag=true;   
if(image.width/image.height>=   180/160){   
if(image.width>180){       
ImgD.width=180;   
ImgD.height=(image.height*180)/image.width;   
}else{   
ImgD.width=image.width;       
ImgD.height=image.height;   
}   
ImgD.alt=image.width+"&iexcl;&Aacute;"+image.height;   
}   
else{   
if(image.height>160){       
ImgD.height=160;   
ImgD.width=(image.width*160)/image.height;              
}else{   
ImgD.width=image.width;       
ImgD.height=image.height;   
}   
ImgD.alt=image.width+"&iexcl;&Aacute;"+image.height;   
}   
}   
}

function   DDDDrawImagen(ImgD){   
var   image=new   Image();   
image.src=ImgD.src;   
if(image.width>0   &&   image.height>0){   
flag=true;   
if(image.width/image.height>=   90/99){   
if(image.width>90){       
ImgD.width=90;   
ImgD.height=(image.height*90)/image.width;   
}else{   
ImgD.width=image.width;       
ImgD.height=image.height;   
}   
ImgD.alt=image.width+"&iexcl;&Aacute;"+image.height;   
}   
else{   
if(image.height>99){       
ImgD.height=99;   
ImgD.width=(image.width*99)/image.height;              
}else{   
ImgD.width=image.width;       
ImgD.height=image.height;   
}   
ImgD.alt=image.width+"&iexcl;&Aacute;"+image.height;   
}   
}   
}