//SET NOCONFLICT TO WORK WITH OTHER LIBRARIES
jQuery.noConflict();

//CUSTOM JQUERY FUNCTIONS
jQuery(document).ready(function(){
	if (jQuery('#slider').length != 0){
		jQuery('#slider').nivoSlider({
			directionNav:false
		});
	}
	
	jQuery("#sidemenu li").hoverIntent({
		over: show, 
		timeout: 500, 
		out: hide
	});
});
function show(){ jQuery(this).animate({height:'100%'},200);}
function hide(){ 
	var currentId = jQuery(this).attr('id');
	if(currentId != parentid){
		jQuery(this).animate({height:'18px'},200);
	}
}
