5 <textarea id='id_message'
>
10 type=
"application/browser-plugin"
13 style='border: solid
1px red'
18 function dragLocation() {
19 return [id_message
.offsetLeft
+ id_message
.offsetWidth
/ 2,
20 id_message
.offsetTop
+ id_message
.offsetHeight
/ 2];
23 function dropLocation() {
24 return [plugin
.offsetLeft
+ plugin
.offsetWidth
/ 2,
25 plugin
.offsetTop
+ plugin
.offsetHeight
/ 2];
28 function SetSrc(src
) {
29 plugin
= document
.getElementById('plugin');
33 var plugin
= document
.getElementById('plugin');
34 plugin
.addEventListener('-internal-instanceid-allocated', function(e
) {
35 plugin
['-internal-attach']({});