protected void addPanel(JComponent panel, Screen screen)
	{
		cardPanel.add(panel, screen.name());
		
		switch (screen)
		{	case CAMPUS:
				campus = (CampusPanel)panel;
				campus.sendFrame(this);
				break;
			case CLASS:
				classroom = (ClassroomPanel) panel;
				break;
			case MINISPLASH:
				miniSplash = (MiniSplashPane)panel;
				miniSplash.sendFrame(this);
				break;
			case BATTLE:
				battle = (Battle)panel;
				battle.sendFrame(this);
				break;
			case FINALBATTLE:
				finalBattle = (FinalBattle)panel;
				finalBattle.sendFrame(this);
				break;
			case WELCOME:
				welcome  = (Welcome)panel;
				welcome.sendFrame(this);
				break;
			case LIBRARY:
				library = (Library)panel;
				library.sendFrame(this);
				break;
			case TRANSCRIPT:
				transcript = (Transcript)panel;
				transcript.sendFrame(this);
				break;
			case ABOUT:
				about = (About)panel;
				about.sendFrame(this);
				break;
		}	
	}