blob: 302993253799e784c13e34b15842dc8a80f3045a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<?php header("Cache-Control: max-age=3600");
return <<<EOF
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title></title>
<script type="text/javascript">
var state_load_attempts = 0;
function state_onload()
{
if (state_load_attempts < 30)
{
state_load_attempts++;
if (parent.it_state && parent.it_state.ready)
parent.setTimeout(parent.it_state_restore_history, 1);
else
window.setTimeout(state_onload, 90);
}
window.onbeforeunload = state_onbeforeunload;
}
function state_onbeforeunload()
{
if (parent.it_state)
parent.it_state.store_state();
}
</script>
</head>
<body onload="state_onload()"><form action=""><input type="hidden" id="state" value=""></form></body>
</html>
EOF
?>
|