<cfparam name="ATTRIBUTES.mimetype"/>
<cfswitch expression=#ATTRIBUTES.mimetype#>
	<cfcase value="text/plain"><img src="img/mimetype/text.png"/></cfcase>
	<cfcase value="text/html"><img src="img/mimetype/html.png"/></cfcase>
	<cfcase value="application/pdf"><img src="img/mimetype/pdf.png"/></cfcase>
	<cfcase value="image/gif,image/png,image/jpeg"><img src="img/mimetype/image.png"/></cfcase>
	<cfcase value="application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"><img src="img/mimetype/excel.png"/></cfcase>
	<cfcase value="application/vnd.ms-powerpoint"><img src="img/mimetype/powerpoint.png"/></cfcase>
	<cfcase value="application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"><img src="img/mimetype/word.png"/></cfcase>	
	<cfdefaultcase><img src="img/mimetype/document.png"/></cfdefaultcase>
</cfswitch><cfexit method="exittag"/>