$(document).ready(


                function(){


/*
                    	$('ul#portfolio').innerfade({


                        speed: 1000,


                        timeout: 8000,


                        type: 'sequence',


                        containerheight: 	'215px',


                        slide_timer_on: 	'yes',


                        slide_ui_parent: 	'portfolio',


                        slide_ui_text:		'portfolio-desc',


                       	pause_button_id: 	'pause_button',


                       	slide_nav_id:		'slide_nav'


                    	});


                    	$.setOptionsButtonEvent();


                   		$("#pause_button").click(function() {


                   			$.pause();


                        });


                        $("#next_button").click(function() {


                    		$.next();


                        });


                        


                        $("#prev_button").click(function() {


                        	$.prev();


                        });


                        


                    	$("#first_button").click(function() {


                        	$.first();


                        });


                        


                    	$("#last_button").click(function() {


                        	$.last();


                        });
*/


  function slideTheMenuUp() {			
							$(this).find('.tooltip').hide(100);			
						 }		
						function slideTheMenuDown() {					
							$(this).find('.tooltip').show(100) // Slide the menu down on click
						}									 		
						$('ul.menu_2 li > ul.sub-menu > li ').hoverIntent({				
								sensitivity: 15, // number = sensitivity threshold (must be 1 or higher)
								interval: 100,   // number = milliseconds of polling interval (we don't need this as it is initiated on click rather than hover)
								over: slideTheMenuDown,  // function = onMouseOver callback (required)
								timeout: 100,   // number = milliseconds delay before onMouseOut function call
								out: slideTheMenuUp    // function = onMouseOut callback (required)					
						})	


				


			});









