$(document).ready(function(){
	
	// Bildergalerien
	$(".anythingSlider_typ2 > .arrow").click(function () { 
      	reloadCounterPixel();
    });


});



function reloadCounterPixel(){
	
	//console.log('TIER.TV: reloadCounterPixel');
	
	
	// IVW Pixel aktualisieren
	if(document.szmimages){
		//alert(IVW);
		document.szmimages.src = IVW+"?r="+escape(document.referrer)+"&d=" +(Math.random()*100000); 
	}
	
	// Everest Text
	if(document.everesttechPixel){
		//alert(EVERESTTECH);
		document.everesttechPixel.src = EVERESTTECH; 
	}
	
	// Google Anylytics
	$.ajax({
          type: 'GET',
          url: 'http://www.google-analytics.com/ga.js',
          success:
            function() {
              var pageTracker = _gat._getTracker(GA);
              pageTracker._trackPageview();
            },
          dataType: 'script',
          cache: true
	});

}
