jQuery(document).ready(function()
{
	if (jQuery.browser.msie && parseInt(jQuery.browser.version) < 8)
	{
		var $navLIs = jQuery('#bhg-nav > ul > li').each(function(i)
		{
			var $this = jQuery(this);
			var $overlay = $this.find('.bhg-nav-overlay:first');
			$this.find('.bhg-nav-overlay-trim:first').height($overlay.outerHeight());
			
			jQuery(this).bind('mouseenter', function()
			{
				jQuery(this).addClass('hover');
			});
			jQuery(this).bind('mouseleave', function()
			{
				jQuery(this).removeClass('hover');
			})
		});
	}
});

// 
function ChangePdf(obj)
{
	document.getElementById('dwn').href = obj.href;
	document.getElementById('dwn').innerHTML = 'Download the “' + obj.innerHTML + '” document.';		
	
	// use this to reload the iframe and then bypass the href in the link
	frames['pdf'].location.href=obj.href + "#toolbar=0&navpanes=0";
	return false;		
}

