var M3_channel = '{derive}';

var M3_zones = {
    'Banner - 468x60' : 92,
    'Skyscraper - 120x600' : 93,
    'Skyscraper - 160x600' : 100,
    'MPU - 250x250 or 200x200' : 95,
    'MPU - 300x250' : 96,
	'MPU - 250x300' : 118,
    'Hidden 0x0' : 97,
    'Front page button - 377x177' : 105
};


M3_zoneids = '';
for (var zonename in M3_zones) M3_zoneids += M3_zones[zonename] + "|";
    
var M3_p=location.protocol=='https:'?'https:':'http:';
var M3_r=Math.floor(Math.random()*99999999);
var MAX_output = new Array();
    
var M3_spc="<"+"script language='JavaScript' type='text/javascript' ";
M3_spc+="src='"+M3_p+"//d.m3.net/fc.php?MAX_type=spc&zones="+M3_zoneids;
M3_spc+="&channel="+M3_channel+"&r="+M3_r;
if (window.location) M3_spc+="&loc="+escape(window.location);
if (document.referrer) M3_spc+="&referer="+escape(document.referrer);
M3_spc+="'><"+"/script>";
document.write(M3_spc);
    
function m3_writeAd(id) {
    if (typeof(MAX_output[id]) == 'undefined') return;
    document.write(MAX_output[id]);
}

var az_p=location.protocol=='https:'?'https:':'http:';
var az_r=Math.floor(Math.random()*99999999);
if (!document.phpAds_used) document.phpAds_used = ',';
function az_adjs(z,n)
{
  if (z>-1) {
    var az="<"+"script type='text/javascript' src='"+az_p+"//awrz.net/adjs.php?n="+n+"&amp;what=zone:"+z;
    az+="&amp;source={derive}&amp;exclude="+document.phpAds_used+"&amp;r="+az_r;
    if (window.location) az+="&amp;loc="+escape(window.location);
    if (document.referrer) az+="&amp;referer="+escape(document.referrer);
    az+="'><"+"/script>";
    document.write(az);
  }
}
