function resetForm() {
	document.forms[0].reset();
}
function setZ(refID) {
	document.getElementById(refID).style.display = "inline";
	document.getElementById("btnsub").style.display = "inline";
	switch(refID) {
		case 'category':
		document.getElementById("zip").style.display = "none";
		break;
		case 'zip':
		document.getElementById("category").style.display = "none";
		break;
	}
}
 function do_pop(desc, comp_name) {
thewindow = window.open("", "tinyWindow", 'scrollbars=yes,status=no,toolbar=no,width=400,height=200');
thewindow.document.write("<html>");
thewindow.document.write("<head>");
thewindow.document.write("<title>Member Description</title>");
thewindow.document.write("<style type='text/css'>");
thewindow.document.write("body { padding: 0; margin: 0; background: #F5EECE; background-attachment: fixed; background-repeat: no-repeat; background-image: url(../images/pop_bg.gif) ; }");
thewindow.document.write("p { color: #333; font-family: verdana; font-size: 11px; text-align: justify; padding: 0px 15px 0px 90px }");
thewindow.document.write("h1 { color: #333; font-family: verdana; font-size: 12px; margin: 0; padding-left: 90px; padding-top: 20px; padding-bottom: 0px; }");
thewindow.document.write("hr { margin-left: 90px; height: 1px; width: 275px; }");
thewindow.document.write("</style>");
thewindow.document.write("</head>");
thewindow.document.write("<body>");
thewindow.document.write("<h1>" + comp_name + "</h1>");
thewindow.document.write("<hr>");
thewindow.document.write("<p>");
thewindow.document.write(desc);
thewindow.document.write("</p>");
thewindow.document.write("<p>[<a href=\"javascript:window.close();\">Close This Window</a>]</p>");
thewindow.document.write("</body>");
thewindow.document.write("</html>");
thewindow.focus();
thewindow.document.close();
}
/*
var _POPUP_FEATURES = '
  location=0,
  statusbar=0,
  menubar=0,
  width=400,
  height=300
';

function raw_popup(url, target, features) {
  if (isUndefined(features)) {
    features = _POPUP_FEATURES;
  }
  if (isUndefined(target)) {
    target = '_blank';
  }
  var theWindow =
    window.open(url, target, features);
  theWindow.focus();
  return theWindow;
}

function link_popup(src, features) {
  return
    raw_popup(src.getAttribute('href'),
    src.getAttribute('target') || '_blank',
    features);
}
*/