Cufon.replace('h1');
Cufon.replace('#homeservices li', {hover: true});
Cufon.replace('ul.homecolumn h2', {hover: true});		
//Cufon.replace('#content h2', {hover: true});
Cufon.replace('#content h3', {hover: true});
Cufon.replace('#content .subContent a.title', {hover: true});
Cufon.replace('#content .telephone', {hover: true});
Cufon.replace('#navigation li a', {hover: true});	
Cufon.replace('#navigation #topnav .navon', {hover: true});

$(function(){
	$('#topnav a')
		.css( {backgroundPosition: "0px 0px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(0px 70px)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0px 0px)"}, {duration:200, complete:function(){
				$(this).css({backgroundPosition: "0px 0px"})
			}})
		})

});



	jQuery().ready(function(){
		// simple accordion
		jQuery('#ListContent').accordion();
		
		var wizard = $("#wizard").accordion({
			header: '.title',
			event: false
		});
		
		
		// bind to change event of select to control first and seconds accordion
		// similar to tab's plugin triggerTab(), without an extra method
		var accordions = jQuery('#ListContent');
		
		jQuery('#switch select').change(function() {
			accordions.accordion("activate", this.selectedIndex-1 );
		});
		jQuery('#close').click(function() {
			accordions.accordion("activate", -1);
		});
		jQuery('#switch2').change(function() {
			accordions.accordion("activate", this.value);
		});
		jQuery('#enable').click(function() {
			accordions.accordion("enable");
		});
		jQuery('#disable').click(function() {
			accordions.accordion("disable");
		});
		jQuery('#remove').click(function() {
			accordions.accordion("destroy");
			wizardButtons.unbind("click");
		});
	});
	
// SLIDER
		$(document).ready(function(){	
			$("#slider").easySlider({
				auto: false, 
				continuous: true,
				numeric: true
			});
		});	

