document.write('Error opening database