




if (typeof(disqus_iframe_css) == 'undefined') {
	disqus_iframe_css = '';
}
if (typeof(disqus_def_name) == 'undefined') {
	disqus_def_name = '';
}
if (typeof(disqus_def_email) == 'undefined') {
	disqus_def_email = '';
}
if (typeof(disqus_skip_auth) == 'undefined') {
	disqus_skip_auth = false;
}
if (typeof(disqus_default_text) == 'undefined') {
	disqus_default_text = 'Type your comment here.';
}

(function(){
	
	var ie = document.uniqueID
		&& document.compatMode
		&& !window.XMLHttpRequest
		&& document.execCommand ;

	try {
		if(!!ie) {
			document.execCommand("BackgroundImageCache", false, true);
		}
	} catch(e) {};
})();

var Dsq = new function() {
	this.container = document.getElementById('dsq-content');
	this.jsonData = {"reactions": [], "has_more_reactions": false, "users": {"5083ca0771c15c1488e2bedab327acb4": {"username": "Mark", "tumblr": "", "display_name": "Mark", "url": "http://disqus.com/guest/5083ca0771c15c1488e2bedab327acb4/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "1e4c1c003df0c640b380f1aee1f739dd": {"username": "pascoe", "tumblr": "", "display_name": "pascoe", "url": "http://disqus.com/guest/1e4c1c003df0c640b380f1aee1f739dd/", "registered": false, "linkedin": "", "blog": "http://andrewpascoe.typepad.com/pascoe", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/uploads/anonusers/22901/avatar92.jpg", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "fc6c68a33069cab762981409b4e160d2": {"username": "Larry", "tumblr": "", "display_name": "Larry", "url": "http://disqus.com/guest/fc6c68a33069cab762981409b4e160d2/", "registered": false, "linkedin": "", "blog": "http://www.greenjem.com/", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "09121c543b385f458c185729ce44614d": {"username": "Ira", "tumblr": "", "display_name": "Ira", "url": "http://disqus.com/guest/09121c543b385f458c185729ce44614d/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "e16bfaa7601b0837a488c41c4ec8eeeb": {"username": "Bob Uhl", "tumblr": "", "display_name": "Bob Uhl", "url": "http://disqus.com/guest/e16bfaa7601b0837a488c41c4ec8eeeb/", "registered": false, "linkedin": "", "blog": "http://latakia.dyndns.org/blosxom/blog", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "5d21d62d95d18914fa9edd9ff888fb8c": {"username": "solomonrex", "tumblr": "", "display_name": "solomonrex", "url": "http://disqus.com/guest/5d21d62d95d18914fa9edd9ff888fb8c/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "3553f5e0db0fd1ec4e40a932a2d8f5b3": {"username": "scobleizer", "tumblr": "", "display_name": "scobleizer", "url": "http://disqus.com/guest/3553f5e0db0fd1ec4e40a932a2d8f5b3/", "registered": false, "linkedin": "", "blog": "http://scobleizer.wordpress.com/", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/uploads/anonusers/4069/avatar92.jpg", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "c2722dc7d0af3bf77654b5332ce0e119": {"username": "Jake", "tumblr": "", "display_name": "Jake", "url": "http://disqus.com/guest/c2722dc7d0af3bf77654b5332ce0e119/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "7629dd5dcaa2c4b51c90a19cdbe3b930": {"username": "anon", "tumblr": "", "display_name": "anon", "url": "http://disqus.com/guest/7629dd5dcaa2c4b51c90a19cdbe3b930/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "c78be183211daed71eff5888b4e9830b": {"username": "Julian M Bucknall", "tumblr": "", "display_name": "Julian M Bucknall", "url": "http://disqus.com/guest/c78be183211daed71eff5888b4e9830b/", "registered": false, "linkedin": "", "blog": "http://www.boyet.com/", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "c39e8ba7b16c5e7bc6a2262899521b6a": {"username": "Jon R", "tumblr": "", "display_name": "Jon R", "url": "http://disqus.com/guest/c39e8ba7b16c5e7bc6a2262899521b6a/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "706f67c19c5467071797d4421ff8af44": {"username": "Lincoln", "tumblr": "", "display_name": "Lincoln", "url": "http://disqus.com/guest/706f67c19c5467071797d4421ff8af44/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "909f4f38408c2ede011db46852121db6": {"username": "Mike Woodhouse", "tumblr": "", "display_name": "Mike Woodhouse", "url": "http://disqus.com/guest/909f4f38408c2ede011db46852121db6/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "3f513e2cf340de447da7d12d8497d7bc": {"username": "Richard Brownell", "tumblr": "", "display_name": "Richard Brownell", "url": "http://disqus.com/guest/3f513e2cf340de447da7d12d8497d7bc/", "registered": false, "linkedin": "", "blog": "http://www.richbrownell.com/", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "5124e73edc84f4a259214160fd2f5731": {"username": "Thomas", "tumblr": "", "display_name": "Thomas", "url": "http://disqus.com/guest/5124e73edc84f4a259214160fd2f5731/", "registered": false, "linkedin": "", "blog": "http://thomaspurves.com/", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/uploads/anonusers/8113/avatar92.jpg", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "6625370ffa42f6c3f82d88c4bce53fc9": {"username": "Simon Brocklehurst", "tumblr": "", "display_name": "Simon Brocklehurst", "url": "http://disqus.com/guest/6625370ffa42f6c3f82d88c4bce53fc9/", "registered": false, "linkedin": "", "blog": "http://www.psynixis.com/blog/", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "b9ac9cdb9d77dd95758a15d77cc5a879": {"username": "Mike", "tumblr": "", "display_name": "Mike", "url": "http://disqus.com/guest/b9ac9cdb9d77dd95758a15d77cc5a879/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "956e415619f6e9a34894dcc86bedb754": {"username": "Kevin Jump", "tumblr": "", "display_name": "Kevin Jump", "url": "http://disqus.com/guest/956e415619f6e9a34894dcc86bedb754/", "registered": false, "linkedin": "", "blog": "http://www.thejumps.co.uk/", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "9aae0e2c1503b1e541e4c4cb9bb08f0a": {"username": "anon", "tumblr": "", "display_name": "anon", "url": "http://disqus.com/guest/9aae0e2c1503b1e541e4c4cb9bb08f0a/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "e5ee9352def27f8616f685cc5c2a7b60": {"username": "Vit Fargas", "tumblr": "", "display_name": "Vit Fargas", "url": "http://disqus.com/guest/e5ee9352def27f8616f685cc5c2a7b60/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "ecba29751333cb64231eb2a109721323": {"username": "Guzzard", "tumblr": "", "display_name": "Guzzard", "url": "http://disqus.com/guest/ecba29751333cb64231eb2a109721323/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/uploads/anonusers/5540/avatar92.jpg", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "884094243c91dbe2a1e98b705da9a80f": {"username": "Phil", "tumblr": "", "display_name": "Phil", "url": "http://disqus.com/guest/884094243c91dbe2a1e98b705da9a80f/", "registered": false, "linkedin": "", "blog": "http://componentry.com/blogs/phil", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "a0432b0e09bdfc683a3896cdda26bfe9": {"username": "james", "tumblr": "", "display_name": "james", "url": "http://disqus.com/guest/a0432b0e09bdfc683a3896cdda26bfe9/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "f6a6e9211716d4a7fa82b828f42fc061": {"username": "M-J Jones", "tumblr": "", "display_name": "M-J Jones", "url": "http://disqus.com/guest/f6a6e9211716d4a7fa82b828f42fc061/", "registered": false, "linkedin": "", "blog": "http://www.mjjones.net/", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "fd1df7dfb6cb958500b8ed9ab95d94e8": {"username": "Aaron Pratt", "tumblr": "", "display_name": "Aaron Pratt", "url": "http://disqus.com/guest/fd1df7dfb6cb958500b8ed9ab95d94e8/", "registered": false, "linkedin": "", "blog": "http://www.seobuzzbox.com/", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "8f8ff21a67437febebc70afd19364e95": {"username": "J. Random Poster", "tumblr": "", "display_name": "J. Random Poster", "url": "http://disqus.com/guest/8f8ff21a67437febebc70afd19364e95/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "2f32b7086a69d3a925f56088c7646621": {"username": "Brian", "tumblr": "", "display_name": "Brian", "url": "http://disqus.com/guest/2f32b7086a69d3a925f56088c7646621/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "62c894403402760b0450a28836ed8576": {"username": "tomax7", "tumblr": "", "display_name": "tomax7", "url": "http://disqus.com/guest/62c894403402760b0450a28836ed8576/", "registered": false, "linkedin": "", "blog": "http://www.digitalsmiles.com/", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "46ec032b9b725fb70f720761c8ee1dea": {"username": "Dub Dublin", "tumblr": "", "display_name": "Dub Dublin", "url": "http://disqus.com/guest/46ec032b9b725fb70f720761c8ee1dea/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "3aeb85796d88e54daedf94e769fda691": {"username": "Goebbels", "tumblr": "", "display_name": "Goebbels", "url": "http://disqus.com/guest/3aeb85796d88e54daedf94e769fda691/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "df5e7adb20adae6c120b04e7cafb15a0": {"username": "Rob Sanheim", "tumblr": "", "display_name": "Rob Sanheim", "url": "http://disqus.com/guest/df5e7adb20adae6c120b04e7cafb15a0/", "registered": false, "linkedin": "", "blog": "http://www.robsanheim.com/", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}, "cab1041ab2de14f71e070c15f8ae968e": {"username": "Christopher Coulter", "tumblr": "", "display_name": "Christopher Coulter", "url": "http://disqus.com/guest/cab1041ab2de14f71e070c15f8ae968e/", "registered": false, "linkedin": "", "blog": "", "remote_domain": null, "points": null, "facebook": "", "avatar": "http://media.disqus.com/images/noavatar92.png", "delicious": "", "is_remote": false, "verified": false, "flickr": "", "twitter": "", "remote_domain_name": ""}}, "forum": {"use_media": true, "name": "Scobleizer", "streaming_realtime": true, "url": "scobleizer", "allow_anon_post": true, "reactions_enabled": true, "reply_position": 1, "show_avatar": true, "allow_anon_votes": false, "disqus_auth_disabled": false}, "realtime_enabled": true, "request": {"username": "", "is_global_moderator": false, "sharing": {}, "sort": 4, "forum": "scobleizer", "is_initial_load": true, "is_authenticated": false, "timestamp": "2009-12-17_09:39:34", "remote_domain": "", "page": 1, "is_moderator": false, "display_username": "", "points": null, "subscribe_on_post": 2, "moderator_can_edit": false, "is_remote": false, "is_verified": false, "missing_perm": "locked"}, "realtime_paused": false, "posts": {"9630592": {"up_voted": false, "ip": "", "has_replies": false, "message": "Brian's comment nails it, does he have a blog? ;)", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_08:06:44", "killed": false, "user_key": "fd1df7dfb6cb958500b8ed9ab95d94e8", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630593": {"up_voted": false, "ip": "", "has_replies": false, "message": "Guys, whoever said that 'web apps' means 'it has to be on the internet'?<br><br>This whole 'no-one will trust their data to anyone else' commentary is misguided.<br><br>When the wave of Office-replacing web apps comes, it will be in the form of intranet applications, as in, install it on your internal web server. That way, you have no need to worry about your data, or your internet connection!<br><br>I believe that something like Zimbra shows the power of web apps (in this case, for email / calendaring). The fact that the code lets you to make your own 'power tweaks' is a God send. Don't get me wrong, I don't believe that Zimbra will take down Office. However, a lot of users see this: when your email client automatically recognises dates and when you mouse over it, it shows you a mini-calendar, users think thats cool. When they realise that they can quickly code up an 'extension' so that it automatically recognises a bug number and when you mouse over it, it shows you the summary and key data of that bug from your own internal bug database, users love it.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_08:14:57", "killed": false, "user_key": "706f67c19c5467071797d4421ff8af44", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630594": {"up_voted": false, "ip": "", "has_replies": false, "message": "thanks for the video robert, glad to get a peek and office 12. In the future though, it would be more convenient if the videos were (at least) half as long and, say, twice the resolution<br><br>(it takes 9 min before we get to see screens and then  they are almost entirely illegible)", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_09:44:57", "killed": false, "user_key": "5124e73edc84f4a259214160fd2f5731", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630595": {"up_voted": false, "ip": "", "has_replies": false, "message": "Lincoln, what you described is Lotus Notes and its various competitors. That is nothing new. Installing intranet applications for your company to use is old hat. Besides, the entire idea of web apps in general is an evolution of an incredibly old concept: the mainframe and the terminal. This time, 2.0 junkies are clamoring for their computers to be turned into useless terminals and have the internet be their mainframe.<br><br>re: \"There are already web apps that collectively accomplish enough of Office\u2019s features to see that its days are numbered.\"<br><br>That's bogus and you know it.<br><br>And on pivot tables, I don't buy the less than 1% statements. Robert isn't so great at this argument because he's using the political technique of naming a specific person rather than groups of people, i.e. \"an accountant next to me used it.\" The fact is that many businesses from small to enterprise use pivot tables. It's an important feature in the business world, one that many couldn't do without. And there is no where else to get it currently.<br><br>...I don't use Office at home though ;)", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_10:14:17", "killed": false, "user_key": "3f513e2cf340de447da7d12d8497d7bc", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630596": {"up_voted": false, "ip": "", "has_replies": false, "message": "Richard,<br><br>Re: there's nowhere else to get Pivot Tables<br><br>Have you looked at the DataPilot feature of OpenOffice?  I've never used this, so can't vouch for the quality, but OpenOffice 2.0 lets you analyse spreadsheets and databases using pivot tables.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_10:37:19", "killed": false, "user_key": "6625370ffa42f6c3f82d88c4bce53fc9", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630597": {"up_voted": false, "ip": "", "has_replies": false, "message": "Hi Richard. I absolutely agree with you: what is old is new again, and that's a really good point about Lotus Notes (not something I've had any exposure to).<br><br>I guess my original point was that 'web apps' won't be on the web, so all this discussion about data security and stable internet connections is stupid.<br><br>Again, I agree that that quote is silly (in fact, I don't even think I saw it in the first place :) ). However, you also have to agree that most of the functionality that Office provides is wasted on a lot of home users. I think that's where we'll see movement. No, it won't be of any use for most companies (and therefore doesn't worry MS) but slowly and surely I believe the functionality will become available.<br><br>Me, I don't use pivot tables. In fact, I had to ask a guy I worked with only about half a year ago what they were all about. However all around me in the office are people writing specs and so on that really don't need much more than formatting and image placement: something that is available from things like the FCKEditor etc. No, it's not the best interface right now, but it's quite impressive.<br><br>Just a quick question re. Lotus Notes. How are things like that programmed? Is it one of those unique programming languages, or a generic one? I like the idea of not having to know the 'Zimbra Macro Language v2' to code up an extension...<br><br>Anyway, again, I just want to reiterate that my point really was that any 'killer' web apps won't be on the internet so part of the argument is misplaced.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_10:39:36", "killed": false, "user_key": "706f67c19c5467071797d4421ff8af44", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630598": {"up_voted": false, "ip": "", "has_replies": false, "message": "Well I know you don't think I ever say anything good, but I think Office 12 and OneNote 12 are great improvements, more of a real leap, over the incremental jumps from 2000 to XP to 2003. And not just in terms of the new UI. That said, they need better marketers and it will take awhile for some of the BI and OLAP data functionality to 'impact' average users. But it's truly a significant release. Steve can AJAX all he wants, but I'm going Office 2007. And the always neglected, but ungodly great, Microsoft Project. And Erik Rucker's blog been cool for Access info.<br><br>Better workflows, charting improvements, document content tracking, confidential information management (Office XML), SharePoint/InfoPath integration capabilities. Those are the things the marketers should be hitting on. With the UI 'feature creep killer' for Home Users. And the 'Publisher-like' functionality in Word, cover pages and such.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_11:30:48", "killed": false, "user_key": "cab1041ab2de14f71e070c15f8ae968e", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630599": {"up_voted": false, "ip": "", "has_replies": false, "message": "Christopher, if you're praising Office, maybe it really is dead! :-)", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_12:26:54", "killed": false, "user_key": "3553f5e0db0fd1ec4e40a932a2d8f5b3", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630600": {"up_voted": false, "ip": "", "has_replies": false, "message": "Lincoln: I understand your points about web apps and internet, but I do disagree to a point. You are right in terms of what is technologically possible (secure web apps served within an intranet). But I don't think what you are suggesting is actually being developed. When you look at the apps like 37 Signals', Google's, Yahoo's, etc. one common thread is keeping the application on their servers. This allows them to keep all users on the current version, keep them paying subscription fees (or viewing ads), maintain stability themselves, and I think most importantly it keeps their source code to themselves. At least in terms of the Office 12 launch timeframe, intranet web apps won't be replacing Office.<br><br>Lotus Notes, since you asked, is not a pretty thing. It's not EXACTLY what your idea is because a desktop client must be installed on each computer. But it puts all of your email, documents, calendar, address book, databases, etc. in one place and they are all served off of Lotus Notes servers. It's a hideous application, but it is secure, it connects employees via the web, and gets the job done.<br><br>I have seen many say that web apps like 37 Signals' are the replacement for programs like Lotus Notes, but that isn't happening. It's only going to take one company to have a data security problem and mention it publicly for a lot of people to jump ship. Storing your company's data on somebody else's servers is just not very secure, SSL or not. What if a hacker got into the database for Basecamp? Thousands of companies' data is now available to that hacker.<br><br>But now imagine a company's entire dataset is hosted on a web service. If a hacker gets in there, or even just a devient employee (I can't imagine every single employee of Google/Microsoft/IBM/Yahoo/whatever's hundreds of thousands is an honest one), they have access to everything: orders, accounts, contact information, social security numbers, credit card numbers, everything. These are hazards that every company faces. But put many thousands of companies all on a central service and you are now talking about a ticking time bomb.<br><br>The smart ones wouldn't do anything malicious with it though. If they were smart, they would get companies' financial data before earnings reports are announced and invest accordingly.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_12:27:55", "killed": false, "user_key": "3f513e2cf340de447da7d12d8497d7bc", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630601": {"up_voted": false, "ip": "", "has_replies": false, "message": "True: it's definitely not workable in the Office 12 timeframe. Damn I hate agreeing with people so much :)<br><br>There's no reason why this won't happen though, eventually. Companies will probably licence you the product with a nice way to add your own extensions, without allowing you to change their actual code. There's no reason why people still wouldn't upgrade to new versions when they are released, but in the meantime, you don't have to worry about people using different versions of applications with different versions of data and so on. Yes, it's the mainframe concept, but it just goes to show how right it can be, even now!<br><br>In reality, the product will probably be delivered as a standalone server, not unlike the Google search appliance.<br><br>Zimbra (note: I have zero to do with it / them, it's just my 'cool thing' at the moment) is installable on your own servers and I believe it does a pretty good job of dating Outlook (even the client side interface). I don't doubt that people will disagree with me here, though.<br><br>As an aside: I'd like to point out that although the smart ones would find out who to invest in, I'd say the smarter ones would work out how to get a working local copy of the code then delete their own remote data, to make sure that no-one else like them is doing the same :)", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_14:06:26", "killed": false, "user_key": "706f67c19c5467071797d4421ff8af44", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630602": {"up_voted": false, "ip": "", "has_replies": false, "message": "About 12 years ago I used to do third level tech support on MS products. There was one guy who would call all the time about pivot tables in Excel. I think the documentation on it back then was written in Hex.<br><br>Very happy those days are over.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_14:29:21", "killed": false, "user_key": "fc6c68a33069cab762981409b4e160d2", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630603": {"up_voted": false, "ip": "", "has_replies": false, "message": "Well, my personal opinion is that Office has already missed the point, when it could be useful. I use it little, but it's all like nice beta version - from very early versions till XP, the Word is uncapable to format paragraph properly on page, sometimes you have to play like stupid inserting lines between paragraph because Word just puts sevenlines long paragraph on other page although half of the page stays empty. Special problem are with pictures+paragraphs. The excel environment isn't better, my mom gets always some stupid excelsheets from government in which can't be even copy+paste, in halfway of writing it the form changes in picture and she must quit it (undo doesn't work) and start all over.. That's combo XP version+bad excel sheet.<br>Also there are numerous errors in version compatibility, especially for nonenglish users, you can't simply include font to document... noooo, and so on the other machine it will require some diferent font or it's will be rendered bad.<br>Not to mention that the whole look of printed Word document looks compared to tex or adobe document quite unprofessional. You can't do something like pdf in word. WHY?<br>Same goes to architecture of Office, it's braindead, instead of making simple skeleton for adding plugins for different effects, it only adds and adds new unuseful  buttons, without proper help to new version. Office can't properly collaborate with any other application, I don't know if macro section was somehow improved, but I always laughed at that you can get virus from document! The whole design of Office was simply said done unprofessionally.<br>Most effects I need I HAVEN'T found, last time, I searched for comments in several colors or something like that.... and fucking haven't found it! All are in red or what, it's worse than beta! 10 years of development and you can't get comments in other than red bubbles. Or automatically pick up color from picture, so you can match it with headline. Firefox can do it... Or I wonder, if ESBN will be in next version of Office. Well in firefox it's already. But maybe luckily, in version 2013 I will have comments in different colors, and in 2017 I can tag documents... Maybe in version 2011 I can even blog from Word. But probably in 2 years I won't need it, cause I will have the better feature set in some free web application.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_14:37:51", "killed": false, "user_key": "e5ee9352def27f8616f685cc5c2a7b60", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630604": {"up_voted": false, "ip": "", "has_replies": false, "message": "I'm pretty much an Office \"Power User\", and have been for about 20 years.  I'm also , by most accounts, a reasonably bright guy with a real knack for software and computing:  I've built networks for Fortune 10 companies, and been the architect for ultra high performance storage-over-IP, Interactive Television and embedded networked real-world interface devices,  but I have *never* been able to \"get\" Pivot Tables.  I've spent probably a total of ten or twelve hours, but never yet understood how to build a pivot table, so I just don't use them at all.  I would like to, but the PITA factor is just way too high, even for someone that's pretty comfortable with the bizarrely twisted mindset that underlies Excel.  It's a damning indictment of an execrable user interface, when even most experts can't or won't figure it out, even when the payoff is fairly high.<br><br>Hopefully, this new Excel will finally make creating and managing PivotTables easy enough to actually use them.<br><br>You know, if you do something like that, you *might* even give me a good reason to upgrade from the ancient versions of Office I'm still slogging along with now. (97 and 2000 - I keep wondering why I stay with these, since XP makes them worse and worse, especially now that secure and modern alternatives are available for free...)", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_16:26:33", "killed": false, "user_key": "46ec032b9b725fb70f720761c8ee1dea", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630605": {"up_voted": false, "ip": "", "has_replies": false, "message": "Dub: Open up the excel sheet that has the data you want to make into a pivot table. In the Data menu, choose \"PivotTable\". Put it in a new sheet, drag items from the \"PivotTable Field List\" onto the sheet. Done. Perhaps an oversimplified explanation, but if you are an \"Office Power User\" I'm unsure of why pivot tables would be so hard.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_16:31:49", "killed": false, "user_key": "3f513e2cf340de447da7d12d8497d7bc", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630606": {"up_voted": false, "ip": "", "has_replies": false, "message": "Whenever someone can't open a word document because it became corrupted (happens pretty often for documents &gt;30 pages), I can open it in OpenOffice, resave it as a .doc file and send it back to them as an email attachment and they're happy again.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_16:47:32", "killed": false, "user_key": "9aae0e2c1503b1e541e4c4cb9bb08f0a", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630607": {"up_voted": false, "ip": "", "has_replies": false, "message": "I enjoyed the video and I enjoy seeing all of the Channel 9 videos even if I don't agree with where Microsoft is heading sometimes.  I think the videos are valuable enough that a screen capture feed should be made during demos and the time is taken to edit the screen capture feed and live demo shot together.  That way we can better see things like the comment tabs, quick sorting, and polished UI in products like Excel.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_17:46:58", "killed": false, "user_key": "7629dd5dcaa2c4b51c90a19cdbe3b930", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630608": {"up_voted": false, "ip": "", "has_replies": false, "message": "Well, I recently had to use Excel for a task at work (I'm a text files, scripting and RDBMS kinda guy by preference), and I have to say that Excel wasn't nearly as quick at the sort of data mangling I needed to do, versus writing a little Python script to massage things.  Which is actually what I ended up doing: writing a Python script which output my data in nifty little colon-delimited files, which I then imported into Excel so that I could submit the report in the preferred format.<br><br>I've recently been using postgresql for a lot of stuff here at the office, and having to go from a relational database to a spreadsheet is pretty painful!", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_17:48:27", "killed": false, "user_key": "e16bfaa7601b0837a488c41c4ec8eeeb", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630609": {"up_voted": false, "ip": "", "has_replies": false, "message": "Oh, the pain is coming back...<br><br>MS's apallingly botched knock-off of Lotus Improv gives me a migraine.<br><br>For anyone who's ever tried \"pivot tables\" and decided that they suck, please, try out a proper N-dimensional spreadsheet, and see how they were supposed to be.  Get your hands on an old copy of Improv somewhere, or try out \"Quantrix\".", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_19:39:32", "killed": false, "user_key": "8f8ff21a67437febebc70afd19364e95", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630610": {"up_voted": false, "ip": "", "has_replies": false, "message": "Oh, and Scoble:  what you're touting is NOT a NEW feature.  It's another botched implementation of Lotus' invention from 1989.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_19:44:52", "killed": false, "user_key": "8f8ff21a67437febebc70afd19364e95", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630611": {"up_voted": false, "ip": "", "has_replies": false, "message": "I agree that the videos on ch 9 should have a bit of post production.<br>real screen shots, a bit of editing, chapters would e nice.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_19:56:31", "killed": false, "user_key": "a0432b0e09bdfc683a3896cdda26bfe9", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630612": {"up_voted": false, "ip": "", "has_replies": false, "message": "James: I agree there too! Problem is I don't have time. All the evil in the world can be blamed on one thing: lack of resources.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_20:21:00", "killed": false, "user_key": "3553f5e0db0fd1ec4e40a932a2d8f5b3", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630613": {"up_voted": false, "ip": "", "has_replies": false, "message": "When are you dumping the shitty WMV for a multi-platform format? Won't watch these silly videos until then.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_20:22:10", "killed": false, "user_key": "3aeb85796d88e54daedf94e769fda691", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630614": {"up_voted": false, "ip": "", "has_replies": false, "message": "<i>I agree that the videos on ch 9 should have a bit of post production. real screen shots, a bit of editing, chapters would be nice.</i><br><br>Yeah, and maybe a two, three or four camera setup, filmed linear, with the sync up in Vegas or Avid after <i>(Vegas I prefer as more a dream for broadcast-event styled post-production, and boy did 6.0d clear up some bugs for me)</i>. Never ever do live-switching, unless you have an army of people and a director. Do the switching in post-production, lay and sync the tracks, and mark mark in preview and then cut a final track. You make better decisions in post-production. It's elementary, but sooooo many people don't do that, and get out of sync and pull hair out in editing. So if you don't plan it right you, get one-cam rot or disjointed post-productional HELL. Cold hard water of experience was my teacher here. Events are not films, I had too much of a screenplay-thought-process and it killed me. The main event body, has to be broadcast style, only in post-production.<br><br>And the camera doesn't have to be an expensive HD or 24P, found the Panasonic AG-DVC30 to be a dream, great in low light, and has a warm film tone. Amazing little bugger. And 'chapters' or rather snippets would be nice touch. Or could shoot in HD, but then contrast and gamma script to get the film tone. HD is too sharp, too white, needs warmth. Or a trick I like is shooting in PAL and using Atlantis 2 to convert, still experimenting with that technique tho.<br><br>Surely in all of Microsoft, they got some decent Screenwritingese Film School type of Video guys? Not really Scoble's fault, he's busy up to his arms. If not, I can send a resume, not that it'd ever get past the paper shredder ;)", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-22_00:39:57", "killed": false, "user_key": "cab1041ab2de14f71e070c15f8ae968e", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630615": {"up_voted": false, "ip": "", "has_replies": false, "message": "Isn\u2019t it unfair to entirely dismiss a product/software before having thoroughly tested it?<br>Haven\u2019t had the opportunity to work with the beta yet. But from the glimpses I had at several new versions of MS software, I did notice that the publisher seems to have made a real effort to make them easier to use.<br>Agree that there wasn\u2019t much improvement in Office from 97 to 2003 version. Have a feeling it\u2019s due to 2 factors:<br><br>1) MS has been reluctant to address and correct the basic flaws of some of the components of the suite, i.e.<br>\u2022\tthe unflexibility of Access when it comes to altering a database/application<br>\u2022\tthe file size of Powerpoint, hence the impossibility to use the files produced on the web<br>\u2022\tthe mediocre implementation of all Word features relating to handling long documents (outline, stylesheets, index, table of contents)<br>\u2022\tthe cumbersomeness of Outlook and the impossibility to use its data in all Office application<br>\u2022\tthe complexity of some of Excel advanced features.<br><br>2) MS has failed to realize that users\u2019 needs have considerably changed during this period due to the extensive use of emails and internet research. Therefore a suite like Office doesn\u2019t cover most people needs as it would have in the 80\u2019s and early 90\u2019s.<br>Do you write as many letters now as you did at that time? Do you print work produced in the same proportions as you did before?<br><br>Feel that 1 and 2 combined make quite a few people dissatisfied with what is supposed to be their daily tool set.<br><br>For myself, I do get enraged more or less every day when Outlook or Outlook Express still doesn\u2019t recognized duplicate address entries \u2018cos I have my own classification system which is different from the owners\u2019 way of showing their name in the from box. I do get frustrated not being able to refer to an email by drag and drop in a report. I get mad that exporting/importing Outlook or OE data is still so unreliable and exploiting this data still lacks so much transparency. None of this would have bothered me in the late 80\u2019s or early 90\u2019s when sending a few messages through Compuserve was just a touch of fun. But it really does now that email communication takes a large part of my day\u2019s work and that these flaws make me waste time every day and be less productive than I should be.<br><br>When Office 95 came out, I still sent lots of letters every day and endless mailings once or twice a month, with printed newsletters and so forth. Do I do this now? No. One letter a fortnight is probably the maximum frequency. So I hardly use Word anymore, except for writing big reports. And again, I get frustrated that Word hasn\u2019t improved much in this respect over the last 10 years.<br><br>And my Office tools haven\u2019t taken into account the new needs that came with the internet and emailing. An Outliner (or note keeper) in which I could store notes but also links to files, websites, specific stored web pages, emails, rss streams, etc. A flexible contact database, with user-defined field and conditional drop-down/ lists which I can carry on my 2 Go usb stick and use seamlessly in all the modules of the suite , including mass emailing. This would make an Office 2007 worth twice its price in my eyes and daily work. But if it comes out as being just an easier to use version of a 20th century product, I very much doubt that I will bother. I\u2019ll keep the version I have or switch to Open Office. Because now I hardly use it.<br><br>Gave up on Access years ago to use Filemaker. The latter had some flaws as well (creating entry screens and reports is more time-consuming) but altogether it was more flexible and  compatible with the Mac some of my colleagues used and still use. New stuff runs on mySQL.<br><br>Gave up on Powerpoint (which I loved using in the early 90\u2019s and so did kids as well when they practically built movies, with effects,  sounds and their recorded voices) when Flash MX came up\u2018cos it more easier to use than previous versions and I could finally put the output on the web.<br><br>Use Word to write articles \u2018because of its word and character count and it\u2019s still on my machine. Until recently also used it to write reports but now I find that I\u2019m using Tiddly Wiki more and more. It produces a single html file which I can easily carry with me on a usb, upload to my webserver for other people to collaborate on, etc.<br><br>Use Excel to do calculations but since I don\u2019t work in accounting or finance, my needs are pretty limited in this respect. My basic sheets are not very different from those I built with Lotus 1-2-3 in the mid 80\u2019s. New stuff consists in a few , sheets a year  to compare several quotes and vlookup is about the most advanced function I use in this type of sheets. But I did greatly appreciate the inclusion of  several worksheets in a workbook. Keeps the data tidy and better organized. Also makes it easier to track and handle data for consolidations.<br><br>Used Frontpage 98 and 2000 and then reluctantly switched to Dreamweaver which was (and still is) far less user friendly (and made me slightly less productive) due to some hosting requirements, to the fact that it did not run on the Mac and to the fact that a frontpage website could not be run locally without frontpage extensions even when one used page enclosures as the only \u201cfrontpage speciality\u201d. Keeping site hierarchy from one machine to the next wasn\u2019t easy either and we had to rebuild it manually several times. When a site has several hundred pages in 3 languages, it\u2019s no fun. Now DW is mainly used to set up initial site templates and stylesheets, data entry is through a web interface.<br><br>Used Outlook or OE back and forth throughout the decade. Always found Outlook more suited to people who have a limited set of recurrent/predictable tasks and too heavy for people running one-person shows or startups and jumping from one role to the next. Tried to supplement OE lack of agenda and limited contact manager with various products, Chaos, Lotus Agenda to name just the 2 I used longest. Been watching Chandler but it\u2019s slow to materialize. Had a look at Omea Pro but coupled with Outlook it needs a faster laptop that what I have got . Moreover Omea database is proprietary as well so I\u2019m reluctant to file so much information and not be able to retrieve it should I want to use another software later on. So Outlook  will be the module I will look at when considering Office 2007.<br>Is it preposterous to expect from a 10+ years old product?<br>\uf06e\tTo be able to use the contact manager seamlessly with any Office (or even Windows/Vista) application?<br>\uf06e\tTo be able to define custom fields in the contact manager with combo listboxes to streamline data entry<br>\uf06e\tTo be able to set up/revise/list groups and set up email campaigns easily and getting a report of the results achieved<br>\uf06e\tTo be able to synchronize contacts and mailboxes easily and reliably between a laptop and a desktop?<br>\uf06e\tTo be able to create a link to a message within Office applications and those supporting drag and drop?<br>\uf06e\tTo see it evolve into an information hub like <a href=\"http://Jetbrains.com\" rel=\"nofollow\">Jetbrains.com</a> is trying to do with its Omea layer.<br><br><br>In summary, If I use Microsoft software less and less, it\u2019s not because I have anything against Microsoft, but because I get impatient that some flaws have not been addressed for a lengthy period of time or because my needs as they have evolved are different from those that Microsoft caters for.<br><br>P.S. The absence of MUI language files is a point I\u2019ll mention separately", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-22_03:32:13", "killed": false, "user_key": "f6a6e9211716d4a7fa82b828f42fc061", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630616": {"up_voted": false, "ip": "", "has_replies": false, "message": "Office 12 will be a success, Microsoft must be licking their lips in anticipation. Proof? If Google Desktop Search is any indication of user stupidity.<br><br>How many idiots have installed this crap on their computers? This evil app came preinstalled on my Dell the other day, just say NO!<br><br>Link: <a href=\"http://www.computerworld.com/securitytopics/security/story/0%2C10801%2C108845%2C00.html\" rel=\"nofollow\">http://www.computerworld.com/securitytopics/sec...</a><br><br>...<br><br>Google Desktop 3 is the latest version of Google Inc.'s desktop search application. The software's \"search across computers\" feature allows users to search for information stored on other PCs and servers. To do this, Google stores an index of files contained on a PC running the software for 30 days, promising that the information is encrypted and accessible to a limited number of Google employees, according to Gartner.<br><br>...<br>Love that part about being stored for 30 days, long enough for the government to subpoeana them? To de-crypt the contents of your hardrive. I can see a whole new class of spyware coming soon. Any hacker worth his salt will be creating their own versions of desktop search, this makes user acceptance so easy. How hard would it be to create your own version of Google Desktop search? Brand it the same, hell name it the same, but send the information to your own servers? This stuff is getting outta control.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-22_07:17:02", "killed": false, "user_key": "ecba29751333cb64231eb2a109721323", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630617": {"up_voted": false, "ip": "", "has_replies": false, "message": "MUI language files. Multinational companies have been entitled to these files so that their users can change the language of menus and help files as they move around their offices round the world. Why haven\u2019t these files been made available to smaller companies, startups and individuals who also move around the world. It may not be the case in the US, but in Europe it\u2019s not unusual that all members of the same family don\u2019t speak the same language, or rather have a different mother tongue in which it is a lot easier to refer to in the help files. These MUI files exist. Why are they not released?<br>Has this issue been discussed within Microsoft prior to the launch of Office 2007 and Vista?", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-22_14:56:54", "killed": false, "user_key": "f6a6e9211716d4a7fa82b828f42fc061", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630618": {"up_voted": false, "ip": "", "has_replies": false, "message": "Richard:<br><br>I think the real PITA is figuring out what insane way it wants the data formatted in the spreadsheet in the fist place before you can slice and dice it.  I know that the layout I've already built has never been acceptable to the PivotTable function.  I suppose you have to know from the beginning you need a pivot table and lay your data out to suit the tool, but that seems kinda bass ackwards in the 21st century, doesn't it?<br><br>What would *really* be nice is a real multidimensional capability, like what used to exist in Lotus Improv and Informix WingZ, but with a better UI than either had.  MS is actually pretty good at some UI stuff - I know it's a hard problem to properly represent 3 or more dimensions on a 2D screen, but it's possible if you think outside the box, and is the sort of thing we're *willing* to pay MS for.  (Although a different beast for sure, 3D CAD UIs are an interesting study here: Look at SketchUp for an example of really outside-the-box thinking in dealing with real 3D in a 2D interface environement.  It's the first significant advancement in geometry creation since Ashlar invented snap-to drawing assistants, and by far the easiest I've seen in real 3D.  There may well be some lessons there for dealing with multi-dimensional data as well...)", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-22_23:02:04", "killed": false, "user_key": "46ec032b9b725fb70f720761c8ee1dea", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630619": {"up_voted": false, "ip": "", "has_replies": false, "message": "Here's the thing: use SPSS.  No more terrrrrible pivot tables.  AND you can do statistical analysis!  And, of course, the REAL geeks use SAS.<br><br>Excel should be limited to data layouts with pretty colors.  All my powerpoint charts start in Excel.  If you don't know better, you use Excel.<br><br>Here's an example, we have Outlook, but management keeps schedules in Excel.  And that's your problem right there.  You're waaaay past the stage where features matter in Office.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-23_12:41:17", "killed": false, "user_key": "5d21d62d95d18914fa9edd9ff888fb8c", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630620": {"up_voted": false, "ip": "", "has_replies": false, "message": "ok, I'll play village idiot, but where does one actually set up Pivot tables in 2007?<br><br>I'm surfing all over the place and watching video's and most start off with it already in place.<br><br>I can't see where in the top ribbon to access it.  You'd think it would either be under Data or Review tabs.<br><br>cheers<br>tom", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-07-11_11:35:40", "killed": false, "user_key": "62c894403402760b0450a28836ed8576", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630566": {"up_voted": false, "ip": "", "has_replies": false, "message": "Last year I used a Pivot Table. Looking forward to next year when I do it again.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_00:28:26", "killed": false, "user_key": "c2722dc7d0af3bf77654b5332ce0e119", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630567": {"up_voted": false, "ip": "", "has_replies": false, "message": "Jake: next year it'll be a LOT easier!", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_00:30:12", "killed": false, "user_key": "3553f5e0db0fd1ec4e40a932a2d8f5b3", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630568": {"up_voted": false, "ip": "", "has_replies": false, "message": "Yea. And like those videos are unbiased.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_00:30:57", "killed": false, "user_key": "5083ca0771c15c1488e2bedab327acb4", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630569": {"up_voted": false, "ip": "", "has_replies": false, "message": "Robert<br><br>PivotTables are in Excel 2003.<br><br>Cheers, Julian", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_00:34:35", "killed": false, "user_key": "c78be183211daed71eff5888b4e9830b", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630570": {"up_voted": false, "ip": "", "has_replies": false, "message": "Julian: yes, I know, but they are MUCH easier in Excel 2007.<br><br>Mark: the videos are simple conversations about a single product. Nothing is misrepresented. You can replicate exactly what we talked about on your own system.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_00:37:56", "killed": false, "user_key": "3553f5e0db0fd1ec4e40a932a2d8f5b3", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630571": {"up_voted": false, "ip": "", "has_replies": false, "message": "For the people who need to do that it might look like a reason to upgrade.  For 99% of the computer public, though, I think Office 97 will do just fine.<br><br>I sure hope the majority of people choose word, spreadsheet and presentation software based on open standards like Open Office instead of the proprietary, closed format of Office.<br><br>Is there anything in Microsoft's secret licensing deals with OEMs which would forbid bundling OpenOffice with Windows or offering it as a free alternative to Office 2003/2007?", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_00:46:37", "killed": false, "user_key": "9aae0e2c1503b1e541e4c4cb9bb08f0a", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630572": {"up_voted": false, "ip": "", "has_replies": false, "message": "Regardless of the version of Office, PivotTable are GREAT! I work in online advertising, so we have reams of data from campaigns that we need to cut every which way. I don't know how I'd be able to provide the insights to the campaigns I do without them (and a few trusty ol' vlookups etc).<br><br>Anything that makes selling in PivotTables here to my team, and getting them to create their own, easier, I'm definitely up for too.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_00:56:15", "killed": false, "user_key": "1e4c1c003df0c640b380f1aee1f739dd", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630573": {"up_voted": false, "ip": "", "has_replies": false, "message": "Anon: if you say that then you haven't watched any of my Office 2007 videos. 99% of the public will get a LOT out of Office 2007. Here's just one out of hundreds of features: making a table. In Office 97 it takes a long time to make tables look right. In Office 2007 it takes seconds.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_00:58:14", "killed": false, "user_key": "3553f5e0db0fd1ec4e40a932a2d8f5b3", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630574": {"up_voted": false, "ip": "", "has_replies": false, "message": "Scoble you really need to find some more widely used features that are improved in 2007 then pivot tables to hype.  Until its something that more then 1% of office users actually use, it just sounds silly.<br><br>IOW, how does an improved Pivot Table help office users kick ass?", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_00:58:43", "killed": false, "user_key": "df5e7adb20adae6c120b04e7cafb15a0", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630575": {"up_voted": false, "ip": "", "has_replies": false, "message": "and you're dead on Scoble - I personally appreciate them so much because they let me move from analysing my campaigns by impressions and click rates to cost per action etc etc ... business applications all round", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_00:59:22", "killed": false, "user_key": "1e4c1c003df0c640b380f1aee1f739dd", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630576": {"up_voted": false, "ip": "", "has_replies": false, "message": "&gt;Scoble you really need to find some more widely used features that are improved in 2007 then pivot tables to hype.<br><br>Rob, I have nine months before Office 2007 is gonna be purchaseable. There will be LOTS more Office 2007 videos with LOTS more features. There are TONS of new features. Did you watch the video? Pivot Tables aren't the only thing I showed.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_01:03:58", "killed": false, "user_key": "3553f5e0db0fd1ec4e40a932a2d8f5b3", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630577": {"up_voted": false, "ip": "", "has_replies": false, "message": "Rob, meet Pascoe. Pascoe understands why Excel is a must-have tool for business.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_01:12:46", "killed": false, "user_key": "3553f5e0db0fd1ec4e40a932a2d8f5b3", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630578": {"up_voted": false, "ip": "", "has_replies": false, "message": "Maybe Pascoe should upgrade. Sounds like you've improved Pascoe's hammer.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_01:22:32", "killed": false, "user_key": "c2722dc7d0af3bf77654b5332ce0e119", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630579": {"up_voted": false, "ip": "", "has_replies": false, "message": "Jake: a lot of people use PivotTables. I sat next to Starbucks accountant recently. He used them all over the place.<br><br>The old saw is \"why is Office so bloated?\" My answer? Which feature should we remove? Everyone uses a different feature. Nearly every part of Office 2007 is a lot better than earlier Offices. Like I said, there's a ton of videos to come.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_01:32:52", "killed": false, "user_key": "3553f5e0db0fd1ec4e40a932a2d8f5b3", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630580": {"up_voted": false, "ip": "", "has_replies": false, "message": "I know the guy in the video isn't a professional marketing guy or trainer but he demoed the new stuff like he didn't know what most people would use it for.  Can you post a minute:second mark of that video that would be the highlight of these new features?<br><br>I am really not looking for a refresher course on the whackjob marketing term \"business intelligence\".  And although I'm not a genius, I'm perfectly capable of looking at a printed piece of paper with item names and revenue by quarter to see whether a given item's sales are rising or falling.  Or maybe that does make me a genius by the standard of folks Microsoft is marketing these new features to?<br><br>Now I'm convinced it's not the presenter's fault because, you see, features can be coherently demonstrated only if they're actually different enough from a prior version, useful or work properly (any one of those three should be enough).  The only thing that video demoed to me is that Excel 2007 does a sort table on a small segment or rows really, really slowly on what is probably kick-ass dev hardware.<br><br>Look at any of Steve Jobs' keynotes.  He demos lots of stuff which I might not have thought of or may not need, but he makes it easily accessible and understood.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_01:45:13", "killed": false, "user_key": "9aae0e2c1503b1e541e4c4cb9bb08f0a", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630581": {"up_voted": false, "ip": "", "has_replies": false, "message": "Anon: interesting that the other people posting over on Channel 9 seem to be able to get Mike's main points.<br><br>The pivot table stuff is demoed about 40 minutes into the video.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_01:51:56", "killed": false, "user_key": "3553f5e0db0fd1ec4e40a932a2d8f5b3", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630582": {"up_voted": false, "ip": "", "has_replies": false, "message": "<i>interesting that the other people posting over on Channel 9 seem to be able to get Mike\u2019s main points.</i><br><br>Robert, there are 7 replies on channel9 and none of them offer any summary of the events in the video that demonstrate understanding of what occurred there.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_02:04:47", "killed": false, "user_key": "9aae0e2c1503b1e541e4c4cb9bb08f0a", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630583": {"up_voted": false, "ip": "", "has_replies": false, "message": "<i>In Office 97 it takes a long time to make tables look right. In Office 2007 it takes seconds.</i><br><br>Now that would be an interesting demo.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_02:12:39", "killed": false, "user_key": "9aae0e2c1503b1e541e4c4cb9bb08f0a", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630584": {"up_voted": false, "ip": "", "has_replies": false, "message": "A lot of Excel workbooks are shared inside companies, and outside. So what the Excel 2007 new feature set boils down to is to get everyone to upgrade to Excel 2007 in order to properly render and/or interact with the so-called new features. Or, buy expensive server licenses and publish them in sharepoint.<br><br>Alternatively, consider free or almost free spreadsheet software (offline and online) available out there.<br><br>For the record, it's not like there are a lot of new features, it's more around \"analysis features\" dumbed down and being more targeted, requiring less clicks. This sounds more like an incremental evolution to the product and should certainly be sold with big big rebates, no matter how loud marketing bloggers say it.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_03:40:53", "killed": false, "user_key": "b9ac9cdb9d77dd95758a15d77cc5a879", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630585": {"up_voted": false, "ip": "", "has_replies": false, "message": "Robert, you and Steve Gillmor are talking on two different, albeit connected, playing fields. If I understand him correctly, the idea of Office as a viable desktop application is dead. There are already web apps that collectively accomplish enough of Office's features to see that its days are numbered.<br>Showing off merely improved features of the new Office doesn't refute that argument. As long as no feature of Office can't be replicated by a (probably free) web app in the foreseeable future, Office is dead.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_03:56:50", "killed": false, "user_key": "c39e8ba7b16c5e7bc6a2262899521b6a", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630586": {"up_voted": false, "ip": "", "has_replies": false, "message": "As an Office user and developer since, well, before there was Office, I can say that from a \"professional\" point-of-view the changes from 2000 to XP to 2003 were hardly earth-shattering. The introduction of a reliable real-time data facility (bye-bye DDE) was incredibly welcome in my real-time price data world, although it was probably missed by 99.8% of users elsewhere (and probably most within the environment: Microsoft didn't exactly shout about RTD from the rooftops).<br><br>I use XP at work, 2000 at home and spent about a year with 2003 at my previous job. Apart from Outlook, which got a facelift in the last version, there really isn't much to differentiate the three versions.<br><br>Office 12/2007/whatever, though, looks like a whole different kettle of, errr, bits. Just the UI overhaul probably makes it the most significant release since Office was first pulled together with VBA for all (95, was it?). Having spent the last 5 or 6 years in \"don't care which version\" mode, I'm now actively trying to ensure that we don't make any technical decisions at work that will delay our adoption of the new version. Well, no more than the Corporate IT stumbling blocks that will probably hold it up until 2010 anyway...<br><br>It's a very long time since I was this excited about a Microsoft release. I probably ought to get out more.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_04:39:12", "killed": false, "user_key": "909f4f38408c2ede011db46852121db6", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630587": {"up_voted": false, "ip": "", "has_replies": false, "message": "Well I think Steve Gilmore is way of the mark, removing outlook isn't going to kill office. For people living outside a corporate bubble, collaborative calendaring isn't a must. They just want to read mail, and you can do that a thousand ways.<br><br>Office is the big cash cow, so it has to sell and it has to sell big, that's why it's all about pivot tables, and online collaboration (SharePoint), because that's what big business want and they buy licences by the bucket load.<br><br>Equally no business is going to replace office with a bunch of web applications just yet, what web application replaces excel? PowerPoint? Even most of Outlook is still missing from the web, and what web application that replaces any bit of office isn't in 'beta'? when the web apps are there, your corporate data is now vulnerable to your internet connection and someone else\u2019s servers. Lose either and where are you?<br><br>Where office will lose out is at home, I still don't see what office 2003/2007 is going to give a home user over the free/cheaper alternatives. What will make it worth forking all the money over?", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_04:57:21", "killed": false, "user_key": "956e415619f6e9a34894dcc86bedb754", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630588": {"up_voted": false, "ip": "", "has_replies": false, "message": "Ever heard of Improv? Almost 20 years ago this was introduced to the world on the Next machine (remember them -- what Jobs did *after* he left Apple). The state of the art has not advanced *much* apart from the use of fancier graphics. The quick analysis is excellent, for about 1 out of 10000 users at best.<br><br>Gillmore's wrong though. You can and/or wouldn't want to drive a 10 year old car simply because you can. Nor would most of want to use a 10 year old FM receiver.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_06:08:05", "killed": false, "user_key": "884094243c91dbe2a1e98b705da9a80f", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630589": {"up_voted": false, "ip": "", "has_replies": false, "message": "I've made what I believe is a very generous offer to Steve Gillmor on my blog ( <a href=\"http://www.psynixis.com/blog/?p=128\" rel=\"nofollow\">http://www.psynixis.com/blog/?p=128</a> ).  I'd like to extend that offer to anyone here that feels confident that Office 2007 is \"dead\".  Yes, the rumour *is* true - my generosity knows no bounds ;-)", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_06:28:52", "killed": false, "user_key": "6625370ffa42f6c3f82d88c4bce53fc9", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630590": {"up_voted": false, "ip": "", "has_replies": false, "message": "It's obvious alot of your readers don't work in the business side of corporate offices. No company in their right mind is going to trust their data to online applications until security is not an issue and network uptime approaches the reliability of the old POTS phone system. Until then they'll keep their data on their local network and use desktop apps (like Office 2007) to access it. Microsoft has nothing to worry about here.<br><br>But congrats to you for deciphering Gillmor's rant. I can never make out what the hell the guy's writing about...", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_07:58:03", "killed": false, "user_key": "2f32b7086a69d3a925f56088c7646621", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}, "9630591": {"up_voted": false, "ip": "", "has_replies": false, "message": "And yet we still upgrade.  From '97 to 2000 to 2003.  500+ licenses for my corporate environment.  We'll upgrade to 2007 I'm sure.<br><br>My problem isn't with the features.  The end user's knowledge and capabilities are overshadowed by feature set.  I would rather reallocate the money for a 2007 upgrade and dedicate it to user training so they can take advantage of some of the advanced functions 2003/2007 offer.<br><br>Its true most users would be satisfied with an Office 97 feature set, only because thats all they are trained to use.", "is_last_child": false, "can_reply": false, "down_voted": false, "real_date": "2006-02-21_07:59:29", "killed": false, "user_key": "09121c543b385f458c185729ce44614d", "has_been_anonymized": false, "edited": false, "author_is_moderator": false, "from_request_user": null, "votable": true, "date": "3 years ago", "approved": true, "num_replies": 0, "is_first_child": false, "email": "", "parent_post_id": null, "depth": 0, "points": 0, "author_is_creator": false, "is_realtime": false}}, "integration": {"receiver_url": "", "theme": 4, "reply_position": true, "disqus_logo": false}, "timer": {"timer_url": "http://localhost:8005", "thread_id": "18457442", "user_id": "anonymous", "forum_id": "125200", "hash": -65468656059983828}, "thread": {"total_posts": 0, "paginate": false, "per_page": 0, "slug": "pivottable_this_video", "num_pages": 1, "days_alive": 0, "realtime_paused": true, "id": 18457442, "num_posts": 55, "closed": true, "queued": false, "killed": false}, "reactions_limit": 10, "context": {"show_reply": false, "use_fb_connect": true, "forum_facebook_key": "faaf467d0f47abde553c3b8e0e1b3570", "use_yahoo": false, "subscribed": false, "use_twitter_signin": true, "use_openid": false, "realtime_speed": 5000}, "reactions_start": 0, "settings": {"debug": false, "disqus_url": "http://disqus.com", "media_url": "http://media.disqus.com"}, "media_url": "http://media.disqus.com"};
	/* */ this.jsonData.cookie_messages = {"user_created": null, "post_has_profile": null, "post_twitter": null, "post_not_approved": null}; this.jsonData.session = {"url": null, "name": null, "email": null}; /* */

	
	this.curPageId = 'dsq-comments';

	this.frames = {};
};

var disqus_popup_reference = null;

if(typeof DsqLocal == 'undefined') {
	DsqLocal = {};
}



/**
 * Dsq.Strings: UI strings
 */
Dsq.Strings = new function() {
	this.ADD_NEW_COMMENT = "Add New Comment";
	this.LOG_INTO_DISQUS = "Log into DISQUS";
	this.USE_MEDIA = "Use Media";
	this.LOGOUT = "Logout";
	this.SHARING_OPTIONS = "Sharing options";
	this.SHARE_ON = "Share on";
	this.TWEET_THIS_COMMENT = "Tweet this comment";
	this.SHARE_ON_NEWSFEED = "Share on news feed";
	this.SEND_UPDATE_TO_YAHOO = "Send update to Yahoo!";
	this.REBLOG_ON = "Reblog on";
	this.CONFIGURE_OPTIONS = "Configure options";
	this.POST_AS = "Post as";
	this.SORT_BY = "Sort by";
	this.SUBSCRIBE_BY_EMAIL = "Subscribe by email";
	this.SUBSCRIBE_BY_RSS = "Subscribe by RSS";
	this.POPULAR_NOW = "Popular now";
	this.BEST_RATING = "Best Rating";
	this.NEWEST_FIRST = "Newest first";
	this.OLDEST_FIRST = "Oldest first";
	this.HIGHLIGHTED = "Highlighted";
	this.UNSUBSCRIBE = "Unsubscribe";
	this.REQUIRED = "Required";
	this.OPTIONAL = "Optional";
	this.YOU_ARE_COMMENTING_AS_A = "You are commenting as a";
	this.LOGIN_BELOW = "Login below";
	this.PLEASE_LOGIN_BELOW_TO_COMMENT = "Please login below to comment.";
	this.SUBSCRIBE_TO_ALL_COMMENTS_BY_EMAIL = "Subscribe to all comments by email";
	this.DO_NOT_SUBSCRIBE_TO_COMMENTS = "Do not subscribe to comments";
	this.REALTIME_UPDATING_IS = "Real-time updating is";
	this.ENABLED = "enabled";
	this.PAUSED = "paused";
	this.PAUSE = "Pause";
	this.RESUME = "Resume";
	this.SHOW = "Show";
	this.JUST_NOW = "Just now";
	this.REPLY = "Reply";
	this.EDIT = "Edit";
	this.FLAG = "Flag";
	this.MODERATE = "Moderate";
	this.CANCEL = "Cancel";
	this.REPLYING_TO = "Replying to";
	this.REPORT_MISSING_REACTIONS = "Report missing reactions";
	this.POST_A_COMMENT = "Post a comment";
	this.FLAG_INAPPROPRIATE_COMMENT = "Flag inappropriate comment";
	this.FLAGGED = "Flagged";
	this.NO = "No";
	this.YES = "Yes";
	this.NEVER_MIND = "Never mind";
	this.ARE_YOU_SURE_YOU_WOULD_LIKE_TO_REPORT_THIS_COMMENT_TO_A_MODERATOR = "Are you sure you would like to report this comment to a moderator";
	this.THIS_WILL_FLAG_COMMENTS_FOR_MODERATORS_TO_TAKE_ACTION = "This will flag comments for moderators to take action";
	this.TO_RATE_PLEASE_LOG_IN = "To rate, please log in";
	this.JUST_A_MOMENT = "Just a moment...";
	this.GUEST = "Guest";
	this.NAME = "Name";
	this.EMAIL = "Email";
  this.WEBSITE = "Website";
  this.SETTINGS = "Settings";
  this.MODERATOR_OPTIONS = "Moderator options: ";
  this.MODERATE_OPTIONS = "Moderate Options";

  // Thread moderator actions
  this.CLOSE_THREAD = "Close thread";
  this.OPEN_THREAD = "Open thread";
  this.REMOVE_THREAD = "Remove thread";
  this.RESTORE_THREAD = "Restore thread";
  this.ACTIONS = "Actions";
};
// Dsq.Strings

/**
 * Dsq.FmtStrings: functions that return interpolated UI strings
 */
Dsq.FmtStrings = new function() {
	// Seems we have to use named interpolation for Django to translate. Investigate more.
	this.LOGGED_IN_AS = function(username) {
		return Dsq.Utils.interpolate('Logged in as %(username)s', {username:username});
	};

	this.LOGOUT_FROM = function(disqus) {
		return Dsq.Utils.interpolate('Logout from %(disqus)s', {disqus:disqus});
	};

	this.SHOWING_COMMENTS_FULL = function(total, num) {
		if (num === 1) {
			return Dsq.Utils.interpolate("Showing <span id='dsq-num-posts'>%(num)s</span> of <span id='dsq-total-posts'>%(total)s</span> comment", {num:num, total:total});
		} else {
			return Dsq.Utils.interpolate("Showing <span id='dsq-num-posts'>%(num)s</span> of <span id='dsq-total-posts'>%(total)s</span> comments", {num:num, total:total});
		}
	};

	this.SHOWING_COMMENTS_WITHOUT_PAGINATION = function(num) {
		if (num === 1) {
			return Dsq.Utils.interpolate("Showing <span id='dsq-num-posts'>%(num)s</span> comment", {num:num});
		} else {
			return Dsq.Utils.interpolate("Showing <span id='dsq-num-posts'>%(num)s</span> comments", {num:num});
		}
	};

	this.NUMBER_OF_COMMENTS = function(num) {
		return Dsq.Utils.interpolate(
			(num == 1
				? '%(num)s comment'
				: '%(num)s comments'
			), {num:num});
	};

	this.NUMBER_OF_LIKES = function(num) {
		return Dsq.Utils.interpolate(
			(num == 1
				? '%(num)s like'
				: '%(num)s likes'
			), {num:num});
	};

	this.NUMBER_OF_POINTS = function(num) {
		return Dsq.Utils.interpolate(
			(num == 1
				? '%(num)s point'
				: '%(num)s points'
			), {num:num});
	};
};
// Dsq.FmtStrings





Dsq.CSRF_TOKEN = 'a2d140c59df8cd4ce27a20e0829cacd8';
Dsq.COMMENTS_RE = /(<li.*?id="?dsq-comment-(\d+)"?.*?>)((?:.|\s)*?)(<\/li>)/gim;
Dsq.POST_RE = /(<div.*?id="?dsq-comment-header-(\d+)"?.*?>)((?:.|\s)*?)(<\/div>)\s*(<div.*?class="?dsq-comment-body"?.*?>)((?:.|\s)*)(<\/div>)/gim;
Dsq.POST_BODY_RE = /\s*(<div.*?id="?dsq-comment-message-(\d+)"?.*?>)((?:.|\s)*)(<\/div>)/gim;
// HACK: Safari ends with "-->" while other browsers end with "--&gt;" as expected.
Dsq.MEDIA_POST_RE = /&lt;!--\[(.*?)\]--(?:>|&gt;)/gim;



var FragmentPacket = function(reader, writer, writer_url, is_child, receiveCallback) {
	var that = this;
	this.reader = reader;
	this.writer = writer;
	this.writer_url = writer_url;

	this.is_child = is_child || false;
	this.receiveCallback = receiveCallback;

	this._lastHash = null;

	this._accumMsg = '';

	this._lastSeqno = 0;

	this.MAX_DATA_LEN	= 1024;

	this.WAIT_TIME		= 10;

	this.READY		= 0x1;
	this.WRITING	= 0x2;
	this.FIN		= 0x4;
	this.ACK		= 0x8;

};

FragmentPacket.prototype.createListener = function() {
	var that = this;
	var listener = function() {
		that.recv();
	};
	return window.setInterval(listener, 10);
};

FragmentPacket.prototype.log = function(msg) {



};

FragmentPacket.prototype.recv = function() {
	var hash;
	if (/MSIE/.test(navigator.userAgent)) {

		hash = this.reader.name;
	} else {

		var hashIndex = this.reader.location.href.indexOf('#');
		if (hashIndex == -1) {
			return;
		}
		hash = this.reader.location.href.substring(hashIndex+1);
	}
	var flags = parseInt(hash.substring(0, 4), 10);
	var seqno = parseInt(hash.substring(4, 24), 10);
	var data  = hash.substring(24);

	if (this._lastHash !== hash) {
		this._lastHash = hash;
		this.log('recv: ' + hash);

		this.log(' flags: ' + flags);
		this.log(' seqno: ' + seqno + ' len: ' + hash.substring(4, 24).length + ' (' + hash.substring(4, 24) + ')');
		this.log(' data: ' + data + ' len: ' + data.length);

		this._lastSeqno = seqno;

		if (flags & this.WRITING) {
			this._accumMsg += data;
			this.sendFlag(this.ACK, seqno);
			if (flags & this.FIN) {
				this.log('recv finished: ' + decodeURIComponent(this._accumMsg));
				this.receiveCallback(decodeURIComponent(this._accumMsg));

				this._accumMsg = '';

				this.sendFlag(this.READY | this.ACK, this._lastSeqno);
			}
		}
	}

	return {
		flags: flags,
		seqno: seqno,
		data: data
	};
};

FragmentPacket.prototype.sendRawPacket = function(packet) {
	if (/MSIE/.test(navigator.userAgent)) {
		this.writer.name = packet;
	} else {

		this.writer.location.href = this.writer_url + '#' + packet;
	}

};

FragmentPacket.prototype.sendFlag = function(flag, seqno) {
	this.sendRawPacket(this._zerofill(flag, 4) + this._zerofill(seqno, 20));
};

FragmentPacket.prototype.send = function(msg) {
	this._send(0, encodeURIComponent(msg));
};

FragmentPacket.prototype._send = function(packetNum, msg) {
	var that = this;
	var recvBuf = this.recv();

	if (packetNum === 0) {

		if (!(recvBuf.flags & this.READY)) {
			this.log('client is not ready, waiting...');
			window.setTimeout(function() { that._send(packetNum, msg); }, this.WAIT_TIME);
			return;
		}
	} else {

		if (!( (recvBuf.flags & this.ACK) && (recvBuf.seqno === this._lastSeqno) )) {
			this.log('waiting for ack from client...');
			window.setTimeout(function() { that._send(packetNum, msg); }, this.WAIT_TIME);
			return;
		} else {
			this.log('received ack: ' + this._lastSeqno + ' ' + recvBuf.seqno);
		}
	}

	var flags = this.WRITING;
	var num_packets = Math.ceil(msg.length / this.MAX_DATA_LEN);
	this.log('num_packets: ' + num_packets);

	if (num_packets === packetNum) {

		this.log('message successfully sent!');
		this.sendFlag(this.READY | this.ACK, this._lastSeqno);
		return true;
	}

	this._lastSeqno++;

	if (packetNum == num_packets-1) {
		flags |= this.FIN;
	}

	var data = msg.substring(packetNum * this.MAX_DATA_LEN, (packetNum+1) * this.MAX_DATA_LEN);
	var packet = this._zerofill(flags, 4) + this._zerofill(this._lastSeqno, 20) + data;

	this.log('sending raw packet: ' + packet);
	this.sendRawPacket(packet);

	return this._send(packetNum + 1, msg);
};

FragmentPacket.prototype._zerofill = function(num, width) {
	var retval = num.toString();
	var retval_len = retval.length;
	for (var i = 0; i < width - retval_len; i++) {
		retval = '0' + retval;
	}
	return retval;
};

var PostMessagePacket = function(receiver, receiveCallback, id, receiverId) {
	var that = this;
	this.receiver = receiver;
	this.receiveCallback = receiveCallback;
	this.id = id;


	this.receiverId = receiverId;
};

PostMessagePacket.prototype.createListener = function() {
	var that = this;

	var listener = function(e) {

		if (!that.id) {
			that.id = e.data;
			return;
		}


		var id = e.data.split(';')[0];
		if (id !== that.id) {
			return;
		}
		var data = e.data.substring(e.data.indexOf(';') + 1);

		that.receiveCallback(data);
	};

	if (typeof window.attachEvent == 'function') {
		window.attachEvent('onmessage', listener);
	} else if (typeof window.addEventListener == 'function') {
		window.addEventListener('message', listener, false);
	} else {
		throw new Error('No method found to create event listener for PostMessagePacket.');
	}
};

PostMessagePacket.prototype.send = function(msg) {



	var needs_reget = false;
	try {
		if (typeof this.receiver.id == 'undefined' || typeof this.receiver.postMessage == 'undefined') {
			needs_reget = true;
		}
	} catch(e) {


	}
	if (needs_reget && typeof this.receiverId != 'undefined') {
		this.receiver = document.getElementById(this.receiverId).contentWindow;
	}

	var packet;
	if (!msg) {

		packet = this.id;
	} else {
		packet = this.id + ';' + msg;
	}
	this.receiver.postMessage(packet, '*');
};

PostMessagePacket._last_unique_id = null;
PostMessagePacket._get_unique_id = function() {
	var id = (new Date()).getTime();
	if (id == PostMessagePacket._last_unique_id) {
		id++;
	}
	PostMessagePacket._last_unique_id = id;
	return id.toString();
};

var JsonRpc = function() {

	this.ids = {};

	this.objectToJSON = function(obj) {
		var json = '';
		var results = [];

		if (obj === undefined || obj === null) {
			return 'null';
		}

		switch (obj.constructor) {
			case Object:
				for (var property in obj) {
					if (obj.hasOwnProperty(property)) {
						results.push(this.objectToJSON(property) + ': ' + this.objectToJSON(obj[property]));
					}
				}
				json = '{' + results.join(', ') + '}';
				break;
			case Array:
				for (var i = 0; i < obj.length; i++) {
					results.push(this.objectToJSON(obj[i]));
				}
				json = '[' + results.join(', ') + ']';
				break;
			case Number:
			case Boolean:
				json = obj.toString();
				break;
			case String:

				var specialChars = {'\b': '\\b', '\t': '\\t', '\n': '\\n', '\f': '\\f', '\r': '\\r', '\\': '\\\\'};

				json = obj.replace(/[\x00-\x1f\\]/g, function(match) {
					var ch = specialChars[match];
					return ch ? ch : '\\u00' + match.charCodeAt().toPaddedString(2, 16);
				});

				json = '"' + json.replace(/"/g, '\\"') + '"';
				break;
			default:

				json = 'null';
				break;
		}

		return json;
	};

	this.createHandler = function(send_func, registered_funcs) {
		var that = this;
		var handler = function(message) {

			try {
				var rpc = eval('(' + message + ')');
			} catch(e) {
				alert('bad JSON: ' + message);
				return;
			}
			if (rpc.method) {

				if (!registered_funcs[rpc.method]) {
					return;
				}

				var retval = registered_funcs[rpc.method].apply(null, rpc.params);
				if (rpc.id) {
					var response = {
						result: retval,
						error: null,	// TODO
						id: rpc.id
					};
					send_func(that.objectToJSON(response));
				}
			} else if(rpc.result) {

				if (!that.ids[rpc.id]) {
					return;
				}

				that.ids[rpc.id](rpc.result);
				delete that.ids[rpc.id];
			}
		};
		return handler;
	};

	this.execute = function(send_func, method, params, response_callback) {
		response_callback = response_callback || null;
		var id = (response_callback) ? (new Date()).getTime() : null;

		var request = {
			method: method,
			params: params,
			id: id
		};

		send_func(this.objectToJSON(request));

		if (id) {
			this.ids[id] = response_callback;
		}
	};
};
JsonRpc = new JsonRpc();

var ParentMessenger = function(childUrl, receiverUrl, container, receiveCallback) {


	if (navigator.userAgent.indexOf('Safari') >= 0 && parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf('Version/') + 8), 10) == 3) {
		throw new Error("unsupported.");
	} else if (window.opera) {
		throw new Error("unsupported.");
	}



	if (!receiverUrl &&
		navigator.userAgent.indexOf('Gecko') >= 0 &&
		parseFloat(navigator.userAgent.slice(navigator.userAgent.indexOf('rv:') + 3, navigator.userAgent.indexOf('rv:') + 6)) < 1.9) {
		throw new Error("unsupported.");
	}


	if (/msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent)) {


		if (document.domain == window.location.hostname) {
			receiverUrl = '';
		}
	}

	var that = this;
	this.childUrl = childUrl;
	this.receiverUrl = receiverUrl;
	this.container = container || document.body;

	this.packetHandler = null;


	this._ready = false;
	this._error = false;


	var _createReceiverForFragmentPacket = function() {

		that.receiver = document.createElement('iframe');
		that.receiver.src = receiverUrl;
		that.receiver.id = 'receiver_' + (new Date()).getTime();
		that.receiver.name = that.receiver.id;

		that.receiver.frameBorder = '0';
		that.receiver.frameSpacing = '0';
		that.receiver.style.borderStyle = 'none';

		var receiver_onload = function() {
			var receiver = document.getElementById(that.receiver.id).contentWindow;

			try {
				receiver.document.body.innerHTML = '';
			} catch(e) {

				that._error = true;
			}
			receiver.document.body.style.padding = '0px';
			receiver.document.body.style.margin = '0px';

			var child = receiver.document.createElement('iframe');
			child.id = 'child';
			child.name = 'child';
			child.src = that.childUrl;

			child.frameBorder = '0';
			child.frameSpacing = '0';
			child.style.borderStyle = 'none';
			child.style.width = '100%';
			child.style.height = '100%';
			receiver.document.body.appendChild(child);

			that.child = receiver.document.getElementById('child').contentWindow;
			that.receiver = receiver;

			that.packetHandler = new FragmentPacket(that.receiver, that.child, that.childUrl, false, receiveCallback);

			that._listener = that.packetHandler.createListener();

			that.packetHandler.sendFlag(that.packetHandler.READY, 0);

			that._ready = true;
		};

		that.receiver.onreadystatechange = function() {
			if (this.readyState == 'complete') {
				receiver_onload();
			}
		};

		that.receiver.onload = receiver_onload;







		if (Dsq.Utils.ie) {
			if (that.container.clientWidth === 0) {

				var _waitForWidth = function() {
					if (that.container.clientWidth > 0) {
						Dsq.Utils.fixIframesIE(that.container.id);
					} else {
						window.setTimeout(_waitForWidth, 100);
					}
				};
				_waitForWidth();

				that._once = false;
				that.receiver.onresize = function() {
					if (!that._once) {
						Dsq.Utils.fixIframesIE(that.container.id);
					}
					that._once = true;
				};
			}
		}

		that.container.appendChild(that.receiver);
	};


	var _createReceiverForPostMessage = function() {

		var receiver_onload = function() {

			that.packetHandler.send();
			that._ready = true;
		};

		var id = PostMessagePacket._get_unique_id();
		var receiverId = 'child_' + id;


		ParentMessenger['_receiver_onload_' + receiverId] = receiver_onload;

		that.container.innerHTML += '<iframe ' +
			'src="' + childUrl + '" ' +
			'id="' + receiverId + '" ' +
			'name="' + receiverId + '" ' +
			'onload="ParentMessenger._receiver_onload_' + receiverId +'();" ' +
			'></iframe>';

		that.receiver = document.getElementById(receiverId).contentWindow;
		that.packetHandler = new PostMessagePacket(that.receiver, receiveCallback, id, receiverId);
		that._listener = that.packetHandler.createListener();
	};

	if (typeof window.postMessage == 'function') {
		_createReceiverForPostMessage();
	} else {
		_createReceiverForFragmentPacket();
	}

};

ParentMessenger.prototype.sendMessage = function(message) {
	var that = this;
	if (!this._ready) {

		window.setTimeout(function() { that.sendMessage(message); }, 10);
		return;
	}
	this.packetHandler.send(message);
	return true;
};

Dsq.NewFrames = function(url) {
	this.url = url;
};

Dsq.NewFrames.prototype.init = function(onFailure) {
	var that = this;

	try {
		this.messenger = new ParentMessenger(this.url, Dsq.jsonData.integration.receiver_url, this.container, this.receive_callback);
	} catch(e) {
		if (typeof onFailure == 'function') {
			onFailure();
		}
	}

	if (typeof onFailure == 'function') {
		var iId = window.setInterval(function() {
			if (typeof that.messenger == 'undefined') {
				window.clearInterval(iId);
				return;
			}
			if (that.messenger._ready) {
				window.clearInterval(iId);
			} else if (that.messenger._error) {
				window.clearInterval(iId);
				onFailure();
			}
		}, 10);
	}
};

Dsq.NewFrames.prototype._execute = function(method, args, callback) {
	var that = this;
	if (typeof that.messenger == 'undefined') {
		return false;
	}
	JsonRpc.execute(
		function(msg) { that.messenger.sendMessage(msg); },
		method,
		args || [],
		callback);
	return true;
};

Dsq.ReplyFrame = function(container, parent_post_id) {
	var that = this;
	this.container = container;
	this.parent_post_id = parent_post_id;

	var sendFunc = function(msg) {

		Dsq.Debug.log('Dsq.ReplyFrame.sendFunc');
		that.messenger.sendMessage(msg);
	};


	var postComment_onSuccess = function(response) {
		Dsq.jsonData.posts[response.message.id] = response.message.post_meta;
		if (!Dsq.jsonData.users[response.message.post_meta.user_key]) {
			Dsq.jsonData.users[response.message.post_meta.user_key] = response.message.user_meta;
		}


		var reply_position = (typeof(disqus_insert_wrt_sort) == 'undefined' 
			? (Dsq.jsonData.forum.reply_position ? -1 : null) 
			: (Dsq.jsonData.request.sort == 2 ? null : -1));
		
		if (response.message.post_meta.approved) {
			Dsq.Post.insert(response.message.post_meta.parent_post_id || reply_position, response.message.id, response.message.post_meta.message);
		}

		Dsq.Templates.postComment_onSuccess(response, parent_post_id, response.message.id);
	};

	var postComment_onFailure = function(response) {
		Dsq.Popup.popModal(response.message, 'Error');
		Dsq.Templates.postComment_onFailure(response, parent_post_id, response.message.id);
	};

	var editComment_onSuccess = function(response) {
		var post_id = parent_post_id;
		var message = Dsq.$('dsq-comment-message-' + post_id);
		
		message.innerHTML = response.message;
		Dsq.Templates.toggleEdit(post_id);
		Dsq.Templates.setLoadingButton(false);
	};
	
	var editComment_onFailure = function(response) {
		var post_id = parent_post_id;
		
		Dsq.Popup.popModal('Sorry, there was an error editing this comment.', 'Edit Error');
		Dsq.Templates.toggleEdit(post_id);
		Dsq.Templates.setLoadingButton(false);
	};

	var getUserByEmail_onSuccess = function(response) {
		var msg = response.message;
		var fields = Dsq.Templates.getFormFields(parent_post_id);

		if (msg.username) {

			Dsq.Templates.lightboxAuthenticate(parent_post_id, 'login', {
				'username': msg.username,
				'display_name': msg.display_name,
				'avatar_url': msg.avatar_url,
				'verified': msg.verified,
				'email': fields.email.value
			});
		} else {

			Dsq.Templates.lightboxAuthenticate(parent_post_id, 'register');
		}
	};

	var validateAuth_onSuccess = function(response, auth_choice) {
		Dsq.Templates.postComment(parent_post_id, null, true, auth_choice);
	};

	var validateAuth_onFailure = function(response, auth_choice) {
		var pid = parent_post_id ? '-' + parent_post_id : '';
		var msg = response.message;

		if (auth_choice == 'register') {
			var fields = ['email', 'username', 'password'];

			for (var i = 0; i < fields.length; i++) {
				var field = fields[i];
				var errorDiv = Dsq.$('dsq-' + field + '-errors' + pid);

				if (msg[field]) {
					errorDiv.innerHTML = msg[field];
				} else {
					errorDiv.innerHTML = '';
				}
			}
		} else if (auth_choice == 'login') {
			Dsq.$('dsq-lightbox-errors' + pid).innerHTML = '<p>We couldn\'t log you in. Please verify your login.</p>';
		}
		
		Dsq.Templates.setLoadingButton(false);
	};

	this.receive_callback = JsonRpc.createHandler(sendFunc, {
		'postComment.onSuccess': postComment_onSuccess,
		'postComment.onFailure': postComment_onFailure,
		'editComment.onSuccess': editComment_onSuccess,
		'editComment.onFailure': editComment_onFailure,		
		'getUserByEmail.onSuccess': getUserByEmail_onSuccess,
		'validateAuth.onSuccess': validateAuth_onSuccess,
		'validateAuth.onFailure': validateAuth_onFailure,
		'reload': function() { window.location.reload(); }
	});

	this.url = Dsq.Urls.REPLY +
		'?' + (new Date()).getTime() +
		'&f=scobleizer' +
		'&t=pivottable_this_video' +
		'&ff=' + Dsq.Thread.ff +
		'&default_text=' + encodeURIComponent(disqus_default_text) +
		'&ifrs=' + encodeURIComponent(disqus_iframe_css);
	if (this.parent_post_id) {
		this.url += '&parent_post=' + this.parent_post_id;
	}
};

Dsq.ReplyFrame.prototype = new Dsq.NewFrames(Dsq.ReplyFrame.url);

Dsq.ReplyFrame.prototype.post = function(author_name, author_email, author_url, authenticate, sharing_services, subscribe) {
	this._execute('postComment', [author_name, author_email, author_url, authenticate, sharing_services, subscribe]);
};

Dsq.ReplyFrame.prototype.edit = function(post_id, message) {
	this._execute('editComment', [post_id, message]);
};

Dsq.ReplyFrame.prototype.setState = function(parent_post_id, depth) {
	this._execute('setState', [parent_post_id, depth]);
};

Dsq.ReplyFrame.prototype.getUserByEmail = function(email) {
	this._execute('getUserByEmail', [email]);
};

Dsq.ReplyFrame.prototype.validateAuth = function(auth_choice, email, username, password) {
	this._execute('validateAuth', [auth_choice, email, username, password]);
};

Dsq.ReplyFrame.prototype.authenticateFacebook = function(session, forum_url) {
	this._execute('authenticateFacebook', [session, forum_url]);
};

	Dsq.Facebook = function() {
	var that = this;

	var handleSessionData = function(session) {

		var forum_url = Dsq.jsonData.forum.url;




		if (typeof disqus_facebook_forum != 'undefined') {
			forum_url = disqus_facebook_forum;
		}
		Dsq.frames.reply_0.authenticateFacebook(session, forum_url);
	};

	var onLogin = function() {
		FB.Connect.getSignedPublicSessionData(handleSessionData);
	};

	this.login = function() {
		FB.Connect.requireSession(onLogin, true);
	};
};
Dsq.Facebook = new Dsq.Facebook();


	






Dsq.Themes = {};

Dsq.Themes.narcissus = new function() {
	this.addPostContainer = 'dsq-form-area';
	this.textareaContainer = 'dsq-textarea-wrapper';



	
	this.header = function() {
		var comments_count, total_posts, num_posts;
		var html = '';
		var missing_perm_tmpl;

		if (Dsq.jsonData.request.missing_perm) {
			missing_perm_tmpl = Dsq.Templates.missingPermissions();
			if (missing_perm_tmpl) {
				html += '<div class="dsq-missing-permissions">' + missing_perm_tmpl + '</div>';
			}
		}

		total_posts = Dsq.jsonData.thread.total_posts;
		num_posts = Dsq.jsonData.thread.num_posts;

		if (total_posts) {
			comments_count = Dsq.FmtStrings.SHOWING_COMMENTS_FULL(total_posts, num_posts);
		} else {
			comments_count = Dsq.FmtStrings.SHOWING_COMMENTS_WITHOUT_PAGINATION(num_posts);
		}

		html += ' \
		<div id="dsq-comments-title"> \
			<h3>' + comments_count + '</h3> \
		</div> \
		';

		html += ' \
		<div class="dsq-options"> \
			<span class="dsq-item-sort">'
				+ Dsq.Strings.SORT_BY + ' \
				<select id="dsq-sort-select" onchange="Dsq.Thread.sortBy(this.value);"> \
					<option value="hot" ' + (Dsq.jsonData.request.sort == 4 ? 'selected="selected"' : '') + '>' + Dsq.Strings.POPULAR_NOW + '</option> \
					<option value="best" ' + (Dsq.jsonData.request.sort == 3 ? 'selected="selected"' : '') + '>' + Dsq.Strings.BEST_RATING + '</option> \
					<option value="newest" ' + (Dsq.jsonData.request.sort == 2 ? 'selected="selected"' : '') + '>' + Dsq.Strings.NEWEST_FIRST + '</option> \
					<option value="oldest" ' + (Dsq.jsonData.request.sort == 1 ? 'selected="selected"' : '') + '>' + Dsq.Strings.OLDEST_FIRST + '</option> \
				</select> \
				&nbsp; \
			</span> \
			<span class="dsq-subscribe-email"> \
				<img src="http://media.disqus.com/images/embed/email.png" style="width:12px;height:12px;vertical-align:middle"> \
				<span id="dsq-subscribe">'
					+ (Dsq.jsonData.context.subscribed
						? '<a href="#" onclick="Dsq.Thread.subscribe(0); return false">' + Dsq.Strings.UNSUBSCRIBE + '</a>'
						: '<a href="#" onclick="Dsq.Thread.subscribe(1); return false">' + Dsq.Strings.SUBSCRIBE_BY_EMAIL + '</a>')
				+ '</span> \
			</span> \
			<span class="dsq-subscribe-rss" style="width:12px;height:12px;vertical-align:middle"> \
				<img src="http://media.disqus.com/images/embed/bullet-feed.png" alt="" /> \
				<a href="http://scobleizer.disqus.com/pivottable_this_video/latest.rss">' + Dsq.Strings.SUBSCRIBE_BY_RSS + '</a> \
			</span> \
		</div> \
		';

		
		

		return html;

	};
	
	this.footer = function() {
		var html = '';

		html += Dsq.Templates.pagination();

		
		
			html += Dsq.Templates.realtime();
			html += Dsq.Templates.showThreadSettings();
			html += Dsq.Templates.postBox();

		html += Dsq.Templates.reactions();

		
			html += Dsq.Templates.trackbacks();
		


		if (Dsq.jsonData.request.is_global_moderator) {
 			html += ' \
				<div class="dsq-global-moderator-extras">'
					+ '<strong>shortname:</strong> ' + Dsq.jsonData.forum.url
					+ '<strong>thread id:</strong> ' + Dsq.jsonData.thread.id
					+ '<strong>thread slug:</strong> ' + Dsq.jsonData.thread.slug
				+ '</div> \
			';
		}

		return html;
	};
	
	this.realtime = function() {
		var html = '';
		
		if (Dsq.jsonData.realtime_enabled) {
			html += '<div id="dsq-realtime-options" class="dsq-options">'
					 + Dsq.Strings.REALTIME_UPDATING_IS + ' <strong id="dsq-realtime-status" style="text-transform: lowercase">' + Dsq.Strings.ENABLED + '</strong>. \
					 <a href="#" id="dsq-realtime-toggle" style="text-transform: capitalize"></a> \
					</div>';
		}

		if (!Dsq.jsonData.forum.streaming_realtime) {
			html += ' \
				<div style="display: none" id="dsq-realtime-alert" class="dsq-realtime-alert"><span id="dsq-realtime-queued"></span> <a href="#" id="dsq-realtime-show"></a></div> \
			';
		}
		
		return html;
	};

	this.showThreadSettings = function() {
		if (!Dsq.jsonData.request.is_moderator) {
			return '';
		}

		html = '<div id="dsq-thread-settings" class="dsq-thread-settings">' + Dsq.Strings.MODERATOR_OPTIONS;
		html += '<a href="#" onclick="Dsq.Thread.showSettings(); return false;">' + Dsq.Strings.SETTINGS + '</a>';
		html += '<a href="#" onclick="Dsq.Thread.showModeratorActions(); return false;">' + Dsq.Strings.MODERATE + '</a>';
		if (Dsq.jsonData.forum.reactions_enabled && Dsq.jsonData.reactions.length === 0) {
			html += '<a href="#" onclick="Dsq.Reaction.reportMissingReactions(); return false;">'
						+ Dsq.Strings.REPORT_MISSING_REACTIONS
						+ '</a>';
		}
		html +='</div>';

		return html;
	};

	this.postBox = function(post_id, use_fallback_iframe) {


		var html;
		var display_sharing_options = Dsq.jsonData.request.is_authenticated;

		if (!Dsq.jsonData.request.is_authenticated && Dsq.jsonData.forum.disqus_auth_disabled && !Dsq.jsonData.forum.allow_anon_post) {
			return '';
		}
		
		if (Dsq.jsonData.request.is_remote) {


			if (!Dsq.jsonData.request.sharing.hasOwnProperty(Dsq.jsonData.request.remote_domain)) {
				display_sharing_options = false;
			}
		}
		
		if (post_id) {
			var _meta = Dsq.jsonData.posts[post_id];
			var userData = Dsq.jsonData['users'][_meta.user_key];				
		}
		
		var pid = post_id ? '-' + post_id : '';

		var _requestUserInfo = function() {
			var html;



			var user_has_email = false;

			html = '<div class="dsq-request-user-info"> <!-- // If authenticated --> \
				<a href="' + Dsq.jsonData.settings.disqus_url + Dsq.Urls.LOGOUT + '?ctkn=' + Dsq.CSRF_TOKEN + '" class="dsq-request-user-logout">' + Dsq.Strings.LOGOUT + '</a> \
				<table> \
					<tr> \
						<td rowspan="2">'
							+ (!Dsq.jsonData.forum.disqus_auth_disabled ? '<a href="' + Dsq.jsonData.settings.disqus_url + Dsq.Urls.REQUEST_USER_PROFILE + '">' : '')
								+ '<img src="' + Dsq.Urls.REQUEST_USER_AVATAR + '" width="48" height="48" class="dsq-request-user-avatar">'
							+ (!Dsq.jsonData.forum.disqus_auth_disabled ? '</a>' : '')
						+ '</td> \
						<td class="dsq-request-user-name">'
								+ (Dsq.jsonData.request.is_remote
									 ? '<span class="dsq-badge-small dsq-badge-' + Dsq.jsonData.request.remote_domain + '">' + Dsq.jsonData.request.remote_domain + '</span>'
									 : (Dsq.jsonData.request.is_verified
											? '<span class="dsq-badge-small dsq-badge-verified">Verified</span>'
											: '<span class="dsq-badge-small dsq-badge-registered">Registered</span>'))
							+ (!Dsq.jsonData.forum.disqus_auth_disabled ? ' <a href="' + Dsq.jsonData.settings.disqus_url + Dsq.Urls.REQUEST_USER_PROFILE + '">' : '') 
								+ Dsq.jsonData.request.display_username 
							+ (!Dsq.jsonData.forum.disqus_auth_disabled ? '</a>' : '')
							+  (Dsq.jsonData.request.is_remote && user_has_email ? ' <small>(<a href="#" onclick="Dsq.Popup.remoteAccountSettings(); return false;">change settings</a>)</small>' : '')
							+  (!Dsq.jsonData.request.is_remote && !Dsq.jsonData.forum.disqus_auth_disabled ? ' <small>(<a href="' + Dsq.jsonData.settings.disqus_url + '/profile/info/" target="_blank">change name</a> or <a href="' + Dsq.jsonData.settings.disqus_url + '/profile/avatar/" target="_blank">picture</a>)</small>' : '')
						+ '</td> \
					</tr> \
					<tr> \
						<td class="dsq-request-user-stats"> \
							<span><big>' + Dsq.jsonData.request.comments_count + '</big> ' + (Dsq.jsonData.request.comments_count == 1 ? 'comment' : 'comments') + '</span> \
							<span><big>' + Dsq.jsonData.request.likes_count + '</big> ' + (Dsq.jsonData.request.likes_count == 1 ? 'like' : 'likes') + '</span> \
							<span><big>' + Dsq.jsonData.request.points + '</big> ' + (Dsq.jsonData.request.points == 1 ? 'point' : 'points') + '</span> \
						</td> \
					</tr> \
				</table> \
			</div> \
			';
			return html;
		};

		var _loginOptions = function() {
			var html;
			html = ' \
			<div class="dsq-authenticate"> \
				<p class="dsq-autheneticate-copy">'
				+ (Dsq.jsonData.forum.allow_anon_post
					? Dsq.Strings.YOU_ARE_COMMENTING_AS_A + ' <a class="dsq-help" title="Click for more information" href="#" onclick="Dsq.Popup.helpBadges(); return false">Guest</a>. ' + Dsq.Strings.OPTIONAL + ': ' + Dsq.Strings.LOGIN_BELOW + '.'
					: Dsq.Strings.REQUIRED + ': ' + Dsq.Strings.PLEASE_LOGIN_BELOW_TO_COMMENT + '.')
				+ '</p> \
				<ul class="dsq-login-buttons">'
					+ (!Dsq.jsonData.forum.disqus_auth_disabled ? '<li class="dsq-login-button"><a href="#" onclick="Dsq.Popup.login(); return false"><img src="http://media.disqus.com/images/themes/narcissus/login-disqus.gif" /></a></li>' : '')
					+ (Dsq.jsonData.context.use_fb_connect ? '<li class="dsq-login-button"><a href="#" onclick="Dsq.Facebook.login(); return false;"><img src="http://media.disqus.com/images/themes/narcissus/login-facebook.gif" /></a></li>' : '')
					+ (Dsq.jsonData.context.use_twitter_signin ? '<li class="dsq-login-button"><a href="#" onclick="Dsq.Twitter.startTwitterConnect(); return false"><img src="http://media.disqus.com/images/themes/narcissus/login-twitter.gif" /></a></li>' : '')
					+ (Dsq.jsonData.context.use_openid ? '<li class="dsq-login-button"><a href="#" onclick="Dsq.OpenID.requestURL(); return false" ><img src="http://media.disqus.com/images/themes/narcissus/login-openid.gif" /></a></li>' : '')
					+ (Dsq.jsonData.context.use_yahoo ? '<li class="dsq-login-button"><a href="#" onclick="Dsq.Yahoo.startYahooConnect(); return false"><img src="http://media.disqus.com/images/themes/narcissus/login-yahoo.gif" /></a></li>' : '')
				+ '</ul> \
			</div> \
			';
			return html;
		};

		if (!Dsq.jsonData.context.show_reply) {


			if (!Dsq.jsonData.request.is_authenticated) {



				return '<div id="dsq-form-area" style="display:none"><div id="dsq-textarea-wrapper"></div></div>' + _loginOptions();
			} else {
				return '';
			}
		}

		html = ' \
		<div id="' + (post_id 
			? 'dsq-reply-post-' + post_id
			: 'dsq-new-post')
		 	+ '" class="dsq-post-area"> \
			<div class="dsq-dc-logo"> \
				<a href="http://disqus.com/comments" target="_blank"><img src="http://media.disqus.com/images/themes/narcissus/disqus-logo.png"></a> \
			</div>'
			+ (post_id 
				? '<h3>' + Dsq.Strings.REPLYING_TO + ' ' + userData.display_name + '</h3>'
				: '<h3>' + Dsq.Strings.ADD_NEW_COMMENT + '</h3>')
			+ (Dsq.jsonData.request.is_authenticated 
				? _requestUserInfo()
				: _loginOptions() )
			+ '<div id="dsq-form-area' + pid + '">'
			+ '<div class="dsq-textarea"> \
				<div class="dsq-textarea-wrapper" id="dsq-textarea-wrapper' + pid + '"></div> \
			</div>'
			+ (!Dsq.jsonData.request.is_authenticated
			? ' \
			<div class="dsq-post-fields"> \
				<table> \
					<tr> \
						<td class="dsq-post-fields-left"><div class="dsq-input-wrapper"><input id="dsq-field-name' + pid + '" type="text" value="' + (disqus_def_name ? disqus_def_name : (Dsq.jsonData.session.name ? Dsq.jsonData.session.name : Dsq.Strings.NAME + '" class="dsq-placeholder')) + '" onfocus="Dsq.Templates.handlePlaceholder(event, this, \'name\')" onblur="Dsq.Templates.handlePlaceholder(event, this, \'name\')" /></div></td> \
						<td class="dsq-post-fields-right"><div class="dsq-input-wrapper"><input id="dsq-field-website' + pid + '" type="text" value="' + (Dsq.jsonData.session.url ? Dsq.jsonData.session.url : Dsq.Strings.WEBSITE + ' (' + Dsq.Strings.OPTIONAL.toLowerCase() + ')" class="dsq-placeholder') + '" onfocus="Dsq.Templates.handlePlaceholder(event, this, \'website\')" onblur="Dsq.Templates.handlePlaceholder(event, this, \'website\')" /></div></td> \
					</tr> \
					<tr> \
						<td class="dsq-post-fields-left"><div class="dsq-input-wrapper"><input id="dsq-field-email' + pid + '" type="text" value="' + (disqus_def_email ? disqus_def_email : (Dsq.jsonData.session.email ? Dsq.jsonData.session.email : Dsq.Strings.EMAIL + '" class="dsq-placeholder')) + '" onfocus="Dsq.Templates.handlePlaceholder(event, this, \'email\')" onblur="Dsq.Templates.handlePlaceholder(event, this, \'email\')" /></div></td> \
						<td class="dsq-post-fields-right"> \
							<div class="dsq-subscribe"> \
								<a href="#" onclick="Dsq.Templates.chooseSubscribe(' + post_id + '); return false" class="dsq-subscribe-menu"><span id="dsq-subscribe-select' + pid + '">' + (Dsq.jsonData.request.subscribe_on_post ? Dsq.Strings.SUBSCRIBE_TO_ALL_COMMENTS_BY_EMAIL : Dsq.Strings.DO_NOT_SUBSCRIBE_TO_COMMENTS) + '</span> <small>&#9660;</small></a> \
								<ul class="dsq-panel" id="dsq-subscribe-menu' + pid + '"> \
									<li><a href="#" onclick="Dsq.Templates.setSubscribe(2, this, ' + post_id + '); return false">' + Dsq.Strings.SUBSCRIBE_TO_ALL_COMMENTS_BY_EMAIL + '</a></li> \
									<li><a href="#" onclick="Dsq.Templates.setSubscribe(0, this, ' + post_id + '); return false">' + Dsq.Strings.DO_NOT_SUBSCRIBE_TO_COMMENTS + '</a></li> \
								</ul> \
								<input id="dsq-subscribe-on-post' + pid + '" type="hidden" value="' + Dsq.jsonData.request.subscribe_on_post + '" /> \
							</div> \
						</td> \
					</tr> \
				</table> \
			</div>'
			: '')
			+ '<div class="dsq-post-footer"> \
				<div class="dsq-sharing-options" ' + (!display_sharing_options ? 'style="display:none;"' : '') + '> \
					<button type="button" class="dsq-button-small" onfocus="document.getElementById(\'dsq-post-button' + pid + '\').focus();"><span>' + Dsq.Strings.SHARING_OPTIONS + ' <small>&#9660;</small></span></button> \
					<div class="dsq-panel"> '
						+ (Dsq.jsonData.request.sharing.twitter !== undefined
								&& Dsq.jsonData.request.sharing.twitter.enabled === true
							? '<div><input type="checkbox" id="dsq-sharing-twitter' + pid + '"'
								  + (Dsq.jsonData.request.sharing.twitter.auto === true ? 'checked=true' : '') + '/> \
									<label for="dsq-sharing-twitter' + pid + '">' + Dsq.Strings.SHARE_ON + ' Twitter</label> \
								 </div>'
							: '')
						+ (Dsq.jsonData.request.sharing.facebook
								&& (Dsq.jsonData.request.sharing.facebook.enabled === true ||
										(Dsq.jsonData.request.is_remote && Dsq.jsonData.request.remote_domain == 'facebook'))
							? '<div><input type="checkbox" id="dsq-sharing-facebook' + pid + '"'
									+ (Dsq.jsonData.request.sharing.facebook.auto === true ? 'checked=true' : '') + '/> \
									<label for="dsq-sharing-facebook' + pid + '">' + Dsq.Strings.SHARE_ON + ' Facebook</label> \
								 </div>'
							: '')
						+ (Dsq.jsonData.request.sharing.yahoo !== undefined
								&& Dsq.jsonData.request.sharing.yahoo.enabled === true
							? '<div><input type="checkbox" id="dsq-sharing-yahoo' + pid + '"'
									+ (Dsq.jsonData.request.sharing.yahoo.auto === true ? 'checked=true' : '') + '/> \
									<label for="dsq-sharing-yahoo' + pid + '">' + Dsq.Strings.SHARE_ON + ' Yahoo!</label> \
								</div>'
							: '')
						+ (Dsq.jsonData.request.sharing.tumblr !== undefined
								&& Dsq.jsonData.request.sharing.tumblr.enabled === true
							? '<div><input type="checkbox" id="dsq-sharing-tumblr' + pid + '"'
									+ (Dsq.jsonData.request.sharing.tumblr.auto === true ? 'checked=true' : '') + '/> \
									<label for="dsq-sharing-tumblr' + pid + '">' + Dsq.Strings.SHARE_ON + ' Tumblr</label> \
								 </div>'
							: '')
						+ (Dsq.jsonData.request.sharing.wordpress !== undefined
								&& Dsq.jsonData.request.sharing.wordpress.enabled === true
							? '<div><input type="checkbox" id="dsq-sharing-wordpress' + pid + '"'
									+ (Dsq.jsonData.request.sharing.wordpress.auto === true ? 'checked=true' : '') + '/> \
									<label for="dsq-sharing-wordpress' + pid + '">' + Dsq.Strings.SHARE_ON + ' Wordpress</label> \
								 </div>'
							: '')
						+ (Dsq.jsonData.request.sharing.movabletype !== undefined
							  && Dsq.jsonData.request.sharing.movabletype.enabled === true
							? '<div><input type="checkbox" id="dsq-sharing-movabletype' + pid + '"'
									+ (Dsq.jsonData.request.sharing.movabletype.auto === true ? 'checked=true' : '') + '/> \
									<label for="dsq-sharing-movabletype' + pid + '">' + Dsq.Strings.SHARE_ON + ' Movable Type</label> \
							   </div>'
							: '')
						+ (Dsq.jsonData.request.sharing.typepad !== undefined
							  && Dsq.jsonData.request.sharing.typepad.enabled === true
							? '<div><input type="checkbox" id="dsq-sharing-typepad' + pid + '"'
									+ (Dsq.jsonData.request.sharing.typepad.auto === true ? 'checked=true' : '') + '/> \
								  <label for="dsq-sharing-typepad' + pid + '">' + Dsq.Strings.SHARE_ON + ' TypePad</label> \
							   </div>'
							: '')
						+ '<div><a href="' + Dsq.jsonData.settings.disqus_url + '/profile/connections/" target="_blank" class="dsq-configure-options">' + Dsq.Strings.CONFIGURE_OPTIONS + '</a></div>'
					+ '</div> \
				</div>'
				+ '<button type="button" class="dsq-button" id="dsq-post-button' + pid + '" onclick="Dsq.Templates.postComment(' + post_id + ', this, false)"><span>' + Dsq.Strings.POST_AS + ' '
				+ (Dsq.jsonData.request.display_username
					? Dsq.jsonData.request.display_username
					: Dsq.Strings.GUEST)
				+ '</span></button>'
				+ (post_id
					? '<button type="button" class="dsq-button" id="dsq-cancel-button' + pid + '" onclick="Dsq.Post.toggleReply(' + post_id +', this)"><span>' + Dsq.Strings.CANCEL + '</span></button>'
					: '')
			+ '</div>'
			+ '</div>' // end dsq-form-area
		+ '</div> \
		';
		
		return html;
	};




	this.appendPost = function(post_id) {
		var html = '<div id="dsq-append-post-' + post_id + '"></div>';
		return html;
	};

	this.postPrependHeader = function(post_id) {
		var html;
		var _meta = Dsq.jsonData.posts[post_id];
		var userData = Dsq.jsonData['users'][_meta.user_key];
		
		html = ' \
		<table> \
			<tr> \
				<td id="dsq-header-avatar-' + post_id + '" class="dsq-header-avatar" onmouseover="Dsq.Post.dropProfile(' + post_id + ')"> \
					<a id="dsq-avatar-' + post_id + '" class="dsq-avatar" href="' + userData.url + '" onclick="Dsq.Popup.popProfile(' + post_id + '); return false;">'
					+ (Dsq.jsonData.forum.show_avatar
					? '<img src="' + Dsq.jsonData.users[_meta.user_key].avatar + '" alt="" />'
					: '')
				+ '</a> \
				</td> \
				<td class="dsq-comment-header-meta"> \
		';

		
		return html;
	};
	
	this.postAppendHeader = function(post_id) {
		var _meta = Dsq.jsonData.posts[post_id];
		var html;
		var parent_display_name = '';
		
		if(_meta.parent_post_id) {

			var _parent_meta = Dsq.jsonData.posts[_meta.parent_post_id];

			if (_parent_meta) {
				var parentUserData = Dsq.jsonData['users'][_parent_meta.user_key];
				parent_display_name = parentUserData.display_name;
			}
		}

		html = ' \
		<img src="http://media.disqus.com/images/themes/narcissus/moderator.png" class="dsq-moderator-star" title="Moderator" /> \
		<span class="dsq-comment-header-time"><a href="#comment-' + post_id + '" onclick="Dsq.Popup.permalink(' + post_id + ')" title="Permalink">' + (_meta.is_realtime ? Dsq.Strings.JUST_NOW : _meta.date) + '</a></span> '
		+ (_meta.parent_post_id && parent_display_name
			? '<a href="#comment-' + _meta.parent_post_id + '" title="Jump to comment">in reply to ' + parent_display_name + '</a>'
			: '')
		+ '</td> \
		<td id="dsq-like-pts-' + post_id + '" class="dsq-comment-header-likes">'
		+ (_meta.points
			? _meta.points + Dsq.Utils.pluralize(_meta.points, ' person', ' people') + ' liked this.'
			: '')
		+ '</td> \
		</tr> \
		</table> \
		';
		return html;
	};

	this.preBody = function(post_id) {
		var html = '';
		return html;
	};

	this.postFooter = function(post_id) {
		var html;
		var _meta = Dsq.jsonData.posts[post_id];
		if(_meta.killed || !_meta.approved) { return ''; }
		
		html = ' \
		<div class="dsq-comment-footer" id="dsq-comment-footer-' + post_id + '"> \
			<div class="dsq-comment-footer-left">'
				+ (Dsq.jsonData.request.is_moderator || Dsq.jsonData.request.is_global_moderator
					? '<a href="#" onclick="Dsq.Templates.moderateOptions(' + post_id+ '); return false">' + Dsq.Strings.MODERATE + '</a>'
					: '')
				+ '<a href="#" id="dsq-post-report-' + post_id + '" class="dsq-post-report" onclick="Dsq.Post.report(' + post_id + ', false); return false;">' + Dsq.Strings.FLAG + '</a> \
			</div> \
			<div class="dsq-comment-footer-right">'
				+ (_meta.votable 
					? '<span id="dsq-like-' + post_id + '" class="dsq-like">'
					+ (!_meta.up_voted
						? '<button type="button" class="dsq-button-small" onclick="Dsq.Post.rate(this, ' + post_id + ', 1)" >Like</button>'
						: 'You liked this.&nbsp;&nbsp;')
					+ '</span>'
					: '')
				+ (_meta.can_reply && !_meta.has_replies && _meta.from_request_user
					? '<button type="button" class="dsq-button-small dsq-post-edit" onclick="Dsq.Post.edit(this, ' + post_id + ')" >' + Dsq.Strings.EDIT + '</button>'
					: '')
				+ (_meta.can_reply
					? '<span class="dsq-comment-footer-reply" id="dsq-comment-footer-reply-' + post_id + '" onclick="Dsq.Post.toggleReply(' + post_id +', this)"> \
						<button type="button" class="dsq-button-small">' + Dsq.Strings.REPLY + '</button> \
						<button type="button" class="dsq-comment-footer-reply-tab">' + Dsq.Strings.REPLY + '</button><span></span> \
					</span>'
					: '')
			+ '</div> \
		</div> \
		';
		
		return html;
	};



	
	this.showRetweets = function(id, limit, element_id /* Optional */) {
		var source, html = '';

		for (var i = 0, reaction; reaction = Dsq.jsonData.reactions[i]; i++) {
			if (reaction.id === id) {
				source = reaction.retweets;
			}
		}

		if (source) {
			if (limit === 0) {
				limit = source.length;
			}

			for (var j = 0; j < limit; j++) {
				var rt = source[j];
				html += '<a href="' + rt.url + '">' + rt.author_name + '</a>'	+ ((j === (limit - 1)) ? '.' : ', ');
			}
		}

		if (element_id === undefined) {
			return html;
		}

		var element = document.getElementById(element_id);
		element.innerHTML = html;
		return element;
	};

	this.showMoreReactions = function(reactions, has_more, start, limit) {
		var link = document.getElementById('dsq-show-more-reactions');
		var container = link.parentNode;
		container.removeChild(link);

		for (var i = 0, reaction; reaction = reactions[i]; i++) {
			var el = Dsq.Templates.generateReactionHTML(reaction);
			if (el) {
				container.innerHTML += el;
			}
		}

		if (has_more) {
			var d = Dsq.jsonData.settings.disqus_url;
			var f = Dsq.jsonData.forum.url;
			var t = Dsq.jsonData.thread.id;
			var s = start;
			var l = limit;

			var handler = 'Dsq.Utils.execScript(\'' + d + '/forums/' + f + '/more_reactions.js?t=' + t + '&s=' + s + '&l=' + l + '\', true); return false;';
			container.innerHTML += '<li id="dsq-show-more-reactions" class="dsq-show-more-reactions"><button type="button" class="dsq-button-small" onclick="' + handler + '">Show more reactions</button></li>';
		}
	};

	this.generateReactionHTML = function(reaction) {
		if (reaction.body === null || reaction.body == '') {
			return;
		}

		if (reaction.author_name === '') {
			reaction.author_name = '&nbsp;';
		}

		if (reaction.url === '') {
			reaction.url = reaction.get_service_url;
		}

		var item = '<li class="dsq-comment dsq-reaction" id="dsq-reaction-' + reaction.id + '">'
			+ '<div class="dsq-comment-header"> \
			<table> \
			<tr> \
			<td class="dsq-header-avatar"> \
			';

		if (reaction.author_url && reaction.author_url !== '') {
			item += '<a target="_blank" href="' + reaction.author_url +'" class="dsq-avatar">';
		}

		if (reaction.avatar_url && reaction.avatar_url !== '') {
			item += '<img src="' + reaction.avatar_url + '"/>';
		} else {

			item += '<img src="' + Dsq.jsonData.media_url + '/images/noavatar92.png"/>';
		}

		var service_icon = (reaction.get_service_name == 'trackback' || reaction.get_service_name == 'pingback' ? 'rss' : reaction.get_service_name.replace(' ', ''));
		item += (reaction.author_url && reaction.author_url !== ''
				? '</a>'
				: '')
			+ '</td>'
			+ '<td><cite class="dsq-comment-cite">' + reaction.author_name + '</cite> <span class="dsq-comment-header-time">' + reaction.date_created + '</span></td>'
			+ '<td class="dsq-comment-header-likes"></td>'
			+ '</tr></table></div>' // end dsq-comment-header
			+ '<div class="dsq-reaction-header" \
				<table> \
					<tr> \
						<td class="dsq-reaction-header-left">'
							+ '<img class="dsq-service-icon" src="' + Dsq.jsonData.media_url + '/images/reactions/services/' + service_icon + '.png" />'
							+ ' From <a class="dsq-service-name" target="_blank" href="' + reaction.url + '">' + reaction.get_service_name + '</a> '
							+ 'via <a href="' + reaction.source_url + '">' + (reaction.source == 'backtype' ? 'BackType' : 'UberVU') + '</a>'
						+ '</td>'
						+ '<td class="dsq-reaction-header-right">';

			if(reaction.retweets) {
				var num_retweets = reaction.retweets.length;
				if (num_retweets > 0) {
					if (num_retweets == 1) {
						item += 'One more retweet from <a href="' + reaction.retweets[0].url + '">'  + reaction.retweets[0].author_name + '</a>';
					} else {
						item += (num_retweets + ' more retweets from ');
						item += '<span id="dsq-reaction-retweets-' + reaction.id + '">';
						var n_tweets = (num_retweets > 3) ? 3 : num_retweets;
						item += Dsq.Templates.showRetweets(reaction.id, n_tweets);
						if (n_tweets != num_retweets) {
							item += '</span> <a onclick="Dsq.Templates.showRetweets(' + reaction.id + ', 0, \'dsq-reaction-retweets-' + reaction.id + '\');'
								+ 'this.parentNode.removeChild(this); return false;" href="#">Show all</a>';
						}
					}
				}
			}	
			item += '</td></tr> \
			</table> \
			</div>' // end dsq-reaction-header
			+ '<div class="dsq-comment-body"> \
				<div class="dsq-comment-message">' + reaction.body + '</div>'
			+ '</div> \
			<div class="dsq-comment-footer"> \
				<div class="dsq-comment-footer-left"> \
				</div>'
				+ (Dsq.jsonData.request.is_moderator || Dsq.jsonData.request.is_global_moderator 
					? ' \
					<div class="dsq-comment-footer-right"> \
						<button type="button" class="dsq-button-small dsq-hide-reaction" onclick="Dsq.Reaction.hide(' + reaction.id + ')">Hide</button> \
					</div>'
					: '')
			+ '</div>'
		item += '</li>'; /* Reaction HTML ends */
		return item;
	};

	this.reactions = function() {
		var html, reaction;

		if (Dsq.jsonData.reactions === undefined || Dsq.jsonData.reactions.length === 0) {
			return '';
		}

		html = '';
		for (var i = 0; reaction = Dsq.jsonData.reactions[i]; i++) {
			var item = Dsq.Templates.generateReactionHTML(reaction);
			if (item) {
				html += item;
			}
		}

		if (Dsq.jsonData.has_more_reactions) {
			var d = Dsq.jsonData.settings.disqus_url;
			var f = Dsq.jsonData.forum.url;
			var t = Dsq.jsonData.thread.id;
			var s = Dsq.jsonData.reactions_start;
			var l = Dsq.jsonData.reactions_limit;

			var handler = 'Dsq.Utils.execScript(\'' + d + '/forums/' + f + '/more_reactions.js?t=' + t + '&s=' + s + '&l=' + l + '\', true); return false;';
			html += '<li id="dsq-show-more-reactions" class="dsq-show-more-reactions"><button type="button" class="dsq-button-small" onclick="' + handler + '">Show more reactions</button></li>';
		}

		return '<h3 id="dsq-reactions-title" class="dsq-h3-reactions">Reactions</h3><ul id="dsq-reactions" class="dsq-reactions">' + html + '</ul>';
	};
	
	this._popupGeneric = function(content) {
		return ' \
		<div class="dsq-popup-container"> \
			<table> \
				<tbody> \
					<tr> \
						<td class="dsq-popup-tl"></td><td class="dsq-popup-b"></td><td class="dsq-popup-tr"></td> \
					</tr> \
					<tr> \
						<td class="dsq-popup-b"></td> \
						<td class="dsq-popup-body"> \
							<div class="dsq-popup-content"> \
								<div class="dsq-popup-title"> \
									<button type="button" class="dsq-button-small" style="float:right" onclick="Dsq.Popup._closePopup(null, true)">Close</button>'
									+ content['header'] 
								+ '</div>'
								+ content['body']
							+ '</div> \
							<div class="powered-by"><a href="http://disqus.com/comments/">Powered by <img src="http://media.disqus.com/images/embed/disqus-logo.png" alt="Disqus Comments" style="margin-bottom:-5px" /></a></div> \
						</td> \
						<td class="dsq-popup-b"></td> \
					</tr> \
					<tr> \
						<td class="dsq-popup-bl"></td><td class="dsq-popup-b"></td><td class="dsq-popup-br"></td> \
					</tr> \
				</tbody> \
			</table> \
		</div> \
		';
	};



	
	this.chooseSubscribe = function(post_id) {

		var pid = post_id ? '-' + post_id : '';
		var menu = Dsq.$('dsq-subscribe-menu' + pid);
		
		menu.style.display = menu.style.display == 'block' ? 'none' : 'block';
		
	};
	
	this.setSubscribe = function(value, el, post_id) {

		var pid = post_id ? '-' + post_id : '';
		var input = Dsq.$('dsq-subscribe-on-post' + pid);
		var select = Dsq.$('dsq-subscribe-select' + pid);
		var menu = Dsq.$('dsq-subscribe-menu' + pid);
		
		select.innerHTML = el.innerHTML;
		input.value = value;
		this.chooseSubscribe(post_id);
	};
	
	this.getFormFields = function(post_id) {

		var fields = {};
		var pid = post_id ? '-' + post_id : '';
		var name = Dsq.$('dsq-field-name' + pid);
		var email = Dsq.$('dsq-field-email' + pid);
		var website = Dsq.$('dsq-field-website' + pid);
		var username = Dsq.$('dsq-field-username' + pid);
		var password = Dsq.$('dsq-field-password' + pid);

		fields = {
			'name': name,
			'email': email,
			'website': website,
			'username': username,
			'password': password
		}
		
		return fields;
	}
	
	this.validateFields = function(post_id) {
		
		if(Dsq.jsonData.request.is_authenticated) { return true; }
		
		var fields = Dsq.Templates.getFormFields(post_id);
		
		var nameField = fields.name;
		var websiteField = fields.website;
		var emailField = fields.email;
		
		websiteField.value = (websiteField.value == Dsq.Templates.placeholder['website']) ? '' : websiteField.value;
		
		var v = [{

			validator: Dsq.Validators.name,
			value: nameField.value
		}, {

			validator: Dsq.Validators.email,
			value: emailField.value
		}, {

			validator: Dsq.Validators.url,
			value: websiteField.value
		}];
		
		return Dsq.Validators.validate(v, function(e) { Dsq.Popup.popModal(e, 'Oops...') } );
	};
	
	this.checkExistingUser = function(post_id) {
		var fields = Dsq.Templates.getFormFields(post_id);		
		Dsq.Popup.loading(post_id);
		
		if (post_id) {
			Dsq.frames['reply_' + post_id].getUserByEmail(fields.email.value);
		} else {
			Dsq.frames['reply_0'].getUserByEmail(fields.email.value);
		}
	};

	this.validateAuth = function(el_clicked, post_id, auth_choice) {
		var fields = Dsq.Templates.getFormFields(post_id);
		var email = fields.email ? fields.email.value : '';
		var username = fields.username ? fields.username.value : '';
		var password = fields.password ? fields.password.value : '';
		
		Dsq.Templates.setLoadingButton(el_clicked, post_id);
		
		if (post_id) {
			Dsq.frames['reply_' + post_id].validateAuth(auth_choice, email, username, password);
		} else {
			Dsq.frames['reply_0'].validateAuth(auth_choice, email, username, password);
		}
	};

	this.lightboxUpdateEmail = function(post_id, new_email) {
		var fields = Dsq.Templates.getFormFields(post_id);
		fields.email.value = new_email;
	};

	this.lightboxAuthenticate = function(post_id, auth_choice, auth_data) {
		var title, body;
		var pid = post_id ? '-' + post_id : '';

		if(typeof(auth_data) == 'undefined') {
			var auth_data = Dsq.Templates.getFormFields(post_id);
		}

		d = auth_data;

		switch(auth_choice) {
			case 'register':
				var suggestedUsername = d.name.value.replace(/[^a-zA-Z0-9-]/g,'').toLowerCase();
			
				title = Dsq.jsonData.forum.allow_anon_post ? 'Optional:' : 'Required:';
				title += ' Register a <img src="http://media.disqus.com/images/embed/disqus-profile.png" alt=Disqus Profile" />';

				body = ' \
				<ul class="dsq-lightbox-register-reasons"> \
				<li>Verify your comments</li> \
				<li>Edit and delete comments</li> \
				<li>Manage comments and replies</li> \
				</ul> \
				';

				body += ' \
				<div class="dsq-lightbox-auth-fields"> \
					<table> \
						<tr> \
							<td>Email</td> \
							<td><input type="text" value="' + d.email.value + '" onchange="Dsq.Templates.lightboxUpdateEmail(' + post_id + ', this.value)" /><div id="dsq-email-errors' + pid + '"></div></td> \
						</tr> \
						<tr> \
							<td>Username</td> \
							<td><input id="dsq-field-username' + pid + '" type="text" value="' + suggestedUsername + '"/><div id="dsq-username-errors' + pid + '"></div></td> \
						</tr> \
						<tr> \
							<td>Password</td> \
							<td><input id="dsq-field-password' + pid + '" type="password" /><div id="dsq-password-errors' + pid + '"></div></td> \
						</tr> \
					</table> \
					<div class="dsq-lightbox-switch-auth"><a href="#" onclick="Dsq.Templates.lightboxAuthenticate(' + post_id + ',\'login\'); return false">Login instead</a></div> \
				</div> \
				<div id="dsq-lightbox-errors' + pid + '" class="dsq-lightbox-errors"></div> \
				<div class="dsq-lightbox-submit"> \
					<div class="dsq-lightbox-auth-post"><button type="button" class="dsq-button" onclick="Dsq.Templates.validateAuth(this, ' + post_id + ',\'' + auth_choice + '\')">Register and Post comment</button></div>'
					+ (Dsq.jsonData.forum.allow_anon_post
						? '<div class="dsq-lightbox-auth-skip"><button type="button" class="dsq-button-small" onclick="Dsq.Templates.postComment(' + post_id + ', this, true)">Just post as a Guest</button></div>'
						: '')
				+ '</div> \
				';
				break;
			case 'login':
				title = Dsq.jsonData.forum.allow_anon_post ? 'Optional:' : 'Required:';
				title += ' Login to your <img src="http://media.disqus.com/images/embed/disqus-profile.png" alt=Disqus Profile" />';
				body = '';
				
				if(d.avatar_url) {
					body += '<div class="dsq-lightbox-recognized"><table><tr>';
					body += '<td><img src="' + d.avatar_url + '" alt="" /></td>';
					body += '<td><span class="dsq-badge ' + (d.verified ? 'dsq-badge-verified' : 'dsq-badge-registered') + '">' + (d.verified ? 'Verified' : 'Registered') + '</span></td>';
					body += '<td>Hey <strong>' + d.display_name + '</strong>, is that you? Login below to claim this comment.';
					body += '</tr></table></div>';
				}

				body += ' \
				<div class="dsq-lightbox-auth-fields"> \
					<table> \
						<tr> \
							<td>Username or Email</td> \
							<td><input id="dsq-field-username' + pid + '" type="text" value="' + (d.avatar_url ? d.username : '') + '" /></td> \
						</tr> \
						<tr> \
							<td>Password <a href="http://disqus.com/forgot" target="_blank">(cannot log in?)</a></td> \
							<td><input id="dsq-field-password' + pid + '" type="password" /></td> \
						</tr> \
					</table> \
					<div class="dsq-lightbox-switch-auth"><a href="#" onclick="Dsq.Templates.lightboxAuthenticate(' + post_id + ',\'register\'); return false">Register instead</a></div> \
				</div> \
				<div id="dsq-lightbox-errors' + pid + '" class="dsq-lightbox-errors"></div> \
				<div class="dsq-lightbox-submit"> \
					<div class="dsq-lightbox-auth-post"><button type="button" class="dsq-button" onclick="Dsq.Templates.validateAuth(this, ' + post_id + ',\'' + auth_choice + '\')">Login and Post comment</button></div>'
					+ (Dsq.jsonData.forum.allow_anon_post
						? '<div class="dsq-lightbox-auth-skip"><button type="button" class="dsq-button-small" onclick="Dsq.Templates.postComment(' + post_id + ', this, true)">Just post as a Guest</button></div>'
						: '')
				+ '</div> \
				';
				break;
			default:
				break;
		}
		Dsq.Popup.lightbox(body, title, post_id);
		Dsq.$('dsq-field-username' + pid).focus();
	};
	
	this.buttonsToRestore = [];
	this.setLoadingButton = function(btn, post_id) {
		var pid = post_id ? '-' + post_id : '';
		if (btn) {

			var loadingBtn = document.createElement('button');
			loadingBtn.id = btn.id + '-loading';
			loadingBtn.innerHTML = '<img src="http://media.disqus.com/images/loading-lite.gif" alt="" /> ' + Dsq.Strings.JUST_A_MOMENT;
			loadingBtn.className = btn.className + ' dsq-post-loading';
			btn.parentNode.appendChild(loadingBtn);
			btn.style.display = 'none';
			var cancelBtn = Dsq.$('dsq-cancel-button' + pid);
			if(cancelBtn) { cancelBtn.style.display = 'none'; this.buttonsToRestore.push(cancelBtn); }
			this.buttonsToRestore.push(btn);
		} else {

			var buttons = this.buttonsToRestore;
			for(var i = 0; i < buttons.length; i++) {
				buttons[i].style.display = 'inline';
				Dsq.Utils.deleteNode(Dsq.$(buttons[i].id + '-loading'));
			}
		}
		
	};

	this.postComment = function(post_id, el_clicked, force, auth_choice) {
		var append_id = post_id ? '-' + post_id : '';
		var fields = Dsq.Templates.getFormFields(post_id);

		if (Dsq.Templates.validateFields(post_id)) {

			if (!Dsq.jsonData.request.is_authenticated && !force &&
				((!Dsq.Utils.readCookie('skipped_auth') && !disqus_skip_auth && !Dsq.jsonData.forum.disqus_auth_disabled) || !Dsq.jsonData.forum.allow_anon_post)) {
				Dsq.Templates.checkExistingUser(post_id);
				return false;
			}
			var params = [];
			if (!Dsq.jsonData.request.is_authenticated) {
				params.push(fields.name.value,
					fields.email.value,
					fields.website.value);

				if (auth_choice == 'login' || auth_choice == 'register') {
					params.push({
						auth_choice: auth_choice,
						username: fields.username.value,
						password: fields.password.value,
						email: fields.email.value
					});
				} else {
					params.push(null);
				}

				params.push(null /* sharing options */, Dsq.$('dsq-subscribe-on-post' + append_id).value);
			} else {
				var service_checked = function(name) {
					var el = Dsq.$('dsq-sharing-' + name + append_id);
					return (el !== null && el.checked === true) ? '1' : '0';
				};
				params.push(null, null, null, null, {
					tw: service_checked('twitter'),
					fb: service_checked('facebook'),
					tr: service_checked('tumblr'),
					wp: service_checked('wordpress'),
					mt: service_checked('movabletype'),
					tp: service_checked('typepad'),
					yh: service_checked('yahoo')
				});
			}

			var frame = Dsq.frames['reply_' + (post_id ? post_id : 0)];
			frame.post.apply(frame, params);

			if (el_clicked) {
				Dsq.Templates.setLoadingButton(el_clicked, post_id);
			}
			
			if (force) {
				Dsq.Utils.createCookie('skipped_auth', true);	
			}
			
		} else {
			return false;
		}
	};

	this.editComment = function(el_clicked, post_id) {
		var edited_message = Dsq.$('dsq-edit-textarea-' + post_id).value;

		Dsq.Templates.setLoadingButton(el_clicked, post_id);
		Dsq.frames['edit_' + post_id].edit(post_id, edited_message);
	};

	this.toggleEdit = function(post_id) {
		var body = Dsq.$('dsq-comment-body-' + post_id);
		var message = Dsq.$('dsq-comment-message-' + post_id);

		if (!Dsq.Post.stateEditToggled[post_id]) {


			message.style.display = 'none';
			if (Dsq.$('dsq-edit-' + post_id)) {
				Dsq.$('dsq-edit-' + post_id).style.display = 'block';
			} else {

				var edit_area = document.createElement('div');
				edit_area.id = 'dsq-edit-' + post_id;
				edit_area.className = 'dsq-edit dsq-textarea';
				edit_area.innerHTML = ' \
				<div class="dsq-textarea-wrapper"> \
					<textarea class="dsq-edit-textarea" id="dsq-edit-textarea-' + post_id + '">' + message.innerHTML + '</textarea> \
				</div> \
				<div class="dsq-save-edit"> \
					<button type="button" onclick="Dsq.Templates.editComment(this, ' + post_id + ')" class="dsq-button-small">Save Edit</button> \
				</div> \
				<div id="dsq-edit-iframe-' + post_id + '" style="display: none"></div> \
				';

				body.appendChild(edit_area);

				if (!Dsq.frames['edit_' + post_id]) {
					var _meta = Dsq.jsonData.posts[post_id];
					Dsq.frames['edit_' + post_id] = new Dsq.ReplyFrame(Dsq.$('dsq-edit-iframe-' + post_id), post_id);
					Dsq.frames['edit_' + post_id].init();
					Dsq.frames['edit_' + post_id].setState(post_id, _meta.depth);
				}
			}
		} else {

			message.style.display = 'block';
			Dsq.$('dsq-edit-' + post_id).style.display = 'none';
		}
		
		Dsq.Post.stateEditToggled[post_id] = !Dsq.Post.stateEditToggled[post_id];
	};
	
	this.edit = function(el, post_id) {

		Dsq.Templates.toggleEdit(post_id);
	};

	this.toggleReply = function(post_id, button) {
		
		if(!this.stateReplyToggled[post_id]) {

			if (Dsq.$('dsq-reply-post-' + post_id)) {
				Dsq.$('dsq-append-post-' + post_id).style.display = 'block';
			} else {
				Dsq.$('dsq-append-post-' + post_id).innerHTML = Dsq.Templates.postBox(post_id);
				var container = Dsq.$('dsq-textarea-wrapper-' + post_id);
				if (!Dsq.frames['reply_' + post_id] && container) {
					var _meta = Dsq.jsonData.posts[post_id];
					Dsq.frames['reply_' + post_id] = new Dsq.ReplyFrame(container, post_id);
					Dsq.frames['reply_' + post_id].init(function() {

						Dsq.$('dsq-append-post-' + post_id).innerHTML = Dsq.Templates.postBox(post_id, true);
						Dsq.$('dsq-form-area-' + post_id).innerHTML = '';

						var theme = (typeof disqus_frame_theme == 'undefined') ? 'default' : disqus_frame_theme;
						Dsq.Iframes.showReplyIframeInContainer(Dsq.$('dsq-form-area-' + post_id), post_id, {theme: theme});

					});
					Dsq.frames['reply_' + post_id].setState(post_id, _meta.depth);
				}
			}
			Dsq.$('dsq-append-post-' + post_id).className = 'dsq-append-post';
			Dsq.$('dsq-comment-footer-reply-' + post_id).className = 'dsq-comment-footer-reply-active';
			
		} else {

			Dsq.$('dsq-append-post-' + post_id).style.display = 'none';
			Dsq.$('dsq-append-post-' + post_id).className = '';
			Dsq.$('dsq-comment-footer-reply-' + post_id).className = 'dsq-comment-footer-reply';
		}
		
		this.stateReplyToggled[post_id] = !this.stateReplyToggled[post_id];

		if(Dsq.Utils.ie && this.stateReplyToggled[post_id]) {

		}

		Dsq.Events.fire(Dsq.Events.REPLY_IFRAME_TOGGLED, {
			postId: post_id,
			opened: this.stateReplyToggled[post_id]
		});
	};
	
	this.moderateOptions = function(post_id) {
		var _meta = Dsq.jsonData.posts[post_id];
		var userData = Dsq.jsonData['users'][_meta.user_key];
		
		if(!Dsq.jsonData.request.is_moderator && !Dsq.jsonData.request.is_global_moderator) { return false; }

		var html;
		
		html = ' \
		<div class="dsq-moderate-options"> \
		<table>'
		+ (_meta.email ? '<tr><td>Email</td><td>' + _meta.email + '</td></tr>' : '')
		+ (_meta.ip ? '<tr><td>IP address</td><td>' + _meta.ip + '</td></tr>' : '')
		+ '<tr> \
			<td>Actions</td> \
			<td><ul>'
			+ (Dsq.jsonData.request.moderator_can_edit
				? '<li><a href="#" onclick="Dsq.Post.edit(this, ' + post_id + '); Dsq.Popup._closePopup(null, true); return false;">Edit Comment</a></li>'
				: '')
			+ '<li><a href="#" onclick="Dsq.Post.removePost(' + post_id + ', 1); Dsq.Popup._closePopup(null, true); return false;">Delete Comment</a></li> \
			<li><a href="#" onclick="Dsq.Post.reportSpam(' + post_id + '); Dsq.Popup._closePopup(null, true); return false;">Mark Spam</a></li> \
			<li><a href="#" onclick="Dsq.Popup.blacklist(' + post_id + '); return false">Block User</a></li> \
			</ul></td> \
			</table> \
		</div> \
		';
		
		html += '<p>Go to the full <a href="http://disqus.com/comments/moderate/" target="_blank">moderate panel</a> for more options.</p>';
		
		return Dsq.Popup.popModal(html, 'Moderate Options', post_id);
	};
	
	this.placeholder = {
		'class': 'dsq-placeholder',
		'name': Dsq.Strings.NAME,
		'email': Dsq.Strings.EMAIL,
		'website': Dsq.Strings.WEBSITE + ' (' + Dsq.Strings.OPTIONAL.toLowerCase() + ')'
	};
	
	this.handlePlaceholder = function(evt, el, key) {
		var placeholder = Dsq.Templates.placeholder[key];
		var className = Dsq.Templates.placeholder['class'];
		
		switch(evt.type) {
			case 'focus':
				if(el.value == placeholder) {
					el.value = '';
					el.className = '';
				}
				break;

			case 'blur':
				if(el.value == '') {
					el.value = placeholder;
					el.className = className;
				}
				break;
			default:
				break;
		}
	};
	
	this.paginate = function(page, el_clicked) {

		var extra_params = '';

		if(typeof disqus_per_page != 'undefined') {
			extra_params += '&per_page=' + disqus_per_page;
		}
		if(typeof disqus_sort != 'undefined') {
			extra_params += '&sort=' + disqus_sort;
		}

		Dsq.$('dsq-pagination').innerHTML += '<img src="http://media.disqus.com/images/loading-small.gif">';
		
		if(el_clicked) {
			Dsq.Templates.setLoadingButton(el_clicked);
		}
		
		Dsq.Utils.execScript('http://disqus.com/forums/scobleizer/thread.js'
			+ '?slug='	+ 'pivottable_this_video'
			+ '&p='		+ page
			+ extra_params);
	};
	
	
	this.rate = function(el, id, vote) {


		if(Dsq.jsonData.request.is_authenticated || Dsq.jsonData.forum.allow_anon_votes) {
			if(vote == 1) {
				Dsq.$('dsq-like-' + id).innerHTML = '<img src="http://media.disqus.com/images/loading-small.gif">';
			}
			Dsq.Utils.execScript('http://disqus.com/forums/scobleizer/vote.js'
				+ '?post_id='    + id
				+ '&vote='        + vote);
		} else {
			Dsq.Popup.login('To rate, please log in');
		}
	};

	this.voted = function(post_id, points, vote) {

		Dsq.$('dsq-like-pts-' + post_id).innerHTML = points + Dsq.Utils.pluralize(points, ' person', ' people') + ' liked this.';

		if(vote) {
			Dsq.$('dsq-like-' + post_id).innerHTML = 'You liked this.&nbsp;&nbsp;';
		}
	};




	this.postComment_onSuccess = function(response, parent_post_id, post_id) {
		var approved = response.message.post_meta.approved;

		if (parent_post_id) {
			Dsq.Post.toggleReply(parent_post_id);
		}

		Dsq.Popup._closePopup(null, true);
		
		if (approved) {
			Dsq.Post.incrementPostCount();
			Dsq.Post.outlineComment(post_id);
		} else {			
			var unapproved_msg = 'Thanks for posting!\
	 Your comment must be approved by a moderator before appearing here.\
			';
			Dsq.Popup.popModal(unapproved_msg, 'Comment awaiting approval', post_id);
		}

		var sharing_results = response.message.sharing_results;
		var sharing_errors = '';
		for (var service in sharing_results) {
			if (sharing_results.hasOwnProperty(service) === true) {
				if (sharing_results[service].error === true) {
					sharing_errors += service + ', ';
				}
			}
		}

		if (sharing_results.facebook && sharing_results.facebook.callback) {
			FB.ensureInit(function() {
				FB.Connect.streamPublish('', sharing_results.facebook.attachment);
			});
		}

		if (sharing_errors !== '') {
			var message = 'Your comment was posted, but there were errors sharing with the following connections: ';
			message += sharing_errors.replace(/,\s$/, '');
			message += '<p><a href="' + Dsq.jsonData.settings.disqus_url + '/profile/connections" target="_blank">Configure your connections here</a></p>'
			Dsq.Popup.popModal(message, 'Sharing options');
		}

		Dsq.Templates.setLoadingButton(false);
	};

	this.postComment_onFailure = function(response, parent_post_id, post_id) {

		Dsq.Templates.setLoadingButton(false);
	};
};




// TODO: It might be faster to use string methods to find all <li (...) </li> blocks and pass to Dsq.PostHandler manually.
Dsq.CommentsHandler = function(str, head, post_id, content, tail, offset, s) {
	var prepend_post = Dsq.Templates.prependPost(post_id);
	var append_post = Dsq.Templates.appendPost(post_id);

	content = content.replace(Dsq.POST_RE, Dsq.PostHandler);
	Dsq.Templates.postLoopCounter++;
	head = Dsq.Templates.Filters.commentContainer(post_id, head);
	return prepend_post + head + content + tail + append_post;
};

Dsq.PostHandler = function(str, h_head, post_id, h_content, h_tail, b_head, b_content, b_tail, offset, s) {
	var prepend_header = Dsq.Templates.postPrependHeader(post_id);
	var append_header = Dsq.Templates.postAppendHeader(post_id);
	var prepend_body = Dsq.Templates.preBody(post_id);
	var append_body = Dsq.Templates.postBody(post_id);
	var append_footer = Dsq.Templates.postFooter(post_id);

	b_content = b_content.replace(Dsq.POST_BODY_RE, Dsq.PostBodyHandler);
	return h_head + prepend_header + h_content + append_header + h_tail + b_head + prepend_body + b_content + append_body + b_tail + append_footer;
};

Dsq.PostBodyHandler = function(str, head, post_id, content, tail, offset, s) {
	content = Dsq.Templates.Filters.commentContent(post_id, content);
	return head + content + tail;
};

Dsq.MediaPostHandler = function(str, args, offset, s) {
	args = args.split(' ');
	if(args[0] == 'seesmic') {
		return '<br />' + Dsq.Templates.mediaSeesmic(args[1], args[2]);
	}
	return '';
};


/**
 * Shorcuts
 */
Dsq.$ = function(element) { return document.getElementById(element); };
Dsq.$b = document.body || document.getElementsByTagName('body')[0];


/**
 * Dsq.Debug: Logging functions.
 */

Dsq.Debug = new function() {this.log=function(s){};this.profile=function(f){if(typeof f == 'function')return f();else return eval(f);};};


/**
 * Dsq.Urls: URL paths
 */
Dsq.Urls = new function() {
	this.LOGIN = '/profile/login/';
	this.LOGOUT = '/logout/';
	this.REPLY = 'http://scobleizer.disqus.com/pivottable_this_video/reply.html';
	this.REQUEST_USER_PROFILE = '/AnonymousUser/';
	this.REQUEST_USER_AVATAR = 'http://media.disqus.com/images/noavatar92.png';
};
// Dsq.Urls

/**
 * Dsq.Validators: Validation for form fields
 */
Dsq.Validators = new function() {
	this.VALID_EMAIL_RE = /^[a-z0-9\-\_\+]+(\.[a-z0-9\-\_\+]+)*\@(([a-z0-9\-\_\+]+(\.[a-z0-9\-\_\+]+)*)+\.[a-z]{2,}|([0-9]+\.){3}[0-9]+)$/i;
	this.name = function(name) {
		var error = false;

		if(typeof Dsq.Templates.placeholder !== 'undefined' &&
		   name == Dsq.Templates.placeholder.name) {
			error = true;
		}
		if(name.length <= 1) {
			error = true;
		}

		if(error) {
			return "Please enter a name to comment.";
		} else {
			return true;
		}
	};
	this.email = function(addr) {
		if(Dsq.Validators.VALID_EMAIL_RE.test(addr)) {
			return true;
		} else {
			return "Please enter a valid email to comment.";
		}
	};
	this.url = function(addr) {
		if(!addr || addr.indexOf('.') != -1) {
			return true;
		} else {
			return "Please check your website URL (this field is optional).";
		}
	};

	this.validate = function(bulk_validation, failure_callback) {
		failure_callback = failure_callback || function(e){ alert(e); };

		for(var i = 0; i < bulk_validation.length; i++) {
			v = bulk_validation[i];
			ret = v.validator(v.value);
			if(ret !== true) {
				failure_callback(ret);
				return false;
			}
		}
		return true;
	};
};

/**
 * Dsq.Utils: Generic utility functions.
 */
Dsq.Utils = new function() {
	this.ie = /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
	this.ie7 = (document.all && !window.opera && window.XMLHttpRequest) ? true : false;
	this.ie6 = (!window.XMLHttpRequest) ? true: false;
	this.webkit = navigator.userAgent.indexOf('AppleWebKit/') >= 0;
	this.gebiFromElementCollectionCache = {};
	this._styleSheet = null;

	this.gebiFromElement = function(el, id, tag) {
		// This only method only helps IE.
		if(!this.ie) {
			return Dsq.$(id);
		} else {
			var cacheKey = el.id + '-' + tag;
			tag = tag || 'div';
			if(typeof this.gebiFromElementCollectionCache[cacheKey] != 'undefined') {
				collection = this.gebiFromElementCollectionCache[cacheKey];
			} else {
				collection = el.getElementsByTagName(tag);
				this.gebiFromElementCollectionCache[cacheKey] = collection;
			}

			for(var i = 0; i < collection.length; i++) {
				if(collection[i].id == id) {
					return collection[i];
				}
			}
			return null;
		}
	};

	this.execOnReady = function(func) {
		var node = document.createElement('document:ready');
		try {
			node.doScroll('left');
			func();
			node = null;
		} catch(err) {
			setTimeout(function() { Dsq.Utils.execOnReady(func); }, 10);
		}
	};


	// Courtesy of http://www.quirksmode.org/js/cookies.html
	this.createCookie = function(name,value,days) {
		if (days) {
			var date = new Date();
			date.setTime(date.getTime()+(days*24*60*60*1000));
			var expires = "; expires="+date.toGMTString();
		}
		else var expires = "";
		document.cookie = name+"="+value+expires+"; path=/";
	};

	this.readCookie = function(name) {
		var nameEQ = name + "=";
		var ca = document.cookie.split(';');
		for(var i=0;i < ca.length;i++) {
			var c = ca[i];
			while (c.charAt(0)==' ') c = c.substring(1,c.length);
			if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
		}
		return null;
	};

	this.eraseCookie = function(name) {
		Dsq.Utils.createCookie(name,"",-1);
	};

	this.deleteNode = function(node) {
		if(node) {
			this.deleteChildren(node);
			if(typeof node.outerHTML != 'undefined') { node.outerHTML = ''; }
			else if(node.parentNode) { node.parentNode.removeChild(node); }
			delete node;
		}
	};

	this.deleteChildren = function(node) {
		if(node) {
			for(var x = node.childNodes.length-1; x >= 0; x--) {
				var childNode = node.childNodes[x];
				if(childNode.hasChildNodes()) { this.deleteChildren(childNode); }
				if(typeof childNode.outerHTML != 'undefined') { childNode.outerHTML = ''; }
				else node.removeChild(childNode);
				delete childNode;
			}
		}
	};

	this.findPos = function(obj) {
		var curleft = 0;
		var curtop = 0;
		if (obj.offsetParent) {
			do {
				curleft += obj.offsetLeft;
				curtop += obj.offsetTop;
			} while (obj = obj.offsetParent);
		}
		return [curleft,curtop];
	};

	this.getWindowSize = function() {
		var windowWidth = -1;
		var windowHeight = -1;

		if(typeof(window.innerWidth) == 'number') { //Non-IE
			windowWidth = window.innerWidth;
			windowHeight = window.innerHeight;
		} else if(document.documentElement) { // IE 6+ in 'standards compliant mode'
			windowWidth = document.documentElement.clientWidth || document.body.clientWidth;
			windowHeight = document.documentElement.clientHeight || document.body.clientHeight;
		}

		return [windowWidth, windowHeight];
	}

	this.getScrollPos = function() {
		var scrollWidth, scrollTop;

		if(document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollWidth)) {
			scrollWidth = document.documentElement.scrollWidth;
			// IE is weird here.  If no doctype is provided, document.body.scrollTop is 0,
			// otherwise document.documentElement.scrollTop is 0.
			scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
		} else if(document.body.scrollTop && document.body.scrollWidth) {
			scrollWidth = document.body.scrollWidth;
			scrollTop = document.body.scrollTop;
		}

		return [scrollWidth, scrollTop];
	}

	this.addEventListener = function(instance, eventName, listener) {
		var listenerFn = listener;
		if (instance.addEventListener) {
			instance.addEventListener(eventName, listenerFn, false);
		} else if (instance.attachEvent) {
			listenerFn = function() {
				listener(window.event);
			};
			instance.attachEvent("on" + eventName, listenerFn);
		} else {
			throw new Error("Event registration not supported");
		}
		return {
			instance: instance,
			name: eventName,
			listener: listenerFn
		};
	};

	this.removeEventListener = function(event) {
		var instance = event.instance;
		if (instance.removeEventListener) {
			instance.removeEventListener(event.name, event.listener, false);
		} else if (instance.detachEvent) {
			instance.detachEvent("on" + event.name, event.listener);
		}
	};

	this.fixIframesIE = function(id) {
		var disqusThread = Dsq.$(disqus_container_id);
		var iframes = disqusThread.getElementsByTagName('iframe');

		if(id) {
			var container = Dsq.$(id);
		} else {
			var container = Dsq.$('dsq-content');
		}

		for(i = 0; i < iframes.length; i++) {
			if (container) {
				iframes[i].style.width = container.offsetWidth;
			}
		}
	};

	this.getElementsByClassName = function(oElm, strTagName, strClassName) {
	/* Credit: Jonathan Snook [http://www.snook.ca/jonathan], Robert Nyman [http://www.robertnyman.com] */
		var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
		var arrReturnElements = new Array();
		strClassName = strClassName.replace(/\-/g, "\\-");
		var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
		var oElement;
		for(var i = 0; i < arrElements.length; i++) {
			oElement = arrElements[i];
			if(oRegExp.test(oElement.className)) {
				arrReturnElements.push(oElement);
			}
		}
		return (arrReturnElements);
	};

	this.postToUrl = function(url, post_data, opt_redirect) {
		var form = document.createElement('form');
		var iframe_container = document.createElement('div');
		var id = 'dsq-temp-iframe-' + (new Date()).getTime();

		form.method = 'POST';
		form.action = url;
		if (!opt_redirect) {
			form.target = id;
		}
		iframe_container.innerHTML = '<iframe style="display:none" name="' + id + '" id="' + id + '"></iframe>';

		for(var key in post_data) {
			if(post_data.hasOwnProperty(key)) {
				var input = document.createElement('input');
				input.name = key;
				input.type = 'hidden';
				input.value = post_data[key];

				form.appendChild(input);
			}
		}

		Dsq.$b.appendChild(iframe_container);
		Dsq.$b.appendChild(form);
		form.submit();
	};

	// Strips integer id from id of element in the form ('some-id-###')
	this.extractId = function(e) {
		var chunks = e.id.split('-');
		if(chunks.length <= 1) {
			return 0;
		} else {
			var retval = parseInt(chunks[chunks.length-1]);
			return !isNaN(retval) ? retval : null;
		}
	};

	this.getStyle = function(el, styleProp) {
		if(el.currentStyle) {
			var y = el.currentStyle[styleProp];
		} else if(window.getComputedStyle) {
			var y = document.defaultView.getComputedStyle(el, null).getPropertyValue(styleProp);
		}

		if(y == 'transparent' || y == '') {
			this.getStyle(el.parentNode, styleProp);
		} else {
			return y;
		}
	};

	this.execScript = function(url, append_qs, container) {
		var script = document.createElement('script');
		append_qs = typeof append_qs == 'undefined' ? true : append_qs;
		container = container || Dsq.container;

		if(append_qs) {
			var j = (url.indexOf('?') >= 0) ? '&' : '?';
			url += j + (new Date()).getTime();
		}
		script.type = 'text/javascript';
		script.charset = 'UTF-8';
		script.src = url;
		container.appendChild(script);
		return script;
	};

	this.pluralize = function(num, singular, plural) {
		return (num != 1) ? plural || 's' : singular || '';
	};

	this.getRequestParams = function(queryString /* optional */) {
		var pairs, tuple;
		var params = {};

		queryString = queryString || window.location.search.substring(1);
		pairs = queryString.split('&');

		for (var i = 0, pair; pair = pairs[i]; i++) {
			tuple = pair.split('=');
			params[tuple[0]] = (tuple[1] || true);
		}

		return params;
	};

	this.addCssRule = function(selector, styleText, index) {
		var stylesheet;
		index = index || 0;

		if(!this._styleSheet) {
			var styleEl = document.createElement('style');
			document.getElementsByTagName('head')[0].appendChild(styleEl);
			this._styleSheet = styleEl.sheet;
			if(!this._styleSheet) {
				// IE does not like our newly created stylesheet.
				this._styleSheet = document.styleSheets[document.styleSheets.length-1];
			}
		}
		stylesheet = this._styleSheet;

		if(stylesheet.insertRule) {
			var ruleText = selector + ' { ' + styleText + ' }';
			if(index == -1) {
				index = stylesheet.cssRules.length;
			}
			stylesheet.insertRule(ruleText, index);
		} else if(stylesheet.addRule) {
			stylesheet.addRule(selector, styleText, index);
		}
	};

	this.forEachIn = function(obj, callback) {
		for(var key in obj) {
			if(obj.hasOwnProperty(key)) {
				callback(key, obj[key]);
			}
		}
	};

	this._interpolateGlobalContext = {
		// values that get used a lot and are global to the request
		'profile_url': Dsq.Urls.REQUEST_USER_PROFILE,

		'disqus_url': Dsq.jsonData.settings.disqus_url,
		'media_url': Dsq.jsonData.settings.media_url,
		'request_username': Dsq.jsonData.request.username,
		'request_display_username': Dsq.jsonData.request.display_username,
		'forum_name': Dsq.jsonData.forum.name
	};

	this.renderFromContextStack = function(key, contexts) {
		// Returns the first instance of `key` in the array of objects `contexts` or else ''
		for (var i=0; i<contexts.length; i++) {
			if (contexts[i][key] !== undefined) {
				return String(contexts[i][key]);
			}
		}
		throw new Error('key ' + key + ' not found in context');
	};

	var that = this;
	this.interpolate = function(fmt, opt_localContext) {
		// Interpolate `fmt` named-format string with an assumed global context.
		// Based on `interpolate` in django.views.i18n
		var contextStack = [opt_localContext || {}, that._interpolateGlobalContext];
		return fmt.replace(/%\(\w+\)s/g, function(match){
			return that.renderFromContextStack(match.slice(2,-2), contextStack);
		});
	};

	this.stripTags = function(s) {
		// Removes HTML tags from `s`
		return s.replace(/(<([^>]+)>)/g,"");

	};

	this.assert = function(b) {
		if (!b) {
			throw new Error('Assertion error.');
		}
	};

};
// Dsq.Utils

