function generatePopUp(){
	//Have to have a class="popUp" in the <a href>...</a>
	outLinks=document.getElementsByTagName('a');
	for(var i=0; i<outLinks.length; i++){
		linkClassFF=outLinks[i].getAttribute('class');
		linkClassIE=outLinks[i].className;
		if((linkClassFF=="popUp")||(linkClassIE=="popUp")){	
			eventHandler(outLinks[i], "click", popIt);
		}
	}
}

function popIt(e) {
	if (e.srcElement) {	//IIE
		window.open(e.srcElement);
		e.returnValue=false;
	} else {	//FF & the like
		window.open(this);
		e.preventDefault();
	}
}
