Cufon.replace('.replace_font', {fontFamily: 'DINMedium'});
Cufon.replace('.replace_font_light', {fontFamily: 'DIN'});

//Cufon.replace('.content_holder h2, .content_holder h3', {fontFamily: 'Helvetica Narrow'});
/*
//elements that require hover states
Cufon.replace('.flash_wrapper a span, .promotions li a', {hover: true});
//elements that require a text shadow
Cufon.replace('.page_banner div',{ textShadow: '#333 1px 1px' });*/
 
$(document).ready(function() {
	
	if($.browser.msie && $.browser.version == '6.0') {
		$('img').each(function() {
			$(this).attr('src', $(this).attr('src').replace('.png', '.jpg'));
		});
	}	
	
	$('.parent').mouseover(function() {	
		$(this).find('a:first').css({'background-color':'#B70008'});
		$(this).find('.bridge').css({'width': $(this).width()});
		
		$(this).find('.bridge').show();
		$(this).find('.subnavigation').show();
	}).mouseout(function() {		
		if($(this).find('a:first').hasClass('selected')) {
			$(this).find('a:first').css({'background-color':'#f01720'});
		} else {
			$(this).find('a:first').css({'background-color':'#1f1b18'});
		}
			
		$(this).find('.bridge').hide();
		$(this).find('.subnavigation').hide();
	});
});
