Project

General

Profile

metacat / lib / style / common / templates / entryForm.tmpl @ 2150

1
[% INCLUDE "genericHeader.tmpl" %]
2

    
3
  <script language="JavaScript" type="text/javascript">
4
    function addParagraph() {
5
        var newParaWidget=document.createElement("textarea");
6
        newParaWidget.setAttribute("rows", "5");
7
        newParaWidget.setAttribute("columns", "80");
8
        newParaWidget.setAttribute("name", "methodPara");
9
        var newParaContainer = document.createElement("p");
10
        newParaContainer.appendChild(newParaWidget);
11
        var addParaButton = document.getElementById("addparabutton1");
12
        var parent = addParaButton.parentNode;
13
        parent.insertBefore(newParaContainer, addParaButton);
14
    }
15

    
16
    function addTaxon() {
17
        var taxaCountField = document.getElementById("taxaCount");
18
        var taxaCount = taxaCountField.getAttribute("value");
19
        taxaCount++;
20
        taxaCountField.setAttribute("value", taxaCount);
21
        var taxonRow = createTaxonRow(taxaCount);
22
        var taxonRowMarker = document.getElementById("addtaxarow");
23
        var parent = taxonRowMarker.parentNode;
24
        parent.insertBefore(taxonRow, taxonRowMarker);
25
    }
26

    
27
    function createTaxonRow(taxaCount) {
28
        var rankField=createTextField("taxonRankName" + taxaCount, "25");
29
        var rankCell = document.createElement("td");
30
        rankCell.appendChild(rankField);
31
        var taxonField=createTextField("taxonRankValue" + taxaCount, "25");
32
        var taxonCell = document.createElement("td");
33
        taxonCell.appendChild(taxonField);
34
        var taxonRow = document.createElement("tr");
35
        taxonRow.appendChild(rankCell);
36
        taxonRow.appendChild(taxonCell);
37

    
38
        return taxonRow;
39
    }
40

    
41
    function createTextField(name, size) {
42
        var newField=document.createElement("input");
43
        newField.setAttribute("type", "text"); 
44
        newField.setAttribute("name", name); 
45
        newField.setAttribute("size", size); 
46

    
47
        return newField;
48
    }
49

    
50
    function addKeyword() {
51
        var keyCountField = document.getElementById("keyCount");
52
        var keyCount = keyCountField.getAttribute("value");
53
        keyCount++;
54
        keyCountField.setAttribute("value", keyCount);
55
        var keyRow = createKeywordRow(keyCount);
56
        var keyRowMarker = document.getElementById("addkeyrow");
57
        var parent = keyRowMarker.parentNode;
58
        parent.insertBefore(keyRow, keyRowMarker);
59
    }
60

    
61
    function createKeywordRow(keyCount) {
62
        var nameField=createTextField("keyword" + keyCount, "40");
63
        var nameCell = document.createElement("td");
64
        nameCell.appendChild(nameField);
65

    
66
        var keyTypeField=createKeyTypeSelect("kwType" + keyCount);
67
        var keyTypeCell = document.createElement("td");
68
        keyTypeCell.appendChild(keyTypeField);
69

    
70
        var keyThField=createKeyThSelect("kwTh" + keyCount);
71
        var keyThCell = document.createElement("td");
72
        keyThCell.appendChild(keyThField); 
73

    
74
        var keyRow = document.createElement("tr");
75
        keyRow.appendChild(nameCell);
76
        keyRow.appendChild(keyTypeCell);
77
        keyRow.appendChild(keyThCell);
78

    
79
        return keyRow;
80
    }
81

    
82
    function createKeyTypeSelect(name) {
83
        var newField=document.createElement("select");
84
        newField.setAttribute("name", name);
85
	var option1=document.createElement("option");
86
	var text1=document.createTextNode("none");
87
	option1.appendChild(text1);
88
	newField.appendChild(option1);
89
	var option2=document.createElement("option");
90
	var text2=document.createTextNode("theme");
91
	option2.appendChild(text2);
92
	newField.appendChild(option2);
93
	var option3=document.createElement("option");
94
	var text3=document.createTextNode("place");
95
	option3.appendChild(text3);
96
	newField.appendChild(option3)
97
	var option4=document.createElement("option");
98
	var text4=document.createTextNode("stratum");
99
	option4.appendChild(text4);
100
	newField.appendChild(option4);
101
	var option5=document.createElement("option");
102
	var text5=document.createTextNode("temporal");
103
	option5.appendChild(text5);
104
	newField.appendChild(option5);
105
	var option6=document.createElement("option");
106
	var text6=document.createTextNode("taxonomic");
107
	option6.appendChild(text6);
108
	newField.appendChild(option6);
109

    
110
	return newField;
111
    }
112

    
113
    function createKeyThSelect(name) {
114
        var newField=document.createElement("select");
115
        newField.setAttribute("name", name);
116
	var option1=document.createElement("option");
117
	var text1=document.createTextNode("none");
118
	option1.appendChild(text1);
119
	newField.appendChild(option1);
120
	var option2=document.createElement("option");
121
	var text2=document.createTextNode("GCMD");
122
	option2.appendChild(text2);
123
	newField.appendChild(option2);
124

    
125
	return newField;
126
    }
127

    
128
    function addAdditionalPeople() {
129
        var aoCountField = document.getElementById("aoCount");
130
        var aoCount = aoCountField.getAttribute("value");
131
        aoCount++;
132
        aoCountField.setAttribute("value", aoCount);
133
        var aoRow = createAORow(aoCount);
134
        var aoRowMarker = document.getElementById("addaorow");
135
        var parent = aoRowMarker.parentNode;
136
        parent.insertBefore(aoRow, aoRowMarker);
137
    }
138

    
139
    function createAORow(aoCount) {
140
        var nameField=createTextField("origNamefirst" + aoCount, "25");
141
        var nameCell = document.createElement("td");
142
        nameCell.appendChild(nameField);
143

    
144
        var namelastField=createTextField("origNamelast" + aoCount, "25");
145
        var namelastCell = document.createElement("td");
146
        namelastCell.appendChild(namelastField);
147

    
148
        var roleField=createRoleTypeSelect("origRole" + aoCount);
149
        var roleCell = document.createElement("td");
150
        roleCell.appendChild(roleField); 
151

    
152
        var aoRow = document.createElement("tr");
153
        aoRow.appendChild(nameCell);
154
        aoRow.appendChild(namelastCell);
155
        aoRow.appendChild(roleCell);
156

    
157
        return aoRow;
158
    }
