			function doPopup(url, name, width, height, scrollbars)
			{
				var extraFeatures = '';
				/* if (scrollbars)  */
				
			// make sure scrollbars are enabled
					extraFeatures = ',scrollbars=1';
					
			// add extra to popup dimensions to allow for scrollbars
					width = (width + 17);
					height = (height + 17);	
								
				var w = window.open(url, name, 'width='+width+',height='+height+extraFeatures);
				w.focus();
			}	
			
			function doImgPopup(url, name, width, height, docTitle)
			{
				var extraFeatures = '';
				
					extraFeatures = ',scrollbars=yes';
				
				var w = window.open(url, name, 'width='+width+',height='+height+extraFeatures);
				w.document.title=docTitle;
				w.focus();
			}			

