function showImage(filename)
{
    $('#mainimage').html('<img src="/images/' + filename + '" alt="" />');
}