private void createTimerElement(Attributes attrs) {
		timer = new TimerElement();
		// loop through all attributes, setting appropriate values
		for (int i = 0; i < attrs.getLength(); i++) {
			if (attrs.getQName(i).equals("playtime"))
				timer.setPlayTime(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("pausetime"))
				timer.setPauseTime(Integer.valueOf(attrs.getValue(i)));
			else if (attrs.getQName(i).equals("pauseduration"))
				timer.setPauseDuration(Integer.valueOf(attrs.getValue(i)));
		}
	}