(function() {
- var scrollTo = function(duration) {
- var to = document.body.parentNode.scrollHeight;
- if (duration <= 0) return;
- var difference = to - document.body.parentNode.scrollTop;
- var perTick = difference / duration * 10;
-
- var sid = setInterval(function() {
- document.body.parentNode.scrollTop = document.body.parentNode.scrollTop + perTick;
- if (document.body.parentNode.scrollTop > to) {
- clearInterval(sid );
- }
-
- }, 10);
- }
- scrollTo(10000);
+ // this is run when capture is ready.
+ try {
+ var ar = document.getElementsByTagName('img');
+ for (i = 0;i<ar.length;i++) { ar[i].setAttribute('style','opacity:1 !important'); }
+ } catch(e) {}
+
})()
\ No newline at end of file