$(document).ready(function() {
    $('#frontpage-slideshow').cycle({
		fx: 'scrollLeft',
		timeout: 7000,
		pager: '#slider-nav', 
		pagerEvent: 'mouseover', 
		fastOnEvent: true
	});
});

Cufon.replace('h1.nicetitle', {
	color: '-linear-gradient(#628F00, #9EC230)',
	textShadow: '0 1px 2px #4F4F4F',
});

Cufon.replace('h1.nicetitlesmall', {
	color: '-linear-gradient(#73AB00, #9DC130)',
	textShadow: '0 1px 2px #4F4F4F',
});

sfHover = function() {
	var sfEls = document.getElementById("cat-hover-nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
		

