
;(function($){
		   
$(function(){
	$(".header .links li.last").hover(function(){
		$(this).find("a").stop().animate({top: "0px"}, "fast")
	}, function(){
	$(this).find("a").stop().animate({top: "-10px"}, "slow")
	}); 
	
	$('.form-search button.button').addClass('button1');
	$(".form-search button.button").hover(function(){
		$(this).find("span").stop().animate({marginLeft: "6px"}, "fast")
	}, function(){
	$(this).find("span").stop().animate({marginLeft: "0px"}, "fast")
	});
	
	$(".btn-cart").hover(function(){
		$(this).find("span").stop().animate({marginLeft:"35px"}, "fast")
	}, function(){
		$(this).find("span").stop().animate({marginLeft:"0px"}, "fast")
	});
	
	$(".slider .banner h3").hover(function(){
		$(this).find("a").stop().animate({marginLeft: "20px"}, "fast")
	}, function(){
	$(this).find("a").stop().animate({marginLeft: "0"}, "slow")
	}); 
	
});
/*****************************************************************/

/****************************************************************/

$(function(){
var titles = $$('.page-title h1, .block-compare .block-title strong span, .block-viewed .block-title strong span, .block-compared .block-title strong span, .block-poll .block-title strong span, .block-related .block-title strong span, .block-currency .block-title strong span, .subtitle, .welcome-msg');
titles.each(function(n){ 
	var line = n.innerHTML.split(' ');
	line[0] = '<span>' + line[0] + '</span>'; 
	var result_string = '';
	line.each(function(m){
		result_string += m + ' ';
	}) 
	n.innerHTML = unescape(result_string); 
})

}); 

})(jQuery);


/***********************************************************************/


  
