//Document Ready
$(document).ready(function() {
var current = -1;
var my_id = '';
var id_len = -1;
$('#listBox a, #puzzleMap area').mouseenter(function(){
my_id = this.id;
id_len = my_id.length
//store the last 2 characters from the id
current = (my_id).substring( id_len-2, id_len );
//show content associated with this id
$('#img'+current+', #roll'+current).show();
if(this.tagName == 'area')
$('#list'+current).css({color: '#5e151c'});
}).mouseleave( function() {
$('#img'+current+', #roll'+current).hide();
if(this.tagName == 'area')
$('#list'+current).removeAttr('style');
});
});