/*
############################################################################
#
# Part of the BC Naturopathic Association web site code
# Copyright (C) 2006 Damon Harper
# usrbin design + programming - http://usrbin.ca/
#
# This program is governed by the agreed upon license between Damon Harper
# d.b.a. usrbin design + programming, and AMG Media Inc.  This program may
# be modified for internal use but may not be sold or otherwise distributed
# without express written permission from the copyright holder.
#
############################################################################
*/

function usrtable2_click(e, location) {
  if(!e) var e=window.event;
  if(e.srcElement) e.target=e.srcElement;
  if(e.target.nodeType==3) // safari text node bug
    e.target=e.target.parentNode;
  // prevent firing on links:
  if(e.target.tagName!='A' && e.target.tagName!='INPUT' && e.target.tagName!='TEXTAREA')
    document.location=location;
}
