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 | _iconthispage_ [v=1] {<h2>_texticonthispage_</h2>}
|
---|
31 |
|
---|
32 | _iconqueryresultsbar_ {<img src="_httpiconqryresb_" width="_widthqryresb_" height="_heightqryresb_" alt="_texticonqueryresultsbar_">}
|
---|
33 | _iconqueryresultsbar_[v=1] {_texticonqueryresultsbar_}
|
---|
34 |
|
---|
35 | # _iconnext_ and _iconprev_ are overridden in this package as we
|
---|
36 | # don't want alt text here
|
---|
37 | _iconnext_{<img src="_httpiconmore_" width=_widthmore_ height=_heightmore_ border=0 align=top>}
|
---|
38 | _iconnext_ [v=1] {}
|
---|
39 | _iconprev_{<img src="_httpiconless_" width=_widthless_ height=_heightless_ border=0 align=top>}
|
---|
40 | _iconprev_ [v=1] {}
|
---|
41 |
|
---|
42 | #######################################################################
|
---|
43 | # images
|
---|
44 | #######################################################################
|
---|
45 |
|
---|
46 | _imagethispage_ {_iconthispage_}
|
---|
47 |
|
---|
48 | #######################################################################
|
---|
49 | # page content
|
---|
50 | #######################################################################
|
---|
51 |
|
---|
52 | _pagescriptextra_ {
|
---|
53 | var options = new Array(7);
|
---|
54 | options[0] = new Array('Any');
|
---|
55 | options[1] = new Array('Any', 'Absorption', 'Distribution', 'Metabolism', 'Elimination',
|
---|
56 | 'Effect of Food', 'Drug Interactions', 'Special Populations');
|
---|
57 | options[2] = new Array('Any', 'Trace Metal', 'Excretion', 'Selectivity', 'Copper', 'Zinc',
|
---|
58 | 'Manganese', 'Iron', 'Distribution', 'Brain', 'Heart', 'Plasma',
|
---|
59 | 'Plasma', 'Fetal', 'Liver', 'Kidney');
|
---|
60 | options[3] = new Array('Any', 'Acute Toxicity', 'Repeated Dose Toxicity', 'Studies in Rodents',
|
---|
61 | 'Studies in Dogs', 'Overdosage', 'Reproductive Toxicity',
|
---|
62 | 'Teratogenicity', 'Mutagenecity', 'Carcinogenicity');
|
---|
63 | options[4] = new Array('Any', 'Superoxide Dismutase', 'Ferroxidase I', 'Ferroxidase II',
|
---|
64 | 'Metallothienein', 'Ceruloplasmin');
|
---|
65 | options[5] = new Array('Any', 'Heart', 'Complications', 'Microvascular', 'Renal', 'Diabetes');
|
---|
66 | options[6] = new Array('Any');
|
---|
67 | options[7] = new Array('Any');
|
---|
68 |
|
---|
69 | function initialize () \{
|
---|
70 |
|
---|
71 | var form = document.QueryForm;
|
---|
72 | var c2 = form.c2.selectedIndex;
|
---|
73 | var i;
|
---|
74 |
|
---|
75 | form.c3.options.length = 0;
|
---|
76 |
|
---|
77 | for (i = 0; i < options[c2].length; i++) \{
|
---|
78 | form.c3.options[i] = new Option(options[c2][i], options[c2][i]);
|
---|
79 | \}
|
---|
80 |
|
---|
81 | form.c3.selectedIndex = 0;
|
---|
82 |
|
---|
83 | \}
|
---|
84 | }
|
---|
85 |
|
---|
86 | _header_ {_cgihead_
|
---|
87 | _htmlhead_(background="_httpiconchalk_" onLoad="initialize();")_startspacer__pagebanner_
|
---|
88 | }
|
---|
89 |
|
---|
90 | _pagetitle_ {_If_(_cgiargq_,_textquerytitle_,_textnoquerytitle_)}
|
---|
91 |
|
---|
92 | _content_ {
|
---|
93 | <center>
|
---|
94 | _navigationbar_
|
---|
95 | </center>
|
---|
96 | <center>
|
---|
97 | _queryform_
|
---|
98 | </center>
|
---|
99 | _If_(_cgiargq_,<center>_iconqueryresultsbar_</center><br>
|
---|
100 | <small>
|
---|
101 | _freqmsg_
|
---|
102 | _textpostprocess_</small><br>
|
---|
103 | _resultline_
|
---|
104 | ,<center>_iconblankbar_</center>)<br>
|
---|
105 | }
|
---|
106 |
|
---|
107 | _queryform_ {
|
---|
108 | <form name=QueryForm method=get action="_gwcgi_">
|
---|
109 | <input type=hidden name="a" value="q">
|
---|
110 | <input type=hidden name="r" value="1">
|
---|
111 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
112 | <p>
|
---|
113 | <table border="0" cellspacing="0" cellpadding="0" width="_pagewidth_">
|
---|
114 |
|
---|
115 | <tr valign="top">
|
---|
116 | <td align="center">
|
---|
117 | <select name="c1">
|
---|
118 | <option value="">Any
|
---|
119 | <option value="Animal">Animal
|
---|
120 | <option value="Human">Human
|
---|
121 | <option value="Other">Other
|
---|
122 | </select>
|
---|
123 | </td>
|
---|
124 |
|
---|
125 | <td align="center">
|
---|
126 | <b>AND</b>
|
---|
127 | </td>
|
---|
128 |
|
---|
129 | <td align="center">
|
---|
130 | <select name="c2" onChange='initialize()'>
|
---|
131 | <option value="">Any
|
---|
132 | <option value="Pharmacokinetics">Pharmacokinetics
|
---|
133 | <option value="Pharmacodynamics">Pharmacodynamics
|
---|
134 | <option value="Safety/Side Effects/Toxicity">Safety/Side Effects/Toxicity
|
---|
135 | <option value="Other">Other
|
---|
136 | <option value="Efficacy">Efficacy
|
---|
137 | <option value="Contraindications">Contraindications
|
---|
138 | <option value="Precautions">Precautions
|
---|
139 | </select>
|
---|
140 | </td>
|
---|
141 |
|
---|
142 | <td align="center">
|
---|
143 | <b>AND</b>
|
---|
144 | </td>
|
---|
145 |
|
---|
146 | <td align="center">
|
---|
147 | <select name="c3">
|
---|
148 | <option value="">Any
|
---|
149 | </select>
|
---|
150 | </td>
|
---|
151 |
|
---|
152 | </tr>
|
---|
153 |
|
---|
154 | <tr valign="top"><td colspan="5">
|
---|
155 | <nobr>
|
---|
156 | <input type="text" name="q" value="_cgiargq_" size="40">
|
---|
157 | <input type="submit" value="_textbeginsearch_">
|
---|
158 | </nobr>
|
---|
159 | </td></tr>
|
---|
160 |
|
---|
161 | </table>
|
---|
162 | </form>
|
---|
163 | }
|
---|