{ # $Id: search.egw,v 1.16 1995/11/13 18:17:48 adam Exp $ proc buttons {setNo setMax startPos after} { global sessionId global env global hist if {$after && $setMax < [z39.$setNo resultCount]} { html "
\n" html "
\n" if {$setMax < [z39.$setNo resultCount]} { html {Next records} " | \n" } if {$startPos != "" && $startPos != "1"} { html {Previous records} " | \n" } html {New query} " | \n" html {New target} "
\n" if {!$after && $startPos != "" && $startPos != "1"} { html "
\n"
}
}
if {[info commands saveState] == ""} {
source z39util.tcl
}
global sessionWait
global nextSetNo
global setNo
global hist
set setNo [lindex $sessionParms 0]
if {[wform menu1] != ""} {
set hist($nextSetNo,idAuthentication) $hist($setNo,idAuthentication)
set hist($nextSetNo,host) $hist($setNo,host)
set setNo $nextSetNo
html "using host " $hist($setNo,host) "