3 {php}html_header_show();{/php}
4 <link rel=
"stylesheet" href=
"{php}echo $GLOBALS['css_header']; {/php}" type=
"text/css">
5 <script language=
"Javascript">
7 function my_process () {
10 parent
.iframetopardiv(document
.lookup
.drug
.value
);
11 parent
.opener
.document
.prescribe
.drug
.value
= document
.lookup
.drug
.value
;
19 <style type=
"text/css" title=
"mystyles" media=
"all">
23 font-family:helvetica;
27 font-family:helvetica;
31 font-family:helvetica;
35 font-family:helvetica;
39 font-family:helvetica;
45 <body onload=
"javascript:document.lookup.drug.focus();">
46 <div style=
"" class=
"drug_lookup" id=
"newlistitem">
47 <form NAME=
"lookup" ACTION=
"{$FORM_ACTION}" METHOD=
"POST" onsubmit=
"return top.restoreSession()" style=
"margin:0px">
51 {html_options
name=
"drug" values=$drug_values options=$drug_options}
<br/>
54 <a href=
"javascript:;" onClick=
"my_process(); return true;">Select
</a> |
55 <a href=
"javascript:;" class=
"button" onClick=
"parent.cancelParlookup();">Cancel
</a> |
56 <a href=
"{$CONTROLLER_THIS}" onclick=
"top.restoreSession()">{xl t='New Search'}
</a>
61 <input TYPE=
"HIDDEN" NAME=
"varname" VALUE=
""/>
62 <input TYPE=
"HIDDEN" NAME=
"formname" VALUE=
""/>
63 <input TYPE=
"HIDDEN" NAME=
"submitname" VALUE=
""/>
64 <input TYPE=
"HIDDEN" NAME=
"action" VALUE=
"{xl t='Search'}">
65 <div ALIGN=
"CENTER" CLASS=
"infobox">
66 <input TYPE=
"TEXT" NAME=
"drug" VALUE=
"{$drug}"/>
67 <input TYPE=
"SUBMIT" NAME=
"action" VALUE=
"{xl t='Search'}" class=
"button"/>
68 <input TYPE=
"BUTTON" VALUE=
"{xl t='Cancel'}" class=
"button" onClick=
"parent.cancelParlookup();"/>
70 <input type=
"hidden" name=
"process" value=
"{$PROCESS}" />