/*****************************************************************************
It is adviced to place the Cufon JavaScript calls in this file, keeping it
separate from the `cufon-yui.js` file. That way, you can easily swap the `cufon-yui.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `cufon-yui.js`.
*****************************************************************************/
/*
function addCufonFontFile(jsname) {
var th = document.getElementsByTagName('head')[0];
var s = document.createElement('script');
s.setAttribute('type','text/javascript');
s.setAttribute('src',jsname);
th.appendChild(s);
}*/

// Add the font by pointing to the location of the Cufon font file on your web server.

// addCufonFontFile('futura.font.js');

// addCufonFontFile('templates/shoemanic/resources/js/apex-new.hu.font.js');
// addCufonFontFile('templates/shoemanic/resources/js/apex-new.open.font.js');

// Now we can do the replacements. You can do as many as you like, but just
// as an example, we'll replace all `<h1>` elements with the Futura movie.
// Next, activate Cufon (this uses jQuery!):
//
//    Cufon.replace('h1');
//
// If you want, you can use multiple fonts, like so:
//
//    Cufon.replace('h1', { fontFamily: 'Futura' });
//    Cufon.replace('h1', { fontFamily: 'Garamond' });
//

Cufon.replace('.cufon-calltoaction', { hover: true, fontFamily: 'apex-new' });
Cufon.replace('.h4-whatshot', { hover: true, fontFamily: 'apex-new' });
Cufon.replace('#hotprods li h3', { hover: true, fontFamily: 'apex-new' });