<commit_before>%%NOESCAPE_enterer_authorizer_lists%%

<script src="/JavaScripts/tabs.js" language="JavaScript" type="text/javascript"></script>                                                                   
<script language="JavaScript" type="text/javascript">
<!-- Begin

function globalClick ( ) {

	var frm = document.forms[0];

	if ( frm.global.checked ) {
		// Uncheck all continents
		frm.Africa.checked = false;
		frm.Antarctica.checked = false;
		frm.Asia.checked = false;
		frm.Australia.checked = false;
		frm.Europe.checked = false;
		frm.elements['North America'].checked = false;
		frm.elements['South America'].checked = false;

		frm.elements['paleo Australia'].checked = false;
		frm.Avalonia.checked = false;
		frm.Baltoscandia.checked = false;
		frm.Kazakhstania.checked = false;
		frm.Laurentia.checked = false;
		frm.Mediterranean.checked = false;
		frm.elements['North China'].checked = false;
		frm.Precordillera.checked = false;
		frm.Siberia.checked = false;
		frm.elements['paleo South America'].checked = false;
		frm.elements['South China'].checked = false;
	}
}

function continentClick ( ) {

	var frm = document.forms[0];

	if (	frm.Africa.checked || 
			frm.Antarctica.checked || 
			frm.Asia.checked || 
			frm.Australia.checked || 
			frm.Europe.checked || 
			frm.elements['North America'].checked || 
			frm.elements['South America'].checked ||

			frm.elements['paleo Australia'].checked || 
			frm.Avalonia.checked || 
			frm.Baltoscandia.checked || 
			frm.Kazakhstania.checked || 
			frm.Laurentia.checked || 
			frm.Mediterranean.checked || 
			frm.elements['North China'].checked || 
			frm.Precordillera.checked || 
			frm.Siberia.checked || 
			frm.elements['paleo South America'].checked ||
			frm.elements['South China'].checked  ) {
		frm.global.checked = false;
	} else {
		// At least one must be checked, or hit the global
		frm.global.checked = true;
	}
}

function countryChange() {
	var frm = document.forms[0];

	if (frm.country.value != "") {
		frm.global.checked = true;
		globalClick();
	}
}

//  End -->
</script>


<div align="center"><h2>Download request form</h2></div>

<form method=post action="bridge.pl">
<input id="action" type=hidden name="action" value="displayDownloadResults">


<div align=center>
  <table cellpadding=0 cellspacing=0 border=0 width=600><tr>
    <td id="tab1" class="tabOff" style="white-space: nowrap;"
      onClick="showPanel(1);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(1)">Basic options</td>
    <td id="tab2" class="tabOff" style="white-space: nowrap;"
      onClick="showPanel(2);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(2)">Included collections</td>
    <td id="tab3" class="tabOff" style="white-space: nowrap;"
      onClick = "showPanel(3);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(3)">Included occurrences</td>
    <td id="tab4" class="tabOff" style="white-space: nowrap;"
      onClick = "showPanel(4);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(4)">Collection fields</td>
    <td id="tab5" class="tabOff" style="white-space: nowrap;"
      onClick = "showPanel(5);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(5)">Occurrence fields</td>
    <td id="tab6" class="tabOff" style="white-space: nowrap;"
      onClick = "showPanel(6);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(6)">Specimen fields</td>
  </tr></table>
</div>
             

<div id="panel1" class="panel"> 

<center><h3>Basic options</h3></center>

<p>This form allows you to download a file that includes selected taxonomic names, occurrences, collections, or specimens. Page through the six tabs below and select the options you want before hitting "Create data set".  To compute a diversity curve, you need to check off either "period," "epoch," "Cenozoic subepoch," or "10 m.y. bin" in the "Collection fields" part of the form.</p> 

<table width="100%" cellpadding="3" cellspacing="0">

<tr class="lightGrey">
  <td valign=top class="small">
    Your name (optional):
  </td>
  <td>
    <input name="yourname" size=20>
  </td>
</tr>

<tr>
  <td valign=top class="small">
    Output data:
  </td>
  <td>
    <select name="output_data">
      <option value="occurrences">occurrences</option>
      <option value="genera">genera</option>
      <option value="species">species</option>
      <option value="collections">collections</option>
      <option value="specimens">specimens</option>
    </select>
  </td>
</tr>  

<tr class="lightGrey">
<td valign=top class="small">Output format:</td>
<td valign=top class="small"><select name=output_format>
<option selected value="csv">comma-delimited text</option>
<option value="tab">tab-delimited text</option>
<option value="CONJUNCT">CONJUNCT</option>
</select>
</td></tr>


<tr>
<td valign=top class="small">Data authorizer:</td>
<td valign="bottom">
<input name="authorizer_reversed" size=22 onKeyUp="doComplete(event, this, authorizerNames());">
</td>
</tr>

<tr class="lightGrey">
<td valign=top class="small">Research group or project
    <select name="research_group_restricted_to">
        <option value="0">includes</option>
        <option value="1">is restricted to</option>
    </select>:
</td>  
<td valign=top class="small">
<select id="research_group">
</select>
</td></tr>


<tr>
<td valign=top class="small" nowrap>Use data records created 
<select name="created_before_after">
<option selected>before</option>
<option>after</option>
</select>:
</td>
<td>
<select name="date">
<option selected></option>
<script language="JavaScript" type="text/javascript">fillDays();</script>
</select>
<select name="month">
<option selected></option>
<script language="JavaScript" type="text/javascript">fillMonths();</script>
</select>
<select name="year">
<option selected></option>
<script language="JavaScript" type="text/javascript">fillYears();</script>
</select>
</td>
</tr>

<tr class="lightGrey">
<td valign=top class="small" nowrap>Use occurrences published 
<select name="published_before_after">
<option>before</option>
<option selected>after</option>
</select>:
</td>
<td class="small">
<input name="pubyr" size=6>
</td>
</tr>

<tr>
<td valign=top class="small">If you only want lists from one time span, enter the oldest and youngest intervals <small><i>(by name or by age in Ma)</i></small>:</td>
<td valign=top class="small">
<input name=max_interval_name size=20> - <input name=min_interval_name size=20>
</td></tr>

<tr>
<td valign=top class="small">... or if you want to get counts of occurrences and genera by temporal bin, select a time scale:</td>
<td valign=top class="small">
%%time scale%%
</td></tr>

