crazygangster77,
Вариант...
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8" />
<style type="text/css">
.hover{
display: block;
}
img{
display: none;
}
</style>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script>
$(function(){
$('a[id ^= s]').hover(function(){
$('#img1').toggleClass('hover')
});
});
</script>
</head>
<body>
<a href="1.html" id="s1">Чебурашка</a>
<a href="2.html" id="s2">Гена</a><br>
<img id="img1" src="http://javascript.ru/forum/images/smilies/victory.gif" alt="" >
</body>
</html>