function portfolioWindow(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("", "portfolio", "scrollbars=no,width=" + (w) + ",height=" + (h));

        oWin.document.write('<html>\n<head><title>' + t + '</title>\n');
        oWin.document.write('<link rel="stylesheet" type="text/css" href="css/styles.css" />\n');
        oWin.document.write('</head>\n');
        oWin.document.write('<body class="c_BODY_portfolioWindow" onblur="self.close();">\n');
        oWin.document.write('<img src="' + i + '" width="' + w + '" height="' + h + '" />');
        oWin.document.write('\n</body>\n</html>');
        oWin.document.close();
        oWin.focus();
}

