jQuery.noConflict();

// Put all your code in your document ready area

jQuery(document).ready(function($){

// Do jQuery stuff using $ this where the functions need to go   


		// =============== INSTANT ENQUIRY FORM SLIDER ===============

		$('a.but_enquiry').bind('click', function() {
			$('div.show_hide').slideToggle(350);
			return false;
		}); 
		
		// =============== Homepage Content SLIDER ===============

		$('div#post-5 h2').bind('mouseenter mouseleave', function() {
			$('div.homepage_show_hide').slideToggle(350);
			return false;
		}); 
		
		
		
		
		/*==================== Homepage Slider ================*/


		
		$('.homepage_rotator').cycle({
				random: 1,
				delay:  6000,
				pause:   1,
				timeout: 6000
				
			});
			
		/*$('.slides a').css({
			opacity: 0
		});
		
		setTimeout(function() {
			$('#imageslider').cycle({
				random: 1,
				delay:  -6000,
				pause:   1,
				timeout: 6000, 
				next:   '.next', 
				prev:   '.prev'
			});
	
			$('.slides a').css({
				opacity: 0
			});
	
		}, 500);*/
	
	
		
		/*==================== Remove margin on people page ================*/
		
		$("div.people_listing_container:nth-child(6)").addClass("no_margin");
		$("div.people_listing_container:nth-child(11)").addClass("no_margin");
		$("div.people_listing_container:nth-child(16)").addClass("no_margin");
		$("div.people_listing_container:nth-child(21)").addClass("no_margin");
		$("div.people_listing_container:nth-child(26)").addClass("no_margin");
		
		/*==================== Remove margin on clients page ================*/
		
		$("a.clients_listing_container:nth-child(6)").addClass("no_margin");
		$("a.clients_listing_container:nth-child(11)").addClass("no_margin");
		$("a.clients_listing_container:nth-child(16)").addClass("no_margin");
		$("a.clients_listing_container:nth-child(21)").addClass("no_margin");
		$("a.clients_listing_container:nth-child(26)").addClass("no_margin");


});