<tr>
<td valign=top class="small">If you selected a scale, you must select a field to be tallied:<br>
<small><i>If you pick "ecology," you must select ecology categories in the "Occurrence fields" section.</i></small></td>
<td valign=top class="small">
<select name=binned_field>
<option>
<option>ecology
<option value="plant_organ">plant organ
<option value="plant_organ2">plant organ2
<option>country
<option value="geogscale">geog scale
<option value="stratscale">strat scale
<option value="lithology1">lithology 1
<option value="lithology2">lithology 2
<option>environment
<option value="tectonic_setting">tectonic setting
<option value="assembl_comps">assemblage components
<option value="temporal_resolution">temporal resolution
<option value="spatial_resolution">spatial resolution
<option value="collection_type">collection purpose
</select>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Name of taxon or taxa <small><i>(genus or higher rank)</i></small>:</td>
<td valign=top class="small">
<textarea name=taxon_name rows=2 cols=40></textarea></td></tr>
</table>
<p align=center>
<input type=submit value="Create data set">
</p>
</div>



<div id="panel2" class="panel"> 

<center><h3>Included collections options</h3></center>

<table width="100%" cellpadding="3" cellspacing="0">

<tr class="lightGrey">
<td valign=top class="small">Lithification of primary lithology:</td>
<td valign=top class="small" colspan=3>
<input type=checkbox name="lithification_lithified" value="YES" checked>lithified
<input type=checkbox name="lithification_poorly_lithified" value="YES" checked>poorly lithified
<input type=checkbox name="lithification_unlithified" value="YES" checked>unlithified
<input type=checkbox name="lithification_unknown" value="YES" checked>unknown
</td></tr>

<tr>
<td valign=top class="small">Select lithologies:</td>
<td valign=top class="small" colspan=3>
<input type=checkbox name="lithology_carbonate" value="YES" checked>carbonate
<input type=checkbox name="lithology_mixed" value="YES" checked>mixed
<input type=checkbox name="lithology_siliciclastic" value="YES" checked>siliciclastic
<input type=checkbox name="lithology_unknown" value="YES" checked>unknown
</td></tr>

<tr>
<td valign=top class="small" nowrap> ... or 
<select name="include_exclude_lithology1">
<option>include</option>
<option>exclude</option>
</select> a single lithology:</td>
<td valign=top class="small" colspan=3>
<select id="lithology1"></select>
</td></tr>


<tr class="lightGrey">
<td valign=middle class="small">Select environments:</td>
<td valign=top class="small" colspan=3>
<input type=checkbox name="environment_carbonate" value="YES" checked>carbonate
<input type=checkbox name="environment_siliciclastic" value="YES" checked>siliciclastic
<input type=checkbox name="environment_terrestrial" value="YES" checked>terrestrial
<input type=checkbox name="environment_unknown" value="YES" checked>unknown
</td></tr>

<tr class="lightGrey">
<td valign=top class="small" nowrap> ... or 
<select name="include_exclude_environment">
<option>include</option>
<option>exclude</option>
</select>a single environment:</td>
<td valign=top class="small" colspan=3>
<select id="environment"></select>
</td></tr>

<tr>
<td valign=top class="small">Select continents or paleocontinents:</td>

<td valign=top class="small" colspan=3>
<table><tr><td class="small">
<p><input type=checkbox name="global" value="YES" checked onClick="globalClick();"><i>global</i></p>

<p>
<span style="white-space: nowrap"><input type=checkbox name="Africa" value="YES" onClick="continentClick();">Africa</span>
<span style="white-space: nowrap"><input type=checkbox name="Antarctica" value="YES" onClick="continentClick();">Antarctica</span>
<span style="white-space: nowrap"><input type=checkbox name="Asia" value="YES" onClick="continentClick();">Asia</span>
<span style="white-space: nowrap"><input type=checkbox name="Australia" value="YES" onClick="continentClick();">Australia</span>
<span style="white-space: nowrap"><input type=checkbox name="Europe" value="YES" onClick="continentClick();">Europe</span>
<span style="white-space: nowrap"><input type=checkbox name="North America" value="YES" onClick="continentClick();">North America</span>
<span style="white-space: nowrap"><input type=checkbox name="South America" value="YES" onClick="continentClick();">South America</span>
</p>

<p>
<span style="white-space: nowrap"><input type=checkbox name="paleo Australia" value="YES" onClick="continentClick();">Australia (paleocontinent)</span>
<span style="white-space: nowrap"><input type=checkbox name="Avalonia" value="YES" onClick="continentClick();">Avalonia</span>
<span style="white-space: nowrap"><input type=checkbox name="Baltoscandia" value="YES" onClick="continentClick();">Baltoscandia</span>
<span style="white-space: nowrap"><input type=checkbox name="Kazakhstania" value="YES" onClick="continentClick();">Kazakhstania</span>
<span style="white-space: nowrap"><input type=checkbox name="Laurentia" value="YES" onClick="continentClick();">Laurentia</span>
<span style="white-space: nowrap"><input type=checkbox name="Mediterranean" value="YES" onClick="continentClick();">Mediterranean</span>
<span style="white-space: nowrap"><input type=checkbox name="North China" value="YES" onClick="continentClick();">North China</span>
<span style="white-space: nowrap"><input type=checkbox name="Precordillera" value="YES" onClick="continentClick();">Precordillera</span>
<span style="white-space: nowrap"><input type=checkbox name="Siberia" value="YES" onClick="continentClick();">Siberia</span>
<span style="white-space: nowrap"><input type=checkbox name="paleo South America" value="YES" onClick="continentClick();">South America (paleocontinent)</span>
<span style="white-space: nowrap"><input type=checkbox name="South China" value="YES" onClick="continentClick();">South China</span>
</p>
</td></tr></table>
</td></tr>

<tr>
<td valign=top class="small" nowrap>... or 
<select name="include_exclude_country">
<option>include</option>
<option>exclude</option>
</select>a single country:</td>
<td valign=top class="small" colspan=3>
<select id="country" onChange="countryChange()"></select>
</td>

