Removed some unused code.

Remove a redundant check of the showtip argument; no where seems to be
used the argument at all.
Removed the tipnumber (it was hidden anyway).
Placed the HTML that is injected directly in the body, now the showtip
only has to inject the title and tip content.
Revert "Removed some unused code."

This reverts commit 093b2f561cf3c7b51d05785b7dff5494401e6a5c.
Moved some logic into onload function.

Moved some of the logic into a window load function. Makes it easier to
keep track of everything running.
Merge pull request #8 from JamieSharpe/refactor

Moved on load javascript into a window.onload function to tidy it up. ShowTip function now just dumps inner HTML and does not build up card innards.
Moved change theme out of onload function

Moved this out of the window.onload function as the theme change needs
to run during load rather than 'on' in order to prevent page flickering
on reload
Merge remote-tracking branch 'origin/master' into gh-pages