function esr_popup(height,width,URL,target) {
    // id will be the window name, default is current time
    // if target is passed, set id to that instead
    day = new Date();
    id = day.getTime();
    if (target == null) {
        target = id;
    }
    //eval("page" + id + " = window.open(URL, '" + target + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=" + width + ",height=" + height + "');");
    var features = 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=' + width + ',height=' + height;
    var win = window.open(URL, target, features);
    win.focus();
}
function swapImage(imgN,imgU){
    if(document.images)document.images[imgN].src=imgU;
}
function swapImageById(img_id, img_url){
    var img_elem = document.getElementById(img_id);
    if (img_elem != null) {
        img_elem.src = img_url;
    }
}
function popupquicknotes(URL,width,height) {
	var options = 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=' + width + ',height=' + height;
	var win = window.open(URL, 'ClientNotes', options);
	win.focus();
}
// Do nothing
function doNada() {
}