<tr class="lightGrey">
<td valign=top class="small">Latitudinal range:</td>
<td valign=top class="small">
<input name="latmin1" size="4" value="-90">&deg; to
<input name="latmax1" size="4" value="90">&deg;
</td>
<td valign=top class="small">Additional latitudinal range:</td>
<td valign=top class="small">
<input name="latmin2" size="4" value="-90">&deg; to
<input name="latmax2" size="4" value="90">&deg;
</td>
<tr>

<tr class="lightGrey">
<td valign=top class="small">Longitudinal range:</td>
<td valign=top class="small">
<input name="lngmin1" size="4" value="-180">&deg; to
<input name="lngmax1" size="4" value="180">&deg;
</td>
<td valign=top class="small">Additional longitudinal range:</td>
<td valign=top class="small">
<input name="lngmin2" size="4" value="-180">&deg; to
<input name="lngmax2" size="4" value="180">&deg;
</td>
</tr>

<tr>
<td valign=top class="small">Paleolatitudinal range:</td>
<td valign=top class="small">
<input name="paleolatmin1" size="4" value="-90">&deg; to
<input name="paleolatmax1" size="4" value="90">&deg;
</td>
<td valign=top class="small">Additional paleolatitudinal range:</td>
<td valign=top class="small">
<input name="paleolatmin2" size="4" value="-90">&deg; to
<input name="paleolatmax2" size="4" value="90">&deg;
</td>
</tr>

<tr>
<td valign=top class="small">Paleolongitudinal range:</td>
<td valign=top class="small">
<input name="paleolngmin1" size="4" value="-180">&deg; to
<input name="paleolngmax1" size="4" value="180">&deg;
</td>
<td valign=top class="small">Additional paleolongitudinal range:</td>
<td valign=top class="small">
<input name="paleolngmin2" size="4" value="-180">&deg; to
<input name="paleolngmax2" size="4" value="180">&deg;
</td>
</tr> 

<tr class="lightGrey">
<td valign=top class="small">Geographic scale of collections:</td>
<td valign=top class="small" colspan=3>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_hand_sample" value="YES" checked>hand sample</span>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_small_collection" value="YES" checked>small collection</span>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_outcrop" value="YES" checked>outcrop</span>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_local_area" value="YES" checked>local area</span>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_basin" value="YES" checked>basin</span>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_unknown" value="YES" checked>unknown</span>
</td></tr>

<tr>
<td valign=top class="small">Stratigraphic scale of collections:</td>
<td valign=top class="small" colspan=3>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_bed" value="YES" checked>bed</span>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_group_of_beds" value="YES" checked>group of beds</span>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_member" value="YES" checked>member</span>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_formation" value="YES" checked>formation</span>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_group" value="YES" checked>group</span>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_unknown" value="YES" CHECKED>unknown</span>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Reason for describing collection:</td>
<td valign=top class="small" colspan=3>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_archaeological' value="YES" checked> archaeological</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_biostratigraphic' value="YES" checked> biostratigraphic</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_paleoecologic' value="YES" checked> paleoecologic</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_taphonomic' value="YES" checked > taphonomic</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_taxonomic' value="YES" checked> taxonomic</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_general_faunal/floral' value="YES" checked> general faunal/floral</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_unknown' value="YES" checked> unknown</span>
</td></tr>

<tr>
<td valign=top class="small">Lump collections by:<br><small><i>Occurrences of the same species will be lumped if species_name field is download, else is lumped by genus</i></small></td>

<td valign=top class="small" colspan=3>
<span style="white-space: nowrap"><input type=checkbox name='lump_by_coord' value="YES"> exact coordinate</span>
<span style="white-space: nowrap"><input type=checkbox name='lump_by_mbr' value="YES"> formation and member</span>
<span style="white-space: nowrap"><input type=checkbox name='lump_by_ref' value="YES"> reference</span>
<span style="white-space: nowrap"><input type=checkbox name='lump_by_interval' value="YES"> time interval</span>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Download only the following collection number(s): </td>
<td valign=top class="small" colspan=3><input name=collection_no type="text" size="30"></td></tr>

<tr>
<td valign=top class="small" nowrap>Exclude collections with
  <select name="occurrence_count_qualifier"><option>less</option><option>more</option></select> than</td>
<td valign=top class="small" colspan=3><input name=occurrence_count type="text" size="12"> occurrences</td></tr>


<tr class="lightGrey">
<td valign=top class="small">Exclude collections with subset collections? </td>
<td valign=top class="small" colspan=3><select name="exclude_superset"><option selected value="NO">no, include them</option><option value="YES">yes, exclude them</option></select></td></tr>
<tr> 

</table>
<p align=center>
<input type=submit value="Create data set">
</p>
</div>



<div id="panel3" class="panel"> 

<center><h3>Included occurrences options</h3></center>

<table width="100%" cellpadding="3" cellspacing="0">
<tr class="lightGrey">
<td valign=top class="small">Lump occurrences of the same genus from the same collection?</td>
<td valign=top class="small">
<select name=lumpgenera>
<option selected value="NO">no, keep them separate</option>
<option value="YES">yes, lump them</option>
</select>
</td></tr>

<tr>
<td valign=top class="small">Replace names with reidentifications?</td>
<td valign=top class="small">
<select name=replace_with_reid>
<option selected value="YES">yes, use the reidentification
<option value="NO">no, use the original name
</select>
</td></tr>

<tr>
<td valign=top class="small">Replace names with senior synonyms?</td>
<td valign=top class="small">
<select name=replace_with_ss>
<option selected value="YES">yes, use the senior synonym
<option value="NO">no, use the original name
</select>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Replace genus names with subgenus names, so subgenera are treated as separate genera?</td>
<td valign=top class="small">
<select name=split_subgenera>
<option selected value="NO">no, use the genus name
<option value="YES">yes, use the subgenus name
</select>
</td></tr>

<tr>
<td valign=top class="small">Include generically indeterminate occurrences?</td>
<td valign=top class="small">
<select name=indet>
<option selected value="NO">no, exclude them</option>
<option value="YES">yes, include them</option>
</select>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Include specifically indeterminate occurrences?</td>
<td valign=top class="small">
<select name=sp>
<option value="NO">no, exclude them</option>
<option selected value="YES">yes, include them</option>
</select>
</td></tr>

