private void createQuizSlide(Attributes attrs) {
		quizSlide = new QuizSlide(quizSlideDef);
		// loop through all attributes, setting appropriate values
		for (int i = 0; i < attrs.getLength(); i++) {
			if (attrs.getQName(i).equals("id"))
				quizSlide.setId(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("backgroundcolor"))
				quizSlide.setBkCol(new Color(Integer.valueOf(attrs.getValue(i)
						.substring(1), 16)));
			else if (attrs.getQName(i).equals("duration"))
				quizSlide.setDuration(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("nextslideid"))
				quizSlide.setNext(Integer.valueOf(attrs.getValue(i)));
		}
	}