        function openNewWindow(url, thewidth, theheight) {
            var newwidth 
            newwidth = thewidth + 100;
            newheight = theheight + 112;
            if (newheight > 650) {
            	newheight = 650;
            }
            popupWin = window.open(url, 'open_window', 'scrollbars,resizable,dependent,width='+newwidth+',height='+newheight+',left=0,top=0')
        }