159

    
160
    function createRoleTypeSelect(name) {
161
        var newField=document.createElement("select");
162
        newField.setAttribute("name", name);
163
	var option1=document.createElement("option");
164
	var text1=document.createTextNode("Principal Investigator");
165
	option1.appendChild(text1);
166
	newField.appendChild(option1);
167
	var option2=document.createElement("option");
168
	var text2=document.createTextNode("Custodian/Steward");
169
	option2.appendChild(text2);
170
	newField.appendChild(option2);
171
	var option3=document.createElement("option");
172
	var text3=document.createTextNode("Metadata Provider");
173
	option3.appendChild(text3);
174
	newField.appendChild(option3)
175
	var option4=document.createElement("option");
176
	var text4=document.createTextNode("Owner");
177
	option4.appendChild(text4);
178
	newField.appendChild(option4);
179
	return newField;
180
    }
181

    
182
    function copyContact(){
183
        var checkBox = document.getElementById("copyCheckBox");
184
        if(checkBox.checked == true)
185
	{
186
	   var cnf=document.getElementById("contactNameFirst");
187
	   var onf=document.getElementById("origNameFirst");
188
	   cnf.value = onf.value;
189

    
190
	   var cnl=document.getElementById("contactNameLast");
191
	   var onl=document.getElementById("origNameLast");
192
	   cnl.value = onl.value;
193

    
194
	   var cno=document.getElementById("contactNameOrg");
195
	   var ono=document.getElementById("origNameOrg");
196
	   cno.value = ono.value;
197

    
198
	   var ce=document.getElementById("contactEmail");
199
	   var oe=document.getElementById("origEmail");
200
	   ce.value = oe.value;
201

    
202
	   var cp=document.getElementById("contactPhone");
203
	   var op=document.getElementById("origPhone");
204
	   cp.value = op.value;
205

    
206
	   var cf=document.getElementById("contactFAX");
207
	   var of=document.getElementById("origFAX");
208
	   cf.value = of.value;
209

    
210
	   var cd=document.getElementById("contactDelivery");
211
	   var od=document.getElementById("origDelivery");
212
	   cd.value = od.value;
213

    
214
	   var cc=document.getElementById("contactCity");
215
	   var oc=document.getElementById("origCity");
216
	   cc.value = oc.value;
217

    
218
	   var cs=document.getElementById("contactState");
219
	   var os=document.getElementById("origState");
220

    
221
	   var cso=document.getElementById("contactStateOther");
222
	   var oso=document.getElementById("origStateOther");
223
	   cso.value = oso.value;
224

    
225
	   var cz=document.getElementById("contactZip");
226
	   var oz=document.getElementById("origZip");
227
	   cz.value = oz.value;
228

    
229
	   var cC=document.getElementById("contactCountry");
230
	   var oC=document.getElementById("origCountry");
231
	   cC.value = oC.value;
232

    
233
	} else {
234
	   var cnf=document.getElementById("contactNameFirst");
235
	   cnf.value = "";
236

    
237
	   var cnl=document.getElementById("contactNameLast");
238
	   cnl.value = "";
239

    
240
	   var cno=document.getElementById("contactNameOrg");
241
	   cno.value = "";
242

    
243
	   var ce=document.getElementById("contactEmail");
244
	   ce.value = "";
245

    
246
	   var cp=document.getElementById("contactPhone");
247
	   cp.value = "";
248

    
249
	   var cf=document.getElementById("contactFAX");
250
	   cf.value = "";
251

    
252
	   var cd=document.getElementById("contactDelivery");
253
	   cd.value = "";
254

    
255
	   var cc=document.getElementById("contactCity");
256
	   cc.value = "";
257

    
258
	   var cso=document.getElementById("contactStateOther");
259
	   cso.value = "";
260

    
261
	   var cz=document.getElementById("contactZip");
262
	   cz.value = "";
263

    
264
	   var cC=document.getElementById("contactCountry");
265
	   cC.value = "";
266
	}
267
    }
268

    
269
  </script>
270

    
271
[% IF cfg == 'nrs' %]
272
  [% lsite = 'reserve' %]
273
  [% usite = 'Reserve' %]
274
  [% showSiteList = 'true' %]
275
[% ELSIF cfg == 'obfs' %]
276
  [% lsite = 'station' %]
277
  [% usite = 'Station' %]
278
  [% showSiteList = 'true' %]
279
[% ELSIF cfg == 'specnet' %]
280
  [% lsite = 'station' %]
281
  [% usite = 'Station' %]
282
  [% showSiteList = 'true' %]
283
[% ELSIF cfg == 'nceas' %]
284
  [% lsite = 'station' %]
285
  [% usite = 'Station' %]
286
  [% showSiteList = 'false' %]
287
[% ELSE %]
288
  [% lsite = 'station' %]
289
  [% usite = 'Station' %]
290
  [% showSiteList = 'false' %]
291
[% END %]
292

    
293
      [% IF form != 're_entry' %]	
294
      <p>Use this page to submit a <b>new</b> data set description for
295
         inclusion in the registry.</p>
296
      <p>&nbsp;</p>
297
      <p>Please have a look at the 
298
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
299
        <b>Guide on How to Complete Data Registry Entries</b></a> 
300
        before you start filling in this catalog form. Also, use your browser's 
301
        Reload/Refresh function to make sure you see the latest version of this 
302
        page.
303
      </p>
304
      <p>&nbsp;</p>
305
      <p align="left">Fields in <span class="required">red</span> are required.
306
      </p>
307
      <p>&nbsp;</p>
308
      <p align="left">If you have any questions, comments or problems 
309
      regarding this form, please contact [% adminname %] at 
310
      <a href="mailto:[% recipient %]"><i>[% recipient %]</i></a>.      
311
      </p>
312
      [% ELSE %]
313
      <p>Use this page to edit the data set description that you submitted earlier to the registry.<br>The ID of this data set is: <b><a href="@servlet-path@?action=read&qformat=[% cfg %]&docid=[% docid %]">[% docid %]</a></b></p>
314
      <p>&nbsp;</p>
315
      <p>Please have a look at the 
316
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
317
        <b>Guide on How to Complete Data Registry Entries</b></a> 
318
        for help with filling of this catalog form.
319
      </p>
320
      <p>&nbsp;</p>
321
      <p align="left">Fields in <span class="required">red</span> are required.
322
      </p>
323
      <p>&nbsp;</p>
324
      <p align="left">If you have any questions, comments or problems 
325
      regarding this form, please contact [% adminname %] at 
326
      <a href="mailto:[% recipient %]"><i>[% recipient %]</i></a>.      
327
      </p>
328
      [% END %]
329
  <!--
330
  </td></tr>
331
</table>
332
-->
333
<p>&nbsp;</p>
334
<form action="@cgi-prefix@/register-dataset.cgi" method="post">
335
  <input type="hidden" name="cfg" value="[% cfg %]">
336
  <input type="hidden" name="docid" value="[% docid %]">
337
  <input type="hidden" name="stage" value="insert">
338
  <input type="hidden" name="hasKeyword" value="[% hasKeyword %]">
