// JavaScript Document

$(document).ready(function() {
						   
	     //this is the code for the lightbox//
	 $(function() {
	// Use this example, or...
	//$('a[@rel*=lightbox]').lightBox(); // Select all links that contains lightbox in the attribute rel
	// This, or...
	//$('#gallery a').lightBox(); // Select all links in object with gallery ID
	// This, or...
	$('a.lightbox').lightBox(); // Select all links with lightbox class
	// This, or...
	//$('a').lightBox(); // Select all links in the page
	// ... The possibility are many. Use your creative or choose one in the examples above
	});




	// hides all on open
	$("#saddlerestoration").hide();
	$("#cuttingsaddle").hide();
	$("#barbwiresaddle").hide();
	$("#oakleafsaddle").hide();
	$("#doncarlossaddle").hide();
	$("#lowassociationsaddle").hide();
	$("#reins").hide();
	$("#jamesbuilttack").hide();
	
		//this is how to make a roll-over effect in jquery
	$(".lightpic").hover(function() {
			$(".lightpic").addclass(".lightpic_hover");
	}, function() {
		$(".lightpic").removeclass(".lightpic_hover");
	});
	
	
	
	
	// shows the finishing section and hides rest
	$("#minharnLink").click(function() {
			
	$("#minharn").show();
    $("#saddlerestoration").hide();
	$("#cuttingsaddle").hide();
	$("#barbwiresaddle").hide();
	$("#oakleafsaddle").hide();
	$("#doncarlossaddle").hide();
	$("#lowassociationsaddle").hide();
	$("#reins").hide();
	$("#jamesbuilttack").hide();
	
	
	});
	
	
	
	// shows the massage section and hides rest
	$("#saddlerestorationLink").click(function() {
			
    $("#minharn").hide();	
	$("#saddlerestoration").show();
	$("#cuttingsaddle").hide();
	$("#barbwiresaddle").hide();
	$("#oakleafsaddle").hide();
	$("#doncarlossaddle").hide();
	$("#lowassociationsaddle").hide();
	$("#reins").hide();
	$("#jamesbuilttack").hide();

	});
	
	
	// shows the skincare section and hides rest
	$("#cuttingsaddleLink").click(function() {
			
	$("#minharn").hide();	
	$("#saddlerestoration").hide();
	$("#cuttingsaddle").show();
	$("#barbwiresaddle").hide();
	$("#oakleafsaddle").hide();
	$("#doncarlossaddle").hide();
	$("#lowassociationsaddle").hide();
	$("#reins").hide();
	$("#jamesbuilttack").hide();

	});

	// shows the body ex section and hides rest
	$("#barbwiresaddleLink").click(function() {
			
	$("#saddlerestoration").hide();
	$("#cuttingsaddle").hide();
	$("#barbwiresaddle").show();
	$("#oakleafsaddle").hide();
	$("#doncarlossaddle").hide();
	$("#lowassociationsaddle").hide();
	$("#reins").hide();
	$("#jamesbuilttack").hide();

	});
	
	// shows the hand section and hides rest
	$("#oakleafsaddleLink").click(function() {
			
	$("#saddlerestoration").hide();
	$("#cuttingsaddle").hide();
	$("#barbwiresaddle").hide();
	$("#oakleafsaddle").show();
	$("#doncarlossaddle").hide();
	$("#lowassociationsaddle").hide();
	$("#reins").hide();
	$("#jamesbuilttack").hide();

	});
	
	// shows the hair section and hides rest
	$("#doncarlossaddleLink").click(function() {
			
	$("#saddlerestoration").hide();
	$("#cuttingsaddle").hide();
	$("#barbwiresaddle").hide();
	$("#oakleafsaddle").hide();
	$("#doncarlossaddle").show();
	$("#lowassociationsaddle").hide();
	$("#reins").hide();
	$("#jamesbuilttack").hide();

	});
	
	// shows the finishing section and hides rest
	$("#lowassociationsaddleLink").click(function() {
			
	$("#saddlerestoration").hide();
	$("#cuttingsaddle").hide();
	$("#barbwiresaddle").hide();
	$("#oakleafsaddle").hide();
	$("#doncarlossaddle").hide();
	$("#lowassociationsaddle").show();
	$("#reins").hide();
	$("#jamesbuilttack").hide();

	});
	
		// shows the packages section and hides rest
	$("#reinsLink").click(function() {
			
	$("#saddlerestoration").hide();
	$("#cuttingsaddle").hide();
	$("#barbwiresaddle").hide();
	$("#oakleafsaddle").hide();
	$("#doncarlossaddle").hide();
	$("#lowassociationsaddle").hide();
	$("#reins").show();
	$("#jamesbuilttack").hide();

	});
	
			// shows the packages section and hides rest
	$("#jamesbuilttackLink").click(function() {
			
	$("#saddlerestoration").hide();
	$("#cuttingsaddle").hide();
	$("#barbwiresaddle").hide();
	$("#oakleafsaddle").hide();
	$("#doncarlossaddle").hide();
	$("#lowassociationsaddle").hide();
	$("#reins").hide();
	$("#jamesbuilttack").show();

	});
	
	
	
	
	


});



