var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-18458114-1']);
_gaq.push(['_trackPageview']);

// Google Analytics
(function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = 'js/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

// Ninja Kick 
(function() {
    var ninjaImg = document.getElementById('ninja-kick');

    function getStyle(el, styleProp)
    {
        var x = document.getElementById(el);
        if (x.currentStyle)
            var y = x.currentStyle[styleProp];
        else if (window.getComputedStyle)
            var y = document.defaultView.getComputedStyle(x, null).getPropertyValue(styleProp);
        return y;
    }

    setTimeout(function () {
        ninjaImg.style.visibility = 'visible';
        ninjaImg.style.top = '5px';
        ninjaImg.style.right = '55%';
        ninjaImg.style.zIndex = '-1';
    }, 3000);
}());
