	$( function() {
		
		
	  $('.featured .wrapper').bxSlider({
		
		  displaySlideQty: 3,
		  moveSlideQty: 3,
		  controls: false,
		  pager: true,
		  pagerLocation: 'top',
		  auto: true,
		  speed: 3500
		  
	  });
		
	  $('.testimionials').bxSlider({
		  
		  controls: false,
		  pager: true,
		  pagerLocation: 'bottom',
		  auto: true,
		  pause: 5500,
		  speed: 1000
		  
	  });
	  
	  $('.thumbs #bx').bxSlider({});
	  
	  
	  $('.thumbs .bxcontent .im img').click(function(){
		  
		  var newpath = $(this).attr("src");	
		  $("#mainimage").attr("src", newpath).stop(true,true).hide().fadeIn();
	  
	  });
	  
		$(".thumbs .bxcontent .im img").hover(function() {
		
			$(".thumbs .bxcontent .im img").stop().animate({"opacity": "0.6"}, "fast");
			$(this).stop().animate({"opacity": "1"}, "fast");
		
		},function() {
		
			$(".thumbs .bxcontent .im img").stop().animate({"opacity": "1"}, "fast");
			$(this).stop().animate({"opacity": "0.6"}, "fast");
		
		});	  
		
		$(".mid2 .result-item").hover(function() {
		
			$(".mid2 .result-item").stop().animate({"opacity": "0.5"}, "fast");
			$(this).stop().animate({"opacity": "1"}, "fast");
		
		},function() {
		
			$(".mid2 .result-item").stop().animate({"opacity": "1"}, "fast");
			$(this).stop().animate({"opacity": "1"}, "fast");
		
		});	  
		
		$(".nav a").hover(function() {
		
			$(".nav a").stop().animate({"opacity": "0.5"}, "fast");
			$(this).stop().animate({"opacity": "1"}, "fast");
		
		},function() {
		
			$(".nav a").stop().animate({"opacity": "1"}, "fast");
			$(this).stop().animate({"opacity": "1"}, "fast");
		
		});	  
		
		$(".logo img").hover(function() {
		
			$(this).stop().animate({"opacity": "0.6"}, "fast");
		
		},function() {
		
			$(this).stop().animate({"opacity": "1"}, "fast");
		
		});	  
		
		
		$(".request").hover(function() {
		
			$(this).stop().animate({"opacity": "0.6"}, "fast");
		
		},function() {
		
			$(this).stop().animate({"opacity": "1"}, "fast");
		
		});	  
		
		$(".facebook").hover(function() {
		
			$(this).stop().animate({"opacity": "0.6"}, "fast");
		
		},function() {
		
			$(this).stop().animate({"opacity": "1"}, "fast");
		
		});	  
		
		$(".twitter").hover(function() {
		
			$(this).stop().animate({"opacity": "0.6"}, "fast");
		
		},function() {
		
			$(this).stop().animate({"opacity": "1"}, "fast");
		
		});	  
		
		Cufon.replace('h1')('h2')('h3')('.title')('.search_title');
		  
		  
	});

