<script language="javascript">
function zoomImg(flag)
{
var img=parent.frames['right'].document.getElementById('IMGID');
img.offsetWidth+=10*flag;
img.offsetHeight+=10*flag;
}
</script>
<input type="button" value="+" onclick="zoomImg(1)">
<input type="button" value='-" onclick="zoomImg(-1)">
function zoomImg(flag)
{
var img=parent.frames['right'].document.getElementById('IMGID');
img.offsetWidth+=10*flag;
img.offsetHeight+=10*flag;
}
</script>
<input type="button" value="+" onclick="zoomImg(1)">
<input type="button" value='-" onclick="zoomImg(-1)">
offsetWidth/offsetHeight改为width/height