function jt_animateText() {
	$("#animateBlock").fadeOut(1000, function() {
		$("#animateH").replaceWith('<h1 id="animateH">' + marketingString(1) + '</h1>');
		$("#animateHH").replaceWith('<h2 id="animateHH">' + marketingString(2) + '</h2>');
	}).fadeIn(1000);

	setTimeout("jt_animateText()", 8000);
}

function marketingString(hdepth) {
	if (typeof marketingString.count == 'undefined') {
		marketingString.count = 0;
	}
	
	if (marketingString.count == 0) {
		if (hdepth == 1) {
			return "Bespoke development services.";
		} else if (hdepth == 2) {
			++marketingString.count;
			return "A complete range of development and consultation services to suit every budget.";
		}
		
	} else if (marketingString.count == 1) {
		if (hdepth == 1) {
                        return "Professional results.";
		} else if (hdepth == 2) {
			++marketingString.count;
			return "Because you wouldn't expect anything else.";
		}
		
	} else if (marketingString.count == 2) {
		if (hdepth == 1) { 
			return "Intuitive software.";
		} else if (hdepth == 2) {
			marketingString.count = 0;
			return "Flexible and powerful applications that don't sacrifice usability.";
		}
	}
}

function isOldBrowser() {
	if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) {
		var ieversion = new Number(RegExp.$1);
		if (ieversion < 8) {
			return true;
		} else {
			return false;
		}
	return false;
	}
}
