// Juggle Juggle Revolution
// Written by Jon Relf 05/12/2003
// http://www.twjc.co.uk

var catchwith = new Array()
catchwith[0] = "left hand ";
catchwith[1] = "right hand ";

var catchwithscore = new Array()
catchwithscore[0] = 1;
catchwithscore[1] = 1;

var throwfrom = new Array()
throwfrom[0] ="";
throwfrom[1] ="";
throwfrom[2] ="";
throwfrom[3] ="under the opposite arm ";
throwfrom[4] ="under the opposite arm ";
throwfrom[5] ="under the opposite arm ";
throwfrom[6] ="under the opposite arm ";
throwfrom[7] ="under the opposite arm ";
throwfrom[8] ="under the left leg ";
throwfrom[9] ="under the right leg ";
throwfrom[10] ="under the left leg ";
throwfrom[11] ="under the right leg ";
throwfrom[12] ="under the right leg ";
throwfrom[13] ="under the left leg ";
throwfrom[14] ="under the right leg ";
throwfrom[15] ="under the left leg ";
throwfrom[16] ="behind the back over the left shoulder ";
throwfrom[17] ="behind the back over the right shoulder ";
throwfrom[18] ="behind the back over the left shoulder ";
throwfrom[19] ="behind the back over the right shoulder ";
throwfrom[20] ="behind the back over the right shoulder ";
throwfrom[21] ="behind the back over the left shoulder ";
throwfrom[22] ="behind the back over the right shoulder ";
throwfrom[23] ="behind the back over the left shoulder ";
throwfrom[24] ="behind the back under the opposite arm ";
throwfrom[25] ="behind the back under the opposite arm ";
throwfrom[26] ="behind the back under the opposite arm ";

var throwfromscore = new Array()
throwfromscore[0] = 0;
throwfromscore[1] = 0;
throwfromscore[2] = 0;
throwfromscore[3] = 1;
throwfromscore[4] = 1;
throwfromscore[5] = 1;
throwfromscore[6] = 1;
throwfromscore[7] = 1;
throwfromscore[8] = 2;
throwfromscore[9] = 2;
throwfromscore[10] = 2;
throwfromscore[11] = 2;
throwfromscore[12] = 2;
throwfromscore[13] = 2;
throwfromscore[14] = 2;
throwfromscore[15] = 2;
throwfromscore[16] = 3;
throwfromscore[17] = 3;
throwfromscore[18] = 3;
throwfromscore[19] = 3;
throwfromscore[20] = 3;
throwfromscore[21] = 3;
throwfromscore[22] = 3;
throwfromscore[23] = 3;
throwfromscore[24] = 4;
throwfromscore[25] = 4;
throwfromscore[26] = 4;


var catchposition = new Array()
catchposition[0] ="";
catchposition[1] ="";
catchposition[2] ="";
catchposition[3] ="under the opposite arm";
catchposition[4] ="under the opposite arm";
catchposition[5] ="under the opposite arm";
catchposition[6] ="below knee height";
catchposition[7] ="below knee height";
catchposition[8] ="below knee height";
catchposition[9] ="under the left leg";
catchposition[10] ="under the right leg";
catchposition[11] ="under the left leg";
catchposition[12] ="under the right leg";
catchposition[13] ="under the left leg";
catchposition[14] ="under the right leg";
catchposition[15] ="in a fork";
catchposition[16] ="in a fork";
catchposition[17] ="in a fork";
catchposition[18] ="with a penguin catch";
catchposition[19] ="with a penguin catch";
catchposition[20] ="with a penguin catch";
catchposition[21] ="behind the back";
catchposition[22] ="behind the back";
catchposition[23] ="behind the back";
catchposition[24] ="behind the back under the opposite arm";
catchposition[25] ="behind the back under the opposite arm";
catchposition[26] ="behind the head";


var catchpositionscore = new Array()
catchpositionscore[0] = 0;
catchpositionscore[1] = 0;
catchpositionscore[2] = 0;
catchpositionscore[3] = 1;
catchpositionscore[4] = 1;
catchpositionscore[5] = 1;
catchpositionscore[6] = 1;
catchpositionscore[7] = 1;
catchpositionscore[8] = 1;
catchpositionscore[9] = 2;
catchpositionscore[10] = 2;
catchpositionscore[11] = 2;
catchpositionscore[12] = 2;
catchpositionscore[13] = 2;
catchpositionscore[14] = 2;
catchpositionscore[15] = 2;
catchpositionscore[16] = 2;
catchpositionscore[17] = 2;
catchpositionscore[18] = 2;
catchpositionscore[19] = 2;
catchpositionscore[20] = 2;
catchpositionscore[21] = 4;
catchpositionscore[22] = 4;
catchpositionscore[23] = 4;
catchpositionscore[24] = 5;
catchpositionscore[25] = 5;
catchpositionscore[26] = 5;

var move = new Array()
move[0]="";
move[1]="";
move[2]="";
move[3]="";
move[4]="";
move[5]="";
move[6]="";
move[7]="";
move[8]="go down on one knee";
move[9]="";
move[10]="";
move[11]="";
move[12]="";
move[13]="";
move[14]="";
move[15]="";
move[16]="";
move[17]="do a half turn";
move[18]="";
move[19]="";
move[20]="";
move[21]="";
move[22]="";
move[23]="";
move[24]="";
move[25]="";
move[26]="do a pirouette";

var movescore = new Array()
movescore[0]= 0;
movescore[1]= 0;
movescore[2]= 0;
movescore[3]= 0;
movescore[4]= 0;
movescore[5]= 0;
movescore[6]= 0;
movescore[7]= 0;
movescore[8]= 4;
movescore[9]= 0;
movescore[10]= 0;
movescore[11]= 0;
movescore[12]= 0;
movescore[13]= 0;
movescore[14]= 0;
movescore[15]= 0;
movescore[16]= 0;
movescore[17]= 8;
movescore[18]= 0;
movescore[19]= 0;
movescore[20]= 0;
movescore[21]= 0;
movescore[22]= 0;
movescore[23]= 0;
movescore[24]= 0;
movescore[25]= 0;
movescore[26]= 12;

var whichball = new Array()
whichball[0] = "one ball ";
whichball[1] = "both balls ";

var whichballscore = new Array()
whichballscore[0] = 0;
whichballscore[1] = 3;