jQuery.noConflict();


var obj = null;

function checkHover() {
	if (obj) {
		obj.find('ul').fadeOut('fast');	
	} //if
} //checkHover


jQuery(document).ready(function(){

    jQuery('.menu-level1 > li.menu-level1-with-subpage').hover(function() {
      if (obj) {
		    obj.find('ul').fadeOut('fast');
		    obj = null;
	    } //if
	    jQuery(this).find('ul').fadeIn('fast');
	    jQuery(this).find('>a').addClass('inpath');
    }, function() {
	    obj = jQuery(this);
	    jQuery(this).find('>a').removeClass('inpath');
	    setTimeout(
		    "checkHover()",
		    400);
    });


    //if (jQuery) { alert("jQuery loaded"); }

});
