Hi there dsagrera,
and a warm welcome to these forums. 
Have a look at this example, you should be able to adapt it to your requirements...
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<base href="http://mysite.orange.co.uk/coothead/pop_up_gallery/">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
* {
margin:0;
padding:0;
}
#container {
text-align:center;
}
</style>
<script type="text/javascript">
window.onload = function() {
document.getElementById('pic').onclick=function() {
this.src=(this.src.indexOf('ball_shad.jpg') != -1)?'ball_shad_thumb.jpg':'ball_shad.jpg';
}
}
</script>
</head>
<body>
<div id="container">
<img id="pic" class="thumb" src="ball_shad_thumb.jpg" alt="">
</div>
</body>
</html>
coothead
Bookmarks