<?xml version="1.0" encoding="UTF-8"?>
<otrunk id="874b8410-3938-012a-b543-0017f2cc694e">
  <imports>
  	<import class="org.concord.data.state.OTDataChannelDescription" />	
    <import class="org.concord.data.state.OTDataStore" />
    <import class="org.concord.data.state.OTDataTable" />
    <import class="org.concord.framework.otrunk.view.OTFrame" />
    <import class="org.concord.framework.otrunk.wrapper.OTObjectSet" />
    <import class="org.concord.otrunk.OTSystem" />
    <import class="org.concord.otrunk.ui.OTText" />
    <import class="org.concord.otrunk.ui.OTLayerContainer" />
    <import class="org.concord.otrunk.ui.OTTextPane" />
    <import class="org.concord.otrunk.ui.OTPlacementContainer" />
    <import class="org.concord.otrunk.ui.OTPlacement" />
    <import class="org.concord.otrunk.ui.OTChoice" />
    <import class="org.concord.otrunk.ui.OTChoiceMultiple" />
    <import class="org.concord.otrunk.ui.question.OTQuestion" />
    <import class="org.concord.otrunk.ui.OTImage" />
    <import class="org.concord.otrunk.ui.OTButton" />
    <import class="org.concord.otrunk.ui.OTLayerContainer"/>
    <import class="org.concord.otrunk.ui.swing.OTChoiceViewConfig" />
    <import class="org.concord.otrunk.view.document.OTDocumentViewConfig" />
    <import class="org.concord.otrunk.view.OTViewEntry" />
    <import class="org.concord.otrunk.view.OTViewBundle" />
    <import class="org.concord.otrunk.view.document.OTCompoundDoc" />
    <import class="org.concord.otrunk.view.document.OTTextObject" />
    <import class="org.concord.otrunk.script.OTScriptEngineBundle" />
    <import class="org.concord.otrunk.script.OTScriptEngineEntry" />
    <import class="org.concord.otrunk.script.ui.OTScriptObject" />
    <import class="org.concord.otrunk.script.ui.OTScriptVariable"/>
    <import class="org.concord.otrunk.script.js.OTJavascript"/>
    <import class="org.concord.otrunkmw.OTModelerPage" />
  </imports>
  <objects>
    <OTSystem>
      <bundles>
        <OTViewBundle showLeftPanel="false">
          <views>
          	<OTViewEntry objectClass="org.concord.data.state.OTDataTable" viewClass="org.concord.data.state.OTDataTableView" />
          	<OTViewEntry objectClass="org.concord.otrunk.view.document.OTDocument" viewClass="org.concord.otrunk.view.document.OTDocumentView"/>
            <OTChoiceViewConfig objectClass="org.concord.otrunk.ui.OTChoice" viewClass="org.concord.otrunk.ui.swing.OTChoiceCheckBoxView" useViewsAsChoices="true" />
            <OTViewEntry objectClass="org.concord.otrunk.ui.OTLayerContainer" viewClass="org.concord.otrunk.ui.swing.OTLayerContainerView"/>
            <OTViewEntry objectClass="org.concord.otrunk.ui.OTButton" viewClass="org.concord.otrunk.ui.swing.OTButtonView" />
            <OTViewEntry objectClass="org.concord.otrunk.script.ui.OTScriptObject" viewClass="org.concord.otrunk.script.ui.OTScriptObjectView" />
            <OTViewEntry objectClass="org.concord.otrunkmw.OTModelerPage" viewClass="org.concord.otrunkmw.OTModelerPageView" />
          </views>
          <frame>
            <OTFrame width="800" height="700" />
          </frame>
        </OTViewBundle>
        <OTScriptEngineBundle>
          <engines>
            <OTScriptEngineEntry objectClass="org.concord.otrunk.script.js.OTJavascript" engineClass="org.concord.otrunk.script.js.OTJavascriptEngine" />
          </engines>
        </OTScriptEngineBundle>
      </bundles>
      <root>
      	<OTLayerContainer>
      		<layers>
		        <OTModelerPage local_id="mwpage" authoredDataURL="http://mw2.concord.org/public/part2/proteinfolding/index.cml">
		          <questions>
		            <OTQuestion id="b89a92cd-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page1.cml">
		              <prompt>
		                <OTText id="b89ba43e-72ce-11dd-9343-8bd51319c238" text="&#xA;A protein that can puncture a cell wall:" />
		              </prompt>
		              <input>
		                <OTChoice id="b89c678f-72ce-11dd-9343-8bd51319c238" selectionUI="0">
		                  <choices>
		                    <OTText text="protein 1" />
		                    <OTText id="b89d51f1-72ce-11dd-9343-8bd51319c238" text="protein 2" />
		                    <OTText text="protein 3" />
		                  </choices>
		                  <correctChoice>
		                    <object refid="b89d51f1-72ce-11dd-9343-8bd51319c238" />
		                  </correctChoice>
		                </OTChoice>
		              </input>
		            </OTQuestion>
		            <OTQuestion id="b89da013-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page1.cml">
		              <prompt>
		                <OTText id="b89da014-72ce-11dd-9343-8bd51319c238" text="&#xA;A protein that forms a cable:" />
		              </prompt>
		              <input>
		                <OTChoice id="b89da015-72ce-11dd-9343-8bd51319c238" selectionUI="0">
		                  <choices>
		                    <OTText id="b89dc726-72ce-11dd-9343-8bd51319c238" text="protein 1" />
		                    <OTText text="protein 2" />
		                    <OTText text="protein 3" />
		                  </choices>
		                  <correctChoice>
		                    <object refid="b89dc726-72ce-11dd-9343-8bd51319c238" />
		                  </correctChoice>
		                </OTChoice>
		              </input>
		            </OTQuestion>
		            <OTQuestion id="b89e3c59-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page1.cml">
		              <prompt>
		                <OTText id="b89e3c5a-72ce-11dd-9343-8bd51319c238" text="&#xA;A protein that becomes a pore in a membrane:" />
		              </prompt>
		              <input>
		                <OTChoice id="b89e3c5b-72ce-11dd-9343-8bd51319c238" selectionUI="0">
		                  <choices>
		                    <OTText text="protein 1" />
		                    <OTText text="protein 2" />
		                    <OTText id="b89e3c5e-72ce-11dd-9343-8bd51319c238" text="protein 3" />
		                  </choices>
		                  <correctChoice>
		                    <object refid="b89e3c5e-72ce-11dd-9343-8bd51319c238" />
		                  </correctChoice>
		                </OTChoice>
		              </input>
		            </OTQuestion>
		            <OTQuestion id="ba31868f-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page2.cml">
		              <prompt>
		                <OTText id="ba318690-72ce-11dd-9343-8bd51319c238" text="&#xA;Put a snapshot of the surface of the protein here." />
		              </prompt>
		              <input>
		                <OTImage id="ba31ada1-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="ba335b52-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page2.cml">
		              <prompt>
		                <OTText id="ba335b53-72ce-11dd-9343-8bd51319c238" text="&#xA;Create an image that clearly shows both ends of the string of amino acids. In the snapshot, use the text annotation tool  to mark both ends." />
		              </prompt>
		              <input>
		                <OTImage id="ba335b54-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="bc9ba8c5-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page3.cml">
		              <prompt>
		                <OTText id="bc9ba8c6-72ce-11dd-9343-8bd51319c238" text="" />
		              </prompt>
		              <input>
		                <OTImage id="bc9ba8c7-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="bc9bf6e8-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page3.cml">
		              <prompt>
		                <OTText id="bc9bf6e9-72ce-11dd-9343-8bd51319c238" text="&#xA;Use the link above to open and explore the 20 rotatable 3D amino acids. Then select the &quot;Sidechain&quot; color scheme. The atoms that are colored gray are the same in every amino acid. What are they called?" />
		              </prompt>
		              <input>
		                <OTChoice id="bc9bf6ea-72ce-11dd-9343-8bd51319c238" selectionUI="0">
		                  <choices>
		                    <OTText text="the sidechain atoms" />
		                    <OTText id="bc9bf6ec-72ce-11dd-9343-8bd51319c238" text="the backbone atoms" />
		                    <OTText text="the protein atoms" />
		                  </choices>
		                  <correctChoice>
		                    <object refid="bc9bf6ec-72ce-11dd-9343-8bd51319c238" />
		                  </correctChoice>
		                </OTChoice>
		              </input>
		            </OTQuestion>
		            <OTQuestion id="bc9c450e-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page3.cml">
		              <prompt>
		                <OTText id="bc9c450f-72ce-11dd-9343-8bd51319c238" text="&#xA;On the page of 3D amino acids, find glutamine and histidine. Use the different color schemes to select the true statement(s) below. (More than one statement may be true)." />
		              </prompt>
		              <input>
		                <OTChoice id="bc9c4510-72ce-11dd-9343-8bd51319c238" selectionUI="1">
		                  <choices>
		                    <OTText id="bc9c4511-72ce-11dd-9343-8bd51319c238" text="they are both polar amino acids" />
		                    <OTText text="one is polar and the other is non-polar" />
		                    <OTText id="bc9c4513-72ce-11dd-9343-8bd51319c238" text="one of them is charged" />
		                    <OTText text="they are both non-polar" />
		                  </choices>
		                  <correctChoices>
		                    <object refid="bc9c4511-72ce-11dd-9343-8bd51319c238" />
		                    <object refid="bc9c4513-72ce-11dd-9343-8bd51319c238" />
		                  </correctChoices>
		                </OTChoice>
		              </input>
		            </OTQuestion>
		            <OTQuestion id="c63fc3c5-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page8.cml">
		              <prompt>
		                <OTText id="c63fc3c6-72ce-11dd-9343-8bd51319c238" text="&#xA;Snapshot of an alpha helix:" />
		              </prompt>
		              <input>
		                <OTImage id="c63fc3c7-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="c63fead8-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page8.cml">
		              <prompt>
		                <OTText id="c63fead9-72ce-11dd-9343-8bd51319c238" text="&#xA;Snapshot of a beta sheet:" />
		              </prompt>
		              <input>
		                <OTImage id="c63feada-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="c63feadb-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page8.cml">
		              <prompt>
		                <OTText id="c64011ec-72ce-11dd-9343-8bd51319c238" text="&#xA;A loop between a beta sheet and an alpha helix:" />
		              </prompt>
		              <input>
		                <OTImage id="c64011ed-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="c74b405e-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page9.cml">
		              <prompt>
		                <OTText id="c74b405f-72ce-11dd-9343-8bd51319c238" text="&#xA;The hydrogen bonds that stabilize an alpha helix." />
		              </prompt>
		              <input>
		                <OTImage id="c74b6770-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="c74b6771-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page9.cml">
		              <prompt>
		                <OTText id="c74b6772-72ce-11dd-9343-8bd51319c238" text="&#xA;The hydrogen bonds that stabilize a beta sheet." />
		              </prompt>
		              <input>
		                <OTImage id="c74b6773-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="c74b8e84-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page9.cml">
		              <prompt>
		                <OTText id="c74b8e85-72ce-11dd-9343-8bd51319c238" text="&#xA;Hydrogen bonds stabilizing alpha helices and beta sheets form between the atoms of which part(s) of the amino acids involved?" />
		              </prompt>
		              <input>
		                <OTChoice id="c74b8e86-72ce-11dd-9343-8bd51319c238" selectionUI="0">
		                  <choices>
		                    <OTText text="the side chains" />
		                    <OTText text="the side chains and backbone" />
		                    <OTText id="c74bb599-72ce-11dd-9343-8bd51319c238" text="the backbone" />
		                  </choices>
		                  <correctChoice>
		                    <object refid="c74bb599-72ce-11dd-9343-8bd51319c238" />
		                  </correctChoice>
		                </OTChoice>
		              </input>
		            </OTQuestion>
		            <OTQuestion id="c74bb59a-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page9.cml">
		              <prompt>
		                <OTText id="c74bb59b-72ce-11dd-9343-8bd51319c238" text="&#xA;Place a snapshot here that illustrates your answer to the previous question." />
		              </prompt>
		              <input>
		                <OTImage id="c74bb59c-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="d649e7bd-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page10.cml">
		              <prompt>
		                <OTText id="d649e7be-72ce-11dd-9343-8bd51319c238" text="&#xA;1. Show an interaction that stabilizes an alpha helix and a loop:" />
		              </prompt>
		              <input>
		                <OTImage id="d649e7bf-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="d64a35e0-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page10.cml">
		              <prompt>
		                <OTText id="d64a35e1-72ce-11dd-9343-8bd51319c238" text="&#xA;2. Show an interaction that stabilizes two alpha helices:" />
		              </prompt>
		              <input>
		                <OTImage id="d64a35e2-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="d64a35e3-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page10.cml">
		              <prompt>
		                <OTText id="d64a5cf4-72ce-11dd-9343-8bd51319c238" text="&#xA;3. Show an interaction that stabilizes a loop and a beta sheet:" />
		              </prompt>
		              <input>
		                <OTImage id="d64a5cf5-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="d64a8406-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page10.cml">
		              <prompt>
		                <OTText id="d64a8407-72ce-11dd-9343-8bd51319c238" text="&#xA;4. Show the hydrophobic core:" />
		              </prompt>
		              <input>
		                <OTImage id="d64a8408-72ce-11dd-9343-8bd51319c238" />
		              </input>
		            </OTQuestion>
		            <OTQuestion id="da720da9-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page12.cml">
		              <prompt>
		                <OTText id="da720daa-72ce-11dd-9343-8bd51319c238" text="&#xA;Does TNF have the quaternary level of structure? Make sure to try different color schemes on the model of TNF above)." />
		              </prompt>
		              <input>
		                <OTChoice id="da720dab-72ce-11dd-9343-8bd51319c238" selectionUI="0">
		                  <choices>
		                    <OTText id="da720dac-72ce-11dd-9343-8bd51319c238" text="yes" />
		                    <OTText text="no" />
		                    <OTText text="it's impossible to tell." />
		                  </choices>
		                  <correctChoice>
		                    <object refid="da720dac-72ce-11dd-9343-8bd51319c238" />
		                  </correctChoice>
		                </OTChoice>
		              </input>
		            </OTQuestion>
		            <OTQuestion id="da7234bf-72ce-11dd-9343-8bd51319c238" name="http://mw2.concord.org/public/part2/proteinfolding/page12.cml">
		              <prompt>
		                <OTText id="da725bd0-72ce-11dd-9343-8bd51319c238" text="&#xA;Explain your answer to the previous question:" />
		              </prompt>
		              <input>
		                <OTText id="da725bd1-72ce-11dd-9343-8bd51319c238" text="" />
		              </input>
		              <correctAnswer>
		                <OTText id="da72a9f2-72ce-11dd-9343-8bd51319c238" />
		              </correctAnswer>
		            </OTQuestion>
		          </questions>
		        </OTModelerPage>
		        <object refid="${user-greeting-script}"/>
		    </layers>
		</OTLayerContainer>
      </root>
      <library>
      	<OTCompoundDoc local_id="greeting-popup">
      		<bodyText>
      			<div style="font-size: 15px;">
	      			greeting-text
	      			<br/>
	      			<table>
	      				<tr>
	      					<td width="300px">
	      						<object refid="${user-list}"/>
	      					</td>
	      				</tr>
	      				<tr>
	      					<td width="400px">
	      						<object refid="${user-table}"/>
	      					</td>
	      				</tr>
	      				<tr>
	      					<td width="100px">
	      						<object refid="${close-button}"/>
	      					</td>
	      				</tr>
	      			</table>
      			</div>
      		</bodyText>
      		<documentRefs>
      			<OTChoice local_id="user-list"/>
      			<OTDataTable local_id="user-table" name="Data table" showLastRowForAddingNew="true" visibleRows="5">
                  <dataStore>
                    <OTDataStore numberChannels="1">
                      <channelDescriptions>
                        <OTDataChannelDescription name="Student names" numericData="false" />
                      </channelDescriptions>
                      <values>
                        <string />
                        <string />
                        <string />
                        <string />
                      </values>
                    </OTDataStore>
                  </dataStore>
                </OTDataTable>
                <OTButton local_id="close-button" text="Ok"/>
      		</documentRefs>
      	</OTCompoundDoc>
      	<OTScriptObject local_id="user-greeting-script">
      		<variables>
      			<OTScriptVariable name="popup" reference="${greeting-popup}"/>
      			<OTScriptVariable name="list" reference="${user-list}"/>
      			<OTScriptVariable name="table" reference="${user-table}"/>
      			<OTScriptVariable name="button" reference="${close-button}"/>
      			<OTScriptVariable name="users">
      				<reference>
      					<OTObjectSet name="list of users in group" />
      				</reference>
      			</OTScriptVariable>
      			<OTScriptVariable name="frame">
      				<reference>
      					<OTFrame height="300" width="400"/>
      				</reference>
      			</OTScriptVariable>
      		</variables>
      		<script>
	            <OTJavascript src="../../scripts/user-greeting-script.js" />
	          </script>
      	</OTScriptObject>
      </library>
    </OTSystem>
  </objects>
</otrunk>

