mancano dei punti e virgola

codice:
function lentep() {
alert(document.img.width);
document.img.height=document.img.height*2;
}

function lentem() {
document.img.width=document.img.width/2;
document.img.height=document.img.height/2;
}