 
 (function($){

// Shuffle function from: http://james.padolsey.com/javascript/shuffling-the-dom/
    
$.fn.shuffle = function() {

        var allElems = this.get(),
            getRandom = function(max) {
                return Math.floor(Math.random() * max);
            },
            shuffled = $.map(allElems, function(){
                var random = getRandom(allElems.length),
                    randEl = $(allElems[random]).clone(true)[0];
                allElems.splice(random, 1);
                return randEl;
            });
        
        this.each(function(i){
            $(this).replaceWith($(shuffled[i]));
        });
        
        return $(shuffled);
    };
})(jQuery);
 
 
 $(document).ready(function(){
   
/* - - - - Shuffel the DOM init - - - -  */
  		$('.adsSpot li').shuffle();
		//$(this).load(Cufon.refresh('.headerV2'));
		$('.adsSpot li').addClass('show');

		$(".pics").colorbox();
		$(".ajax").colorbox();
		
		Cufon.set('fontFamily', 'Rockwell');
		Cufon.replace('h1')('h2',{hover: true})('.greyTxt')('.redTxt')('h3')('h4');
		
		Cufon.set('fontFamily', 'Rockwell');
		Cufon.replace('h2');
		
  });


