var federated_media_section_source = ''; if (typeof(federated_media_section) == "string") { federated_media_section_source = federated_media_section.replace(/([^a-zA-Z0-9_\-\/])|(^\/)/g, ""); var federated_media_sections = ["social","startups","twitter","smallbiz","palmtrends","holiday","mobile","music","business"]; var section_match = 0; for (i = 0; i < federated_media_sections.length; i++) { if (federated_media_section_source.toLowerCase() == federated_media_sections[i].toLowerCase()) { federated_media_section_source = federated_media_sections[i]; section_match = 1; break; } } if (!section_match) { federated_media_section_source = ''; } } var federated_media_tile; if (typeof(federated_media_tile) == "undefined") { federated_media_tile = 1; } else { federated_media_tile++; } var federated_media_random_number; if (typeof(federated_media_random_number) == "undefined") { federated_media_random_number = Math.random()*10000000000000000; } document.write('<' + 'script type="text/javascript" src="http://ad.doubleclick.net/adj/fmpub.mashable/;sz=300x250;fmzid=684' + (federated_media_section_source != "" ? ";kw=" + federated_media_section_source : "") + ';tile=' + federated_media_tile + ';ord=' + federated_media_random_number + '?">'); document.write('
');