<?xml version="1.0" encoding="utf-8"?>
<FieldTypes>
    <FieldType>
        <Field Name="TypeName">Counter</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_counter;</Field>
        <Field Name="InternalType">Counter</Field>
        <Field Name="SQLType">int</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern"><Column/></RenderPattern>
        <RenderPattern Name="EditPattern"><Column/></RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern"><Property Select="DisplayName" HTMLEncode="TRUE"/></RenderPattern>
        <RenderPattern Name="PreviewNewPattern"><Property Select="DisplayName" HTMLEncode="TRUE"/></RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Text</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_text;</Field>
        <Field Name="InternalType">Text</Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldText</Field>        
        <Field Name="SQLType">nvarchar</Field>
	<Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldText</Field> 
        <Field Name="ParentType"></Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <Column HTMLEncode="TRUE" AutoHyperLink="TRUE" AutoNewLine="TRUE"/>
        </RenderPattern>
        <RenderPattern Name="EditPattern">
            <Switch> <Expr><Property Select="Format"/></Expr> <Case Value="Telephone"><HTML><![CDATA[<SCRIPT>fld = new TelephonePattern(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote></Case> <Default><HTML><![CDATA[<SCRIPT>fld = new TextField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote></Default> </Switch> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>);fld.cchMaxLength = "</HTML> 	<Property Select="MaxLength"/> 	<HTML>";</HTML> <HTML>fld.cchDisplaySize = "</HTML> 	<Property Select="DisplaySize"/> 	<HTML>";</HTML> <Switch> <Expr><Property Select="Format"/></Expr> <Case Value="Telephone"> <Switch> <Expr><Property Select='Ext'/></Expr> <Case Value="TRUE"><HTML><![CDATA[fld.fIncludeExtension=true;]]></HTML></Case> </Switch> <Switch> <Expr><Property Select='PIN'/></Expr> <Case Value="TRUE"><HTML><![CDATA[fld.fIncludePIN=true;]]></HTML></Case> </Switch> </Case> </Switch> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML> <Switch> <Expr><Property Select="ShowAddressBookButton"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[ &nbsp;&nbsp;<script language=JavaScript> if (browseris.ie4up && browseris.win32 && (typeof(L_AddressBook_TXT) != "undefined")) document.write("<input type=button value='" + L_AddressBook_TXT + "' id='AddrBookID' onclick='javascript:AddrBook()'>"); </script>]]></HTML> </Case> <Default/> </Switch>
        </RenderPattern>
        <RenderPattern Name="NewPattern">
            <Switch> <Expr><Property Select="Format"/></Expr> <Case Value="Telephone"><HTML><![CDATA[<SCRIPT>fld = new TelephonePattern(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote></Case> <Default><HTML><![CDATA[<SCRIPT>fld = new TextField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote></Default> </Switch> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>);fld.cchMaxLength = "</HTML> 	<Property Select="MaxLength"/> 	<HTML>";</HTML> <HTML>fld.cchDisplaySize = "</HTML> 	<Property Select="DisplaySize"/> 	<HTML>";</HTML> <Switch> <Expr><Property Select="Format"/></Expr> <Case Value="Telephone"> <Switch> <Expr><Property Select='Ext'/></Expr> <Case Value="TRUE"><HTML><![CDATA[fld.fIncludeExtension=true;]]></HTML></Case> </Switch> <Switch> <Expr><Property Select='PIN'/></Expr> <Case Value="TRUE"><HTML><![CDATA[fld.fIncludePIN=true;]]></HTML></Case> </Switch> </Case> </Switch> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML> <Switch> <Expr><Property Select="ShowAddressBookButton"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[ &nbsp;&nbsp;<script language=JavaScript> if (browseris.ie4up && browseris.win32 && (typeof(L_AddressBook_TXT) != "undefined")) document.write("<input type=button value='" + L_AddressBook_TXT + "' id='AddrBookID' onclick='javascript:AddrBook()'>"); </script>]]></HTML> </Case> <Default/> </Switch>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<input ]]></HTML> <Switch><Expr><Property Select="DisplaySize"/></Expr> <Case Value=""><HTML><![CDATA[size="20" class="ms-long" ]]></HTML></Case> <Default><HTML><![CDATA[class="ms-input" size="]]></HTML>     <Property Select="DisplaySize"/><HTML><![CDATA[" ]]></HTML></Default> </Switch><HTML><![CDATA[value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/>     <HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA[">]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<input ]]></HTML> <Switch><Expr><Property Select="DisplaySize"/></Expr> <Case Value=""><HTML><![CDATA[size="20" class="ms-long" ]]></HTML></Case> <Default><HTML><![CDATA[class="ms-input" size="]]></HTML>     <Property Select="DisplaySize"/><HTML><![CDATA[" ]]></HTML></Default> </Switch><HTML><![CDATA[value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/>     <HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA[">]]></HTML>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Note</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_note;</Field>
        <Field Name="InternalType">Note</Field>
        <Field Name="SQLType">ntext</Field>
        <Field Name="ParentType"></Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldMultiLineText</Field>        
        <Field Name="Sortable">FALSE</Field>
        <Field Name="Filterable">FALSE</Field>
        <RenderPattern Name="HeaderPattern">
            <FieldSwitch>
                <Expr><GetVar Name='Filter'/></Expr>
                <Case Value="1">
                    <FieldSwitch>
                        <Expr><Property Select="aggregation"/></Expr>
                        <Case Value="merge">
                            <HTML><![CDATA[<INPUT TYPE="TEXT" MAXLENGTH="256" CLASS="ms-input" ID="diidFilter]]></HTML><Property Select='Name'/><HTML><![CDATA[" OnKeyPress='FilterNoteField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.value, event.keyCode);' OnChange='FilterNoteField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.value, 13);'/>]]></HTML>
                            <HTML><![CDATA[<BR>]]></HTML>
                        </Case>
                        <Default/>
                    </FieldSwitch>
                </Case>
                <Default/>
            </FieldSwitch>
            <Property Select="DisplayName" HTMLEncode="TRUE"/>
            <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT=]]></HTML><HTML>$Resources:core,550;</HTML><HTML><![CDATA[>]]></HTML>
            </RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <FieldSwitch>
                <Expr><Property Select='RichText'/></Expr>
                <Case Value="TRUE">
                    <HTML><![CDATA[<div dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML>                        
                    <FieldSwitch>
                        <Expr><Property Select='RichTextMode'/></Expr>
                        <Case Value="FullHtml">
                            <Column/>
                        </Case>
                        <Default>
                            <Column AutoHyperLinkNoEncoding="TRUE"/>
                        </Default>
                    </FieldSwitch>
                    <HTML><![CDATA[</div>]]></HTML>
                </Case>
                <Default>
                    <HTML><![CDATA[<div dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML>
                    <Column HTMLEncode="TRUE"  AutoHyperLink="TRUE" AutoNewLine="TRUE"/>
                    <HTML><![CDATA[</div>]]></HTML>
                </Default>
	        </FieldSwitch>
        </RenderPattern>
        <RenderPattern Name="EditPattern">
            <Switch> 
                <Expr><Property Select='RichText'/></Expr> 
                    <Case Value="TRUE"> 
                    <HTML><![CDATA[<SCRIPT>fld = new RichTextField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>);</HTML> <Switch> <Expr><Property Select="Direction" HTMLEncode="TRUE"/></Expr> <Case Value="LTR">fld.stDirection = "ltr";</Case> <Case Value="RTL">fld.stDirection = "rtl";</Case> </Switch> <Switch> <Expr><Property Select="AllowHyperlink"/></Expr> <Case Value="TRUE">fld.fAllowHyperlink = true;</Case> <Default>fld.fAllowHyperlink = false;</Default> </Switch> <HTML>fld.WebLocale = </HTML><ScriptQuote><ProjectProperty Select="Locale"/></ScriptQuote><HTML>;</HTML> <Switch> <Expr><Property Select="NumLines"/></Expr> <Case Value="">fld.stNumLines = "6";</Case> <Default> <HTML>fld.stNumLines = </HTML><ScriptQuote><Property Select="NumLines"/></ScriptQuote><HTML>;</HTML> </Default> </Switch> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML> 
                    </Case> 
                    <Default>
                    <HTML><![CDATA[<SCRIPT>fld = new NoteField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>);</HTML> <Switch> <Expr><Property Select="NumLines"/></Expr> <Case Value="">fld.stNumLines = "6";</Case> <Default> <HTML>fld.stNumLines = </HTML><ScriptQuote><Property Select="NumLines"/></ScriptQuote><HTML>;</HTML> </Default> </Switch> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
                    </Default>
            </Switch>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
            <Switch> 
                <Expr><Property Select='RichText'/></Expr> 
                    <Case Value="TRUE"> 
                    <HTML><![CDATA[<SCRIPT>fld = new RichTextField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>);</HTML> <Switch> <Expr><Property Select="Direction" HTMLEncode="TRUE"/></Expr> <Case Value="LTR">fld.stDirection = "ltr";</Case> <Case Value="RTL">fld.stDirection = "rtl";</Case> </Switch> <Switch> <Expr><Property Select="AllowHyperlink"/></Expr> <Case Value="TRUE">fld.fAllowHyperlink = true;</Case> <Default>fld.fAllowHyperlink = false;</Default> </Switch> <HTML>fld.WebLocale = </HTML><ScriptQuote><ProjectProperty Select="Locale"/></ScriptQuote><HTML>;</HTML> <Switch> <Expr><Property Select="NumLines"/></Expr> <Case Value="">fld.stNumLines = "6";</Case> <Default> <HTML>fld.stNumLines = </HTML><ScriptQuote><Property Select="NumLines"/></ScriptQuote><HTML>;</HTML> </Default> </Switch> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML> 
                    </Case> 
                    <Default>
                    <HTML><![CDATA[<SCRIPT>fld = new NoteField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>);</HTML> <Switch> <Expr><Property Select="NumLines"/></Expr> <Case Value="">fld.stNumLines = "6";</Case> <Default> <HTML>fld.stNumLines = </HTML><ScriptQuote><Property Select="NumLines"/></ScriptQuote><HTML>;</HTML> </Default> </Switch> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
                    </Default>
            </Switch>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<textarea class="ms-long" cols="30" rows="6">"]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes012;</HTML><HTML><![CDATA[</textarea>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<textarea class="ms-long" cols="30" rows="6">"]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes012;</HTML><HTML><![CDATA[</textarea>]]></HTML>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Choice</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_choice;</Field>
        <Field Name="TypeShortDescription">$Resources:core,fldtype_choice_desc;</Field>
        <Field Name="InternalType">Choice</Field>
        <Field Name="SQLType">nvarchar</Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldChoice</Field>        
        <Field Name="ParentType"></Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern">
                <Column HTMLEncode="TRUE"/>
        </RenderPattern>
        <RenderPattern Name="EditPattern">         
            <HTML><![CDATA[<SCRIPT>fld = new ChoiceField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>); fld.format = "</HTML>     <Property Select="Format"/> 	<HTML>"; </HTML> <Switch> <Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE">fld.fFillInChoice = true;</Case> </Switch> <ForEach Select="CHOICES/CHOICE"> <HTML>fld.AddChoice(</HTML> <ScriptQuote><Property Select="."/></ScriptQuote> <HTML>, </HTML> <ScriptQuote><Property Select="Value"/></ScriptQuote> <HTML>);</HTML> </ForEach> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">        
            <HTML><![CDATA[<SCRIPT>fld = new ChoiceField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>); fld.format = "</HTML>     <Property Select="Format"/> 	<HTML>"; </HTML> <Switch> <Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE">fld.fFillInChoice = true;</Case> </Switch> <ForEach Select="CHOICES/CHOICE"> <HTML>fld.AddChoice(</HTML> <ScriptQuote><Property Select="."/></ScriptQuote> <HTML>, </HTML> <ScriptQuote><Property Select="Value"/></ScriptQuote> <HTML>);</HTML> </ForEach> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <Switch><Expr><Property Select="Format"/></Expr> <Case Value="RadioButtons"> <HTML><![CDATA[<table cellpadding="0" cellspacing="1">]]></HTML> <SetVar Name="_ChoiceDefault"><Property Select="Default"/></SetVar> <ForEach Select="CHOICES/CHOICE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"]]></HTML> <IfEqual><Expr1><Property Select="."/></Expr1><Expr2><GetVar Name="_ChoiceDefault"/></Expr2><Then><HTML><![CDATA[ checked]]></HTML></Then></IfEqual> <HTML><![CDATA[></td><td class="ms-RadioText" vAlign="top">]]></HTML><Property Select="." HTMLEncode="TRUE"/> <HTML><![CDATA[</td></tr>]]></HTML></ForEach> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr>]]></HTML> </Case></Switch> <HTML><![CDATA[</table>]]></HTML></Case> <Default> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<table><tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> <HTML><![CDATA[</td></tr>]]></HTML> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr></table>]]></HTML> </Case> <Default> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> </Default></Switch> </Default></Switch>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <Switch><Expr><Property Select="Format"/></Expr> <Case Value="RadioButtons"> <HTML><![CDATA[<table cellpadding="0" cellspacing="1">]]></HTML> <SetVar Name="_ChoiceDefault"><Property Select="Default"/></SetVar> <ForEach Select="CHOICES/CHOICE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"]]></HTML> <IfEqual><Expr1><Property Select="."/></Expr1><Expr2><GetVar Name="_ChoiceDefault"/></Expr2><Then><HTML><![CDATA[ checked]]></HTML></Then></IfEqual> <HTML><![CDATA[></td><td class="ms-RadioText" vAlign="top">]]></HTML><Property Select="." HTMLEncode="TRUE"/> <HTML><![CDATA[</td></tr>]]></HTML></ForEach> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr>]]></HTML> </Case></Switch> <HTML><![CDATA[</table>]]></HTML></Case> <Default> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<table><tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> <HTML><![CDATA[</td></tr>]]></HTML> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr></table>]]></HTML> </Case> <Default> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> </Default></Switch> </Default></Switch>
        </RenderPattern>  
    </FieldType>
    <FieldType>
        <Field Name="TypeName">MultiChoice</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_choice;</Field> 
        <Field Name="TypeShortDescription">$Resources:core,fldtype_choice_desc;</Field>
        <Field Name="InternalType">MultiChoice</Field>
        <Field Name="SQLType">ntext</Field>
        <Field Name="ParentType"></Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldMultiChoice</Field>        
        <Field Name="Sortable">FALSE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Property Select='DisplayName' HTMLEncode='TRUE'/> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern">
                <Column HTMLEncode="TRUE"/>
        </RenderPattern>
        <RenderPattern Name="EditPattern">          
            <HTML><![CDATA[<SCRIPT>fld = new ChoiceField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>); fld.format = "Checkboxes";</HTML> <Switch> <Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE">fld.fFillInChoice = true;</Case> </Switch> <ForEach Select="CHOICES/CHOICE"> <HTML>fld.AddChoice(</HTML> <ScriptQuote><Property Select="."/></ScriptQuote> <HTML>, </HTML> <ScriptQuote><Property Select="Value"/></ScriptQuote> <HTML>);</HTML> </ForEach> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">          
            <HTML><![CDATA[<SCRIPT>fld = new ChoiceField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>); fld.format = "Checkboxes";</HTML> <Switch> <Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE">fld.fFillInChoice = true;</Case> </Switch> <ForEach Select="CHOICES/CHOICE"> <HTML>fld.AddChoice(</HTML> <ScriptQuote><Property Select="."/></ScriptQuote> <HTML>, </HTML> <ScriptQuote><Property Select="Value"/></ScriptQuote> <HTML>);</HTML> </ForEach> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<table cellpadding="0" cellspacing="1">]]></HTML> <SetVar Name="_ChoiceDefault"><Property Select="Default"/></SetVar> <ForEach Select="CHOICES/CHOICE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="checkbox"]]></HTML> <IfEqual><Expr1><Property Select="."/></Expr1><Expr2><GetVar Name="_ChoiceDefault"/></Expr2><Then><HTML><![CDATA[ checked]]></HTML></Then></IfEqual> <HTML><![CDATA[></td><td class="ms-RadioText" vAlign="top">]]></HTML><Property Select="." HTMLEncode="TRUE"/> <HTML><![CDATA[</td></tr>]]></HTML></ForEach> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="checkbox"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr>]]></HTML> </Case></Switch> <HTML><![CDATA[</table>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<table cellpadding="0" cellspacing="1">]]></HTML> <SetVar Name="_ChoiceDefault"><Property Select="Default"/></SetVar> <ForEach Select="CHOICES/CHOICE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="checkbox"]]></HTML> <IfEqual><Expr1><Property Select="."/></Expr1><Expr2><GetVar Name="_ChoiceDefault"/></Expr2><Then><HTML><![CDATA[ checked]]></HTML></Then></IfEqual> <HTML><![CDATA[></td><td class="ms-RadioText" vAlign="top">]]></HTML><Property Select="." HTMLEncode="TRUE"/> <HTML><![CDATA[</td></tr>]]></HTML></ForEach> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="checkbox"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr>]]></HTML> </Case></Switch> <HTML><![CDATA[</table>]]></HTML>
        </RenderPattern>        
    </FieldType>
    <FieldType>
        <Field Name="TypeName">GridChoice</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_rating;</Field>
        <Field Name="TypeShortDescription">$Resources:core,fldtype_rating_desc;</Field>
        <Field Name="InternalType">GridChoice</Field>
        <Field Name="SQLType">ntext</Field>
        <Field Name="ParentType"></Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldRatingScale</Field>        
        <Field Name="ShowOnListCreate">FALSE</Field>
        <Field Name="ShowOnDocumentLibraryCreate">FALSE</Field>
        <Field Name="ShowOnColumnTemplateCreate">FALSE</Field>
        <Field Name="Sortable">FALSE</Field>
        <Field Name="Filterable">FALSE</Field>
        <RenderPattern Name="HeaderPattern"></RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <HTML><![CDATA[<SCRIPT>fld = new GridChoiceField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>); </HTML> <ForEach Select="CHOICES/CHOICE"> <HTML>fld.AddChoice(</HTML> <ScriptQuote><Property Select="."/></ScriptQuote> <HTML>, </HTML> <ScriptQuote><Property Select="Value"/></ScriptQuote> <HTML>);</HTML> </ForEach> <HTML>fld.GridStartNum = </HTML><ScriptQuote><Property Select="GridStartNum"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridEndNum = </HTML><ScriptQuote><Property Select="GridEndNum"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridTxtRng1 = </HTML><ScriptQuote><Property Select="GridTxtRng1"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridTxtRng2 = </HTML><ScriptQuote><Property Select="GridTxtRng2"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridTxtRng3 = </HTML><ScriptQuote><Property Select="GridTxtRng3"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridNATxt = </HTML><ScriptQuote><Property Select="GridNATxt"/></ScriptQuote><HTML>; </HTML> <HTML>fld.nochange = "yes";</HTML> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="EditPattern">       
            <HTML><![CDATA[<SCRIPT>fld = new GridChoiceField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>); </HTML> <ForEach Select="CHOICES/CHOICE"> <HTML>fld.AddChoice(</HTML> <ScriptQuote><Property Select="."/></ScriptQuote> <HTML>, </HTML> <ScriptQuote><Property Select="Value"/></ScriptQuote> <HTML>);</HTML> </ForEach> <HTML>fld.GridStartNum = </HTML><ScriptQuote><Property Select="GridStartNum"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridEndNum = </HTML><ScriptQuote><Property Select="GridEndNum"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridTxtRng1 = </HTML><ScriptQuote><Property Select="GridTxtRng1"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridTxtRng2 = </HTML><ScriptQuote><Property Select="GridTxtRng2"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridTxtRng3 = </HTML><ScriptQuote><Property Select="GridTxtRng3"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridNATxt = </HTML><ScriptQuote><Property Select="GridNATxt"/></ScriptQuote><HTML>; </HTML> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">     
            <HTML><![CDATA[<SCRIPT>fld = new GridChoiceField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column/></ScriptQuote> <HTML>); </HTML> <ForEach Select="CHOICES/CHOICE"> <HTML>fld.AddChoice(</HTML> <ScriptQuote><Property Select="."/></ScriptQuote> <HTML>, </HTML> <ScriptQuote><Property Select="Value"/></ScriptQuote> <HTML>);</HTML> </ForEach> <HTML>fld.GridStartNum = </HTML><ScriptQuote><Property Select="GridStartNum"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridEndNum = </HTML><ScriptQuote><Property Select="GridEndNum"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridTxtRng1 = </HTML><ScriptQuote><Property Select="GridTxtRng1"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridTxtRng2 = </HTML><ScriptQuote><Property Select="GridTxtRng2"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridTxtRng3 = </HTML><ScriptQuote><Property Select="GridTxtRng3"/></ScriptQuote><HTML>; </HTML> <HTML>fld.GridNATxt = </HTML><ScriptQuote><Property Select="GridNATxt"/></ScriptQuote><HTML>; </HTML> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            $Resources:core,fldtypes019;
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Integer</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_int;</Field>
        <Field Name="InternalType">Integer</Field>
        <Field Name="SQLType">int</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><HTML><![CDATA[<DIV ALIGN=RIGHT>]]></HTML> <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML> <HTML><![CDATA[</DIV>]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern"><FieldSwitch> <Expr><GetVar Name="FreeForm"/></Expr> <Case Value="TRUE"> <Column HTMLEncode="TRUE" /> </Case> <Default> <HTML><![CDATA[<DIV ALIGN=RIGHT>]]></HTML> <Column HTMLEncode="TRUE" /> <HTML><![CDATA[</DIV>]]></HTML> </Default> </FieldSwitch></RenderPattern>
        <RenderPattern Name="EditPattern"><HTML><![CDATA[<SCRIPT>fld = new NumberField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column HTMLEncode="TRUE" /></ScriptQuote> <HTML>);</HTML> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML>fld.wMin = "</HTML><Property Select="Min"/>     <HTML>";fld.wMax = "</HTML><Property Select="Max"/><HTML>";fld.fInteger = true;</HTML> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML></RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern"><HTML><![CDATA[<SCRIPT>fld = new NumberField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column HTMLEncode="TRUE" /></ScriptQuote> <HTML>);</HTML> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML>fld.wMin = "</HTML><Property Select="Min"/>     <HTML>";fld.wMax = "</HTML><Property Select="Max"/><HTML>";fld.fInteger = true;</HTML> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML></RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<input class="ms-input" size="15" value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/>     <HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA[">&nbsp;]]></HTML> <FieldSwitch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE">%</Case> </FieldSwitch>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<input class="ms-input" size="15" value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/>     <HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA[">&nbsp;]]></HTML> <FieldSwitch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE">%</Case> </FieldSwitch>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Number</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_num;</Field>
        <Field Name="TypeShortDescription">$Resources:core,fldtype_num_desc;</Field>
        <Field Name="InternalType">Number</Field>
        <Field Name="SQLType">float</Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldNumber</Field>        
        <Field Name="ParentType"></Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><HTML><![CDATA[<DIV ALIGN=RIGHT>]]></HTML> <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML> <HTML><![CDATA[</DIV>]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern"><FieldSwitch> <Expr><GetVar Name="FreeForm"/></Expr> <Case Value="TRUE"> <Column HTMLEncode="TRUE" /> </Case> <Default> <HTML><![CDATA[<DIV ALIGN=RIGHT>]]></HTML> <Column HTMLEncode="TRUE" /> <HTML><![CDATA[</DIV>]]></HTML> </Default> </FieldSwitch></RenderPattern>
        <RenderPattern Name="EditPattern">
                    <HTML><![CDATA[<SCRIPT>fld = new NumberField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column HTMLEncode="TRUE" /></ScriptQuote> <HTML>);</HTML> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML>fld.wMin = "</HTML><Property Select="Min"/>     <HTML>";fld.wMax = "</HTML><Property Select="Max"/><HTML>";</HTML> <Switch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[fld.fPercent = true;]]></HTML> </Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">    
                    <HTML><![CDATA[<SCRIPT>fld = new NumberField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column HTMLEncode="TRUE" /></ScriptQuote> <HTML>);</HTML> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML>fld.wMin = "</HTML><Property Select="Min"/>     <HTML>";fld.wMax = "</HTML><Property Select="Max"/><HTML>";</HTML> <Switch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[fld.fPercent = true;]]></HTML> </Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
                    <HTML><![CDATA[<input class="ms-input" size="15" value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/>     <HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA[">&nbsp;]]></HTML> <FieldSwitch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE">%</Case> </FieldSwitch>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
                    <HTML><![CDATA[<input class="ms-input" size="15" value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/>     <HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA[">&nbsp;]]></HTML> <FieldSwitch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE">%</Case> </FieldSwitch>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">ModStat</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_modstat;</Field>
        <Field Name="InternalType">ModStat</Field>
        <Field Name="SQLType">int</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <Switch>
            <Expr><Column/></Expr>
            <Case Value="1">$Resources:core,400;</Case>
            <Case Value="2">$Resources:core,401;</Case>
            <Case Value="3">$Resources:core,403;</Case>
            <Case Value="4">$Resources:core,404;</Case>            
            <Default>$Resources:core,402;</Default>
            </Switch>
        </RenderPattern>
        <RenderPattern Name="EditPattern"><Column/></RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern"></RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<input class="ms-input" size="15" value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/>     <HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA[">&nbsp;]]></HTML> <FieldSwitch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE">%</Case> </FieldSwitch>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<input class="ms-input" size="15" value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/>     <HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA[">&nbsp;]]></HTML> <FieldSwitch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE">%</Case> </FieldSwitch>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Currency</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_curr;</Field>
        <Field Name="TypeShortDescription">$Resources:core,fldtype_curr_desc;</Field>
        <Field Name="InternalType">Currency</Field>
        <Field Name="SQLType">float</Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldCurrency</Field>        
        <Field Name="ParentType"></Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><HTML><![CDATA[<DIV ALIGN=RIGHT>]]></HTML> <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML> <HTML><![CDATA[</DIV>]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern"><FieldSwitch> <Expr><GetVar Name="FreeForm"/></Expr> <Case Value="TRUE"> <Column HTMLEncode="TRUE" /> </Case> <Default> <HTML><![CDATA[<DIV ALIGN=RIGHT>]]></HTML> <Column HTMLEncode="TRUE" /> <HTML><![CDATA[</DIV>]]></HTML> </Default> </FieldSwitch></RenderPattern>
        <RenderPattern Name="EditPattern">
            <HTML><![CDATA[<SCRIPT>fld = new NumberField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column HTMLEncode="TRUE" /></ScriptQuote> <HTML>);</HTML> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML>fld.wMin = "</HTML><Property Select="Min"/>     <HTML>";fld.wMax = "</HTML><Property Select="Max"/><HTML>";</HTML> <Switch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[fld.fPercent = true;]]></HTML> </Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
            <HTML><![CDATA[<SCRIPT>fld = new NumberField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> <HTML>,</HTML> <ScriptQuote><Column HTMLEncode="TRUE" /></ScriptQuote> <HTML>);</HTML> <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch> <HTML>fld.wMin = "</HTML><Property Select="Min"/>     <HTML>";fld.wMax = "</HTML><Property Select="Max"/><HTML>";</HTML> <Switch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[fld.fPercent = true;]]></HTML> </Case> </Switch> <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<input class="ms-input" size="15" value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/>     <HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA[">&nbsp;]]></HTML> <FieldSwitch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE">%</Case> </FieldSwitch>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<input class="ms-input" size="15" value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/>     <HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA[">&nbsp;]]></HTML> <FieldSwitch> <Expr><Property Select="Percentage"/></Expr> <Case Value="TRUE">%</Case> </FieldSwitch>
        </RenderPattern>            
    </FieldType>
    <FieldType>
        <Field Name="TypeName">DateTime</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_datetime;</Field>
        <Field Name="InternalType">DateTime</Field>
        <Field Name="SQLType">datetime</Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldDateTime</Field>        
        <Field Name="ParentType"></Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <FieldSwitch> <Expr><GetVar Name="FreeForm"/></Expr> <Case Value="TRUE"> <Column HTMLEncode="TRUE"/> </Case> <Default> <HTML><![CDATA[<NOBR>]]></HTML> <Column HTMLEncode="TRUE"/> <HTML><![CDATA[</NOBR>]]></HTML> </Default> </FieldSwitch>
	    </RenderPattern>
        <RenderPattern Name="EditPattern">
            <HTML><![CDATA[<SCRIPT>fld = new DateField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote>
		    <HTML>,</HTML><ScriptQuote><Column HTMLEncode="TRUE" /></ScriptQuote><HTML>);</HTML>
		    <Switch>
			    <Expr><Property Select="Format"/></Expr>
			    <Case Value="DateOnly">fld.fDateOnly = true;</Case>
		    </Switch>
		    <Switch>
			    <Expr><Property Select="Description"/></Expr>
			    <Case Value=""/>
			    <Default>fld.fHideDescription = true;</Default>
		    </Switch>
		    <Switch>
			    <Expr><Property Select="CalType"/></Expr>
			    <Case Value=""><HTML>fld.caltype = </HTML><ProjectProperty Select="CalendarType"/><HTML>;</HTML></Case>
			    <Default><HTML>fld.caltype = </HTML><Property Select="CalType"/><HTML>;</HTML></Default>
		    </Switch>
		    <Switch>
			    <Expr><Property Select="Direction" HTMLEncode="TRUE"/></Expr>
			    <Case Value="LTR"><HTML>fld.direction =1;</HTML></Case>
			    <Case Value="RTL"><HTML>fld.direction =2;</HTML></Case>					
		    </Switch>				
		    <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch>
		    <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
            <HTML><![CDATA[<SCRIPT>fld = new DateField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote>
            <HTML>,</HTML>
            <Switch>
                    <Expr><Property Select="Default"/></Expr>
                    <Case Value="[today]"><HTML>"</HTML><TodayISO/><HTML>"</HTML></Case>
                    <Default><ScriptQuote><Column HTMLEncode="TRUE" /></ScriptQuote></Default>
            </Switch>
            <HTML>);</HTML>
		    <Switch>
			    <Expr><Property Select="Format"/></Expr>
			    <Case Value="DateOnly">fld.fDateOnly = true;</Case>
		    </Switch>
		    <Switch>
			    <Expr><Property Select="Description"/></Expr>
			    <Case Value=""/>
			    <Default>fld.fHideDescription = true;</Default>
		    </Switch>
		    <Switch>
			    <Expr><Property Select="CalType"/></Expr>
			    <Case Value=""><HTML>fld.caltype = </HTML><ProjectProperty Select="CalendarType"/><HTML>;</HTML></Case>
			    <Default><HTML>fld.caltype = </HTML><Property Select="CalType"/><HTML>;</HTML></Default>
		    </Switch>
		    <Switch>
			    <Expr><Property Select="Direction" HTMLEncode="TRUE"/></Expr>
			    <Case Value="LTR"><HTML>fld.direction =1;</HTML></Case>
			    <Case Value="RTL"><HTML>fld.direction =2;</HTML></Case>					
		    </Switch>				
		    <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch>
		    <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<input class="ms-input" size="15" value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA["> <img class="ms-button" src="/_layouts/images/calendar.gif">]]></HTML><Switch><Expr><Property Select="Format"/></Expr><Case Value="DateOnly"/><Default><HTML><![CDATA[&nbsp;&nbsp;<select><option selected>12 AM</option></select>&nbsp;&nbsp;<select><option selected>00</option></select>]]></HTML></Default></Switch><HTML><![CDATA[<br> <span class="ms-formdescription">]]></HTML><HTML>$Resources:core,fldtypes010;</HTML><HTML><![CDATA[</span>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<input class="ms-input" size="15" value="&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes012;</HTML><HTML><![CDATA["> <img class="ms-button" src="/_layouts/images/calendar.gif">]]></HTML><Switch><Expr><Property Select="Format"/></Expr><Case Value="DateOnly"/><Default><HTML><![CDATA[&nbsp;&nbsp;<select><option selected>12 AM</option></select>&nbsp;&nbsp;<select><option selected>00</option></select>]]></HTML></Default></Switch><HTML><![CDATA[<br> <span class="ms-formdescription">]]></HTML><HTML>$Resources:core,fldtypes010;</HTML><HTML><![CDATA[</span>]]></HTML>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Lookup</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_lookup;</Field>        
        <Field Name="TypeShortDescription">$Resources:core,fldtype_lookup_desc;</Field>
        <Field Name="InternalType">Lookup</Field>
        <Field Name="SQLType">int</Field>
        <Field Name="ParentType"></Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldLookup</Field>        
        <Field Name="FieldEditorUserControl">/_controltemplates/LookupFieldEditor.ascx</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern">
            <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML>
        </RenderPattern>
        <RenderPattern Name="DisplayPattern">
        <FieldSwitch>
            <Expr>
                <Property Select="FieldRef"/>
            </Expr>
            <Case Value="">
                <FieldSwitch>
                    <Expr>
                        <Property Select="CountRelated"/>
                    </Expr>
                    <Case Value="TRUE">
                        <LookupColumn HTMLEncode="TRUE"/>
                    </Case>
                    <Default>
                        <Switch>
                            <Expr>
                                <Column/>
                            </Expr>
                            <Case Value="">
                            </Case>
                            <Default>
                                <FieldSwitch>
                                    <Expr>
                                        <Property Select="LookupType"/>
                                    </Expr>
                                    <Case Value="Computed">
                                        <LookupColumn/>
                                    </Case>
                                    <Default>                            
                                        <HTML><![CDATA[<A HREF="]]></HTML>
                                        <URL Cmd="Lookup"/>
                                        <HTML><![CDATA[">]]></HTML>
                                            <LookupColumn HTMLEncode="TRUE"/>
                                        <HTML><![CDATA[</A>]]></HTML>
                                    </Default>
                                </FieldSwitch>
                            </Default>
                        </Switch>
                    </Default>
                </FieldSwitch>
            </Case>
            <Default>
                <LookupColumn HTMLEncode="TRUE"/>
            </Default>
        </FieldSwitch>
        </RenderPattern>
        <RenderPattern Name="EditPattern">
		    <HTML><![CDATA[<SCRIPT>fld = new Field(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> 
		    <HTML><![CDATA[);</SCRIPT>]]></HTML> 
            <HTML><![CDATA[<SELECT TITLE="]]></HTML>
            <Property Select="DisplayName"/>
            <HTML><![CDATA[" TABINDEX=1 NAME="]]></HTML>
            <FieldPrefix/>
            <Property Select="Name"/>
            <HTML><![CDATA[">]]></HTML>
            <Switch>
                <Expr>
                    <Property Select="Required"/>
                </Expr>
                <Case Value="TRUE">
                </Case>
                <Default>
	                <HTML><![CDATA[<OPTION Value="">]]></HTML>
	                <HTML>$Resources:core,onetfldtypes03;</HTML>
	                <HTML><![CDATA[</OPTION>]]></HTML>
                </Default>
            </Switch>
            <SelectOptions  Len="100" MoreText="..."/>
            <HTML><![CDATA[</SELECT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
		    <HTML><![CDATA[<SCRIPT>fld = new Field(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote>
		    <HTML><![CDATA[);</SCRIPT>]]></HTML>
            <HTML><![CDATA[<SELECT TABINDEX=1 NAME="]]></HTML>
            <FieldPrefix/>
            <Property Select="Name"/>
            <HTML><![CDATA[">]]></HTML>
            <Switch>
                <Expr>
                    <Property Select="Required"/>
                </Expr>
                <Case Value="TRUE">
                </Case>
                <Default>
	                <HTML><![CDATA[<OPTION Value="">]]></HTML>
	                <HTML>$Resources:core,onetfldtypes03;</HTML>
	                <HTML><![CDATA[</OPTION>]]></HTML>
                </Default>
            </Switch>
            <SelectOptions Len="100" MoreText="..."/>
            <HTML><![CDATA[</SELECT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <Switch><Expr><Property Select="Format"/></Expr> <Case Value="RadioButtons"> <HTML><![CDATA[<table cellpadding="0" cellspacing="1">]]></HTML> <SetVar Name="_ChoiceDefault"><Property Select="Default"/></SetVar> <ForEach Select="CHOICES/CHOICE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"]]></HTML> <IfEqual><Expr1><Property Select="."/></Expr1><Expr2><GetVar Name="_ChoiceDefault"/></Expr2><Then><HTML><![CDATA[ checked]]></HTML></Then></IfEqual> <HTML><![CDATA[></td><td class="ms-RadioText" vAlign="top">]]></HTML><Property Select="." HTMLEncode="TRUE"/> <HTML><![CDATA[</td></tr>]]></HTML></ForEach> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr>]]></HTML> </Case></Switch> <HTML><![CDATA[</table>]]></HTML></Case> <Default> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<table><tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> <HTML><![CDATA[</td></tr>]]></HTML> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr></table>]]></HTML> </Case> <Default> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> </Default></Switch> </Default></Switch>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <Switch><Expr><Property Select="Format"/></Expr> <Case Value="RadioButtons"> <HTML><![CDATA[<table cellpadding="0" cellspacing="1">]]></HTML> <SetVar Name="_ChoiceDefault"><Property Select="Default"/></SetVar> <ForEach Select="CHOICES/CHOICE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"]]></HTML> <IfEqual><Expr1><Property Select="."/></Expr1><Expr2><GetVar Name="_ChoiceDefault"/></Expr2><Then><HTML><![CDATA[ checked]]></HTML></Then></IfEqual> <HTML><![CDATA[></td><td class="ms-RadioText" vAlign="top">]]></HTML><Property Select="." HTMLEncode="TRUE"/> <HTML><![CDATA[</td></tr>]]></HTML></ForEach> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr>]]></HTML> </Case></Switch> <HTML><![CDATA[</table>]]></HTML></Case> <Default> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<table><tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> <HTML><![CDATA[</td></tr>]]></HTML> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr></table>]]></HTML> </Case> <Default> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> </Default></Switch> </Default></Switch>
        </RenderPattern>            
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Boolean</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_bool;</Field>
        <Field Name="TypeShortDescription">$Resources:core,fldtype_bool_desc;</Field>
        <Field Name="InternalType">Boolean</Field>
        <Field Name="SQLType">bit</Field>
        <Field Name="ParentType"></Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldBoolean</Field>        
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern">
            <Switch>
                <Expr><Property Select="Format"/></Expr>
                <Case Value="CheckboxIconsWithHeaderIcon">
                    <HTML><![CDATA[<DIV ALIGN=CENTER>]]></HTML>
	        	    <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <HTML><![CDATA[<IMG SRC="/_layouts/images/greychk.gif" BORDER=0>]]></HTML> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><HTML><![CDATA[<IMG SRC="/_layouts/images/greychk.gif" BORDER=0>]]></HTML></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <HTML><![CDATA[<IMG SRC="/_layouts/images/greychk.gif" BORDER=0>]]></HTML> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML>
			        <HTML><![CDATA[</DIV>]]></HTML> 
                </Case>
                <Case Value="CheckboxIcons">
                    <HTML><![CDATA[<DIV ALIGN=CENTER>]]></HTML>
                    <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML>
                    <HTML><![CDATA[</DIV>]]></HTML>
                </Case>
                <Default>
                    <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML>
                </Default>
            </Switch>
        </RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <FieldSwitch>
                <Expr><Property Select="Format"/></Expr>
                <Case Value="CheckboxIcons">
 				    <IfEqual>
					    <Expr1><Column /></Expr1>
					    <Expr2>1</Expr2>
					    <Then>
						    <HTML><![CDATA[<DIV ALIGN=CENTER><IMG src="/_layouts/images/check.gif"></DIV>]]></HTML>
					    </Then>
				    </IfEqual>
                </Case>
                <Case Value="CheckboxIconsWithHeaderIcon">
 	                <IfEqual>
		                <Expr1><Column /></Expr1>
		                <Expr2>1</Expr2>
		                <Then>
			                <HTML><![CDATA[<DIV ALIGN=CENTER><IMG src="/_layouts/images/check.gif"></DIV>]]></HTML>
		                </Then>
	                </IfEqual>
                </Case>
                <Default>
                    <Switch>
                        <Expr><Column/></Expr>
                        <Case Value="1">$Resources:core,fld_yes;</Case>
                        <Case Value="0">$Resources:core,fld_no;</Case>
                    </Switch>                            
                </Default>
            </FieldSwitch>  
        </RenderPattern>
        <RenderPattern Name="EditPattern">
            <HTML><![CDATA[<SCRIPT>fld = new BooleanField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote>
        <HTML>,"</HTML><Column/><HTML>");</HTML>
        <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
            <HTML><![CDATA[<SCRIPT>fld = new BooleanField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote>
        <HTML>,"</HTML><Column/><HTML>");</HTML>
        <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<input CHECKED type="checkbox" value="ON"> <span class="ms-formdescription"> ("]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes012;</HTML><HTML><![CDATA[)<span class="ms-formdescription">]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<input CHECKED type="checkbox" value="ON"> <span class="ms-formdescription"> ("]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes012;</HTML><HTML><![CDATA[)<span class="ms-formdescription">]]></HTML>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Threading</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_threading;</Field>
        <Field Name="InternalType">Threading</Field>
        <Field Name="SQLType">varchar</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><Property HTMLEncode="TRUE" Select="DisplayName"/></RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <Column HTMLEncode="TRUE" StripWS="TRUE"/>
        </RenderPattern>
        <RenderPattern Name="EditPattern"><Column/></RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
        <HTML><![CDATA[<INPUT TYPE=HIDDEN NAME="]]></HTML>
        <FieldPrefix/><Property Select="Name"/>
        <HTML>" VALUE="</HTML>
        <Limit Len='504' StripWS="TRUE" HTMLEncode="TRUE">
            <GetVar Name='Threading' StripWS="TRUE"/>
        </Limit>
        <HTML><![CDATA[">]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern"></RenderPattern>
        <RenderPattern Name="PreviewEditPattern"></RenderPattern>
        <RenderPattern Name="PreviewNewPattern"></RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">ThreadIndex</Field>
        <Field Name="TypeDisplayName">ThreadIndex</Field>
        <Field Name="InternalType">ThreadIndex</Field>
        <Field Name="SQLType">varbinary</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><Property HTMLEncode="TRUE" Select="DisplayName"/></RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <Column HTMLEncode="TRUE" StripWS="TRUE"/>
        </RenderPattern>
        <RenderPattern Name="EditPattern"><Column/></RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern"></RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern"></RenderPattern>
        <RenderPattern Name="PreviewEditPattern"></RenderPattern>
        <RenderPattern Name="PreviewNewPattern"></RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Guid</Field>
        <Field Name="TypeDisplayName">Guid</Field> 
        <Field Name="InternalType">Guid</Field>
        <Field Name="SQLType">uniqueidentifier</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern">	
                <Column HTMLEncode="TRUE"/>
        </RenderPattern>
        <RenderPattern Name="EditPattern"><Column/></RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
        <HTML><![CDATA[<INPUT TYPE=HIDDEN NAME="]]></HTML>
        <FieldPrefix/><Property Select="Name"/>
        <HTML>" VALUE="</HTML>
        <Switch StripWS="TRUE">
            <Expr><GetVar Name='Guid' StripWS="TRUE" /></Expr>
            <Case Value="">
                <GUID/>
            </Case>
            <Default>
                <GetVar Name="Guid" StripWS="TRUE" HTMLEncode="TRUE"/>
            </Default>
        </Switch>
        <HTML><![CDATA[">]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern"></RenderPattern>
        <RenderPattern Name="PreviewEditPattern"></RenderPattern>
        <RenderPattern Name="PreviewNewPattern"></RenderPattern>          
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Computed</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_computed;</Field>
        <Field Name="InternalType">Computed</Field>
        <Field Name="ParentType"></Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldComputed</Field>        
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern">
            <Switch>
                <Expr><Property Select='Sortable'/></Expr>
                <Case Value="FALSE">
                    <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" alt="]]></HTML><Property Select='DisplayName' HTMLEncode='TRUE'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch>
                </Case>
                <Default>
                    <Switch>
                        <Expr><Property Select='Filterable'/></Expr>
                        <Case Value="FALSE">
                            <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" alt="]]></HTML><Property Select='DisplayName' HTMLEncode='TRUE'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" alt="]]></HTML><Property Select='DisplayName' HTMLEncode='TRUE'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" alt="]]></HTML><Property Select='DisplayName' HTMLEncode='TRUE'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch>
                        </Case>
                        <Default>
                            <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" alt="]]></HTML><Property Select='DisplayName' HTMLEncode='TRUE'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" alt="]]></HTML><Property Select='DisplayName' HTMLEncode='TRUE'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" alt="]]></HTML><Property Select='DisplayName' HTMLEncode='TRUE'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML>
                        </Default>
                    </Switch>
                </Default>
            </Switch>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern"><Property Select="DisplayName" HTMLEncode="TRUE"/></RenderPattern>
        <RenderPattern Name="PreviewNewPattern"><Property Select="DisplayName" HTMLEncode="TRUE"/></RenderPattern>            
    </FieldType>
    <FieldType>
        <Field Name="TypeName">File</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_file;</Field>
        <Field Name="InternalType">Lookup</Field>
        <Field Name="SQLType">uniqueidentifier</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">FALSE</Field>
        <RenderPattern Name="HeaderPattern"><Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch></RenderPattern>
        <RenderPattern Name="DisplayPattern">            
            <Switch>
                <Expr><GetVar Name="VersionNo"/></Expr>
                <Case Value="">
                <HTML><![CDATA[<a href="/]]></HTML>
	             <LookupColumn Name="FileRef" URLEncodeAsURL="TRUE"/>
	            <HTML><![CDATA[" onclick="DispDocItemEx(this, 'FALSE', 'FALSE', 'FALSE', ']]></HTML>
	            <ServerProperty Select="HtmlTrProgId"><Column Name="File_x0020_Type"/></ServerProperty>
	            <HTML><![CDATA[');">]]></HTML>
	            <Switch>
	                <Expr><LookupColumn Name="FSObjType"/></Expr>
	                <Case Value="1">
	                <LookupColumn HTMLEncode="TRUE"/>
	                </Case>
	                <Default>
	                <UrlBaseName HTMLEncode="TRUE"><LookupColumn/></UrlBaseName>
	                </Default>
	            </Switch>
	            <HTML><![CDATA[</a>]]></HTML>
                </Case>               
                <Default>
                	<Switch>
                	        <Expr><LookupColumn Name="FSObjType"/></Expr>
		                <Case Value="1">
		                <LookupColumn HTMLEncode="TRUE"/>
		                </Case>
		                <Default>
		                <UrlBaseName HTMLEncode="TRUE"><LookupColumn/></UrlBaseName>
		                </Default>
		         </Switch>
		   </Default>
            </Switch>          
        </RenderPattern>
        <RenderPattern Name="EditPattern">
            <HTML><![CDATA[<SPAN dir="ltr"><INPUT TYPE=HIDDEN NAME="owsfileref" VALUE="]]></HTML>
            <HTML>/</HTML><LookupColumn Name="FileRef" HTMLEncode="TRUE"/>
            <HTML><![CDATA[">]]></HTML>
            <HTML><![CDATA[<SCRIPT>filefld = new FilenameField(frm,"owsnewfileref",]]></HTML>
            <ScriptQuote><Property Select='DisplayName'/></ScriptQuote>
            <HTML><![CDATA[,"]]></HTML>
            <Switch>
                <Expr><LookupColumn Name="FSObjType"/></Expr>
                <Case Value="1">
                <LookupColumn/>
                <HTML><![CDATA[");filefld.fRequired=true;filefld.cchMaxLength=128;filefld.cchDisplaySize=35;filefld.stAttributes+="ID=onetidIOFile ";filefld.BuildUI();</SCRIPT>]]></HTML>
                </Case>
                <Default>
                <UrlBaseName><LookupColumn/></UrlBaseName>
                <HTML><![CDATA[");filefld.fRequired=true;filefld.cchMaxLength=128;filefld.cchDisplaySize=35;filefld.stAttributes+="ID=onetidIOFile ";filefld.BuildUI();</SCRIPT>]]></HTML>
                <Switch>
                <Expr><GetFileExtension><LookupColumn/></GetFileExtension></Expr>
                <Case Value=""/>
                <Default>
                <HTML>.</HTML><GetFileExtension HTMLEncode="TRUE"><LookupColumn/></GetFileExtension>
                </Default>
                </Switch>
                </Default>
            </Switch>
            <HTML><![CDATA[</SPAN>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
            <Switch>
                <Expr><GetVar Name="Type"/></Expr>
                <Case Value="1">
                <HTML><![CDATA[<SCRIPT>filefld = new FilenameField(frm,"owsnewfileref",]]></HTML>
                <ScriptQuote><Property Select='DisplayName'/></ScriptQuote>
                <HTML><![CDATA[,"");filefld.fRequired=true;filefld.cchMaxLength=128;filefld.stAttributes+="ID=onetidIOFile ";filefld.BuildUI();</SCRIPT>]]></HTML>
                </Case>
                <Default>                
            <HTML><![CDATA[<INPUT class="ms-fileinput" ID=onetidIOFile TABINDEX=1 TYPE=FILE size=56 NAME="]]></HTML>
            <FieldPrefix/><Property Select="Name"/>
            <HTML><![CDATA[" VALUE="" title="$Resources:core,idName;" /></TD>
            </TR>
            <TR ID=diidIOUploadMultipleLink>
            <TH class="ms-formlabel"></TH>
            <TD style="padding-left:5px" nowrap>
            <A tabindex=1 class="ms-toolbar" ACCESSKEY=U href="javascript:MultipleUploadView()" target="_self">]]></HTML>
            <HTML>$Resources:core,idUploadMul;</HTML><HTML><![CDATA[</A>
            </TD>
            </TR>
            <TR id=trUploadCtl ><TD WIDTH="100%" colspan="3">
            <DIV ID=dividMultipleView style='display:none'>
            <TABLE CELLPADDING=0 CELLSPACING=0 WIDTH="100%" HEIGHT="100%" BORDER=0>
                <TR><TD id=idUploadTD name=idUploadTD class="ms-uploadborder"  WIDTH="100%" HEIGHT="100%">
                <script>
                try 
                {
                    if(new ActiveXObject("STSUpld.UploadCtl"))
                        document.write("<OBJECT id=idUploadCtl name=idUploadCtl CLASSID=CLSID:07B06095-5687-4d13-9E32-12B4259C9813 WIDTH='100%' HEIGHT='350px'></OBJECT>");
                } catch(error){;}
                </script>
                </TD>
                <INPUT TYPE=hidden NAME="PostURL" id=PostURL VALUE="]]></HTML>
                <HttpVDir URLEncode="TRUE"/>
                <HTML><![CDATA[/_vti_bin/shtml.dll/]]></HTML>
                <PageUrl WebRel="TRUE" URLEncode="TRUE"/>
                <HTML><![CDATA["/>
                </TR>
            </TABLE>
            </DIV>]]></HTML>
                <HTML><![CDATA[<SCRIPT>fld = new Field(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote>
                <HTML><![CDATA[);fld.fRequired = true;</SCRIPT>]]></HTML>
                </Default>
            </Switch>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern"><Property Select="DisplayName" HTMLEncode="TRUE"/></RenderPattern>
        <RenderPattern Name="PreviewNewPattern"><Property Select="DisplayName" HTMLEncode="TRUE"/></RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Attachments</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_attach;</Field>
        <Field Name="InternalType">Attachments</Field>
        <Field Name="SQLType">bit</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern">
        <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <HTML><![CDATA[<IMG SRC="/_layouts/images/attachhd.gif" BORDER=0 ALT="]]></HTML><HTML>$Resources:core,fldtype_attachhdimg_alttext;</HTML><HTML><![CDATA[">]]></HTML> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><HTML><![CDATA[<IMG SRC="/_layouts/images/attachhd.gif" BORDER=0 ALT="]]></HTML><HTML>$Resources:core,fldtype_attachhdimg_alttext;</HTML><HTML><![CDATA[">]]></HTML></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <HTML><![CDATA[<IMG SRC="/_layouts/images/attachhd.gif" BORDER=0 ALT="]]></HTML><HTML>$Resources:core,fldtype_attachhdimg_alttext;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML>
        </RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <Attachments/>
        </RenderPattern>
        <RenderPattern Name="EditPattern">
            <Attachments/>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[<tr><td class="ms-formbody">]]></HTML>
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
            <HTML><![CDATA[</td></tr>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<tr><td class="ms-formbody">]]></HTML>
            <HTML><![CDATA[<input CHECKED type="checkbox" value="ON"> <span class="ms-formdescription"> ("]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes012;</HTML><HTML><![CDATA[)<span class="ms-formdescription">]]></HTML>
            <HTML><![CDATA[</td></tr>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<tr><td class="ms-formbody">]]></HTML>
            <HTML><![CDATA[<input CHECKED type="checkbox" value="ON"> <span class="ms-formdescription"> ("]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes012;</HTML><HTML><![CDATA[)<span class="ms-formdescription">]]></HTML>
            <HTML><![CDATA[</td></tr>]]></HTML>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">User</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_user;</Field>
        <Field Name="InternalType">Lookup</Field>
        <Field Name="SQLType">int</Field>
        <Field Name="ParentType"></Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldUser</Field>        
        <Field Name="FieldEditorUserControl">/_controltemplates/UserFieldEditor.ascx</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern">
        <Switch> <Expr><PresenceEnabled/><HTML>-</HTML><Property Select="ShowFieldImnHeader"/><GetVar Name="FileDialog"/></Expr> <Default> <Switch> <Expr> <Property Select="Sortable"/> </Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML> </Default> </Switch> </Default> <Case Value="TRUE-TRUE"> <Switch> <Expr> <Property Select="Filterable"/> </Expr> <Case Value="FALSE"> <HTML><![CDATA[<table cellpadding=0 cellspacing=0 dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA["><tr><td style="padding-right: 2px;"><img border="0" valign="middle" height="12" width="12" altbase="]]><![CDATA[$Resources:idPresEnabled;]]><![CDATA[" src="/_layouts/images/blank.gif" onload="IMNRegisterHeader()" id="imnhdr]]></HTML><Counter/><HTML><![CDATA["></td><td nowrap class="ms-vh">]]></HTML> <Property Select="DisplayName" HTMLEncode="TRUE"/> </Case> <Default> <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <HTML><![CDATA[<table cellpadding=0 cellspacing=0 dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA["><tr><td style="padding-right: 2px;"><img border="0" valign="middle" height="12" width="12" altbase="]]><![CDATA[$Resources:idPresEnabled;]]><![CDATA[" src="/_layouts/images/blank.gif" onload="IMNRegisterHeader()" id="imnhdr]]></HTML><Counter/><HTML><![CDATA["></td><td nowrap class="ms-vh">]]></HTML> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML> </Default> </Switch> <HTML><![CDATA[</td></tr></table>]]></HTML> </Case> </Switch>
        </RenderPattern>
        <RenderPattern Name="DisplayPattern">
        <FieldSwitch>
            <Expr>
                <Property Select="FieldRef"/>
            </Expr>
            <Case Value="">
                <Switch>
                    <Expr>
                        <Column/>
                    </Expr>
                    <Case Value="">
                        <FieldSwitch>
                            <Expr><Property Select="SuppressNameDisplay"/></Expr>
                            <Case Value="TRUE">
                                <HTML><![CDATA[<table cellpadding=0 cellspacing=0 dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA["><tr><td style="padding-right: 3px;">]]></HTML><HTML><![CDATA[ <img border="0" valign="middle" height="12" width="12" src="/_layouts/images/blank.gif" > </td></tr></table>]]></HTML>
                            </Case>
                        </FieldSwitch>
                    </Case>
                    <Default>
                        <FieldSwitch>
                            <Expr>
                                <Property Select="LookupType"/>
                            </Expr>
                            <Case Value="Computed">
                                <LookupColumn/>
                            </Case>
                            <Default>
                                <LookupColumn HTMLEncode="TRUE"/>
                            </Default>
                        </FieldSwitch>
                    </Default>
                </Switch>
            </Case>
            <Default>
                <LookupColumn  HTMLEncode="TRUE"/>
            </Default>
        </FieldSwitch>
        </RenderPattern>
        <RenderPattern Name="EditPattern">
		    <HTML><![CDATA[<SCRIPT>fld = new Field(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote> 
		    <HTML><![CDATA[);</SCRIPT>]]></HTML> 
            <HTML><![CDATA[<SELECT TABINDEX=1 NAME="]]></HTML>
            <FieldPrefix/>
            <Property Select="Name"/>
            <HTML><![CDATA[">]]></HTML>
            <Switch>
                <Expr>
                    <Property Select="Required"/>
                </Expr>
                <Case Value="TRUE">
                </Case>
                <Default>
	                <HTML><![CDATA[<OPTION Value="">]]></HTML>
	                <HTML>$Resources:core,onetfldtypes03;</HTML>
	                <HTML><![CDATA[</OPTION>]]></HTML>
                </Default>
            </Switch>
            <SelectOptions  Len="100" MoreText="..."/>
            <HTML><![CDATA[</SELECT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
		    <HTML><![CDATA[<SCRIPT>fld = new Field(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote>
		    <HTML><![CDATA[);</SCRIPT>]]></HTML>
            <HTML><![CDATA[<SELECT TABINDEX=1 NAME="]]></HTML>
            <FieldPrefix/>
            <Property Select="Name"/>
            <HTML><![CDATA[" TITLE="]]></HTML>
            <Property Select="Name"/>
            <HTML><![CDATA[">]]></HTML>
            <Switch>
                <Expr>
                    <Property Select="Required"/>
                </Expr>
                <Case Value="TRUE">
                </Case>
                <Default>
	                <HTML><![CDATA[<OPTION Value="">]]></HTML>
	                <HTML>$Resources:core,onetfldtypes03;</HTML>
	                <HTML><![CDATA[</OPTION>]]></HTML>
                </Default>
            </Switch>
            <SelectOptions Len="100" MoreText="..."/>
            <HTML><![CDATA[</SELECT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <Switch><Expr><Property Select="Format"/></Expr> <Case Value="RadioButtons"> <HTML><![CDATA[<table cellpadding="0" cellspacing="1">]]></HTML> <SetVar Name="_ChoiceDefault"><Property Select="Default"/></SetVar> <ForEach Select="CHOICES/CHOICE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"]]></HTML> <IfEqual><Expr1><Property Select="."/></Expr1><Expr2><GetVar Name="_ChoiceDefault"/></Expr2><Then><HTML><![CDATA[ checked]]></HTML></Then></IfEqual> <HTML><![CDATA[></td><td class="ms-RadioText" vAlign="top">]]></HTML><Property Select="." HTMLEncode="TRUE"/> <HTML><![CDATA[</td></tr>]]></HTML></ForEach> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr>]]></HTML> </Case></Switch> <HTML><![CDATA[</table>]]></HTML></Case> <Default> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<table><tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> <HTML><![CDATA[</td></tr>]]></HTML> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr></table>]]></HTML> </Case> <Default> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> </Default></Switch> </Default></Switch>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <Switch><Expr><Property Select="Format"/></Expr> <Case Value="RadioButtons"> <HTML><![CDATA[<table cellpadding="0" cellspacing="1">]]></HTML> <SetVar Name="_ChoiceDefault"><Property Select="Default"/></SetVar> <ForEach Select="CHOICES/CHOICE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"]]></HTML> <IfEqual><Expr1><Property Select="."/></Expr1><Expr2><GetVar Name="_ChoiceDefault"/></Expr2><Then><HTML><![CDATA[ checked]]></HTML></Then></IfEqual> <HTML><![CDATA[></td><td class="ms-RadioText" vAlign="top">]]></HTML><Property Select="." HTMLEncode="TRUE"/> <HTML><![CDATA[</td></tr>]]></HTML></ForEach> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr>]]></HTML> </Case></Switch> <HTML><![CDATA[</table>]]></HTML></Case> <Default> <Switch><Expr><Property Select="FillInChoice"/></Expr> <Case Value="TRUE"> <HTML><![CDATA[<table><tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> <HTML><![CDATA[</td></tr>]]></HTML> <HTML><![CDATA[<tr><td vAlign="top"> <input type="radio"></td><td class="ms-RadioText" vAlign="top">]]></HTML> <HTML>$Resources:core,fldtypes018;</HTML> <HTML><![CDATA[</td></tr><tr><td vAlign="top"></td><td class="ms-RadioText" vAlign="top"> <input class="ms-input" value=""></td></tr></table>]]></HTML> </Case> <Default> <HTML><![CDATA[<select><option selected>"]]></HTML>			<Property Select="DisplayName" HTMLEncode="TRUE"/>			<HTML>"$Resources:core,fldtypes012;</HTML> <HTML><![CDATA[</option></select>]]></HTML> </Default></Switch> </Default></Switch>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">URL</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_url;</Field>
        <Field Name="InternalType">URL</Field>
        <Field Name="SQLType">nvarchar</Field>
        <Field Name="SQLType2" DisplayName="SQLType2">nvarchar</Field>
        <Field Name="ParentType"></Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldUrl</Field>        
        <Field Name="ShowOnSurveyCreate">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">FALSE</Field>
        <RenderPattern Name="HeaderPattern"><Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch></RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <Switch>
                <Expr><Column/></Expr>
                <Case Value="">
                    <Column2 HTMLEncode="TRUE"/>
                </Case>
                <Default>
                <FieldSwitch>
                    <Expr><Property Select="Format"/></Expr>
                    <Case Value="Image">
                        <FieldSwitch>
                            <Expr><Property Select="Width"/></Expr>
                            <Case Value="">
                                <HTML><![CDATA[<IMG SRC="]]></HTML><Column HTMLEncode="TRUE"/><HTML>" ALT="</HTML><Column2 HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML>
                            </Case>
                            <Default>
                                <HTML><![CDATA[<IMG SRC="]]></HTML><Column HTMLEncode="TRUE"/><HTML>" ALT="</HTML><Column2 HTMLEncode="TRUE"/><HTML><![CDATA[" WIDTH="]]></HTML><Property Select="Width"/><HTML><![CDATA[" HEIGHT="]]></HTML><Property Select="Height"/><HTML><![CDATA["> ]]></HTML>
                            </Default>
                        </FieldSwitch>
                    </Case>
                    <Default>
                        <HTML><![CDATA[<A HREF="]]></HTML><Column HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML>
                        <Switch>
                            <Expr><Column2/></Expr>
                            <Case Value="">
                	       <Column HTMLEncode="TRUE"/>
               	       </Case>
                            <Default>                        
                            <Column2 HTMLEncode="TRUE"/>                  
                            </Default>
                        </Switch>
                        <HTML><![CDATA[</A>]]></HTML>
                    </Default>
                </FieldSwitch>
            </Default>
        </Switch>
        </RenderPattern>                        
        <RenderPattern Name="EditPattern">
            <HTML><![CDATA[<SCRIPT>fld = new URLField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote><HTML>,</HTML>
            <ScriptQuote><Column/></ScriptQuote><HTML>,</HTML>
            <ScriptQuote><Column2/></ScriptQuote>
            <HTML>);</HTML>
            <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch>
            <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
            <HTML><![CDATA[<SCRIPT>fld = new URLField(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote>
            <HTML>, </HTML>
		    <ScriptQuote><Column/></ScriptQuote>
		    <HTML>,</HTML>
		    <ScriptQuote><Property Select="DefaultURLDesc"/></ScriptQuote>
		    <HTML>);</HTML>
            <Switch> <Expr><Property Select="Required"/></Expr> <Case Value="TRUE">fld.fRequired = true;</Case> </Switch>
            <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<p><span class="ms-formdescription">]]></HTML><HTML>$Resources:core,fldtypes110;</HTML><HTML><![CDATA[(<a href="about:blank">]]></HTML><HTML>$Resources:core,fldtypes120;</HTML><HTML><![CDATA[</a>)<br></span> <input class="ms-long" value="]]></HTML><HTML>$Resources:core,fldtypes111;</HTML><HTML><![CDATA[&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes1110;</HTML><HTML><![CDATA[" size="20"><br> <span class="ms-formdescription">]]></HTML><HTML>$Resources:core,fldtypes130;</HTML><HTML><![CDATA[<br></span> <input class="ms-long" size="20" value="]]></HTML><HTML>$Resources:core,fldtypes112;</HTML><HTML><![CDATA[&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes1110;</HTML><HTML><![CDATA["><br>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<p><span class="ms-formdescription">]]></HTML><HTML>$Resources:core,fldtypes110;</HTML><HTML><![CDATA[(<a href="about:blank">]]></HTML><HTML>$Resources:core,fldtypes120;</HTML><HTML><![CDATA[</a>)<br></span> <input class="ms-long" value="]]></HTML><HTML>$Resources:core,fldtypes111;</HTML><HTML><![CDATA[&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes1110;</HTML><HTML><![CDATA[" size="20"><br> <span class="ms-formdescription">]]></HTML><HTML>$Resources:core,fldtypes130;</HTML><HTML><![CDATA[<br></span> <input class="ms-long" size="20" value="]]></HTML><HTML>$Resources:core,fldtypes112;</HTML><HTML><![CDATA[&quot;]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML><![CDATA[&quot;]]></HTML><HTML>$Resources:core,fldtypes1110;</HTML><HTML><![CDATA["><br>]]></HTML> 
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Calculated</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_calc;</Field>
        <Field Name="TypeShortDescription">$Resources:core,fldtype_calc_desc;</Field>
        <Field Name="InternalType">Calculated</Field>
        <Field Name="SQLType">sql_variant</Field>
        <Field Name="ParentType"></Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldCalculated</Field>        
        <Field Name="ShowOnSurveyCreate">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern">
            <Switch>
                <Expr><Property Select="ResultType"/></Expr>
                <Case Value="Number">
                    <HTML><![CDATA[<DIV ALIGN=RIGHT>]]></HTML> <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML> <HTML><![CDATA[</DIV>]]></HTML>                    
                </Case> 
                <Case Value="Currency">
                    <HTML><![CDATA[<DIV ALIGN=RIGHT>]]></HTML> <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML> <HTML><![CDATA[</DIV>]]></HTML>                    
                </Case> 
                <Default>
                    <Switch> 
				<Expr>
					<Property Select='Filterable'/>
				</Expr> 
				<Case Value="FALSE"> 
				</Case> 
				<Default> 
					<Switch> 
						<Expr>
							<GetVar Name='Filter'/>
						</Expr> 
						<Case Value='1'> 
							<HTML><![CDATA[<SELECT ID="diidFilter]]></HTML>
							<Property Select='Name'/>
							<HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML>
                </Default>
            </Switch>
        </RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <Switch>
              <Expr>
                <GetFileExtension>
                  <Column/>
                </GetFileExtension>
              </Expr>
              <Case Value="giF">
                <HTML><![CDATA[<IMG SRC="]]></HTML>
                <Column HTMLEncode="TRUE"/>
                <HTML>"</HTML>
              </Case>
              <Default>
                <Column HTMLEncode="TRUE" AutoHyperLink="TRUE" AutoNewLine="TRUE"/>
              </Default>
            </Switch>
            <FieldSwitch>
                <Expr><Property Select="ResultType"/></Expr>
                <Case Value="Boolean">
                    <Column HTMLEncode="TRUE" />
                </Case>    
                <Case Value="Number">
		    	    <FieldSwitch> <Expr><GetVar Name="FreeForm"/></Expr> <Case Value="TRUE"> <Column HTMLEncode="TRUE" /> </Case> <Default> <HTML><![CDATA[<DIV ALIGN=RIGHT>]]></HTML> <Column HTMLEncode="TRUE" /> <HTML><![CDATA[</DIV>]]></HTML> </Default> </FieldSwitch>             
                </Case> 
                <Case Value="Currency">
				    <FieldSwitch> <Expr><GetVar Name="FreeForm"/></Expr> <Case Value="TRUE"> <Column HTMLEncode="TRUE" /> </Case> <Default> <HTML><![CDATA[<DIV ALIGN=RIGHT>]]></HTML> <Column HTMLEncode="TRUE" /> <HTML><![CDATA[</DIV>]]></HTML> </Default> </FieldSwitch>         
                </Case> 
                <Case Value="DateTime">
				    <FieldSwitch>
                  <Expr>
                    <GetVar Name="FreeForm"/>
                  </Expr> <Case Value="TRUE"> <Column HTMLEncode="TRUE"/> 
                  </Case> 
              <Default> 
                <HTML><![CDATA[<NOBR>]]></HTML> 
                <Column HTMLEncode="TRUE"/> 
                <HTML><![CDATA[</NOBR>]]></HTML> 
              </Default> 
            </FieldSwitch>                    
                </Case> 
                <Default>
                    <Column HTMLEncode="TRUE" AutoHyperLink="TRUE" AutoNewLine="TRUE"/>
                </Default>
            </FieldSwitch>
        </RenderPattern>
        <RenderPattern Name="EditPattern"></RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern"></RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <Column HTMLEncode="TRUE" />
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern"></RenderPattern>
        <RenderPattern Name="PreviewNewPattern"></RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">Recurrence</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_recur;</Field>
        <Field Name="InternalType">Recurrence</Field>
        <Field Name="SQLType">bit</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern">
            <Switch>
                <Expr><Property Select='Sortable'/></Expr>
                <Case Value="FALSE">
                    <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" alt="]]></HTML><Property Select='DisplayName' HTMLEncode='TRUE'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch>
                </Case>
                <Default>
                    <Switch>
                        <Expr><Property Select='Filterable'/></Expr>
                        <Case Value="FALSE">
                            <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch>
                        </Case>
                        <Default>
                            <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML>
                        </Default>
                    </Switch>
                </Default>
            </Switch>
        </RenderPattern>
        <RenderPattern Name="DisplayPattern">
            <FieldSwitch>
                <Expr><InForm/></Expr>
                <Case Value="FALSE">
                    <FieldSwitch>
                        <Expr><Property Select='DisplayImage'/></Expr>
                        <Case Value="">
                            <Switch>
                                <Expr><Column/></Expr>
                                <Case Value="1">$Resources:core,fld_yes;</Case>
                                <Default>$Resources:core,fld_no;</Default>
                            </Switch>                            
                        </Case>
                        <Default>
                            <HTML><![CDATA[<IMG border=0 width=16 height=16 SRC="/_layouts/images/]]></HTML>
                            <Switch>
                                <Expr><Column/></Expr>
                                <Case Value="1">
                                  <Switch>
                                      <Expr><LookupColumn Name="EventType"/></Expr>
                                      <Case Value="3">
                                         <Property Select='ExceptionImage' URLEncode="TRUE"/>
		                         <HTML><![CDATA[" ALT="]]></HTML>
                                         <HTML>$Resources:core,fldtype_recurexceptimg_alttext;</HTML>
                                      </Case>
                                      <Case Value="4">
                                         <Property Select='ExceptionImage' URLEncode="TRUE"/>
		                         <HTML><![CDATA[" ALT="]]></HTML>
                                         <HTML>$Resources:core,fldtype_recurexceptimg_alttext;</HTML>
                                      </Case>
                                      <Default>
                                         <Property Select='DisplayImage' URLEncode="TRUE"/>
		                         <HTML><![CDATA[" ALT="]]></HTML>
                                         <HTML>$Resources:core,fldtype_recurimg_alttext;</HTML>
                                     </Default>
                                  </Switch>
                                </Case>
                               <Default><HTML><![CDATA[blank.gif]]></HTML></Default>
                            </Switch>                            
                   <HTML><![CDATA[">]]></HTML>
                        </Default>
                    </FieldSwitch>
                </Case>
                <Default><Recurrence/></Default>
            </FieldSwitch>
        </RenderPattern>
        <RenderPattern Name="EditPattern">
            <HTML><![CDATA[<SCRIPT>fld = new RecurrencePattern(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote>
		    <HTML><![CDATA[);]]></HTML>
		    <Recurrence/>
		    <HTML>fld.todayiso = "</HTML><TodayISO/><HTML>";</HTML>
		    <Switch>
			    <Expr><Property Select="CalType"/></Expr>
			    <Case Value=""><HTML>fld.caltype = </HTML><ProjectProperty Select="CalendarType"/><HTML>;</HTML></Case>
			    <Default><HTML>fld.caltype = </HTML><Property Select="CalType"/><HTML>;</HTML></Default>
		    </Switch>				
            <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
            <HTML><![CDATA[<SCRIPT>fld = new RecurrencePattern(frm,]]></HTML> <ScriptQuote><Property Select="Name"/></ScriptQuote><HTML>,</HTML> <ScriptQuote><Property Select="DisplayName"/></ScriptQuote>
		    <HTML><![CDATA[);]]></HTML>
		    <Recurrence/>
		    <HTML>fld.todayiso = "</HTML><TodayISO/><HTML>";</HTML>
		    <Switch>
			    <Expr><Property Select="CalType"/></Expr>
			    <Case Value=""><HTML>fld.caltype = </HTML><ProjectProperty Select="CalendarType"/><HTML>;</HTML></Case>
			    <Default><HTML>fld.caltype = </HTML><Property Select="CalType"/><HTML>;</HTML></Default>
		    </Switch>				
            <HTML><![CDATA[fld.IMEMode="]]></HTML>      <Switch>       <Expr><Property Select="Type"/></Expr>       <Case Value="Lookup"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="DateTime"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="GridChoice"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Calculated"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Currency"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Number"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="User"><HTML><![CDATA[inactive]]></HTML></Case>       <Case Value="Boolean"><HTML><![CDATA[inactive]]></HTML></Case>       <Default><Property Select="IMEMode" HTMLEncode="TRUE"/></Default>     </Switch>     <HTML><![CDATA[";]]></HTML> <HTML><![CDATA[fld.BuildUI();</SCRIPT>]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<input CHECKED type="checkbox" value="ON"> <span class="ms-formdescription"> ("]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes012;</HTML><HTML><![CDATA[)<span class="ms-formdescription">]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<input CHECKED type="checkbox" value="ON"> <span class="ms-formdescription"> ("]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes012;</HTML><HTML><![CDATA[)<span class="ms-formdescription">]]></HTML>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">CrossProjectLink</Field>
        <Field Name="TypeDisplayName">$Resources:core,Cross_Project_Link</Field>
        <Field Name="InternalType">CrossProjectLink</Field>
        <Field Name="SQLType">bit</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern">
            <Switch>
                <Expr><Property Select='Sortable'/></Expr>
                <Case Value="FALSE">
                    <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" alt="]]></HTML><Property Select='DisplayName' HTMLEncode='TRUE'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch>
                </Case>
                <Default>
                    <Switch>
                        <Expr><Property Select='Filterable'/></Expr>
                        <Case Value="FALSE">
                            <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch>
                        </Case>
                        <Default>
                            <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Switch> <Expr><Property Select='HeaderImage'/></Expr> <Case Value=""><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<IMG id="diidHeaderImage]]></HTML><Property Select='Name'/><HTML><![CDATA[" SRC="/_layouts/images/]]></HTML><Property Select='HeaderImage' URLEncode="TRUE"/><HTML><![CDATA[" width=16 height=16 BORDER=0>]]></HTML></Default> </Switch> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML>
                        </Default>
                    </Switch>
                </Default>
            </Switch>
        </RenderPattern>
        <RenderPattern Name="DisplayPattern">
		    <CrossProjectLink/>
        </RenderPattern>
        <RenderPattern Name="EditPattern">
		    <CrossProjectLink/>
        </RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern">
		    <CrossProjectLink/>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML><![CDATA[["]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes011;</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML><![CDATA[<input CHECKED type="checkbox" value="ON"> <span class="ms-formdescription"> ("]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes012;</HTML><HTML><![CDATA[)<span class="ms-formdescription">]]></HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML><![CDATA[<input CHECKED type="checkbox" value="ON"> <span class="ms-formdescription"> ("]]></HTML><Property Select="DisplayName" HTMLEncode="TRUE"/><HTML>"$Resources:core,fldtypes012;</HTML><HTML><![CDATA[)<span class="ms-formdescription">]]></HTML>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">ContentTypeId</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_ctypeid;</Field>
        <Field Name="InternalType">ContentTypeId</Field>
        <Field Name="SQLType">varbinary</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">FALSE</Field>
        <Field Name="Filterable">FALSE</Field>
        <RenderPattern Name="HeaderPattern">
            <HTML>ContentTypeId</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML>ContentTypeId not visible</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML>ContentTypeId not visible</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML>ContentTypeId not visible</HTML>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">MultiColumn</Field>
        <Field Name="ParentType">Note</Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">FALSE</Field>
        <Field Name="Filterable">FALSE</Field>
        <RenderPattern Name="DisplayPattern">
            <Switch>
                <Expr><Column/></Expr>
                <Case Value="">
                </Case>
                <Default>
                    <Column SubColumnNumber="0" HTMLEncode="TRUE"/>
                </Default>
            </Switch>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">LookupMulti</Field>
        <Field Name="ParentType">Lookup</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_lookup;</Field>        
        <Field Name="TypeShortDescription">$Resources:core,fldtype_lookup_desc;</Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">FALSE</Field>
        <Field Name="Filterable">TRUE</Field>
   </FieldType>
    <FieldType>
        <Field Name="TypeName">UserMulti</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_user;</Field>
        <Field Name="ParentType">LookupMulti</Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">FALSE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern">
        <Switch> <Expr><PresenceEnabled/><HTML>-</HTML><Property Select="ShowFieldImnHeader"/><GetVar Name="FileDialog"/></Expr> <Default> <Switch> <Expr> <Property Select="Sortable"/> </Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML> </Default> </Switch> </Default> <Case Value="TRUE-TRUE"> <Switch> <Expr> <Property Select="Filterable"/> </Expr> <Case Value="FALSE"> <HTML><![CDATA[<table cellpadding=0 cellspacing=0 dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA["><tr><td style="padding-right: 2px;"><img border="0" valign="middle" height="12" width="12" altbase="]]><![CDATA[$Resources:idPresEnabled;]]><![CDATA[" src="/_layouts/images/blank.gif" onload="IMNRegisterHeader()" id="imnhdr]]></HTML><Counter/><HTML><![CDATA["></td><td nowrap class="ms-vh">]]></HTML> <Property Select="DisplayName" HTMLEncode="TRUE"/> </Case> <Default> <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <HTML><![CDATA[<table cellpadding=0 cellspacing=0 dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA["><tr><td style="padding-right: 2px;"><img border="0" valign="middle" height="12" width="12" altbase="]]><![CDATA[$Resources:idPresEnabled;]]><![CDATA[" src="/_layouts/images/blank.gif" onload="IMNRegisterHeader()" id="imnhdr]]></HTML><Counter/><HTML><![CDATA["></td><td nowrap class="ms-vh">]]></HTML> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML> </Default> </Switch> <HTML><![CDATA[</td></tr></table>]]></HTML> </Case> </Switch>
        </RenderPattern>        
    </FieldType>
    <FieldType>
        <Field Name="TypeName">WorkflowStatus</Field>
        <Field Name="TypeDisplayName">Workflow Status</Field>
        <Field Name="InternalType">WorkflowStatus</Field>
        <Field Name="SQLType">nvarchar</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern"><WorkflowStatus /></RenderPattern>
        <RenderPattern Name="EditPattern"></RenderPattern>
        <RenderPattern Name="NewPattern"></RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern">
            <HTML>WorkflowStatus not visible</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewEditPattern">
            <HTML>WorkflowStatus not visible</HTML>
        </RenderPattern>
        <RenderPattern Name="PreviewNewPattern">
            <HTML>WorkflowStatus not visible</HTML>
        </RenderPattern>
    </FieldType>
     <FieldType>
        <Field Name="TypeName">AllDayEvent</Field>
        <Field Name="TypeDisplayName">$Resources:core,All_Day_Event;</Field>
        <Field Name="InternalType">AllDayEvent</Field>
        <Field Name="SQLType">bit</Field>
        <Field Name="ParentType"></Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern">
	     <Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML>
        </RenderPattern>
        <RenderPattern Name="DisplayPattern">
             <Default>
                 <Switch>
                   <Expr><Column/></Expr>
                     <Case Value="1">$Resources:core,fld_yes;</Case>
                 </Switch>                            
             </Default>
        </RenderPattern>
        <RenderPattern Name="EditPattern"></RenderPattern>
        <RenderPattern Name="NewPattern" DisplayName="NewPattern"></RenderPattern>
        <RenderPattern Name="PreviewDisplayPattern"></RenderPattern>
        <RenderPattern Name="PreviewEditPattern"></RenderPattern>
        <RenderPattern Name="PreviewNewPattern"></RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">WorkflowEventType</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_workfloweventtype;</Field>
        <Field Name="ParentType">Integer</Field>
        <Field Name="UserCreatable">FALSE</Field>
        <Field Name="Sortable">TRUE</Field>
        <Field Name="Filterable">TRUE</Field>
        <RenderPattern Name="HeaderPattern"><Switch> <Expr><Property Select='Filterable'/></Expr> <Case Value="FALSE"> </Case> <Default> <Switch> <Expr><GetVar Name='Filter'/></Expr> <Case Value='1'> <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML><Property Select='Name'/><HTML>                  <![CDATA[" TITLE=]]></HTML><HTML>"$Resources:core,501;</HTML>                 <Property Select='DisplayName' HTMLEncode='TRUE'/>                <HTML><![CDATA[" OnChange='FilterField("]]></HTML><GetVar Name="View"/><HTML><![CDATA[",]]></HTML><ScriptQuote><Property Select='Name' URLEncode="TRUE"/></ScriptQuote><HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML><Property Select="Direction" HTMLEncode="TRUE"/><HTML><![CDATA[">]]></HTML> <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions> <HTML><![CDATA[</SELECT><BR>]]></HTML> </Case> </Switch> </Default> </Switch> <Switch> <Expr><Property Select='Sortable'/></Expr> <Case Value="FALSE"> <Property Select='DisplayName' HTMLEncode="TRUE"/> </Case> <Default> <Switch><Expr><GetVar Name='SortDisable'/></Expr> <Case Value='TRUE'><Property Select='DisplayName' HTMLEncode="TRUE"/></Case> <Default><HTML><![CDATA[<A ID="diidSort]]></HTML><Property Select='Name'/><HTML>        <![CDATA[" onfocus="OnFocusFilter(this)" TITLE=]]></HTML><HTML>"$Resources:core,500;</HTML>        <Property Select='DisplayName' HTMLEncode='TRUE'/>        <HTML><![CDATA[" HREF="javascript:" OnClick="javascript:return OnClickFilter(this,event);" ]]></HTML> <HTML><![CDATA[ SORTINGFIELDS="]]></HTML><FieldSortParams HTMLEncode="TRUE"/>         <HTML><![CDATA[">]]></HTML> <Property Select='DisplayName' HTMLEncode="TRUE"/> <HTML><![CDATA[<img src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1 height=1 alt="]]></HTML><HTML>$Resources:OpenMenuKeyAccessible;</HTML><HTML><![CDATA[">]]></HTML> <HTML><![CDATA[</A><IMG SRC="]]></HTML><FieldSortImageURL/><HTML><![CDATA[" ALT="]]></HTML>         <Switch><Expr><GetVar Name='SortDir'/></Expr>             <Case Value='Asc'><HTML>$Resources:core,150;</HTML></Case>             <Case Value='Desc'><HTML>$Resources:core,151;</HTML></Case>             <Default><HTML></HTML></Default>         </Switch>         <HTML><![CDATA[" BORDER=0>]]></HTML> </Default> </Switch> </Default> </Switch> <HTML><![CDATA[<IMG SRC="]]></HTML><FieldFilterImageURL/><HTML><![CDATA[" BORDER=0 ALT="">]]></HTML></RenderPattern>
        <RenderPattern Name="DisplayPattern">         
            <Switch>
            <Expr><Column/></Expr>
            <Case Value="1">$Resources:core,fldtype_workflowevent_1;</Case>
            <Case Value="2">$Resources:core,fldtype_workflowevent_2;</Case>
            <Case Value="3">$Resources:core,fldtype_workflowevent_3;</Case>
            <Case Value="4">$Resources:core,fldtype_workflowevent_4;</Case>
            <Case Value="5">$Resources:core,fldtype_workflowevent_5;</Case>
            <Case Value="6">$Resources:core,fldtype_workflowevent_6;</Case>
            <Case Value="7">$Resources:core,fldtype_workflowevent_7;</Case>
            <Case Value="8">$Resources:core,fldtype_workflowevent_8;</Case>
            <Case Value="9">$Resources:core,fldtype_workflowevent_9;</Case>
            <Case Value="10">$Resources:core,fldtype_workflowevent_10;</Case>
            <Default>$Resources:core,fldtype_workflowevent_other;</Default>
            </Switch>
        </RenderPattern>
    </FieldType>
    <FieldType>
        <Field Name="TypeName">PageSeparator</Field>
        <Field Name="TypeDisplayName">$Resources:core,fldtype_pagesep;</Field>
        <Field Name="TypeShortDescription">$Resources:core,fldtype_pagesep_desc;</Field>
        <Field Name="InternalType">PageSeparator</Field>
        <Field Name="ParentType"></Field>
        <Field Name="FieldTypeClass">Microsoft.SharePoint.SPFieldPageSeparator</Field>        
        <Field Name="ShowOnListCreate">FALSE</Field>
        <Field Name="ShowOnDocumentLibraryCreate">FALSE</Field>
        <Field Name="ShowOnColumnTemplateCreate">FALSE</Field>
        <Field Name="Sortable">FALSE</Field>
        <Field Name="Filterable">FALSE</Field>
        <RenderPattern Name="HeaderPattern">
        </RenderPattern>
        <RenderPattern Name="DisplayPattern">
        </RenderPattern>
    </FieldType>
</FieldTypes>

