//JQUERY
var $j = jQuery.noConflict();
$j(document).ready(function() {

//----------------------------File Link Icon ---------------------------------- 
	// Add pdf icons to pdf links
	$j("a[href$='.pdf']").addClass("pdf").attr("target", "_blank");
	 
	// Add txt icons to document links (doc, rtf, txt)
	$j("a[href$='.doc'], a[href$='.txt'], a[href$='.rft']").addClass("txt").attr("target", "_blank");
 
	// Add zip icons to Zip file links (zip, rar)
	$j("a[href$='.zip'], a[href$='.rar']").addClass("zip"); 
	
	// Add email icons to email links
//	$j("a[href^='mailto:']").addClass("email");
 
	//Add external link icon to external links - 
//	$j('a').filter(function() {
//		//Compare the anchor tag's host name with location's host name
//	    return this.hostname && this.hostname !== location.hostname;
//	  }).addClass("external");

//----------------------------Target Blank for member download box ---------------------------------- 

});

