function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function breadCrumbs(base, delStr, defp, cStyle, tStyle, dStyle, nl) {
    loc = window.location.toString();
    subs = loc.substr(loc.indexOf(base) + base.length + 1).split("/");
    document.write("<a href=\"" + getLoc(subs.length - 1) + defp + "\" class=\"" + cStyle + "\">Home</a>  " + "<span class=\"" + dStyle + "\">" + delStr + "</span> ");
    a = (loc.indexOf(defp) == -1) ? 1 : 2;
    for (i = 0; i < (subs.length - a); i++) {
        subs[i] = makeCaps(unescape(subs[i]));
        document.write("<a href=\"" + getLoc(subs.length - i - 2) + defp + "\" class=\"" + cStyle + "\">" + subs[i] + "</a>  " + "<span class=\"" + dStyle + "\">" + delStr + "</span> ");
    }
    if (nl == 1) {
        document.write("<br />");
    }
    document.write("<span class=\"" + tStyle + "\">" + document.title + "</span>");
}

function makeCaps(a) {
    g = a.split(" ");
    for (l = 0; l < g.length; l++) {
        g[l] = g[l].toUpperCase().slice(0, 1) + g[l].slice(1);
    }
    return g.join(" ");
}
 
function getLoc(c) {
    var d = "";
    if (c > 0) {
        for (k = 0; k < c; k++) {
            d = d + "../";
        }
    }
    return d;
}

        shopon = new Image();
        shopon.src = "/nav/shop-online-on.gif";
        shopoff = new Image();
        shopoff.src = "/nav/shop-online-off.gif";

        producton = new Image();
        producton.src = "/nav/product-info-on.gif";
        productoff = new Image();
        productoff.src = "/nav/product-info-off.gif";

        becomeon = new Image();
        becomeon.src = "/nav/become-a-distributor-on.gif";
        becomeoff = new Image();
        becomeoff.src = "/nav/become-a-distributor-off.gif";

        storeon = new Image();
        storeon.src = "/nav/find-store-on.gif";
        storeoff = new Image();
        storeoff.src = "/nav/find-store-off.gif";

        clienton = new Image();
        clienton.src = "/nav/client-testimonials-on.gif";
        clientoff = new Image();
        clientoff.src = "/nav/client-testimonials-off.gif";

        abouton = new Image();
        abouton.src = "/nav/about-pcf-on.gif";
        aboutoff = new Image();
        aboutoff.src = "/nav/about-pcf-off.gif";

        doctoron = new Image();
        doctoron.src = "/nav/ask-the-dr-on.gif";
        doctoroff = new Image();
        doctoroff.src = "/nav/ask-the-dr-off.gif";

        featarton = new Image();
        featarton.src = "/nav/featured-articles-on.gif";
        featartoff = new Image();
        featartoff.src = "/nav/featured-articles-off.gif";

        eventson = new Image();
        eventson.src = "/nav/events-on.gif";
        eventsoff = new Image();
        eventsoff.src = "/nav/events-off.gif";

        submiton = new Image();
        submiton.src = "/nav/submit-on.gif";
        submitoff = new Image();
        submitoff.src = "/nav/submit-off.gif";
