<html>
<head>
<script>
function changeSize()
{
document.getElementById("compman").height="250";
document.getElementById("compman").width="300";
}
</script>
</head>
<body>
<img id="compman" src="/demo/compman.gif" width="107" height="98">
<br><br>
<input type="button" onclick="changeSize()" value="Change size of image">
</body>
</html>