var ADS_MINIMUM_WIDTH = 655;

var ua = navigator.userAgent;
var width = $(window).width();

if ( (width < ADS_MINIMUM_WIDTH) && (ua.match(/Android/) || ua.match(/(iPhone|iPod)/)) ) {

    window.googleAfmcRequest = {
        client: 'ca-mb-pub-4919844959307995',
        format: '320x50_mb',
        output: 'html',
        slotname: '6170419013',
    };

    document.write("<script src='http://pagead2.googlesyndication.com/pagead/show_afmc_ads.js'><\/script>");
}
else {

    google_ad_client = "pub-4919844959307995";
    google_ad_slot = "4222092892";
    google_ad_width = 120;
    google_ad_height = 90;

    document.write("<script src='http://pagead2.googlesyndication.com/pagead/show_ads.js'><\/script>");
}
