public void loadMap(GamePanel map)
	{
		if (!content.getClass().equals(GameMenuPanel.class) && !content.getClass().equals(KeyControlPanel.class) &&
				!content.getClass().equals(AudioControlPanel.class) && !content.getClass().equals(HiScorePanel.class))
			previousMap = content;
		content.stop();
		content = map;
		setContentPane(content);
		content.start();
		validate();
		repaint();
	}