Coding inside iframe

My problem is a bit different. I need to change “content :{ location :{ url : “https://documentcloud.adobe.com/view-sdk-demo/PDFs/Bodea Brochure.pdf” }},”"
with the simply string url “demo” received (in the iframe) from the page code by $ w ( “#html1” ). postMessage.
“Demo” variable contain the url of the right pdf file I need to view.