// then register the form submit event with the pz2.search function
// autoInit is set to true on default
var usesessions = false;
-var pazpar2path = '.';
+var pazpar2path = '/pazpar2/search.pz2';
if (document.location.hash == '#nosessions') {
- usesessions = true;
- pazpar2path = '/pazpar2/search.pz2';
+ usesessions = false;
+ pazpar2path = '.';
}
my_paz = new pz2( { "onshow": my_onshow,
<body onload="domReady();">
- <span class="jslink" onclick="switchView('recordview')">Records Browser</span>
+ <a href="#" onclick="switchView('recordview')">Records Browser</a>
<span> | </span>
- <span class="jslink" onclick="switchView('targetview')">Targets Information</span>
+ <a href="#" onclick="switchView('targetview')">Targets Information</a>
<br/><br/>