/* 
 * Simple email obfuscator
 * 
 */

$(document).ready(function() {
  $(".email").each( function() {
    var ps = jQuery(this).text().split("|")
    var anchor = "<a href='mailto:" + ps[1] + "@packhum.org'>" + ps[0] + "</a>"
    jQuery(this).replaceWith(anchor)
  })
})

/* 
 * Popup windows for abbreviations
 * 
 */

function popitup(url) {
	newwindow=window.open(url,'name','height=70,width=600,left=200,top=400');
	if (window.focus) {newwindow.focus()}
	return false;
}

