I have tried this code:
<script type="text/javascript">
function image(src, width, height) {
    var output = "<img src='" + src + "' width='" + width + "' height='" + height + "' alt=''>";

			image('http://www.google.co.uk/intl/en_uk/images/logo.gif', 185, 125);

<a href="javascript:void(0)" onclick="image('http://www.google.com/logos/mlk07.gif',185,125)">Render an image.</a>
What I'm wanting is something like this:

The JS above, changes the variable at fileName:variable to play a different video without reloading.
When someone clicks a hyperlink, this is what i want, but simpler just to change source of image.

Any Help Appreachiated.. Thanks!