function openImage(link)
{
    link = link.replace(/-thumb/g, '');
    window.open(link);
}
