You are trying to concatenate a string to eval, but you are missing some + signs. Noone here will want to help with an eval anyway because it's just wrong. How about something like this:
Code:
//initialize the page object globally
var page = {};
...
//inside your popup function
var day = new Date();
var id = String(day.getTime());
page[id] = window.open(URL, id, "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=" + screen.width + ",height=" + screen.height);
note that the only reason to bother with the page object is if you want to activate the popup windows later on, and you really need to keep track of more than one of them. If not just do:
Code:
window.open(URL, "_blank", "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=" + screen.width + ",height=" + screen.height);
Bookmarks