Cufon('h1', { color: '-linear-gradient(#61c901, #14bc14)' })
	('h2', {hover:false, color: 'black'})
	('h3')('h4')('h5', { hover: true, color: '-linear-gradient(#61c901, #14bc14)' })
	('#logo', { hover: true, textShadow: '1px 1px rgba(0, 0, 0, 0.5)' })
	('div.frontHeader')

Cufon('div.menuButton', {hover:true, hoverables: { div: true }, color: 'black', hover: {color: 'white'}})
('div.menuButtonSelected', {hover:true, hoverables: { div: true }, color: 'white', hover: {color: 'white'}})
('div.subMenuButton', {hover:true, hoverables: { div: true }, color: 'black', hover: {color: 'white'}})
('div.subMenuButtonSelected', {hover:true, hoverables: { div: true }, color: 'white', hover: {color: 'white'}})


	('#headerLogo a', { hover: true, color: 'white', textShadow: '1px 1px rgba(0, 0, 0, 0.5)' })
	('#headerItems a', { hover: true, color: 'white', textShadow: '1px 1px rgba(0, 0, 0, 0.5)' });






function econvert(s) {
    if (null == s) return;
    s = s.replace(/%7E/g, '~').replace(/%28/g, '(').replace(/%29/g, ')').replace(/%23/g, '#');
    s = s.replace(/_dot_|_#dot#_| dot |_\._|\(\.\)|\+\.\+|\+dot\+|%20dot%20/gi, '.');
    return s.replace(/_at_|~at~|~#at#~|\(AT\)/gi, '@').replace(/%20/g, '');
}

function AEHit() {
    var r = new RegExp(/\baeh\b/);
    var as = document.getElementsByTagName("a");
    for (var i = 0, len = as.length; i < len; i++)
        if (r.test(as[i].className)) {
        as[i].firstChild.nodeValue = econvert(as[i].firstChild.nodeValue);
        as[i].href = econvert(as[i].href);
    }
}