/**
 * Dsq.Popup: Popup helper functions.
 */
Dsq.Popup = new function() {
	this.timeHide = new Array();
	this.timeShow = new Array();
	this.activePopup = {};
	this.profileCache = {};
	this.statusCache = {};

	this.showTimer = function(post_id) {
		// clear the hide timer
		clearTimeout(this.timeHide[post_id]);

		// start the timer
		if(!Dsq.Popup.profileIsOn && !Dsq.Thread.adminIsOn) {
			this.timeShow[post_id] = setTimeout("Dsq.Popup.popProfile(\"" + post_id + "\")", 400);
		}
	};

	this.hideTimer = function(post_id) {
		// clear the show timer
		clearTimeout(this.timeShow[post_id]);
	};

	this.updateProfile = function(username) {
		// Callback from /embed/profile.js
		if (this.statusCache[username]) {
			var statusEl = Dsq.$('dsq-profile-status-' + username);
			statusEl.innerHTML = this.statusCache[username];
			statusEl.style.display = 'block';
		}

		if (this.profileCache[username]) {
			var _cache = this.profileCache[username];

			var _genhtml = function(text) { return '<span><big>' + text + '</big></span>'; };
			var _no_comments = _genhtml(Dsq.FmtStrings.NUMBER_OF_COMMENTS(_cache.comments_count));
			var _no_likes = _genhtml(Dsq.FmtStrings.NUMBER_OF_LIKES(_cache.likes_count));
			var _no_points = _genhtml(Dsq.FmtStrings.NUMBER_OF_POINTS(_cache.points));

			var statsEl = Dsq.$('dsq-popup-profile-user-stats-' + username);
			statsEl.innerHTML = '';

			if (Dsq.jsonData.users[username].registered) {
				statsEl.innerHTML = _no_comments + _no_likes;
			}
			statsEl.innerHTML += _no_points;

			var activeSites = '';
			for (var i = 0; i < _cache.active_sites.length; i++) {
				var site = _cache.active_sites[i];
				activeSites += '<li><a href="' + site.url + '"> \
					<img src="' + site.favicon + '"/ width="16" height="16"/></a>\
					<a href="' + site.url + '">' + site.name + '</a></li>';
			}
			if (activeSites !== '') {
				Dsq.$('dsq-popup-profile-active-sites-' + username).innerHTML = activeSites;
			} else {
				Dsq.$('dsq-popup-profile-active-sites-' + username).innerHTML = 'This site.';
			}

			var moderatedSites = '';
			for (var i = 0; i < _cache.moderated_sites.length; i++) {
				var site = _cache.moderated_sites[i];
				moderatedSites += '<li><a href="' + site.url + '"> \
					<img src="' + site.favicon + '"/ width="16" height="16"/></a>\
					<a href="' + site.url + '">' + site.name + '</a></li>';
			}
			if (moderatedSites !== '') {
				Dsq.$('dsq-popup-profile-moderated-' + username).innerHTML = moderatedSites;
			} else {
				Dsq.$('dsq-popup-profile-moderated-wrapper-' + username).innerHTML = '';
			}
		}

		// Reposition popup after full HTML is rendered
		if(Dsq.Popup.activePopup && Dsq.Popup.activePopup.el) {
			Dsq.Popup.initPopup(Dsq.Popup.activePopup.el, Dsq.Popup.activePopup.id, Dsq.Popup.activePopup.type);
		}

	};

	this.showCookieMsgs = function() {
		var title = '';
		var message = '';
		var numAlerts = 0;

		Dsq.Utils.forEachIn(Dsq.jsonData.cookie_messages, function(k, v) {
			if (!v) return;

			switch(k) {
				// Cookie: Twitter
				case 'post_twitter':
					if (v === 'error') {
						title = 'Twitter Error!';
						message += '<li id="dsq-msg-twitter-error">Oops, we couldn\'t tweet this comment. Please check your <a href="http://disqus.com/account/services">account settings</a>.</li>';
					} else {
						var _msg = v.split(':');
						title = 'Tweeted!';
						message += '<li id="dsq-msg-twitter-success">Your comment was successfully tweeted. <a href="http://twitter.com/' + _msg[0] + '/status/' + _msg[1] + '">Click here to view the tweet</a>.</li>';
					}
					break;
				// Cookie: Unapproved Post
				case 'post_not_approved':
					title = 'Comment awaiting approval by a moderator';
					message += '<li id="dsq-msg-post-not-approved">Your comment must be approved by a moderator before appearing here.</li>';
					break;
				// Cookie: Profile Found
				case 'post_has_profile':
					title = 'Use your existing commenter profile';
					message += '<li id="dsq-msg-post-has-profile">You have just posted your commment as a <span class="dsq-badge-guest">Guest</span>, but you may already have a <span class="logo-disqus">Disqus</span> Profile.<br /><br /><a href="http://disqus.com/claim">Log in and claim this comment!</a></li>';
					break;
				case 'user_created':
					var _data = v.split(':');
					title = 'Profile created!';
					message += '<li id="dsq-msg-user-created">You have just created a <span class="logo-disqus">Disqus</span> Profile, the best way to claim, manage, and track your comments all over the web. \
					<br /><br />A confirmation is being sent to <strong>' + _data[1] + '</strong>. Please check for this email in order to verify your profile. \
					<ul class="dsq-list-tick"> \
						<li>Your username is <strong>' + _data[0] +'</strong>. <a href="http://disqus.com/people/' + _data[0] + '/" target="_blank">Click here to view your public profile</a>.</li> \
						<li>Be sure to set your profile picture, as well as connect your <span class="dsq-badge-facebook">Facebook</span> and <span class="dsq-badge-twitter">Twitter</span> accounts. <a href="http://disqus.com/account/" target="_blank">Click here for account settings</a>.</li> \
					</ul> \
					</li>'
					break;
				default:
					break;
			}
			numAlerts++;
		});

		if(numAlerts > 1) {
			message = '<ul class="dsq-list-bluebullet">' + message;
			message += '</ul>';
			title = 'Thanks for posting!';
		}
		if(numAlerts > 0) {
			if(typeof(disqus_cookie_msgs) == 'function') {
				disqus_cookie_msgs(message, title);
			} else {
				Dsq.Popup.popModal(message, title);
			}
		}
	};

	this.helpBadges = function(post_id) {
		var html = ' \
			<ul class="dsq-popup-help"> \
				<li><span class="dsq-badge dsq-badge-verified">Verified</span> has a <span class="logo-disqus">Disqus</span> Profile with a confirmed email address.</li> \
				<li><span class="dsq-badge dsq-badge-registered">Registered</span> has a <span class="logo-disqus">Disqus</span> Profile, but has not yet confirmed his or her email address.</li> \
				<li><span class="dsq-badge dsq-badge-guest">Guest</span> is not logged in with any account and has not claimed his or her comments.</li> \
				<li class="dsq-help-otheraccts">Other accounts</li> \
				<li><span class="dsq-badge dsq-badge-facebook">Facebook</span> is using his or her Facebook profile via Facebook Connect.</li> \
				<li><span class="dsq-badge dsq-badge-twitter">Twitter</span> is using his or her Twitter profile via Twitter Sign-in.</li> \
				<li><span class="dsq-badge dsq-badge-openid">OpenID</span> is using his or her OpenID.</li> \
			</ul> \
		';

		this.popModal(html, 'Help: Types of Commenters', post_id);
		return;
	};

	this.permalink = function(post_id) {
		var header = 'Link to this comment';
		var body = '<strong>You are anchored to</strong>:<br />' + document.location.protocol + '//' + document.location.host + document.location.pathname + document.location.search + '#comment-' + post_id;

		this.popModal(body, header, post_id);
	};

	this.login = function(header, body) {
		var h = header || 'Login or Register';
		var b = body || '';
		b += Dsq.Templates.frameLogin({id: 'dsq-popup-login'});
		b += '</iframe>'; // HACK: Sometimes there is something funky with the IFRAME SRC that causes no end tag
		this.popModal(b, h, null, true, 'dsq-popup-login');
	};

	this.blacklist = function(id) {
		var _meta = Dsq.jsonData.posts[id];
		var userData = Dsq.jsonData['users'][_meta.user_key];
		var title = 'Add to Blacklist';
		var message = ' \
		Adding this person to the blacklist will block him or her from commenting on this site. Check the following types that you would like to add to the blacklist:'
		+ (userData['registered'] ?
			'<div class="dsq-blacklist-option"> \
				<input id="dsq-blacklist-username" type="checkbox" checked> \
				<label for="dsq-blacklist-username"><strong>Username</strong>: ' + userData['username'] + '</label> \
			</div>'
			: '')
		+ (_meta.email ?
			'<div class="dsq-blacklist-option"> \
				<input id="dsq-blacklist-email" type="checkbox" checked> \
				<label for="dsq-blacklist-email"><strong>Email address</strong>: ' + _meta.email + '</label> \
			</div>'
			: '')
		+ '<div class="dsq-blacklist-option"> \
			<input id="dsq-blacklist-ip" type="checkbox" onclick="Dsq.$(\'dsq-blacklist-ip-warning\').style.display=\'block\'"> \
			<label for="dsq-blacklist-ip"><strong>IP address</strong>: ' + _meta.ip + '</label> \
		</div> \
		';

		message += ' \
			<p id="dsq-blacklist-ip-warning" style="display:none">	\
				Note: Blocking this person\'s IP address may also unintentionally prevent others, who share his/her IP address, from commenting on this site. \
				This may include people who are sharing the same computer, living in the same house, or using the same Internet provider. Only block an IP address as a last resort. \
			</p> \
		';

		message += ' \
			<p style="text-align:center"><button type="button" onclick="Dsq.Post.blockUser(' + id + '); this.disabled=true; this.innerHTML=\'Just one moment...\'">Add to Blacklist</button></p> \
		';

		Dsq.Popup.popModal(message, title);
	};

	this.remoteAccountSettings = function() {
		var body = '';
		// Set up IFrame.
		var params = {};
		var base_url = 'http://disqus.com/forums/scobleizer/_auth/embed/remote_settings/';
		var attributes = {id: 'dsq-popup-account-settings'};
		if (typeof disqus_frame_theme != 'undefined') {
			params['theme'] = disqus_frame_theme;
		}

		body = Dsq.Templates._frameGeneric(base_url, params, attributes);
		this.popModal(body, 'Account Settings', null, true, 'dsq-popup-account-settings');
	};

	this.popModal = function(message, title, post_id, use_listener, extra_classes) {
		var container = document.createElement('div');
		var header, body;

		Dsq.Popup._closePopup(null, true);

		if(typeof(title) == 'undefined') { title = ''; }
		if(typeof(use_listener) == 'undefined') { use_listener = true; }

		if(post_id) {
			container.id = 'dsq-popup-message-' + post_id;
		} else {
			container.id = 'dsq-popup-message';
		}

		header = title;
		body = message;

		container.innerHTML = Dsq.Templates.popupModal(header, body);
		Dsq.Popup.initPopup(container, post_id, 'message', extra_classes);
		if(use_listener) {
			Dsq.Popup.popupListener = Dsq.Utils.addEventListener(document, 'mouseup', Dsq.Popup._closePopup);
		}
	};

	this.popAlert = this.popModal;

	this.loading = function(post_id) {
		var title = Dsq.Strings.JUST_A_MOMENT;
		var body = '<div style="text-align:center; padding: 5px 0 10px 0"><img src="http://media.disqus.com/images/loading.gif" alt="" /></div>'
		Dsq.Popup.lightbox(body, title, post_id);
	};

	this.lightbox = function(message, title, post_id) {
		// Wraps Dsq.Popup.popModal

		var overlay = document.createElement('div');
		overlay.id = 'dsq-overlay';
		overlay.className = 'dsq-overlay';
		Dsq.$b.appendChild(overlay);
		
		Dsq.Popup.popModal(message, title, post_id, false, 'dsq-lightbox');
	};

	this.popProfile = function(post_id, userKey) {
		var post = Dsq.jsonData['posts'][post_id];
		if (post && post.has_been_anonymized) {
			Dsq.Popup.popModal('This message was anonymized by its previous owner.', 'Anonymized', post_id);
			return;
		}

		if(post_id) {
			userKey = Dsq.jsonData['posts'][post_id].user_key;	
		}
		var userData = Dsq.jsonData['users'][userKey];
		var elId = 'dsq-popup-profile-' + userKey;
		var container = document.createElement('div');

		if(this.activePopup.el) {
			this._closePopup(null, true);
			if(this.activePopup.linkClicked) {
				this.activePopup.linkClicked = false;
				return;
			}
		}

		container.id = elId;
		container.innerHTML = Dsq.Templates.popupProfile(userKey);

		this.initPopup(container, post_id, 'profile');
		this.popupListener = Dsq.Utils.addEventListener(document, 'mouseup', this._closePopup);

		if(!this.profileCache[userKey]) {
			Dsq.Utils.execScript('http://disqus.com/embed/profile.js'
				+ '?username=' + userKey
				+ '&anon=' + (userData['registered'] ? 0 : 1)
				+ '&f=' + Dsq.jsonData['request'].forum);
		} else {
			this.updateProfile(userKey);
		}
	};

	this._closePopup = function(e, force) {
		var activePopup = Dsq.Popup.activePopup.el;
		var id = Dsq.Popup.activePopup.id;
		var link = 'dsq-avatar-' + id; // HACK: Specific to profile toggle target

		// HACK: This event should be gone if there is no active popup.
		if(!activePopup) {
			return;
		}
		if(force || !Dsq.Popup.isClicked(e, activePopup.id)) {
			// TODO: This is breaking iE?
			if(Dsq.Popup.popupListener) {
				Dsq.Utils.removeEventListener(Dsq.Popup.popupListener);
			}
			
			// Kill overlay
			var overlay = Dsq.$('dsq-overlay');
			if(overlay) { Dsq.Utils.deleteNode(overlay); }
			
			try {
				Dsq.Utils.deleteNode(activePopup);
			} catch(e) {
				// HACK: IE6 throws an error when using deleteNode() with a node containing a <table> in the html.
				activePopup.parentNode.removeChild(activePopup);
			}
			Dsq.Popup.activePopup = {};
		}

		if(!force && Dsq.Popup.isClicked(e, link)) {
 			Dsq.Popup.activePopup.linkClicked = true;
		}

	};

	this.initPopup = function(popup, post_id, type, extra_classes) {
		popup.className = 'dsq-popup dsq-popup-' + type + ' ' + (extra_classes ? extra_classes : '');
		if(Dsq.Utils.ie6 || Dsq.Utils.ie7) {
			// HACK: We can't modify the body before it's ready, so we need
			//       to use an IE-safe "DOMReady" workaround before loading
			//       our popup.
			Dsq.Utils.execOnReady(function() {Dsq.$b.appendChild(popup); });
		} else {
			Dsq.$b.appendChild(popup);
		}

		popup.style.display = 'block';

		var xPos = (Dsq.Utils.getWindowSize()[0] - popup.offsetWidth) / 2;
		var yPos = (Dsq.Utils.getWindowSize()[1] - popup.offsetHeight) / 2;

		if(Dsq.Utils.ie6) {
			yPos += Dsq.Utils.getScrollPos()[1];
		}

		popup.style.left = xPos + 'px';
		popup.style.top = yPos + 'px';

		Dsq.Popup.activePopup = {
			'el' : popup,
			'id' : post_id,
			'type': type,
			'linkClicked' : false
		};
	};

	this.isClicked = function(e, id) {
		var t = e.target || e.srcElement;
		while(t && t.parentNode) {
			if(t.id == id) {
				return true;
			}

			t = t.parentNode;
		}
		return false;
	};
};
// Dsq.Popup

