(function($) {
	$.fn.ohSpan = function(options) {
		var defaults = {
			animationSpeed : "slow"
		};
		var options = $.extend(defaults, options);

		return this.each(function() {
			$("li", this).hover(function() {
				$(">span", this).show();
			}, function() {
				$(">span", this).hide();
			})
		});
	};
})(jQuery);              
              
$(document).ready(function() {
	$('input[title!=""]').hint();
	$('ul.access li:last-child').addClass( 'last_item' );	
	$('.children').parent('li').append("<span></span>");
	$('.feature:even').addClass('even');
	$('.infimg .feature:first').addClass('last');	
	$("div.menu ul:first").ohSpan(); 		
	$("div.menu ul:first").ohMenu(); 
	
	Cufon.replace('h1, h2, h3, .foldable', {hover: true, hoverables: { h2: true, a: true }} );
  Cufon.replace('div.menu>ul>li>a',{hover: true, hoverables: { a: true, li: true }});
	
	$('.feature').each(function() {
        PIE.attach(this);
    });

	
});




