// use this if multiple functions need to be loaded and run onload

window.onload = doStuff;

function doStuff()
	{

	// write a random quote to top right
	quote();
	
	// correct IE bug on png thumbnails on:
	// Our Work and 
	// splash pages
		
	if ( (document.body.className == "ourWork" || document.body.className == "splash") && (document.body.filters && lessThanIE7) ) 
		{ pngFix(); }
	
	// alternate the colors of the rows on the press release table
	if ( document.body.className == "pressReleases" ) 
		{ findTables(); }

	// generate table of client logos
	if ( document.body.className == "ourClients" ) 
		{ showClientLogos(); }


var rotate=false;

	// on the homepage, count all the feature IDs
	// then begin the feature rotation
	if ( document.body.className == "splash" && rotate ) 
		{ 
		countIDs();
		hide();
		rotateFeatures(0);
		}




	}
