//Because we're relying on large images, start caching all of them (site-wide) immediately
pages = Array(
	'about_us',
	'attorneys',
	'contact_us',
	'home',
	'locations',
	'practice_areas',
	'recent_news',
	'results'
);

//iteratively cache the images
var bg_images = Array();
for(i=0; i<pages.length; i++){
	bg_images[pages[i]] = new Image();
	bg_images[pages[i]].src = '/media/static/images/slices/backgrounds/' + pages[i] + '.jpg';
}

