document.writeln(""); document.writeln(" (function() {"); document.writeln(" var ua = navigator.userAgent.toLowerCase();"); document.writeln(" var FF = ua.indexOf('firefox') > -1 || ua.indexOf('mozilla') > -1;"); document.writeln(" var iframe = document.createElement('iframe');"); document.writeln(" var container = document.currentScript.parentNode"); document.writeln(" var zdk_ifcb = Math.floor(Math.random() * 10000000000000000);"); document.writeln(" iframe.id = \"zdkif_\" + zdk_ifcb;"); document.writeln(" iframe.frameBorder = 0;"); document.writeln(" iframe.scrolling = false;"); document.writeln(" iframe.marginWidth = 0;"); document.writeln(" iframe.marginHeight = 0;"); document.writeln(" // ONLY HTML5 (srcdoc iframe)"); document.writeln(" // var htmlString = '';"); document.writeln(" // iframe.src = \"javascript:'\" + htmlString + \"'\";"); document.writeln(" container.insertBefore(iframe, container.firstChild);"); document.writeln(" if (FF) {"); document.writeln(" window.setTimeout(function(){"); document.writeln(" // < HTML5"); document.writeln(" var iframeDocument = iframe.contentWindow.document;"); document.writeln(" iframeDocument.open();"); document.writeln(" iframeDocument.write(\"\");"); document.writeln(" iframeDocument.close();"); document.writeln(" },10);"); document.writeln(" } else {"); document.writeln(" // < HTML5"); document.writeln(" var iframeDocument = iframe.contentWindow.document;"); document.writeln(" iframeDocument.open();"); document.writeln(" iframeDocument.write(\"\");"); document.writeln(" iframeDocument.close();"); document.writeln(" }"); document.writeln(" "); document.writeln(" })();"); document.writeln("");