<script language="JavaScript" type="text/javascript">
if (screen.height >= 768 && screen.width >= 1024)
{
document.write("<img src='foto.jpg' height='140' width='980' alt=''> ");
}
else
{
if (screen.height == 600 && screen.width == 800)
{
document.write("<img src='foto.jpg' height='109' width='755' alt=''> ");
}
else
{
document.write("<img src='foto.jpg' height='100' width='700' alt=''> ");
}
}
</script>
<script language="JavaScript" type="text/javascript">
if (screen.height >= 768 && screen.width >= 1024)
{
document.write("<img src='foto.jpg' height='140' width='980' alt=''> ");
}
else
{
if (screen.height == 600 && screen.width == 800)
{
document.write("<img src='foto.jpg' height='109' width='755' alt=''> ");
}
else
{
document.write("<img src='foto.jpg' height='100' width='700' alt=''> ");
}
}
</script>