<html id='t'>
<head>
<title></title>
<script type="text/javascript">
function hideAllPages() {
var pages = ['login', 'configure', 'passphrase',
'settingup', 'done', 'firstpassphrase'];
for (var i = 0; i < pages.length; ++i) {
document.getElementById(pages[i]).style.display = 'none';
document.getElementById(pages[i]).tabIndex = -1;
}
}
function showPage(page) {
hideAllPages();
document.getElementById(page).style.display = 'block';
document.getElementById(page).tabIndex = 0;
}
function showGaiaLoginIframe() { showPage('login'); }
function showConfigure() { showPage('configure'); }
function showPassphrase() { showPage('passphrase'); }
function showSettingUp() { showPage('settingup'); }
function showSetupDone() { showPage('done'); }
function showFirstPassphrase() { showPage('firstpassphrase'); }
// Called once, when this html/js is loaded.
function showTheRightIframe() {
var args = JSON.parse(chrome.dialogArguments);
showPage(args.iframeToShow);
}
</script>
</head>
<body style="margin:0; border:0;" onload="showTheRightIframe();">
<iframe id="login" frameborder="0" width="100%" scrolling="no" height="100%"
src="chrome://syncresources/gaialogin" style="display:none"
tabindex="-1"></iframe>
<iframe id="configure" frameborder="0" width="100%" scrolling="no"
height="100%" src="chrome://syncresources/configure"
style="display:none" tabindex="-1"></iframe>
<iframe id="passphrase" frameborder="0" width="100%" scrolling="no"
height="100%" src="chrome://syncresources/passphrase"
style="display:none" tabindex="-1"></iframe>
<iframe id="settingup" frameborder="0" width="100%" scrolling="no"
height="100%" src="chrome://syncresources/settingup"
style="display:none" tabindex="-1"></iframe>
<iframe id="done" frameborder="0" width="100%" scrolling="no" height="100%"
src="chrome://syncresources/setupdone" style="display:none"
tabindex="-1"></iframe>
<iframe id="firstpassphrase" frameborder="0" width="100%" scrolling="no"
height="100%" src="chrome://syncresources/firstpassphrase"
style="display:none" tabindex="-1"></iframe>
</body>
</html>