<HTML>
<!--
/****************************************************************************
* ADOBE SYSTEMS INCORPORATED
* Copyright 2012 Adobe Systems Incorporated and it’s licensors
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file
* in accordance with the terms of the license agreement accompanying it.
* ****************************************************************************/
-->
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Sandbox Loader</title>
<SCRIPT type="text/javascript">
//Stuff to send
var bridgeInterface = {};
function callChild() {
var mc = document.getElementById('mapperChild');
if (mc != null) {
var childInterface = mc.contentWindow.childSandboxBridge;
if (childInterface != null) {
childInterface.rewriteDiv(bridgeInterface);
}
}
}
function initFrame() {
window.setTimeout(callChild,2000);
}
</SCRIPT>
</HEAD>
<BODY>
<div id="mapper"></div>
<script type="text/JavaScript">
function writeViewerMap(sandboxRoot,viewerTemplate) {
var div = document.getElementById("mapper");
var frameString = '<iframe id="mapperChild" name="mapperChild" height="100%" width="100%" scrolling="no" src="' + viewerTemplate + '" documentRoot="app:/Viewer/" sandboxRoot="'+ sandboxRoot + '/"/>';
div.innerHTML = frameString;
initFrame();
}
</script>
</BODY>
</HTML>