function oiq_ip(m,d,p,f,s,o) {
  if (!m && !d && !p && !f) return true;
  window.oiq_img_loaded = false;
  var t = new Array();
  if (f) {
    t.push('f|"'+f+'"');
  } else {
    if (m) t.push('m|"'+encodeURIComponent(m)+'"');
    if (d) t.push('d|"'+encodeURIComponent(d)+'"');
    if (p) t.push('p|"'+encodeURIComponent(p)+'"');
  }

  var req;
  if (o && o.href) {
    req='http://beta.adnet.owneriq.net'+'/j/?pt=dnm'+'&t='+encodeURI(t.join())+'&z='+(new Date()).getTime();
    if (s) req+='&s='+s;
    var h=document.getElementsByTagName("head").item(0);
    var s=document.createElement("script");
    s.setAttribute("type","text/javascript");
    s.setAttribute("src",req);
    setTimeout(function() { h.appendChild(s); }, 0);		
    if (o.target && o.target!='_self' && o.target!='_top') {
      return true;
    } else {
      var oiq_int_2 = setInterval(function() { if (window.oiq_img_loaded == true) { clearInterval(oiq_int_2); oiq_int_2 = false; window.location.href = o.href; }}, 75);
      setTimeout(function() { if (oiq_int_2) { window.location.href = o.href; }},2000);
      return false;
    }
  } else {
    req='http://beta.adnet.owneriq.net'+'/jdw/?pt=dnm'+'&t='+encodeURI(t.join())+'&z='+(new Date()).getTime();
    if (s) req+='&s='+s;
    document.write('<script type="text/javascript" src="' + req + '"></script>');	
  }
  return true;
}

