var leaf = '';
var path = 'root';

// may i have some of your details please?
try {
  var enable_leaf_optimization = false;
  var website_url = 'http://de.poezio.com/';
  
  var uri = enable_leaf_optimization ? window.top.location.href : website_url;
  var result = /^http[s]?:\/\/([^\/]+)/.exec(uri);
  if (result) {
    var splitted = /^(.*?)\.?([^\.]+\.[^\.]+)$/.exec(result[1]);
    // lets throw away the matched var
    splitted.shift();
    
    //retrieve the domain
    var domain = splitted.pop();
    var leaf = splitted.pop()
    if (leaf.match(/^www[0-9]*$/)) {
      var leaf = '';
    }
    var path = 'root/' + domain + '/' + leaf
  }
}catch(e){}

if (false) {
  document.write('<iframe width="120" height="600" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" src="http://adfarm.adyard.de/srv/56/cc/686b8ccf5061242?path='+escape(path)+'"></iframe>');
}else{
  document.write('<scr'+'ipt type="text/javascript" charset="utf-8" src="http://adfarm.adyard.de/srv/56/cc/686b8ccf5061242?path='+escape(path)+'"></scr'+'ipt>');
}
