<!-- hide from old browsers...
// 
// Copyright 2003 AZC, Inc.  All rights reserved.  The following code is
// either for internal use, or on a royalty-free basis, for AZC's hosting
// customers only.  Redistribution in any form to a third party is
// prohibited without prior written permission from AZC, Inc.
//
// $Id: dl.js,v 1.3 2003/12/02 21:24:20 fangchin Exp $
//
// This piece of JavaScript code use the document.URL property to
// help other JavaScript codes to adjust some of their internal
// variable settings, primarily path variables.  Please note that 
// the code is written specifically for the web document hierarchy
// employed by AZC, Inc.
//
// The path regexp accomodates both UNIX, MacOS, and MS Windows.
//
var l3 = /htmls(\/|\\)faqs/;
var l2 = /htmls/;
var lc = /cgi-bin/;
var l = document.URL;
var ap = "";  // append path ...
var r3 = l.match(l3);
var r2 = l.match(l2);
if (r3 != null && r2 != null) {
    ap = "../../";
} 
if (r3 == null && r2 != null) {
    ap = "../";
}  
var rc = l.match(lc);
if (rc != null) {
    ap = "/";
}
//-->