<tr>
<td valign=top class="small">Include genus names with the following qualifiers:</td>
<td valign=top class="small">
<input type=checkbox name='genus_reso_aff.' value="YES" checked>aff.
<input type=checkbox name='genus_reso_cf.' value="YES" checked>cf.
<input type=checkbox name='genus_reso_ex_gr.' value="YES" checked>ex gr.
<input type=checkbox name='genus_reso_n. gen.' value="YES" checked>n. gen.
<input type=checkbox name='genus_reso_sensu_lato' value="YES" checked>sensu lato
<input type=checkbox name='genus_reso_?' value="YES" checked>?
<input type=checkbox name='genus_reso_"' value="YES" checked>"
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Include occurrences with informal names?</td>
<td valign=top class="small">
<select name=informal>
<option selected value="NO">no, exclude them</option>
<option value="YES">yes, include them</option>
</select>
</td></tr>

<tr>
<td valign=top class="small">Include occurrences falling outside their age ranges in Sepkoski's Compendium?</td>
<td valign=top class="small">
<select name=compendium_ranges>
<option value="NO">no, exclude them</option>
<option selected value="YES">yes, include them</option>
</select>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Include occurrences without abundance data?</td>
<td valign=top class="small">
<select name=without_abundance>
<option value="NO">no, exclude them</option>
<option selected value="YES">yes, include them</option>
</select>
</td></tr>

<tr>
<td valign=top class="small">Include occurrences that are classified or unclassified?<br><small><i>This is useful if you want to find entries that might be typos</i></small></td>
<td valign=top class="small">
<select name=classified>
<option selected value="">include both</option>
<option>unclassified only</option>
<option>classified only</option>
</select>
</td></tr>   

<tr class="lightGrey">
<td valign=top class="small">Minimum # of specimens needed to compute mean abundance</td>
<td valign=top class="small"><input name=min_mean_abundance type="text" size="12"></td></tr>
</table>

<br>
<div class="displayPanel">
<span class="displayPanelHeader"><b>Include plants with the following organs</b></span></br>
<table width=100%>
  <tr>
    <td class="small" nowrap><input type=checkbox title="Check all" onClick="checkAll(this,'po_basic');"><B>Check all</B></td>
  </tr>
  <tr>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_unassigned value="YES">unassigned</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_leaf value="YES">leaf</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_seed/fruit" value="YES">seed/fruit</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_axis value="YES">axis</td>
  </tr>
  <tr>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_plant debris" value="YES">plant debris</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_marine palyn" value="YES">marine palyn</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_microspore value="YES">microspore</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_megaspore value="YES">megaspore</td>
  </tr>
  <tr>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_flower value="YES">flower</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_seed repro" value="YES">seed repro</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_non-seed repro" value="YES">non-seed repro</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_wood value="YES">wood</td>
  </tr>
  <tr>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_sterile axis" value="YES">sterile axis</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_fertile axis" value="YES">fertile axis</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_root value="YES">root</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_cuticle value="YES">cuticle</td>
  </tr>
  <tr>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_multi organs" value="YES">multi organs</td>
  </tr>
</table>
</div>

<p align=center>
<input type=submit value="Create data set">
</p>
</div>


<div id="panel4" class="panel"> 

<center><h3>Collection fields</h3></center>

<p>Check the fields from the main collection data table that you want output.</p>

<div class="displayPanel">
<span class="displayPanelHeader"><b>Basic fields</b></span></br>
<table width="100%" class="tiny">
  <tr>
    <td nowrap><input type=checkbox title="Check all" onClick="checkAll(this,'c_basic');"><B>Check all</B></td>
  </tr>
  
  <tr>
  <td nowrap><input type=checkbox class="c_basic" name=collections_authorizer value="YES">authorizer</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_enterer value="YES">enterer</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_modifier value="YES">modifier</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_research_group value="YES">research group</td>
  </tr>

  <tr>
  <td nowrap><input type=checkbox class="c_basic" name=collections_collection_subset value="YES">collection subset</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_reference_no value="YES">reference number</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_collection_name value="YES">collection name</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_collection_aka value="YES">collection aka</td>
  </tr>

  <tr>
  <td nowrap><input type=checkbox class="c_basic" name=collections_created value="YES">created</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_modified value="YES">modified</td>
  <td nowrap>&nbsp;</td>
  <td nowrap>&nbsp;</td>
  </tr>
</table>
</div>

<div class="displayPanel">
<span class="displayPanelHeader"><b>Geography fields</b></span></br>
<table width="100%" class="tiny">
  <tr>
    <td nowrap><input type=checkbox title="Check all" onClick="checkAll(this,'c_geography');"><B>Check all</B></td>
  </tr>
  <tr>
  <td nowrap><input type=checkbox class="c_geography" name=collections_country value="YES">country</td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_state value="YES">state</td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_county value="YES">county</td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_tectonic_plate_id value="YES">tectonic plate id</td>
  </tr>

  <tr>
  <td nowrap><input type=checkbox class="c_geography" name=collections_lng value="YES">longitude in 
  <select name="collections_lng_format">
    <option value="decimal">decimal</option>
    <option value="DMS">DMS+dir</option>
  </select>  
  </td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_lat value="YES">latitude in
  <select name="collections_lat_format">
    <option value="decimal">decimal</option>
    <option value="DMS">DMS+dir</option>
  </select>  
  </td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_paleolng value="YES">paleolongitude in 
  <select name="collections_paleolng_format">
    <option value="decimal">decimal</option>
    <option value="DMS">DMS+dir</option>
  </select>  
  </td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_paleolat value="YES">paleolatitude in
  <select name="collections_paleolat_format">
    <option value="decimal">decimal</option>
    <option value="DMS">DMS+dir</option>
  </select>  
  </td>
  </tr>

  <tr>
  <td nowrap><input type=checkbox class="c_geography" name=collections_latlng_basis value="YES">lat/long basis</td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_geogscale value="YES">geographic scale</td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_geogcomments value="YES">geographic comments</td>
  <td nowrap>&nbsp;</td>
  </tr><commit_msg>fix, can download coordinates again<commit_after>%%NOESCAPE_enterer_authorizer_lists%%

<script src="/JavaScripts/tabs.js" language="JavaScript" type="text/javascript"></script>                                                                   
<script language="JavaScript" type="text/javascript">
<!-- Begin

