        //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.siesta.kiev.ua']").removeClass("ExternalLink");
            //Apply CSS class to all A links that start with mailto:
            //$("a[href^='mailto:']").addClass("Mail");
        });
