
function showThumb(baseURL, image, object)
{
	var frame = $('div#thumbFrame');
	var pos = $(object).offset();
	pos.top -= 80;
	pos.left -= 170;
	if (pos.left < 0)
		pos.left += 180 + $(object).width();
	frame.css('top', pos.top);
	frame.css('left', pos.left);
	$('img#thumb').attr('src', baseURL + '/' + getImageDirectory(image) + '/' + image + '.jpg');
	frame.show();
}

function hideThumb()
{
	$('div#thumbFrame').hide();
	$('img#thumb').attr('src', '/images/transparent.gif');
}