339
  <input type="hidden" name="hasTemporal" value="[% hasTemporal %]">
340
  <input type="hidden" name="hasSpatial" value="[% hasSpatial %]">
341
  <input type="hidden" name="hasTaxonomic" value="[% hasTaxonomic %]">
342
  <input type="hidden" name="hasMethod" value="[% hasMethod %]">
343
  <input type="hidden" name="temporalRequired" value="[% temporalRequired %]">
344
  <input type="hidden" name="spatialRequired" value="[% spatialRequired %]>"
345
  <p align="left">
346
 	<b>BASIC INFORMATION&nbsp;</b><a href="@cgi-prefix@/cgi-bin/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#BasicInformation" target="guide"><font size="2"><sup>(What's this?)</sup></font></a>
347
  </p>
348
  <table width="760" border="0" cellspacing="0" cellpadding="9"
349
bgcolor="#c6d6e7">
350
    <tr> 
351
      <td> 
352
        <p align="left">
353
          <span class="label">Name of Person completing this form</span>
354
	    </p>
355
        <p>
356
          <input type="TEXT" name="providerGivenName" size="40" value="[%providerGivenName%]">
357
          <span class="required">First Name</span></p>
358
        <p>
359
          <input type="TEXT" name="providerSurName" size="40" value="[%providerSurName%]">
360
          <span class="required">Last Name</span></p>
361
[% IF showSiteList == 'true' %]
362
        <p align="left">
363
          <select name="site">
364
	    [% IF form == 're_entry' %]
365
	    	<option selected>[%site%]</option>
366
	    [% ELSE %]
367
	        <option>Select your [% lsite %] here.</option>
368
	    [% END %]
369
            [% FOREACH site = siteList %]
370
              <option>[% site %]</option>
371
            [% END %]
372
          </select>
373
          <span class="required">[% usite %] Name</span></p>
374
[% END %]
375
        <p align="left">&nbsp;</p>
376
        <p align="left">
377
          <input type="TEXT" name="title" value="[%title%]" size="53">
378
          <span class="required">Data Set Title</span></p>
379
[% IF cfg == 'nceas' %]
380
        <p align="left"> 
381
          <span class="required">NCEAS Project(s):</span></p>
382
          <select name="wg" multiple="multiple" size="5">
383
            [% FOREACH project = projects %]
384
              [% SET pname = $project.3 %]
385
              [% IF pname.length > 50 %]
386
                [% SET sname = $project.4 %]
387
              [% END %]
388
              [% SET label = "NCEAS ${project.0}: ${project.1}: $project.4" %]
389
              [% SET value = "NCEAS ${project.0}: ${project.1}: $project.3" %]
390
              [% SET sel = '' %]
391
              [% FOREACH group = wg %]
392
                  [% IF group == value %]
393
                      [% SET sel = 'selected="selected"' %]
394
                  [% END %]
395
              [% END %]
396
              <option value="[% value %]" [% sel %]>[% label %]</option>
397
            [% END %]
398
          </select>
399
[% END %]
400
[% IF cfg == 'knb' %]
401
        <p align="left">
402
          <input type="TEXT" name="site" size="40" value="[%site%]">
403
          <span class="required">Organization Name</span>
404
        </p>
405
[% END %]
406
      </td>
407
    </tr>
408
  </table>
409
  <p align="left">
410
      <b>PRINCIPAL DATA SET OWNER&nbsp;</b><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetOriginator" target="guide"><font size="2"><sup>(What's this?)</sup></font></a>
411
  </p>
412
  <table border="0" cellpadding="9" width="760" bgcolor="#c6d6e7"
413
cellspacing="0">
414
    <tr> 
415
      <td valign="TOP" colspan="3"> 
416
        <p>
417
          <input type="TEXT" name="origNamefirst0" size="40" id="origNameFirst" value="[%origNamefirst0%]">
418
          <span class="required">First Name</span></p>
419
        <p>
420
          <input type="TEXT" name="origNamelast0" size="40" id="origNameLast" value="[%origNamelast0%]">
421
          <span class="required">Last Name</span></p>
422
        <p><font size="-1"> 
423
          <input type="TEXT" name="origNameOrg" size="60" id="origNameOrg" value="[%origNameOrg%]">
424
          <b>Organization Name</b></font></p>
425
        <p><font size="-1"> 
426
          <input type="TEXT" name="origEmail" id="origEmail" value="[%origEmail%]">
427
          <b>E-Mail</b></font></p>
428
        <p><font size="-1"> 
429
          <input type="TEXT" name="origPhone" id="origPhone" value="[%origPhone%]">
430
          <b>Phone</b></font></p>
431
        <p><font size="-1"> 
432
          <input type="TEXT" name="origFAX" id="origFAX" value="[%origFAX%]">
433
          <b>FAX</b></font></p>
434
        <p><font size="-1"><b>Street information (number, street, unit, etc., 
435
          comma-separated)</b></font></p>
436
        <p><font size="-1"> 
437
          <textarea rows="5" cols="60" id="origDelivery" name="origDelivery">[%origDelivery%]</textarea>
438
          </font></p>
439
        <p><font size="-1"> 
440
          <input type="TEXT" name="origCity" id="origCity" value="[%origCity%]" size="50">
441
          <b>City</b></font></p>
442
        <p> <font size="-1">
443
          <select name="origState" id="origState">
444
	    [% IF form == 're_entry' %]
445
                <option selected>[%origState%]</option>
446
	    [% ELSE %]
447
		<option>Select state here.</option>
448
	    [% END %]
449
            <option>Alabama</option>
450
            <option>Alaska</option>
451
            <option>American Samoa</option>
452
            <option>Arizona</option>
453
            <option>Arkansas</option>
454
            <option>California</option>
455
            <option>Colorado</option>
456
            <option>Connecticut</option>
457
            <option>Delaware</option>
458
            <option>District of Columbia</option>gh
459
            <option>Federated States of Micronesia</option>
460
            <option>Florida</option>
461
            <option>Georgia</option>
462
            <option>Guam</option>
463
            <option>Hawaii</option>
464
            <option>Idaho</option>
465
            <option>Illinois</option>
466
            <option>Indiana</option>
467
            <option>Iowa</option>
468
            <option>Kansas</option>
469
            <option>Kentucky</option>
470
            <option>Louisiana</option>
471
            <option>Maine</option>
472
            <option>Marshall Islands</option>
473
            <option>Maryland</option>
474
            <option>Massachusetts</option>
475
            <option>Michigan</option>
476
            <option>Minnesota</option>
477
            <option>Mississippi</option>
478
            <option>Missouri</option>
479
            <option>Montana</option>
480
            <option>Nebraska</option>
481
            <option>Nevada</option>
482
            <option>New Hampshire</option>
483
            <option>New Jersey</option>
484
            <option>New Mexico</option>
485
            <option>New York</option>
486
            <option>North Carolina</option>
487
            <option>North Dakota</option>
488
            <option>Northern Mariana Islands</option>
489
            <option>Ohio</option>
490
            <option>Oklahoma</option>
491
            <option>Oregon</option>
492
            <option>Palau</option>
493
            <option>Pennsylvania</option>
494
            <option>Puerto Rico</option>
495
            <option>Rhode Island</option>
496
            <option>South Carolina</option>
497
            <option>South Dakota</option>
498
            <option>Tennessee</option>
499
            <option>Texas</option>
500
            <option>Utah</option>
501
            <option>Vermont</option>
502
            <option>Virgin Islands</option>
503
            <option>Virginia</option>
504
            <option>Washington</option>
505
            <option>West Virginia</option>
506
            <option>Wisconsin</option>
507
            <option>Wyoming</option>
508
          </select>
509
          <b>State</b></font>
510
          <font size="-1"> 
511
          <input type="TEXT" name="origStateOther" id="origStateOther" value="[%origStateOther%]">
512
          <b>Other State or Province</b></font>
513
          </p>
514
        <p><font size="-1"><b> 
515
          <input type="TEXT" name="origZIP" id="origZip" value="[%origZIP%]" size="10">
516
          <b>ZIP</b></b></font></p>
517
        <p><font size="-1"> 
518
          <input type="TEXT" name="origCountry" id="origCountry" value="[%origCountry%]">
519
          <b>Country</b></font></p>
520
    </tr>
521
  </table>
522
  <p><b><font size="-1">
523
      ASSOCIATED PARTIES&nbsp;<a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#AdditionalOriginators"
524
       target="guide"><font size="2"><sup>(What's this?)</sup></font></a>
525
	</font></b>
526
  </p>
527
   [% numAO = 1 %]
528
 [% IF aoCount > 0 %]
529
   [% numAO = aoCount %]
530
 [% END %]
531
  <input type="hidden" name="aoCount" value="[%numAO%]" 
532
            id="aoCount">
533
  <table cellspacing="0" border="0" cellpadding="9" width="760"
534
bgcolor="#c6d6e7">
535
    <tr> 
536
      <td width="21%" valign="TOP"> 
537
        <p><font size="-1"><b>First Name</b></font></p>
538
      </td>
539
      <td width="21%" valign="TOP"> 
540
        <p><font size="-1"><b>Last Name</b></font></p>
541
      </td>
542
      <td width="58%" valign="TOP"> 
543
        <p><font size="-1"><b>Role</b></font></p>
544
      </td>
545
    </tr>
546
    [% cnt = 1 %]
547
        [% WHILE cnt <= numAO%]
548
            <tr> 
549
            <td>
550
            [% SET key = "origNamefirst${cnt}" %]
551
            <input name="origNamefirst[%cnt%]" value="[%$key%]" size="25">
552
            </td>
553

    
554

    
555
            <td>
556
            [% SET key = "origNamelast${cnt}" %]
557
            <input name="origNamelast[%cnt%]" value="[%$key%]" size="25">
558
            </td>
559

    
560
	   <td> 
561
           [% SET origR = "origRole${cnt}" %]
562
	  <select name="origRole[%cnt%]">
563
	    [% IF form == 're_entry' %]
564
	     	<option selected>[%$origR%]</option>
565
	    [% END %]
566
            <option>Principal Investigator</option>
567
            <option>Custodian/Steward</option>
568
            <option>Metadata Provider</option>
569
            <option>Owner</option>
570
            </select>
571
            </td>
572
            </tr>
573
            [% cnt = cnt + 1 %]
574
         [% END %]
575
	 <tr id="addaorow"> 
576
            <td>
577
                <input type="button" value="Add Associated Party" id="addaobutton1"
578
                    onClick="addAdditionalPeople()">
579
            </td>
580
        </tr>
581
  </table>
582
  <br>
583
  <p align="left"><b><font size="-1">
584
       DATA SET ABSTRACT &nbsp;<a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetAbstract"
585
          target="guide"><font size="2"><sup>(What's this?)</sup></font></a>
586
	</font></b></p>
587

    
588
  <table width="760" border="0" cellspacing="0" cellpadding="9"
589
bgcolor="#c6d6e7">
590
    <tr> 
591
      <td> 
592
        <h2 align="left"><b><font size="-1" color="#b00000">Data 
593
          Set Abstract</font></b></h2>
594
        <p align="left"> 
595
          <textarea rows="5" cols="80" name="abstract">[%abstract%]</textarea>
596
        </p>
597
      </td>
598
    </tr>
599
  </table>
600
  [% IF hasKeyword == 'true' %]
601
  <p align="left"><b><font size="-1">
602
       KEYWORD INFORMATION&nbsp;<a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#KeywordInformation"
603
        target="guide"><font size="2"><sup>(What's this?)</sup></font></a>
604
	</font></b> 
605
    <font size="-1"><b><br>
606
    </b>(for example keywords, have a look at the keyword thesaurus for the <a href=
607
"http://gcmd.nasa.gov/Resources/valids/gcmd_parameters.html" target="nasa"><font color=
608
"008000">NASA Global Change Master Directory (GCMD))</font></a></font></p>
609
 [% numKey = 1 %]
610
 [% IF keyCount > 0 %]
611
   [% numKey = keyCount %]
612
 [% END %]
613
 <input type="hidden" name="keyCount" value="[%numKey%]" 
614
            id="keyCount">
615
  <table cellspacing="0" border="0" cellpadding="9" width="760"
616
bgcolor="#c6d6e7"> 
617
 <table cellspacing="0" border="0" cellpadding="9" width="760"
618
bgcolor="#c6d6e7">
619
    <tr> 
620
      <td width="34%" valign="TOP"> 
621
        <p><font size="-1"><b>Keyword</b></font></p>
622
      </td>
623
      <td width="18%" valign="TOP"> 
624
        <p><font size="-1"><b>Keyword Type</b></font></p>
625
      </td>
626
      <td width="48%" valign="TOP"> 
627
        <p><font size="-1"><b>Keyword Thesaurus</b></font></p>
628
      </td>
629
    </tr>
630
        [% cnt = 1 %]
631
        [% WHILE cnt <= numKey %]
632
            <tr> 
633
            <td>
634
            [% SET key = "keyword${cnt}" %]
635
            <input name="keyword[%cnt%]" value="[%$key%]" size="40">
636
            </td>
637

    
638
            <td>
639
            [% SET keyT = "kwType${cnt}" %]
640
            <select name="kwType[%cnt%]">
641
	    [% IF form == 're_entry' %]
642
	     	<option selected>[%$keyT%]</option>
643
	    [% END %]
644
	    <option>none</option>
645
            <option>theme</option>
646
            <option>place</option>
647
            <option>stratum</option>
648
            <option>temporal</option>
649
            <option>taxonomic</option>
650
            </select>
651
            </td>
652

    
653
            <td>
654
            [% SET keyTh = "kwTh${cnt}" %]
655
            <select name="kwTh[%cnt%]">
656
	    [% IF form == 're_entry' %]
657
	     	<option selected>[%$keyTh%]</option>
658
	    [% END %]
659
	    <option>none</option>
660
            <option>GCMD</option>
661
            </select>
662
            </td>
663
            </tr>
664
            [% cnt = cnt + 1 %]
665
         [% END %]
666
        <tr id="addkeyrow"> 
667
            <td>
668
                <input type="button" value="Add Keyword" id="addkeybutton1"
669
                    onClick="addKeyword()">
670
            </td>
671
        </tr>
672
  </table>
673
  [% END %]
674
  <br>
675

    
676
  [% IF hasTemporal == 'true' %]
677

    
678
  <p align="left"><b><font size="-1">
679
  TEMPORAL COVERAGE OF DATA&nbsp;<a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TemporalCoverageOfData"
680
   target="guide"><font size="2"><sup>(What's this?)</sup></font></a>
681
	</font></b></p>
682
  <table cellspacing="0" border="0" cellpadding="9" width="760"
683
bgcolor="#c6d6e7">
684
    <tr> 
685
      <td valign="TOP" colspan="3"> 
686
        <p><font size="-1"><b>Beginning Date of Data Set:</b></font></p>
687
      </td>
688
    </tr>
689
    <tr> 
690
      <td width="33%" valign="TOP"> 
691
        <p><font size="-1"> 
692
          <input type="TEXT" name="beginningYear" value="[%beginningYear%]" size="8" maxlength="4">
693
          [% IF temporalRequired == 'true' %]
694
          	<b><font color="#b00000">Year (YYYY)</font></b></font></p>
695
          [% ELSE %]
696
		<b>Year (YYYY)</b></font></p>
697
	  [% END %]
698
      </td>
699
      <td width="33%" valign="TOP"> 
700
        <p><font size="-1"> 
701
          <select name="beginningMonth">
702
	    [% IF form == 're_entry' %]
703
	    	<option selected>[%beginningMonth%]</option>
704
	    [% END %]
705
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
706
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
707
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
708
            <option>12</option>
709
          </select>
710
          [% IF temporalRequired == 'true' %]
711
	        <b><font color="#b00000">Month (MM)</font></b></font></p>
712
          [% ELSE %]
713
		<b>Month (MM)</b></font></p>
714
	  [% END %]
715
	</font></p>
716
      </td>
717
      <td width="33%" valign="TOP"> 
718
        <p><font size="-1">
719
          <select name="beginningDay">
720
	    [% IF form == 're_entry' %]
721
	    	<option selected>[%beginningDay%]</option>
722
	    [% END %]
723
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
724
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
725
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
726
            <option>12</option>            <option>13</option>            <option>14</option>            <option>15</option>
727
            <option>16</option>            <option>17</option>            <option>18</option>            <option>19</option>
728
            <option>20</option>            <option>21</option>            <option>22</option>            <option>23</option>
729
            <option>24</option>            <option>25</option>            <option>26</option>            <option>27</option>
730
            <option>28</option>            <option>29</option>            <option>30</option>            <option>31</option>
731
          </select>
732
          [% IF temporalRequired == 'true' %]
733
        	  <b><font color="#b00000">Day (DD)</font></b></font></p>
734
          [% ELSE %]
735
	          <b>Day (DD)</b></font></p>
736
	  [% END %]
737

    
738
	</font></p>
739
      </td>
740
    </tr>
741
    <tr> 
742
      <td valign="TOP" colspan="3"> 
743
        <p><font size="-1"><b>Ending Date of Data Set (provide no ending date 
744
          at all if your data set is open-ended):</b></font></p>
745
      </td>
746
    </tr>
747
    <tr> 
748
      <td width="33%" valign="TOP"> 
749
        <p><font size="-1"> 
750
          <input type="TEXT" name="endingYear" value="[%endingYear%]" size="8" maxlength="4">
751
          <b>Year (YYYY)</b></font></p>
752
      </td>
753
      <td width="33%" valign="TOP"> 
754
        <p><font size="-1"> 
755
          <select name="endingMonth">
756
	    [% IF form == 're_entry' %]
757
	    	<option selected>[%endingMonth%]</option>
758
	    [% END %]
759
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
760
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
761
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
762
            <option>12</option>
763
          </select>
764
          <b>Month (MM)</b>
765
	</font></p>
766
      </td>
767
      <td width="33%" valign="TOP"> 
768
        <p><font size="-1"> 
769
          <select name="endingDay">
770
	    [% IF form == 're_entry' %]
771
	    	<option selected>[%endingDay%]</option>
772
	    [% END %]
773
            <option>00</option>            <option>01</option>            <option>02</option>            <option>03</option>
774
            <option>04</option>            <option>05</option>            <option>06</option>            <option>07</option>
775
            <option>08</option>            <option>09</option>            <option>10</option>            <option>11</option>
776
            <option>12</option>            <option>13</option>            <option>14</option>            <option>15</option>
777
            <option>16</option>            <option>17</option>            <option>18</option>            <option>19</option>
778
            <option>20</option>            <option>21</option>            <option>22</option>            <option>23</option>
779
            <option>24</option>            <option>25</option>            <option>26</option>            <option>27</option>
780
            <option>28</option>            <option>29</option>            <option>30</option>            <option>31</option>
781
          </select>
782
          <b>Day (DD)</b>
783
      </td>
784
    </tr>
785
  </table>
786
  [% END %]
787

    
788
  [% IF hasSpatial == 'true' %]
789
  <p align="left">
790
  <b>SPATIAL COVERAGE OF DATA&nbsp;</b><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#SpatialCoverageOfData" target="guide"><font size="2"><sup>(What's this?)</sup></font></a>
791
  </p>
792
  <table cellspacing="0" border="0" cellpadding="9" width="760"
793
bgcolor="#c6d6e7">
794
    <tr>
795
    <td valign="top" colspan="4">
796
          
797
    [% IF spatialRequired == 'true' %]
798
      	  <span class="required">Geographic Description</span><br>
799
    [% ELSE %]
800
          <span class="label">Geographic Description</span><br>
801
    [% END %]    
802

    
803
    Enter a general description of the geographic area in which the data were collected.
804
    This can be a simple place name (e.g., Santa Barbara) or a fuller description.<br>
805
    <textarea rows="3" cols="80" name="geogdesc">[% geogdesc %]</textarea>
806
    </td>
807
    </tr>
808
    <tr> 
809
      <td valign="TOP" colspan="4"> 
810
        <p class="label">Coordinates (in Degrees, Minutes and Seconds; at 
811
          least 1 lat./long. pair is required):</p>
812
      </td>
813
    </tr>
814
    <tr> 
815
      <td valign="TOP" colspan="4"> 
816
        <p>Enter the first lat./long. pair only to indicate 
817
          a point location. Enter both coordinate pairs to indicate a bounding
818
          box. In case of a bounding box, the first coordinate pair is the
819
          northwest corner and the second coordinate pair is the southeast
820
          corner of the bounding box.</p>
821
      </td>
822
    </tr>
823
[% IF showSiteList == 'true' %]
824
    <tr>
825
      <td valign="TOP" colspan="4" class="tablepanel">
826
        <input class="required"
827
        type="CHECKBOX" name="useSiteCoord" [%useSiteCoord%]>
828
        Use [% lsite %] coordinates. (This indicates that the data were
829
        collected at the [% lsite %]. If you check this box, you don't need
830
        to fill in the lat./long. fields below).
831
        </td>
832
    </tr>
833
[% END %]
834
    <tr> 
835
      <td width="18%" valign="TOP">
836
      [% IF spatialRequired == 'true' %]
837
        <span class="required">Latitude</span>
838
      [% ELSE %]
839
        <span class="label">Latitude</span>
840
      [% END %]     
841
      </td>
842
      <td width="20%" valign="TOP"> 
843
        &nbsp;North/South
844
      </td>
845
      <td width="20%" valign="TOP"> 
846

    
847
      [% IF spatialRequired == 'true' %]
848
        <span class="required">Longitude</span>
849
      [% ELSE %]
850
        <span class="label">Longitude</span>
851
      [% END %]
852

    
853
      </td>
854
      <td width="42%" valign="TOP"> 
855
        &nbsp;West/East
856
      </td>
857
    </tr>
858
    <tr> 
859
      <td width="20%" valign="TOP"> 
860
          <input type="TEXT" name="latDeg1" value="[%latDeg1%]" size="3" maxlength="3">
861
          <input type="TEXT" name="latMin1" value="[%latMin1%]" size="2" maxlength="2">
862
          <input type="TEXT" name="latSec1" value="[%latSec1%]" size="2" maxlength="2">
863
      </td>
864
      <td width="20%" valign="TOP"> 
865
          <select name="hemisphLat1">
866
	    [% IF form == 're_entry' %]
867
	    	<option selected>[%hemisphLat1%]</option>
868
	    [% END %]
869
            <option>N</option>
870
            <option>S</option>
871
          </select>
872
      </td>
873
      <td width="20%" valign="TOP"> 
874
          <input type="TEXT" name="longDeg1" value="[%longDeg1%]" size="3" maxlength="3">
875
          <input type="TEXT" name="longMin1" value="[%longMin1%]" size="2" maxlength="2">
876
          <input type="TEXT" name="longSec1" value="[%longSec1%]" size="2" maxlength="2">
877
      </td>
878
      <td width="40%" valign="TOP"> 
879
          <select name="hemisphLong1">
880
	    [% IF form == 're_entry' %]
881
	    	<option selected>[%hemisphLong1%]</option>
882
	    [% END %]
883
            <option>W</option>
884
            <option>E</option>
885
          </select>
886
      </td>
887
    </tr>
888
    <tr> 
889
      <td valign="TOP" colspan="4"> 
890
        The second lat./long. pair, if provided, indicates 
891
        the southeast corner of a bounding box.
892
      </td>
893
    </tr>
894
    <tr> 
895
      <td width="18%" valign="TOP"> 
896
        Latitude
897
      </td>
898
      <td width="20%" valign="TOP"> 
899
        &nbsp;North/South
900
      </td>
901
      <td width="20%" valign="TOP"> 
902
        Longitude
903
      </td>
904
      <td width="42%" valign="TOP"> 
905
        West/East
906
      </td>
907
    </tr>
908
    <tr> 
909
      <td width="20%" valign="TOP"> 
910
          <input type="TEXT" name="latDeg2" value="[%latDeg2%]" size="3" maxlength="3">
911
          <input type="TEXT" name="latMin2" value="[%latMin2%]" size="2" maxlength="2">
912
          <input type="TEXT" name="latSec2" value="[%latSec2%]" size="2" maxlength="2">
913
      </td>
914
      <td width="20%" valign="TOP"> 
915
          <select name="hemisphLat2">
916
	    [% IF form == 're_entry' %]	
917
	    	<option selected>[%hemisphLat2%]</option>
918
            [% END %]
919
	    <option>N</option>
920
            <option>S</option>
921
          </select>
922
      </td>
923
      <td width="20%" valign="TOP"> 
924
          <input type="TEXT" name="longDeg2" value="[%longDeg2%]" size="3" maxlength="3">
925
          <input type="TEXT" name="longMin2" value="[%longMin2%]" size="2" maxlength="2">
926
          <input type="TEXT" name="longSec2" value="[%longSec2%]" size="2" maxlength="2">
927
      </td>
928
      <td width="40%" valign="TOP"> 
929
          <select name="hemisphLong2">
930
	    [% IF form == 're_entry' %]
931
	    	<option selected>[%hemisphLong2%]</option>
932
	    [% END %]
933
            <option>W</option>
934
            <option>E</option>
935
          </select>
936
      </td>
937
    </tr>
938
  </table>
939
  [% END %]
940

    
941
  [% IF hasTaxonomic == 'true' %]
942
  <p align="left">
943
  <b>TAXONOMIC COVERAGE OF DATA&nbsp;</b><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TaxonomicCoverage" target="guide"><font size="2"><sup>(What's this?)</sup></font></a>
944
   </p>
945
  <table cellspacing="0" border="0" cellpadding="9" width="760" 
946
    bgcolor="#c6d6e7">
947
    <tbody>
948
    <tr> 
949
        <td colspan="2">
950
        <p class="label">List the taxa associated with this set of data.</p>
951
        <p>The Taxon Rank should indicate the level in the taxonomic
952
        hierarchy (e.g., Phylum or Species) and the Taxonomic Name should 
953
        be the scientific name for the organism at that level 
954
        (e.g., <i>Ursus arctos</i>).</p>
955
        [% numTaxa = 1 %]
956
        [% IF taxaCount > 0 %]
957
            [% numTaxa = taxaCount %]
958
        [% END %]
959
        <input type="hidden" name="taxaCount" value="[%numTaxa%]" 
960
            id="taxaCount">
961
        </td>
962
    </tr>
963

    
964
    <tr>
965
    <td>
966
        <table border="0">
967
        <tbody>
968
        <tr> 
969
            <td><span class="label">Taxon Rank</span></td>
970
            <td><span class="label">Taxon Name</span></td>
971
        </tr>
972
        [% cnt = 1 %]
973
        [% WHILE cnt <= numTaxa %]
974
            <tr> 
975
            <td>
976
            [% SET trn = "taxonRankName${cnt}" %]
977
            <input name="taxonRankName[%cnt%]" value="[% $trn %]" size="25">
978
            </td>
979
            <td>
980
            [% SET trv = "taxonRankValue${cnt}" %]
981
            <input name="taxonRankValue[%cnt%]" value="[% $trv %]" size="25">
982
            </td>
983
            </tr>
984
            [% cnt = cnt + 1 %]
985
         [% END %]
986
        <tr id="addtaxarow"> 
987
            <td>
988
                <input type="button" value="Add taxon" id="addtaxabutton1"
989
                    onClick="addTaxon()">
990
            </td>
991
        </tr>
992
        </tbody>
993
        </table>
994

    
995
     </td>
996
     </tr>
997
     <tr> 
998
        <td colspan="2">
999
        <p class="label">Taxonomic Authority</p>
1000
        <p>List the source(s) used for identifying and naming taxa in this
1001
        list.  These sources should provide comprehensive information about
1002
        the taxonomic concepts indicated by the names listed.</p>
1003
        <textarea rows="5" cols="80" name="taxaAuth">[% taxaAuth %]</textarea>
1004
        </td>
1005
     </tr>
1006
     </tbody>
1007
   </table>
1008
  [% END %]	
1009

    
1010
  [% IF hasMethod == 'true' %]
1011
  <p align="left">
1012
  <b>METHODS&nbsp;</b><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Methods" target="guide"><font size="2"><sup>(What's this?)</sup></font></a>
1013
   </p>
1014
  <table cellspacing="0" border="0" cellpadding="9" width="760" bgcolor="#c6d6e7">
1015
    <tbody>
1016
    <tr> 
1017
      <td valign="top" colspan="3"> 
1018
        <p class="label">Data Collection Methods</p>
1019
      </td>
1020
    </tr>
1021
    <tr> 
1022
      <td valign="top"> 
1023
        <p>
1024
          <input type="text" name="methodTitle" value="[%methodTitle%]" size="40">
1025
          <span class="label">Title of Method</span>
1026
        </p>
1027
        <p>
1028
          <span class="label">Method Description</span>
1029
        [% IF methodPara.size < 1 %]
1030
          <br>
1031
          <textarea rows="5" cols="80" name="methodPara"></textarea>
1032
        [% END %]
1033
        [% FOREACH para = methodPara %]
1034
          <br>
1035
          <textarea rows="5" cols="80" name="methodPara">[% para %]</textarea>
1036
        [% END %]
1037
        </p>
1038
        <p>
1039
          <input type="button" value="Add paragraph" id="addparabutton1"
1040
                 onClick="addParagraph()">
1041
        </p><br>
1042
        <p class="label">Description of Study Extent</p>
1043
        <p>Describe the temporal, spatial and taxonomic extent of the study,
1044
        supplementing the information on coverage provided above.  For example,
1045
        if the temporal coverage of the data is 1990-2000, you might provide 
1046
        details about any years that were missed or the months in which sampling
1047
        occurred.</p>
1048
        <p>
1049
          <textarea rows="5" cols="80" name="studyExtentDescription">[% studyExtentDescription %]</textarea>
1050
        </p><br>
1051
        <p class="label">Sampling Description</p>
1052
        <p>Describe the sampling design of the study.  For example, you might 
1053
        describe the way in which treatments were assigned to sampling units.
1054
        </p>
1055
        <p>
1056
          <textarea rows="5" cols="80" name="samplingDescription">[% samplingDescription %]</textarea>
1057
        </p>
1058
      </td>
1059
     </tbody>
1060
   </table>
1061
  [% END %]
1062
  <p align="left">
1063
  <b>DATA SET CONTACT&nbsp;</b><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetContactAddress" target="guide"><font size="2"><sup>(What's this?)</sup></font></a>
1064
  </p>
1065
  <table border="0" cellspacing="0" cellpadding="9" width="760" bgcolor="#c6d6e7">
1066
    <tr> 
1067
      <td valign="TOP" colspan="3">
1068
        <input type="CHECKBOX" name="useOrigAddress" onClick="copyContact()" id="copyCheckBox" [%useOrigAddress%]>
1069
        Use the same name and address as the PRINCIPAL DATA SET OWNER above (If you check this box, 
1070
        you don't need to fill in the address fields below).</td>
1071
    </tr>
1072
    <tr> 
1073
      <td valign="TOP" colspan="8"> 
1074
        <p>
1075
          <input type="TEXT" name="origNamefirstContact" id="contactNameFirst" value="[%origNamefirstContact%]" size="40">
1076
          <b><font color="#b00000">First Name</font></b></p>
1077
        <p>
1078
          <input type="TEXT" name="origNamelastContact" id="contactNameLast" value="[%origNamelastContact%]" size="40">
1079
          <b><font color="#b00000">Last Name</font></b></p>
1080
        <p>
1081
          <input type="TEXT" name="origNameOrgContact" id="contactNameOrg" value="[%origNameOrgContact%]" size="60">
1082
          <b>Organization Name</b></p>
1083
        <p>
1084
          <input type="TEXT" name="origEmailContact" id="contactEmail" value="[%origEmailContact%]">
1085
          <b>E-Mail</b></p>
1086
        <p>
1087
          <input type="TEXT" name="origPhoneContact" id="contactPhone" value="[%origPhoneContact%]">
1088
          <b>Phone</b></p>
1089
        <p>
1090
          <input type="TEXT" name="origFAXContact" id="contactFAX" value="[%origFAXContact%]">
1091
          <b>FAX</b></p>
1092
        <p><b>Street information (number, street, unit, etc., 
1093
          comma-separated)</b></p>
1094
        <p>
1095
          <textarea rows="5" cols="60" name="origDeliveryContact" id="contactDelivery">[%origDeliveryContact%]</textarea></p>
1096
        <p>
1097
          <input type="TEXT" name="origCityContact" id="contactCity" value="[%origCityContact%]" size="50">
1098
          <b>City</b></p>
1099
        <p> 
1100
          <select id="contactState" name="origStateContact">
1101
	    [% IF form == 're_entry' %]	
1102
            	<option>[%origStateContact%]</option>
1103
	    [% ELSE %]
1104
                <option>Select state here.</option>
1105
            [% END %]
1106
	        <option>Alabama</option>
1107
            <option>Alaska</option>
1108
            <option>American Samoa</option>
1109
            <option>Arizona</option>
1110
            <option>Arkansas</option>
1111
            <option>California</option>
1112
            <option>Colorado</option>
1113
            <option>Connecticut</option>
1114
            <option>Delaware</option>
1115
            <option>District of Columbia</option>
1116
            <option>Federated States of Micronesia</option>
1117
            <option>Florida</option>
1118
            <option>Georgia</option>
1119
            <option>Guam</option>
1120
            <option>Hawaii</option>
1121
            <option>Idaho</option>
1122
            <option>Illinois</option>
1123
            <option>Indiana</option>
1124
            <option>Iowa</option>
1125
            <option>Kansas</option>
1126
            <option>Kentucky</option>
1127
            <option>Louisiana</option>
1128
            <option>Maine</option>
1129
            <option>Marshall Islands</option>
1130
            <option>Maryland</option>
1131
            <option>Massachusetts</option>
1132
            <option>Michigan</option>
1133
            <option>Minnesota</option>
1134
            <option>Mississippi</option>
1135
            <option>Missouri</option>
1136
            <option>Montana</option>
1137
            <option>Nebraska</option>
1138
            <option>Nevada</option>
1139
            <option>New Hampshire</option>
1140
            <option>New Jersey</option>
1141
            <option>New Mexico</option>
1142
            <option>New York</option>
1143
            <option>North Carolina</option>
1144
            <option>North Dakota</option>
1145
            <option>Northern Mariana Islands</option>
1146
            <option>Ohio</option>
1147
            <option>Oklahoma</option>
1148
            <option>Oregon</option>
1149
            <option>Palau</option>
1150
            <option>Pennsylvania</option>
1151
            <option>Puerto Rico</option>
1152
            <option>Rhode Island</option>
1153
            <option>South Carolina</option>
1154
            <option>South Dakota</option>
1155
            <option>Tennessee</option>
1156
            <option>Texas</option>
1157
            <option>Utah</option>
1158
            <option>Vermont</option>
1159
            <option>Virgin Islands</option>
1160
            <option>Virginia</option>
1161
            <option>Washington</option>
1162
            <option>West Virginia</option>
1163
            <option>Wisconsin</option>
1164
            <option>Wyoming</option>
1165
          </select>
1166
          <b>State</font></b>&nbsp;&nbsp;&nbsp;
1167
          <input type="TEXT" name="origStateOtherContact" id="contactStateOther" value="[%origStateOtherContact%]">
1168
          <b>Other State or Province</b>
1169
          </p>
1170
        <p>
1171
          <input type="TEXT" name="origZIPContact" size="10" id="contactZip" value="[%origZIPContact%]">
1172
          <b>ZIP</b></p>
1173
        <p>
1174
          <input type="TEXT" name="origCountryContact" id="contactCountry" value="[%origCountryContact%]">
1175
          <b>Country</b></p>
1176
      </td>
1177
    </tr>
1178
  </table>
1179

    
1180
  <p align="left">
1181
  <b>DISTRIBUTION INFORMATION&nbsp;</b><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DistributionIinformation" target="guide"><font size="2"><sup>(What's this?)</sup></font></a>
1182
  </p>
1183
  <table cellspacing="0" border="0" cellpadding="9" width="760" bgcolor="#c6d6e7">
1184
    <tr> 
1185
      <td width="50%" valign="TOP"> 
1186
        <p align="left"><font size="-1"> 
1187
          <input type="TEXT" name="identifier" value="[%identifier%]" size="40">
1188
  <b>Dataset Name or Identifier (important)&nbsp;<a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Site-specificCode"
1189
   target="guide"><font size="2"><sup>(What's this?)</sup></font></a> </b></font></p>
1190

    
1191
        <p><font size="-1"><b><font color="#b00000">Data Medium:</font></b></font></p>
1192
        <p> <font size="-1">
1193
          <select name="dataMedium">
1194
	    [% IF form == 're_entry' %]	
1195
	    	<option selected>[%dataMedium%]</option>
1196
	    [% ELSE %]
1197
                <option>Select type of medium here.</option>
1198
            [% END %]
1199
            <option>digital</option>
1200
            <option>hardcopy</option>
1201
            <option>other</option>
1202
          </select>
1203
          </font></p>
1204
        <p><font size="-1"><b>If you selected "other" for Data Medium, enter detail 
1205
          below</b></font></p>
1206
        <p><font size="-1"> 
1207
          <input type="TEXT" name="dataMediumOther" value="[%dataMediumOther%]" size="40">
1208
          </font></p>
1209
      </td>
1210
    </tr>
1211
    <tr> 
1212
      <td width="50%" valign="TOP"> 
1213
        <p> <font size="-1"><b><font color="#b00000">Use Constraints:</font></b></font> 
1214
        </p>
1215
        <p> <font size="-1">
1216
          <select name="useConstraints">
1217
	    [% IF form == 're_entry' %]	
1218
	        <option selected>[%useConstraints%]</option>
1219
	    [% ELSE %]
1220
                <option>Select restrictions here.</option>
1221
	    [% END %]
1222
            <option>no restrictions</option>
1223
            <option>obtain permission from originator(s)</option>
1224
            <option>other</option>
1225
          </select>
1226
          </font></p>
1227
        <p><font size="-1"><b>If you selected "other" for Use Constraints, enter 
1228
          detail below.</b></font></p>
1229
        <p><font size="-1"> 
1230
          <input type="TEXT" name="useConstraintsOther" value="[%useConstraintsOther%]" size="40">
1231
          </font></p>
1232
      </td>
1233
    </tr>
1234
    <tr> 
1235
      <td> 
1236
        <p align="left"><font size="-1"> 
1237
          <input type="TEXT" name="url" value="[%url%]" size="50">
1238
          <b>URL (for location of data set or of more metadata)</b></font></p>
1239

    
1240
        <p align="left"><font size="-1"><b>
1241
  Additional Information&nbsp;<a
1242
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#AdditionalInformation"
1243
   target="guide"><font size="2"><sup>(What's this?)</sup></font></a>	
1244
	</b></font></p>
1245
        <p align="left"><font size="-1"> 
1246
          <textarea rows="5" cols="60" name="addComments">[%addComments%]</textarea>
1247
          </font></p>
1248
      </td>
1249
    </tr>
1250
  </table>
1251

    
1252
  <div align="center"> 
1253
    <table width="760" border="0" cellpadding="9" align="left" bgcolor="#C6d6e7" cellspacing="0">
1254
      <tr> 
1255
        <td width="760"> 
1256
          <div align="left"> <font color="#FF0000" size="-1">NOTE: You must submit 
1257
            your data in order for these to be entered in the Data Registry!</font> 
1258
            <p> 
1259
              <input type="SUBMIT" value="Submit Entry" name="SUBMIT">
1260
              <input type="RESET" name="RESET">
1261
            </p>
1262
          </div>
1263
        </td>
1264
      </tr>
1265
    </table>
1266
    <p>&nbsp;</p>
1267
    <div align="left"> </div>
1268
    <p align="left"> 
1269
    <p align="left">&nbsp; </p>
1270
    <p align="left">&nbsp; </p>
1271
  </div>
1272
</form>
1273
<p>&nbsp;</p>
1274
<p>&nbsp;</p>
1275

    
1276
[% INCLUDE "genericFooter.tmpl" %]