function fadeIn(linkItem) {
	$(linkItem).animate({style:'color:#de7a00;'},'normal');
}

function fadeOut(linkItem) {
	$(linkItem).animate({style:'color:#424141;'},'normal');
}


function iFrameAdjust()

	{
		// Safari is no good.
		if ($.browser.safari)
		{
			// Set specific variable to represent all iframe tags.
			var iFrames = document.getElementsByTagName('iframe');

			// Resize heights.
			function iResize()
			{
				for (var i = 0; i < iFrames.length; i++)
				{
					iFrames[i].style.height = iFrames[i].contentWindow.document.body.offsetHeight + 20 + 'px';
				}
			}

			// Start timer when loaded.
			$('iframe').load(function()
				{
					setTimeout(iResize, 0);
				}
			);

			// For Safari to realize iframes loaded.
			for (var i = 0; i < iFrames.length; i++)
			{
				var iSource = iFrames[i].src;
				iFrames[i].src = '';
				iFrames[i].src = iSource;
			}
		}
		else
		{
			// For other good browsers.
			$('iframe').load(function()
				{
					this.style.height = this.contentWindow.document.body.offsetHeight + 20 + 'px';
				}
			);
		}
	}


<!--//--><![CDATA[//><!--

var mrMac = (navigator.userAgent.indexOf('Mac') != -1);
	if (!mrMac) {
		sfHover = function() {
			var sfEls1 = document.getElementById("primary-nav").getElementsByTagName("LI");
			for (var i=0; i<sfEls1.length; i++) {
				sfEls1[i].onmouseover=function() {
					this.className+=" over";				
				}
				sfEls1[i].onmouseout=function() {
					this.className=this.className.replace(new RegExp(" over\\b"), "");					
				}
			}
			
		}
		if (window.attachEvent) window.attachEvent("onload", sfHover);
	}
	
//--><!]]>
