// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
jQuery(document).ready(function(){
 
  	// Select all - 
		$("a.auto-load").click( function() {
            $("#video-" + $(this).attr('rel')).show().load($(this).attr('href'));
            return false;
        });
  
});