IMVU.data.products = {};

YAHOO.util.Event.onAvailable("tree", function() {
    IMVU.cat = this.value.split("-");
});

function init() {
    Nifty("div.imvu-nav-box", "big");
    // Turn background image caching on for IE so that cell images don't need to reload each time
    try{ document.execCommand("BackgroundImageCache",false,true); }catch(ex){};

};

YAHOO.util.Event.addListener(window, "load", init);

function doBroaden() {
    document.search.keywords.value = Dom.get("broaden").value;
    doSearch();
};

function relatedSearch(phrase) {
    clearFilters();
    document.search.keywords.value = phrase;
    document.search.field.selectedIndex = 0;
    doSearch();
};
