ibroUF["ZufallTmp"] = String(Math.random()); ibroUF["ZufallTmp"] = ibroUF["ZufallTmp"].slice(2, ibroUF["ZufallTmp"].length); //alert(ibroUF["ZufallTmp"]); var _x = 'https://https://www.vpr-online.de'; ibroUF["Anzeigelaenge"] = -1 ibroUF["Ladestart"] = new Date(); ibroUF["Ladestart"] = ibroUF["Ladestart"].getTime(); ibroUF["Durchlauf"] = 1; function ibroUFVerkuerzenInit() { ibroUF["Ladezeit"] = new Date(); ibroUF["Ladezeit"] = (ibroUF["Ladezeit"].getTime() - ibroUF["Ladestart"]) / 2; ibroUFVerkuerzenSkript(); } function ibroUFVerkuerzenSkript() { ibroUF["Skript"] = document.createElement("script"); ibroUF["Skript"].src="https://www.vpr-online.de/Zusatzdienste/Urteilsfenster/FensterVerkuerzen.js.php?TID=" + ibroUF['ZufallTmp']; document.getElementsByTagName("body")[0].appendChild(ibroUF["Skript"]); void(0); window.setTimeout("ibroUFVerkuerzenJetzt();", ibroUF["Ladezeit"]); } function ibroUFVerkuerzenJetzt() { if(ibroUF["Anzeigelaenge"] == -1) { if(ibroUF["Durchlauf"] <= 5) { ibroUF["Ladezeit"] = ibroUF["Ladezeit"] + ibroUF["Ladezeit"] / ibroUF["Durchlauf"]; ibroUFVerkuerzenSkript(); } } else { document.getElementById("ibrOnlineUrteilsfensterDiv").style.height = ibroUF["Anzeigelaenge"] + "px"; document.getElementById("ibroUFFrame").style.height = ibroUF["Anzeigelaenge"] + "px"; } //window.status = ibroUF["Durchlauf"] + ". Durchlauf: " + ibroUF["Anzeigelaenge"] + "px / Ladezeit: " + ibroUF["Ladezeit"]; ibroUF["Durchlauf"]++; } /*@cc_on @if (@_jscript_version < 5.7) ibroUF["HTMLInhalt"] = ""; document.getElementById("ibrOnlineUrteilsfensterDiv").innerHTML = ibroUF["HTMLInhalt"]; // @else // alert("Sie benutzen IE > v7"); @end @*/ if (!ibroUF["HTMLInhalt"]) { ibroUF["HTMLInhalt"] = true; ibroUF["Iframe"] = document.createElement("iframe"); ibroUF["Iframe"]["Id"] = document.createAttribute("id"); ibroUF["Iframe"]["Id"].nodeValue = "ibroUFFrame"; ibroUF["Iframe"].setAttributeNode(ibroUF["Iframe"]["Id"]); ibroUF["Iframe"]["Name"] = document.createAttribute("name"); ibroUF["Iframe"]["Name"].nodeValue = "ibroUFFrame"; ibroUF["Iframe"].setAttributeNode(ibroUF["Iframe"]["Name"]); ibroUF["Iframe"]["Onload"] = document.createAttribute("onload"); ibroUF["Iframe"]["Onload"].nodeValue = "ibroUFVerkuerzenInit()"; ibroUF["Iframe"].setAttributeNode(ibroUF["Iframe"]["Onload"]); ibroUF["Iframe"]["Src"] = document.createAttribute("src"); ibroUF["Iframe"]["Src"].nodeValue = "https://www.vpr-online.de/Zusatzdienste/Urteilsfenster/Urteilsfenster.php?id=" + ibroUF["id"] + "&TID=" + ibroUF["ZufallTmp"]; ibroUF["Iframe"].setAttributeNode(ibroUF["Iframe"]["Src"]); //ibroUF["Iframe"]["Width"] = document.createAttribute("width"); //ibroUF["Iframe"]["Width"].nodeValue = ibroUF["Kx"]; ibroUF["Iframe"].style.minWidth='100px'; ibroUF["Iframe"].style.border='0'; ibroUF["Iframe"]["Width"] = document.createAttribute("width"); ibroUF["Iframe"]["Width"].nodeValue = '100%'; ibroUF["Iframe"].setAttributeNode(ibroUF["Iframe"]["Width"]); ibroUF["Iframe"]["Height"] = document.createAttribute("height"); ibroUF["Iframe"]["Height"].nodeValue = ibroUF["Ky"]; ibroUF["Iframe"].setAttributeNode(ibroUF["Iframe"]["Height"]); ibroUF["Iframe"]["Frameborder"] = document.createAttribute("frameborder"); ibroUF["Iframe"]["Frameborder"].nodeValue = 0; try { ibroUF["Iframe"].setAttributeNode(ibroUF["Iframe"]["Frameborder"]); } catch(e) {} ibroUF["Iframe"]["Scrolling"] = document.createAttribute("scrolling"); ibroUF["Iframe"]["Scrolling"].nodeValue = "no"; try { ibroUF["Iframe"].setAttributeNode(ibroUF["Iframe"]["Scrolling"]); } catch(e) {} document.getElementById("ibrOnlineUrteilsfensterDiv").appendChild(ibroUF["Iframe"]); }