function initCufon() {
	Cufon.replace('.text-box p', { fontFamily: 'Gotham HTF'});
    Cufon.replace('.add-menu li a', { fontFamily: 'Garamond'});
    Cufon.replace('.add-menu ul li a', { fontFamily: 'Garamond', hover: true, hoverables: { strong: true, em: true } });
    Cufon.replace('.columntwo h2 span', { fontFamily: 'Garamond'});
    Cufon.replace('div.breadcrumb', { fontFamily: 'Garamond', hover:true, hoverables: {a:true}});
    Cufon.replace('#main #content h2', { fontFamily: 'Garamond'});
    Cufon.replace('div.product .content-holder h1', { fontFamily: 'Garamond'});
    Cufon.replace('div.product .content-holder .category-description', { fontFamily: 'Garamond'});

	Cufon.replace('.signup-block label', { fontFamily: 'Gotham HTF'});
    Cufon.replace('#div_price', { fontFamily: 'Gotham HTF'});
	//Cufon.replace('div.product span', { fontFamily: 'Gotham HTF'});
	//Cufon.replace('strong.price', { fontFamily: 'Gotham HTF'});
	Cufon.replace('.text-box .heading h3', { fontFamily: 'Gotham HTFBold'});
    Cufon.replace('#skipVideo', { fontFamily: 'Garamond'});
    Cufon.replace('.header-cart', { fontFamily: 'Gotham HTF'});
}

// open-close blocks function
function initSlider() {
	var _slideSpeed = 450;
	var _activeClass = 'area-expanded';
    if($.browser.msie && $.browser.version >= 7) {
        var _sizer = $('.singup-form');

        $('.side-toggle').show()
        var _animWidth = _sizer.outerWidth(true);
        //$('.slide-wrapper').css({marginRight:100});
        $('.open-close').click(function(){
            if(!$('.side-toggle').hasClass(_activeClass)) {
                $('.side-toggle').animate({right:_animWidth},{duration:_slideSpeed,queue:false});
                $('.side-toggle').addClass(_activeClass);
            } else {
                $('.side-toggle').animate({right:0},{duration:_slideSpeed,queue:false});
                $('.side-toggle').removeClass(_activeClass);
            }
        });
    } else {
        $('.side-toggle').each(function(){
            var _holder = $(this).show();
            var _opener = _holder.find('.open-close');
            var _sizer = _holder.find('.singup-form');
            var _animWidth = _sizer.outerWidth(true);
            var _slider = _holder.find('.slide-wrapper');

            _slider.css({marginRight:-_animWidth});
            _opener.click(function(){
                if(_holder.hasClass(_activeClass)) {
                    _slider.animate({marginRight:-_animWidth},{duration:_slideSpeed,queue:false});
                    _holder.removeClass(_activeClass);
                } else {
                    _slider.animate({marginRight:0},{duration:_slideSpeed,queue:false});
                    _holder.addClass(_activeClass);
                }
                return false;
            });
        });
    }
}

$(document).ready(function(){
	initSlider();
	initCufon();
    $(".text-box").show();
    $(".add-menu").show();
    $(".columntwo h2 span").show();
    $('div.product .content-holder h1').show();
    $('div.product .content-holder .category-description').show();
    $("#div_price").show();
});
