/***

 *  QUICK EMAIL A FRIEND JS FUNCTION WITH POPUP

 *  Usage:  <a href="javascript:popUp('/openday/emailafriend.php?title='+pagetitle+'&url='+printurl)" title="Email a Friend">

 *  Where emailafriend.php is the email a friend form.

 * 

 *****/   





  	function popUp(URL) {				

		day = new Date();				

    		id = day.getTime();				

    		eval("email" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,height=260,width=390');");				

      }

    var printurl = location.href;   
