ist: [],
				add: function( command ){
					this.commandsList.push( command );
				},
				execute: function(){
					for ( var i = 0, command; command = this.commandsList[ i++ ]; ){
						command.execute();
					}
				}
			}
		};
		var macroCommand = MacroCommand();
		macroCommand.add( closeDoorCommand );
		macroCommand.add( openPcCommand );
		macroCommand.add( openQQCommand );
		macroCommand.execute();


	</script>