function initNav()
{
	var nav = document.getElementById("nav");
	if(nav)
	{
		var lis = nav.getElementsByTagName("li");
		for (var i=0; i<lis.length; i++)
		{
			lis[i].onmouseover = function()
			{
				this.className += " hover";
			}
			lis[i].onmouseout = function()
			{
				this.className = this.className.replace(" hover", "");
			}
		}
	}
}
if (document.all && !window.opera) attachEvent("onload", initNav);

function showIntl() {
	$('.intl-dropdown').show();
	$('.intl-dropdown').load(intlDropdownPath);
}

function hideIntl() {
	$('.intl-dropdown').hide();
}

$(function() {
	$("ul.tabs").tabs("div.panes > div");
});

$('a.toggle').live('click', function() {
	$($(this).attr('href')).slideToggle();
    return false;
});

/* This needs to be on all pages so the client logos sidebar box can be used anywhere. */
$('.home-client-logos').cycle({
	fx: 'fade'
});
