function whereAmI() {
    cmsLocation = "";
    staticFilesLocation = "";
    cleanLocation = window.location.href;
    cleanLocation = cleanLocation.replace("http://", "");
    cleanLocation = cleanLocation.substring(0, cleanLocation.indexOf("/"));
    switch(cleanLocation) {
        //DEV
        case "ah-dev.nbcuni.ge.com":
            cmsLocation = "ahcms2-dev.nbcuni.ge.com";
            staticFilesLocation = "202.54.219.122:8080";
        break;
        case "202.54.219.122:8080":
            cmsLocation = "ahcms2-test.nbcuni.com";
            staticFilesLocation = "202.54.219.122:8080";
        break;
        case "localhost":
            cmsLocation = "ahcms2-test.nbcuni.com";
            staticFilesLocation = "202.54.219.122:8080";
        break;
        case "localhost:91":
            cmsLocation = "ahcms2-test.nbcuni.com";
            staticFilesLocation = "USECLPWSL861.nbcuni.com";
        break;
        case "64.210.195.156:91":
            cmsLocation = "ahcms2-test.nbcuni.com";
            staticFilesLocation = "USECLPWSL861.nbcuni.com";
        break;
        // QA
        case "qa-www.accesshollywood.com":
            cmsLocation = "ahcms2-test.nbcuni.com";
            staticFilesLocation = "qa-accesshollywood.nbcunifiles.com";
        break;
        case "qa-preview.accesshollywood.com":
            cmsLocation = "ahcms2-test.nbcuni.com";
            staticFilesLocation = "qa-accesshollywood.nbcunifiles.com";
        break;
        case "qa-preview.accesshollywood.com":
            cmsLocation = "ahcms2-test.nbcuni.com";
            staticFilesLocation = "qa-accesshollywood.nbcunifiles.com";
        break;
        case "video-test.beta.accesshollywood.com":
            cmsLocation = "ahcms2-test.nbcuni.com";
            staticFilesLocation = "qa-accesshollywood.nbcunifiles.com";
        break;
        case "mt4-blogs.nbcuni.com":
            cmsLocation = "ahcms2-test.nbcuni.com";
            staticFilesLocation = "qa-accesshollywood.nbcunifiles.com";
        break;
        case "test.special.accesshollywood.com":
            cmsLocation = "ahcms2-test.nbcuni.com";
            staticFilesLocation = "qa-accesshollywood.nbcunifiles.com";
        break;
        //PROD
        case "origin2-www.accesshollywood.com":
            cmsLocation = "ahcms2.nbcuni.com";
            staticFilesLocation = "accesshollywood.nbcunifiles.com";
        break;
        case "www.accesshollywood.com":
            cmsLocation = "ahcms2.nbcuni.com";
            staticFilesLocation = "accesshollywood.nbcunifiles.com";
        break;
        case "video.accesshollywood.com":
            cmsLocation = "ahcms2.nbcuni.com";
            staticFilesLocation = "accesshollywood.nbcunifiles.com";
        break;
        case "blogs.accesshollywood.com":
            cmsLocation = "ahcms2.nbcuni.com";
            staticFilesLocation = "accesshollywood.nbcunifiles.com";
        break;
    }
    details = {};
    details["currLoc"] = cleanLocation;
    details["cmsLoc"] = cmsLocation;
    details["staticLoc"] = staticFilesLocation;
    return details;
}