Mission.tasks(2).extend ( {

	setup : function ( cb ) {
		Portal.loadPage ( this, 'cleanup/dev/', null, function(){
			var i = setInterval( function() {
				if ( typeof $.modal != "function" ) return;
				clearInterval( i );
				$( '<div><h2>Loading profiles</h2><a>Please wait...</a></div>' ).modal();
			}, 200 );
			cb();
		} );
	},
	start : function ( cb ) {
		setStoppableTimeout ( this, function ( ) {
			loadConversation ( '/scripts/fake/conversations/cleanup.js', function ( s ) {
				if ( s ) {
					window.audio = window.audio || {};
					window.audio.CLEANUP = new Audio ( window.scripts.CLEANUP, true, function(){ cb(); } );
				}
			} );
		}, 500 );
	}

} );

