added database error log on or of
added item.html
added database fucntion for item
added item function to index.js
removed <br /> from subcategories
added debug function 
added item page function to sys.js