// Javascript Settings go here

$(document).ready(function() {
	//BO1: top menu events and child menu animations
	jQuery('#modelReleaseNav li ul').hide();
	var mouseover = false;
	jQuery('#modelReleaseNav li ul').parent().mouseenter(function(){
					mouseover = true;
					$(this).children('a').css({'background-image':'url(img-ui/irelease/nav-li-a-over.png)','color':'#272727'});
					$(this).children('ul').show('fast','linear');
				}).mouseleave(function(){
					mouseover = false;
					$(this).children('a').css({'background-image':'none','color':'#A6A6A6',});
					$(this).children('ul').hide('fast','linear');
				});
	
	jQuery('#modelReleaseNav li ul').hover(function()
			{
				
				if(mouseover == false) {
					$(this).parent().children('a').css({'background-image':'none','color':'#A6A6A6'});
					$(this).parent().children('ul').hide('fast','linear');
				} else {
					$(this).parent().children('a').css({'background-image':'url(img-ui/irelease/nav-li-a-over.png)','color':'#272727'});
					$(this).parent().children('ul').show('fast','linear');
				}
			});
	//EO1
});
		
		
