function az_adjs ( zone, key ) {
  var awrz_rnd = Math.floor(Math.random()*99999999999);
  var awrz_protocol = location.protocol.indexOf('https')>-1?'https:':'http:';
  if (!document.phpAds_used) document.phpAds_used = ',';
  document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
  document.write (awrz_protocol+"//servedby.epublishing.net/m3/adjs.php?n="+escape(key));
  document.write ("&zoneid="+zone+"&block=1");
  document.write ("&exclude=" + document.phpAds_used);
  document.write ("&loc=" + escape(window.location));
  if (document.referrer)
     document.write ("&referer=" + escape(document.referrer));
  document.write ('&r=' + awrz_rnd);
  document.write ("&ct0=" + escape(document.phpAds_ct0));
  document.write ("'><" + "/script>");
}
function az_keyword_adjs (keywords ) {
  /*var awrz_rnd = Math.floor(Math.random()*99999999999);
  var awrz_protocol = location.protocol.indexOf('https')>-1?'https:':'http:';
  if (!document.phpAds_used) document.phpAds_used = ',';
  document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
  document.write (awrz_protocol+"//servedby.epublishing.net/m3/adjs.php?n="+escape(key));
  document.write ("&what="+keywords+"/@zone:"+zone);
  document.write ("&zoneid="+zone+"&block=1");
  document.write ("&exclude=" + document.phpAds_used);
  document.write ("&loc=" + escape(window.location));
  if (document.referrer)
     document.write ("&referer=" + escape(document.referrer));
  document.write ('&r=' + awrz_rnd);
  document.write ("&ct0=" + escape(document.phpAds_ct0));
  document.write ("'><" + "/script>");*/
    var m3_u = (location.protocol=='https:'?'https://servedby.epublishing.net/m3/www/delivery/ajs.php':'http://servedby.epublishing.net/m3/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?what="+keywords);
   document.write ('&amp;cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
   document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
   document.write ("&amp;loc=" + escape(window.location));
   if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
}
function az_custom_adjs (zone, key, source ) {
  var awrz_rnd = Math.floor(Math.random()*99999999999);
  var awrz_protocol = location.protocol.indexOf('https')>-1?'https:':'http:';
  if (!document.phpAds_used) document.phpAds_used = ',';
  document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
  document.write (awrz_protocol+"//servedby.epublishing.net/m3/adjs.php?n="+escape(key));
  document.write ("&source="+source+"/@zone:"+zone);
  document.write ("&zoneid="+zone+"&block=1");
  document.write ("&exclude=" + document.phpAds_used);
  document.write ("&loc=" + escape(window.location));
  if (document.referrer)
     document.write ("&referer=" + escape(document.referrer));
  document.write ('&r=' + awrz_rnd);
  document.write ("&ct0=" + escape(document.phpAds_ct0));
  document.write ("'><" + "/script>");
}
