var levels; var minprice; var qx; var hx; var zx; levels=new Array(); minprice=10; for(var i=1;i<=70;i++){ levels[i]=new Array(); levels[i][0]=0; levels[i][1]=0; } qx=0.555; hx=1; zx=1; levels[1][0]=1; levels[2][0]=0.2; levels[3][0]=0.2; levels[4][0]=0.5; levels[5][0]=0.5; levels[6][0]=0.6; levels[7][0]=0.6; levels[8][0]=0.8; levels[9][0]=0.8; levels[10][0]=0.9; levels[11][0]=0.9; levels[12][0]=1; levels[13][0]=1; levels[14][0]=1; levels[15][0]=1; levels[16][0]=1; levels[17][0]=1; levels[18][0]=1; levels[19][0]=1; levels[20][0]=1; levels[21][0]=1; levels[22][0]=1; levels[23][0]=1; levels[24][0]=1; levels[25][0]=1; levels[26][0]=1; levels[27][0]=1; levels[28][0]=2; levels[29][0]=2; levels[30][0]=3; levels[31][0]=2; levels[32][0]=1.8; levels[33][0]=1.8; levels[34][0]=1.9; levels[35][0]=1.8; levels[36][0]=1.9; levels[37][0]=1.9; levels[38][0]=1.9; levels[39][0]=2; levels[40][0]=2; levels[41][0]=4; levels[42][0]=3; levels[43][0]=3; levels[44][0]=3; levels[45][0]=3; levels[46][0]=4; levels[47][0]=3; levels[48][0]=4; levels[49][0]=4; levels[50][0]=3; levels[51][0]=4; levels[52][0]=3.7; levels[53][0]=3.7; levels[54][0]=3.7; levels[55][0]=3.7; levels[56][0]=3.8; levels[57][0]=3.8; levels[58][0]=3.8; levels[59][0]=3.8; levels[60][0]=3.8; levels[61][0]=6; levels[62][0]=6; levels[63][0]=6; levels[64][0]=6; levels[65][0]=6; levels[66][0]=6; levels[67][0]=6; levels[68][0]=7; levels[69][0]=7; levels[70][0]=7; levels[1][1]=5; levels[2][1]=0.1; levels[3][1]=0.1; levels[4][1]=0.1; levels[5][1]=1; levels[6][1]=1; levels[7][1]=1; levels[8][1]=1; levels[9][1]=1; levels[10][1]=2; levels[11][1]=2; levels[12][1]=2; levels[13][1]=2; levels[14][1]=2; levels[15][1]=2; levels[16][1]=2; levels[17][1]=3; levels[18][1]=3; levels[19][1]=3; levels[20][1]=4; levels[21][1]=4; levels[22][1]=4; levels[23][1]=5; levels[24][1]=5; levels[25][1]=5; levels[26][1]=5; levels[27][1]=6; levels[28][1]=6; levels[29][1]=6; levels[30][1]=6; levels[31][1]=6; levels[32][1]=6; levels[33][1]=6; levels[34][1]=6; levels[35][1]=7; levels[36][1]=7; levels[37][1]=7; levels[38][1]=7; levels[39][1]=7; levels[40][1]=7; levels[41][1]=6; levels[42][1]=6; levels[43][1]=7; levels[44][1]=7; levels[45][1]=8; levels[46][1]=8; levels[47][1]=8; levels[48][1]=8; levels[49][1]=9; levels[50][1]=9; levels[51][1]=9; levels[52][1]=10; levels[53][1]=10; levels[54][1]=10; levels[55][1]=10; levels[56][1]=10; levels[57][1]=10; levels[58][1]=10; levels[59][1]=10; levels[60][1]=10; levels[61][1]=16; levels[62][1]=16; levels[63][1]=16; levels[64][1]=16; levels[65][1]=16; levels[66][1]=16; levels[67][1]=16; levels[68][1]=16; levels[69][1]=16; levels[70][1]=16;