function showOverlay () {   var Splashoverlay = document.getElementById('splash-overlay');   var Splashcontent = document.getElementById('splash-content');   //MusicForLifeSplash.overlay.onclick = MusicForLifeSplash.closeOverlay;    //MusicForLifeSplash.content.onclick = MusicForLifeSplash.gotoStubru;  var url = ''  var html = ''   //url += 'http://be.sitestat.com/vrt/sandbox1/s?clickout.VAN.leenjehomepage.' + mflSplashTitle + '.NAAR.stubru-be&amp;ns_type=clickout&amp;ns_url=http://www.stubru.be/programmas/musicforlife';  //var donate_url = 'http://be.sitestat.com/vrt/sandbox1/s?clickout.VAN.leenjehomepage.' + mflSplashTitle + '.NAAR.musicforlifedonate-be&amp;ns_type=clickout&amp;ns_url=http://www.musicforlifedonate.be';    html += '<a href="#" onclick="closeoverlay(); return false;" id="Splashcontent">';    html += '<img border="0" src="/jvanmeir/jan.nsf/duimvoor2011.gif">';  html += '</a>';      //html += '<div class="a2a_kit a2a_default_style">';//  html += '<a class="a2a_dd" href="http://www.addtoany.com/share_save">Share</a><span class="a2a_divider"></span>'; // html += '<a class="a2a_button_facebook"></a><a class="a2a_button_twitter"></a><a class="a2a_button_email"></a>'; // html += '</div>';//  html += '<img src="http://be.sitestat.com/vrt/sandbox1/s?leenjehomepage' + mflSplashTitle + '&amp;behoefte=overige&amp;category=standaard&amp;mediatype=overige&amp;doelgroep=none&amp;marketing=none&amp;waar=intern&amp;productiehuis=prodnone" width="1" height="1" alt=""/>';        Splashcontent.innerHTML = html;      Splashoverlay.style.display = 'block';  Splashcontent.style.display = 'block';      setCookie('jan-2011', 'showed', '/', 100);  }function closeoverlay() {  document.getElementById('splash-overlay').style.display = 'none';  document.getElementById('splash-content').style.display = 'none';}/** * Go to music for life *//** * Set a cookie key-value pair with optional expiration date */function setCookie (c_name, value, path, expiredays) {  var exdate = new Date();  exdate.setDate(exdate.getDate() + expiredays);  var cookie_string = c_name+ "=" + escape(value);  cookie_string += "; path=/";  cookie_string += ((expiredays==null) ? "" : "; expires=" + exdate.toGMTString());  document.cookie = cookie_string;}/** * Get a cookie value from give key */function getCookie (c_name) {  if (document.cookie.length>0) {    var c_start = document.cookie.indexOf(c_name + "=");    if (c_start!=-1) {      c_start = c_start + c_name.length + 1;      var c_end = document.cookie.indexOf(";",c_start);      if (c_end==-1) {        c_end=document.cookie.length;      }      return unescape(document.cookie.substring(c_start,c_end));    }  }  return "";}//if (!getCookie('jan-2011')) showOverlay();
