'},"otherParams":{"t_e":1,".intl":"us"},"events":{"fetch":{lv:2,"sp":"7664811","ps":"LREC,LREC2,NT1,RICH","npv":true,"bg":"#FFFFFF","em":escape('{"page_type":"slideshow container_id=ab234c00-5c0f-3326-9dcc-01cae6108cc8","site-attribute":"content=\'no_expandable;ajax_cert_expandable;\' ADSSA"}'),"em_orig":escape('{"page_type":"slideshow container_id=ab234c00-5c0f-3326-9dcc-01cae6108cc8","site-attribute":"content=\'no_expandable;ajax_cert_expandable;\' ADSSA"}')}}};var _createNodes=function(){var nIds=_conf.nodeIds;for(var i in nIds){var nId=nIds[i];var dId=_conf.destinationMap[nIds[i].replace("yom-","")];n=Y.one("#"+nId);if(n)var center=n.one("center");var node=Y.one("#"+dId);var nodeHTML;if(center && !node){nodeHTML=_conf.nodes[nId];center.insert(nodeHTML);};};};var _prepareNodes=function(){var nIds=_conf.nodeIds;for(var i in nIds){var nId=nIds[i];var dId=_conf.destinationMap[nIds[i].replace("yom-ad-","")];n=Y.one("#"+nId);if(n)var center=n.one("center");var node=Y.one("#"+dId);if(center && node){center.set("innerHTML","");center.insert(node);node.setStyle("display","block");};};};var _darla;var _config=function(){if(YAHOO.ads.darla){_darla = YAHOO.ads.darla;_createNodes();};};var _fetch=function(spaceid,adssa){if(typeof spaceid != "undefined") _conf.events.fetch.sp=spaceid;adssa = (typeof adssa != "undefined" && adssa != null) ? escape(adssa.replace(/\"/g, "'")) : "";_conf.events.fetch.em=_conf.events.fetch.em_orig.replace("ADSSA", adssa);if(_darla){_prepareNodes();_darla.setConfig(_conf);_darla.event("fetch");};};Y.on("domready", function(){_config();});;var that={"fetch":_fetch};return that;}();/* Backwards compatibility - Assigning the latest instance to the main fetch function */YUI.AdsDarla.fetch=YUI.AdsDarla.darla_1.fetch; }); Y.later(10, this, function() {if(Y.Media.Footer) var footer = Y.Media.Footer(Y,{footerInfoSelector:"#footer-info",currentDeviceType:"full",projectId:"",enableYwaTracking:"0"}); }); Y.later(10, this, function() {Y.all(".yog-hd,.yog-bd,.yog-ft").addClass("yog-grid"); }); Y.later(10, this, function() {Y.all(".yog-bd").addClass("yog-grid"); }); Y.later(10, this, function() {(new YAHOO.Media.Carousels.SocialButtonsEasySynchronizer({ carouselId : 'spotlight', plnkKey : 'plnk_vita', titleKey : 'title', thumbnailKey : 'sm_url', summaryKey : 'caption' })).init(); }); Y.later(10, this, function() {(function() { try{ if (Math.floor(Math.random()*10) == 1) { var loc = window.location, decoded = decodeURI(loc.pathname), encoded = encodeURI(decoded), uri = loc.protocol + "//" + loc.host + encoded + ((loc.search.length > 0) ? loc.search + '&' : '?') + "_cacheable=1", xmlhttp; if (window.XMLHttpRequest) xmlhttp=new XMLHttpRequest(); else xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); xmlhttp.open("GET",uri,true); xmlhttp.send(); } }catch(e){} })(); }); Y.later(10, this, function() {if(document.onclick===YAHOO.Media.PreventDefaultHandler.newClick){document.onclick=YAHOO.Media.PreventDefaultHandler.oldClick;} }); Y.later(10, this, function() {(function(Y) { var tabbedList = new YAHOO.Media.TabbedList({ 'Y': Y, 'tabbedListId': 'latest-news-galleries', 'ids' : ["7f7f0bdf-6876-4312-a004-664bbae2fc29","34df883b-96dd-4af2-8b00-b3eca88113b7","d54fcfb5-17f0-4741-adca-e65801b070dd","0565d1c0-4e5a-4148-ab5e-510df0c2c8c9","9ea9b04f-9239-4f0e-bc56-1a8dd007ae82","be36f0a4-d77e-4cc8-8415-8add8c8c8876","dde029e5-faa7-4f90-aeff-0a6efd9b07a8","f5dd4169-a68a-40b6-b199-fb3cf2c6b535","078c8151-93d8-4fb7-8dd9-1dc292c6c435"], 'labels' : { "more" : 'More' }, 'defaultSec' : '', 'spaceId' : '7664811', 'queryUrl' : '/_xhr/photos/gallery-list/by-category/?list_id={list_id}&num_per_row=4&spaceid=7664811&sec={sec}', 'tabs' : '[{"list_id":"7f7f0bdf-6876-4312-a004-664bbae2fc29","name":"World"},{"list_id":"34df883b-96dd-4af2-8b00-b3eca88113b7","name":"Entertainment"},{"list_id":"d54fcfb5-17f0-4741-adca-e65801b070dd","name":"U.S."},{"list_id":"0565d1c0-4e5a-4148-ab5e-510df0c2c8c9","name":"Business"},{"list_id":"9ea9b04f-9239-4f0e-bc56-1a8dd007ae82","name":"Sports"},{"list_id":"be36f0a4-d77e-4cc8-8415-8add8c8c8876","name":"Tech "},{"list_id":"dde029e5-faa7-4f90-aeff-0a6efd9b07a8","name":"Science"},{"list_id":"f5dd4169-a68a-40b6-b199-fb3cf2c6b535","name":"Health"},{"list_id":"078c8151-93d8-4fb7-8dd9-1dc292c6c435","name":"Politics"}]' }); tabbedList.init(); })(Y); }); }); });
Article from YAHOO NEWS
|
|