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


            //Remove CSS class to all A links that start with http://www.YOURDOMAINHERE.co.uk
            $("a[href^='http://www.sarh.co.uk']").removeClass("ExternalLink");
            $("a[href^='http://www.browsealoud.com']").removeClass("ExternalLink");
            $("a[href^='http://www.adobe.com']").removeClass("ExternalLink");
            $("a[href^='http://www.icra.org']").removeClass("ExternalLink");
            $("a[href^='http://validator.w3.org']").removeClass("ExternalLink");			
            $("a[href^='http://jigsaw.w3.org']").removeClass("ExternalLink");			
            $("a[href^='http://www.w3.org']").removeClass("ExternalLink");			
            $("a[href^='http://www.google.com/translate']").removeClass("ExternalLink");			
            $("a[href^='http://babelfish']").removeClass("ExternalLink");			
            $("a[href^='http://www3.tranexp.com']").removeClass("ExternalLink");			
            
            //Apply CSS class to all A links that start with mailto:
            $("a[href^='mailto:']").addClass("Mail");
            
            
        });
