// Easing equation, borrowed from jQuery easing plugin
// http://gsgd.co.uk/sandbox/jquery/easing/
jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};



// Displays abstract text for motion and stills pages
function showTag(id) {
	tag = document.getElementById(id);
	tag.style.display = "block";
}
function hideTag(id) {
	tag = document.getElementById(id);
	tag.style.display = "none";
}

function doNav(url) {
	document.location.href=url;
}

function swapImg(obj,img) {
	imgObj = document.getElementById(obj);
	imgObj.src = img;
}
function swapCap(obj,txt) {
	txtObj = document.getElementById(obj);
	txtObj.innerHTML = unescape(txt);
}
