$(document).ready(function () {
							
	
		
		
		
	/* dropdown */
	$("ul#menu li a.dropdown").mouseover(function() { //When trigger is clicked...

		//Following events are applied to the subnav itself (moving subnav up and down)
		$(this).parent().find("ul.submenu").slideDown('fast').show(); //Drop down the subnav on click

		$(this).parent().hover(function() {
		}, function(){
			$(this).parent().find("ul.submenu").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up
		});

		//Following events are applied to the trigger (Hover events for the trigger)
		}).hover(function() {
			$(this).addClass("subhover"); //On hover over, add class "subhover"
		}, function(){	//On Hover Out
			$(this).removeClass("subhover"); //On hover out, remove class "subhover"
	});
				
				
			/*
			//LIGHTBOX (fancybox)
			$("a#inline").fancybox({ 'zoomSpeedIn': 500, 
								   'zoomSpeedOut': 200, 
								   'overlayShow': true, 
								   'hideOnContentClick': false,
            						'frameHeight': 180
								   }); 
			
			//icons rollover animation
			$("ul#iconList span").css("opacity","0");
				//on mouseover
				$("ul#iconList span").hover(function () {
					// animate opacity to full
					$(this).stop().animate({
						opacity: 1
						}, 'medium');
						},
					// on mouse out
					function () {
						// animate opacity to nill
						$(this).stop().animate({
						opacity: 0
						}, 'medium');
			});
				
			$("ul.menu_body li:odd").addClass("alt");
			*/
			
					

									 
})
/*document.onmousemove = findMouse;

function findMouse(e) {
	if (!e)
	{
		e = window.event;
	}
	
	if(e.target){
		eTarg = e.target; 
	}else{
		eTarg = e.srcElement;
	}
	
	if(eTarg.className == "internetmarketingSpan") {
		$('ul.menu_body').slideDown('normal');
	}else if(eTarg.className == "menu_body") {
		return false;
	}else {
		$('ul.menu_body').slideUp('normal');
	}
}*/
