jQuery(document).ready(function(){
    jQuery('.lightbox').colorbox();
    
    jQuery('.galleryLightbox').colorbox();
    
    jQuery('input[name=replacement]').attr('checked', false);
    jQuery('#replacement-details').hide();
    jQuery('#replacement-check-box').click(function() {
    	jQuery('#replacement-details').slideToggle();
    }); 
        
    jQuery('#shopping-cart-frame').hide();
    jQuery('a.view-order').click(function() {
    	jQuery('a.view-order').toggleClass('hide-order');
    	jQuery('#shopping-cart-frame').slideToggle('slow');
    });
    

jQuery('#featured').orbit({
     animation: 'horizontal-push',                  // fade, horizontal-slide, vertical-slide, horizontal-push
     animationSpeed: 1000,                // how fast animtions are
     timer: true, 			 // true or false to have the timer
     advanceSpeed: 5000, 		 // if timer is enabled, time between transitions 
     pauseOnHover: false, 		 // if you hover pauses the slider
     startClockOnMouseOut: false, 	 // if clock should start on MouseOut
     startClockOnMouseOutAfter: 1000, 	 // how long after MouseOut should the timer start again
     directionalNav: true, 		 // manual advancing directional navs
     captions: true, 			 // do you want captions?
     captionAnimation: 'slideOpen', 		 // fade, slideOpen, none
     captionAnimationSpeed: 800, 	 // if so how quickly should they animate in
     bullets: false,			 // true or false to activate the bullet navigation
     bulletThumbs: false,		 // thumbnails for the bullets
     bulletThumbLocation: '',		 // location from this file where thumbs will be
     afterSlideChange: function(){} 	 // empty function 
});

});
