<panel
      height="400"
      width="272"
      layout="topleft"
      follows="all"
      name="panel_facebook_photo">
            <combo_box
             control_name="FacebookPhotoResolution"
             follows="left|top"
			 layout="topleft"
             top="7"
             left="10"
             name="resolution_combobox"
             tool_tip="Image resolution"
             height="21"
             width="124">
              <combo_box.item
               label="Current Window"
               name="CurrentWindow"
               value="[i0,i0]" />
              <combo_box.item
               label="640x480"
               name="640x480"
               value="[i640,i480]" />
              <combo_box.item
               label="800x600"
               name="800x600"
               value="[i800,i600]" />
              <combo_box.item
               label="1024x768"
               name="1024x768"
               value="[i1024,i768]" />
              <combo_box.item
               label="1200x630"
               name="1200x630"
               value="[i1200,i630]" />
            </combo_box>
            <combo_box
                control_name="FacebookPhotoFilters"
                follows="left|top"
				layout="topleft"
                name="filters_combobox"
                tool_tip="Image filters"
                top="7"
                left_pad="4"
                height="21"
                width="124">
                <combo_box.item
                label="No Filter"
                name="NoFilter"
                value="NoFilter" />
            </combo_box>
            <panel
                height="150"
                width="252"
                visible="true"
				layout="topleft"
                name="thumbnail_placeholder"
                top_pad="5"
                follows="left|top|rith"
				right="-10"
                left="10">
            </panel>
			<text
                follows="left|top"
				layout="topleft"
                font="SansSerif"
                text_color="EmphasisColor"
                height="14"
                top_pad="2"
                left="10"
                length="1"
                halign="center"
                name="working_lbl"
                translate="false"
                type="string"
                visible="true"
                width="251">
                Refreshing...
            </text>
			<view_border 
			 bevel_style="in"
			 follows="left|top"
			 layout="topleft"
			 height="1"
			 left="10"
			 name="refresh_border"
			 width="250"
			 top_pad="0"/>
            <button
             follows="left|top"
			 layout="topleft"
             height="23"
             label="Refresh"
             left="10"
             top_pad="5"
             name="new_snapshot_btn"
             tool_tip="Click to refresh"
             visible="true"
             width="100" >
             <button.commit_callback
               function="SocialSharing.RefreshPhoto" />
            </button>
            <button
                follows="right|top"
				layout="topleft"
                height="23"
                label="Preview"
                right="-10"
                top_delta="0"
                name="big_preview_btn"
                tool_tip="Click to toggle preview"
                is_toggle="true"
                visible="true"
                width="100" >
                <button.commit_callback
                function="SocialSharing.BigPreview" />
            </button>
            <text
             length="1"
             follows="top|left|right"
			 layout="topleft"
             font="SansSerif"
             height="16"
             left="10"
             name="caption_label"
             top_pad="20"
             type="string">
              Comment (optional):
            </text>
            <text_editor
             follows="left|top|right|bottom"
			 layout="topleft"
             height="87"
             width="250"
             left="10"
			 right="-10"
             length="1"
             max_length="700"
             name="photo_caption"
             type="string"
             word_wrap="true">
            </text_editor>
          <button
           follows="left|top"
		   layout="topleft"
           top_pad="22"
           left="10"
           height="23"
           label="Post"
           name="post_photo_btn"
           width="100">
            <button.commit_callback
             function="SocialSharing.SendPhoto" />
          </button>
          <button
               follows="right|top"
			   layout="topleft"
               height="23"
               label="Cancel"
               name="cancel_photo_btn"
               right="-10"
               top_delta="0"
               width="100">
            <button.commit_callback
             function="SocialSharing.Cancel" />
          </button>
    </panel>