sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if ( window.attachEvent ) window.attachEvent("onload", sfHover);

var _sel = null;

$(function(){
    $('#product-list LI A[onClick]')
        .each(function() {
            $(this).attr('_title', $(this).html());
            $(this).attr('_href', $(this).attr('href'));
        })    
        .append(' >');
})

function SubMenuToggle(obj, id) {

    if ( _sel == obj ) return false;
    
    if ( _sel ) {
        $(_sel).parent().children('SPAN').fadeIn();
        $(_sel).append(' >');
    }

    _sel = obj;
    
    $(obj).html( $(_sel).attr('_title') );
    $(obj).parent().children('SPAN').hide();
    $('UL.product-sub').slideUp().fadeOut();
    $('#'+id).slideDown().fadeIn();
    
    return false;
}