
// jquery plugins

(function () {


$.fn.nexTrackGoogleAnalyticsUrl = function (url) {

    if(window.pageTracker) { // track url with google
        pageTracker._trackPageview(url);
        // console.log('tracking: ' + url);
    // } else {
    //     console.log('Google Page Tracker not installed') 
    };

};


})(jQuery);


$(document).ready(function () {
    // console.log(window.location.hash);
    
});




// provide indexOf propertie in ie
// http://soledadpenades.com/2007/05/17/arrayindexof-in-internet-explorer/
if(!Array.indexOf){
    Array.prototype.indexOf = function(obj){
        for(var i=0; i<this.length; i++){
            if(this[i]==obj){
                return i;
            }
        }
        return -1;
    }
}