function randImage(max, postfix, prefix, alt) {
	// If variables are not defined then set the defaults
	postfix = (postfix == undefined || postfix == '') ? '.jpg' : postfix;
	alt = (alt == undefined || alt == '') ? 'Image' : alt;
	
	// Clean "unacceptable" characters from the alt tag
	alt = alt.replace(/&/,'&amp;');
	alt = alt.replace(/"/,'&quot;');
	alt = alt.replace(/</,'&lt;');
	alt = alt.replace(/>/,'&gt;');
	
	// Generate a random image number
	var img = Math.ceil(Math.random()*max);
	
	// Output the image
	document.write('<img src="'+prefix+img+postfix+'" title="'+alt+'" alt="'+alt+'" />');
}

// Deprecated... please use randImage directly
function showBanner() {
	randImage(5,'','/dcm/elements/','Child Guidance & Family Services');
}