/*used to set up rotation with the extra boxes 
on the page (i.e. ads)*/
function flipBoxes(whatItIs, numOfThings, numOfBoxes, flipSpeed, beginLoc, endLoc){
		var adArray = new Array();
		/*beginLoc = where to find the thing
			endLoc = where to find the thing*/
		thingArray = getThing(numOfThings, beginLoc, endLoc);
		new generatedAds(thingArray, numOfBoxes, whatItIs);	//number of boxes on page
		setTimeout(function(){	
				flipBoxes(whatItIs, numOfThings, numOfBoxes, flipSpeed, beginLoc, endLoc);}, flipSpeed);
}

