if (url == null || url == this.icon) return; this.icon = url; this.setAttribute('width', 96); this.setAttribute('height', 96); this.loadNow(url); list.animate('moveby', 0, 1000); details.update(src, icon, framenum, sheepid); canvas.loadDetails(sheepid); list.animate('moveby', 1, 1000); if (url == null || url == this.lasturl) return this.lasturl = url var img = this['lastimg'] == img2 ? img1 : img2 this.lastimg = img img.bringToFront() //if ($debug) Debug.write('loading', url); img.loadNow(url)