var robertroberts = {
// -------
	init: function() {
		this.prepareDocument();
		this.enhanceFonts();
		this.menuPageSlider();
	},
// -------
	prepareDocument: function() {
		$('html').addClass('js');
	},
// -------	
	enhanceFonts: function() {
		Cufon
			.set('fontFamily', 'Ephesis')
				.replace('h1')			
			.set('fontFamily', 'Berthold')
				.replace('h2, h4, .product-view header, .beans #content li a, .cleaning h1, .faqs h1')
				.replace('.nav li', { 
					hover: true,
					hoverables: { 
						li: true, 
						span: true
					}
				});	
	},
// -------		
	menuPageSlider: function() {
		jQuery('.first').hover(
			function() {
				jQuery(this).children('ul').slideDown();
			},
			function() {
				jQuery(this).children('ul').slideUp();
			}
		);
	}
// -------
};

$(function() {
	robertroberts.init();
});
