$(document).ready(function() {
    $('#hero-center-inner').coinslider({ width: 259, height: 305, navigation: false, delay: 3000, links : true, effect: 'straight', sDelay: 20 });
    $('#hero-right-inner').coinslider({ width: 305, height: 305, navigation: false, delay: 3000, links : true, effect: 'straight', sDelay: 20 });
    
    Cufon.replace('.title');
    Cufon.replace('.hero-title, .hero-smalltitle-white, .hero-smalltitle, .hero-titlewide');
    Cufon.replace('.top-nav', { fontFamily: 'Myriad Pro'});
    Cufon.replace('.hero-text', { fontFamily: 'Myriad Pro'});
    Cufon.replace('h2.pink');
    //Cufon.replace('.product-name');
    Cufon.replace('#big-footer h3, #big-footer h4');
    Cufon.replace('#top-links a');
    
    $('#weddinginv').click(function() {
        window.location.href="wedding-stationery.php";
    });
    $('#bespoke').click(function() {
        window.location.href="bespoke-stationery.php";
    });
    $('#mood').click(function() {
        window.location.href="event-occasion-stationery.php";
    });
    
    //mouse-over and show basket div
    $('#shopping-baglinks').mouseover(function() {
        $('#jcart-wrapper').show().slideDown('slow', function() {
            $('#jcart-wrapper').delay(2000).slideUp('slow', function() {
                //slide up complete
            });
        });
    });
    
    /*
    $('#shopping-baglinks, #shopping-bag').mouseout(function() {
        $('#jcart-wrapper').delay(500).stop(true, true).slideUp('slow', function() {
            //slide up complete
        });
    });
    */
});
