// JavaScript Document

function initEvents() {
	links = document.getElementsByTagName ('a');
	for (i in links) {
		l = links[i];
			if (l.href) {
				if (l.href.substr(l.href.length - 4) == '.pdf') {
				l.onclick = function (e) {
					popupwindow2(this.href, 800, 600);
					base = location.protocol + '//' + location.host;
					href = this.href.substr (base.length);
					pageTracker._trackPageview(href);
					return false;
				}
			}
		}
		
	}


}

function initEventsB() {
	links = document.getElementsByTagName ('a');
	for (i in links) {
		l = links[i];
			if (l.href) {
				if (l.href.substr(l.href.length - 4) == '.pdf') {
				l.onclick = function (e) {
					popupwindow2(this.href, 800, 600);
					base = location.protocol + '//' + location.host;
					href = this.href.substr (base.length);
					return false;
				}
			}
		}
		
	}
}