var username = 'chethong'; 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("My photos", "http://www.flickr.com/photos/chethong"); subLinks[1] = new WtfmoLink("My favorites", "http://www.flickr.com/photos/chethong/favorites/"); subLinks[2] = new WtfmoLink("My contacts", "http://www.flickr.com/people/chethong/contacts/"); wtfmo[0] = new WtfmoSite(new WtfmoLink("Flickr", "http://www.flickr.com/people/chethong"), subLinks, "/images/favicons/flickr.gif"); subLinks = new Array(); subLinks[0] = new WtfmoLink("Recommendations", "http://www.librarything.com/recommendations/chethong"); subLinks[1] = new WtfmoLink("Reviews", "http://www.librarything.com/profile_reviews.php?view=chethong"); subLinks[2] = new WtfmoLink("Catalog", "http://www.librarything.com/catalog.php?view=chethong"); subLinks[3] = new WtfmoLink("Tag cloud", "http://www.librarything.com/tagcloud.php?view=chethong"); subLinks[4] = new WtfmoLink("Author cloud", "http://www.librarything.com/authorcloud.php?view=chethong"); subLinks[5] = new WtfmoLink("Gallery", "http://www.librarything.com/authorgallery.php?view=chethong"); subLinks[6] = new WtfmoLink("Stats", "http://www.librarything.com/profile_statistics.php?view=chethong"); wtfmo[1] = new WtfmoSite(new WtfmoLink("Library Thing", "http://www.librarything.com/profile/chethong"), subLinks, "/images/favicons/librarything.gif"); subLinks = new Array(); wtfmo[2] = new WtfmoSite(new WtfmoLink("LinkedIn", "http://www.linkedin.com/in/chethong"), subLinks, "/images/favicons/linkedin.gif"); subLinks = new Array(); wtfmo[3] = new WtfmoSite(new WtfmoLink("My kid's blog", "http://xuanstory.tumblr.com"), subLinks, "/images/favicons/default.gif"); subLinks = new Array(); wtfmo[4] = new WtfmoSite(new WtfmoLink("My TechLog", "http://www.rojakmee.com"), subLinks, "/images/favicons/default.gif"); subLinks = new Array(); wtfmo[5] = new WtfmoSite(new WtfmoLink("tumblr", "http://chethong.tumblr.com"), subLinks, "/images/favicons/tumblr.gif"); subLinks = new Array(); subLinks[0] = new WtfmoLink("My friends", "http://twitter.com/chethong/friends"); wtfmo[6] = new WtfmoSite(new WtfmoLink("twitter", "http://twitter.com/chethong"), subLinks, "/images/favicons/twitter.gif"); return wtfmo; }