// Function to create dynamic pop up window, currently set to center window on screen.

function pop_up_dyn(url, wid, hgt) {
    popUpWindow = window.open(url, 'popUp', 'width='+wid+',height='+hgt+',scrollbars=1,resizable=1,status=1')
}