// URL SCRIPT PACKEN: http://compressorrater.thruhere.net/
var $spotIMPopLoaderUrl = '';
var $spotIMPopReloadInterval = null;
var $spotIMPopCnt = 0;
var $spotIMPopMaxReloads = 10;
var $spotSkipIMPopReload = false;
var slideIMIntervalId = null;
var $spotIMPopReload = true;
var $spotIMPopReloading = false;
var $spotImpopOaClick;
var $sspot_last_ba_id,
$spot_refurl = "",
$spot_bottom = -165,
$spot_reload_timer = 300000,
$spot_width,
$spot_height
;
function sspot_startIMPopSlide(id, left)
{
clearInterval(slideIMIntervalId);
slideIMIntervalId = setInterval("sspot_IMPopSlideIn('" + id + "', " + left + ");", 10);
}
function sspot_IMPopSlideIn(id, left)
{
var element = document.getElementById(id);
var nextSize;
// console.log(left);
if (parseInt(element.style.bottom) == left) {
clearInterval(slideIMIntervalId);
if ($spotIMPopReloading) {
$spotIMPopReloading = false;
var scriptNode = document.createElement('script');
scriptNode.src = $spotIMPopLoaderUrl + '&impop-view=1&cnt=' + $spotIMPopCnt + '&lastid=' + $sspot_last_ba_id;
scriptNode.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(scriptNode);
//element.style.display = 'none';
}
return;
} else if (parseInt(element.style.bottom) > left) {
nextSize = parseInt(element.style.bottom) - 3;
} else {
nextSize = parseInt(element.style.bottom) + 2;
}
element.style.bottom = nextSize + "px";
}
function sspot_outAction()
{
$spotImpopOaClick = document.onclick;
document.onclick = null;
setTimeout("sspot_outAction()", 1500);
}
function sspot_outAction1()
{
document.onclick = $spotImpopOaClick;
}
function sspot_openIMPopRef()
{
if($spot_refurl != "")
{
window.open($spot_refurl);
}
}
function sspot_writeIMPopLayer(title, image, description, clickUrl, refurl, isBanner, isFlash, isIframe, iframeSrcUrl, bwh)
{
if(typeof bwh == 'undefined' || bwh == null || bwh == "")
{
var bwh = '240x200';
}
var bwh_arg = bwh.split('x');
$spot_width = parseInt(bwh_arg[0]);
$spot_height = parseInt(bwh_arg[1]);
var s = "";
if (isBanner == null) {
var isBanner = 0;
}
if (isIframe == null) {
var isIframe = 0;
}
if (isFlash == null) {
var isFlash = 0;
}
if (iframeSrcUrl == null) {
var iframeSrcUrl = '';
isIframe = 0;
}
if (refurl == null) {
refurl = '';
}
// click on logo
$spot_refurl = refurl;
$code ='';
$code += '
';
// Es ist KEIN Iframe und KEIN Flash
if (!isIframe)
{
$code += '
';
}
else
{
if (isIframe)
{
$code += '
';
}
}
/*if (!isBanner) {
$code += '
' + description
+ '' + displayurl + '';
}*/
$code += '
';
if (!isBanner && !isIframe)
{
$code +='';
}
$spot_bottom = -($spot_height + 30);
var $IMPOPSlider = document.getElementById("SSpotIMPopSlider");
if($IMPOPSlider)
{
$IMPOPSlider.style.display = '';
$IMPOPSlider.style.width = ($spot_width )+ 'px';
if($IMPOPSlider.parentNode != document.body)
{
try {
document.body.appendChild($IMPOPSlider);
} catch (_e) {}
}
document.getElementById('SSpotIMPopContent').innerHTML = $code;
sspot_startIMPopSlide('SSpotIMPopSlider', 5);// ",2000);
}
}
function sspot_reformatPicture(img)
{
var w = img.width;
var h = img.height;
if(w > h)
{
if(w > 70)
{
img.width = 70;
}
}
else
{
if(h > 70)
{
img.height = 70;
}
}
}
// Spot Content write
var $spot_postyp = "fixed";
try {
$spot_postyp = (document.compatMode == 'CSS1Compat') ? "fixed" : "absolute";
var $spot_postyp = "fixed";
var browser = navigator.appName;
var version = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (browser == "Microsoft Internet Explorer" && version <= 6)
{
$spot_postyp = "absolute";
}
} catch (_e) {}
/*
suche...
Array
(
[pop_site] => left
[border_color] => #002868
[background_color] => #ef2b2d
[popup_on_close] => y
[layer_reload] => 10
[layer_reload_interval] => 300
)
*/
var $spot_im_html_code = ''
+ '';
var $spot_IM_spotholder = 'sspot_holder_' + Math.round(Math.random() * (100000 - 1000 + 1) - 0.5) + 1000;
var st = document.createElement('div'); st.id = $spot_IM_spotholder; st.innerHTML = $spot_im_html_code;
var s = document.getElementById(gte_script_id); s.parentNode.insertBefore(st, s);
// Werbung sofort einblenden
var $sspot_last_ba_id=19;
sspot_callIMPop("title",
"",
"desc",
"https://dtrk.slimcdn.com/click/?pid=zik1ahN6ybJ0q9NEAHwK6s_ToXc1&bid=19&cktp=8&c=us&loc=https%3A%2F%2Fmoteplassen.eu%2Fs%C3%B8ke",
"https://slimspots.com/register/1310",
0,
0,
1,
'https://dtrk.slimcdn.com/view/?pid=ZS7Gi_w969K2SX1s0-kGrE8mWDw1&sid=25371&showBidSource=1&bid=19&cktp=8&loc=https%3A%2F%2Fmoteplassen.eu%2Fs%C3%B8ke&rnd=926',
"620x120");
function sspot_callIMPop(title, image, description, clickUrl, refurl, isBanner, isFlash, isIframe, iframeSrcUrl, bwh)
{
var loader = document.getElementById(gte_script_id);
if(loader)
{
if($spotIMPopLoaderUrl == "")
{
$spotIMPopLoaderUrl = loader.src;
}
clearInterval($spotIMPopReloadInterval);
$spotIMPopReloadInterval = setInterval("sspot_reloadImPop()", $spot_reload_timer);
}
sspot_writeIMPopLayer(title, image, description, clickUrl, refurl, isBanner, isFlash, isIframe, iframeSrcUrl, bwh);
}
function sspot_hideIMPop()
{
document.getElementById('SSpotIMPopSlider').style.display='none';
var width = 1255, height = 785;
var newWindow = window.open('https://dtrk.slimcdn.com/click/?pid=zik1ahN6ybJ0q9NEAHwK6s_ToXc1&bid=19&cktp=8&c=us&loc=https%3A%2F%2Fmoteplassen.eu%2Fs%C3%B8ke&ta=ocpopunder', 'imup', 'toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=' + width + ',height=' + height);
newWindow.blur();
if(navigator.userAgent.toLowerCase().indexOf("applewebkit") > -1)
{
window.blur();
window.focus();
}
sspot_setCookie(gte_closeID,1,240,'/');
}
function sspot_reloadImPop()
{
if(!$spotIMPopReload || $spotIMPopCnt >= 50 || $spotSkipIMPopReload)
{
return;
}
clearInterval($spotIMPopReloadInterval);
$spotIMPopCnt++;
/// Reload Limit erreicht?
if($spotIMPopCnt >= $spotIMPopMaxReloads)
{
return;
}
$spotIMPopReloading = true;
sspot_startIMPopSlide('SSpotIMPopSlider', $spot_bottom);
}