/**
 * Dsq.Templates
 */
Dsq.Templates = new function() {
	/*
	 * Counter keeping track of the number of posts iterated over.
	 */
	this.postLoopCounter = 0;
	this.filters = {};
	this.addPostContainer = 'dsq-post-add';
	this.textareaContainer = 'dsq-post-add';

	this.registerTemplate = function(name, func) {
		this['$$_' + name] = func;

		if(typeof DsqLocal.Filters != 'undefined'
		&& typeof DsqLocal.Filters[name] == 'function') {
			// Push filters to this.filters to unify code.
			this.filters[name] = this.filters[name] || [];
			this.filters[name].push(DsqLocal.Filters[name]);
		}

		this[name] = function() {
			var ret;

			if(typeof DsqLocal.Templates != 'undefined'
			&& typeof DsqLocal.Templates[name] == 'function') {
				ret = DsqLocal.Templates[name].apply(this, arguments);
			}

			if(ret === undefined) {
				ret = this['$$_' + name].apply(this, arguments);
			}

			if(this.filters[name]) {
				var args = [ret];

				args.push.apply(args, arguments);
				for(var i = 0; i < this.filters[name].length; i++) {
					ret = this.filters[name][i].apply(this, args);
				}
			}

			return ret;
		};
	};

	this.registerFilter = function(name, func) {
		this.filters[name] = this.filters[name] || [];
		this.filters[name].push(func);
	};

	/**
	 * Dsq.Templates.Filters
	 */
	this.Filters = new function() {
		this.commentContainer = function(post_id, s) {
			var _meta = Dsq.jsonData.posts[post_id];
			var classes = [];
			if(Dsq.jsonData.request.page > 1) {
				classes.push('dsq-append');
			}

			//
			// Extra classes used for custom themes
			//

			if(_meta.depth) {
				classes.push('dsq-comment-child', 'dsq-depth-' + _meta.depth, 'dsq-parent-is-' + _meta.parent_post_id);
			}


			//

			if(_meta.author_is_creator) {
				// TODO: We need to deprecate the "special" class since it is not properly prefixed.
				classes.push('special', 'dsq-special');
			}
			if(_meta.author_is_moderator) {
				classes.push('dsq-moderator');
			}
			classes.push(['dsq-odd', 'dsq-even'][Dsq.Templates.postLoopCounter % 2]);

			s = s.substring(0, s.lastIndexOf('>'));
			return s + ' class="dsq-comment ' + classes.join(' ') + '" style="margin-left:' + _meta.depth*30 + 'px">';
		};

		this.commentContent = function(post_id, s) {
			var _meta = Dsq.jsonData.posts[post_id];
			if (_meta.killed) {
				return '<em>Comment removed.</em>';
			} else if (!_meta.approved) {
				return '<em>This comment was flagged for review.</em>';
			}

			s = s.replace(Dsq.MEDIA_POST_RE, Dsq.MediaPostHandler);
			return s;
		};
	};

	//
	// Thread
	//
	// TODO: These need to be stripped of all Django template tags.

	this.authPost = function() {
		if (!Dsq.jsonData.context.show_reply) {
			return '';
		}
		var result = [];
		result = result.concat([
				'<div id="dsq-auth"',
						Dsq.jsonData.integration.reply_position ? 'class="dsq-auth-bottom"' : '',
						'>',
					'<div class="dsq-by">',
						'<a href="http://disqus.com" target="_blank">',
							(Dsq.jsonData.integration.disqus_logo ?
								Dsq.Utils.interpolate('<img src="%(media_url)s/images/embed/by-disqus.png" alt="discussion by DISQUS">') :
								Dsq.Utils.interpolate('<img src="%(media_url)s/images/embed/dsq-button-120x19.png" alt="discussion by DISQUS">')
							),
						'</a>',
					'</div>',
					'<div class="dsq-auth-header">',
						'<h3 id="dsq-add-new-comment" class="dsq-h3-addcomment">',
								Dsq.Strings.ADD_NEW_COMMENT,
						'</h3>',
						'<div id="dsq-login">',
						(!Dsq.jsonData.request.is_authenticated && Dsq.jsonData.forum.allow_anon_post
								? '<p class="dsq-login-message" id="dsq-login-message">You are commenting as a <a class="dsq-help" title="Click for more information" href="#" onclick="Dsq.Popup.helpBadges(); return false">Guest</a>. You may select one to log into:</p>'
								: '')
		]);
		if (!Dsq.jsonData.request.is_authenticated) {
			result = result.concat([
							Dsq.Utils.interpolate(
								'<a id="dsq-login-toggle" href="%(disqus_url)s%(login_url)s?next=article:%(thread_id)s" onclick="Dsq.Popup.login(); return false"><img class="dsq-login-icon" src="%(media_url)s/images/dsq-profile-btn.png" title="%(log_into)s" alt="%(log_into)s"/></a>',
								{login_url: Dsq.Urls.LOGIN, thread_id: Dsq.jsonData.thread.id, log_into: Dsq.Strings.LOG_INTO_DISQUS}
								),
							'&nbsp; ',
							(Dsq.jsonData.context.use_fb_connect ?
								'<div id="dsq-fbc-login" onlogin="DisqusFbcParentController.onLogin()" size="medium" background="light" length="short" style="display:inline; margin-right:7px"></div>' :
								''
							),
							(Dsq.jsonData.context.use_twitter_signin ?
								Dsq.Utils.interpolate(
									'<div id="dsq-twitter-login" class="dsq-twitter-login" onclick="Dsq.Twitter.startTwitterConnect();" style="display:inline; cursor: pointer"><img src="%(media_url)s/images/twitter-signin-short.png" style="margin-right:7px" /></div>', {}) : ''),
							(Dsq.jsonData.context.use_openid ?
								Dsq.Utils.interpolate(
									'<div id="dsq-openid-login" class="dsq-openid-login" onclick="Dsq.OpenID.requestURL();" style="display:inline; cursor:pointer;"><img src="%(media_url)s/images/openid-login-button.png"/></div>', {}
								) : '')
			]);
		}
		result = result.concat([
						'</div>', // dsq-login
					'</div>', // dsq-auth-header
					'<div id="dsq-authenticated" class="dsq-authenticated" ',
						Dsq.jsonData.request.is_authenticated ? 'style="display:block"' : '',
						'>',
						'<div class="dsq-authenticated-pic">',
								Dsq.Utils.interpolate('<a href="%(url)s" title="%(request_display_username)s">' +
																			'<img class="dsq-post-avatar" src="%(avatar_url)s" alt="" /></a>',
																			{avatar_url: Dsq.Urls.REQUEST_USER_AVATAR,
																			url: (Dsq.jsonData.request.is_remote
																					 ? Dsq.jsonData.request.url
																					 : Dsq.jsonData.settings.disqus_url + Dsq.Urls.REQUEST_USER_PROFILE) }),
						'</div>',
						'<div class="dsq-authenticated-info">',
							'<ul>',
								'<li>',
									(Dsq.jsonData.request.is_remote
										? Dsq.FmtStrings.LOGGED_IN_AS(
												Dsq.Utils.interpolate('<a href="%(url)s" title="%(request_display_username)s">%(request_display_username)s</a>', {url:Dsq.jsonData.request.url})
										  )
										: Dsq.FmtStrings.LOGGED_IN_AS(
												Dsq.Utils.interpolate('<a href="%(disqus_url)s%(profile_url)s" title="%(request_display_username)s">%(request_display_username)s</a>')
											)
									),
								'</li>',
								'<li class="logout">',
									(!Dsq.jsonData.request.is_remote
										? Dsq.Utils.interpolate('<img class="dsq-login-icon" src="%(media_url)s/images/dsqicon12.png" alt="%(logged_in_as)s"/>&nbsp',
											{logged_in_as: Dsq.FmtStrings.LOGGED_IN_AS(Dsq.jsonData.request.display_username)})
										: ''),

									(!Dsq.jsonData.request.is_remote
										? Dsq.Utils.interpolate('<a href="%(disqus_url)s%(logout_url)s?ctkn=%(csrf_token)s" title="%(logout_from_disqus)s">',
											{logout_url: Dsq.Urls.LOGOUT, csrf_token: Dsq.CSRF_TOKEN, logout_from_disqus: Dsq.FmtStrings.LOGOUT_FROM('DISQUS')})
										: ((Dsq.jsonData.request.remote_domain == 'twitter')
												? Dsq.Utils.interpolate('using Twitter (<a href="%(disqus_url)s%(logout_url)s?ctkn=%(csrf_token)s" title="Logout">Logout</a>)',
												 {logout_url: Dsq.Urls.LOGOUT, csrf_token: Dsq.CSRF_TOKEN})
												: ((Dsq.jsonData.request.remote_domain == 'openid')
													 ? Dsq.Utils.interpolate('using OpenID (<a href="%(disqus_url)s%(logout_url)s?ctkn=%(csrf_token)s" title="Logout">Logout</a>)',
													 {logout_url: Dsq.Urls.LOGOUT, csrf_token: Dsq.CSRF_TOKEN})
													 : ''
													)
											)
									),

									(!Dsq.jsonData.request.is_remote ? Dsq.FmtStrings.LOGOUT_FROM('<span class="logo-disqus">DISQUS</span>') : ''),
									'</a>',
								'</li>',
							'</ul>',
						'</div>',
					'</div>'
		]);
		if (Dsq.jsonData.context.use_fb_connect) {
			result = result.concat([
					'<div id="dsq-fbc-authenticated" class="dsq-authenticated">',
						'<div id="dsq-fbc-profilepic" class="dsq-authenticated-pic" uid="loggedinuser" type="FB.XFBML.ProfilePic" size="square" facebook-logo="true"></div>',
						'<div class="dsq-authenticated-info">',
							'<ul>',
								'<li>',
									'Logged in as <span id="dsq-fbc-name" uid="loggedinuser" type="FB.XFBML.Name" linked="true" useyou="false"></span>',
								'</li>',
								'<li class="logout">using Facebook Connect <a href="#" onclick="javascript:DisqusFbcParentController.logout();return false;">(Logout)</a></li>',
							'</ul>',
						'</div>',
					'</div>'
			]);
		}
		result = result.concat([
				'</div>', // dsq-auth
				'<div id="dsq-toolbar-items">',
				'</div>'
		]);
		result = result.concat([
					//
					//
					//
				((!Dsq.jsonData.forum.allow_anon_post && !Dsq.jsonData.request.is_authenticated) ?
					// Needs to be translated:
					('<p id="dsq-no-anon-msg">Required: Please log into <span class="logo-disqus">Disqus</span> ' +
					(Dsq.jsonData.context.use_fb_connect ? 'or connect with Facebook ' : '') +
					(Dsq.jsonData.context.use_twitter_signin ? 'or sign in with Twitter ' : '') +
					(Dsq.jsonData.context.use_openid ? 'or sign in using OpenID ' : '') +
					Dsq.Utils.interpolate('to comment on <strong>%(forum_name)s</strong>.</p>')) :
					''
				),
				'<div id="dsq-post-add"></div>',
				'<div style="margin:10px 0">',
				((Dsq.jsonData.forum.use_media) ?
						'<a href="#" id="dsq-media-link" onclick="Dsq.Post.showMenu(this, false, \'media\'); return false">' + Dsq.Strings.USE_MEDIA + ' <small>&#9660;</small></a>' :
						''),
				'</div>'
		]);
		return result.join('');
	};


	this.header = function() {

		var html = '\<h3 id="dsq-comments-count" class="dsq-h3-commentcount">\
	 <span id="dsq-num-posts">55</span> Comments\
	 &nbsp;\
	 <span class="dsq-item-feed">\
	 <a href="http://scobleizer.disqus.com/pivottable_this_video/latest.rss"><img src="http://media.disqus.com/images/embed/bullet-feed.png"></a>\
	 </span>\
	 </h3>\
	 <div id="dsq-options" style="margin:15px 0">\
	 <span class="dsq-item-sort">\
	 Sort by\
	 <select id="dsq-sort-select" onchange="Dsq.Thread.sortBy(this.value);">\
	 <option value="hot" selected="selected">Popular now</option>\
	 <option value="best" >Best Rating</option>\
	 <option value="newest" >Newest first</option>\
	 <option value="oldest" >Oldest first</option>\
	 </select>\
	 &nbsp;\
	 </span>\
	 <span class="dsq-item-cp"><a href="http://scobleizer.disqus.com/pivottable_this_video/">Community Page</a>&nbsp;&nbsp;&nbsp;</span>\
	 <span class="dsq-item-subscribe">\
	 <img src="http://media.disqus.com/images/embed/email.png" style="width:12px;height:12px;vertical-align:middle">\
	 <span id="dsq-subscribe">\
	 <a href="#" onclick="Dsq.Thread.subscribe(1); return false">Subscribe by email</a>\
	 </span>\
	 </span>\
	 </div>\
	 <div id="dsq-alerts">\
	 <p>Comments for this page are closed.</p>\
	 </div>\
		';

		

		
		if (Dsq.jsonData.request.is_moderator) { 
			html = ' \
			<div class="dsq-alert-message dsq-upgrade-message"> \
				<strong>Disqus upgrade available.</strong> Hi ' + Dsq.jsonData.request.display_username + ', this message is being displayed to you because you are a moderator of this site. <a href="#" onclick="Dsq.$(\'dsq-upgrade-message\').style.display=\'block\';this.style.display=\'none\';return false">Click here for details.</a> \
				<div style="display:none; margin-top:10px;" id="dsq-upgrade-message"> \
					A new theme is available with added features. <a href="http://disqus.com/comments/settings/' + Dsq.jsonData.forum.url + '/?p=customize">To change your theme, click here</a> and choose the theme Narcissus. \
					If you do not upgrade, you are missing out on features such as: real-time commenting, new sign-in integrations, and an upgrade interface. \
					<strong>This message will automatically go away in one week.</strong> \
				</div> \
			</div> \
			' + html; 
		}
		return html;
	};

	this.footer = function() {
		var html = Dsq.Templates.pagination();

		
			html += Dsq.Templates.authPost();
		

		html += Dsq.Templates.reactions();

		
			html += Dsq.Templates.trackbacks();
		

		return html;
	};

	this.pagination = function() {
		var html = '';
		
		if (Dsq.$('dsq-pagination')) { Dsq.$('dsq-pagination').innerHTML = ''; }
		if (!Dsq.jsonData.thread.paginate) { return ''; }

		//
		// TODO: num_paginator still uses the template tag for pagination, 
		// 		while append_paginator does it all in JavaScript.
		//		This should all be in JavaScript.
		//

		if (Dsq.jsonData.thread.num_pages > 1 && Dsq.jsonData.request.page < Dsq.jsonData.thread.num_pages) {
			html = ' \<a class="dsq-paginate-append-text" href="#" onclick="Dsq.Thread.paginate(Dsq.jsonData.request.page + 1, this); return false">Show more comments...</a>\
	 <button type="button" class="dsq-button-small dsq-paginate-append-button" onclick="Dsq.Thread.paginate(Dsq.jsonData.request.page + 1, this);">Load more comments</button>\
			';
		}
		
		if (Dsq.$('dsq-pagination')) {
			Dsq.$('dsq-pagination').innerHTML = html;
			return '';
		} else {
			return '<div id="dsq-pagination" class="dsq-pagination">' + html + '</div>';
		}
	};

	this.trackbacks = function() {
		var html = '';

		if(typeof DsqLocal != 'undefined' && DsqLocal.trackback_url && DsqLocal.trackbacks) {
			var trackbacks = DsqLocal.trackbacks;
			var trackback_url = DsqLocal.trackback_url;
		} else {
			var trackbacks = [
			
			
			];
			var trackback_url = 'http://scobleizer.disqus.com/pivottable_this_video/trackback/';
		}

		html += '<div class="dsq-item-trackback">Trackback URL&nbsp;&nbsp;<input class="dsq-trackback-url" onclick="this.select()" readonly="true" value="' + trackback_url + '"></div>';

		if(trackbacks.length) {
			html += '<ul id="dsq-references">'
			for(var i = 0; i < trackbacks.length; i++) {
				var trackback = trackbacks[i];
				html += '<li><cite><a href="' + trackback.author_url + '" rel="nofollow">' + trackback.author_name + '</a></cite> \
						<p class="dsq-meta">' + trackback.date + '</p> \
						<p class="dsq-content">' + trackback.excerpt + '</p></li>';
			}
			html += '</ul>';
			html = '<h3 class="dsq-h3-trackbacks">Trackbacks</h3>' + html;
		}

		return html;
	}

	this.showRetweets = function(id, limit, element_id /* Optional */) {
		var source, html = '';

		for (var i = 0, reaction; reaction = Dsq.jsonData.reactions[i]; i++) {
			if (reaction.id === id) {
				source = reaction.retweets;
			}
		}

		if (source) {
			if (limit === 0) {
				limit = source.length;
			}

			for (var j = 0; j < limit; j++) {
				var rt = source[j];
				html += '<a href="' + rt.url + '">' + rt.author_name + '</a>'	+ ((j === (limit - 1)) ? '.' : ', ');
			}
		}

		if (element_id === undefined) {
			return html;
		}

		var element = document.getElementById(element_id);
		element.innerHTML = html;
		return element;
	};

	this.showMoreReactions = function(reactions, has_more, start, limit) {
		var link = document.getElementById('dsq-show-more-reactions');
		var container = link.parentNode;
		container.removeChild(link);

		for (var i = 0, reaction; reaction = reactions[i]; i++) {
			var el = Dsq.Templates.generateReactionHTML(reaction);
			if (el) {
				container.innerHTML += el;
			}
		}

		if (has_more) {
			var d = Dsq.jsonData.settings.disqus_url;
			var f = Dsq.jsonData.forum.url;
			var t = Dsq.jsonData.thread.id;
			var s = start;
			var l = limit;

			var handler = 'Dsq.Utils.execScript(\'' + d + '/forums/' + f + '/more_reactions.js?t=' + t + '&s=' + s + '&l=' + l + '\', true); return false;';
			container.innerHTML += '<li id="dsq-show-more-reactions"><a href="#" onclick="' + handler + '">Show more reactions</a></li>';
		}
	};

	this.generateReactionHTML = function(reaction) {
		if (reaction.body === null || reaction.body == '') {
			return;
		}

		if (reaction.author_name === '') {
			reaction.author_name = '&nbsp;';
		}

		if (reaction.url === '') {
			reaction.url = reaction.get_service_url;
		}

		/* Reaction HTML begins */
		var item = '<li class="dsq-reaction" id="dsq-reaction-' + reaction.id + '">'
			+ '<div class="dsq-reaction-header">'
			+ '<div class="dsq-header-avatar">';

		if (reaction.author_url && reaction.author_url !== '') {
			item += '<a target="_blank" href="' + reaction.author_url +'">';
		} else {
			item += '<a target="_blank" href="#" onclick="return false;">';
		}

		if (reaction.avatar_url && reaction.avatar_url !== '') {
			item += '<img src="' + reaction.avatar_url + '"/>';
		} else {
			item += '<img src="' + Dsq.jsonData.media_url + '/images/noavatar32.png"/>';
		}

		var service_icon = (reaction.get_service_name == 'trackback' || reaction.get_service_name == 'pingback' ? 'rss' : reaction.get_service_name.replace(' ', ''));
		item += '<img class="dsq-service-icon" src="' + Dsq.jsonData.media_url + '/images/reactions/services/' + service_icon + '.png"/>'
			+ '</a></div>'
			+ '<cite><span>' + reaction.author_name + '</span></cite>'
			+ '<span class="dsq-header-meta"><a class="dsq-header-time">' + reaction.date_created + '</a></span>'
			+ '</div><div class="dsq-reaction-body">'
			+ '<div class="dsq-reaction-message">' + reaction.body + '</div>'
			+ '<div class="dsq-reaction-footer">From <a class="dsq-service-name" target="_blank" href="' + reaction.url + '">' + reaction.get_service_name + '</a> '
			+ 'via <a href="' + reaction.source_url + '">' + (reaction.source == 'backtype' ? 'BackType' : 'UberVU') + '</a>'
			+ (Dsq.jsonData.request.is_moderator || Dsq.jsonData.request.is_global_moderator ? '&nbsp;&bull;&nbsp;<a class="dsq-hide-reaction" href="#" onclick="Dsq.Reaction.hide(' + reaction.id + '); return false;">Hide</a>' : '') + '</div></div>';

		if(reaction.retweets) {
			var num_retweets = reaction.retweets.length;
			if (num_retweets > 0) {
				item += '<div class="dsq-reaction-retweets">';
				if (num_retweets == 1) {
					item += 'One more retweet from <a href="' + reaction.retweets[0].url + '">'  + reaction.retweets[0].author_name + '</a>';
				} else {
					item += (num_retweets + ' more retweets from ');

					item += '<span id="dsq-reaction-retweets-' + reaction.id + '">';
					var n_tweets = (num_retweets > 15) ? 15 : num_retweets;
					item += Dsq.Templates.showRetweets(reaction.id, n_tweets);

					if (n_tweets != num_retweets) {
						item += '</span> <a onclick="Dsq.Templates.showRetweets(' + reaction.id + ', 0, \'dsq-reaction-retweets-' + reaction.id + '\');'
							+ 'this.parentNode.removeChild(this); return false;" href="#">Show all</a>';
					}
				}
				item += '</div>';
			}
		}

		item += '</li>'; /* Reaction HTML ends */
		return item;
	};

	this.reactions = function() {
		var html, reaction;

		if (Dsq.jsonData.reactions === undefined || Dsq.jsonData.reactions.length === 0) {
			return '';
		}

		html = '';
		for (var i = 0; reaction = Dsq.jsonData.reactions[i]; i++) {
			var item = Dsq.Templates.generateReactionHTML(reaction);
			if (item) {
				html += item;
			}
		}

		if (Dsq.jsonData.has_more_reactions) {
			var d = Dsq.jsonData.settings.disqus_url;
			var f = Dsq.jsonData.forum.url;
			var t = Dsq.jsonData.thread.id;
			var s = Dsq.jsonData.reactions_start;
			var l = Dsq.jsonData.reactions_limit;

			var handler = 'Dsq.Utils.execScript(\'' + d + '/forums/' + f + '/more_reactions.js?t=' + t + '&s=' + s + '&l=' + l + '\', true); return false;';
			html += '<li id="dsq-show-more-reactions"><a href="#" onclick="' + handler + '">Show more reactions</a></li>';
		}

		return '<h3 class="dsq-h3-reactions">Reactions</h3><ul id="dsq-reactions" class="dsq-reactions">' + html + '</ul>';
	};
	
	this.missingPermissions = function() {
		return '	<p>Comments for this page are closed.</p>\n';
	};

	//
	// Post
	//

	this.prependPost = function(post_id) {
		var html = '<div id="comment-' + post_id + '"></div>';
		return html;
	};

	this.appendPost = function(post_id) {
		var html = '<div id="dsq-comment-reply-' + post_id + '"></div>';
		return html;
	};

	this.postPrependHeader = function(post_id) {
		var _meta = Dsq.jsonData.posts[post_id];
		var userData = Dsq.jsonData['users'][_meta.user_key];

		var _includeServices = function() {
			var userServices = Dsq.Post.getUserServices(null, post_id);
			var html = '';
			var hiddenThreshold = 3; // Define # of services to show before stuffing them in hidden div

			for(var i = 0; i < userServices.length; i++) {
				html +=
				(i == hiddenThreshold
					? '<li id="dsq-drop-hidden-' + post_id +'" class="dsq-drop-hidden"><ul>'
					: '')
				+ '<li class="dsq-drop-services"> \
					<a class="dsq-service-' + userServices[i].name.toLowerCase() + '" href="' + userServices[i].url + '" target="_blank"> \
						<img src="' + Dsq.jsonData.media_url + '/images/embed/services/' + userServices[i].name.toLowerCase() + '.png" alt="' + userServices[i].name.toLowerCase() + '">'
					+ userServices[i].name
					+ '</a> \
				</li>';
			}

			if(i >= hiddenThreshold) {
				html += '</ul></li> \
				<li id="dsq-drop-more-' + post_id + '" class="dsq-drop-more"><a href="#" onclick="Dsq.Post.dropProfileMore(this, '+ post_id + '); return false"><small>&#9660;</small></a></li> \
				';
			}
			return html;
		};

		return ' \
			<div class="dsq-header-avatar" id="dsq-header-avatar-' + post_id + '" onmouseover="Dsq.Post.dropProfile(' + post_id + ')"> \
				<a id="dsq-avatar-' + post_id + '" class="dsq-avatar" href="' + userData.url + '" onclick="Dsq.Popup.popProfile(' + post_id + '); return false;">'
			+ (Dsq.jsonData.forum.show_avatar
				? '<img src="' + Dsq.jsonData.users[_meta.user_key].avatar + '" alt="" />'
				: '')
			+ '</a>'
			+ '</div> \
		';
	};

	this.postAppendHeader = function(post_id) {
		var _meta = Dsq.jsonData.posts[post_id];

		return ''
			+ (_meta.author_is_moderator
				? '<img class="dsq-mod-star" src="http://media.disqus.com/images/bullet-star.png" title="Moderator" alt="" />'
				: '')
			+ '<span class="dsq-header-meta"> \
				<a id="dsq-time-' + post_id + '" class="dsq-header-time" href="#comment-' + post_id + '" title="Permalink">' + _meta.date + '</a> \
			</span>';
	};

	this.preBody = function(post_id) {
		return '';
	}

	this.postBody = function(post_id) {
		// TODO: Deprecate flagging conditional
		var _meta = Dsq.jsonData.posts[post_id];
		return ''
			+ (_meta.edited
				? '<p class="dsq-editedtxt">(Edited by a moderator)</p>'
				: '')
			;
	};

	this.postFooter = function(post_id) {
		// TODO: Use media should be conditional
		var _meta = Dsq.jsonData.posts[post_id];
		if(_meta.killed) { return ''; }

		return ' \
			<div class="dsq-comment-footer" id="dsq-comment-footer-' + post_id + '"> \
				<div id="dsq-points-' + post_id + '" class="dsq-likedtxt">'
				+ (_meta.points
					? _meta.points + Dsq.Utils.pluralize(_meta.points, ' person', ' people') + ' liked this comment.'
					: '')
				+ '</div>'
				+ '<ul class="dsq-comment-options dsq-list-style">'
				+ (_meta.votable
					? '<li class="dsq-list-first dsq-rate" id="dsq-rate-cont-' + post_id + '">'
					+ (!_meta.up_voted
						? '<a href="#" onclick="Dsq.Post.rate(this, ' + post_id + ', 1); return false;">Like</a>'
						: 'You liked this.') + '</li>'
					: '')
				+ '<li class="dsq-report' + (!_meta.votable ? ' dsq-list-first' : '') + '" id="dsq-post-report-' + post_id + '"><a href="#" class="dsq-post-report" onclick="Dsq.Post.report(' + post_id + ', false); return false;">Report</a></li> \
				</ul> \
				<ul class="dsq-list-style">'
				+ (_meta.can_reply
					? '<li class="dsq-list-first"><a href="#" id="dsq-reply-link-' + post_id +'" onclick="Dsq.Post.toggleReply(this, ' + post_id +'); return false;">Reply</a></li>'
					: '')
				+ (_meta.can_reply && !_meta.has_replies && _meta.from_request_user
					? '<li id="dsq-edit-el-' + post_id + '"><a id="dsq-edit-link-' + post_id + '" href="#" onclick="Dsq.Post.edit(this, ' + post_id + '); return false;">Edit</a></li>'
					: '')
				+ '<li class="' + (!_meta.can_reply ? 'dsq-list-first' : '') + '" id="dsq-more-el-' + post_id + '"><a id="dsq-more-link-' + post_id + '" href="#" onclick="Dsq.Post.showMenu(this, ' + post_id + ', \'more\'); return false">More <small>&#9660;</small></a></li>'
				+ (Dsq.jsonData.forum.use_media
					? '<li id="dsq-media-el-' + post_id +'" style="display:none"><a id="dsq-media-link-' + post_id + '" href="#" onclick="Dsq.Post.showMenu(this, ' + post_id + ', \'media\'); return false">Use Media <small>&#9660;</small></a></li>'
					: '')
				+ '</ul>'
				+ '<div id="dsq-reply-bar-' + post_id + '" class="dsq-reply-bar" style="display:none"> \
						<div id="dsq-reply-bar-items-' + post_id + '" class="dsq-reply-bar-items"> \
						</div> \
						<div id="dsq-reply-bar-auth-' + post_id + '" class="dsq-reply-bar-auth"> \
							 \
								 \
								 	<a href="#" class="dsq-help dsq-reply-req-opt" title="You are commenting as a Guest. You may choose to log into an existing DISQUS Profile, your Facebook, Twitter or OpenID account to comment on Scobleizer" onclick="Dsq.Popup.helpBadges(); return false">Optional:</a> \
								 \
								<img class="dsq-login-icon" src="http://media.disqus.com/images/dsq-favicon-16x16.png" alt="" /> \
								<a id="dsq-reply-login-' + post_id + '" href="http://disqus.com/profile/login/?next=article:18457442" onclick="Dsq.Popup.login(); return false">Login</a> \
								 \
									&nbsp;or&nbsp; \
									<img class="fb_login_image" src="http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_small_short.gif" alt="Facebook Connect"/> \
									<a href="#" onclick="FB.Connect.requireSession(DisqusFbcParentController.onLogin); return false;">Connect</a> \
								 \
								&nbsp;or&nbsp; \
									<img src="http://media.disqus.com/images/twitter-signin-icon.png" alt="" /> \
									<a href="#" onclick="Dsq.Twitter.startTwitterConnect(); return false">Sign-in</a> \
								 \
								 \
							 \
						</div> \
					</div> \
					<div id="dsq-reply-' + post_id + '"></div> \
			</div> \
		';
	};

	//
	// Iframes
	//

	this._makeAttributes = function(attributes) {
		// Makes a tag attributes string out of an object.
		// Caller is responsible for making sure nothing needs to be escaped.
		var result = [];
		for (key in attributes) {
			result.push(' ' + key + '="' + attributes[key] + '"');
		}
		result = result.join('');
		return result;
	};

	this._frameGeneric = function(base_url, params, attributes) {
		if(typeof(disqus_callback_params) == 'undefined') {
			disqus_callback_params = '';
		}

		var default_params = {
			// TODO: These should be moved to Dsq.jsonData.
			'f'				: 'scobleizer',
			't'				: 'pivottable_this_video',
			// Do we need encodeURIComponent here?
			'ifrs'			: encodeURIComponent(disqus_iframe_css),
			'to_redirect'	: encodeURIComponent(window.location),
			'cbp'			: disqus_callback_params,
			'ff'			: Dsq.Thread.ff,
			'fc'			: Dsq.Thread.fc,
			'ac'			: Dsq.Thread.ac,
			'default_text'	: disqus_default_text
		};

		base_url += '?' + (new Date()).getTime();
		// Add params to default_params.
		if(params) {
			for(var key in params) {
				if(params.hasOwnProperty(key)) {
					default_params[key] = encodeURIComponent(params[key]);
				}
			}
		}
		// Build querystring.
		for(var key in default_params) {
			if(default_params[key] && default_params.hasOwnProperty(key)) {
				base_url += '&' + key + '=' + default_params[key];
			}
		}

		return [
			'<iframe marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0"',
			(' allowtransparency="true" src="' + base_url + '"'),
			this._makeAttributes(attributes),
			'</iframe>'].join('');
	};

	this.frameLogin = function(opt_attributes) {
		var params = {};
		var base_url = 'http://disqus.com/embed/login.html';
		var attributes = opt_attributes || {};
		attributes['class'] = 'dsq-post-login';

		if(typeof disqus_frame_theme != 'undefined') {
			params['theme'] = disqus_frame_theme;
		}
		return this._frameGeneric(base_url, params, attributes);
	};

	this.frameReply = function(post_id, extra_params, attributes) {
		// Returns the HTML for a reply iframe. Called by Dsq.Iframes.setReplyIframeToContainer
		var _meta = (typeof post_id != 'undefined') ? Dsq.jsonData.posts[post_id] : false;
		var base_url = Dsq.Urls.REPLY;
		var params = {
			'def_email'		: disqus_def_email,
			'def_name'		: disqus_def_name
		};
		if(extra_params) {
			for(var key in extra_params) {
				if(extra_params.hasOwnProperty(key)) {
					params[key] = extra_params[key];
				}
			}
		}
		if(_meta) {
			params['parent_post'] = post_id;
		}
		if(typeof disqus_per_page != 'undefined') {
			params['per_page'] = disqus_per_page;
		}
		if(typeof disqus_frame_theme != 'undefined') {
			params['theme'] = disqus_frame_theme;
		}
		if(Dsq.jsonData.request.is_authenticated) {
			attributes['class'] += '-authenticated';
		}
		return this._frameGeneric(base_url, params, attributes);
	};

	this.frameEdit = function(post_id) {
		var _meta = (typeof post_id != 'undefined') ? Dsq.jsonData.posts[post_id] : false;
		var base_url = 'http://disqus.com/embed/edit.html';
		var params = {
			'p' : post_id
		};
		return this._frameGeneric(base_url, params, {'class': 'dsq-post-edit', 'name': 'dsq-edit_' + post_id + '-frame'});
	};

	//
	// Menus
	//

	this.menuMore = function(post_id) {
		// TODO: "Remove post" button should hide menu.
		var _meta = Dsq.jsonData.posts[post_id];
		var userData = Dsq.jsonData['users'][_meta.user_key];
		return ' \
			<li><a href="#comment-' + post_id + '" onclick="Dsq.Popup.permalink(' + post_id + ')">Link</a></li> \
			<li><a href="#" onclick="Dsq.Popup.popProfile(' + post_id + '); return false;">Profile</a></li>'
	+ (Dsq.jsonData.request.is_moderator || Dsq.jsonData.request.is_global_moderator
		? '	<li class="dsq-menu-sep"></li>' + (_meta.email ? '<li class="dsq-admin-email">' + _meta.email + '</li>' : '')
		+ '	<li class="dsq-admin-ip">' + _meta.ip + '</li> \
			<li class="dsq-menu-sep"></li>'
		+ (Dsq.jsonData.request.moderator_can_edit
			? ' <li class="dsq-admin-edit"><a href="#" onclick="Dsq.Post.edit(this, ' + post_id + '); return false;">Edit Comment</a></li>'
			: '')
		+ ' <li class="dsq-remove"><a href="#" onclick="Dsq.Post.removePost(' + post_id + ', 1); return false;">Remove Comment</a></li> \
			<li class="dsq-report-spam"><a href="#" onclick="Dsq.Post.reportSpam(' + post_id + '); return false;">Mark Spam</a></li> \
			<li class="dsq-block-user"><a href="#" onclick="Dsq.Popup.blacklist(' + post_id + '); return false">Block User</a></li>'
		: '');
	};

	this.menuMedia = function(post_id) {
		return ' \
			<li><a href="#" onclick="Dsq.Post.toggleMediaReply(this, ' + post_id + ', \'seesmic\'); return false;">Record video</a></li> \
		';
	};

	this.dropProfile = function(post_id) {
		var _meta = Dsq.jsonData.posts[post_id];
		var userData = Dsq.jsonData['users'][_meta.user_key];

		var _includeServices = function() {
			var userServices = Dsq.Post.getUserServices(null, post_id);
			var html = '';
			var hiddenThreshold = 3; // Define # of services to show before stuffing them in hidden div

			for(var i = 0; i < userServices.length; i++) {
				html +=
				(i == hiddenThreshold
					? '<li id="dsq-drop-hidden-' + post_id +'" class="dsq-drop-hidden"><ul>'
					: '')
				+ '<li class="dsq-drop-services"> \
					<a class="dsq-service-' + userServices[i].name.toLowerCase() + '" href="' + userServices[i].url + '" target="_blank"> \
						<img src="' + Dsq.jsonData.media_url + '/images/embed/services/' + userServices[i].name.toLowerCase() + '.png" alt="' + userServices[i].name.toLowerCase() + '">'
					+ userServices[i].name
					+ '</a> \
				</li>';
			}

			if(i >= hiddenThreshold) {
				html += '</ul></li> \
				<li id="dsq-drop-more-' + post_id + '" class="dsq-drop-more"><a href="#" onclick="Dsq.Post.dropProfileMore(this, '+ post_id + '); return false"><small>&#9660;</small></a></li> \
				';
			}
			return html;
		};


		var menu = '<li class="dsq-drop-showlnk"><a href="#" onclick="Dsq.Popup.popProfile(' + post_id + '); return false;">Expand &#8663;</a></li>';
		var pointsMessage = '';
		if (userData['registered']) {
			pointsMessage = 'with ' + userData['points'] + ' points (more points are better).';
		}

		if (userData['is_remote']) {
			var domain = userData['remote_domain_name'];
			menu += '<li class="dsq-drop-badge" title="' + userData['display_name'] + ' is a ' + domain + ' user ' + pointsMessage + '" onclick="Dsq.Popup.helpBadges()">';
			menu += '<span class="dsq-badge-' + domain.toLowerCase() + '">' + domain + '</span></li>';
		} else if (userData['registered']) {
			if (userData['verified']) {
				menu += '<li class="dsq-drop-badge" title="' + userData['display_name'] + ' has a verified commenter profile ' + pointsMessage + '" onclick="Dsq.Popup.helpBadges()">';
				menu += '<span class="dsq-badge-verified">Verified</span></li>';
			} else {
				menu += '<li class="dsq-drop-badge" title="' + userData['display_name'] + ' has a registered, but unverified, commenter profile ' + pointsMessage + '" onclick="Dsq.Popup.helpBadges()">';
				menu += '<span class="dsq-badge-registered">Registered</span></li>';
			}
		} else {
			menu += '<li class="dsq-drop-badge" title="' + userData['display_name'] + ' has not claimed this commenter profile." onclick="Dsq.Popup.helpBadges()"><span class="dsq-badge-guest">Guest</span></li>';
		}

		menu += _includeServices();
		return menu;
	};

	//
	// Popups
	//

	this._popupGeneric = function(content) {
		return ' \
		<div class="dsq-popup-content"> \
			<div class="dsq-popup-top"></div> \
			<div class="dsq-popup-body" class="clearfix"> \
				<div class="dsq-popup-body-padding"> \
					<div class="dsq-popup-header"> \
						<a class="dsq-close-link" href="#" onclick="Dsq.Popup._closePopup(null, true); return false"><img src="http://media.disqus.com/images/modal-close.png" alt="" /></a>'
						+ content['header']
					+ '</div>'
					+ content['body']
					+ '<div class="powered-by"><a href="http://disqus.com/comments/">Powered by <img src="http://media.disqus.com/images/embed/disqus-logo.png" alt="Disqus Comments" style="margin-bottom:-5px" /></a></div> \
				</div> <!-- padding --> \
			</div> <!-- body --> \
			<div class="dsq-popup-bottom"></div> \
		</div> \
		';
	};

	this.popupProfile = function(user_key) {
		var userServices = Dsq.Post.getUserServices(user_key, null);
		var userData = Dsq.jsonData['users'][user_key];
		var headerHtml = '';
		var bodyHtml = '';
		var content = {};

		var _includeServices = function() {
			var html = '';
			for(var i = 0; i < userServices.length; i++) {
				html +=
				(i == 0
					? '<h4>Connections</h4><ul>'
					: '')
				+ '<li> \
					<img src="' + Dsq.jsonData.media_url + '/images/embed/services/' + userServices[i].name.toLowerCase() + '.png" alt="' + userServices[i].name.toLowerCase() + '" title="' + userServices[i].name.toLowerCase() + '" /> \
					<a class="dsq-service-' + userServices[i].name.toLowerCase() + '" href="' + userServices[i].url + '" target="_blank">'
					+ userServices[i].name
					+ '</a> \
				</li>'
				+ (i+1 == userServices.length ? '</ul>' : '');
			}
			return html;
		};

		headerHtml = ' \
			<table> \
				<tr> \
					<td> \
						<a class="dsq-profile-userurl" href="' + userData.url + '"><img class="dsq-popup-profile-avatar" src="' + userData['avatar'] + '" alt="" /></a> \
					</td> \
					<td> \
						<div class="dsq-popup-profile-user"> \
							<h3>' + userData['display_name'] + '</h3> \
							<div class="dsq-popup-profile-user-stats" id="dsq-popup-profile-user-stats-' + user_key + '">Loading...</div> \
						</div> \
					</td> \
				</tr> \
			</table> \
		';

		bodyHtml = ' \
			<div class="dsq-popup-profile-state"> \
				This is a&nbsp;<span class="'
					+ (userData['registered']
						? (userData['verified']
							? ' dsq-badge-verified'
							: (userData['is_remote']
								? ' dsq-badge-' + userData['remote_domain_name'].toLowerCase()
								: ' dsq-badge-registered')
							)
							: ' dsq-badge-guest') + '">'
			+ (userData['registered']
				? (userData['verified']
					? 'Verified'
					: (userData['is_remote']
						 ? userData['remote_domain_name']
						 : 'Registered')
					)
				: 'Guest')
			+ '</span>&nbsp;commenter profile.'
			+ '&nbsp;<a class="dsq-profile-userurl" href="' + userData.url + '"><strong>View more comments </strong></a>'
			+ (!userData['points']
				? '<p class="dsq-popup-notice">If this is you, <a href="http://disqus.com/profile" target="_blank">claim it now</a> to manage your comments.</p>'
				: '')
			+ ((userData['registered'] && !userData['verified'] && (Dsq.jsonData.request.username && (Dsq.jsonData.request.username == userData['username'])) && !userData['is_remote'])
				? '<p class="dsq-popup-notice"><strong>Alert</strong>: You have not verified this account. <a href="http://disqus.com/verify">Verify it now.</a></p>'
				: '')
			+ '</div> \
			<div id="dsq-profile-status-' + user_key + '" class="dsq-popup-profile-status" style="display:none"></div> \
			<div class="dsq-popup-profile-snapshot"> \
				<table> \
					<tr> \
						<td> \
							<div id="dsq-popup-profile-active-sites-wrapper-' + user_key + '"> \
								<h4>Most active sites</h4> \
								<ul id="dsq-popup-profile-active-sites-' + user_key + '"> \
									<li>Loading...</li> \
								</ul> \
							</div> \
						</td> \
						<td>'
							+ _includeServices()
							+ '<div id="dsq-popup-profile-moderated-wrapper-' + user_key + '"> \
								<h4>Moderator of</h4> \
								<ul id="dsq-popup-profile-moderated-' + user_key + '"> \
									<li>Loading...</li> \
								</ul> \
							</div> \
						</td> \
					</tr> \
				</table> \
			</div> \
			';

		content = {
			'header': headerHtml,
			'body': bodyHtml
		};

		return this._popupGeneric(content);
	};

	this.popupReblog = function() {
		var headerHtml = '';
		var bodyHtml = '';
		var content = {};

		headerHtml = ' \
			<cite><span>Reblog this comment</span></cite> \
		';

		bodyHtml = ' \
			<div id="dsq-reblog-form" class="dsq-reblog-form"> \
			</div> \
		';

		content = {
			'header': headerHtml,
			'body': bodyHtml
		};

		return this._popupGeneric(content);
	};

	this.popupModal = function(title, message) {
		var headerHtml = '';
		var bodyHtml = '';
		var content = {};

		headerHtml = ' \
			<h3>' + title + '</h3> \
		';

		bodyHtml = message;

		content = {
			'header': headerHtml,
			'body': bodyHtml
		};

		return this._popupGeneric(content);
	};

	this.alertContent = function(name, post_id) {
		var alert = {
			'post_not_approved': {
				'title': 'Comment awaiting approval by a moderator',
				'message': 'Thanks for posting. Your comment must be approved by a moderator before appearing here.'
			},
			'post_has_profile': {
				'title': 'Use your existing commenter profile',
				'message': 'You have just posted your commment as a <span class="dsq-badge dsq-badge-guest">Guest</span>, but you may already have a <span class="dsq-badge dsq-badge-registered">Registered</span> commenter profile.<br /><br /><a href="http://disqus.com/claim">Log in and claim this comment!</a>'
			}
		};
		return alert[name] || false;
	};

	//
	// Actions
	//

	this.voted = function(post_id, points, vote) {
		// Update number of points
		Dsq.$('dsq-points-' + post_id).innerHTML = points + Dsq.Utils.pluralize(points, ' person', ' people') + ' liked this comment.';

		// Update link text
		if(vote) {
			Dsq.$('dsq-rate-cont-' + post_id).innerHTML = 'You liked this.';
		}
	};

	this.subscribed = function(status) {
		var title, message;

		if(status) {
			title = 'Subscribed!';
			message = 'You have subscribed to this comment thread. New comments will be sent directly to your email inbox, where you may read and respond by email.';
			Dsq.$('dsq-subscribe').innerHTML = ' \
				<a href="#" onclick="Dsq.Thread.subscribe(0); return false">Unsubscribe</a> \
			';
		} else {
			title = 'Unsubscribed';
			message = 'You have unsubscribed to this comment thread. New comments will no longer be sent to your email inbox.';
			Dsq.$('dsq-subscribe').innerHTML = ' \
				<a href="#" onclick="Dsq.Thread.subscribe(1); return false">Subscribe by email</a> \
			';
		}

		Dsq.Popup.popModal(message, title);

	};
	
	this.highlighted = function() {
		Dsq.Popup.popModal('This comment has been highlighted.', 'Highlighted comment');
	};

	//
	// Media
	//

	this.mediaSeesmic = function(id, thumb) {
		return ' \
			<div id="dsq-seesmic-' + id + '_preview" class="dsq-seesmic-preview"><a href="http://www.seesmic.com/video/' + id + '" target="_blank" class="see_link">&nbsp;</a> \
				<div style="display:block;width:160px; height:120px; border:none; background-image:url(http://t.seesmic.com/thumbnail/' + thumb + ')"> \
					<div id="dsq-seesmic-' + id + '_hide" class="seePlayOverlay" style="display:none;"><img onclick="see_play_video(\'' + id + '\',false)" src="http://media.disqus.com/images/seesmic/stopOverlay.png" width="50" height="50" style="cursor:pointer; cursor:hand; padding-top: 30px; padding-left: 50px" alt="" /></div> \
					<div id="dsq-seesmic-' + id + '_show" class="seePlayOverlay"><img onclick="see_play_video(\'' + id + '\',true)" src="http://media.disqus.com/images/seesmic/playOverlay.png" width="50" height="50" style="cursor:pointer; cursor:hand; border:none; padding-top: 30px; padding-left: 50px" alt="" /></div> \
				</div> \
			</div> \
			<div id="' + id + '_content" style="display:block; width:100%; padding-top:5px"></div> \
		';
	};

	//
	// Callbacks
	//

	this.postComment_onSuccess = function(parent_post_id) {
		// Increment post count
		var num_posts = Dsq.$('dsq-num-posts');
		var total_posts = Dsq.$('dsq-total-posts');
		
		if (num_posts) { 
			num_posts.innerHTML = parseInt(num_posts.innerHTML) + 1;
		}
		if (total_posts) { 
			total_posts.innerHTML = parseInt(total_posts.innerHTML) + 1;
		}
	};
};
// Dsq.Templates


