<script type="text/javascript">
document.getElementById("compman").hspace="50"
document.getElementById("compman").vspace="50"
<img id="compman" src="/img/eg_compman.gif" alt="Computerman" align="right" />
<p>Some text. Some text. Some text. Some text.</p>
<input type="button" onclick="setSpace()" value="Set hspace and vspace">