window.addEvent('domready', function() {
	$('game_archive_form').addEvent('submit', function(e) {
		new Event(e).stop();

		$('game_archive_save').value = 'Gemmer ...';

		/**
		 * send takes care of encoding and returns the Ajax instance.
		 * onComplete removes the spinner from the log.
		 */
		this.set('send', {
			onComplete: function() {
				$('game_archive_save').value = 'Gemt - gem igen';
			}
		})
		this.send();
	});
});
