function initializeCufon() {
    Cufon.replace('.block .block-title strong span');
    Cufon.replace('.page-title h1');
    Cufon.replace('h2');
    Cufon.replace('.breadcrumbs li');
    Cufon.replace('.block-account .block-content ul li a');
    Cufon.replace('.block-account .block-content ul li strong');
    Cufon.replace('.block-account .block-content .link-continue a');
    Cufon.replace('.facebook-box .block-title-order h2');
    Cufon.replace('#openid-container h1');
    Cufon.replace('#openid-container h3');
    Cufon.replace('#checkout-step-login h3');
    Cufon.replace('.line-steps ul li', {textShadow:'1px 1px 1px #939393'}); 
    Cufon.replace('.line-steps ul li.active', {textShadow:'none'});   
    Cufon.replace('.checkout-top .page-title h1', {textShadow:'1px 1px 1px #a08341'});
    Cufon.replace('#checkout-step-payment dt a', {textShadow:'1px 1px 1px #a08341'}); 
    Cufon.replace('.opc .step-title span');
    Cufon.replace('.sidebar .block .block-title strong', {textShadow:'1px 1px 1px #bcb095'}); 
    Cufon.replace('strong.gold_gold', {color: '-linear-gradient(#bf8219, 0.4=#bd8019, 0.6=#a36f15, 0.8=#8b5f12'});
    Cufon.replace('strong.number_red', {color: '-linear-gradient(#8e151e, 0.4=#5f0e14, 0.6=#b15d64, 0.8=#4c0b10'});
    Cufon.replace('.span_to', {color: '#000'});
    Cufon.replace('.cuf1 .cuf2 ');
    Cufon.replace('.cuf1 .cuf3');
    Cufon.replace('.paysafecart-block-content p.paysafecart-head');
    Cufon.replace('.sucesspage-content-title strong');
    Cufon.replace('.maillabelform');
    Cufon.replace('.slider_content_block h3');
    Cufon.replace('.cms_static-page h3');
    

}

initializeCufon();

/*
Cufon.replace('.sms-to strong', {color: '-linear-gradient(#fff, 0.4=#fff, 0.6=#d2d2d2, 0.8=rgb(213, 213, 213))'));
Cufon.replace('.sms-to span', {color: '-linear-gradient(#fff, 0.4=#fff, 0.6=#d2d2d2, 0.8=rgb(213, 213, 213))');
*/


/*}*/
jQuery(document).ready(function(){
	
	/* Language Animation */
	
//	jQuery('#select-store > li', '.header').each(function(){
//		if ( jQuery('a', this).hasClass("active") )
//		{
//			jQuery(this).show();
//		}
//		else
//		{
//			jQuery(this).hide();
//		}
//	});
	
	jQuery('#select-store > li').hover(
		function()
		{
			jQuery('#select-store > li').show()
		},
		function()
		{
			jQuery('#select-store > li').hide();
			jQuery('#select-store > li.active').show();
			
		}
		
	);


	/* Language Animation */
/*
	jQuery('#select-language li', '.header').each(function(){
	if ( jQuery('a', this).hasClass("active") )
	{
		jQuery(this).show();
		jQuery(this).addClass('v');
	}
	else
	{
		jQuery(this).hide();
	}
	});
       
	jQuery('#select-language li').hover(
	function()
	{
	       jQuery('#select-language').addClass("activeList")
	       jQuery('#select-language li').removeClass('v').show();
	       jQuery(this).addClass("activeItem");
	}
	, function()
	{
		jQuery('#select-language').removeClass("activeList");
		jQuery('#select-language li').each(function(){
			if ( jQuery('a', this).hasClass("active") )
			{
				jQuery(this).removeClass("activeItem").addClass('v').show();
			}
			else
			{
				jQuery(this).removeClass("activeItem").hide();
			}
		});
	
	});
*/	
	/* Message Animation */
	
	if ( jQuery('ul.messages').length > 0 )
	{
		jQuery('ul.messages').hide();
		jQuery('ul.messages').fadeIn("slow");
        jQuery('ul.messages').css('position', 'fixed' );
		setTimeout(function () { jQuery('ul.messages').fadeOut("slow"); }, 7000);
	}
	
	/* Home Products Animation */
	var current_product_shows_1 = 0;
	var current_product_shows_2 = 0;
	var current_product_shows_3 = 0;
	
	jQuery('#category-preview .category-single.one .inside .product-single:first').addClass('show-now').show();
	jQuery('#category-preview .category-single.one .navigation li.prev a').click(function(){
		var c = jQuery('#category-preview .category-single.one .inside .product-single.show-now');
		var p = jQuery('#category-preview .category-single.one .inside .product-single.show-now').prev();
		if ( p.hasClass('product-single') )
		{
			c.fadeOut('200').removeClass('show-now').hide();
			p.fadeIn('200').addClass('show-now');
		}
		return!1;
	});
	jQuery('#category-preview .category-single.one .navigation li.next a').click(function(){
		var c = jQuery('#category-preview .category-single.one .inside .product-single.show-now');
		var n = jQuery('#category-preview .category-single.one .inside .product-single.show-now').next();
		if ( n.hasClass('product-single') )
		{
			c.fadeOut('200').removeClass('show-now').hide();
			n.fadeIn('200').addClass('show-now');
		}
		return!1;
	});

jQuery('#category-preview .category-single.two .inside .product-single:first').addClass('show-now').show();
jQuery('#category-preview .category-single.two .navigation li.prev a').click(function(){
    var c = jQuery('#category-preview .category-single.two .inside .product-single.show-now');
    var p = jQuery('#category-preview .category-single.two .inside .product-single.show-now').prev();
    if ( p.hasClass('product-single') )
    {
        c.fadeOut('200').removeClass('show-now').hide();
        p.fadeIn('200').addClass('show-now');
    }
    return!1;
});
jQuery('#category-preview .category-single.two .navigation li.next a').click(function(){
    var c = jQuery('#category-preview .category-single.two .inside .product-single.show-now');
    var n = jQuery('#category-preview .category-single.two .inside .product-single.show-now').next();
    if ( n.hasClass('product-single') )
    {
        c.fadeOut('200').removeClass('show-now').hide();
        n.fadeIn('200').addClass('show-now');
    }
    return!1;
});

jQuery('#category-preview .category-single.three .inside .product-single:first').addClass('show-now').show();
jQuery('#category-preview .category-single.three .navigation li.prev a').click(function(){
    var c = jQuery('#category-preview .category-single.three .inside .product-single.show-now');
    var p = jQuery('#category-preview .category-single.three .inside .product-single.show-now').prev();
    if ( p.hasClass('product-single') )
    {
        c.fadeOut('200').removeClass('show-now').hide();
        p.fadeIn('200').addClass('show-now');
    }
    return!1;
});
jQuery('#category-preview .category-single.three .navigation li.next a').click(function(){
    var c = jQuery('#category-preview .category-single.three .inside .product-single.show-now');
    var n = jQuery('#category-preview .category-single.three .inside .product-single.show-now').next();
    if ( n.hasClass('product-single') )
    {
        c.fadeOut('200').removeClass('show-now').hide();
        n.fadeIn('200').addClass('show-now');
    }
    return!1;
});

});
