function popperOLD(url) {
	var popwin = window.open(url,'','scrollbars=yes,menubar=no,height=300,width=530,resizable=yes,toolbar=no,location=no,status=no');
}

// POP UP WINDOW
function popper(url) {
	// alert("Pop Recipe: " + url);
	
	var name = 'baby';
	var height = '300';
	var width = '530';
	var resize = 'yes';
	var scrolling = 'yes';
	
	features = "menubar=0, toolbar=yes, scrollbars=" + scrolling + ", resizable=" + resize + ", width=" + width + ", height=" + height + ",dependent=yes";
	
	if (window.thePopper && !window.thePopper.closed) {
		
		thePopper.resizeTo(width,height);
		thePopper.innerwidth=width;
		thePopper.height=height;
		thePopper.location.href = url;
		thePopper.focus();
		
	} else {

		var winl = Math.floor((screen.width - width) / 2);
		var wint = Math.floor((screen.height - height) / 4);
					
		thePopper = window.open(url,name,'top='+wint+',left='+winl+','+features);
		thePopper.innerwidth=width;
		thePopper.height=height;
	
	}
	 
}


function popper2(url) {
	// alert("Pop Recipe: " + url);
	
	var name = 'baby';
	var height = '300';
	var width = '530';
	var resize = 'yes';
	var scrolling = 'yes';
	
	features = "menubar=0, toolbar=0, scrollbars=" + scrolling + ", resizable=" + resize + ", width=" + width + ", height=" + height + ",dependent=yes";
	
	if (window.thePopper && !window.thePopper.closed) {
		
		thePopper.resizeTo(width,height);
		thePopper.innerwidth=width;
		thePopper.height=height;
		thePopper.location.href = url;
		thePopper.focus();
		
	} else {

		var winl = Math.floor((screen.width - width) / 2);
		var wint = Math.floor((screen.height - height) / 4);
					
		thePopper = window.open(url,name,'top='+wint+',left='+winl+','+features);
		thePopper.innerwidth=width;
		thePopper.height=height;
	
	}
	 
}