<div id="compv-navbar">
<a href="#"><img src="image1.png" id="icon1"></a> |
<a href="#"><img src="image2.png" id="icon2"></a> |
<a href="#"><img src="image3.png" id="icon3"></a> |
<span id="view_name"> 2-up</span>
</div>
Assume the names of the new images follow this formula:
name + "-hover". So image1.png = image1-hover.png"
Edit: I don't understand why the downvote happened?