<script type="text/javascript">
         function swap(image) {
             document.getElementById("main").src = image.href;
         }
</script>
