var zzzadslot=Math.random()*10000000000000000;var pageads=new Array();var ns4webtv=(((!document.images&&navigator.userAgent.indexOf('Mozilla/2.')>=0)||navigator.userAgent.indexOf("WebTV")>=0))?true:false;var adurl='http://ad.doubleclick.net';var gAdSubSection='';function cDARTAd(Ord,hRefName,SectionName,sSlot,sSlotLayer,iTile,iWidth,iHeight,sSubSect){this.ord=Ord;this.hrefname=hRefName;this.sectionname=SectionName;this.slot=sSlot;this.layer=sSlotLayer;this.tile=iTile;this.w=iWidth;this.h=iHeight;this.sW=iWidth+"x"+iHeight;this.subsection=sSubSect;this.core='metronewyork.primedia.com/citiestown_metronewyork_'+this.hrefname+'_;!category=;subs='+this.subsection+';sect='+this.sectionname+';svc=;kw=;site=metronewyork;chan=citiestown;sz='+this.sW+';tile='+this.tile+';ord='+this.ord+((pageads.length==0)?';dcopt=ist':'');pageads[pageads.length]=this;this.write=function(){document.writeln('<'+'script src='+adurl+'/adj/'+this.core+';abr=!webtv></'+'script'+'>');if(ns4webtv)document.writeln('<a href="'+adurl+'/jump/'+this.core+'" target="_blank"><img src="'+adurl+'/ad/'+this.core+'" width='+this.w+' height='+this.h+' border=0></a>');}this.close=function(){}}function DisplayAd(ord,hRefName,SectionName,sSlot,sSlotLayer,iTile,iWidth,iHeight,SubSection){var oDartAd=new cDARTAd(ord,hRefName,SectionName,sSlot,sSlotLayer,iTile,iWidth,iHeight,SubSection);oDartAd.write();}function EndAds(){if(pageads.length>0)pageads[0].close();}function InsertAd(SectionName,sSlot,sSlotLayer,iTile,iWidth,iHeight){DisplayAd(zzzadslot,SectionName,SectionName,sSlot,sSlotLayer,iTile,iWidth,iHeight);}function InsertBanner(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:1;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,468,60,sSub);}function InsertBanner2(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:1;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,728,90,sSub);}function InsertSquare(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:9;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,180,150,sSub);}function InsertSmallSquare1(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:5;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,120,60,sSub);}function InsertSmallSquare2(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:6;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,120,60,sSub);}function InsertSmallSquare3(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:6;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,160,60,sSub);}function InsertSmallSquare3_2(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:2;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,160,60,sSub);}function InsertSmallSquare3_3(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:7;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,160,60,sSub);}function InsertBigSquare(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:1;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,250,250,sSub);}function InsertBigSquare2(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:1;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,300,250,sSub);}function InsertTower(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:2;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,120,600,sSub);}function InsertGoogle(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:8;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,3,3,sSub);}function InsertTower2(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:2;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,160,600,sSub);}function InsertButton(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:3;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,125,125,sSub);}function InsertPopup(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:5;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,1,1,sSub);}function InsertHalfB(){var sSect=(arguments.length>1)?arguments[1]:gAdTag;var iTile=(arguments.length>2)?arguments[2]:2;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,234,60,sSub);}function InsertFashionAd(){var sSect=(arguments.length>1)?arguments[1]:'fashion';var iTile=(arguments.length>2)?arguments[2]:5;var sSub=(arguments.length>3)?arguments[3]:gAdSubSection;DisplayAd(zzzadslot,sSect,sSect,'','',iTile,100,60,sSub);}function DisplayBanner(hRefName,SectionName){DisplayAd(zzzadslot,hRefName,SectionName,"slot1","adslot1",1,468,60,gAdSubSection);}function DisplayTower(hRefName,SectionName){DisplayAd(zzzadslot,hRefName,SectionName,"vmslot1","vmslot1",2,120,600,gAdSubSection);}function DisplayTower2(hRefName,SectionName){DisplayAd(zzzadslot,hRefName,SectionName,"vmslot1","vmslot1",2,160,600,gAdSubSection);}function DisplayButton(hRefName,SectionName){DisplayAd(zzzadslot,hRefName,SectionName,"sqslot1","sqslot1",3,125,125,gAdSubSection);}var CloseAds=EndAds;