A window with static contents. A window with two states. The content of each <state> looks like the content of a static window. A second state with a horizontal layout and a different background color. s1.setAttribute('applied', false); s2.setAttribute('applied', false); s.setAttribute('applied', true);