
	$(document).ready(function() {
		teachanimation();
	});

	function teachanimation(){
		$('#txtteach').animate({
			opacity: '0.9'
			},1000, function(){
				learnanimation();
				}
			);
		$('#txtteach').animate({
			opacity: '0.5'
			},1000
			);
		$('#txtteach').animate({
			opacity: '0'
			},1000
			);
		$('#homeimg1').animate({
			opacity: '0.3'
			}, 1000
			);
		$('#homeimg2').animate({
			opacity: '0.3'
			}, 1000
			);
		$('#homeimg3').animate({
			opacity: '1'
			}, 1000
			);
	}
	function learnanimation(){
		$('#txtlearn').animate({
			opacity: '0.9'
			},2000
			);
		$('#txtlearn').animate({
			opacity: '0.9'
			},1000
			);
		$('#txtlearn').animate({
			opacity: '0'
			},1000, function(){
				careanimation();
			}
			);
	}
	function careanimation(){
		$('#txtcare').animate({
			opacity: '0.9'
			},2000, function(){
				growanimation();
			}
			);
		$('#txtcare').animate({
			opacity: '0.9'
			},1000
			);
		$('#txtcare').animate({
			opacity: '0'
			},2000
			);
		$('#homeimg1').animate({
			opacity: '1'
			}, 2000
			);
		$('#homeimg2').animate({
			opacity: '0.3'
			}, 2000
			);
		$('#homeimg3').animate({
			opacity: '0.3'
			}, 2000
			);
	}
	function growanimation(){
		$('#txtgrow').animate({
			opacity: '0.9'
			},2000
			);
		$('#txtgrow').animate({
			opacity: '0.9'
			},1000
			);
		$('#txtgrow').animate({
			opacity: '0'
			},2000, function(){
				nurtureanimation();
			}
			);
	}
	function nurtureanimation(){
		$('#txtnurture').animate({
			opacity: '0.75'
			},2000, function(){
				thriveanimation();
			}
			);
		$('#txtnurture').animate({
			opacity: '0.75'
			},1000
			);
		$('#txtnurture').animate({
			opacity: '0'
			},2000
			);
		$('#homeimg1').animate({
			opacity: '0.3'
			}, 2000
			);
		$('#homeimg2').animate({
			opacity: '1'
			}, 1000
			);
		$('#homeimg3').animate({
			opacity: '0.3'
			}, 1000
			);
	}
	function thriveanimation(){
		$('#txtthrive').animate({
			opacity: '0.75'
			},2000
			);
		$('#txtthrive').animate({
			opacity: '0.75'
			},1000
			);
		$('#txtthrive').animate({
			opacity: '0'
			},1000, function(){
				homeimgrestore();
			}
			);
	}
	function homeimgrestore() {
		$('#homeimg1').animate({
			opacity: '1'
			}, 1000
			);
		$('#homeimg2').animate({
			opacity: '1'
			}, 1000
			);
		$('#homeimg3').animate({
			opacity: '1'
			}, 1000
			);

	}

