// remap jQuery to $
(function($){
	
	Cufon.replace('h3', { fontFamily: 'Helvetica Neue', fontWeight: 700 });
	Cufon.replace('.productLeft h1', { fontFamily: 'Helvetica Neue', fontWeight: 100 });
	
	Cufon.replace('.productLeft a.back', {
		fontFamily: 'Helvetica Neue', 
		fontWeight: 400,
		color: '#0281ac',
		hover: {
			color: '#19c5ff'
		}
	});
	
	$('.anim').cycle({ 
		fx:     'fade', 
		speed:  'fast',
		timeout: 3000
	});
	
})(this.jQuery);

	
// usage: log('inside coolFunc',this,arguments);
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
window.log = function(){
  log.history = log.history || [];   // store logs to an array for reference
  log.history.push(arguments);
  if(this.console){
    console.log( Array.prototype.slice.call(arguments) );
  }
};



// catch all document.write() calls
(function(doc){
  var write = doc.write;
  doc.write = function(q){ 
    log('document.write(): ',arguments); 
    if (/docwriteregexwhitelist/.test(q)) write.apply(doc,arguments);  
  };
})(document);



