function gothamMedium( target, timeout ){
	if( typeof( Cufon ) == 'function' && Cufon.replace ){
		Cufon.replace( target, { 
			fontFamily: 'TradeGothic',
			hover: true
		}
		);
	}
	if( timeout && $( target ).length == 0 ){
		setTimeout( 
				function(){
					gothamMedium( target, timeout );
				},
				100
				);
	}
}

// Jesse's Cufon replace js
$(document).ready( function(){
	//$(".headerDl").html('');
	$(window).load(	function() { /*$(".headerDl").html('Dealer Locator: <span class="sectionTitle">Results</span>');*/ gothamMedium( $(".headerDl") ); } );
	$( '#hummer_worldwide .text .text p:first-child,#hummer_worldwide .title,#search.searchpage h2.header,#sitemap.contentpage h2.header,#partner_sites .text,#partner_sites h2,#accessories h2, #accessories h3, body div.flexLeftContent div.par div.title:first-child, #partner_sites.contentpage div.contact-us-brand-section h4, body div.flexLeftContent div.par div.title h1, body#allGMSites div.continent_branding + a + div.text.parbase.section, div#auxiliaryNavigation ul li a, .mid>.subHead.gotham-book, .mid>.list>.itemsTitle>.gotham-book, #search .webclipping-content>h2, #googleForm .actionContainer .gotham-bold, #dealer_locator #submitButton, #dealer_locator .dealerSearchContainer h3, #dealer_locator .criteriaTitle, .related_title h2, .manual_related-container .button, .selection_title h2, #owner_resources h3, #owner_resources .scDetailLinks a, #warranty h2, #owner_resources h2, [id="404_error_page"] .title h2, #server_error .title h2, .socialIconsText, .headerDl, .dealerSearchContainer h3, #contact_us .title h2, .headerDl').filter(":not(#accessories .button .gotham-bold),:not(#hummer_vehicles .callToAction .gotham-bold)").each( function(){
		if( $( this ).parents( 'a' ).length > 0 ){
			Cufon.replace( $( this ).parents( 'a' ), {
				fontFamily: 'TradeGothic',
				hover: true
			});
		} else {
			Cufon.replace( $( this ), {
				fontFamily: 'TradeGothic', //Changes font on auxiliary nav 
				hover: true
			});
		}
	});

	Cufon.replace(".gotham-medium", {
		fontFamily: 'TradeGothic',//Changes font on Primary nav dropdowns
		hover: true
	});

});



