/*if( $.browser != 'msie' && $.browser.version != '6.0' ) {

	$(function() {
		
		$("#nav > ul > li").hover(function() {
		
			$("img", this).css('top', '-6px').css('z-index', '2').attr('src', $("img", this).attr('src').replace(".png", "_hover.png"));
			
		}, function() {
		
			$("img", this).css('top', '0').css('z-index', '1').attr('src', $("img", this).attr('src').replace('_hover', ''));
			
		});

	});
	
var img1 = new Image();
var img2 = new Image();
var img3 = new Image();
var img4 = new Image();
img1.src = 'images/menu/contact_hover.png';
img1.src = 'images/menu/links_hover.png';
img1.src = 'images/menu/hypotheekvormen_hover.png';
img1.src = 'images/menu/maandlasten_hover.png';
}*/

$(function() {
	
		$("#nav > ul > li").hover(function() {
			
			$(this).addClass('hover');
			
		}, function() {
			
			$(this).removeClass('hover');
			
		});

	if( document.getElementById('content') ) {
			
		$("#content .push").hide();
		$("#content .push:first").show();
	
	}
	
	if( document.getElementById('line') )
		
		$("#line li[id!=homeItem]").hover(function() {
			
			if( document.getElementById('content') ) {
			
				$("#line li").removeClass('active');
				$(this).addClass('active');
			
			}
			$(this).addClass('active2');
			
		}, function() {
			
			$(this).removeClass('active2');
			
		});
		
		$("#line li").mouseover(function() {
			
			if( document.getElementById('content') ) {
			
				$("#content .push").hide();
				$("#content ." + $(this).attr('id')).show();
			
			}
			
		});
	
	$("#line li.img").unbind('mouseover');

});