Add document method:
getAlinkColor: returns or sets the color of an active link in the document body.
getVlinkColor: returns the color of links that the user has visited in the document.
getLinkColor:return the background color of the current document.
getBgColor: return the background color of the current document.
getCommands:Returns a list of the <commands> elements in the document(Ex.var list = document.commands;)
getScripts:Returns a list of the <script> elements in the document(Ex.var list = document.scripts;)
getPlugins:Returns an HTMLCollection object containing one or more  <embed> elements 
getEmbeds:Returns a list of the <embed> elements in the document(Ex.var list = document.embeds;)