/*Cufon.replace('h2, .popup-buttons a, .tabs a, #nav', { fontFamily: 'Helvetica Neue Bold Condensed', hover: true });
Cufon.replace('h3:not(.product-title), fieldset h4', { fontFamily: 'Helvetica Neue Light Condensed' });*/


$(document).ready(function(){
						   
	$("a[rel='_top']").click(function() {
		$('html, body').animate({
			scrollTop: 0
		}, 'slow');
		return false
	});
	
	$("a[rel='_bubble']").each(function() {
		var $mainToggler = $(this);
		var $bubble = $(this).parent().children('ul');
		$mainToggler.click(function(){
			$(this).addClass('bubbled');
			$bubble.fadeIn('fast');
			return false
		});
		$bubble.find('a').click(function(){
			$mainToggler.removeClass('bubbled');
			$bubble.fadeOut('fast');
		});
		$bubble.mouseleave(function(){
			$mainToggler.removeClass('bubbled');
			$bubble.fadeOut('fast');
		});		
	});
    initializeGetMore();
});


function initializeGetMore(){
	$(".drop-down-list").each(function() {
		$(this).find('.block-list-content').hide();
		//$(this).find('li:even').addClass('even');		
		/*$(this).find('a.get-more').hover(function(){
			$(this).parent().toggleClass('hovered');
		});*/
		$(this).find('li').find('a.get-more').click(function(){
			$(this).blur();
			$(this).toggleClass('open');
			$(this).parent().find('.block-list-content').slideToggle('fast');
		return false
		});
	});    
}
