var masterTrackerId = "UA-19709650-1";
var trackerId = "";

if (location.hostname == "www.homburginvest.com") {
    trackerId = "UA-19709731-1";
} else if (location.hostname == "www.homburg.nl") {
    trackerId = "UA-19709721-1";
} else if (location.hostname == "www.homburg.lt") {
    trackerId = "UA-19710229-1";
} else if (location.hostname == "www.homburgcanada.com") {
    trackerId = "UA-19709928-1";
} else if (location.hostname == "www.homburg.com") {
    trackerId = "UA-19710321-1";
} else if (location.hostname == "www.homburginvestmentpartners.com") {
    trackerId = "UA-19709833-1";
} else if (location.hostname == "www.homburgcharitablefoundation.com") {
    trackerId = "UA-21167455-1";
}

//
// Do not change the rest of this file
// 

// For testing purposes
if (location.hostname == "www.homburg.test.iprofs.nl") {
    masterTrackerId = "UA-19889152-2";
    trackerId = "UA-19885301-4";
} else if (location.hostname == "www.invest.homburg.test.iprofs.nl") {
    masterTrackerId = "UA-19889152-2";
    trackerId = "UA-19885301-5";
}

var _gaq = _gaq || [];
_gaq.push(['_setAccount', trackerId],
          ['_trackPageview']);
_gaq.push(['b._setAccount', masterTrackerId],
          ['b._setAllowHash', false],
          ['b._setDomainName', "none"],
          ['b._trackPageview']);

(function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

