jQuery(document).ready(function() {
	// Word doc
	$('a[href$=".doc"]').addClass('doc');
	$('a[href$=".docx"]').addClass('doc');
	$('a[href$=".docm"]').addClass('doc');
	// Excel
	$('a[href$=".xls"]').addClass('excel');
	$('a[href$=".xlsx"]').addClass('excel');
	$('a[href$=".xlsm"]').addClass('excel');
	$('a[href$=".xltx"]').addClass('excel');
	// PowerPoint
	$('a[href$=".ppt"]').addClass('ppt');
	$('a[href$=".pptx"]').addClass('ppt');
	$('a[href$=".potx"]').addClass('ppt');
	$('a[href$=".potm"]').addClass('ppt');
	// PDF
	$('a[href$=".pdf"]').addClass('pdf');
	// ZIP
	$('a[href$=".zip"]').addClass('zip');
});

