Can anybody say for sure, if content generated through Javascript document.write() method is indexed or available to search engines?
wrong. They can and do read it, especially google. I once had to go to EXTREME measures to stop google publishing my javascript writes as 'snippets' in their search pages. They now also routinely go grab javascript include files, whether or not you put them in protected directories. Don't beleive me? Go check your logs. You will be surprised. Dont forget, they actually have their own browser now, and that has no problems parsing js.
Its one in thousand case bro that it shows such thing in normal index unless you go some hardcore searching..i guess yo know what i mean Normally spiders ignore such stuff. but if you are using <no script> with the code than there are some chances that they read the whole code too.