/*
************************************************************
*
*	Scriptname	: maxmenu.js
*	Version		: 1.0.0
*
************************************************************
*
*	Copyright © 2003 by Max.nl
*
************************************************************
*	Description :
*
*	JS for menu ( IE 5.5+ )
*   Displays submenu's using JavaScript for MSIE
*   because li:hover is not supported.
*
*   Note: new sites should use the 'menu.js' instead,
*   which allows CSS code to specify the correct action
*   for mouse hover events.
*
************************************************************
*	Date 		: 01-06-2011
*	Author		: Geertje Zwarts
*	Description : adapt to wordpress
*

*	Date 		: 01-05-2011
*	Author		: Rutger Hokke
*	Description : add class hover to menu
*
*	
*
************************************************************
*/

	jQuery.noConflict();
	jQuery(document).ready(function(){
		jQuery('.children').mouseover( function(){
			jQuery(this).parent().addClass('hover');
		});
		jQuery('.children').mouseout( function(){
			jQuery(this).parent().removeClass('hover');
		});
		
		jQuery('.page_item').mouseover( function(){
			jQuery(this).addClass('hover');
		});
		jQuery('.page_item').mouseout( function(){
			jQuery(this).removeClass('hover');
		});
	});

	
