/* PDF Accessibility Fix 1.0 Adds a link next to each PDF link on a page which passes the document to the Adobe website for conversion to HTML Written by Phil McPhee (phil.mcphee@dpac.tas.gov.au), Tasmanian Department of Premier and Cabinet, November 2009 */ function fixPDFLinks(){ var pageLinks = document.getElementsByTagName('a'); var containsPDF = new RegExp('.pdf$','i'); for (var i=0; i