| OLD | NEW |
| 1 <script type="text/javascript"> | 1 <script type="text/javascript"> |
| 2 function SetSrc(src) { | 2 function SetSrc(src) { |
| 3 var plugin = document.getElementById('plugin'); | 3 var plugin = document.getElementById('plugin'); |
| 4 plugin.src = src; | 4 plugin.src = src; |
| 5 } | 5 } |
| 6 function SetSize(w, h) { | 6 function SetSize(w, h) { |
| 7 var plugin = document.getElementById('plugin'); | 7 var plugin = document.getElementById('plugin'); |
| 8 plugin.width = w; | 8 plugin.width = w; |
| 9 plugin.height = h; | 9 plugin.height = h; |
| 10 } | 10 } |
| 11 function Back() { | 11 function Back() { |
| 12 var plugin = document.getElementById('plugin'); | 12 var plugin = document.getElementById('plugin'); |
| 13 plugin.back(); | 13 plugin.back(); |
| 14 } | 14 } |
| 15 function Forward() { | 15 function Forward() { |
| 16 var plugin = document.getElementById('plugin'); | 16 var plugin = document.getElementById('plugin'); |
| 17 plugin.forward(); | 17 plugin.forward(); |
| 18 } | 18 } |
| 19 function Go(relativeIndex) { | 19 function Go(relativeIndex) { |
| 20 var plugin = document.getElementById('plugin'); | 20 var plugin = document.getElementById('plugin'); |
| 21 plugin.go(relativeIndex); | 21 plugin.go(relativeIndex); |
| 22 } | 22 } |
| 23 function SetTitle(str) { |
| 24 document.title = str; |
| 25 } |
| 26 |
| 27 window.document.title = 'embedder'; |
| 23 </script> | 28 </script> |
| 24 | 29 |
| 25 <object id="plugin" | 30 <object id="plugin" |
| 26 tabindex="0" | 31 tabindex="0" |
| 27 type="application/new-browser-plugin" | 32 type="application/new-browser-plugin" |
| 28 width="640" | 33 width="640" |
| 29 height="480" | 34 height="480" |
| 30 border="0px"></object> | 35 border="0px"></object> |
| OLD | NEW |