function SetupAds(strSite,strArea,adArr){ // Cache-busting and pageid value var aamRnd = Math.round(Math.random() * 100000000000); // Adserver URL adserver = "http://inl.adbureau.net/bservers"; // Ad tag targeting values which will be appended to each ad request section in the bserver ad call var site = strSite; var area = strArea; allAdTags = "/AAMALL/acc_random=" + aamRnd + "/pageid=" + aamRnd + site + area; //loop through adArr with all the ad call strings provided if(adArr.length > 0 && typeof(adArr[0]) != 'undefined'){ var adStr = ''; for(i=0;i'); document.write(''); } }