(function($){

  $('#carousel').jcarousel({
    wrap: 'circular',
    scroll: 1
  });
  if($.browser.msie)
  {
    $('a').each(function (i) {
      $(this).attr('target', '_blank');
    });
  }
})(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);
