function Play649()
	{
		var length = 6;
		var numbers = new Array();
								
		for( i=0; i < length; i++){ 
			var add = true;
			var numRand = Math.floor(Math.random()*49)+1; 
			if(i>0)
			{
				for( j=0; j < i; j++){					
					if(numbers[j]==numRand)
					{
						add=false;				
					}				
				}
			}
						
			if(add){				
				numbers[i] = numRand;
			}
			else
			{
				i--;
			}
		} 
		
		numbers.sort(sortNumber);
		
		
		$("#n1").html(numbers[0]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#n2").html(numbers[1]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#n3").html(numbers[2]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#n4").html(numbers[3]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#n5").html(numbers[4]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#n6").html(numbers[5]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		
		$("#bs").stop().css("background-color", "#333333")
		.animate({ backgroundColor: "#cccccc"}, 500);
	}
	
	function Play654()
	{
		var length = 6;
		var numbers = new Array();
								
		for( i=0; i < length; i++){ 
			var add = true;
			var numRand = Math.floor(Math.random()*54)+1; 
			if(i>0)
			{
				for( j=0; j < i; j++){					
					if(numbers[j]==numRand)
					{
						add=false;				
					}				
				}
			}
						
			if(add){				
				numbers[i] = numRand;
			}
			else
			{
				i--;
			}
		} 
		
		numbers.sort(sortNumber);
		
		
		$("#sn1").html(numbers[0]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#sn2").html(numbers[1]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#sn3").html(numbers[2]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#sn4").html(numbers[3]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#sn5").html(numbers[4]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#sn6").html(numbers[5]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		
		$("#bss").stop().css("background-color", "#333333")
		.animate({ backgroundColor: "#cccccc"}, 500);
	}
	
	function Play534114()
	{
		var length = 5;
		var numbers = new Array();
								
		for( i=0; i < length; i++){ 
			var add = true;
			var numRand = Math.floor(Math.random()*34)+1; 
			if(i>0)
			{
				for( j=0; j < i; j++){					
					if(numbers[j]==numRand)
					{
						add=false;				
					}				
				}
			}
						
			if(add){				
				numbers[i] = numRand;
			}
			else
			{
				i--;
			}
		} 
		
		numbers.sort(sortNumber);
		
		numbers[5]= "+"+(Math.floor(Math.random()*14)+1);
		
		$("#stn1").html(numbers[0]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#stn2").html(numbers[1]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#stn3").html(numbers[2]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#stn4").html(numbers[3]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#stn5").html(numbers[4]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#stn6").html(numbers[5]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		
		$("#bsst").stop().css("background-color", "#333333")
		.animate({ backgroundColor: "#cccccc"}, 500);
	}
	
	function Play1080()
	{
		var length = 10;
		var numbers = new Array();
								
		for( i=0; i < length; i++){ 
			var add = true;
			var numRand = Math.floor(Math.random()*80)+1; 
			if(i>0)
			{
				for( j=0; j < i; j++){					
					if(numbers[j]==numRand)
					{
						add=false;				
					}				
				}
			}
						
			if(add){				
				numbers[i] = numRand;
			}
			else
			{
				i--;
			}
		} 
		
		numbers.sort(sortNumber);
			
		$("#on1").html(numbers[0]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#on2").html(numbers[1]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#on3").html(numbers[2]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#on4").html(numbers[3]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#on5").html(numbers[4]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#on6").html(numbers[5]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#on7").html(numbers[6]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#on8").html(numbers[7]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#on9").html(numbers[8]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		$("#on10").html(numbers[9]).stop().css("background-color", "#FF0000")
		.animate({ backgroundColor: "#FFFFFF"}, 500);
		
		$("#bo").stop().css("background-color", "#333333")
		.animate({ backgroundColor: "#cccccc"}, 500);
	}
	
	function sortNumber(a, b)
	{
		return a - b;
	}

