//shop fade
	$(function () {
	        if ($.browser.msie && $.browser.version < 7) return;

	        $('#nav li')
	            .removeClass('highlight')
	            .find('a')
	            .append('<span class="hover" />').each(function () {
	                    var $span = $('> span.hover', this).css('opacity', 0);
	                    $(this).hover(function () {
	                        // on hover
	                        $span.stop().fadeTo(400, 1);
	                    }, function () {
	                        // off hover
	                        $span.stop().fadeTo(1000, 0);
	                    });
	                });

	    });

	    
//submenu list menu links
	$(function () {
	        if ($.browser.msie && $.browser.version < 7) return;

	        $('.subMenu2 li')
	            .find('a')
	            .append('<span class="hover" />').each(function () {
	                    var $span = $('> span.hover', this).css('opacity', 0);
	                    
	    });
	 });   
	    
	
	$(function () {
	        if ($.browser.msie && $.browser.version < 7) return;

	        $('.subMenu1 li')
	            .find('a')
	            .append('<span class="hover" />').each(function () {
	                    var $span = $('> span.hover', this).css('opacity', 0);
	                    
	    });
	  
	  }); 
	  
	  
	  

//inline list menu links
	$(function () {
	        if ($.browser.msie && $.browser.version < 7) return;

	        $('.inlineMenu1 li')
	            .find('a')
	            .append('<span class="hover" />').each(function () {
	                    var $span = $('> span.hover', this).css('opacity', 0);
	                    
	    });
	 });   




$(document).ready(function(){

// For the Blog Comments Form
$('#blogreviewBlock').hide();
$('.blogrevtrigger').click(function() {
$('#blogreviewBlock').slideToggle(800);
return false;
});


	//Home Page Overlays
	
	// find the div.staff elements and hook the hover event
  	$('div.productImage').hover(function() {
    // on hovering over, find the element we want to fade *up*
    var fade = $('> div.productOverlay', this);
    
    // if the element is currently being animated (to a fadeOut)...
    if (fade.is(':animated')) {
      // ...take it's current opacity back up to 1
      fade.stop().fadeTo(250, 1);
    } else {
      // fade in quickly
      fade.fadeIn(250);
    }
  }, function () {
    // on hovering out, fade the element out
    var fade = $('> div', this);
    if (fade.is(':animated')) {
      fade.stop().fadeTo(3000, 0);
    } else {
      // fade away slowly
      fade.fadeOut(3000);
    }
  });
  


//cycle through images within the ID div
	        $('#rotate').cycle({ 
			    fx:    'fade', 
			    pause:  5500 
			 });
			 
			$('#detailImage').cycle({ 
			    fx:     'fade', 
    			speed:   800, 
    			timeout: 6000, 
    			next:   '#detailImage', 
    			pause:   1
			 });
			 
			$('#s2').cycle({ 
    			fx:     'fade', 
    			speed:   1500, 
    			pause:   3000, 
    			next:   '#next', 
    			prev:   '#previous' 
			}); 
			
			//cycle through images within the ID div
	        $('.picturebox').cycle({ 
			    fx:    'fade', 
			    pause:  5500 
			 });
			 
 });    			 