/********************************************************* Set of JavaScript functions used throughout database Law Clerk Hiring, 11 Jan 2005 None of these functions are actually used. Include for future reference 11 Jan 2005 - T.A. Githens **********************************************************/ /*********************************************************** openDBRelativeURL is used to open relative URLs Given the string of the URL that needs opening, this function will append it to the end of the URL, after the directory and file name of the database ************************************************************/ function openDBRelativeURL( url, target ){ //Check we have a target window; target = (target == null ) ? window : target; //Work out the path of the database; path = location.pathname.toLowerCase().split('.nsf')[0] + '.nsf/'; target.location.href = path + url; }