/**
 * Dsq.Post
 */
Dsq.Post = new function() {
	this.openedMenu = {};
	this.menuEventListener = null;
	this.stateReplyToggled = {};
	this.stateEditToggled = {};
	this.stateRecordLink = {};

	/**
	 * Inserts a new post into the document.
	 *
	 * @param after_id {Number}	Insert a post before specified id.  If after_id
	 *							evaluates to false, then post in the front.  If
	 *							after_id is -1, post at the end.
	 */
	this.insert = function(after_id, id, message, author) {
		// Skeleton template from thread_posts.html.
		var skeleton = ' \
			<li id="dsq-comment-%(id)s"> \
				<div id="dsq-comment-header-%(id)s" class="dsq-comment-header"> \
					<cite id="dsq-cite-%(id)s" class="dsq-comment-cite"> \
						<a id="dsq-author-user-%(id)s" href="%(author_url)s" target="_blank" rel="nofollow">%(author_name)s</a> \
					</cite> \
				</div> \
				<div id="dsq-comment-body-%(id)s" class="dsq-comment-body"> \
					<div id="dsq-comment-message-%(id)s" class="dsq-comment-message">%(message)s</div> \
				</div> \
			</li> \
		';
		var _meta = Dsq.jsonData.posts[id];
		var _user_meta = Dsq.jsonData.users[_meta.user_key];
		var markup = Dsq.Utils.interpolate(skeleton, {
			id: id,
			message: message,
			author_url: _user_meta.blog,
			author_name: _user_meta.display_name
		});
		var div = document.createElement('div');
		markup = markup.replace(Dsq.COMMENTS_RE, Dsq.CommentsHandler);
		div.innerHTML = markup;

		if (after_id === -1) {
			Dsq.$('dsq-comments').appendChild(div);
		} else if (!after_id) {
			Dsq.$('dsq-comments').insertBefore(div, Dsq.$('dsq-comments').firstChild);
		} else if (Dsq.$('dsq-comment-' + after_id)) {
			// Get next node after "after_id", so we can insert before it.
			// If "after_id" is the last comment, the target node is the
			// last node.
			
			// var append_post_id = Dsq.Templates.appendPost(after_id).replace('<div id="','').replace('"></div>', '');
			var append_post_id = 'dsq-append-post-' + after_id;
			var node = Dsq.$(append_post_id);
			while (node = node.nextSibling) {
				if (!node || node.nodeType == 1) { // 1 == Node.ELEMENT_NODE
					break;
				}
			}
			if (!node) {
				node = Dsq.$(append_post_id);
			}
			node.parentNode.insertBefore(div, node);
		}
	};

	this.incrementPostCount = function() {
		
		var num_posts = Dsq.$('dsq-num-posts');
		var total_posts = Dsq.$('dsq-total-posts');

		if (num_posts) {
			num_posts.innerHTML = parseInt(num_posts.innerHTML, 10) + 1;
		}
		if (total_posts) {
			total_posts.innerHTML = parseInt(total_posts.innerHTML, 10) + 1;
		}
	}
	
	this.outlineComment = function(post_id) {
		Dsq.$('dsq-comment-' + post_id).className += ' dsq-comment-outline';
		setTimeout("(function () { Dsq.Post.clearOutlineComment(" + post_id + ") })()", 3000);
	};
	
	this.clearOutlineComment = function(post_id) {
		Dsq.$('dsq-comment-' + post_id).className = Dsq.$('dsq-comment-' + post_id).className.replace('dsq-comment-outline', '');
	};

	this.showMenu = function(el, id, name) {
		var anchorPos = Dsq.Utils.findPos(el);
		var menu = document.createElement('ul');

		if(this.openedMenu) {
			if(this.openedMenu.linkClicked) {
				this.openedMenu.linkClicked = false;
				return;
			}
		}

		switch(name) {
			case 'more':
				menu.innerHTML = Dsq.Templates.menuMore(id);
				break;
			case 'media':
				menu.innerHTML = Dsq.Templates.menuMedia(id);
				break;
			default:
				break;
		}

		// Add menu to document body
		menu.id = 'dsq-menu-' + id;
		menu.className = 'dsq-menu';
		Dsq.$b.appendChild(menu);

		// Position and show
		anchorPos[1] += 15;
		menu.style.left = anchorPos[0] + 'px';
		menu.style.top = anchorPos[1] + 'px';
		menu.style.display = 'block';

		// Set global reference
		this.openedMenu = {
			'el' : menu,
			'id' : id,
			'name' : name,
			'linkClicked' : false
		};

		// Set listener
		this.menuEventListener = Dsq.Utils.addEventListener(document, 'mouseup', this._hideMenu);
	};

	this._hideMenu = function(e) {
		var el = e.target || e.srcElement;
		var openedMenu = Dsq.Post.openedMenu.el;
		var id = Dsq.Post.openedMenu.id;

		if(!id) {
			var link = 'dsq-' + Dsq.Post.openedMenu.name + '-link';
		} else {
			var link = 'dsq-' + Dsq.Post.openedMenu.name + '-link-' + id;
		}

		if(!openedMenu) {
			return;
		}

		if(!Dsq.Popup.isClicked(e, openedMenu.id)) {
			openedMenu.style.display = 'none';
			Dsq.Utils.removeEventListener(Dsq.Post.menuEventListener);
			Dsq.Utils.deleteNode(openedMenu);

		} else {
			// Hide the menu if a link was clicked inside the menu.  We can't
			// completely remove the menu until the onclick event on the link
			// fires, but the menuEventListener will prevent multiple menus
			// from polluting the DOM.
			if(el && typeof el.href != 'undefined') {
				openedMenu.style.display = 'none';
				Dsq.Post.openedMenu.el = null;
			}
		}

		if(Dsq.Popup.isClicked(e, link)) {
 			Dsq.Post.openedMenu.linkClicked = true;
		}
	};


	this.getUserServices = function(user_key, id) {
		if(!user_key && id) {
			var _meta = Dsq.jsonData.posts[id];
			user_key = _meta.user_key;
		}
		var userData = Dsq.jsonData['users'][user_key];
		var userServices = [];

		// Keep a full list of supported services. This is the order they will display in the drop-profile.
		// Each service must have a corresponding case in _buildServiceUrl()
		var supportedServices = ['blog', 'twitter', 'facebook', 'tumblr'];

		function _buildServiceUrl(serviceName) {
			var data = userData[serviceName];
			var services = {
				blog:		function(d) { return d; },
				twitter:	function(d) { return d; },
				facebook:	function(d) { return d; },
				tumblr:		function(d) { return 'http://' + d + '.tumblr.com'; }
			};
			return services[serviceName](data);
		}

		for(var i = 0; i < supportedServices.length; i++) {
			if(userData[supportedServices[i]]) {
				var serviceUrl = _buildServiceUrl(supportedServices[i]);
				userServices.push({'name' : supportedServices[i], 'url' : serviceUrl});
			}
		}
		return userServices;
	}

	this.dropProfile = function(id) {
		var dp = Dsq.$('dsq-drop-profile-' + id);

		// IE6 needs JS to display/hide. All other browsers use CSS.
		if(dp) {
			if(Dsq.Utils.ie6) dp.style.display = (dp.style.display == 'inline') ? 'none' : 'inline';
			return false;
		} else {
			dp = document.createElement('ul');
		}

		dp.id = 'dsq-drop-profile-' + id;
		dp.className = 'dsq-drop-profile';

		if(Dsq.Utils.ie6) { dp.style.display = 'inline'; }

		var container = Dsq.$('dsq-header-avatar-' + id);
		dp.innerHTML = Dsq.Templates.dropProfile(id);
		container.appendChild(dp);
	};

	this.dropProfileMore = function(el, id) {
		var hiddenItems = Dsq.$('dsq-drop-hidden-' + id);

		hiddenItems.style.display = 'inline';
		el.parentNode.style.display = 'none';
	};

	this._updateReplyLinks = function(el, id) {
		// Update "reply / cancel" links based on state.
		var displayDict = {};

		if(id) {
			if(this.stateReplyToggled[id]) {
				el.innerHTML = 'Cancel';
				displayDict['media'] = 'inline';
				displayDict['edit'] = 'none';
			} else {
				el.innerHTML = 'Reply';
				displayDict['media'] = 'none';
				displayDict['edit'] = 'inline';
			}
		}

		for(var key in displayDict) {
			if(displayDict.hasOwnProperty(key)) {
				var	linkEl = Dsq.$('dsq-' + key + '-el-' + id),
					spacer = Dsq.$('dsq-' + key + '-spacer-' + id);

				if(linkEl) {
					linkEl.style.display = displayDict[key];
					if(spacer) spacer.style.display = displayDict[key];
				}
			}
		}
	};

	this._updateMediaLinks = function(el, id) {
		// Update "use media / cancel" links based on state.
		var appendId = (id) ? ('-' + id) : '';
		var link = Dsq.$('dsq-media-link' + appendId);

		if(this.stateRecordLink[id]) {
			link.innerHTML = 'Cancel Media';
			link.onclick = function() { Dsq.Post.toggleMediaReply(link, id); return false; };
		} else {
			link.innerHTML = 'Use Media <small>&#9660;</small>';
			link.onclick = function() { Dsq.Post.showMenu(link, id, 'media'); return false; };
		}
	};

	this.toggleReply = function(el, id) {
		// Create reply IFrame
		if (window.disqus_use_postmessage) {
			if (!this.stateReplyToggled[id]) {
				Dsq.$('dsq-reply-' + id).style.display = 'block';
				Dsq.$('dsq-reply-bar-' + id).style.display = 'block';
				// Create IFrame if it doesn't exist.
				if (!Dsq.frames['reply_' + id]) {
					var _meta = Dsq.jsonData.posts[id];
					Dsq.frames['reply_' + id] = new Dsq.ReplyFrame(Dsq.$('dsq-reply-frame-' + id), id);
					Dsq.frames['reply_' + id].init();
					Dsq.frames['reply_' + id].setState(id, _meta.depth);
				}
			} else {
				Dsq.$('dsq-reply-' + id).style.display = 'none';
				Dsq.$('dsq-reply-bar-' + id).style.display = 'none';
			}
		} else {
			// DEPRECATED
			if(!this.stateReplyToggled[id]) {
				// Reply toolbar
				Dsq.$('dsq-reply-bar-' + id).style.display = 'block';
				Dsq.Iframes.showReplyIframeInContainerIfAllowed(Dsq.$('dsq-reply-' + id), id);
			} else {
				Dsq.$('dsq-reply-bar-' + id).style.display = 'none';
				Dsq.Iframes.hideAllInContainer(Dsq.$('dsq-reply-' + id));
				if(this.stateRecordLink[id]) {
					// HACK: Cancel media before canceling self.
					this.toggleMediaReply(Dsq.$('dsq-media-link-' + id), id);
				}
			}
		}

		this.stateReplyToggled[id] = !this.stateReplyToggled[id];
		this._updateReplyLinks(el, id);

		if(Dsq.Utils.ie) { Dsq.Utils.fixIframesIE('dsq-reply-' + id); }

		Dsq.Events.fire(Dsq.Events.REPLY_IFRAME_TOGGLED, {
			postId: id,
			opened: this.stateReplyToggled[id]
		});
	};

	this.toggleMediaReply = function(el, id, xtype) {
		id = id || 0;
		if(id) {
			var container = Dsq.$('dsq-reply-' + id);
		} else {
			var container = Dsq.$('dsq-post-add');
		}

		if(!this.stateRecordLink[id]) {
			Dsq.Iframes.showReplyIframeInContainer(container, id, {xtype:xtype}, 'dsq-post-video');
		} else {
			Dsq.Iframes.showReplyIframeInContainer(container, id);
		}
		this.stateRecordLink[id] = !this.stateRecordLink[id];
		this._updateMediaLinks(el, id);

		if(Dsq.Utils.ie) { Dsq.Utils.fixIframesIE(); }
	};

	this.edit = function(el, id) {
		Dsq.$('dsq-comment-message-' + id).innerHTML = Dsq.Templates.frameEdit(id);
		el.parentNode.style.display = 'none';
		if(Dsq.Utils.ie) { Dsq.Utils.fixIframesIE('dsq-comment-message-' + id); }
	};

    this.rate = function(el, id, vote) {
		if(Dsq.jsonData.request.is_authenticated || Dsq.jsonData.forum.allow_anon_votes) {
			if(vote == 1) {
                Dsq.$('dsq-rate-cont-' + id).innerHTML = '<img src="http://media.disqus.com/images/loading-small.gif">';
            }

            Dsq.Utils.execScript('http://disqus.com/forums/scobleizer/vote.js'
                + '?post_id='    + id
                + '&vote='        + vote);

		} else {
			Dsq.Popup.login(Dsq.Strings.TO_RATE_PLEASE_LOG_IN);
		}
    };

	this.report = function(id, confirmed) {
		if(confirmed) {
			Dsq.Utils.postToUrl('http://disqus.com/forums/scobleizer/pivottable_this_video/post_report/', {'post_id': id});
			Dsq.Popup.popModal('Thank you. This comment has been flagged for moderator attention.', 'Successfully flagged');
			Dsq.Utils.deleteNode(Dsq.$('dsq-post-report-' + id));
		} else {
			var title = Dsq.Strings.FLAG_INAPPROPRIATE_COMMENT;
			var message = Dsq.Strings.ARE_YOU_SURE_YOU_WOULD_LIKE_TO_REPORT_THIS_COMMENT_TO_A_MODERATOR + '? \
			<br /><br /> \
			<button type="button" onclick="Dsq.Popup._closePopup(null, true)"><strong>' + Dsq.Strings.NO + '</strong>, ' + Dsq.Strings.NEVER_MIND + '</button>&nbsp;&nbsp;&nbsp;<button type="button" onclick="Dsq.Post.report(' + id + ', true);"><strong>' + Dsq.Strings.YES + '</strong>, ' + Dsq.Strings.FLAG_INAPPROPRIATE_COMMENT + '</button><br /><br />'
			+ Dsq.Strings.THIS_WILL_FLAG_COMMENTS_FOR_MODERATORS_TO_TAKE_ACTION + '. \
			';

			Dsq.Popup.popModal(message, title, id);
		}
	};



	this.showAlert = function(id, msg) {
		var msgEl = Dsq.$('dsq-comment-message-' + id);
		var alert = '<div class="dsq-comment-alert">' + msg + '</div>';

		msgEl.innerHTML = alert + msgEl.innerHTML;
	};

};
// Dsq.Post


