// JavaScript Document

function add_image(float_direction, image_url, image_alt, caption) {
	document.write('<!-- below /div closes center-content-text div above -->');
	document.write('</div>');
	document.write('<!-- below div is for an image -->');
	document.write('<div class="' + float_direction + '-image-box">');
	document.write('<img src="' + image_url + '" alt="' + image_alt + '" />');
	document.write('<div class="photo-caption">' + caption);
	document.write('</div>');
	document.write('</div>');
	document.write('<!-- below div picks up on center content -->');
	document.write('<div class="center-content-text">');
}
