var username = 'jsather'; function WtfmoLink(name, url) { this.site_name = name; this.site_url = url; } function WtfmoSite(wtfmoLink, subLinks, siteImg) { this.wtfmo = wtfmoLink; this.sub_link = subLinks; this.avatar = siteImg; } function WtfmoSites() { wtfmo = new Array(); subLinks = new Array(); subLinks[0] = new WtfmoLink("Diggs", "http://digg.com/users/jsather/history/diggs"); subLinks[1] = new WtfmoLink("Submissions", "http://digg.com/users/jsather/history/submissions"); subLinks[2] = new WtfmoLink("Comments", "http://digg.com/users/jsather/history/comments"); subLinks[3] = new WtfmoLink("My friends", "http://digg.com/users/jsather/friends/list"); subLinks[4] = new WtfmoLink("Favorites", "http://digg.com/users/jsather/history/favorites"); subLinks[5] = new WtfmoLink("Shouts", "http://digg.com/users/jsather/history/shouts"); wtfmo[0] = new WtfmoSite(new WtfmoLink("digg", "http://digg.com/users/jsather"), subLinks, "/images/favicons/digg.gif"); subLinks = new Array(); wtfmo[1] = new WtfmoSite(new WtfmoLink("Facebook", "http://www.facebook.com/profile.php?id=jsather"), subLinks, "/images/favicons/facebook.gif"); subLinks = new Array(); subLinks[0] = new WtfmoLink("Charts", "http://www.last.fm/user/jsather/charts/"); subLinks[1] = new WtfmoLink("Journal", "http://www.last.fm/user/jsather/journal/"); subLinks[2] = new WtfmoLink("Groups", "http://www.last.fm/user/jsather/groups/"); subLinks[3] = new WtfmoLink("Friends", "http://www.last.fm/user/jsather/friends/"); subLinks[4] = new WtfmoLink("Neighbours", "http://www.last.fm/user/jsather/neighbours/"); subLinks[5] = new WtfmoLink("Events", "http://www.last.fm/user/jsather/events/"); subLinks[6] = new WtfmoLink("Tags", "http://www.last.fm/user/jsather/tags/"); wtfmo[2] = new WtfmoSite(new WtfmoLink("Last.fm", "http://www.last.fm/user/jsather"), subLinks, "/images/favicons/lastfm.gif"); subLinks = new Array(); subLinks[0] = new WtfmoLink("My friends", "http://twitter.com/jsather/friends"); wtfmo[3] = new WtfmoSite(new WtfmoLink("twitter", "http://twitter.com/jsather"), subLinks, "/images/favicons/twitter.gif"); return wtfmo; }