jQuery('html').addClass('js'); <!-- fixes unstlyled content "flash" -->
jQuery(document).ready(function() {
	
	jQuery('.speaker-excerpt').addClass("dontsplit");
	jQuery('#content.cat-18').columnize({columns: 2 });

	jQuery('.linkcat').addClass("dontsplit");
	jQuery('ul#links-page').columnize({columns: 2 });
  	
   	jQuery('#last_word a, .widget_links a, #feed ul li a').filter(function() {
   			return this.hostname && this.hostname !== location.hostname;
   	}).after(' <img src="http://verbatimlectures.com/wordpress/wp-content/plugins/verbatim/images/external_blue.png" alt="external link">' );
   	   	
   	jQuery("a.thickbox").colorbox({
   	  inline:true, 
   	  href: function() {
        var url = jQuery(this).attr('href');
        return url
    	},
      width: 500
	});
	
//	jQuery("a[rel='vidbox']").colorbox({ iframe:true, innerWidth:425, innerHeight:344 })
   	
   	jQuery('#featured_slideshow').cycle({ 
		fx:     'scrollRight',    			
		timeout: 6000, 
		delay:  -2000,
		random:	 1,
		cleartype:	1,
		pause:   1
	});

	var numRand = Math.floor(Math.random()*3);
	
	jQuery('.mosaic').cycle({
		timeout: 		0,
		startingSlide: 	numRand
	});
	
});

