Fotiman - 2:21 pm on Aug 19, 2013 (gmt 0)
Remove the HTML comments (<!-- and -->) from within the script tag, though. That's an old leftover that hasn't been needed for over 15 years.
Also, you don't NEED to use document.write. In fact, use of document.write is discouraged in favor of DOM methods, like document.createElement and setAttribute and appendChild.