//Declare all the Cufon Replacements
//Must exist outside of the Document Ready observation
//Queues for Cufon.now()
Cufon.DOM.ready(function() {
	if($('scWebEditRibbon')){return false}

	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('#main div.highlight.articles h2, #main div.highlight.resourceCenter h2, #main div.highlight.connect h2, #main div.highlight.media h2', {hover: true});

	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('#header ul#navMain > li > a', {hover: true});
	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('#header ul#navMain > li dfn', {hover: true});
	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('#header ul#navMain > li:first-child > ul > li > a', {hover: true});

	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('#footer ul#navSite > li > a', {hover: true});
	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('#main #article *:not(.eula) h2', {
		hover: true
	});
	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('#main #aside h2', {
		hover: true
	});
	Cufon.set('fontFamily', 'Georgia').replace('#main #article div.filter h2', {hover: true});


	Cufon.set('fontFamily', 'Georgia').replace('#main #article h1', {
		hover: true
	});

	Cufon.set('fontFamily', 'Georgia').replace('#main div.nav h2', {
		hover: true
	});
	
	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('.resourceCenter #main #article h1 em, .communities #main #article h1 em', {
		hover: true
	});

	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('.resourceCenter #main #article h1 strong, .communities #main #article h1 strong', {
		hover: true
	});

	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('.sandbox #main #article h1', {
		hover: true
	});

	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('.buildStronger .highlight h3', {
		hover: true
	});

	Cufon.set('fontFamily', 'Helvetica Neue Condensed').replace('#main #article ul.navResource > li > a', {
		hover: true
	});

	Cufon.set('fontFamily', 'Georgia').replace('.internal #breakout h2', {
		hover: true
	});

	Cufon.set('fontFamily', 'Georgia').replace('.internal #breakout p em', {
		hover:true
	});

	Cufon.set('fontFamily', 'Georgia').replace('.internal #breakout h2 strong', {
		textShadow: '2px 2px rgba(0, 0, 0, 0.6)',
		hover: true
	});
});	