/**
 * Dsq.Thread
 */
Dsq.Thread = new function() {
	this.fc = null;
	this.ff = null;
	this.ac = null;

	
	this.adminIsOn = false;

	
	
	

	this.hlComment = null;
	this.hlCommentClass = null;

	this.getNextComment = function(el) {
		var start_id = el.id;
		while(el = el.nextSibling) {
			if(el.id && el.id.indexOf('dsq-comment-') != -1 && el.id != start_id) {
				return el;
			}
		}
		return null;
	};

	this.getActiveCommentId = function() {
		if (document.URL.indexOf('#comment-') >= 0) {
			var anchor = document.URL.slice(document.URL.indexOf('#') + 1);
			return anchor.replace('comment-', '');
		}
		return null;
	};

	this.highlightAnchor = function() {
		var i = this.getActiveCommentId();
		if (i == null) return false;
		var id = 'dsq-comment-' + i;
		var hash = window.location.hash;

		// Toggle the hash incase the comment isn't available when the page loads
		// for WebKit-based browsers.
		if (Dsq.Utils.webkit) {
			window.location.hash = '';
			window.location.hash = hash;
		}

		this.hlComment = Dsq.$(id);
		// Adding this conditional guard pending #289
		if (!this.hlComment) {
			return;
		}
		this.hlCommentClass = this.hlComment.className;
		this.hlComment.className += ' dsq-hl-anchor';

		setTimeout("Dsq.Thread.highlightClear()", 3000);
	};

	this.highlightClear = function() {
		if (!this.hlComment) {
			return;
		}
		this.hlComment.className = this.hlCommentClass;
	};

	this.login = function(toggle) {
		// toggle id is #dsq-reply-login-[id]
		var postId;
		if(toggle.id.indexOf('dsq-reply-login') != -1) {
			postId = toggle.id.slice(16);
			var container = Dsq.$('dsq-reply-' + postId);
		} else {
			var container = Dsq.$('dsq-post-add');
		}

		if(toggle) {
			if(toggle.className == 'dsq-login-active') {
				Dsq.Iframes.showReplyIframeInContainerIfAllowed(container, postId);
				toggle.className = '';
			} else {
				Dsq.Iframes.showLoginIframeInContainer(container, postId);
				toggle.className = 'dsq-login-active';
			}
		} else {
			Dsq.Iframes.showLoginIframeInContainer(container, postId);
		}

		if(Dsq.Utils.ie) { Dsq.Utils.fixIframesIE(); }
	};


	this.paginate = function(page, el_clicked, per_page) {
		// Use extra_params to pass any override parameters that we need to persist.
		var extra_params = '';

		// "Per page" can either be overriden by providing it as an argument
		// (per-call) or setting the disqus_per_page override variable (global).
		if(typeof per_page == 'undefined') {
			per_page = null;
		}
		if(typeof disqus_per_page != 'undefined' && per_page === null) {
			per_page = disqus_per_page;
		}

		if(typeof disqus_sort != 'undefined') {
			extra_params += '&sort=' + disqus_sort;
		}
		if(per_page !== null) {
			extra_params += '&per_page=' + per_page;
		}

		Dsq.$('dsq-pagination').innerHTML += '<img src="http://media.disqus.com/images/loading-small.gif">';
		
		if(el_clicked) {
			el_clicked.style.display = 'none';
		}
		
		Dsq.Utils.execScript('http://disqus.com/forums/scobleizer/thread.js'
			+ '?slug='	+ 'pivottable_this_video'
			+ '&p='		+ page
			+ extra_params);
	};

	this.sortBy = function(sort) {
		var disqus_script = document.createElement('script');
		var disqus_date = new Date();

		if (location.hash != '') {
			location.hash = '#disqus_thread';
		}

		if(typeof(disqus_url) == 'undefined') {
			disqus_url = disqus_href;
		}
		disqus_script.type = 'text/javascript';
		disqus_script.src = 'http://disqus.com/forums/scobleizer/thread.js'
			+ '?slug='	+ 'pivottable_this_video'
			+ '&sort='	+ sort
			+ '&title='
			+ '&'		+ disqus_date.getTime();

		Dsq.$('dsq-comments').innerHTML = '<img src="http://media.disqus.com/images/loading.gif">';
		Dsq.container.appendChild(disqus_script);
	};

	this.subscribe = function(status, email) {
		// `status` is an int -- 1 to subscribe, 0 to unsubscribe
		if(Dsq.jsonData.request.is_authenticated || email) {
			// If authenticated user OR anonymous email provided

			if(email) {
				Dsq.Popup._closePopup(null, true);
			}

			Dsq.Utils.execScript('http://disqus.com/forums/scobleizer/subscribe.js'
				+'?status=' 	+ status
				+ '&slug='		+ 'pivottable_this_video'
				+ '&email=' 	+ encodeURIComponent(email));

		} else if(!email) {
			// If anonymous user and no email has been provided yet, prompt for email

			var title = 'Subscribe to this comment thread';
			var message = ' \
				New comments will be sent directly to your email inbox! \
				<div class="dsq-subscribe-submit"> \
					<p><strong>Enter your email address below.</strong></p> \
					<input type="text" id="dsq-subscribe-email"> \
					<button type="button" onclick="Dsq.Thread.subscribe(1, Dsq.$(\'dsq-subscribe-email\').value)">Subscribe</button> \
				</div> \
			';

			Dsq.Popup.popModal(message, title);
		}
	};

	this.showSettings = function() {
		if (!Dsq.jsonData.request.is_moderator) {
			return;
		}

		/* The form has to be re-designed when more options will come out. */
		var html = 'Automatically close comments after <input size="3" id="dsq-thread-days-alive" value="' + Dsq.jsonData.thread.days_alive + '" type="text" /> days. Existing comments will still be displayed.<br /><br />(Using 0 days will disable this feature)<br /><br />'
								 + '<button type="button" onclick="Dsq.Thread.updateDaysAlive();" class="dsq-button-small"><span>Save</span></button>'
								 + '<span id="dsq-thread-settings-status" class="dsq-options-status"></span>';

		Dsq.Popup.popModal(html, 'Settings');
	};

  this.showModeratorActions = function() {
      if (!Dsq.jsonData.request.is_moderator) {
          return;
      }

      var html = '<div class="dsq-moderate-options"><table><tr>' +
                 '<td>' + Dsq.Strings.ACTIONS + '</td><td><ul>';
      html += '<li><a href="#" onclick="Dsq.Thread.toggleClosed(); return false;">' +
              (Dsq.jsonData.thread.closed ? Dsq.Strings.OPEN_THREAD : Dsq.Strings.CLOSE_THREAD) +
              '</a></li>';
      html += '<li><a href="#" onclick="Dsq.Thread.toggleKilled(); return false;">' +
              (Dsq.jsonData.thread.killed ? Dsq.Strings.RESTORE_THREAD : Dsq.Strings.REMOVE_THREAD) +
              '</a></li>';
      html += '</ul></td></tr></table></div>' +
              '<p>Go to the full <a href="http://disqus.com/comments/moderate-threads/" target="_blank">moderate panel</a> for more options.</p>';
      Dsq.Popup.popModal(html, Dsq.Strings.MODERATE_OPTIONS);
  };

	this.updateDaysAlive = function() {
		  var days = Dsq.$('dsq-thread-days-alive').value;
		  var status = Dsq.$('dsq-thread-settings-status');
		  Dsq.Utils.postToUrl('http://disqus.com/forums/scobleizer/update_days_alive.js', {days:days,thread:Dsq.jsonData.thread.id});
		  status.innerHTML = 'Saved!';
		  window.setTimeout(function() { status.innerHTML = ''; }, 1000);
	};

  this.toggleClosed = function() {
      Dsq.Utils.postToUrl('http://disqus.com/forums/scobleizer/toggle_thread_closed.js', {thread:Dsq.jsonData.thread.id});
      window.setTimeout(function() { window.location.reload(); }, 500);
  };

  this.toggleKilled = function() {
      Dsq.Utils.postToUrl('http://disqus.com/forums/scobleizer/toggle_thread_killed.js', {thread:Dsq.jsonData.thread.id});
      window.setTimeout(function() { window.location.reload(); }, 500);
  };
};
// Dsq.Thread

