// Function to take a URL and open a pop-up window for it. 
// Should validate all document types and be compatible with modern browser pop-up blockers
function openPopup(popUrl) {
		window.open(popUrl.href,popUrl.title,'width=780,height=550,status=1,toolbar=1,resizable=1,menubar=1,location=1,scrollbars=1');
		return false;
}