// JavaScript Document
$(function()
	{
		$(document).ready(function(){
		$('ul#navigation li.link').hover(
			function() { 
				$('ul.subnav', this).css('display', 'block'); 
			},
			function() { 
				$('ul.subnav', this).css('display', 'none'); 
			});
		});
	});
	
	window.onload = function()
	{
	$(function() {
	// set opacity to nill on page load
	$("ul#navigation li.link a.main-link span").css("opacity","0");
	// on mouse over
	$("ul#navigation li.link a.main-link span").hover(function () {
	// animate opacity to full
	$(this).stop().animate({
		opacity: 1
	}, "slow");
	},
	// on mouse out
	function () {
	// animate opacity to nill
	$(this).stop().animate({
		opacity: 0
	}, "slow");
	});
	});
	};
	
	$(function() {
	// set opacity to nill on page load
	$("ul#rightmenu span").css("opacity","0");
	// on mouse over
	$("ul#rightmenu span").hover(function () {
	// animate opacity to full
	$(this).stop().animate({
		opacity: 1
	}, "slow");
	},
	// on mouse out
	function () {
	// animate opacity to nill
	$(this).stop().animate({
		opacity: 0
	}, "slow");
	});
	});
	
	$(function() {
	// set opacity to nill on page load
	$("ul#biz-sections span").css("opacity","0");
	// on mouse over
	$("ul#biz-sections span").hover(function () {
	// animate opacity to full
	$(this).stop().animate({
		opacity: 1
	}, "slow");
	},
	// on mouse out
	function () {
	// animate opacity to nill
	$(this).stop().animate({
		opacity: 0
	}, "slow");
	});
	});
