// These are the strings to print
var gnarl_strings = new Array(
        'The Empire is pleased to announce the {DEATH} of the notorious rebel {NAME}, who {DAY} days ago was {ADJ2} {DTYPE} by {BG}.  This incident occurred in {PLACE} {LOC}.  The deceased was reported to have shouted "{LASTWORDS}" just before expiring.  {NAME} was reportedly accompanied by {ALLY} who fled the scene.  To celebrate this important victory, {LEADER} will {CELEBRATION}.'
);

// These are the word classes
var gnarl_replace = new Array();
gnarl_replace[ 'DEATH' ] = new Array(
	'death',
	'demise',
	'expiration',
	'extermination',
	'destruction',
	'termination',
	'annihilation',
	'eradication'
);

gnarl_replace[ 'DAY' ] = new Array(
	'2',
	'3',
	'4',
	'5',
	'6',
	'7',
	'8',
	'9',
	'10'
);

gnarl_replace[ 'ADJ2' ] = new Array(
	'brutally',
	'savagely',
	'callously',
	'viciously',
	'helplessly',
	'ruthlessly',
	'completely',
	'maliciously',
	'absolutely',
	'murderously'
);

gnarl_replace[ 'DTYPE' ] = new Array(
	'blasted',
	'vaporized',
	'frozen in carbonite',
	'blown from the sky',
	'dismembered with a lightsaber',
	'killed in a lightsaber duel',
	'trampled with an AT-AT',
	'shot with a blaster at point blank range',
	'shot down in a fighter',
	'blown to smithereens',
	'choked to death with the Force',
	'disintegrated with a thermal detonator',
	'cut in half',
	'crushed in a trash compactor',
	'forced to crash on a speederbike',
	'swayed to the Dark Side'
);

gnarl_replace[ 'BG' ] = new Array(
	'Darth Vader',
	'Darth Maul',
	'Darth Sidius',
	'Darth Tyranus',
	'General Grievous',
	'Prince Xizor',
	'Darth Malak',
	'Asajj Ventress',
	'Emperor Palpatine',
	'a stormtrooper',
	'a squad of stormtroopers',
	'a snow stormtrooper',
	'a scout trooper',
	'a probe droid',
	'an assassin droid',
	'IG-88',
	'Boba Fett',
	'Janga Fett',
	'Greedo',
	'Bossk',
	'Dengar',
	'an anonymous bounty hunter',
	'an anonymous Sith Lord',
	'a Rancor',
	'a tusken raider',
	'Jabba the Hutt',
	'a Sith apprentice',
	'the Trade Federation',
	'a battle droid'
);

gnarl_replace[ 'PLACE' ] = new Array(
	'a cantina',
	'a backwater spaceport',
	'an Imperial detention center',
	'a secret rebel base',
	'a smuggler\'s hideout',
	'a moisture farm',
	'an Imperial outpost',
	'a Hutt palace',
	'a spaceport',
	'a shipyard',
	'an Imperial shipyard',
	'a rebel outpost',
	'an Imperial munitions dump',
	'a stinky swamp',
	'an arid desert',
	'a small hut'
);

gnarl_replace[ 'LOC' ] = new Array(
	'on the planet Tatooine',
	'on the third moon of Endor',
	'on the planet Hoth',
	'on the planet Coruscant',
	'on the planet Dagoba',
	'on the planet Alderaan',
	'on the planet Dantooine',
	'in Mos Eisley',
	'in the Spice Mines of Kessel',
	'on the planet Mon Calamari',
	'on the planet Telos',
	'on the planet Onderon',
	'on the planet Yavin',
	'on the planet Naboo',
	'on the planet Bespin'
);

gnarl_replace[ 'LASTWORDS' ] = new Array(
	'I\'ve got a bad feeling about this!',
	'I\'m your father!',
	'Quick!  Make the jump to hyperspace!',
	'I better use the Force!',
	'This one\'s for Jar-Jar!',
	'I\'m coming, Ben!',
	'Yoda lives!',
	'I\'ll be back in the sequel!',
	'Where\'s the Force when you need it?!',
	'Let go of your anger!',
	'The secret rebel base is on...!',
	'Let\'s blow this thing and go home!',
	'That\'s what I get for using the Force!',
	'Jub jub!',
	'That was no laserblast - something hit us.',
	'Easy, girl. You smell something?',
	'I just lost my starboard engine. Get set for your attack run!',
	'No! It\'s o.k., I got it!',
	'Let\'s get out of here!',
	'I just made a deal that will keep the Empire out of here forever.',
	'Tell that slime worm ridden piece of filth he\'ll get no such pleasure from us!',
	'That doesn\'t sound so bad...',
	'Oh, yeah? Watch this!',
	'I don\'t know... fly casual.',
	'Prepare to make the jump to light speed!',
	'Help me Obi-Wan Kenobi... you\'re my only hope.',
	'I hope the old man got that tractor beam out of commission or this is gonna be a real short trip!',
	'One thing\'s for sure - we\'re all gonna be a lot thinner!',
	'If you strike me down, I will become more powerful than you can ever imagine.'
	
);

gnarl_replace[ 'ALLY' ] = new Array(
	'some kid from Tatooine',
	'a young padawan',
	'a roguish smuggler',
	'a large wookie',
	'an annoying Gungan',
	'a beat-up astromech droid',
	'a chatty protocol droid',
	'an elderly reclusive uncle',
	'several Ewoks',
	'several jedi',
	'a bearded old jedi',
	'a Mon Calamari captain',
	'an underage princess in a white exercise suit',
	'a woman with two danishes on the side of her head',
	'a bearded jedi',
	'a little green jedi'
);

gnarl_replace[ 'LEADER' ] = new Array(
	'Darth Vader',
	'the Emperor'
);

gnarl_replace[ 'CELEBRATION' ] = new Array(
	'sing the imperial anthem',
	'throw a parade',
	'destroy a small planet',
	'put a new coat of paint on the Death Star',
	'feed someone to something',
	'take the Death Star for a pleasure cruise',
	'torture some people with an interrogation droid',
	'use the Force to levitate a taun-taun',
	'declare a new Imperial holiday called "We Killed the Rebel Day"',
	'redecorate his office',
	'take a day off for golf with the admirals',
	'declare himself the baddest dude in the galaxy',
	'grin an evil grin and make a sinister nod'
);
