Cufon.replace('#nav ul li a, h1, h2, h3, p.intro, blockquote, #quote span, #orangeContainer .title, form input.btn, #socialLinks span.title, #contentShell ul li, .quote, a.callout, form.wufoo h3, #side p', { hover: true }); 


$(document).ready(function() {
						   
	//Add LI hover to menus
	$("nav li").hover(
		function(){
			$(this).addClass("hover").find("ul:first:hidden").show();
		},
		function(){
			$(this).removeClass("hover").find("ul:first").hide();
		});
	
	//Add a Last Item class to a few things
	$("nav ul li:last-child").addClass("lastItem");


 //if this is not the first tab, hide it
 jQuery(".tab:not(:first)").hide();
 
 //to fix u know who
 jQuery(".tab:first").show();
 
 //when we click one of the tabs
 jQuery(".htabs a").click(function(){
 //get the ID of the element we need to show
 stringref = jQuery(this).attr("href").split('#')[1];
 //hide the tabs that doesn't match the ID
 jQuery('.tab:not(#'+stringref+')').hide();
 //fix
 if (jQuery.browser.msie && jQuery.browser.version.substr(0,3) == "6.0") {
 jQuery('.tab#' + stringref).show();
 }
 else
 //display our tab fading it in
 jQuery('.tab#' + stringref).fadeIn();
 //stay with me
 return false;
 });
 



$('ul.htabs li a').click(function()
{
  $('ul.htabs li').removeClass('active');
  $(this).parent().addClass('active');
});



				$('.logos').cycle({
					fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
				});



});
 

