private static void SerializeDoor(XmlElement node, BaseDoor door)
		{
			node.SetAttribute("type", door.GetType().Name);

			node.SetAttribute("x", XmlConvert.ToString(door.X));
			node.SetAttribute("y", XmlConvert.ToString(door.Y));
			node.SetAttribute("z", XmlConvert.ToString(door.Z));

			node.SetAttribute("ox", XmlConvert.ToString(door.Offset.X));
			node.SetAttribute("oy", XmlConvert.ToString(door.Offset.Y));
			node.SetAttribute("oz", XmlConvert.ToString(door.Offset.Z));

			node.SetAttribute("oid", XmlConvert.ToString(door.OpenedID));
			node.SetAttribute("cid", XmlConvert.ToString(door.ClosedID));

			node.SetAttribute("locked", XmlConvert.ToString(door.Locked));

			if (door.KeyValue > 0)
			{
				node.SetAttribute("keyval", XmlConvert.ToString(door.KeyValue));
			}

			if (door.OpenedSound > 0)
			{
				node.SetAttribute("osound", XmlConvert.ToString(door.OpenedSound));
			}

			if (door.ClosedSound > 0)
			{
				node.SetAttribute("csound", XmlConvert.ToString(door.ClosedSound));
			}

			if (door.Hue > 0)
			{
				node.SetAttribute("hue", XmlConvert.ToString(door.Hue));
			}
		}