function globalClick ( ) {

	var frm = document.forms[0];

	if ( frm.global.checked ) {
		// Uncheck all continents
		frm.Africa.checked = false;
		frm.Antarctica.checked = false;
		frm.Asia.checked = false;
		frm.Australia.checked = false;
		frm.Europe.checked = false;
		frm.elements['North America'].checked = false;
		frm.elements['South America'].checked = false;

		frm.elements['paleo Australia'].checked = false;
		frm.Avalonia.checked = false;
		frm.Baltoscandia.checked = false;
		frm.Kazakhstania.checked = false;
		frm.Laurentia.checked = false;
		frm.Mediterranean.checked = false;
		frm.elements['North China'].checked = false;
		frm.Precordillera.checked = false;
		frm.Siberia.checked = false;
		frm.elements['paleo South America'].checked = false;
		frm.elements['South China'].checked = false;
	}
}

function continentClick ( ) {

	var frm = document.forms[0];

	if (	frm.Africa.checked || 
			frm.Antarctica.checked || 
			frm.Asia.checked || 
			frm.Australia.checked || 
			frm.Europe.checked || 
			frm.elements['North America'].checked || 
			frm.elements['South America'].checked ||

			frm.elements['paleo Australia'].checked || 
			frm.Avalonia.checked || 
			frm.Baltoscandia.checked || 
			frm.Kazakhstania.checked || 
			frm.Laurentia.checked || 
			frm.Mediterranean.checked || 
			frm.elements['North China'].checked || 
			frm.Precordillera.checked || 
			frm.Siberia.checked || 
			frm.elements['paleo South America'].checked ||
			frm.elements['South China'].checked  ) {
		frm.global.checked = false;
	} else {
		// At least one must be checked, or hit the global
		frm.global.checked = true;
	}
}

function countryChange() {
	var frm = document.forms[0];

	if (frm.country.value != "") {
		frm.global.checked = true;
		globalClick();
	}
}

//  End -->
</script>


<div align="center"><h2>Download request form</h2></div>

<form method=post action="bridge.pl">
<input id="action" type=hidden name="action" value="displayDownloadResults">


<div align=center>
  <table cellpadding=0 cellspacing=0 border=0 width=600><tr>
    <td id="tab1" class="tabOff" style="white-space: nowrap;"
      onClick="showPanel(1);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(1)">Basic options</td>
    <td id="tab2" class="tabOff" style="white-space: nowrap;"
      onClick="showPanel(2);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(2)">Included collections</td>
    <td id="tab3" class="tabOff" style="white-space: nowrap;"
      onClick = "showPanel(3);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(3)">Included occurrences</td>
    <td id="tab4" class="tabOff" style="white-space: nowrap;"
      onClick = "showPanel(4);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(4)">Collection fields</td>
    <td id="tab5" class="tabOff" style="white-space: nowrap;"
      onClick = "showPanel(5);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(5)">Occurrence fields</td>
    <td id="tab6" class="tabOff" style="white-space: nowrap;"
      onClick = "showPanel(6);" 
      onMouseOver="hover(this);" 
      onMouseOut="setState(6)">Specimen fields</td>
  </tr></table>
</div>
             

<div id="panel1" class="panel"> 

<center><h3>Basic options</h3></center>

<p>This form allows you to download a file that includes selected taxonomic names, occurrences, collections, or specimens. Page through the six tabs below and select the options you want before hitting "Create data set".  To compute a diversity curve, you need to check off either "period," "epoch," "Cenozoic subepoch," or "10 m.y. bin" in the "Collection fields" part of the form.</p> 

<table width="100%" cellpadding="3" cellspacing="0">

<tr class="lightGrey">
  <td valign=top class="small">
    Your name (optional):
  </td>
  <td>
    <input name="yourname" size=20>
  </td>
</tr>

<tr>
  <td valign=top class="small">
    Output data:
  </td>
  <td>
    <select name="output_data">
      <option value="occurrences">occurrences</option>
      <option value="genera">genera</option>
      <option value="species">species</option>
      <option value="collections">collections</option>
      <option value="specimens">specimens</option>
    </select>
  </td>
</tr>  

<tr class="lightGrey">
<td valign=top class="small">Output format:</td>
<td valign=top class="small"><select name=output_format>
<option selected value="csv">comma-delimited text</option>
<option value="tab">tab-delimited text</option>
<option value="CONJUNCT">CONJUNCT</option>
</select>
</td></tr>


<tr>
<td valign=top class="small">Data authorizer:</td>
<td valign="bottom">
<input name="authorizer_reversed" size=22 onKeyUp="doComplete(event, this, authorizerNames());">
</td>
</tr>

<tr class="lightGrey">
<td valign=top class="small">Research group or project
    <select name="research_group_restricted_to">
        <option value="0">includes</option>
        <option value="1">is restricted to</option>
    </select>:
</td>  
<td valign=top class="small">
<select id="research_group">
</select>
</td></tr>


<tr>
<td valign=top class="small" nowrap>Use data records created 
<select name="created_before_after">
<option selected>before</option>
<option>after</option>
</select>:
</td>
<td>
<select name="date">
<option selected></option>
<script language="JavaScript" type="text/javascript">fillDays();</script>
</select>
<select name="month">
<option selected></option>
<script language="JavaScript" type="text/javascript">fillMonths();</script>
</select>
<select name="year">
<option selected></option>
<script language="JavaScript" type="text/javascript">fillYears();</script>
</select>
</td>
</tr>

<tr class="lightGrey">
<td valign=top class="small" nowrap>Use occurrences published 
<select name="published_before_after">
<option>before</option>
<option selected>after</option>
</select>:
</td>
<td class="small">
<input name="pubyr" size=6>
</td>
</tr>

<tr>
<td valign=top class="small">If you only want lists from one time span, enter the oldest and youngest intervals <small><i>(by name or by age in Ma)</i></small>:</td>
<td valign=top class="small">
<input name=max_interval_name size=20> - <input name=min_interval_name size=20>
</td></tr>

<tr>
<td valign=top class="small">... or if you want to get counts of occurrences and genera by temporal bin, select a time scale:</td>
<td valign=top class="small">
%%time scale%%
</td></tr>

