Mmm well here’s one way to do this…
HTML - index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<div>
<a id="imgA" onmouseover="change('imgA');" onmouseout="changeReset();" href="#"><img src="1.gif" alt="" /></a>
<a id="imgB" onmouseover="change('imgB');" onmouseout="changeReset();" href="#"><img src="2.gif" alt="" /></a>
<a id="imgC" onmouseover="change('imgC');" onmouseout="changeReset();" href="#"><img src="3.gif" alt="" /></a>
<a id="imgD" onmouseover="change('imgD');" onmouseout="changeReset();" href="#"><img src="4.gif" alt="" /></a>
<a id="imgE" onmouseover="change('imgE');" onmouseout="changeReset();" href="#"><img src="5.gif" alt="" /></a>
</div>
<div id="target"></div>
</body>
</html>
CSS - style.css
#target { width: 100px; height: 100px; border: 1px solid #aaa; }
.a { background: #000; }
.b { background: #ff0000; }
.c { background: #0000ff; }
.d { background: #ff7800; }
.e { background: #aaa; }
JavaScript - script.js
function change(v) {
var target = document.getElementById("target");
if (v == "imgA") {
target.className = "a";
} else if (v == "imgB") {
target.className = "b";
} else if (v == "imgC") {
target.className = "c";
} else if (v == "imgD") {
target.className = "d";
} else if (v == "imgE") {
target.className = "e";
} else {
target.className = "";
}
}
function changeReset() {
var target = document.getElementById("target");
target.className = "";
}
(JavaScript isn’t really my thang, by the way.) 
OK, so what’s basically going on is in the HTML file, there are 5 images: imgA, imgB, imgC, imgD, and imgE. When a mouse goes over any of those images, #target’s color changes depending on which image you hovered over.
In the JavaScript, there are two functions. The first function, change(), checks the argument it just got passed, and changes #target’s class to one that corresponds with the argument. So…if you sent, say, “imgA,” then it gives #target the class of “a.” The colors change because of the CSS supplied. Each different class: .imgA, .imgB, .imgC, .imgD, and .imgE has a different color.
In your case, you wanted different images to show up in place of #target, so all you have to do is alter the CSS. I didn’t, however, make it so each image changes when you hover over them. If you want to, alter your CSS a bit using things like #imgA:hover { } or something.
It shouldn’t be too complicated, although my random rambling may have confused you (sorry if it did). You can take the code and play around with it a bit.
Hope it helps.