$(document).ready(function()
{	
	$('#navigation li.topnav').hover(function(e)
	{
		var currentId = $(this).attr('class'); 
		
		$(this).css("background-image","url(http://ghmarketing.alfahosting.org/wp-content/themes/fusionsquare/images/nav_bg_on.gif)");
		$(this).children('a').css("color","#0080CA");
		$(this).children("ul").show(0);
	}, 
	function(e)
	{
		var currentId = $(this).attr('class'); 
		
		$(this).css("background-image","url(http://ghmarketing.alfahosting.org/wp-content/themes/fusionsquare/images/nav_bg.gif)");
		$(this).children('a').css("color","#FFFFFF");
		$(this).children("ul").hide(0);
	}
	);
	
	$('#navigation li ul.subnav li').hover(function(e)
	{		
		$(this).css("background-color","#D9DBDF");
	}, 
	function(e)
	{
		$(this).css("background-color","#eceff0");
	}
	);
	
	$("td img.iicon").tooltip(
	{ 
	    delay: 0, 
	    showURL: false, 
	    bodyHandler: function() 
	    { 

	    	var ttBox = $(this).parent("a").attr("class"); 

	    	return $("#" + ttBox).html(); 
    	} 
	}); 
	
	$("td img.siicon").tooltip(
	{ 
	    delay: 0, 
	    showURL: false, 
	    bodyHandler: function() 
	    { 

	    	var ttBox = $(this).parent("a").attr("class"); 

	    	return $("#" + ttBox).html(); 
    	} 
	}); 
});
