(function($){
	$('#nav ul').supersubs({ 
					minWidth:    12,
					maxWidth:    27,
					extraWidth:  1
				}).superfish({
					animation: {height:'show'},
					delay:     1000
				}).find('ul'); 
	$('.columns article, .columns p').addClass("dontsplit");
	$('.columns').columnize({
		columns:2,
		lastNeverTallest:true
		});
	//$('#hp_panels .span-8, #hp_panels .span-4').equalHeightColumns();
	if ($('#logos').length > 0) {
		$('#logos').cycle({
			fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		});
	}
	if ($('#hp_stories').length > 0) {
		$('#hp_stories').cycle({
			fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		});
	}
	
})(this.jQuery);




window.log = function(){
  log.history = log.history || [];   
  log.history.push(arguments);
  if(this.console){
    console.log( Array.prototype.slice.call(arguments) );
  }
};
(function(doc){
  var write = doc.write;
  doc.write = function(q){ 
    log('document.write(): ',arguments); 
    if (/docwriteregexwhitelist/.test(q)) write.apply(doc,arguments);  
  };
})(document);



