// function initMonitoring(){ if( tlInterval!= null ){ window.clearInterval( tlInterval ); tlInterval = null; timelineObj = null; }; var tPanel = Ext.getCmp('main_content'); tPanel.removeAll( true ); tPanel.doLayout(); };