adServeLoad(destinationsMonsterAd); function adServeLoad(monsterJSON){ /* START HERE WHEN COMMENTING OUT*/ var monsterObj = JSON.parse(monsterJSON); adToDisplay = Math.floor(Math.random() * (monsterObj.ads.length)); //Debug //console.log("ad to display:" + adToDisplay); //console.log(monsterObj) //console.log(monsterJSON) var viewport = screen.width; //var deviceType = navigator.userAgent.toLowerCase(); var creativeID = monsterObj.ads[adToDisplay].id; //unique cookie id var fullAd = false; var adSize = 1; //Desktop = 3, Tablet = 2, Mobile = 1 var imgSrc = ''; var adLink = monsterObj.ads[adToDisplay].adLink; var correctHeight = 0; var correctWidth = 0; var i = document.createElement('img'); var a = document.createElement('a'); var frequencyCap = 1; //in Days //Show the entire ad if the cookie has not been set, otherwise show the smaller version cookieExists = readCookie(creativeID) fullAd = (cookieExists) ? false : true; if(cookieExists != true) createCookie(creativeID,creativeID,frequencyCap); if(viewport >= 1200){ adSize = 3; }else if(viewport > 767 && viewport < 1200){ adSize = 2; } else { adSize = 1; } switch(adSize){ case 1: if(fullAd){ imgSrc = monsterObj.ads[adToDisplay].smallAdFull; correctHeight = monsterObj.ads[adToDisplay].smallAdFullHeight; correctWidth = monsterObj.ads[adToDisplay].smallAdFullWidth; }else{ imgSrc = monsterObj.ads[adToDisplay].smallAdCondensed; correctHeight = monsterObj.ads[adToDisplay].smallAdCondensedHeight; correctWidth = monsterObj.ads[adToDisplay].smallAdCondensedWidth; } break; case 2: if(fullAd){ imgSrc = monsterObj.ads[adToDisplay].mediumAdFull; correctHeight = monsterObj.ads[adToDisplay].mediumAdFullHeight; correctWidth = monsterObj.ads[adToDisplay].mediumAdFullWidth; }else{ imgSrc = monsterObj.ads[adToDisplay].mediumAdCondensed; correctHeight = monsterObj.ads[adToDisplay].mediumAdCondensedHeight; correctWidth = monsterObj.ads[adToDisplay].mediumAdCondensedWidth; } break; case 3: default: if(fullAd){ imgSrc = monsterObj.ads[adToDisplay].largeAdFull; correctHeight = monsterObj.ads[adToDisplay].largeAdFullHeight; correctWidth = monsterObj.ads[adToDisplay].largeAdFullWidth; }else{ imgSrc = monsterObj.ads[adToDisplay].largeAdCondensed; correctHeight = monsterObj.ads[adToDisplay].largeAdCondensedHeight; correctWidth = monsterObj.ads[adToDisplay].largeAdCondensedWidth; } break; } //a.setAttribute('href',adLink); trackImpression(adLink,'EIN-Monster-'+creativeID); //track the impression a.addEventListener('click', function() { trackOutboundLink(adLink,'EIN-Monster-Click'); return false; }) i.src = imgSrc; document.getElementById("i").appendChild(a).appendChild(i); i.style.height = correctHeight; i.style.width = correctWidth; /*END HERE*/ } /* Menu Click Serving */ //Local $('#menu-item-141681 ul').on('click', function(){ window.location.href = 'http://www.eastidahocu.org/'; }) /* // US/World $('#menu-item-141684 ul').on('click', function(){ window.location.href = ''; }) */ //Live Better $('#menu-item-141691 ul').on('click', function(){ window.location.href = 'http://abseevisioncare.com/'; }) //Money $('#menu-item-141701 ul').on('click', function(){ window.location.href = 'http://www.taylorchev.com/'; }) //Cool Stuff /* $('#menu-item-202844 ul').on('click', function(){ window.location.href = ''; }) */ });

Lady Gaga, Justin Bieber to Perform for Times Square Celebrations

Entertainment

0  Updated at 11:29 am, December 31st, 2011 By: ABC Digital
Share This Story

ABC/ Ida Mae Astute(NEW YORK) — Celebrities are preparing for another high-profile New Years eve celebration in New York’s Times Square Saturday.

Lady Gaga and Justin Bieber are two megastars creating excitement for the close of 2011. But Jeffrey Strauss, president of Countdown Entertainment, says it’s the tradition that makes the night special.

“It’s not when Lady Gaga preforms, it’s right after when she’s pushing the button with the mayor and leading the 60 second countdown,” Strauss says.

Strauss has not only pulled out all the stops for the ceremony. His company has also produced a new Times Square Ball App, which allows viewers to watch the festivities remotely.

Every year, the Times Square ball gets a big makeover. This year, the ball will be adorned with thousands of crystal triangles, with a pattern that represents friends holding hands.

“This year is let there be friendship and it’s not just for the United States, since friendship has world, global feeling sentiment,” Jim O’Leary, the design director at Waterford, said.

Copyright 2011 ABC News Radio