4 var x
=window
.location
.search
.substring(1).split('&');
5 for (var i
in x
) {var z
=x
[i
].split('=',2);vars
[z
[0]] = unescape(z
[1]);}
6 var x
=['topage','page'];
8 var y
= document
.getElementsByClassName(x
[i
]);
9 for (var j
=0; j
<y
.length
; ++j
) y
[j
].textContent
= vars
[x
[i
]];
12 </script></head><body style=
"border:0; margin: 0" onload=
"subst()">
13 <div style=
"width: 100%; border-top: 1px black; font-size: 0.8em">
14 <div style=
"position:absolute;left:0%">This report was created by Ninja
</div>
15 <div style=
"position:absolute;left:50%; right:50%"><nobr>Page
<span class=
"page"></span> of
<span class=
"topage"></nobr></div>
16 <div style=
"position:absolute;right:0%"><img src=
"http://localhost/ninja/application/views/icons/icon.png" /></div>