//SETS FUNCTION TO DETECT IE6, IE7 and IE8
function isIE()
{
	IE6 = (navigator.appVersion.indexOf("MSIE 6.")==-1) ? false : true;
	IE7 = (navigator.appVersion.indexOf("MSIE 7.")==-1) ? false : true;
	IE8 = (navigator.appVersion.indexOf("MSIE 8.")==-1) ? false : true;

 return IE6 || IE7 || IE8;
}


(function($) {$.fn.homeAnimation = function() {
	var delay = 1000;
	obj = this;
	
	if(!isIE()){
		this.find('#home_tagline').hide()
		this.hide();
		
		this.slideDown(1800, 'easeOutQuad', 
			function() {
			obj.find('#home_tagline').delay(delay).fadeTo(1200, 1);
		});
	}else {
		this.hide();
		this.slideDown(1800, 'easeOutQuad');
	}

	
}})(jQuery);