<tr>
<td valign=top class="small">If you selected a scale, you must select a field to be tallied:<br>
<small><i>If you pick "ecology," you must select ecology categories in the "Occurrence fields" section.</i></small></td>
<td valign=top class="small">
<select name=binned_field>
<option>
<option>ecology
<option value="plant_organ">plant organ
<option value="plant_organ2">plant organ2
<option>country
<option value="geogscale">geog scale
<option value="stratscale">strat scale
<option value="lithology1">lithology 1
<option value="lithology2">lithology 2
<option>environment
<option value="tectonic_setting">tectonic setting
<option value="assembl_comps">assemblage components
<option value="temporal_resolution">temporal resolution
<option value="spatial_resolution">spatial resolution
<option value="collection_type">collection purpose
</select>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Name of taxon or taxa <small><i>(genus or higher rank)</i></small>:</td>
<td valign=top class="small">
<textarea name=taxon_name rows=2 cols=40></textarea></td></tr>
</table>
<p align=center>
<input type=submit value="Create data set">
</p>
</div>



<div id="panel2" class="panel"> 

<center><h3>Included collections options</h3></center>

<table width="100%" cellpadding="3" cellspacing="0">

<tr class="lightGrey">
<td valign=top class="small">Lithification of primary lithology:</td>
<td valign=top class="small" colspan=3>
<input type=checkbox name="lithification_lithified" value="YES" checked>lithified
<input type=checkbox name="lithification_poorly_lithified" value="YES" checked>poorly lithified
<input type=checkbox name="lithification_unlithified" value="YES" checked>unlithified
<input type=checkbox name="lithification_unknown" value="YES" checked>unknown
</td></tr>

<tr>
<td valign=top class="small">Select lithologies:</td>
<td valign=top class="small" colspan=3>
<input type=checkbox name="lithology_carbonate" value="YES" checked>carbonate
<input type=checkbox name="lithology_mixed" value="YES" checked>mixed
<input type=checkbox name="lithology_siliciclastic" value="YES" checked>siliciclastic
<input type=checkbox name="lithology_unknown" value="YES" checked>unknown
</td></tr>

<tr>
<td valign=top class="small" nowrap> ... or 
<select name="include_exclude_lithology1">
<option>include</option>
<option>exclude</option>
</select> a single lithology:</td>
<td valign=top class="small" colspan=3>
<select id="lithology1"></select>
</td></tr>


<tr class="lightGrey">
<td valign=middle class="small">Select environments:</td>
<td valign=top class="small" colspan=3>
<input type=checkbox name="environment_carbonate" value="YES" checked>carbonate
<input type=checkbox name="environment_siliciclastic" value="YES" checked>siliciclastic
<input type=checkbox name="environment_terrestrial" value="YES" checked>terrestrial
<input type=checkbox name="environment_unknown" value="YES" checked>unknown
</td></tr>

<tr class="lightGrey">
<td valign=top class="small" nowrap> ... or 
<select name="include_exclude_environment">
<option>include</option>
<option>exclude</option>
</select>a single environment:</td>
<td valign=top class="small" colspan=3>
<select id="environment"></select>
</td></tr>

<tr>
<td valign=top class="small">Select continents or paleocontinents:</td>

<td valign=top class="small" colspan=3>
<table><tr><td class="small">
<p><input type=checkbox name="global" value="YES" checked onClick="globalClick();"><i>global</i></p>

<p>
<span style="white-space: nowrap"><input type=checkbox name="Africa" value="YES" onClick="continentClick();">Africa</span>
<span style="white-space: nowrap"><input type=checkbox name="Antarctica" value="YES" onClick="continentClick();">Antarctica</span>
<span style="white-space: nowrap"><input type=checkbox name="Asia" value="YES" onClick="continentClick();">Asia</span>
<span style="white-space: nowrap"><input type=checkbox name="Australia" value="YES" onClick="continentClick();">Australia</span>
<span style="white-space: nowrap"><input type=checkbox name="Europe" value="YES" onClick="continentClick();">Europe</span>
<span style="white-space: nowrap"><input type=checkbox name="North America" value="YES" onClick="continentClick();">North America</span>
<span style="white-space: nowrap"><input type=checkbox name="South America" value="YES" onClick="continentClick();">South America</span>
</p>

<p>
<span style="white-space: nowrap"><input type=checkbox name="paleo Australia" value="YES" onClick="continentClick();">Australia (paleocontinent)</span>
<span style="white-space: nowrap"><input type=checkbox name="Avalonia" value="YES" onClick="continentClick();">Avalonia</span>
<span style="white-space: nowrap"><input type=checkbox name="Baltoscandia" value="YES" onClick="continentClick();">Baltoscandia</span>
<span style="white-space: nowrap"><input type=checkbox name="Kazakhstania" value="YES" onClick="continentClick();">Kazakhstania</span>
<span style="white-space: nowrap"><input type=checkbox name="Laurentia" value="YES" onClick="continentClick();">Laurentia</span>
<span style="white-space: nowrap"><input type=checkbox name="Mediterranean" value="YES" onClick="continentClick();">Mediterranean</span>
<span style="white-space: nowrap"><input type=checkbox name="North China" value="YES" onClick="continentClick();">North China</span>
<span style="white-space: nowrap"><input type=checkbox name="Precordillera" value="YES" onClick="continentClick();">Precordillera</span>
<span style="white-space: nowrap"><input type=checkbox name="Siberia" value="YES" onClick="continentClick();">Siberia</span>
<span style="white-space: nowrap"><input type=checkbox name="paleo South America" value="YES" onClick="continentClick();">South America (paleocontinent)</span>
<span style="white-space: nowrap"><input type=checkbox name="South China" value="YES" onClick="continentClick();">South China</span>
</p>
</td></tr></table>
</td></tr>

<tr>
<td valign=top class="small" nowrap>... or 
<select name="include_exclude_country">
<option>include</option>
<option>exclude</option>
</select>a single country:</td>
<td valign=top class="small" colspan=3>
<select id="country" onChange="countryChange()"></select>
</td>

<tr class="lightGrey">
<td valign=top class="small">Latitudinal range:</td>
<td valign=top class="small">
<input name="latmin1" size="4" value="-90">&deg; to
<input name="latmax1" size="4" value="90">&deg;
</td>
<td valign=top class="small">Additional latitudinal range:</td>
<td valign=top class="small">
<input name="latmin2" size="4" value="-90">&deg; to
<input name="latmax2" size="4" value="90">&deg;
</td>
<tr>

