function openImageWindow(i, t, w, h) {
    /*
        Receives:
        
        i   =>  The image to show
        t   =>  The window's title
        w   =>  The window's width
        h   =>  The window's height
    */
    
    var oWin = window.open("", "imageWindow", "scrollbars=no,width=" + (w + 15) + ",height=" + (h + 15));

        oWin.document.write('<html>\n<head><title>' + t + '</title>\n');
        oWin.document.write('<link rel="stylesheet" type="text/css" href="css/default.css" />\n');
        oWin.document.write('</head>\n');
        oWin.document.write('<body class="c_BODY_portfolioWindow" onblur="self.close();">\n');
        oWin.document.write('<img src="img/' + i + '" width="' + w + '" height="' + h + '" />');
        oWin.document.write('\n</body>\n</html>');
        oWin.document.close();
        oWin.focus();
}
