// JavaScript Document
    actualFileLocation = window.location.href;
    firstParteFilePath = actualFileLocation.substring(0, actualFileLocation.indexOf("/en/") + 1);
    middleParteFilePathPT = "pt/";
    lastParteFilePath = actualFileLocation.substring(actualFileLocation.indexOf("/en/") + 4, actualFileLocation.length);
    filePathPT = firstParteFilePath + middleParteFilePathPT + lastParteFilePath;

    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);
    }


