// Get account number based on environment
function _getTPAccount(segment) {
    // PRODUCTION
    var acctno = "UA-4535902-";
    if (typeof(location.hostname) == "string") {
        var hostname = location.hostname;
        if (typeof(hostname.toLowerCase) == "function") {
            hostname = hostname.toLowerCase();
            if (!(hostname == "finecooking.com" || hostname == "www.finecooking.com")) {
                // TESTING
                acctno = "UA-4680151-";
            }
        }
    }
    if (typeof(segment) == "undefined") {
        segment = 1;
    }
    return acctno + segment;
}


var pageTracker_rollup = _gat._getTracker(_getTPAccount(1));
pageTracker_rollup._initData();
pageTracker_rollup._trackPageview("/finecooking" + window.location.pathname + window.location.search);

var pageTracker_site  = _gat._getTracker(_getTPAccount(5));
pageTracker_site._initData();
pageTracker_site._trackPageview("/finecooking" + window.location.pathname + window.location.search);

