I\'m not sure what is wrong with my code, but when I try and add actorWin.document.write(\'
actorWin.document.write(\'
Just change closing script tag inside other script tag to fool browser.
change :
actorWin.document.write('