newWinPdfLinks = function() {
	var newWinPdfLinksEls = document.getElementsByTagName("A");
	for (var i=0; i<newWinPdfLinksEls.length; i++) {
		myHref = newWinPdfLinksEls[i].href;
 		fType = myHref.substring(myHref.lastIndexOf('.'), myHref.length);
		if (fType == ".pdf") {
			newWinPdfLinksEls[i].onmouseover=function() {
				this.title="PDF file - opens in new window";
			}
			newWinPdfLinksEls[i].onfocus=function() {
				this.target="_blank";
			}
		}
	}
}
if (window.attachEvent) {window.attachEvent("onload", newWinPdfLinks);}
if (window.addEventListener) {window.addEventListener("load", newWinPdfLinks, false);}