Restart Story

body {\n background: #333333;\n}\n\n.passage {\n font-size: 3.1em;\n background: transparent;\n color: white;\n width: inherit;\n}\n\n.passage .title { display: none } \n\nh1 {\n color: white;\n font-size: 3.3em;\n}\n\n#sidebar { display: none;}\n\n#footer {display: none;}\n\n#floater { display: none; }
(function()\n{\n\nvar line = 0;\nvar H_wordList = [];\nvar P_wordList = [];\nvar text = "";\n\nTale.prototype.add = function(title,tags,content) {\n var pTitle = unescape(encodeURIComponent(title));\n var el = insertElement($("storeArea"),"div",pTitle,"",content);\n el.setAttribute("tiddler",pTitle);\n el.setAttribute("tags",tags);\n el.setAttribute("modifer","twee");\n var newP = new Passage(pTitle,$(pTitle));\n this.passages[title] = newP;\n if(tags === "stylesheet")\n { addStyle(newP.text); }\n else if(tags === "script") \n {try {eval(newP.text);}\n catch(e) {alert("There is a technical problem with this story (" + newP.title + ": " + e.message + "). You may be able to continue reading, but all parts of the story may not work properly.");}\n}\n};\n\nvar dialogue = function() {\n if(line < 11)\n {\n text = "''Hamlet:'' " + H_wordList[line];\n tale.add("Hamlet"+line, "", text);\n state.display("Hamlet"+line, null);\n\n text = "''Polonius:'' " + P_wordList[line];\n tale.add("Polonius"+line, "", text);\n state.display("Polonius"+line, null);\n line++;\n }\n};\n\nmacros['dialogue'] = \n{\n handler: function(place, object, parameters)\n { \n var Hamlet = tale.get("HamletLines");\n var Polonius = tale.get("PoloniusLines");\n H_wordList = Hamlet.text.split(" ");\n P_wordList = Polonius.text.split(" ");\n timer = setInterval(dialogue, 7800);\n }\n}\n\n}());
Well, God-a-mercy. \nExcellent well; you are a fishmonger. \nThen I would you were so honest a man. \nAy, sir; to be honest, as this world goes, is to be\none man picked out of ten thousand. \nFor if the sun breed maggots in a dead dog, being a\ngod kissing carrion,--Have you a daughter? \nLet her not walk i' the sun: conception is a\nblessing: but not as your daughter may conceive.\nFriend, look to 't. \nWords, words, words. \nBetween who? \nSlanders, sir: for the satirical rogue says here\nthat old men have grey beards, that their faces are\nwrinkled, their eyes purging thick amber and\nplum-tree gum and that they have a plentiful lack of\nwit, together with most weak hams: all which, sir,\nthough I most powerfully and potently believe, yet\nI hold it not honesty to have it thus set down, for\nyourself, sir, should be old as I am, if like a crab\nyou could go backward. \nInto my grave. \nYou cannot, sir, take from me any thing that I will\nmore willingly part withal: except my life, except\nmy life, except my life. 
<<dialogue>>
Hamlet: Act 2, Scene 2, Lines 172-218
Do you know me, my lord? \nNot I, my lord. \nHonest, my lord! \nThat's very true, my lord. \nI have, my lord. \nHow say you by that? Still harping on my\ndaughter: yet he knew me not at first; he said I\nwas a fishmonger: he is far gone, far gone: and\ntruly in my youth I suffered much extremity for\nlove; very near this. I'll speak to him again.\nWhat do you read, my lord? \nWhat is the matter, my lord? \nI mean, the matter that you read, my lord. \nThough this be madness, yet there is method\nin 't. Will you walk out of the air, my lord? \nIndeed, that is out o' the air.\nHow pregnant sometimes his replies are! a happiness\nthat often madness hits on, which reason and sanity\ncould not so prosperously be delivered of. I will\nleave him, and suddenly contrive the means of\nmeeting between him and my daughter.--My honourable\nlord, I will most humbly take my leave of you. \nFare you well, my lord.