﻿Cufon.slideContentSelectors = ['span.gradient,h1.gradient','#hdp-ucl-front span.ucl-top-line','#hdp-ucl-front span.gradient','div.hdp-header-div h1','ul.ucl-touts a, ul.hdp-touts a, div.hdp-touts a','p:not(#hdp-disclaimer-content *)','a:not(#hdp-primary-menu a,#hdp-breadcrumbs a,#hdp-disclaimer-content *, .ucl-touts a, .hdp-touts a,#a2apage_dropdown a),h2,h3,h4,h5,.cufonise'];
// objects used in cufon.replace calls elsewhere
// (anywhere that ajax content may be loaded )
Cufon.defaultTextCufon = { fontFamily: 'Futura Condensed Medium', hover: true, fontStretch: 'semi-condensed' };
Cufon.linkTextCufon = { fontFamily: 'Futura Condensed Medium', hover: true };
Cufon.smlHeaderTextCufon = { fontFamily: 'Futura Condensed Medium', separate: 'none' };
Cufon.headerNoGradientCufon = { fontFamily: 'Futura LT Pro Medium Cond', fontStretch: 'normal', separate: 'none' };

// To exclude certain elements from being Cufonised on the disclaimer page, add this "not" selector:
// :not(#hdp-disclaimer-content *)
Cufon.replace('a:not(#hdp-primary-menu a,#hdp-breadcrumbs a,#hdp-disclaimer-content *, .ucl-touts a, .hdp-touts a,#a2apage_dropdown a),h2,h3,h4,h5,.cufonise', Cufon.linkTextCufon);
Cufon.replace('p:not(#hdp-disclaimer-content *)', Cufon.defaultTextCufon);
Cufon.replace('#hdp-footer span.ucl-no-link', {
	fontFamily: 'Futura Condensed Medium',
    hover: true,
    hoverables: { span: true }
});
Cufon.replace('ul.ucl-touts a, ul.hdp-touts a, div.hdp-touts a', Cufon.linkTextCufon);
// Override the condensing for the 'Our beer' text so it correctly matches the PSD
// NOTE ALTOUGH THE 'STYLE' AND META DATA SAYS LT PRO MEDIUM COND this is actually LTPro-BoldCond

Cufon.replace('#hdp-primary-menu a,h1', {
	fontFamily: 'Futura LT Pro Medium Cond',
	fontStretch: 'condensed'
});
Cufon.replace('#hdp-breadcrumbs a', Cufon.defaultTextCufon);
Cufon.replace('div.hdp-header-div h1', Cufon.headerNoGradientCufon);
Cufon.replace('span.gradient,h1.gradient', {
	color: '-linear-gradient(0=#bbb, 0.18=#fff, #fff, 0.82=#bbb)'
});

Cufon.replace('#hdp-ucl-front span.ucl-top-line', Cufon.headerNoGradientCufon);

Cufon.replace('#hdp-ucl-front span.gradient', {
	fontFamily: 'Futura LT Pro Medium Cond',
	color: '-linear-gradient(0=#bbb, 0.18=#fff, #fff, 0.82=#bbb)'
});

// Label is used for error message on UCL sign-up box...
Cufon.replace('label.error', {
    fontFamily: 'Futura Condensed Medium'
});



