gmPingUrl = '<a href="https://s3.amazonaws.com/files.d20.io/images/9191101/pylh4RYgJPrwEuE0ZI5pVg/thumb.png?1430578296" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/9191101/pylh4RYgJPrwEuE0ZI5pVg/thumb.png?1430578296</a>' gmPing = function() { var currentPageGraphics = findObjs({ _pageid: Campaign().get('playerpageid'), _type: 'graphic', layer: 'objects', }); _.each(currentPageGraphics, function(obj) { gmPingeer(obj); }); }, gmPingeer = function(obj) { var objValues = getObjValue(obj), ping = createObj('graphic',{ imgsrc: gmPingUrl, layer: 'gmlayer', pageid: Campaign().get("playerpageid"), top: objValues.top, left: objValues.left, height: 70, width: 70 }); setTimeout(function() {ping.set({height: 70, width: 70 }); }, 100); setTimeout(function() {ping.set({height: 80, width: 80 }); }, 200); setTimeout(function() {ping.set({height: 90, width: 90 }); }, 300); setTimeout(function() {ping.set({height: 100, width: 100}); }, 400); setTimeout(function() {ping.set({height: 110, width: 110}); }, 500); setTimeout(function() {ping.set({height: 120, width: 120}); }, 600); setTimeout(function() {ping.set({height: 130, width: 130}); }, 700); setTimeout(function() {ping.set({height: 140, width: 140}); }, 800); setTimeout(function() {ping.remove(); }, 1000); },