<tr class="lightGrey">
<td valign=top class="small">Longitudinal range:</td>
<td valign=top class="small">
<input name="lngmin1" size="4" value="-180">&deg; to
<input name="lngmax1" size="4" value="180">&deg;
</td>
<td valign=top class="small">Additional longitudinal range:</td>
<td valign=top class="small">
<input name="lngmin2" size="4" value="-180">&deg; to
<input name="lngmax2" size="4" value="180">&deg;
</td>
</tr>

<tr>
<td valign=top class="small">Paleolatitudinal range:</td>
<td valign=top class="small">
<input name="paleolatmin1" size="4" value="-90">&deg; to
<input name="paleolatmax1" size="4" value="90">&deg;
</td>
<td valign=top class="small">Additional paleolatitudinal range:</td>
<td valign=top class="small">
<input name="paleolatmin2" size="4" value="-90">&deg; to
<input name="paleolatmax2" size="4" value="90">&deg;
</td>
</tr>

<tr>
<td valign=top class="small">Paleolongitudinal range:</td>
<td valign=top class="small">
<input name="paleolngmin1" size="4" value="-180">&deg; to
<input name="paleolngmax1" size="4" value="180">&deg;
</td>
<td valign=top class="small">Additional paleolongitudinal range:</td>
<td valign=top class="small">
<input name="paleolngmin2" size="4" value="-180">&deg; to
<input name="paleolngmax2" size="4" value="180">&deg;
</td>
</tr> 

<tr class="lightGrey">
<td valign=top class="small">Geographic scale of collections:</td>
<td valign=top class="small" colspan=3>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_hand_sample" value="YES" checked>hand sample</span>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_small_collection" value="YES" checked>small collection</span>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_outcrop" value="YES" checked>outcrop</span>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_local_area" value="YES" checked>local area</span>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_basin" value="YES" checked>basin</span>
<span style="white-space: nowrap"><input type=checkbox name="geogscale_unknown" value="YES" checked>unknown</span>
</td></tr>

<tr>
<td valign=top class="small">Stratigraphic scale of collections:</td>
<td valign=top class="small" colspan=3>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_bed" value="YES" checked>bed</span>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_group_of_beds" value="YES" checked>group of beds</span>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_member" value="YES" checked>member</span>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_formation" value="YES" checked>formation</span>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_group" value="YES" checked>group</span>
<span style="white-space: nowrap"><input type=checkbox name="stratscale_unknown" value="YES" CHECKED>unknown</span>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Reason for describing collection:</td>
<td valign=top class="small" colspan=3>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_archaeological' value="YES" checked> archaeological</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_biostratigraphic' value="YES" checked> biostratigraphic</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_paleoecologic' value="YES" checked> paleoecologic</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_taphonomic' value="YES" checked > taphonomic</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_taxonomic' value="YES" checked> taxonomic</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_general_faunal/floral' value="YES" checked> general faunal/floral</span>
<span style="white-space: nowrap"><input type=checkbox name='collection_type_unknown' value="YES" checked> unknown</span>
</td></tr>

<tr>
<td valign=top class="small">Lump collections by:<br><small><i>Occurrences of the same species will be lumped if species_name field is download, else is lumped by genus</i></small></td>

<td valign=top class="small" colspan=3>
<span style="white-space: nowrap"><input type=checkbox name='lump_by_coord' value="YES"> exact coordinate</span>
<span style="white-space: nowrap"><input type=checkbox name='lump_by_mbr' value="YES"> formation and member</span>
<span style="white-space: nowrap"><input type=checkbox name='lump_by_ref' value="YES"> reference</span>
<span style="white-space: nowrap"><input type=checkbox name='lump_by_interval' value="YES"> time interval</span>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Download only the following collection number(s): </td>
<td valign=top class="small" colspan=3><input name=collection_no type="text" size="30"></td></tr>

<tr>
<td valign=top class="small" nowrap>Exclude collections with
  <select name="occurrence_count_qualifier"><option>less</option><option>more</option></select> than</td>
<td valign=top class="small" colspan=3><input name=occurrence_count type="text" size="12"> occurrences</td></tr>


<tr class="lightGrey">
<td valign=top class="small">Exclude collections with subset collections? </td>
<td valign=top class="small" colspan=3><select name="exclude_superset"><option selected value="NO">no, include them</option><option value="YES">yes, exclude them</option></select></td></tr>
<tr> 

</table>
<p align=center>
<input type=submit value="Create data set">
</p>
</div>



<div id="panel3" class="panel"> 

<center><h3>Included occurrences options</h3></center>

<table width="100%" cellpadding="3" cellspacing="0">
<tr class="lightGrey">
<td valign=top class="small">Lump occurrences of the same genus from the same collection?</td>
<td valign=top class="small">
<select name=lumpgenera>
<option selected value="NO">no, keep them separate</option>
<option value="YES">yes, lump them</option>
</select>
</td></tr>

<tr>
<td valign=top class="small">Replace names with reidentifications?</td>
<td valign=top class="small">
<select name=replace_with_reid>
<option selected value="YES">yes, use the reidentification
<option value="NO">no, use the original name
</select>
</td></tr>

<tr>
<td valign=top class="small">Replace names with senior synonyms?</td>
<td valign=top class="small">
<select name=replace_with_ss>
<option selected value="YES">yes, use the senior synonym
<option value="NO">no, use the original name
</select>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Replace genus names with subgenus names, so subgenera are treated as separate genera?</td>
<td valign=top class="small">
<select name=split_subgenera>
<option selected value="NO">no, use the genus name
<option value="YES">yes, use the subgenus name
</select>
</td></tr>

<tr>
<td valign=top class="small">Include generically indeterminate occurrences?</td>
<td valign=top class="small">
<select name=indet>
<option selected value="NO">no, exclude them</option>
<option value="YES">yes, include them</option>
</select>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Include specifically indeterminate occurrences?</td>
<td valign=top class="small">
<select name=sp>
<option value="NO">no, exclude them</option>
<option selected value="YES">yes, include them</option>
</select>
</td></tr>

