var _gaq;

function trackGoogleScenario( account, scenario ){
    if( typeof( account ) == "undefined" ) account = "";
    if( typeof( scenario ) == "undefined" ) scenario = "";

    try {
        
        if( account == '' ){
            throw "Empty account";
        }

        _gaq = _gaq || [];
        _gaq.push(['_setAccount', account]);
        _gaq.push(['_setDomainName', "none"]);
        _gaq.push(['_setAllowLinker', true]);
        _gaq.push(['_trackPageview']);
        _gaq.push(['_setVar', scenario]);

        (function() {
            var ga = document.createElement('script');
            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
            ga.setAttribute('async', 'true');
            document.documentElement.firstChild.appendChild(ga);
        })();
        
    }
    catch(err) {}
}