$(function() {
$("img.rollover").hover(
function () { this.src = this.src.replace("-off","-on");
},
function () { this.src = this.src.replace("-on","-off");
}
);
});
	

		
	
	
	
	
	
	$(function(wedding) {
		$('#weddingmain img').animate({ "opacity" : .5 });
		$('#weddingmain p').animate({ "opacity" : 0 });
		
		$('#weddingmain img').hover(function() {
			$(this).stop().animate({ "opacity" : 1 });
			$('#weddingmain p').stop().animate({"opacity" : 1 });
		},function() {
			$(this).stop().animate({ "opacity" : .5 });
			$('#weddingmain p').stop().animate({ "opacity" : 0});
		});
	});

	$(function(pageant) {
		$('#pageant img').animate({ "opacity" : .5 });
		$('#pageant p').animate({ "opacity" : 0 });
		
		$('#pageant img').hover(function() {
			$(this).stop().animate({ "opacity" : 1 });
			$('#pageant p').stop().animate({"opacity" : 1 });
		},function() {
			$(this).stop().animate({ "opacity" : .5 });
			$('#pageant p').stop().animate({ "opacity" : 0});
		});
	});

	$(function(children) {
		$('#childrenmain img').animate({ "opacity" : .5 });
		$('#childrenmain p').animate({ "opacity" : 0 });
		
		$('#childrenmain img').hover(function() {
			$(this).stop().animate({ "opacity" : 1 });
			$('#childrenmain p').stop().animate({"opacity" : 1 });
		},function() {
			$(this).stop().animate({ "opacity" : .5 });
			$('#childrenmain p').stop().animate({ "opacity" : 0});
		});
	});

	$(function(senior) {
		$('#seniormain img').animate({ "opacity" : .5 });
		$('#seniormain p').animate({ "opacity" : 0 });
		
		$('#seniormain img').hover(function() {
			$(this).stop().animate({ "opacity" : 1 });
			$('#seniormain p').stop().animate({"opacity" : 1 });
		},function() {
			$(this).stop().animate({ "opacity" : .5 });
			$('#seniormain p').stop().animate({ "opacity" : 0});
		});
	});

	$(function(families) {
		$('#families img').animate({ "opacity" : .5 });
		$('#families p').animate({ "opacity" : 0 });
		
		$('#families img').hover(function() {
			$(this).stop().animate({ "opacity" : 1 });
			$('#families p').stop().animate({"opacity" : 1 });
		},function() {
			$(this).stop().animate({ "opacity" : .5 });
			$('#families p').stop().animate({ "opacity" : 0});
		});
	});

	$(function(fashion) {
		$('#fashion img').animate({ "opacity" : .5 });
		$('#fashion p').animate({ "opacity" : 0 });
		
		$('#fashion img').hover(function() {
			$(this).stop().animate({ "opacity" : 1 });
			$('#fashion p').stop().animate({"opacity" : 1 });
		},function() {
			$(this).stop().animate({ "opacity" : .5 });
			$('#fashion p').stop().animate({ "opacity" : 0});
		});
	});

	$(function(art) {
		$('#art img').animate({ "opacity" : .5 });
		$('#art p').animate({ "opacity" : 0 });
		
		$('#art img').hover(function() {
			$(this).stop().animate({ "opacity" : 1 });
			$('#art p').stop().animate({"opacity" : 1 });
		},function() {
			$(this).stop().animate({ "opacity" : .5 });
			$('#art p').stop().animate({ "opacity" : 0});
		});
	});