$(document).ready(function () {
							
	//topnav rollover animation
	$("ul#menu span").css("opacity","0");
		// on mouse over
		$("ul#menu 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');
			});
				
				
			//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');
	}
}*/
