//Start jQuery
var $j = jQuery.noConflict();
        $j(document).ready(function(){
		//DOM is ready, lets go
            
            //Apply CSS class to all A links that end in .pdf
            $j("a[href$='.pdf']").addClass("PDF");
            
            //Apply CSS class to all A links that end in .doc
            $j("a[href$='.doc']").addClass("DOC");
            
            //Apply CSS class to all A links that end in .xls
            $j("a[href$='.xls']").addClass("XLS");
            
            //Apply CSS class to all A links that end in .ppt
            $j("a[href$='.ppt']").addClass("PPT");
                      
            //Apply CSS class to all A links that start with http://
//            $j("a[href^='http://']").addClass("ExternalLink");


            //Remove CSS class to all A links that start with http://www.YOURDOMAINHERE.co.uk
            $j("a[href^='http://www.adobe.com']").removeClass("ExternalLink");
            
            //Apply CSS class to all A links that start with mailto:
            $j("a[href^='mailto:']").addClass("Mail");
            
            
        });
