Mission.tasks(2).extend ( {

	setup : function ( cb ) {
		Portal.loadPage ( this, 'tweetr/', null, cb );
		window.tmi = window.tmi || {};
		window.tmi.SFX = window.tmi.SFX || {};
		window.tmi.SFX.inside_club = new SoundStage.Sound( '/audio/tmi/music_club_interior_phone_effect.mp3', { noSubtitles : true, repeat : true, autoPlay : true } );
		window.tmi.SFX.phone_click = new SoundStage.Sound( '/audio/phone_click.mp3', { noSubtitles : true } );

		$( '<div>' ).attr( 'id', 'ladytron_track' ).appendTo( '#portal_bottom' );
		swfobject.embedSWF( "/flash/streamingplayer/mediaPlayer.swf", "ladytron_track", "0", "0", "9.0.0" );
		i = setInterval( function () {
			var m = swfobject.getObjectById("ladytron_track");
			if ( typeof m == "undefined" ) return;
			clearInterval( i );
			if ( m )
				m.newPlaylist( '/flash/streamingplayer/playlist.xml' );
		}, 500 );
	},
	start : function ( cb ) {
		setStoppableTimeout ( this, function ( ) {
			loadConversation ( '/scripts/tmi/conversations/chatup.js', function ( s ) {
				if ( s ) {
					var audio = new Audio ( window.scripts.CHATUP, true, function ( ) { cb(); } );
				}
			} );
		}, 500 );
	}

} );
