private static Zombie newzombie()
	{
		int x = rand.nextInt(width-Zombie.width);
		int y = rand.nextInt(height-Zombie.height);
		int zombietype = 0;
		boolean notfound = true;
		if(!Zombie_Regular && !Zombie_Fast && !Zombie_Brute && !Zombie_Large && !Zombie_Poison && Zombie_Witch)
		{
			zombietype = Zombie.Zombie_Witch;
		}
		else 
		while(notfound)
		{
			int type = rand.nextInt(5);
			switch(type)
			{
				case Zombie.Zombie_Regular:
					if(Zombie_Regular)
					{
						zombietype = Zombie.Zombie_Regular;
						notfound = false;
					}
					break;
				case Zombie.Zombie_Fast:
					if(Zombie_Fast)
					{
						zombietype = Zombie.Zombie_Fast;
						notfound = false;
					}
					break;
				case Zombie.Zombie_Large:
					if(Zombie_Large)
					{
						zombietype = Zombie.Zombie_Large;
						notfound = false;
					}
					break;
				case Zombie.Zombie_Poison:
					if(Zombie_Poison)
					{
						zombietype = Zombie.Zombie_Poison;
						notfound = false;
					}
					break;
				case Zombie.Zombie_Brute:
					if(Zombie_Brute)
					{
						zombietype = Zombie.Zombie_Brute;
						notfound = false;
					}
					break;
			}
		}
		Zombie zombie = new Zombie(x, y, zombietype);
  	  	pane.drawImage(zombie.rotateImage(zombie.rotate), zombie.x, zombie.y, null);
  	  
  	  	numOFzombiesonfield++;
  	  	return zombie;
	}