Here is the source code:
<SCRIPT LANGUAGE="JavaScript">
 
current_overID = "";
last_overID = "";
 
function item (img_name,width,height)
{
 
img_prefix = img_name;
this.slide_img = new Image (width,height);
this.slide_img.src = img_prefix + ".gif";
}
 
function new_item (img_name,width,height)
{
 
item [img_name] = new item (img_name,width,height);
}
 
function mouseover (itemID)
{
current_overID = itemID;
if (current_overID != last_overID) {
document.jrcmap.src = item [current_overID].slide_img.src;
}
}
 
new_item ("lipsv4",210,141);
new_item ("truckin",210,141);
add all images here...etc.
 
// -->
</SCRIPT>
|