
// Initialise Plugins
		jQuery(function(){
			jQuery('ul.sf-menu').superfish();
		});
		
// initialise png Fix
		$(document).ready(function(){ 
			$(document).pngFix(); 
		}); 	


// initialise Top Buttons Effect
		$(document).ready(function(){
	$("#top-box li a").fadeTo("normal", 0.7); // This sets the opacity of the thumbs to fade down to 60% when the page loads
	$("#top-box li a").hover(function(){
		$(this).fadeTo("normal", 1.0); // This should set the opacity to 100% on hover
	},function(){
   		$(this).fadeTo("normal", 0.7); // This should set the opacity back to 60% on mouseout
	});
});

$(document).ready(function(){
	$(".innerbottomcontent a").fadeTo("normal", 0.9); // This sets the opacity of the thumbs to fade down to 60% when the page loads
	$(".innerbottomcontent a").hover(function(){
		$(this).fadeTo("normal", 1.0); // This should set the opacity to 100% on hover
	},function(){
   		$(this).fadeTo("normal", 0.9); // This should set the opacity back to 60% on mouseout
	});
});

// initialise Highlights
  $(function () {
  // IE6 doesn't handle the fade effect very well - so we'll stick with
  // the default non JavaScript version if that is the user's browser.
  if ($.browser.msie && $.browser.version < 7) return;
  
  $('#highsmooth li')
  
    // remove the 'highlight' class from the li therefore stripping 
    // the :hover rule
    .removeClass('highlight')
    
    // within the context of the li element, find the a elements
    .find('a')
    
    // create our new span.hover and loop through anchor:
    .append('<span class="hover" />').each(function () {
      
      // cache a copy of the span, at the same time changing the opacity
      // to zero in preparation of the page being loaded
      var $span = $('> span.hover', this).css('opacity', 0);
      
      // when the user hovers in and out of the anchor
      $(this).hover(function () {
        // on hover
        
        // stop any animations currently running, and fade to opacity: 1
        $span.stop().fadeTo(900, 1);
      }, function () {
        // off hover
        
        // again, stop any animations currently running, and fade out
        $span.stop().fadeTo(800, 0);
      });
    });
});

// Quick Connect Smooth Scroll
$(document).ready(function(){

	$('#top-box a, #SS a').click(function(){
		$('html, body').animate({ 
			scrollTop: $($(this).attr("href"))
			.offset().top }, 1500);
		return false;
	});
});
