var id = 0;

function openWindow(theURL, features){
        window.open(theURL,'window'+(++id),features);
        return false;
}