Dsq.Events = function() {
	var obj = {};

	// Private
	var handlers = {};
	var getHandlers = function(event) {
		if (handlers[event] === undefined) {
			handlers[event] = [];
		}
		return handlers[event];
	};

	// Public
	// Value keys : postId, node, xtype
	obj.REPLY_IFRAME_CREATED = 1;
	// Value keys : postId, opened
	obj.REPLY_IFRAME_TOGGLED = 2;
	obj.fire = function(event, opt_value) {
		if (!event) {
			throw new Error('Unknown event');
		}
		var value = opt_value || {};
		for (var i=0; i<getHandlers(event).length; i++) {
			getHandlers(event)[i](value);
		}
	};
	obj.addHandler = function(event, callback) {
		getHandlers(event).push(callback);
	};

	return obj;
}();

/**
 * Dsq.Realtime
 */
Dsq.Realtime = new function() {
	var initialized = false;
	var interval = null;
	var last_checked = Dsq.jsonData.request.timestamp;
	var new_posts = [];
	var ongoing_request = false;
	var prev_script = null;

	function updateNewPostCount() {
		Dsq.$('dsq-realtime-alert').style.display = new_posts.length ? 'block' : 'none';

		Dsq.$('dsq-realtime-queued').innerHTML = new_posts.length
		+ ' new '
		+ Dsq.Utils.pluralize(new_posts.length, 'comment', 'comments')
		+ Dsq.Utils.pluralize(new_posts.length, ' was', ' were')
		+ ' just posted.';

		Dsq.$('dsq-realtime-show').innerHTML = '(' + Dsq.Strings.SHOW + ')';
	}

	function insertNewPosts() {
		var post_id = null;
		var after_id = Dsq.$('dsq-sort-select').value === 'oldest' ? -1 : null;

		for (var i=0; i<new_posts.length; i++) {
			post_id = new_posts[i];
			Dsq.Post.insert(after_id, post_id, Dsq.jsonData.posts[post_id].message);
			Dsq.Post.incrementPostCount();
			Dsq.Post.outlineComment(post_id);
		}
		new_posts = [];
	}

	this.enableInterval = function() {
		interval = setInterval(Dsq.Realtime.check, Dsq.jsonData.context.realtime_speed);
		Dsq.$('dsq-realtime-status').innerHTML = Dsq.Strings.ENABLED;
		Dsq.$('dsq-realtime-toggle').innerHTML = '(' + Dsq.Strings.PAUSE + ')';
	}

	this.disableInterval = function() {
		if (interval) {
			clearInterval(interval);
			interval = null;
		}
		Dsq.$('dsq-realtime-status').innerHTML = Dsq.Strings.PAUSED;
		Dsq.$('dsq-realtime-toggle').innerHTML = '(' + Dsq.Strings.RESUME + ')';
	}

	this.toggleInterval = function() {
		if (!interval) {
			Dsq.Realtime.enableInterval();
		} else {
			Dsq.Realtime.disableInterval();
		}
		return false;
	}

	this.initialize = function() {
		if (!initialized) {
			initialized = true;
			Dsq.$('dsq-realtime-toggle').onclick = this.toggleInterval;
			if (!Dsq.jsonData.forum.streaming_realtime) {
				Dsq.$('dsq-realtime-show').onclick = this.show;
				updateNewPostCount();
			}
			if (Dsq.jsonData.thread.realtime_paused) {
				Dsq.Realtime.disableInterval();
			} else {
				Dsq.Realtime.enableInterval();
			}
		}
	}

	this.show = function() {
		insertNewPosts();
		updateNewPostCount();
		return false;
	}

	this.check = function() {
		if (!ongoing_request && Dsq.jsonData.realtime_enabled) {
			if (prev_script) {
				prev_script.parentNode.removeChild(prev_script);
			}
			ongoing_request = true;
			prev_script = Dsq.Utils.execScript('http://disqus.com/forums/18457442/realtime.js?timestamp=' + last_checked);
		}
	};

	this.update = function(timestamp, posts, users) {
		ongoing_request = false;
		last_checked = timestamp;

		if (users) {
			for (var user_id in users) {
				if (users.hasOwnProperty(user_id)) {
					if (!Dsq.jsonData.users[user_id]) {
						Dsq.jsonData.users[user_id] = users[user_id];
					}
				}
			}
		}

		if (posts) {
			for (var post_id in posts) {
				if (posts.hasOwnProperty(post_id)) {
					if (!Dsq.jsonData.posts[post_id]) {
						Dsq.jsonData.posts[post_id] = posts[post_id];
						new_posts.push(post_id);
					}
				}
			}

			if (Dsq.jsonData.forum.streaming_realtime) {
				insertNewPosts();
			} else {
				updateNewPostCount();
			}
		}
	};

}();

