rem: childElements.each(function(elem) { $(elem).removeClassName('current_tab'); var div = get_corresponding_content_element($(elem)); if (div) { div.hide() } }); 
add: var executer = new PeriodicalExecuter(function() { executer.stop(); var ajaxRequest = new Ajax.Request(context_path('getProjectBuildOutput.ajax'), { asynchronous:1, method: 'GET', parameters: 'project=' + project_name + '&start=' + start, onComplete: function() { if(active_build_finished()){ return; } executer.registerCallback(); }, onSuccess: function(transport, next_start_as_json) { start = next_start_as_json[0] ajax_periodical_refresh_active_build_output_executer_oncomplete(transport.responseText) } }); }, 2); 
context: 	childElements.each(function(elem) {		$(elem).removeClassName('current_tab');		var div = get_corresponding_content_element($(elem));		if (div) {			div.hide()		}	});
meta: 8469	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8469/c39dd895213224ab698f868511bf1c9db75f0d31/cc.js/clean/reporting/dashboard/webapp/javascripts/cc.js