function draw(avg1Index, avg2Index, course, hole) { p[0]=new Object(); p[0].n='Klass - Ungdom'; p[0].s=new Array(); p[0].s[0]="1,50"; p[0].s[1]="4,50"; p[0].s[2]="7,00"; p[0].s[3]="2,00"; p[0].s[4]="1,00"; p[0].s[5]="2,00"; p[0].s[6]="1,50"; p[0].s[7]="1,50"; p[0].s[8]="2,00"; p[0].s[9]="4,00"; p[0].s[10]="1,50"; p[0].s[11]="3,00"; p[0].s[12]="2,50"; p[0].s[13]="2,00"; p[0].s[14]="2,50"; p[0].s[15]="2,00"; p[0].s[16]="3,00"; p[0].s[17]="5,50"; p[1]=new Object(); p[1].n='Klass - Herrseniorer'; p[1].s=new Array(); p[1].s[0]="1,45"; p[1].s[1]="1,70"; p[1].s[2]="2,05"; p[1].s[3]="1,35"; p[1].s[4]="1,25"; p[1].s[5]="1,55"; p[1].s[6]="1,90"; p[1].s[7]="1,90"; p[1].s[8]="2,05"; p[1].s[9]="1,85"; p[1].s[10]="1,65"; p[1].s[11]="2,15"; p[1].s[12]="1,50"; p[1].s[13]="1,60"; p[1].s[14]="1,70"; p[1].s[15]="1,85"; p[1].s[16]="2,30"; p[1].s[17]="1,90"; p[2]=new Object(); p[2].n='Carl-Johan Ryner'; p[2].i='209'; p[2].s=new Array(); p[2].s[0]="1,00"; p[2].s[1]="1,00"; p[2].s[2]="1,00"; p[2].s[3]="1,00"; p[2].s[4]="1,00"; p[2].s[5]="1,50"; p[2].s[6]="1,50"; p[2].s[7]="1,00"; p[2].s[8]="1,00"; p[2].s[9]="1,00"; p[2].s[10]="1,00"; p[2].s[11]="2,00"; p[2].s[12]="1,00"; p[2].s[13]="1,00"; p[2].s[14]="1,50"; p[2].s[15]="1,00"; p[2].s[16]="2,00"; p[2].s[17]="1,00"; p[3]=new Object(); p[3].n='Fredrik Dahlbäck'; p[3].i='201'; p[3].s=new Array(); p[3].s[0]="1,50"; p[3].s[1]="2,00"; p[3].s[2]="3,00"; p[3].s[3]="1,50"; p[3].s[4]="2,00"; p[3].s[5]="1,50"; p[3].s[6]="3,50"; p[3].s[7]="3,00"; p[3].s[8]="3,50"; p[3].s[9]="2,00"; p[3].s[10]="2,00"; p[3].s[11]="2,50"; p[3].s[12]="2,00"; p[3].s[13]="1,50"; p[3].s[14]="2,00"; p[3].s[15]="2,00"; p[3].s[16]="2,50"; p[3].s[17]="2,00"; p[4]=new Object(); p[4].n='Jacob Gästrin'; p[4].i='101'; p[4].s=new Array(); p[4].s[0]="1,50"; p[4].s[1]="4,50"; p[4].s[2]="7,00"; p[4].s[3]="2,00"; p[4].s[4]="1,00"; p[4].s[5]="2,00"; p[4].s[6]="1,50"; p[4].s[7]="1,50"; p[4].s[8]="2,00"; p[4].s[9]="4,00"; p[4].s[10]="1,50"; p[4].s[11]="3,00"; p[4].s[12]="2,50"; p[4].s[13]="2,00"; p[4].s[14]="2,50"; p[4].s[15]="2,00"; p[4].s[16]="3,00"; p[4].s[17]="5,50"; p[5]=new Object(); p[5].n='Johannes Olanders'; p[5].i='206'; p[5].s=new Array(); p[5].s[0]="1,00"; p[5].s[1]="1,00"; p[5].s[2]="1,50"; p[5].s[3]="1,00"; p[5].s[4]="1,00"; p[5].s[5]="1,00"; p[5].s[6]="1,00"; p[5].s[7]="1,50"; p[5].s[8]="1,50"; p[5].s[9]="1,00"; p[5].s[10]="1,50"; p[5].s[11]="1,50"; p[5].s[12]="1,50"; p[5].s[13]="1,50"; p[5].s[14]="2,00"; p[5].s[15]="2,00"; p[5].s[16]="2,00"; p[5].s[17]="1,50"; p[6]=new Object(); p[6].n='Lars-Olof Andersson'; p[6].i='202'; p[6].s=new Array(); p[6].s[0]="1,00"; p[6].s[1]="2,00"; p[6].s[2]="3,50"; p[6].s[3]="2,00"; p[6].s[4]="1,50"; p[6].s[5]="2,00"; p[6].s[6]="3,50"; p[6].s[7]="2,00"; p[6].s[8]="2,00"; p[6].s[9]="1,50"; p[6].s[10]="2,00"; p[6].s[11]="2,00"; p[6].s[12]="1,50"; p[6].s[13]="3,00"; p[6].s[14]="1,50"; p[6].s[15]="2,00"; p[6].s[16]="3,00"; p[6].s[17]="1,00"; p[7]=new Object(); p[7].n='Mikael Ohldén'; p[7].i='210'; p[7].s=new Array(); p[7].s[0]="2,00"; p[7].s[1]="1,00"; p[7].s[2]="1,00"; p[7].s[3]="1,00"; p[7].s[4]="2,00"; p[7].s[5]="1,00"; p[7].s[6]="2,50"; p[7].s[7]="2,00"; p[7].s[8]="2,50"; p[7].s[9]="1,00"; p[7].s[10]="1,00"; p[7].s[11]="2,50"; p[7].s[12]="1,00"; p[7].s[13]="1,00"; p[7].s[14]="2,50"; p[7].s[15]="1,50"; p[7].s[16]="2,50"; p[7].s[17]="2,00"; p[8]=new Object(); p[8].n='Peter Elfvén'; p[8].i='205'; p[8].s=new Array(); p[8].s[0]="1,50"; p[8].s[1]="1,50"; p[8].s[2]="1,50"; p[8].s[3]="1,50"; p[8].s[4]="1,00"; p[8].s[5]="2,00"; p[8].s[6]="2,50"; p[8].s[7]="2,00"; p[8].s[8]="3,00"; p[8].s[9]="1,50"; p[8].s[10]="2,00"; p[8].s[11]="2,00"; p[8].s[12]="1,00"; p[8].s[13]="1,50"; p[8].s[14]="1,50"; p[8].s[15]="2,50"; p[8].s[16]="2,00"; p[8].s[17]="2,50"; p[9]=new Object(); p[9].n='Stefan Johansson'; p[9].i='203'; p[9].s=new Array(); p[9].s[0]="1,50"; p[9].s[1]="2,00"; p[9].s[2]="4,50"; p[9].s[3]="2,00"; p[9].s[4]="1,00"; p[9].s[5]="2,00"; p[9].s[6]="1,00"; p[9].s[7]="2,00"; p[9].s[8]="2,00"; p[9].s[9]="2,00"; p[9].s[10]="2,50"; p[9].s[11]="2,00"; p[9].s[12]="1,00"; p[9].s[13]="1,00"; p[9].s[14]="1,00"; p[9].s[15]="1,50"; p[9].s[16]="3,00"; p[9].s[17]="4,00"; p[10]=new Object(); p[10].n='Sture Molin'; p[10].i='207'; p[10].s=new Array(); p[10].s[0]="1,00"; p[10].s[1]="1,00"; p[10].s[2]="1,00"; p[10].s[3]="1,00"; p[10].s[4]="1,00"; p[10].s[5]="1,00"; p[10].s[6]="1,00"; p[10].s[7]="1,00"; p[10].s[8]="2,00"; p[10].s[9]="1,50"; p[10].s[10]="2,00"; p[10].s[11]="2,50"; p[10].s[12]="1,50"; p[10].s[13]="2,00"; p[10].s[14]="1,00"; p[10].s[15]="2,00"; p[10].s[16]="1,00"; p[10].s[17]="1,50"; p[11]=new Object(); p[11].n='Sören Oscarsson'; p[11].i='208'; p[11].s=new Array(); p[11].s[0]="3,00"; p[11].s[1]="4,50"; p[11].s[2]="2,50"; p[11].s[3]="1,50"; p[11].s[4]="1,00"; p[11].s[5]="2,00"; p[11].s[6]="1,50"; p[11].s[7]="3,50"; p[11].s[8]="1,50"; p[11].s[9]="5,50"; p[11].s[10]="1,50"; p[11].s[11]="2,00"; p[11].s[12]="3,50"; p[11].s[13]="2,00"; p[11].s[14]="3,00"; p[11].s[15]="2,00"; p[11].s[16]="2,50"; p[11].s[17]="2,00"; p[12]=new Object(); p[12].n='Thomas Damberg'; p[12].i='204'; p[12].s=new Array(); p[12].s[0]="1,00"; p[12].s[1]="1,00"; p[12].s[2]="1,00"; p[12].s[3]="1,00"; p[12].s[4]="1,00"; p[12].s[5]="1,50"; p[12].s[6]="1,00"; p[12].s[7]="1,00"; p[12].s[8]="1,50"; p[12].s[9]="1,50"; p[12].s[10]="1,00"; p[12].s[11]="2,50"; p[12].s[12]="1,00"; p[12].s[13]="1,50"; p[12].s[14]="1,00"; p[12].s[15]="2,00"; p[12].s[16]="2,50"; p[12].s[17]="1,50"; var b=new Array(1); b[0]=new Array(18); b[0][0]=new Array(15); b[0][0][0]=12; b[0][0][1]=10; b[0][0][2]=6; b[0][0][3]=5; b[0][0][4]=2; b[0][0][5]=9; b[0][0][6]=8; b[0][0][7]=4; b[0][0][8]=3; b[0][0][9]=7; b[0][0][10]=11; b[0][0][11]=-1; b[0][0][12]=-1; b[0][0][13]=-1; b[0][0][14]=-1; b[0][1]=new Array(15); b[0][1][0]=12; b[0][1][1]=10; b[0][1][2]=7; b[0][1][3]=5; b[0][1][4]=2; b[0][1][5]=8; b[0][1][6]=9; b[0][1][7]=6; b[0][1][8]=3; b[0][1][9]=11; b[0][1][10]=4; b[0][1][11]=-1; b[0][1][12]=-1; b[0][1][13]=-1; b[0][1][14]=-1; b[0][2]=new Array(15); b[0][2][0]=12; b[0][2][1]=10; b[0][2][2]=7; b[0][2][3]=2; b[0][2][4]=8; b[0][2][5]=5; b[0][2][6]=11; b[0][2][7]=3; b[0][2][8]=6; b[0][2][9]=9; b[0][2][10]=4; b[0][2][11]=-1; b[0][2][12]=-1; b[0][2][13]=-1; b[0][2][14]=-1; b[0][3]=new Array(15); b[0][3][0]=12; b[0][3][1]=10; b[0][3][2]=7; b[0][3][3]=5; b[0][3][4]=2; b[0][3][5]=11; b[0][3][6]=8; b[0][3][7]=3; b[0][3][8]=9; b[0][3][9]=6; b[0][3][10]=4; b[0][3][11]=-1; b[0][3][12]=-1; b[0][3][13]=-1; b[0][3][14]=-1; b[0][4]=new Array(15); b[0][4][0]=12; b[0][4][1]=11; b[0][4][2]=10; b[0][4][3]=9; b[0][4][4]=8; b[0][4][5]=5; b[0][4][6]=4; b[0][4][7]=2; b[0][4][8]=6; b[0][4][9]=7; b[0][4][10]=3; b[0][4][11]=-1; b[0][4][12]=-1; b[0][4][13]=-1; b[0][4][14]=-1; b[0][5]=new Array(15); b[0][5][0]=10; b[0][5][1]=7; b[0][5][2]=5; b[0][5][3]=12; b[0][5][4]=3; b[0][5][5]=2; b[0][5][6]=11; b[0][5][7]=9; b[0][5][8]=8; b[0][5][9]=6; b[0][5][10]=4; b[0][5][11]=-1; b[0][5][12]=-1; b[0][5][13]=-1; b[0][5][14]=-1; b[0][6]=new Array(15); b[0][6][0]=12; b[0][6][1]=10; b[0][6][2]=9; b[0][6][3]=5; b[0][6][4]=11; b[0][6][5]=4; b[0][6][6]=2; b[0][6][7]=8; b[0][6][8]=7; b[0][6][9]=6; b[0][6][10]=3; b[0][6][11]=-1; b[0][6][12]=-1; b[0][6][13]=-1; b[0][6][14]=-1; b[0][7]=new Array(15); b[0][7][0]=12; b[0][7][1]=10; b[0][7][2]=2; b[0][7][3]=5; b[0][7][4]=4; b[0][7][5]=9; b[0][7][6]=8; b[0][7][7]=7; b[0][7][8]=6; b[0][7][9]=3; b[0][7][10]=11; b[0][7][11]=-1; b[0][7][12]=-1; b[0][7][13]=-1; b[0][7][14]=-1; b[0][8]=new Array(15); b[0][8][0]=2; b[0][8][1]=12; b[0][8][2]=11; b[0][8][3]=5; b[0][8][4]=10; b[0][8][5]=9; b[0][8][6]=6; b[0][8][7]=4; b[0][8][8]=7; b[0][8][9]=8; b[0][8][10]=3; b[0][8][11]=-1; b[0][8][12]=-1; b[0][8][13]=-1; b[0][8][14]=-1; b[0][9]=new Array(15); b[0][9][0]=7; b[0][9][1]=5; b[0][9][2]=2; b[0][9][3]=12; b[0][9][4]=10; b[0][9][5]=8; b[0][9][6]=6; b[0][9][7]=9; b[0][9][8]=3; b[0][9][9]=4; b[0][9][10]=11; b[0][9][11]=-1; b[0][9][12]=-1; b[0][9][13]=-1; b[0][9][14]=-1; b[0][10]=new Array(15); b[0][10][0]=12; b[0][10][1]=7; b[0][10][2]=2; b[0][10][3]=11; b[0][10][4]=5; b[0][10][5]=4; b[0][10][6]=10; b[0][10][7]=8; b[0][10][8]=6; b[0][10][9]=3; b[0][10][10]=9; b[0][10][11]=-1; b[0][10][12]=-1; b[0][10][13]=-1; b[0][10][14]=-1; b[0][11]=new Array(15); b[0][11][0]=5; b[0][11][1]=11; b[0][11][2]=9; b[0][11][3]=8; b[0][11][4]=6; b[0][11][5]=2; b[0][11][6]=12; b[0][11][7]=10; b[0][11][8]=7; b[0][11][9]=3; b[0][11][10]=4; b[0][11][11]=-1; b[0][11][12]=-1; b[0][11][13]=-1; b[0][11][14]=-1; b[0][12]=new Array(15); b[0][12][0]=12; b[0][12][1]=9; b[0][12][2]=8; b[0][12][3]=7; b[0][12][4]=2; b[0][12][5]=10; b[0][12][6]=6; b[0][12][7]=5; b[0][12][8]=3; b[0][12][9]=4; b[0][12][10]=11; b[0][12][11]=-1; b[0][12][12]=-1; b[0][12][13]=-1; b[0][12][14]=-1; b[0][13]=new Array(15); b[0][13][0]=9; b[0][13][1]=7; b[0][13][2]=2; b[0][13][3]=12; b[0][13][4]=8; b[0][13][5]=5; b[0][13][6]=3; b[0][13][7]=11; b[0][13][8]=10; b[0][13][9]=4; b[0][13][10]=6; b[0][13][11]=-1; b[0][13][12]=-1; b[0][13][13]=-1; b[0][13][14]=-1; b[0][14]=new Array(15); b[0][14][0]=12; b[0][14][1]=10; b[0][14][2]=9; b[0][14][3]=8; b[0][14][4]=6; b[0][14][5]=2; b[0][14][6]=5; b[0][14][7]=3; b[0][14][8]=7; b[0][14][9]=4; b[0][14][10]=11; b[0][14][11]=-1; b[0][14][12]=-1; b[0][14][13]=-1; b[0][14][14]=-1; b[0][15]=new Array(15); b[0][15][0]=2; b[0][15][1]=9; b[0][15][2]=7; b[0][15][3]=12; b[0][15][4]=11; b[0][15][5]=10; b[0][15][6]=6; b[0][15][7]=5; b[0][15][8]=4; b[0][15][9]=3; b[0][15][10]=8; b[0][15][11]=-1; b[0][15][12]=-1; b[0][15][13]=-1; b[0][15][14]=-1; b[0][16]=new Array(15); b[0][16][0]=10; b[0][16][1]=8; b[0][16][2]=5; b[0][16][3]=2; b[0][16][4]=12; b[0][16][5]=11; b[0][16][6]=7; b[0][16][7]=3; b[0][16][8]=9; b[0][16][9]=6; b[0][16][10]=4; b[0][16][11]=-1; b[0][16][12]=-1; b[0][16][13]=-1; b[0][16][14]=-1; b[0][17]=new Array(15); b[0][17][0]=6; b[0][17][1]=2; b[0][17][2]=12; b[0][17][3]=10; b[0][17][4]=5; b[0][17][5]=11; b[0][17][6]=7; b[0][17][7]=3; b[0][17][8]=8; b[0][17][9]=9; b[0][17][10]=4; b[0][17][11]=-1; b[0][17][12]=-1; b[0][17][13]=-1; b[0][17][14]=-1; var h=new Array(1); h[0]=new Array(18); h[0][0]=new Array(9); h[0][0][0]='Tetror'; h[0][0][1]=15; h[0][0][2]=4; h[0][0][3]=3; h[0][0][4]=0; h[0][0][5]=0; h[0][0][6]=0; h[0][0][7]=0; h[0][0][8]='1,45'; h[0][1]=new Array(9); h[0][1][0]='Kanon'; h[0][1][1]=12; h[0][1][2]=7; h[0][1][3]=1; h[0][1][4]=0; h[0][1][5]=0; h[0][1][6]=0; h[0][1][7]=2; h[0][1][8]='1,95'; h[0][2]=new Array(9); h[0][2][0]='Klack'; h[0][2][1]=10; h[0][2][2]=5; h[0][2][3]=2; h[0][2][4]=1; h[0][2][5]=1; h[0][2][6]=1; h[0][2][7]=2; h[0][2][8]='2,50'; h[0][3]=new Array(9); h[0][3][0]='Brygga'; h[0][3][1]=13; h[0][3][2]=9; h[0][3][3]=0; h[0][3][4]=0; h[0][3][5]=0; h[0][3][6]=0; h[0][3][7]=0; h[0][3][8]='1,41'; h[0][4]=new Array(9); h[0][4][0]='Rakbana'; h[0][4][1]=17; h[0][4][2]=5; h[0][4][3]=0; h[0][4][4]=0; h[0][4][5]=0; h[0][4][6]=0; h[0][4][7]=0; h[0][4][8]='1,23'; h[0][5]=new Array(9); h[0][5][0]='Vinkel'; h[0][5][1]=9; h[0][5][2]=13; h[0][5][3]=0; h[0][5][4]=0; h[0][5][5]=0; h[0][5][6]=0; h[0][5][7]=0; h[0][5][8]='1,59'; h[0][6]=new Array(9); h[0][6][0]='Högplatå'; h[0][6][1]=11; h[0][6][2]=6; h[0][6][3]=3; h[0][6][4]=1; h[0][6][5]=1; h[0][6][6]=0; h[0][6][7]=0; h[0][6][8]='1,86'; h[0][7]=new Array(9); h[0][7][0]='Blixt'; h[0][7][1]=8; h[0][7][2]=11; h[0][7][3]=1; h[0][7][4]=2; h[0][7][5]=0; h[0][7][6]=0; h[0][7][7]=0; h[0][7][8]='1,86'; h[0][8]=new Array(9); h[0][8][0]='Fönster'; h[0][8][1]=8; h[0][8][2]=6; h[0][8][3]=7; h[0][8][4]=1; h[0][8][5]=0; h[0][8][6]=0; h[0][8][7]=0; h[0][8][8]='2,05'; h[0][9]=new Array(9); h[0][9][0]='Snäcka'; h[0][9][1]=12; h[0][9][2]=4; h[0][9][3]=3; h[0][9][4]=0; h[0][9][5]=2; h[0][9][6]=1; h[0][9][7]=0; h[0][9][8]='2,05'; h[0][10]=new Array(9); h[0][10][0]='Liggande koner'; h[0][10][1]=9; h[0][10][2]=12; h[0][10][3]=1; h[0][10][4]=0; h[0][10][5]=0; h[0][10][6]=0; h[0][10][7]=0; h[0][10][8]='1,64'; h[0][11]=new Array(9); h[0][11][0]='Salto'; h[0][11][1]=1; h[0][11][2]=15; h[0][11][3]=6; h[0][11][4]=0; h[0][11][5]=0; h[0][11][6]=0; h[0][11][7]=0; h[0][11][8]='2,23'; h[0][12]=new Array(9); h[0][12][0]='Håv'; h[0][12][1]=14; h[0][12][2]=5; h[0][12][3]=2; h[0][12][4]=0; h[0][12][5]=1; h[0][12][6]=0; h[0][12][7]=0; h[0][12][8]='1,59'; h[0][13]=new Array(9); h[0][13][0]='Labyrint'; h[0][13][1]=11; h[0][13][2]=9; h[0][13][3]=1; h[0][13][4]=1; h[0][13][5]=0; h[0][13][6]=0; h[0][13][7]=0; h[0][13][8]='1,64'; h[0][14]=new Array(9); h[0][14][0]='Passage'; h[0][14][1]=10; h[0][14][2]=9; h[0][14][3]=1; h[0][14][4]=2; h[0][14][5]=0; h[0][14][6]=0; h[0][14][7]=0; h[0][14][8]='1,77'; h[0][15]=new Array(9); h[0][15][0]='Dubbelkulle'; h[0][15][1]=4; h[0][15][2]=17; h[0][15][3]=1; h[0][15][4]=0; h[0][15][5]=0; h[0][15][6]=0; h[0][15][7]=0; h[0][15][8]='1,86'; h[0][16]=new Array(9); h[0][16][0]='Pinnbana'; h[0][16][1]=4; h[0][16][2]=6; h[0][16][3]=12; h[0][16][4]=0; h[0][16][5]=0; h[0][16][6]=0; h[0][16][7]=0; h[0][16][8]='2,36'; h[0][17]=new Array(9); h[0][17][0]='Mittkulle'; h[0][17][1]=10; h[0][17][2]=6; h[0][17][3]=3; h[0][17][4]=0; h[0][17][5]=1; h[0][17][6]=1; h[0][17][7]=1; h[0][17][8]='2,23'; document.close(); document.open(); document.write(""); document.write("
"); document.write(''); document.write("