[3162] | 1 | package query
|
---|
| 2 |
|
---|
| 3 |
|
---|
| 4 | #######################################################################
|
---|
| 5 | # Macros whose values are set from within the server at runtime. These
|
---|
| 6 | # are here only for reference and to set default values if required.
|
---|
| 7 | #######################################################################
|
---|
| 8 |
|
---|
| 9 | _quotedquery_ {}
|
---|
| 10 | _freqmsg_ {}
|
---|
| 11 | _resultline_ {}
|
---|
| 12 | _thisfirst_ {}
|
---|
| 13 | _thislast_ {}
|
---|
| 14 | _nextfirst_ {}
|
---|
| 15 | _nextlast_ {}
|
---|
| 16 | _prevfirst_ {}
|
---|
| 17 | _prevlast_ {}
|
---|
| 18 | _searchhistorylist_ {}
|
---|
| 19 | #_histvalue0_ to _histvalue19_
|
---|
| 20 | _advformlist_ {}
|
---|
| 21 | _regformlist_ {}
|
---|
| 22 | _fqfselection_ {}
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | #######################################################################
|
---|
| 26 | # icons
|
---|
| 27 | #######################################################################
|
---|
| 28 |
|
---|
| 29 | _iconthispage_ {<img src="_httpiconhsearch_" alt="_texticonthispage_" width="_widthhsearch_" height="_heighthsearch_">}
|
---|
| 30 |
|
---|
| 31 | _iconqueryresultsbar_ {<img src="_httpiconqryresb_" width="_widthqryresb_" height="_heightqryresb_" alt="_texticonqueryresultsbar_">}
|
---|
| 32 |
|
---|
| 33 | # _iconnext_ and _iconprev_ are overridden in this package as we
|
---|
| 34 | # don't want alt text here
|
---|
| 35 | _iconnext_{<img src="_httpiconmore_" width=_widthmore_ height=_heightmore_ border=0 align=top>}
|
---|
| 36 | _iconprev_{<img src="_httpiconless_" width=_widthless_ height=_heightless_ border=0 align=top>}
|
---|
| 37 |
|
---|
| 38 | #######################################################################
|
---|
| 39 | # images
|
---|
| 40 | #######################################################################
|
---|
| 41 |
|
---|
| 42 | _imagethispage_ {_iconthispage_}
|
---|
| 43 |
|
---|
| 44 | #######################################################################
|
---|
| 45 | # page content
|
---|
| 46 | #######################################################################
|
---|
| 47 |
|
---|
| 48 | _pagescriptextra_ {
|
---|
| 49 | var options = new Array(7);
|
---|
| 50 | options[0] = new Array('Any');
|
---|
| 51 | options[1] = new Array('Any', 'Absorption', 'Distribution', 'Metabolism', 'Elimination',
|
---|
| 52 | 'Effect of Food', 'Drug Interactions', 'Special Populations');
|
---|
| 53 | options[2] = new Array('Any', 'Trace Metal', 'Excretion', 'Selectivity', 'Copper', 'Zinc',
|
---|
| 54 | 'Manganese', 'Iron', 'Distribution', 'Brain', 'Heart', 'Plasma',
|
---|
| 55 | 'Plasma', 'Fetal', 'Liver', 'Kidney');
|
---|
| 56 | options[3] = new Array('Any', 'Acute Toxicity', 'Repeated Dose Toxicity', 'Studies in Rodents',
|
---|
| 57 | 'Studies in Dogs', 'Overdosage', 'Reproductive Toxicity',
|
---|
| 58 | 'Teratogenicity', 'Mutagenecity', 'Carcinogenicity');
|
---|
| 59 | options[4] = new Array('Any', 'Superoxide Dismutase', 'Ferroxidase I', 'Ferroxidase II',
|
---|
| 60 | 'Metallothienein', 'Ceruloplasmin');
|
---|
| 61 | options[5] = new Array('Any', 'Heart', 'Complications', 'Microvascular', 'Renal', 'Diabetes');
|
---|
| 62 | options[6] = new Array('Any');
|
---|
| 63 | options[7] = new Array('Any');
|
---|
| 64 |
|
---|
| 65 | function initialize () \{
|
---|
| 66 |
|
---|
| 67 | var form = document.QueryForm;
|
---|
| 68 | var c2 = form.c2.selectedIndex;
|
---|
| 69 | var i;
|
---|
| 70 |
|
---|
| 71 | form.c3.options.length = 0;
|
---|
| 72 |
|
---|
[3168] | 73 | var isselected = 0;
|
---|
[3162] | 74 | for (i = 0; i < options[c2].length; i++) \{
|
---|
| 75 | form.c3.options[i] = new Option(options[c2][i], options[c2][i]);
|
---|
[3168] | 76 | if (options[c2][i] == "_cgiargc3_") \{
|
---|
| 77 | form.c3.selectedIndex = i;
|
---|
| 78 | isselected = 1;
|
---|
| 79 | \}
|
---|
[3162] | 80 | \}
|
---|
[3168] | 81 | if (!isselected) form.c3.selectedIndex = 0;
|
---|
[3162] | 82 | \}
|
---|
| 83 | }
|
---|
| 84 |
|
---|
| 85 | _content_ {
|
---|
| 86 | <center>
|
---|
| 87 | _queryform_
|
---|
| 88 | </center>
|
---|
[3168] | 89 | <center>_iconblankbar_</center><br>
|
---|
[3162] | 90 | _resultline_
|
---|
| 91 | }
|
---|
| 92 |
|
---|
| 93 | _queryform_ {
|
---|
| 94 | <form name=QueryForm method=get action="_gwcgi_">
|
---|
| 95 | <input type=hidden name="a" value="q">
|
---|
| 96 | <input type=hidden name="r" value="1">
|
---|
[3168] | 97 | <input type=hidden name="g" value="Section">
|
---|
[3162] | 98 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
| 99 | <p>
|
---|
[3177] | 100 | <table border="0">
|
---|
[3162] | 101 |
|
---|
[3177] | 102 | <tr valign="center">
|
---|
| 103 | <td align="right"><b>Type</b></td>
|
---|
| 104 | <td><select name="c1">
|
---|
| 105 | <option value="" _If_(_cgiargc1_,, selected)>Any
|
---|
| 106 | <option value="Animal" _If_("_cgiargc1_" eq "Animal", selected)>Animal
|
---|
| 107 | <option value="Human" _If_("_cgiargc1_" eq "Human", selected)>Human
|
---|
| 108 | <option value="Other" _If_("_cgiargc1_" eq "Other", selected)>Other
|
---|
[3162] | 109 | </select>
|
---|
| 110 | </td>
|
---|
[3177] | 111 | </tr>
|
---|
[3162] | 112 |
|
---|
[3177] | 113 | <tr valign="center">
|
---|
| 114 | <td align="right"><b>Category</b></td>
|
---|
| 115 | <td>
|
---|
[3162] | 116 | <select name="c2" onChange='initialize()'>
|
---|
[3177] | 117 | <option value="" _If_(_cgiargc2_,, selected)>Any
|
---|
| 118 | <option value="Pharmacokinetics" _If_("_cgiargc2_" eq "Pharmacokinetics", selected)>Pharmacokinetics
|
---|
| 119 | <option value="Pharmacodynamics" _If_("_cgiargc2_" eq "Pharmacodynamics", selected)>Pharmacodynamics
|
---|
| 120 | <option value="Safety/Side Effects/Toxicity" _If_("_cgiargc2_" eq "Safety/Side Effects/Toxicity", selected)>Safety/Side Effects/Toxicity
|
---|
| 121 | <option value="Other" _If_("_cgiargc2_" eq "Other", selected)>Other
|
---|
| 122 | <option value="Efficacy" _If_("_cgiargc2_" eq "Efficacy", selected)>Efficacy
|
---|
| 123 | <option value="Contraindications" _If_("_cgiargc2_" eq "Contraindications", selected)>Contraindications
|
---|
| 124 | <option value="Precautions" _If_("_cgiargc2_" eq "Precautions", selected)>Precautions
|
---|
[3162] | 125 | </select>
|
---|
| 126 | </td>
|
---|
[3177] | 127 | </tr>
|
---|
[3162] | 128 |
|
---|
[3177] | 129 | <tr valign="center">
|
---|
| 130 | <td align="right"><b>Sub-Category</b></td>
|
---|
| 131 | <td>
|
---|
[3162] | 132 | <select name="c3">
|
---|
| 133 | <option value="">Any
|
---|
| 134 | </select>
|
---|
| 135 | </td>
|
---|
| 136 | </tr>
|
---|
| 137 |
|
---|
[3177] | 138 | <tr valign="center">
|
---|
| 139 | <td align="right"><b>Search Terms</b></td>
|
---|
| 140 | <td>
|
---|
[3162] | 141 | <nobr>
|
---|
| 142 | <input type="text" name="q" value="_cgiargq_" size="40">
|
---|
| 143 | <input type="submit" value="_textbeginsearch_">
|
---|
| 144 | </nobr>
|
---|
| 145 | </td></tr>
|
---|
| 146 |
|
---|
| 147 | </table>
|
---|
| 148 | </form>
|
---|
| 149 | }
|
---|
[3168] | 150 |
|
---|
| 151 | # we want to put the links to previous/next pages of results
|
---|
| 152 | # in the footer
|
---|
| 153 | _pagefooterextra_ {
|
---|
| 154 | <center>
|
---|
[3177] | 155 | <table cellspacing=0 cellpadding=0 width="638">
|
---|
[3168] | 156 | <tr>
|
---|
[3177] | 157 | <td align=left>_If_(_prevfirst_,<a href="_httpquery_&r=_prevfirst_">< _textmatches__prevfirst_ - _prevlast_</a>)</td>
|
---|
| 158 | <td align=right>_If_(_nextfirst_,<a href="_httpquery_&r=_nextfirst_">_textmatches__nextfirst_ - _nextlast_ ></a>)</td>
|
---|
[3168] | 159 | </tr></table>
|
---|
| 160 | </center>
|
---|
| 161 | }
|
---|