// JavaScript Document

function popup() {
var aA = document.getElementsByTagName('a'), iI = aA.length - 1;

for(; iI >= 0; iI--)
if(aA[iI].className == 'popup')
aA[iI].onclick = function() {
window.open(this.href);
return false; }
}
window.onload = popup;