// JavaScript Document
    function openWindow(url, w, h) {

        var w2 = (screen.width - w) / 2;
        var h2 = (screen.height - h) / 2;
        var windowprops = "width=" + w + ",height=" + h + ",left = " + w2 + ",top = " + h2;
        popup = window.open(url, 'remote', windowprops);
    }
    function spawnWindow(URL, Name, features) {
        window.open(URL, Name, features);
    }

    actualFileLocation = window.location.href;
    firstParteFilePath = actualFileLocation.substring(0, actualFileLocation.indexOf("/pt/") + 1);
    middleParteFilePathEN = "en/";
    lastParteFilePath = actualFileLocation.substring(actualFileLocation.indexOf("/pt/") + 4, actualFileLocation.length);
    filePathEN = firstParteFilePath + middleParteFilePathEN + lastParteFilePath;
