var $j = jQuery.noConflict();

$j(document).ready(function(){
    $j("#nav-one li").hover(
        function(){ $j("ul", this).fadeIn("fast"); }, 
        function() { } 
    );
    if (document.all) {
        $j("#nav-one li").hoverClass ("sfHover");
    }
	//dit is voor het vergroten van het plaatje op de woning aanbod; dus niet voor het menu
	$j('#show-imagelarge li a').click(function() {
								
			var img = $j(this).parent().attr('id');
			
			$j('#image_replace').attr({src: '/upload/'+img+'.jpg'});
			
			return false;
	});
});

$j.fn.hoverClass = function(c) {
    return this.each(function(){
        $j(this).hover( 
            function() { $j(this).addClass(c);  },
            function() { $j(this).removeClass(c); }
        );
    });
	
};


