MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/bosweb/b1705/prendex.com/public_html/includes/js/
File Upload :
Current < : /hermes/bosweb/b1705/prendex.com/public_html/includes/js/search.php

<?php /* $Id: search.php,v 1.12.2.2 2007/08/06 02:28:27 cknudsen Exp $  */ ?>
function selectUsers () {
  // find id of user selection object
  var listid = 0;
  for ( i = 0; i < document.searchformentry.elements.length; i++ ) {
    if ( document.searchformentry.elements[i].name == "users[]" )
      listid = i;
  }
  url = "usersel.php?form=searchformentry&listid=" + listid + "&users=";
  // add currently selected users
  for ( i = 0, j = 0; i < document.searchformentry.elements[listid].length; i++ ) {
    if ( document.searchformentry.elements[listid].options[i].selected ) {
      if ( j != 0 )
  url += ",";
      j++;
      url += document.searchformentry.elements[listid].options[i].value;
    }
  }
  //alert ( "URL: " + url );
  // open window
  window.open ( url, "UserSelection",
    "width=500,height=500,resizable=yes,scrollbars=yes" );
}

function toggleDateRange () {
  var i = document.searchformentry.date_filter.selectedIndex;
  if ( i == 3 ) {
    makeVisible ( "startDate" );
    makeVisible ( "endDate" );
  } else {
    makeInvisible ( "startDate");
    makeInvisible ( "endDate" );
  }
}