function resizeSpacer() {
    var s=document.getElementById('spacer');
    if (s!=null && window.innerHeight && window.innerHeight>180) {
       s.height=window.innerHeight-180;
       s.width=1;    
    } else {
       if ( document.body && document.body.offsetHeight && document.body.offsetHeight>180) {
          s.height=document.body.offsetHeight-180;
	  s.width=1;    
       }
    }
	// resize content if possible
    var c=document.getElementById('nl32');
    if (c!=null && window.innerWidth && window.innerWidth >1000) {
       c.width=window.innerWidth-410;
    } else {
       if ( document.body && document.body.offsetWidth && document.body.offsetWidth>1000) {
	     c.width=window.document.body.offsetWidth-410;
       }
    }
    return true;
}

function resizeSpacerWeit() {
    var s=document.getElementById('spacer');
    if (s!=null && window.innerHeight && window.innerHeight>180) {
       s.height=window.innerHeight-180;
       s.width=1;    
    } else {
       if ( document.body && document.body.offsetHeight && document.body.offsetHeight>180) {
          s.height=document.body.offsetHeight-180;
	  s.width=1;    
       }
    }
	// resize content if possible
    var c=document.getElementById('nl32');
    if (c!=null && window.innerWidth && window.innerWidth >1000) {
       c.width=window.innerWidth-225;
    } else {
       if ( document.body && document.body.offsetWidth && document.body.offsetWidth>1000) {
	     c.width=window.document.body.offsetWidth-225;
       }
    }
    return true;
}

function nlc(el,ct,cd,sg) {
	var e = window.encodeURIComponent ? encodeURIComponent : escape;
	el.href="http://www.netluchs.de/url?sa=t&ct="+e(ct)+"&cd="+e(cd)+"&url="+e(el.href).replace(/\+/g,"%2B")+"&ei=af20184937605e8e87805f905ee0f268"+sg;
	el.onmousedown="";
	return true;
}

function checkSSL() {
	if ("https:" == document.location.protocol) {
	    var img=document.getElementById('ssltag');
	    img.src="https://www.netluchs.de/img/schloss-40x51.gif";		
	}
}

function displayTime() {
    var now = new Date();
    var dTime= now.toLocaleString();
    var dObject=document.getElementById('timeSpacer');
    dObject.replaceChild(document.createTextNode(dTime), dObject.firstChild);
   
}