// you can remove this line when you are complete if ( (typeof adTemplate == 'undefined') || ((adTemplate & AD_LINKS_BOTTOM) == AD_LINKS_BOTTOM) || ((adTemplate & AD_LINKS_RIGHT) == AD_LINKS_RIGHT) ) { overture=(typeof thisNode == 'undefined')?null:true; if (overture != null) { var oRan = Math.floor(Math.random() * 1000000); var oUrl = document.location.href; // local variables for yahoo links (_yL) _yL_section = thisNode.split("/")[0]; if (thisNode.split("/")[1] == 'travel') _yL_section = 'travel'; if (thisNode.split("/")[1] == 'style') _yL_section = 'style'; if (thisNode.split("/")[1] == 'foodanddining') _yL_section = 'food'; switch(_yL_section) { // tier one categories case "business": _yTag = 'Partner=wpni_t1_ctxt&type=business_story&ctxtCat=business&ctxtUrl='; _aTag = 'wpni_t1_ctxt'; break; case "education": _yTag = 'Partner=wpni_t1_ctxt&type=education_story&ctxtCat=education&ctxtUrl='; _aTag = 'wpni_t1_ctxt'; break; case "health": _yTag = 'Partner=wpni_t1_ctxt&type=health_story&ctxtCat=health&ctxtUrl='; _aTag = 'wpni_t1_ctxt'; break; case "technology": _yTag = 'Partner=wpni_t1_ctxt&type=technology_story&ctxtCat=technology&ctxtUrl='; _aTag = 'wpni_t1_ctxt'; break; case "travel": _yTag = 'Partner=wpni_t1_ctxt&type=travel_story&ctxtCat=travel&ctxtUrl='; _aTag = 'wpni_t1_ctxt'; break; case "realestate": _yTag = 'Partner=wpni_t1_ctxt&type=realestate_story&ctxtCat=real_estate&ctxtUrl='; _aTag = 'wpni_t1_ctxt'; break; case "rentals": _yTag = 'Partner=wpni_t1_ctxt&type=rentals_story&ctxtCat=rentals&ctxtUrl='; _aTag = 'wpni_t1_ctxt'; break; case "jobs": _yTag = 'Partner=wpni_t1_ctxt&type=jobs_story&ctxtCat=jobs&ctxtUrl='; _aTag = 'wpni_t1_ctxt'; break; case "cars": _yTag = 'Partner=wpni_t1_ctxt&type=cars_story&ctxtCat=automotive&ctxtUrl='; _aTag = 'wpni_t1_ctxt'; break; // tier two categories case "food": _yTag = 'Partner=wpni_t2_ctxt&type=food_story&ctxtCat=food&ctxtUrl='; _aTag = 'wpni_t2_ctxt'; break; case "metro": _yTag = 'Partner=wpni_t2_ctxt&type=metro_story&ctxtCat=metro&ctxtUrl'; _aTag = 'wpni_t2_ctxt'; break; case "print": _yTag = 'Partner=wpni_t2_ctxt&type=print_story&ctxtCat=print&ctxtUrl='; _aTag = 'wpni_t2_ctxt'; break; case "style": _yTag = 'Partner=wpni_t2_ctxt&type=style_story&ctxtCat=style&ctxtUrl='; _aTag = 'wpni_t2_ctxt'; break; case "weather": _yTag = 'Partner=wpni_t2_ctxt&type=weather_story&ctxtCat=weather&ctxtUrl='; _aTag = 'wpni_t2_ctxt'; break; // tier three categories case "politics": _yTag = 'Partner=wpni_t3_ctxt&type=politics_story&ctxtCat=politics&ctxtUrl='; _aTag = 'wpni_t3_ctxt'; break; case "nation": _yTag = 'Partner=wpni_t3_ctxt&type=nation_story&ctxtCat=nation&ctxtUrl='; _aTag = 'wpni_t3_ctxt'; break; case "world": _yTag = 'Partner=wpni_t3_ctxt&type=world_story&ctxtCat=world&ctxtUrl='; _aTag = 'wpni_t3_ctxt'; break; case "opinion": _yTag = 'Partner=wpni_t3_ctxt&type=opinion_story&ctxtCat=opinion&ctxtUrl='; _aTag = 'wpni_t3_ctxt'; break; case "sports": _yTag = 'Partner=wpni_t3_ctxt&type=sports_story&ctxtCat=sports&ctxtUrl='; _aTag = 'wpni_t3_ctxt'; break; case "artsandliving": _yTag = 'Partner=wpni_t3_ctxt&type=artsandliving_story&ctxtCat=artsandliving&ctxtUrl='; _aTag = 'wpni_t3_ctxt'; break; case "blogs": _yTag = 'Partner=wpni_t3_ctxt&type=technorati_story&ctxtCat=technorati&ctxtUrl='; _aTag = 'wpni_t3_ctxt'; break; default: _yTag = null; _aTag = null; break; } if (oUrl.toLowerCase().indexOf("technorati") != -1) { _yTag = 'Partner=wpni_t3_ctxt&type=technorati_story&ctxtCat=technorati&ctxtUrl='; _aTag = 'wpni_t3_ctxt'; } if (typeof _yTag != 'undefined') { if (_yTag != null) { var passedTest = true; var tag = ''; document.write(tag); document.write(''); } } } // you can remove this line when you are complete }