public static int dayToNum(String name)
	{
		int num; 
		if (name.equals("Monday"))
			num = 1;
		else if (name.equals("Tuesday"))
			num = 2;
		else if (name.equals("Wednesday"))
			num=3;
		else if (name.equals("Thursday"))
			num = 4;
		else if (name.equals("Friday"))
			num=5;
		else if (name.equals("Saturday"))
			num = 6;
		else if (name.equals("Sunday"))
			num = 0;
		else
			num = -1;
		return num;
	}