1 <script type=
"text/javascript">
2 var unresponsiveCalled
= false;
3 var responsiveCalled
= false;
5 plugin
= document
.getElementById('plugin');
8 function GuestUnresponsive(evt
) {
9 unresponsiveCalled
= true;
12 function GuestResponsive(evt
) {
13 responsiveCalled
= true;
14 document
.title
= "done";
18 <!-- The plugin size is same as the browser's size -->
21 type=
"application/browser-plugin"
22 style=
"height: 100%; width: 100%; border: 0px"></object>
25 var plugin
= document
.getElementById('plugin');
26 plugin
.addEventListener('-internal-unresponsive', GuestUnresponsive
);
27 plugin
.addEventListener('-internal-responsive', GuestResponsive
);