/**
 * 
 */
function updatePreview(url, description,width,height)
{
    var caption = document.getElementById('image-caption');
    caption.innerHTML = "&nbsp;" + description;

    var preview = document.getElementById('image-preview');
    preview.innerHTML = "<img src=\"" + url + "\" width=\"" + width + "\" height=\"" + height + "\" class=\"preview\" />";
}

