function swapThought()
{
		var imageindex=Math.floor(Math.random()*5);
		var bubbleindex=Math.floor(Math.random()*6);

		document.getElementById("headerbubble"+bubbleindex).style.backgroundImage = 'url(/wp-content/themes/thinktanktoybox/images/headerbubble'+imageindex+'_'+bubbleindex+'.png)';
}

$(document).ready(function(){
	setInterval('swapThought()', 2000);
});

function showElement(id)
{
	document.getElementById(id).style.display = "block";
}

function hideElement(id)
{
	document.getElementById(id).style.display = "none";
}



