<script language="javascript">
var ChTime;
function ChangeImage()
{
ChTime=window.setTimeout("ChangeImage()",20)
var ObjImg=document.getElementById("ChImg");
if(selMode[0].checked)
ObjImg.width++;
else
ObjImg.height++;
}
function StopCHImg()
{
window.clearTimeout(ChTime);
}
</script>
<input name="selMode" type="radio" value="ChWidth" checked>变宽<br>
<input name="selMode" type="radio" value="ChHeight">变高<br>
<img src="
https://bbs.bccn.net/images/smilies/tk/tk05.gif" width=20 height=20 id="ChImg" onmouseover="ChangeImage();" onmouseout="StopCHImg();" >