// DEPRECATED
Dsq.Iframes = function() {
	// Different style of object from the above. Hoping to switch to this for some reason.
	var obj = {};

	// Private
	var showIframeInContainer = function(container, id, markup) {
		// Look through container for iframes, hiding them, except show one that matches id
		// If none of them matched id, create a new iframe using markup and insert it.
		// Returns the iframe node if and only if it was newly created.
		var found = false;
		for (var i=0; i<container.childNodes.length; i++) {
			var child = container.childNodes[i];
			if (child.nodeName == 'IFRAME') {
				if (child.id == id) {
					child.style.display = 'block';
					found = true;
				} else {
					child.style.display = 'none';
				}
			}
		}
		if (found) {
			return;
		}
		// The iframe wasn't found, so construct it and add it to the container.
		// Don't use innerHTML because it might reload iframes
		var div = document.createElement('div');
		div.innerHTML = markup;
		var iframe = div.childNodes[0];
		div.removeChild(iframe);
		container.appendChild(iframe);
		return iframe;
	};

	// Public
	obj.makeReplyIframeId = function(opt_postId, opt_xtype) {
		var id = 'dsq-post-add-iframe';
		if (opt_xtype) {
			id += '-' + opt_xtype;
		}
		if (opt_postId) {
			id += '-' + opt_postId;
		}
		return id;
	};
	obj.makeLoginIframeId = function(opt_postId) {
		if (!opt_postId) {
			return 'dsq-login-iframe';
		}
		return 'dsq-login-iframe-' + opt_postId;
	};
	obj.makeReplyIframeName = function(opt_postId, opt_xtype) {
		var name = 'dsq-reply-frame';
		if (opt_xtype) {
			name += '-' + opt_xtype;
		}
		if (opt_postId) {
			name += '-' + opt_postId;
		}
		return name;
	};
	obj.showReplyIframeInContainer = function(container, opt_postId, opt_extraParams, opt_className) {
		// Construct the id so we can check if it's already present.
		// Hide any other iframes we find, and show this one if it's found.
		var params = opt_extraParams || {};
		// use xtype in the id and name so we can distinguish media replies from text replies:
		var id = Dsq.Iframes.makeReplyIframeId(opt_postId, params.xtype);
		var name = Dsq.Iframes.makeReplyIframeName(opt_postId, params.xtype);
		var attributes = {
			'id': id,
			'name': name,
			'class': opt_className || 'dsq-post-reply'
			};
		var markup = Dsq.Templates.frameReply(opt_postId, opt_extraParams, attributes);
		var iframe = showIframeInContainer(container, id, markup);
		// It was newly created
		if (iframe) {
			Dsq.Events.fire(Dsq.Events.REPLY_IFRAME_CREATED, {
				postId: opt_postId,
				node: iframe,
				xtype: params.xtype
			});
		}
	};
	obj.showLoginIframeInContainer = function(container, opt_postId) {
		var id = Dsq.Iframes.makeLoginIframeId(opt_postId);
		var markup = Dsq.Templates.frameLogin({id: id});
		showIframeInContainer(container, id, markup);
	};
	obj.showReplyIframeInContainerIfAllowed = function(container, opt_postId) {
		if (Dsq.jsonData.context.show_reply) {
			obj.showReplyIframeInContainer(container, opt_postId);
		} else {
			obj.hideAllInContainer(container);
		}
	};
	obj.hideAllInContainer = function(container) {
		for (var i=0; i<container.childNodes.length; i++) {
			var child = container.childNodes[i];
			if (child.nodeName == 'IFRAME') {
				child.style.display = 'none';
			}
		}
	};

	return obj;
}();

Dsq.Twitter = new function() {
	var that = this;

	this.startTwitterConnect = function() {
		var popupParams = 'location=0,status=0,width=800,height=400';
		that._twitterWindow = window.open(Dsq.jsonData.settings.disqus_url + '/_ax/twitter/begin/', 'twitterWindow', popupParams);
		that._twitterInterval = window.setInterval(that.completeTwitterConnect, 1000);
	};

	this.completeTwitterConnect = function() {
		if (that._twitterWindow.closed) {
			window.clearInterval(that._twitterInterval);
			window.location.reload();
		}
	};
};

Dsq.Yahoo = new function() {
	var that = this;

	this.startYahooConnect = function() {
		var popupParams = 'location=0,status=0,width=800,height=400';
		that._yahooWindow = window.open(Dsq.jsonData.settings.disqus_url + '/_ax/yahoo/begin/', 'yahooWindow', popupParams);
		that._yahooInterval = window.setInterval(that.completeYahooConnect, 1000);
	};

	this.completeYahooConnect = function() {
		if (that._yahooWindow.closed) {
			window.clearInterval(that._yahooInterval);
			window.location.reload();
		}
	};
};

Dsq.OpenID = new function() {
	var that = this;

	this.requestURL = function() {
		var message = '<table class="dsq-openid-form"><tr><td style="vertical-align:top;" rowspan="2"><img src="' + Dsq.jsonData.settings.media_url + '/images/openid-icon-100x100.png" /></td>';
		message += '<td><label for="dsq-openid-url">OpenID URL:</label></td><td><input type="text" id="dsq-openid-url" /></td></tr>';
		message += '<tr><td><label for="dsq-openid-username">Display name:</label></td><td><input type="text" id="dsq-openid-username" /></td></tr>';
		message += '<tr><td class="dsq-openid-submit" colspan="3"><input type="button" value="Sign in" onclick="Dsq.OpenID.startConnect();" /></td></tr>';
		message += "</table>";

		Dsq.Popup.popModal(message, 'Sign in using OpenID');
	};

	this.startConnect = function() {
		var isblank = function(str) {
			return /^\s*$/.test(str);
		};

		var openid_url = Dsq.$('dsq-openid-url').value;
		var username = Dsq.$('dsq-openid-username').value;

		if (isblank(openid_url)) {
			return;
		}

		var popupParams = 'location=0,status=0,width=800,height=500';
		var url = Dsq.jsonData.settings.disqus_url + '/_ax/openid/begin/' + '?url=' + encodeURIComponent(openid_url) + '&username=' + encodeURIComponent(username);
		that._openidWindow = window.open(url, 'openidWindow', popupParams);
		that._openidInterval = window.setInterval(that.completeConnect, 1000);
	};

	this.completeConnect = function() {
		if (that._openidWindow.closed) {
			window.clearInterval(that._openidInterval);
			window.location.reload();
		}
	};
};

Dsq.Reaction = new function() {
	var that = this;

	this.hide = function(id) {
		Dsq.Utils.execScript('http://disqus.com/forums/scobleizer/hidereaction.js?' + 'reaction_id=' + id);
	};

	this.reportMissingReactions = function() {
		if (!Dsq.jsonData.request.is_moderator || !Dsq.jsonData.forum.reactions_enabled) {
			return;
		}

		if (Dsq.jsonData.thread.queued) {
			Dsq.Popup.popModal('Your report has been received. The system will automatically search for new reactions; if any are found, they will be displayed on this comment thread.<br/><br/>Thank&nbsp;you.',
												 'Reported missing reactions');
			return;
		}

		Dsq.Utils.execScript(Dsq.jsonData.settings.disqus_url + '/forums/scobleizer/queueurl.js');
	};
};

Dsq.CNN = function() {
	var obj = {};

	obj.authenticate = function() {
		var url = Dsq.jsonData.settings.disqus_url + "/saml/cnn/try/";
		Dsq.Utils.postToUrl(url, {'target': document.location}, true);
	};

	return obj;
}();


if(Dsq.Utils.ie6) {
	(function() {
		DSQ_HEADER_AVATAR_RE = /<div class="dsq-header-avatar"(.*?)>/gim;
		Dsq.Templates.registerFilter('postPrependHeader', function(html, post_id) {
			// Add "onmouseout" for dsq-header-avatar for dropProfile
			// functionality since IE6 cannot use :hover.
			function _headerAvatarReplace(content, inner, _unused, html) {
				return '<div class="dsq-header-avatar" '
					+ inner
					+ ' onmouseout="Dsq.Post.dropProfile(' + post_id + ')">';
			}
			html = html.replace(DSQ_HEADER_AVATAR_RE, _headerAvatarReplace);
			return html;
		});
	})();
}





	// TODO: Move Seesmic code outside of the main script.  Don't let this script clobber the global namespace.
	if(typeof seesmic == 'undefined') { var seesmic = {}; }
	seesmic.widget = new function () {
		this.callback = function (data) {
			playerVersion = data.disqusplayer;
		};
	};

	
	var scriptEl = document.createElement('script');
	scriptEl.setAttribute('type', 'text/javascript');
	scriptEl.setAttribute('src', 'http://seesmic.com/version.js?callback=seesmic.widget.callback');
	document.getElementsByTagName('head')[0].appendChild(scriptEl);

	
	var scriptEl = document.createElement('script');
	scriptEl.setAttribute('type', 'text/javascript');
	scriptEl.setAttribute('src', 'http://media.disqus.com/javascript/library/swfobject.js');
	document.getElementsByTagName('head')[0].appendChild(scriptEl);

	function see_play_video(_videoUri, _add) {
		var swf = !!playerVersion ? playerVersion : 'http://seesmic.com/embeds/StandalonePlayer.swf';

		flashcontentDiv = Dsq.$(_videoUri + '_content');
		previewDiv = Dsq.$('dsq-seesmic-' + _videoUri + '_preview');
		hideDiv = Dsq.$('dsq-seesmic-' + _videoUri + '_hide');
		showDiv = Dsq.$('dsq-seesmic-' + _videoUri + '_show');
		if(_add) {
			// push flash widget
			var so = new SWFObject(swf, 'sotester', '300', '270', '9', '#000000');
			so.addVariable('video', _videoUri);
			so.addParam('allowFullScreen', 'true');
			so.addParam('allowScriptAccess','always');
			so.useExpressInstall('swfobject/expressinstall.swf');
			so.write(_videoUri + '_content');

			previewDiv.style.display = 'none';
			hideDiv.style.display = 'block';
			showDiv.style.display = 'none';
		}
		else {
			flashcontentDiv.innerHTML = '';
			previewDiv.style.display = 'block';
			hideDiv.style.display = 'none';
			showDiv.style.display = 'block';
		}
	};





(function() {
	//
	// Load theme.  This overrides the base templates with template functions
	// from the respective themes.
	//
	if (Dsq.jsonData.integration.theme == 4) {
		var theme = 'narcissus';
		// HACK: Set variable on window to use post message.
		window.disqus_use_postmessage = true;

		
		for(var prop in Dsq.Themes[theme]) {
			if(Dsq.Themes[theme] && Dsq.Themes[theme].hasOwnProperty(prop)) {
				Dsq.Templates[prop] = Dsq.Themes[theme][prop];
			}
		}
		
		for(var prop in Dsq.Post) {
			if(Dsq.Themes[theme] && Dsq.Themes[theme].hasOwnProperty(prop)) {
				Dsq.Post[prop] = Dsq.Themes[theme][prop];
			}
		}
	}

	//
	// Register templates.  This must be done after all themes are loaded.
	//
	Dsq.Templates.registerTemplate('authPost', Dsq.Templates.authPost);
	Dsq.Templates.registerTemplate('header', Dsq.Templates.header);
	Dsq.Templates.registerTemplate('footer', Dsq.Templates.footer);
	Dsq.Templates.registerTemplate('trackbacks', Dsq.Templates.trackbacks);
	Dsq.Templates.registerTemplate('reactions', Dsq.Templates.reactions);
	Dsq.Templates.registerTemplate('prependPost', Dsq.Templates.prependPost);
	Dsq.Templates.registerTemplate('appendPost', Dsq.Templates.appendPost);
	Dsq.Templates.registerTemplate('postPrependHeader', Dsq.Templates.postPrependHeader);
	Dsq.Templates.registerTemplate('postAppendHeader', Dsq.Templates.postAppendHeader);
	Dsq.Templates.registerTemplate('preBody', Dsq.Templates.preBody);
	Dsq.Templates.registerTemplate('postBody', Dsq.Templates.postBody);
	Dsq.Templates.registerTemplate('postFooter', Dsq.Templates.postFooter);
	Dsq.Templates.registerTemplate('_popupGeneric', Dsq.Templates._popupGeneric);
	Dsq.Templates.registerTemplate('voted', Dsq.Templates.voted);
	Dsq.Templates.registerTemplate('popupProfile', Dsq.Templates.popupProfile);
	Dsq.Templates.registerTemplate('postBox', Dsq.Templates.postBox);
	Dsq.Templates.registerTemplate('pagination', Dsq.Templates.pagination);
	Dsq.Templates.registerTemplate('postComment_onSuccess', Dsq.Templates.postComment_onSuccess);

})();

