home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 July / CMCD0703.ISO / Software / Freeware / Programare / bugzero / jsp / script / query.js < prev    next >
Text File  |  2003-04-22  |  418b  |  15 lines

  1. <!-- Begin
  2. function do_query(baseUrl, actionType, queryName) {
  3.    url = baseUrl+"?action="+escape(actionType)+"&query_name="+escape(queryName);
  4.    return url;
  5. }
  6.  
  7. function do_report(theForm, reportType) {
  8.    window.open ("",reportType,"menubar=1,resizable=yes,height=540,width=700");
  9.    theForm.report_type.value=reportType;
  10.    theForm.target=reportType;
  11.    theForm.submit();
  12.    return true;
  13. }
  14. // End -->
  15.