

	// Force IE6 to cache background images
	try {
		document.execCommand("BackgroundImageCache", false, true);
	} catch(err) {}


	// creates the tween effect for the logos
	function createLogoFx()
	{
		if (!$('logos')) return;

		$('logos').getElements('a').each(function(logo)
		{
			logo.set('tween', {
				link: 'cancel'
			});
		});
	}


	// fades the logos for a specific toggler
	function fadeLogos(toggler, hideUnlinked)
	{
		if (!$('logos')) return;

		var identifier = toggler.className.replace(/.*\btoggler_([^\b]*).*/, '$1');

		$('logos').getElements('a').each(function(logo){
			if (logo.hasClass('logo_' + identifier))
			{
				logo.tween('opacity', '1');
			}
			else if (hideUnlinked)
			{
				logo.tween('opacity', '0.35');
			}
		});
	}