Dsq.container.className = "clearfix";
Dsq.container.innerHTML = ' \
<ul id="dsq-comments">\
	 <li id="dsq-comment-9630566">\
	 <div id="dsq-comment-header-9630566" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630566" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630566">Jake</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630566" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630566" class="dsq-comment-message">Last year I used a Pivot Table. Looking forward to next year when I do it again.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630567">\
	 <div id="dsq-comment-header-9630567" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630567" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630567" href="http://scobleizer.wordpress.com/" target="_blank" rel="nofollow">scobleizer</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630567" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630567" class="dsq-comment-message">Jake: next year it\'ll be a LOT easier!</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630568">\
	 <div id="dsq-comment-header-9630568" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630568" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630568">Mark</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630568" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630568" class="dsq-comment-message">Yea. And like those videos are unbiased.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630569">\
	 <div id="dsq-comment-header-9630569" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630569" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630569" href="http://www.boyet.com/" target="_blank" rel="nofollow">Julian M Bucknall</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630569" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630569" class="dsq-comment-message">Robert<br><br>PivotTables are in Excel 2003.<br><br>Cheers, Julian</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630570">\
	 <div id="dsq-comment-header-9630570" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630570" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630570" href="http://scobleizer.wordpress.com/" target="_blank" rel="nofollow">scobleizer</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630570" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630570" class="dsq-comment-message">Julian: yes, I know, but they are MUCH easier in Excel 2007.<br><br>Mark: the videos are simple conversations about a single product. Nothing is misrepresented. You can replicate exactly what we talked about on your own system.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630571">\
	 <div id="dsq-comment-header-9630571" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630571" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630571">anon</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630571" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630571" class="dsq-comment-message">For the people who need to do that it might look like a reason to upgrade.  For 99% of the computer public, though, I think Office 97 will do just fine.<br><br>I sure hope the majority of people choose word, spreadsheet and presentation software based on open standards like Open Office instead of the proprietary, closed format of Office.<br><br>Is there anything in Microsoft\'s secret licensing deals with OEMs which would forbid bundling OpenOffice with Windows or offering it as a free alternative to Office 2003/2007?</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630572">\
	 <div id="dsq-comment-header-9630572" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630572" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630572" href="http://andrewpascoe.typepad.com/pascoe" target="_blank" rel="nofollow">pascoe</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630572" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630572" class="dsq-comment-message">Regardless of the version of Office, PivotTable are GREAT! I work in online advertising, so we have reams of data from campaigns that we need to cut every which way. I don\'t know how I\'d be able to provide the insights to the campaigns I do without them (and a few trusty ol\' vlookups etc).<br><br>Anything that makes selling in PivotTables here to my team, and getting them to create their own, easier, I\'m definitely up for too.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630573">\
	 <div id="dsq-comment-header-9630573" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630573" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630573" href="http://scobleizer.wordpress.com/" target="_blank" rel="nofollow">scobleizer</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630573" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630573" class="dsq-comment-message">Anon: if you say that then you haven\'t watched any of my Office 2007 videos. 99% of the public will get a LOT out of Office 2007. Here\'s just one out of hundreds of features: making a table. In Office 97 it takes a long time to make tables look right. In Office 2007 it takes seconds.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630574">\
	 <div id="dsq-comment-header-9630574" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630574" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630574" href="http://www.robsanheim.com/" target="_blank" rel="nofollow">Rob Sanheim</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630574" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630574" class="dsq-comment-message">Scoble you really need to find some more widely used features that are improved in 2007 then pivot tables to hype.  Until its something that more then 1% of office users actually use, it just sounds silly.<br><br>IOW, how does an improved Pivot Table help office users kick ass?</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630575">\
	 <div id="dsq-comment-header-9630575" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630575" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630575" href="http://andrewpascoe.typepad.com/pascoe" target="_blank" rel="nofollow">pascoe</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630575" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630575" class="dsq-comment-message">and you\'re dead on Scoble - I personally appreciate them so much because they let me move from analysing my campaigns by impressions and click rates to cost per action etc etc ... business applications all round</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630576">\
	 <div id="dsq-comment-header-9630576" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630576" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630576" href="http://scobleizer.wordpress.com/" target="_blank" rel="nofollow">scobleizer</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630576" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630576" class="dsq-comment-message">&gt;Scoble you really need to find some more widely used features that are improved in 2007 then pivot tables to hype.<br><br>Rob, I have nine months before Office 2007 is gonna be purchaseable. There will be LOTS more Office 2007 videos with LOTS more features. There are TONS of new features. Did you watch the video? Pivot Tables aren\'t the only thing I showed.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630577">\
	 <div id="dsq-comment-header-9630577" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630577" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630577" href="http://scobleizer.wordpress.com/" target="_blank" rel="nofollow">scobleizer</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630577" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630577" class="dsq-comment-message">Rob, meet Pascoe. Pascoe understands why Excel is a must-have tool for business.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630578">\
	 <div id="dsq-comment-header-9630578" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630578" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630578">Jake</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630578" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630578" class="dsq-comment-message">Maybe Pascoe should upgrade. Sounds like you\'ve improved Pascoe\'s hammer.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630579">\
	 <div id="dsq-comment-header-9630579" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630579" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630579" href="http://scobleizer.wordpress.com/" target="_blank" rel="nofollow">scobleizer</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630579" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630579" class="dsq-comment-message">Jake: a lot of people use PivotTables. I sat next to Starbucks accountant recently. He used them all over the place.<br><br>The old saw is "why is Office so bloated?" My answer? Which feature should we remove? Everyone uses a different feature. Nearly every part of Office 2007 is a lot better than earlier Offices. Like I said, there\'s a ton of videos to come.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630580">\
	 <div id="dsq-comment-header-9630580" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630580" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630580">anon</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630580" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630580" class="dsq-comment-message">I know the guy in the video isn\'t a professional marketing guy or trainer but he demoed the new stuff like he didn\'t know what most people would use it for.  Can you post a minute:second mark of that video that would be the highlight of these new features?<br><br>I am really not looking for a refresher course on the whackjob marketing term "business intelligence".  And although I\'m not a genius, I\'m perfectly capable of looking at a printed piece of paper with item names and revenue by quarter to see whether a given item\'s sales are rising or falling.  Or maybe that does make me a genius by the standard of folks Microsoft is marketing these new features to?<br><br>Now I\'m convinced it\'s not the presenter\'s fault because, you see, features can be coherently demonstrated only if they\'re actually different enough from a prior version, useful or work properly (any one of those three should be enough).  The only thing that video demoed to me is that Excel 2007 does a sort table on a small segment or rows really, really slowly on what is probably kick-ass dev hardware.<br><br>Look at any of Steve Jobs\' keynotes.  He demos lots of stuff which I might not have thought of or may not need, but he makes it easily accessible and understood.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630581">\
	 <div id="dsq-comment-header-9630581" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630581" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630581" href="http://scobleizer.wordpress.com/" target="_blank" rel="nofollow">scobleizer</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630581" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630581" class="dsq-comment-message">Anon: interesting that the other people posting over on Channel 9 seem to be able to get Mike\'s main points.<br><br>The pivot table stuff is demoed about 40 minutes into the video.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630582">\
	 <div id="dsq-comment-header-9630582" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630582" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630582">anon</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630582" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630582" class="dsq-comment-message"><i>interesting that the other people posting over on Channel 9 seem to be able to get Mike’s main points.</i><br><br>Robert, there are 7 replies on channel9 and none of them offer any summary of the events in the video that demonstrate understanding of what occurred there.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630583">\
	 <div id="dsq-comment-header-9630583" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630583" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630583">anon</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630583" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630583" class="dsq-comment-message"><i>In Office 97 it takes a long time to make tables look right. In Office 2007 it takes seconds.</i><br><br>Now that would be an interesting demo.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630584">\
	 <div id="dsq-comment-header-9630584" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630584" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630584">Mike</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630584" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630584" class="dsq-comment-message">A lot of Excel workbooks are shared inside companies, and outside. So what the Excel 2007 new feature set boils down to is to get everyone to upgrade to Excel 2007 in order to properly render and/or interact with the so-called new features. Or, buy expensive server licenses and publish them in sharepoint.<br><br>Alternatively, consider free or almost free spreadsheet software (offline and online) available out there.<br><br>For the record, it\'s not like there are a lot of new features, it\'s more around "analysis features" dumbed down and being more targeted, requiring less clicks. This sounds more like an incremental evolution to the product and should certainly be sold with big big rebates, no matter how loud marketing bloggers say it.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630585">\
	 <div id="dsq-comment-header-9630585" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630585" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630585">Jon R</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630585" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630585" class="dsq-comment-message">Robert, you and Steve Gillmor are talking on two different, albeit connected, playing fields. If I understand him correctly, the idea of Office as a viable desktop application is dead. There are already web apps that collectively accomplish enough of Office\'s features to see that its days are numbered.<br>Showing off merely improved features of the new Office doesn\'t refute that argument. As long as no feature of Office can\'t be replicated by a (probably free) web app in the foreseeable future, Office is dead.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630586">\
	 <div id="dsq-comment-header-9630586" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630586" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630586">Mike Woodhouse</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630586" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630586" class="dsq-comment-message">As an Office user and developer since, well, before there was Office, I can say that from a "professional" point-of-view the changes from 2000 to XP to 2003 were hardly earth-shattering. The introduction of a reliable real-time data facility (bye-bye DDE) was incredibly welcome in my real-time price data world, although it was probably missed by 99.8% of users elsewhere (and probably most within the environment: Microsoft didn\'t exactly shout about RTD from the rooftops).<br><br>I use XP at work, 2000 at home and spent about a year with 2003 at my previous job. Apart from Outlook, which got a facelift in the last version, there really isn\'t much to differentiate the three versions.<br><br>Office 12/2007/whatever, though, looks like a whole different kettle of, errr, bits. Just the UI overhaul probably makes it the most significant release since Office was first pulled together with VBA for all (95, was it?). Having spent the last 5 or 6 years in "don\'t care which version" mode, I\'m now actively trying to ensure that we don\'t make any technical decisions at work that will delay our adoption of the new version. Well, no more than the Corporate IT stumbling blocks that will probably hold it up until 2010 anyway...<br><br>It\'s a very long time since I was this excited about a Microsoft release. I probably ought to get out more.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630587">\
	 <div id="dsq-comment-header-9630587" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630587" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630587" href="http://www.thejumps.co.uk/" target="_blank" rel="nofollow">Kevin Jump</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630587" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630587" class="dsq-comment-message">Well I think Steve Gilmore is way of the mark, removing outlook isn\'t going to kill office. For people living outside a corporate bubble, collaborative calendaring isn\'t a must. They just want to read mail, and you can do that a thousand ways.<br><br>Office is the big cash cow, so it has to sell and it has to sell big, that\'s why it\'s all about pivot tables, and online collaboration (SharePoint), because that\'s what big business want and they buy licences by the bucket load.<br><br>Equally no business is going to replace office with a bunch of web applications just yet, what web application replaces excel? PowerPoint? Even most of Outlook is still missing from the web, and what web application that replaces any bit of office isn\'t in \'beta\'? when the web apps are there, your corporate data is now vulnerable to your internet connection and someone else’s servers. Lose either and where are you?<br><br>Where office will lose out is at home, I still don\'t see what office 2003/2007 is going to give a home user over the free/cheaper alternatives. What will make it worth forking all the money over?</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630588">\
	 <div id="dsq-comment-header-9630588" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630588" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630588" href="http://componentry.com/blogs/phil" target="_blank" rel="nofollow">Phil</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630588" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630588" class="dsq-comment-message">Ever heard of Improv? Almost 20 years ago this was introduced to the world on the Next machine (remember them -- what Jobs did *after* he left Apple). The state of the art has not advanced *much* apart from the use of fancier graphics. The quick analysis is excellent, for about 1 out of 10000 users at best.<br><br>Gillmore\'s wrong though. You can and/or wouldn\'t want to drive a 10 year old car simply because you can. Nor would most of want to use a 10 year old FM receiver.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630589">\
	 <div id="dsq-comment-header-9630589" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630589" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630589" href="http://www.psynixis.com/blog/" target="_blank" rel="nofollow">Simon Brocklehurst</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630589" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630589" class="dsq-comment-message">I\'ve made what I believe is a very generous offer to Steve Gillmor on my blog ( <a href="http://www.psynixis.com/blog/?p=128" rel="nofollow">http://www.psynixis.com/blog/?p=128</a> ).  I\'d like to extend that offer to anyone here that feels confident that Office 2007 is "dead".  Yes, the rumour *is* true - my generosity knows no bounds ;-)</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630590">\
	 <div id="dsq-comment-header-9630590" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630590" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630590">Brian</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630590" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630590" class="dsq-comment-message">It\'s obvious alot of your readers don\'t work in the business side of corporate offices. No company in their right mind is going to trust their data to online applications until security is not an issue and network uptime approaches the reliability of the old POTS phone system. Until then they\'ll keep their data on their local network and use desktop apps (like Office 2007) to access it. Microsoft has nothing to worry about here.<br><br>But congrats to you for deciphering Gillmor\'s rant. I can never make out what the hell the guy\'s writing about...</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630591">\
	 <div id="dsq-comment-header-9630591" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630591" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630591">Ira</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630591" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630591" class="dsq-comment-message">And yet we still upgrade.  From \'97 to 2000 to 2003.  500+ licenses for my corporate environment.  We\'ll upgrade to 2007 I\'m sure.<br><br>My problem isn\'t with the features.  The end user\'s knowledge and capabilities are overshadowed by feature set.  I would rather reallocate the money for a 2007 upgrade and dedicate it to user training so they can take advantage of some of the advanced functions 2003/2007 offer.<br><br>Its true most users would be satisfied with an Office 97 feature set, only because thats all they are trained to use.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630592">\
	 <div id="dsq-comment-header-9630592" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630592" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630592" href="http://www.seobuzzbox.com/" target="_blank" rel="nofollow">Aaron Pratt</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630592" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630592" class="dsq-comment-message">Brian\'s comment nails it, does he have a blog? ;)</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630593">\
	 <div id="dsq-comment-header-9630593" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630593" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630593">Lincoln</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630593" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630593" class="dsq-comment-message">Guys, whoever said that \'web apps\' means \'it has to be on the internet\'?<br><br>This whole \'no-one will trust their data to anyone else\' commentary is misguided.<br><br>When the wave of Office-replacing web apps comes, it will be in the form of intranet applications, as in, install it on your internal web server. That way, you have no need to worry about your data, or your internet connection!<br><br>I believe that something like Zimbra shows the power of web apps (in this case, for email / calendaring). The fact that the code lets you to make your own \'power tweaks\' is a God send. Don\'t get me wrong, I don\'t believe that Zimbra will take down Office. However, a lot of users see this: when your email client automatically recognises dates and when you mouse over it, it shows you a mini-calendar, users think thats cool. When they realise that they can quickly code up an \'extension\' so that it automatically recognises a bug number and when you mouse over it, it shows you the summary and key data of that bug from your own internal bug database, users love it.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630594">\
	 <div id="dsq-comment-header-9630594" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630594" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630594" href="http://thomaspurves.com/" target="_blank" rel="nofollow">Thomas</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630594" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630594" class="dsq-comment-message">thanks for the video robert, glad to get a peek and office 12. In the future though, it would be more convenient if the videos were (at least) half as long and, say, twice the resolution<br><br>(it takes 9 min before we get to see screens and then  they are almost entirely illegible)</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630595">\
	 <div id="dsq-comment-header-9630595" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630595" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630595" href="http://www.richbrownell.com/" target="_blank" rel="nofollow">Richard Brownell</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630595" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630595" class="dsq-comment-message">Lincoln, what you described is Lotus Notes and its various competitors. That is nothing new. Installing intranet applications for your company to use is old hat. Besides, the entire idea of web apps in general is an evolution of an incredibly old concept: the mainframe and the terminal. This time, 2.0 junkies are clamoring for their computers to be turned into useless terminals and have the internet be their mainframe.<br><br>re: "There are already web apps that collectively accomplish enough of Office’s features to see that its days are numbered."<br><br>That\'s bogus and you know it.<br><br>And on pivot tables, I don\'t buy the less than 1% statements. Robert isn\'t so great at this argument because he\'s using the political technique of naming a specific person rather than groups of people, i.e. "an accountant next to me used it." The fact is that many businesses from small to enterprise use pivot tables. It\'s an important feature in the business world, one that many couldn\'t do without. And there is no where else to get it currently.<br><br>...I don\'t use Office at home though ;)</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630596">\
	 <div id="dsq-comment-header-9630596" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630596" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630596" href="http://www.psynixis.com/blog/" target="_blank" rel="nofollow">Simon Brocklehurst</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630596" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630596" class="dsq-comment-message">Richard,<br><br>Re: there\'s nowhere else to get Pivot Tables<br><br>Have you looked at the DataPilot feature of OpenOffice?  I\'ve never used this, so can\'t vouch for the quality, but OpenOffice 2.0 lets you analyse spreadsheets and databases using pivot tables.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630597">\
	 <div id="dsq-comment-header-9630597" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630597" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630597">Lincoln</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630597" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630597" class="dsq-comment-message">Hi Richard. I absolutely agree with you: what is old is new again, and that\'s a really good point about Lotus Notes (not something I\'ve had any exposure to).<br><br>I guess my original point was that \'web apps\' won\'t be on the web, so all this discussion about data security and stable internet connections is stupid.<br><br>Again, I agree that that quote is silly (in fact, I don\'t even think I saw it in the first place :) ). However, you also have to agree that most of the functionality that Office provides is wasted on a lot of home users. I think that\'s where we\'ll see movement. No, it won\'t be of any use for most companies (and therefore doesn\'t worry MS) but slowly and surely I believe the functionality will become available.<br><br>Me, I don\'t use pivot tables. In fact, I had to ask a guy I worked with only about half a year ago what they were all about. However all around me in the office are people writing specs and so on that really don\'t need much more than formatting and image placement: something that is available from things like the FCKEditor etc. No, it\'s not the best interface right now, but it\'s quite impressive.<br><br>Just a quick question re. Lotus Notes. How are things like that programmed? Is it one of those unique programming languages, or a generic one? I like the idea of not having to know the \'Zimbra Macro Language v2\' to code up an extension...<br><br>Anyway, again, I just want to reiterate that my point really was that any \'killer\' web apps won\'t be on the internet so part of the argument is misplaced.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630598">\
	 <div id="dsq-comment-header-9630598" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630598" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630598">Christopher Coulter</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630598" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630598" class="dsq-comment-message">Well I know you don\'t think I ever say anything good, but I think Office 12 and OneNote 12 are great improvements, more of a real leap, over the incremental jumps from 2000 to XP to 2003. And not just in terms of the new UI. That said, they need better marketers and it will take awhile for some of the BI and OLAP data functionality to \'impact\' average users. But it\'s truly a significant release. Steve can AJAX all he wants, but I\'m going Office 2007. And the always neglected, but ungodly great, Microsoft Project. And Erik Rucker\'s blog been cool for Access info.<br><br>Better workflows, charting improvements, document content tracking, confidential information management (Office XML), SharePoint/InfoPath integration capabilities. Those are the things the marketers should be hitting on. With the UI \'feature creep killer\' for Home Users. And the \'Publisher-like\' functionality in Word, cover pages and such.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630599">\
	 <div id="dsq-comment-header-9630599" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630599" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630599" href="http://scobleizer.wordpress.com/" target="_blank" rel="nofollow">Robert Scoble</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630599" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630599" class="dsq-comment-message">Christopher, if you\'re praising Office, maybe it really is dead! :-)</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630600">\
	 <div id="dsq-comment-header-9630600" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630600" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630600" href="http://www.richbrownell.com/" target="_blank" rel="nofollow">Richard Brownell</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630600" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630600" class="dsq-comment-message">Lincoln: I understand your points about web apps and internet, but I do disagree to a point. You are right in terms of what is technologically possible (secure web apps served within an intranet). But I don\'t think what you are suggesting is actually being developed. When you look at the apps like 37 Signals\', Google\'s, Yahoo\'s, etc. one common thread is keeping the application on their servers. This allows them to keep all users on the current version, keep them paying subscription fees (or viewing ads), maintain stability themselves, and I think most importantly it keeps their source code to themselves. At least in terms of the Office 12 launch timeframe, intranet web apps won\'t be replacing Office.<br><br>Lotus Notes, since you asked, is not a pretty thing. It\'s not EXACTLY what your idea is because a desktop client must be installed on each computer. But it puts all of your email, documents, calendar, address book, databases, etc. in one place and they are all served off of Lotus Notes servers. It\'s a hideous application, but it is secure, it connects employees via the web, and gets the job done.<br><br>I have seen many say that web apps like 37 Signals\' are the replacement for programs like Lotus Notes, but that isn\'t happening. It\'s only going to take one company to have a data security problem and mention it publicly for a lot of people to jump ship. Storing your company\'s data on somebody else\'s servers is just not very secure, SSL or not. What if a hacker got into the database for Basecamp? Thousands of companies\' data is now available to that hacker.<br><br>But now imagine a company\'s entire dataset is hosted on a web service. If a hacker gets in there, or even just a devient employee (I can\'t imagine every single employee of Google/Microsoft/IBM/Yahoo/whatever\'s hundreds of thousands is an honest one), they have access to everything: orders, accounts, contact information, social security numbers, credit card numbers, everything. These are hazards that every company faces. But put many thousands of companies all on a central service and you are now talking about a ticking time bomb.<br><br>The smart ones wouldn\'t do anything malicious with it though. If they were smart, they would get companies\' financial data before earnings reports are announced and invest accordingly.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630601">\
	 <div id="dsq-comment-header-9630601" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630601" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630601">Lincoln</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630601" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630601" class="dsq-comment-message">True: it\'s definitely not workable in the Office 12 timeframe. Damn I hate agreeing with people so much :)<br><br>There\'s no reason why this won\'t happen though, eventually. Companies will probably licence you the product with a nice way to add your own extensions, without allowing you to change their actual code. There\'s no reason why people still wouldn\'t upgrade to new versions when they are released, but in the meantime, you don\'t have to worry about people using different versions of applications with different versions of data and so on. Yes, it\'s the mainframe concept, but it just goes to show how right it can be, even now!<br><br>In reality, the product will probably be delivered as a standalone server, not unlike the Google search appliance.<br><br>Zimbra (note: I have zero to do with it / them, it\'s just my \'cool thing\' at the moment) is installable on your own servers and I believe it does a pretty good job of dating Outlook (even the client side interface). I don\'t doubt that people will disagree with me here, though.<br><br>As an aside: I\'d like to point out that although the smart ones would find out who to invest in, I\'d say the smarter ones would work out how to get a working local copy of the code then delete their own remote data, to make sure that no-one else like them is doing the same :)</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630602">\
	 <div id="dsq-comment-header-9630602" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630602" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630602" href="http://www.greenjem.com/" target="_blank" rel="nofollow">Larry</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630602" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630602" class="dsq-comment-message">About 12 years ago I used to do third level tech support on MS products. There was one guy who would call all the time about pivot tables in Excel. I think the documentation on it back then was written in Hex.<br><br>Very happy those days are over.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630603">\
	 <div id="dsq-comment-header-9630603" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630603" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630603">Vit Fargas</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630603" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630603" class="dsq-comment-message">Well, my personal opinion is that Office has already missed the point, when it could be useful. I use it little, but it\'s all like nice beta version - from very early versions till XP, the Word is uncapable to format paragraph properly on page, sometimes you have to play like stupid inserting lines between paragraph because Word just puts sevenlines long paragraph on other page although half of the page stays empty. Special problem are with pictures+paragraphs. The excel environment isn\'t better, my mom gets always some stupid excelsheets from government in which can\'t be even copy+paste, in halfway of writing it the form changes in picture and she must quit it (undo doesn\'t work) and start all over.. That\'s combo XP version+bad excel sheet.<br>Also there are numerous errors in version compatibility, especially for nonenglish users, you can\'t simply include font to document... noooo, and so on the other machine it will require some diferent font or it\'s will be rendered bad.<br>Not to mention that the whole look of printed Word document looks compared to tex or adobe document quite unprofessional. You can\'t do something like pdf in word. WHY?<br>Same goes to architecture of Office, it\'s braindead, instead of making simple skeleton for adding plugins for different effects, it only adds and adds new unuseful  buttons, without proper help to new version. Office can\'t properly collaborate with any other application, I don\'t know if macro section was somehow improved, but I always laughed at that you can get virus from document! The whole design of Office was simply said done unprofessionally.<br>Most effects I need I HAVEN\'T found, last time, I searched for comments in several colors or something like that.... and fucking haven\'t found it! All are in red or what, it\'s worse than beta! 10 years of development and you can\'t get comments in other than red bubbles. Or automatically pick up color from picture, so you can match it with headline. Firefox can do it... Or I wonder, if ESBN will be in next version of Office. Well in firefox it\'s already. But maybe luckily, in version 2013 I will have comments in different colors, and in 2017 I can tag documents... Maybe in version 2011 I can even blog from Word. But probably in 2 years I won\'t need it, cause I will have the better feature set in some free web application.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630604">\
	 <div id="dsq-comment-header-9630604" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630604" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630604">Dub Dublin</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630604" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630604" class="dsq-comment-message">I\'m pretty much an Office "Power User", and have been for about 20 years.  I\'m also , by most accounts, a reasonably bright guy with a real knack for software and computing:  I\'ve built networks for Fortune 10 companies, and been the architect for ultra high performance storage-over-IP, Interactive Television and embedded networked real-world interface devices,  but I have *never* been able to "get" Pivot Tables.  I\'ve spent probably a total of ten or twelve hours, but never yet understood how to build a pivot table, so I just don\'t use them at all.  I would like to, but the PITA factor is just way too high, even for someone that\'s pretty comfortable with the bizarrely twisted mindset that underlies Excel.  It\'s a damning indictment of an execrable user interface, when even most experts can\'t or won\'t figure it out, even when the payoff is fairly high.<br><br>Hopefully, this new Excel will finally make creating and managing PivotTables easy enough to actually use them.<br><br>You know, if you do something like that, you *might* even give me a good reason to upgrade from the ancient versions of Office I\'m still slogging along with now. (97 and 2000 - I keep wondering why I stay with these, since XP makes them worse and worse, especially now that secure and modern alternatives are available for free...)</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630605">\
	 <div id="dsq-comment-header-9630605" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630605" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630605" href="http://www.richbrownell.com/" target="_blank" rel="nofollow">Richard Brownell</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630605" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630605" class="dsq-comment-message">Dub: Open up the excel sheet that has the data you want to make into a pivot table. In the Data menu, choose "PivotTable". Put it in a new sheet, drag items from the "PivotTable Field List" onto the sheet. Done. Perhaps an oversimplified explanation, but if you are an "Office Power User" I\'m unsure of why pivot tables would be so hard.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630606">\
	 <div id="dsq-comment-header-9630606" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630606" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630606">anon</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630606" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630606" class="dsq-comment-message">Whenever someone can\'t open a word document because it became corrupted (happens pretty often for documents &gt;30 pages), I can open it in OpenOffice, resave it as a .doc file and send it back to them as an email attachment and they\'re happy again.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630607">\
	 <div id="dsq-comment-header-9630607" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630607" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630607">anon</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630607" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630607" class="dsq-comment-message">I enjoyed the video and I enjoy seeing all of the Channel 9 videos even if I don\'t agree with where Microsoft is heading sometimes.  I think the videos are valuable enough that a screen capture feed should be made during demos and the time is taken to edit the screen capture feed and live demo shot together.  That way we can better see things like the comment tabs, quick sorting, and polished UI in products like Excel.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630608">\
	 <div id="dsq-comment-header-9630608" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630608" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630608" href="http://latakia.dyndns.org/blosxom/blog" target="_blank" rel="nofollow">Bob Uhl</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630608" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630608" class="dsq-comment-message">Well, I recently had to use Excel for a task at work (I\'m a text files, scripting and RDBMS kinda guy by preference), and I have to say that Excel wasn\'t nearly as quick at the sort of data mangling I needed to do, versus writing a little Python script to massage things.  Which is actually what I ended up doing: writing a Python script which output my data in nifty little colon-delimited files, which I then imported into Excel so that I could submit the report in the preferred format.<br><br>I\'ve recently been using postgresql for a lot of stuff here at the office, and having to go from a relational database to a spreadsheet is pretty painful!</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630609">\
	 <div id="dsq-comment-header-9630609" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630609" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630609">J. Random Poster</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630609" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630609" class="dsq-comment-message">Oh, the pain is coming back...<br><br>MS\'s apallingly botched knock-off of Lotus Improv gives me a migraine.<br><br>For anyone who\'s ever tried "pivot tables" and decided that they suck, please, try out a proper N-dimensional spreadsheet, and see how they were supposed to be.  Get your hands on an old copy of Improv somewhere, or try out "Quantrix".</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630610">\
	 <div id="dsq-comment-header-9630610" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630610" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630610">J. Random Poster</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630610" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630610" class="dsq-comment-message">Oh, and Scoble:  what you\'re touting is NOT a NEW feature.  It\'s another botched implementation of Lotus\' invention from 1989.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630611">\
	 <div id="dsq-comment-header-9630611" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630611" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630611">james</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630611" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630611" class="dsq-comment-message">I agree that the videos on ch 9 should have a bit of post production.<br>real screen shots, a bit of editing, chapters would e nice.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630612">\
	 <div id="dsq-comment-header-9630612" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630612" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630612" href="http://scobleizer.wordpress.com/" target="_blank" rel="nofollow">scobleizer</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630612" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630612" class="dsq-comment-message">James: I agree there too! Problem is I don\'t have time. All the evil in the world can be blamed on one thing: lack of resources.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630613">\
	 <div id="dsq-comment-header-9630613" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630613" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630613">Goebbels</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630613" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630613" class="dsq-comment-message">When are you dumping the shitty WMV for a multi-platform format? Won\'t watch these silly videos until then.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630614">\
	 <div id="dsq-comment-header-9630614" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630614" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630614">Christopher Coulter</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630614" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630614" class="dsq-comment-message"><i>I agree that the videos on ch 9 should have a bit of post production. real screen shots, a bit of editing, chapters would be nice.</i><br><br>Yeah, and maybe a two, three or four camera setup, filmed linear, with the sync up in Vegas or Avid after <i>(Vegas I prefer as more a dream for broadcast-event styled post-production, and boy did 6.0d clear up some bugs for me)</i>. Never ever do live-switching, unless you have an army of people and a director. Do the switching in post-production, lay and sync the tracks, and mark mark in preview and then cut a final track. You make better decisions in post-production. It\'s elementary, but sooooo many people don\'t do that, and get out of sync and pull hair out in editing. So if you don\'t plan it right you, get one-cam rot or disjointed post-productional HELL. Cold hard water of experience was my teacher here. Events are not films, I had too much of a screenplay-thought-process and it killed me. The main event body, has to be broadcast style, only in post-production.<br><br>And the camera doesn\'t have to be an expensive HD or 24P, found the Panasonic AG-DVC30 to be a dream, great in low light, and has a warm film tone. Amazing little bugger. And \'chapters\' or rather snippets would be nice touch. Or could shoot in HD, but then contrast and gamma script to get the film tone. HD is too sharp, too white, needs warmth. Or a trick I like is shooting in PAL and using Atlantis 2 to convert, still experimenting with that technique tho.<br><br>Surely in all of Microsoft, they got some decent Screenwritingese Film School type of Video guys? Not really Scoble\'s fault, he\'s busy up to his arms. If not, I can send a resume, not that it\'d ever get past the paper shredder ;)</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630615">\
	 <div id="dsq-comment-header-9630615" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630615" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630615" href="http://www.mjjones.net/" target="_blank" rel="nofollow">M-J Jones</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630615" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630615" class="dsq-comment-message">Isn’t it unfair to entirely dismiss a product/software before having thoroughly tested it?<br>Haven’t had the opportunity to work with the beta yet. But from the glimpses I had at several new versions of MS software, I did notice that the publisher seems to have made a real effort to make them easier to use.<br>Agree that there wasn’t much improvement in Office from 97 to 2003 version. Have a feeling it’s due to 2 factors:<br><br>1) MS has been reluctant to address and correct the basic flaws of some of the components of the suite, i.e.<br>•	the unflexibility of Access when it comes to altering a database/application<br>•	the file size of Powerpoint, hence the impossibility to use the files produced on the web<br>•	the mediocre implementation of all Word features relating to handling long documents (outline, stylesheets, index, table of contents)<br>•	the cumbersomeness of Outlook and the impossibility to use its data in all Office application<br>•	the complexity of some of Excel advanced features.<br><br>2) MS has failed to realize that users’ needs have considerably changed during this period due to the extensive use of emails and internet research. Therefore a suite like Office doesn’t cover most people needs as it would have in the 80’s and early 90’s.<br>Do you write as many letters now as you did at that time? Do you print work produced in the same proportions as you did before?<br><br>Feel that 1 and 2 combined make quite a few people dissatisfied with what is supposed to be their daily tool set.<br><br>For myself, I do get enraged more or less every day when Outlook or Outlook Express still doesn’t recognized duplicate address entries ‘cos I have my own classification system which is different from the owners’ way of showing their name in the from box. I do get frustrated not being able to refer to an email by drag and drop in a report. I get mad that exporting/importing Outlook or OE data is still so unreliable and exploiting this data still lacks so much transparency. None of this would have bothered me in the late 80’s or early 90’s when sending a few messages through Compuserve was just a touch of fun. But it really does now that email communication takes a large part of my day’s work and that these flaws make me waste time every day and be less productive than I should be.<br><br>When Office 95 came out, I still sent lots of letters every day and endless mailings once or twice a month, with printed newsletters and so forth. Do I do this now? No. One letter a fortnight is probably the maximum frequency. So I hardly use Word anymore, except for writing big reports. And again, I get frustrated that Word hasn’t improved much in this respect over the last 10 years.<br><br>And my Office tools haven’t taken into account the new needs that came with the internet and emailing. An Outliner (or note keeper) in which I could store notes but also links to files, websites, specific stored web pages, emails, rss streams, etc. A flexible contact database, with user-defined field and conditional drop-down/ lists which I can carry on my 2 Go usb stick and use seamlessly in all the modules of the suite , including mass emailing. This would make an Office 2007 worth twice its price in my eyes and daily work. But if it comes out as being just an easier to use version of a 20th century product, I very much doubt that I will bother. I’ll keep the version I have or switch to Open Office. Because now I hardly use it.<br><br>Gave up on Access years ago to use Filemaker. The latter had some flaws as well (creating entry screens and reports is more time-consuming) but altogether it was more flexible and  compatible with the Mac some of my colleagues used and still use. New stuff runs on mySQL.<br><br>Gave up on Powerpoint (which I loved using in the early 90’s and so did kids as well when they practically built movies, with effects,  sounds and their recorded voices) when Flash MX came up‘cos it more easier to use than previous versions and I could finally put the output on the web.<br><br>Use Word to write articles ‘because of its word and character count and it’s still on my machine. Until recently also used it to write reports but now I find that I’m using Tiddly Wiki more and more. It produces a single html file which I can easily carry with me on a usb, upload to my webserver for other people to collaborate on, etc.<br><br>Use Excel to do calculations but since I don’t work in accounting or finance, my needs are pretty limited in this respect. My basic sheets are not very different from those I built with Lotus 1-2-3 in the mid 80’s. New stuff consists in a few , sheets a year  to compare several quotes and vlookup is about the most advanced function I use in this type of sheets. But I did greatly appreciate the inclusion of  several worksheets in a workbook. Keeps the data tidy and better organized. Also makes it easier to track and handle data for consolidations.<br><br>Used Frontpage 98 and 2000 and then reluctantly switched to Dreamweaver which was (and still is) far less user friendly (and made me slightly less productive) due to some hosting requirements, to the fact that it did not run on the Mac and to the fact that a frontpage website could not be run locally without frontpage extensions even when one used page enclosures as the only “frontpage speciality”. Keeping site hierarchy from one machine to the next wasn’t easy either and we had to rebuild it manually several times. When a site has several hundred pages in 3 languages, it’s no fun. Now DW is mainly used to set up initial site templates and stylesheets, data entry is through a web interface.<br><br>Used Outlook or OE back and forth throughout the decade. Always found Outlook more suited to people who have a limited set of recurrent/predictable tasks and too heavy for people running one-person shows or startups and jumping from one role to the next. Tried to supplement OE lack of agenda and limited contact manager with various products, Chaos, Lotus Agenda to name just the 2 I used longest. Been watching Chandler but it’s slow to materialize. Had a look at Omea Pro but coupled with Outlook it needs a faster laptop that what I have got . Moreover Omea database is proprietary as well so I’m reluctant to file so much information and not be able to retrieve it should I want to use another software later on. So Outlook  will be the module I will look at when considering Office 2007.<br>Is it preposterous to expect from a 10+ years old product?<br>	To be able to use the contact manager seamlessly with any Office (or even Windows/Vista) application?<br>	To be able to define custom fields in the contact manager with combo listboxes to streamline data entry<br>	To be able to set up/revise/list groups and set up email campaigns easily and getting a report of the results achieved<br>	To be able to synchronize contacts and mailboxes easily and reliably between a laptop and a desktop?<br>	To be able to create a link to a message within Office applications and those supporting drag and drop?<br>	To see it evolve into an information hub like <a href="http://Jetbrains.com" rel="nofollow">Jetbrains.com</a> is trying to do with its Omea layer.<br><br><br>In summary, If I use Microsoft software less and less, it’s not because I have anything against Microsoft, but because I get impatient that some flaws have not been addressed for a lengthy period of time or because my needs as they have evolved are different from those that Microsoft caters for.<br><br>P.S. The absence of MUI language files is a point I’ll mention separately</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630616">\
	 <div id="dsq-comment-header-9630616" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630616" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630616">Guzzard</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630616" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630616" class="dsq-comment-message">Office 12 will be a success, Microsoft must be licking their lips in anticipation. Proof? If Google Desktop Search is any indication of user stupidity.<br><br>How many idiots have installed this crap on their computers? This evil app came preinstalled on my Dell the other day, just say NO!<br><br>Link: <a href="http://www.computerworld.com/securitytopics/security/story/0%2C10801%2C108845%2C00.html" rel="nofollow">http://www.computerworld.com/securitytopics/sec...</a><br><br>...<br><br>Google Desktop 3 is the latest version of Google Inc.\'s desktop search application. The software\'s "search across computers" feature allows users to search for information stored on other PCs and servers. To do this, Google stores an index of files contained on a PC running the software for 30 days, promising that the information is encrypted and accessible to a limited number of Google employees, according to Gartner.<br><br>...<br>Love that part about being stored for 30 days, long enough for the government to subpoeana them? To de-crypt the contents of your hardrive. I can see a whole new class of spyware coming soon. Any hacker worth his salt will be creating their own versions of desktop search, this makes user acceptance so easy. How hard would it be to create your own version of Google Desktop search? Brand it the same, hell name it the same, but send the information to your own servers? This stuff is getting outta control.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630617">\
	 <div id="dsq-comment-header-9630617" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630617" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630617" href="http://mjjones.net/" target="_blank" rel="nofollow">Marie-José Jones</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630617" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630617" class="dsq-comment-message">MUI language files. Multinational companies have been entitled to these files so that their users can change the language of menus and help files as they move around their offices round the world. Why haven’t these files been made available to smaller companies, startups and individuals who also move around the world. It may not be the case in the US, but in Europe it’s not unusual that all members of the same family don’t speak the same language, or rather have a different mother tongue in which it is a lot easier to refer to in the help files. These MUI files exist. Why are they not released?<br>Has this issue been discussed within Microsoft prior to the launch of Office 2007 and Vista?</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630618">\
	 <div id="dsq-comment-header-9630618" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630618" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630618">Dub Dublin</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630618" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630618" class="dsq-comment-message">Richard:<br><br>I think the real PITA is figuring out what insane way it wants the data formatted in the spreadsheet in the fist place before you can slice and dice it.  I know that the layout I\'ve already built has never been acceptable to the PivotTable function.  I suppose you have to know from the beginning you need a pivot table and lay your data out to suit the tool, but that seems kinda bass ackwards in the 21st century, doesn\'t it?<br><br>What would *really* be nice is a real multidimensional capability, like what used to exist in Lotus Improv and Informix WingZ, but with a better UI than either had.  MS is actually pretty good at some UI stuff - I know it\'s a hard problem to properly represent 3 or more dimensions on a 2D screen, but it\'s possible if you think outside the box, and is the sort of thing we\'re *willing* to pay MS for.  (Although a different beast for sure, 3D CAD UIs are an interesting study here: Look at SketchUp for an example of really outside-the-box thinking in dealing with real 3D in a 2D interface environement.  It\'s the first significant advancement in geometry creation since Ashlar invented snap-to drawing assistants, and by far the easiest I\'ve seen in real 3D.  There may well be some lessons there for dealing with multi-dimensional data as well...)</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630619">\
	 <div id="dsq-comment-header-9630619" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630619" class="dsq-comment-cite">\
	 <span id="dsq-author-user-9630619">solomonrex</span>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630619" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630619" class="dsq-comment-message">Here\'s the thing: use SPSS.  No more terrrrrible pivot tables.  AND you can do statistical analysis!  And, of course, the REAL geeks use SAS.<br><br>Excel should be limited to data layouts with pretty colors.  All my powerpoint charts start in Excel.  If you don\'t know better, you use Excel.<br><br>Here\'s an example, we have Outlook, but management keeps schedules in Excel.  And that\'s your problem right there.  You\'re waaaay past the stage where features matter in Office.</div>\
	 </div>\
	 </li>\
	 <li id="dsq-comment-9630620">\
	 <div id="dsq-comment-header-9630620" class="dsq-comment-header">\
	 <cite id="dsq-cite-9630620" class="dsq-comment-cite">\
	 <a id="dsq-author-user-9630620" href="http://www.digitalsmiles.com/" target="_blank" rel="nofollow">tomax7</a>\
	 </cite>\
	 </div>\
	 <div id="dsq-comment-body-9630620" class="dsq-comment-body">\
	 <div id="dsq-comment-message-9630620" class="dsq-comment-message">ok, I\'ll play village idiot, but where does one actually set up Pivot tables in 2007?<br><br>I\'m surfing all over the place and watching video\'s and most start off with it already in place.<br><br>I can\'t see where in the top ribbon to access it.  You\'d think it would either be under Data or Review tabs.<br><br>cheers<br>tom</div>\
	 </div>\
	 </li>\
	 </ul>\
';

(function() {
	
	





Dsq.Debug.profile(function() {
	if(Dsq.jsonData.request.page == 1 && Dsq.jsonData.request.is_initial_load) {
		Dsq.container.innerHTML = Dsq.Templates.header() + Dsq.container.innerHTML + Dsq.Templates.footer();
	}
	Dsq.$(Dsq.curPageId).innerHTML = Dsq.$(Dsq.curPageId).innerHTML.replace(Dsq.COMMENTS_RE, Dsq.CommentsHandler);
}); // Dsq.Debug.Profile

// HACK: Resetting cache because we're done with.
Dsq.Utils.gebiFromElementCollectionCache = null;


	
	
	var dsq_styleEl = document.getElementById(disqus_container_id);
	var dsq_anchorEl = document.getElementsByTagName('a')[0];
	
	Dsq.Thread.fc = Dsq.Utils.getStyle(dsq_styleEl, 'color');
	if(dsq_anchorEl) { Dsq.Thread.ac = Dsq.Utils.getStyle(dsq_anchorEl, 'color'); }
	Dsq.Thread.ff = Dsq.Utils.getStyle(dsq_styleEl, (Dsq.Utils.ie || window.opera ? 'fontFamily' : 'font-family'));
	// For Safari / Opera: strip quotes.
	Dsq.Thread.ff = Dsq.Thread.ff.replace(/['"]/g, '');
	Dsq.Thread.fc = encodeURIComponent(Dsq.Thread.fc);
	Dsq.Thread.ac = encodeURIComponent(Dsq.Thread.ac);
	Dsq.Thread.ff = encodeURIComponent(Dsq.Thread.ff);

	
	
	
	if(Dsq.$(Dsq.Templates.addPostContainer)) {
		// TODO: Check to see if theme uses postmessage.
		if (window.disqus_use_postmessage) {
			Dsq.frames['reply_0'] = new Dsq.ReplyFrame(Dsq.$(Dsq.Templates.textareaContainer));
			Dsq.frames['reply_0'].init(function() {
				// Use fallback iframe
				Dsq.$(Dsq.Templates.addPostContainer).innerHTML = '';
				var theme = (typeof disqus_frame_theme == 'undefined') ? 'default' : disqus_frame_theme;
				Dsq.Iframes.showReplyIframeInContainer(Dsq.$(Dsq.Templates.addPostContainer), null, {theme: theme});
				// if(Dsq.Utils.ie) { Dsq.Utils.fixIframesIE(); }
			});
		} else {
			// DEPRECATED
			Dsq.Iframes.showReplyIframeInContainer(Dsq.$('dsq-post-add'));
		}
	}

	
	

	
	if(document.location.hash != '') {
		document.location.hash = document.location.hash.substring(1);
	}

	Dsq.Popup.showCookieMsgs();

	
	if(document.location.search != '' && location.hash != '#disqus_thread') {
		var reply_id = Dsq.Utils.getRequestParams().dsq;
		if(reply_id) { document.location.hash = 'comment-' + reply_id; }
	}

	
	if((typeof OB_Script != 'undefined') && (typeof OB_versionNum != 'undefined')) {
		if(navigator.userAgent.indexOf("Firefox") != -1) {
			if(window.frames['dsq-reply-frame']) {
				window.frames['dsq-reply-frame'].location = Dsq.Urls.REPLY + (new Date()).getTime() + '&f=scobleizer&t=pivottable_this_video&to_redirect=' + encodeURIComponent(window.location) + '&ifrs=' + encodeURIComponent(disqus_iframe_css);
			}
		}
	}

	if (Dsq.jsonData.integration.theme == 4) {
		if (Dsq.jsonData.realtime_enabled) {
			Dsq.Realtime.initialize();
		}
	}

	



	window.ExecuteWhen = (function () {
	var obj = {}
	
	// Private
	var running = false;
	var timer = null;
	var pending = [];
	var startTimer = function() {
		running = true;
		timer = setInterval(obj.heartBeat, 100);
	};
	var stopTimer = function() {
		running = false;
		clearInterval(timer);
	};
	
	// Public
	obj.add = function (condition, code) {
		pending.push([condition,code]);
		this.heartBeat(); //!
		if (!running) {
			startTimer();
		}
	};
	obj.heartBeat = function() {
		if (!pending.length) {
			stopTimer();
		}
		var newPending = [];
		for (var i=0; i<pending.length; i++) {
			var cond = pending[i][0];
			var code = pending[i][1];
			// FIXME: if cond or code throw an error, they never get removed from pending
			if (cond()){
				code();
			}
			else {
				newPending.push([cond, code]);
			}
		}
		pending = newPending;
	};
	return obj;
})();

// also used in embed_thread.js:
window.fbIsReady = function () {return window.FB && FB.init;};
// NOTE: This script gets executed again without threadEl
//       set when we are loaded again as the fbc_receiver.
//       In this case, we don't need the hidden container.

if(!window.FB || !FB.init) {
	if(window.Dsq && Dsq.container) {
		// container is not present when init.js is loaded from an xd-receiver iframe; in this case,
		// we don't need the FB_HiddenContainer anyway.
		var fbDiv = document.createElement('div');
		fbDiv.id = "FB_HiddenContainer";	// Required or else FeatureLoader will execute a document.write.
		fbDiv.style.position = 'absolute';	// This is intentionally not setting display to none as this breaks
		fbDiv.style.top = '-10000px';		// Flash in Safari.
		fbDiv.style.left = '-10000px';
		fbDiv.style.width = '0px';
		fbDiv.style.height = '0px';
		Dsq.container.appendChild(fbDiv);
	}
	var fbJS = document.createElement('script');
	fbJS.type = "text/javascript";
	fbJS.src = "http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php";
	document.getElementsByTagName('head')[0].appendChild(fbJS);

	ExecuteWhen.add(window.fbIsReady,
		function () {
			// HACK: This is a workaround FBC's single domain limitation by
			//		 allowing sites to create multiple forums with different
			//		 Facebook API keys.  This must be used in conjunction with
			//		 disqus_facebook_forum (see authenticateFacebook).
			var facebook_api_key = 'faaf467d0f47abde553c3b8e0e1b3570';
			if (typeof disqus_facebook_api_key != 'undefined') {
				facebook_api_key = disqus_facebook_api_key;
			}

			FB.init(facebook_api_key, window.facebookXdReceiverPath || null,
				{fetchSignedPublicSessionData: true});
		});
}


	


if(typeof(disqus_callback) == 'function') {
	var callback_params = Dsq.Utils.getRequestParams()['dsq_cbp'] || null;

	// We don't care about any errors in third-party code
	try {
		disqus_callback(callback_params);
	} catch (x) {
		if (typeof(console) != 'undefined' && typeof(console.log) == 'function') {
			// But it would be nice to let developers know about them
			console.log(x);
		}
		// pass
	}

	// HACK: We don't know if the callback wraps our container, which may
	// possibly result in a new DOM element.
	Dsq.container = document.getElementById('dsq-content');
}

// Global event handler for narcissus.
if (Dsq.jsonData.integration.theme == 4) {
	var g = Dsq.Utils.ie ? document : window;
	Dsq.Utils.addEventListener(g, 'keydown', function(event) {
		// Handle "enter" key on input for post box.
		if ((event.keyCode || event.which) == 13) {
			var target = Dsq.Utils.ie ? event.srcElement : event.target;
			// For Safari bug, detect text node.
			if (target.nodeType == 3) {
				target = target.parentNode;
			}

			if (target.nodeName == 'INPUT' &&
				target.parentNode.className == 'dsq-input-wrapper') {
				var postId = Dsq.Utils.extractId(target);
				Dsq.Templates.postComment(postId, this, false);
			}
		}
	});
}

})();




