-function init() {
- my_paz = new pz2( { "onshow": my_onshow,
- "onstat": my_onstat,
- "onterm": my_onterm,
- "termlist": "subject,author",
- "onbytarget": my_onbytarget,
- "onrecord": my_onrecord } );
-}
+// very simple client that shows a basic usage of the pz2.js
+
+// create a parameters array and pass it to the pz2's constructor
+// then register the form submit event with the pz2.search function
+
+my_paz = new pz2( { "onshow": my_onshow,
+ "showtime": 500, //each timer (show, stat, term, bytarget) can be specified this way
+ "onstat": my_onstat,
+ "onterm": my_onterm,
+ "termlist": "subject,author",
+ "onbytarget": my_onbytarget,
+ "onrecord": my_onrecord } );