$("#show_more_course_activities").replaceWith("<%= escape_javascript( render :partial =>  'courses/course_activity',:locals => {:course_activities => @course_activities, :page => @page,:type => @type} )%>");