<tr>
<td valign=top class="small">Include genus names with the following qualifiers:</td>
<td valign=top class="small">
<input type=checkbox name='genus_reso_aff.' value="YES" checked>aff.
<input type=checkbox name='genus_reso_cf.' value="YES" checked>cf.
<input type=checkbox name='genus_reso_ex_gr.' value="YES" checked>ex gr.
<input type=checkbox name='genus_reso_n. gen.' value="YES" checked>n. gen.
<input type=checkbox name='genus_reso_sensu_lato' value="YES" checked>sensu lato
<input type=checkbox name='genus_reso_?' value="YES" checked>?
<input type=checkbox name='genus_reso_"' value="YES" checked>"
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Include occurrences with informal names?</td>
<td valign=top class="small">
<select name=informal>
<option selected value="NO">no, exclude them</option>
<option value="YES">yes, include them</option>
</select>
</td></tr>

<tr>
<td valign=top class="small">Include occurrences falling outside their age ranges in Sepkoski's Compendium?</td>
<td valign=top class="small">
<select name=compendium_ranges>
<option value="NO">no, exclude them</option>
<option selected value="YES">yes, include them</option>
</select>
</td></tr>

<tr class="lightGrey">
<td valign=top class="small">Include occurrences without abundance data?</td>
<td valign=top class="small">
<select name=without_abundance>
<option value="NO">no, exclude them</option>
<option selected value="YES">yes, include them</option>
</select>
</td></tr>

<tr>
<td valign=top class="small">Include occurrences that are classified or unclassified?<br><small><i>This is useful if you want to find entries that might be typos</i></small></td>
<td valign=top class="small">
<select name=classified>
<option selected value="">include both</option>
<option>unclassified only</option>
<option>classified only</option>
</select>
</td></tr>   

<tr class="lightGrey">
<td valign=top class="small">Minimum # of specimens needed to compute mean abundance</td>
<td valign=top class="small"><input name=min_mean_abundance type="text" size="12"></td></tr>
</table>

<br>
<div class="displayPanel">
<span class="displayPanelHeader"><b>Include plants with the following organs</b></span></br>
<table width=100%>
  <tr>
    <td class="small" nowrap><input type=checkbox title="Check all" onClick="checkAll(this,'po_basic');"><B>Check all</B></td>
  </tr>
  <tr>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_unassigned value="YES">unassigned</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_leaf value="YES">leaf</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_seed/fruit" value="YES">seed/fruit</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_axis value="YES">axis</td>
  </tr>
  <tr>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_plant debris" value="YES">plant debris</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_marine palyn" value="YES">marine palyn</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_microspore value="YES">microspore</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_megaspore value="YES">megaspore</td>
  </tr>
  <tr>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_flower value="YES">flower</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_seed repro" value="YES">seed repro</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_non-seed repro" value="YES">non-seed repro</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_wood value="YES">wood</td>
  </tr>
  <tr>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_sterile axis" value="YES">sterile axis</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_fertile axis" value="YES">fertile axis</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_root value="YES">root</td>
  <td class="small" nowrap><input type=checkbox class="po_basic" name=plant_organ_cuticle value="YES">cuticle</td>
  </tr>
  <tr>
  <td class="small" nowrap><input type=checkbox class="po_basic" name="plant_organ_multi organs" value="YES">multi organs</td>
  </tr>
</table>
</div>

<p align=center>
<input type=submit value="Create data set">
</p>
</div>


<div id="panel4" class="panel"> 

<center><h3>Collection fields</h3></center>

<p>Check the fields from the main collection data table that you want output.</p>

<div class="displayPanel">
<span class="displayPanelHeader"><b>Basic fields</b></span></br>
<table width="100%" class="tiny">
  <tr>
    <td nowrap><input type=checkbox title="Check all" onClick="checkAll(this,'c_basic');"><B>Check all</B></td>
  </tr>
  
  <tr>
  <td nowrap><input type=checkbox class="c_basic" name=collections_authorizer value="YES">authorizer</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_enterer value="YES">enterer</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_modifier value="YES">modifier</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_research_group value="YES">research group</td>
  </tr>

  <tr>
  <td nowrap><input type=checkbox class="c_basic" name=collections_collection_subset value="YES">collection subset</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_reference_no value="YES">reference number</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_collection_name value="YES">collection name</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_collection_aka value="YES">collection aka</td>
  </tr>

  <tr>
  <td nowrap><input type=checkbox class="c_basic" name=collections_created value="YES">created</td>
  <td nowrap><input type=checkbox class="c_basic" name=collections_modified value="YES">modified</td>
  <td nowrap>&nbsp;</td>
  <td nowrap>&nbsp;</td>
  </tr>
</table>
</div>

<div class="displayPanel">
<span class="displayPanelHeader"><b>Geography fields</b></span></br>
<table width="100%" class="tiny">
  <tr>
    <td nowrap><input type=checkbox title="Check all" onClick="checkAll(this,'c_geography');"><B>Check all</B></td>
  </tr>
  <tr>
  <td nowrap><input type=checkbox class="c_geography" name=collections_country value="YES">country</td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_state value="YES">state</td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_county value="YES">county</td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_tectonic_plate_id value="YES">tectonic plate id</td>
  </tr>

  <tr>
  <td nowrap colspan=2><input type=checkbox class="c_geography" name=collections_coords value="YES">latitude/longitude in
  <select name="collections_coords_format" class="small">
    <option value="decimal">decimal</option>
    <option value="DMS">DMS+dir</option>
  </select>  
  </td>
  <td nowrap colspan=2><input type=checkbox class="c_geography" name=collections_paleocoords value="YES">paleolatitude/longitude in 
  <select name="collections_paleocoords_format" class="small">
    <option value="decimal">decimal</option>
    <option value="DMS">DMS+dir</option>
  </select>
  </td>
  </tr>  

  <tr>
  <td nowrap><input type=checkbox class="c_geography" name=collections_latlng_basis value="YES">lat/long basis</td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_geogscale value="YES">geographic scale</td>
  <td nowrap><input type=checkbox class="c_geography" name=collections_geogcomments value="YES">geographic comments</td>
  <td nowrap>&nbsp;</td>
  </tr>
{'fraction_non_alphanumeric': 0.17352839335180056, 'fraction_numerical': 0.0063019390581717455, 'mean_word_length': 7.06042422550935, 'pattern_counts': {'":': 0, '<': 1823, '<?xml version=': 0, '>': 1823, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 15, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '121060', 'n_tokens_mistral': 19855, 'n_tokens_neox': 18779, 'n_words': 4341}