public Integer layerName(String layerName) {
		Integer layer;
		switch (layerName) {
		case "lobby":
			layer = 2;
			break;
		case "matchSetup":
		case "matchInplay":
			layer = 4;
			break;
		case "login":
			layer = 18;
			break;
		case "register":
			layer = 20;
			break;
		case "verify":
			layer = 22;
			break;
		case "nameSelection":
			layer = 24;
			break;
		case "popup":
			layer = popupLayer;
			popupLayer += 2;
			;
			break;
		// default:layer = 0;break;
		default:
			layer = popupLayer;
			popupLayer += 2;
			;
			break;
		}
		return layer;
	}