You are on page 1of 2

Scribd if (!window.

Scribd) { var Scribd = new Object(); } var perfStart =


new Date(); window.dataLayer = []; var _gaq = _gaq || [];
_gaq.push(['_setAccount', "UA-443684-4"]); _gaq.push(['_setCustomVar', 1,
'logged_in', 'false', 1]); _gaq.push(['_setCustomVar', 3, 'domain',
document.location.host, 3]); (function(){ var ga =
document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www')

+ '.google-analytics.com/ga.js'; var s =
document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
_gaq.push(['_trackPageview']); })(); <iframe height="0"
src="//www.googletagmanager.com/ns.html?id=GTM-4HF4"
style="display:none;visibility:hidden" width="0"></iframe>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new
Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='//www.goog
letagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);h
})(window,document,'script','dataLayer','GTM-4HF4'); S
cribd.Ads.setAdLayouts(); if (null) { trackEvent("AdTargeting", "SpecialCase",
"AdultDocument", 0, false); } Scribd.Ads.enabled =
Scribd.Ads.attributes.AdLayout[0] !== 0 && true && document.location.protocol
!== 'https'; window.writeScript = function(src) { document.write('\x3Cscript
type="text/javascript" src="'+src+'">\x3C/script>'); }; var googletag =
googletag || {}; googletag.cmd = googletag.cmd || []; (function() {
if(Scribd.Ads.loaded) return; Scribd.Ads.loaded = true; var gads =
document.createElement('script'); gads.async = true; gads.type =
'text/javascript'; gads.src = '//www.googletagservices.com/tag/js/gpt.js'; var
node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node); //detecting if ad block is enabled...
setTimeout(function() { if(typeof(googletag.pubads) === 'undefined')
trackEvent('AdBlock', '', '', 1, false); }, 5e3); })(); if( !Scribd.Ads.enabled
) { Scribd.Ads.disable(); } //this makes sure that scribd:load_ads fires on
every page Scribd.Ads.observe(window, "load", function () { Scribd.Ads.load();
}); Scribd.Ads.setFacebookAttribute = function () { var id = FB.getUserID(); if
(id) { Scribd.Ads.addAttribute('FBID', id); } }
Scribd.Ads.addAttribute("Base64PageURL",
"aHR0cDovL3d3dy5zY3JpYmQuY29tL2VtYmVkcy8yMzU4MTEyNTkvY29udGVu\ndA==\n");
Scribd.Ads.addAttribute("PageURL",
"http://www.scribd.com/embeds/235811259/content");
Scribd.Ads.addAttribute("UserState", "Out"); //adding testing segments
Scribd.Ads.addAttribute('UseTest', Math.floor(Math.random() * 10) + '');
Scribd.Ads.gpt_slots = []; Scribd.Ads.gpt_slots_by_name = {};
if(Scribd.Ads.enabled) { Scribd.Ads.adUnits = null; } else { if ( null ) {
Scribd.Ads.adUnits = {'Adult_Doc_1x1': 'Adult_Doc_1x1_container'}; } else {
Scribd.Ads.adUnits = {'Ads_Free_Doc_1x1': 'Ads_Free_Doc_1x1_container'}; } }
Scribd.Ads.set_data_layer(); //(for gpt execute targeting) and finalize ad
fetching... googletag.cmd.push(function() { for (var unit_name in
Scribd.Ads.adUnits) { var node_id = Scribd.Ads.adUnits[unit_name]; var full_name

= "/1024966/" + unit_name; var size = unit_name.match(/.*_(\d+)x(\d+)/)
.slice(1) .map(function(f){return parseInt(f);}); var slot =
googletag.defineSlot(full_name, size, node_id).addService(googletag.pubads());
Scribd.Ads.gpt_slots.push(slot); Scribd.Ads.gpt_slots_by_name[unit_name] = slot;

} //set targeting for (var targetKey in Scribd.Ads.attributes) { var value =
Scribd.Ads.attributes[targetKey]; if( value instanceof Array) { value =
value.map(function(f) {return f + '';}); } else { value = value + ''; }
googletag.pubads().setTargeting(targetKey, value); } //
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs(); googletag.enableServices(); });
[][]window.manager = new
Scribd.Embeds.Content({"document":{"id":235811259,"title":"Untitled","num_pages"
:12,"secret_password":"5oy0RtIB2GiVauxAoRWz"},"start_page":1,"view_mode":"scroll
","branded_logo":null,"page_count":12,"from_jsapi":false});
of12

Scribd.Lightbox.initialize();

You might also like