<!DOCTYPE html>
<html >
<head>
<title>Twitter</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8" />
<script type="text/javascript" charset="utf-8">
document.domain = 'twitter.com';
// this will be copied to twttr.appStartTime once our JS has started up
document.startTime = new Date().getTime();
var twttr = {};
twttr.versionName = 'phoenix';
if (!window.console) {
(function() {
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
"group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
window.console = {};
for (var i = 0; i < names.length; ++i) {
window.console[names[i]] = function() {};
}
}());
}
</script>
<script type="text/javascript">(function () {
// patch some IE things
window.setTimeout = window.setTimeout;
window.setInterval = window.setInterval;
window.WATCH = function (label, block) {
if (typeof block === 'undefined') {
block = label;
label = undefined;
}
if (typeof label === 'string') {
WATCH._didExecute[label] = true;
}
WATCH._attempt(this, block);
};
WATCH._didExecute = {};
WATCH._reportCount = 0;
WATCH._reportLimit = 25;
WATCH._reportInterval = 60 * 1000;
WATCH._active = false;
WATCH.activate = function (setting) {
if (typeof setting === 'undefined'){
setting = true;
}
WATCH._active = setting;
extend(WATCH, WATCH._active ? WATCH.actives : WATCH.inactives)
};
WATCH.actives = {};
WATCH.inactives = {};
var extend = function(destination, source){
for (var key in source){
destination[key] = source[key];
}
}
var noop = function(){};
WATCH._attempt = function(that, block) {
if (arguments.length < 2) {
block = that;
that = window;
}
if (WATCH._active) {
try {
block.apply(that);
} catch (error) {
WATCH._triggerError(error);
}
} else {
block.apply(that);
}
};
WATCH.inactives.end = noop;
WATCH.actives.end = function (label) {
if (typeof label === 'undefined') {
throw new Error('WATCH.end() requires a label');
}
if (WATCH._didExecute[label]) {
WATCH._didExecute[label] = false;
} else if (WATCH._active) {
WATCH._triggerError(new Error('WATCH.end("'+label+'") called without successful call to WATCH("'+label+'", fn(){...}) - a SyntaxError probably just happened'));
}
WATCH._didExecute[label] = false;
};
/**
* Given a function, return a version of that function that is wrapped by the WATCH function.
*/
WATCH.inactives.callback = function(that, callback){
// pass the callback through
return typeof callback === 'undefined' ? that : callback;
};
WATCH.actives.callback = function (that, callback) {
if (arguments.length === 1) {
callback = that;
that = this;
}
if (typeof callback === 'string') {
callback = (function (stringVersion) {
return function () {
eval(stringVersion);
};
}(callback));
}
var watchedCallback = function () {
var that = this,
args = arguments,
result;
WATCH._attempt(function () {
result = callback.apply(that, args);
});
return result;
};
watchedCallback.isWatched = true;
return watchedCallback;
};
WATCH._onErrorCallbacks = {};
WATCH.inactives._addOnError = noop;
WATCH.actives._addOnError = function (callback) {
var unique = WATCH._unique();
WATCH._onErrorCallbacks[unique] = callback;
return unique;
};
WATCH.inactives._removeOnError = noop;
WATCH.actives._removeOnError = function (id) {
delete WATCH._onErrorCallbacks[id];
};
WATCH._lastUnique = -1;
WATCH._unique = function () {
return ++WATCH._lastUnique;
};
WATCH.inactives.jQuery = noop;
WATCH.actives.jQuery = function () {
// Wrap jQuery's event binding code so all event handlers are wrapped
WATCH._originalJQueryEventAdd = WATCH._originalJQueryEventAdd || jQuery.event.add;
jQuery.event.add = function () {
var newArgs = Array.prototype.slice.call(arguments);
if (typeof newArgs[2] === 'function') {
newArgs[2] = WATCH.callback(newArgs[2]);
} else if (newArgs && typeof newArgs[2] === 'object' && newArgs[2].handler) {
newArgs[2].handler = WATCH.callback(newArgs[2].handler);
}
return WATCH._originalJQueryEventAdd.apply(this, newArgs);
};
WATCH._originalJQueryAjax = WATCH._originalJQueryAjax || jQuery.ajax;
jQuery.ajax = function (options) {
jQuery.each(['complete', 'error', 'success'], function (which, key) {
if (!options[key]) {
return;
}
options[key] = WATCH.callback(options[key]);
});
return WATCH._originalJQueryAjax.apply(this, arguments);
};
};
WATCH.inactives.undoJQuery = noop;
WATCH.actives.undoJQuery = function() {
jQuery.event.add = WATCH._originalJQueryEventAdd;
jQuery.ajax = WATCH._originalJQueryAjax;
};
WATCH._previousErrors = {};
var escapeDoubleQuotes = function (string) {
return string.toString().replace('"', '\\"');
};
var stringifyLite = function (object) {
var result = '{', hasProperty = false;
for (var key in object) {
if(typeof object[key] === 'undefined' || object[key] === null){
continue;
}
result += (hasProperty ? ',"' : '"') + escapeDoubleQuotes(key) + '":"' + escapeDoubleQuotes(object[key]) + '"';
hasProperty = true;
}
return result + '}';
};
WATCH._scribeError = function(report) {
if(WATCH._previousErrors[report.error] && (new Date()) - WATCH._previousErrors[report.error] < WATCH._reportInterval) {
// We've recently logged this; don't log it again
return false;
}
if(WATCH.reportLimit <= WATCH.reportCount){
return;
}
WATCH.reportCount++;
if ( ! document.location.hostname.match(/(^(www|api)\.)?twitter\.com$/) ) {
return;
}
WATCH._previousErrors[report.error] = new Date();
report.product_name = 'webclient';
report.type = 'js_error';
report.url = window.location.href;
report.event_name = "test";
var isProduction = document.location.hostname.match(/(^(www|api|staging\d+.local)\.)twitter\.com$/) != null;
var scribeHost = isProduction ? 'scribe.twitter.com' : window.location.host;
var scribeUrl = (window.location.protocol.match(/s\:$/) ? 'https' : 'http') + '://' + scribeHost;
scribeUrl += isProduction ? '/' : '/scribe';
scribeUrl += '?category=client_watch_error&log=' + encodeURIComponent(stringifyLite(report)) + '&ts=' + (new Date()).getTime();
(new Image()).src = scribeUrl;
};
WATCH._triggerError = function(error) {
var reraise = true;
var report = {
error: error
};
for (var key in WATCH._onErrorCallbacks) {
try {
if (WATCH._onErrorCallbacks[key](report) === false) {
reraise = false;
}
} catch (callbackError) {
report.callbackFailure = true;
}
}
WATCH._scribeError(report);
if(reraise){
throw error;
}
};
/**
* Wrap built-in functions with versions that WATCH for errors as appropriate.
*/
WATCH.inactives.natives = noop;
WATCH.actives.natives = function () {
window.setInterval = WATCH._watchedSetInterval;
window.setTimeout = WATCH._watchedSetTimeout;
};
WATCH.inactives.undoNatives = noop;
WATCH.actives.undoNatives = function () {
window.setInterval = WATCH._originalSetInterval;
window.setTimeout = WATCH._originalSetTimeout;
};
WATCH._originalSetInterval = window.setInterval;
WATCH._originalSetTimeout = window.setTimeout;
// Wrap setInterval and setTimeout, which run code asyncronously and therefore allow it
// to escape any existing try/catch blocks.
// Rebind window.setInterval and .setTimeout
WATCH._watchedSetInterval = function (callback, timeout) {
// in IE, native functions have no .call().
// we have to bind to a local var in order to get them to run in the context of window
var setInterval = WATCH._originalSetInterval;
return setInterval(WATCH.callback(callback), timeout);
};
WATCH._watchedSetTimeout = function (callback, timeout) {
// in IE, native functions have no .call().
// we have to bind to a local var in order to get them to run in the context of window
var setTimeout = WATCH._originalSetTimeout;
return setTimeout(WATCH.callback(callback), timeout);
};
WATCH.activate(false);
}());
</script>
<script type="text/javascript">
</script>
<script>
function bust () {
document.write = "";
window.top.location = window.self.location;
setTimeout(function() {
document.body.innerHTML = '';
}, 0);
window.self.onload = function(evt) {
document.body.innerHTML = '';
};
}
if (window.top !== window.self) { // are you trying to put self in an iframe?
try {
if (window.top.location.host) { // this is illegal to access unless you share a non-spoofable document domain
// fun times
} else {
bust(); // chrome executes this
}
} catch (ex) {
bust(); // everyone executes this
}
}
</script>
<link href="/phoenix/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link rel="stylesheet" href="http://a2.twimg.com/a/1306889658/phoenix/css/phoenix.bundle.css" type="text/css" media="screen" />
<noscript>
<meta http-equiv=refresh content="0; URL=/?_twitter_noscript=1" />
</noscript>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30775-6']);
_gaq.push(
['_trackPageview'],
['_setDomainName', 'twitter.com']
);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
}());
twttr.trackPageView = function(pathName) {
var event = ['_trackPageview'];
if (pathName) {
event.push(pathName);
}
_gaq.push(event);
};
</script>
</head>
<body class="user-style-twttr loading-body logged-out narrow">
<div id="doc">
<div id="top-stuff">
<div id="banners" style="clear:both;"></div>
<div id="top-bar-outer">
<div id="top-bar-bg"></div>
<div id="top-bar">
<div class="top-bar-inside">
<div class="static-links">
<div id="logo">
<a href="/">Twitter</a>
</div>
<form id="search-form" action="/search" method="GET">
<span class="glass"><i></i></span>
<input value="" data-i18n-label="Search" placeholder="" name="q" id="search-query" type="text" />
</form>
<div id="global-nav">
<ul>
</ul>
</div>
<div id="sections"></div>
</div>
<div class="active-links">
<div id="session">
<a id="signin-link" href="/login">
<em>Have an account?</em>
<strong>Sign in</strong><i></i>
</a>
<a id="signup-link" href="https://twitter.com/signup?context=login">
<em>New to Twitter?</em>
<strong>Join Today »</strong>
</a>
<div id="signin-dropdown" class="dropdown dark">
<form action="https://twitter.com/sessions?phx=1" class="signin" method="post">
<fieldset class="textbox">
<label class="username">
<span>Username or email</span>
<input type="text" value="" name="session[username_or_email]" autocomplete="on" />
</label>
<label class="password">
<span>Password</span>
<input type="password" value="" name="session[password]" />
</label>
</fieldset>
<fieldset class="subchck">
<label class="remember">
<input type="checkbox" value="1" name="remember_me" />
<span>Remember me</span>
</label>
<button type="submit" class="submit button">Sign in</button>
</fieldset>
<input type="hidden" name="redirect_after_login" value="" />
<p>
<a class="forgot" href="/account/resend_password">Forgot password?</a><br />
<a class="mobile" href="/account/complete">Already using Twitter on your phone?</a>
</p>
</form>
</div>
</div>
</div>
</div>
</div>
<div id="message-drawer"></div>
</div>
</div>
<div id="page-outer">
<div id="front-container">
<div class="leftside ">
<h1><span>Twitter</span></h1>
<h2><a href="/#!/toptweets" tabindex="-1">Follow your interests</a></h2>
<p>Instant updates from your friends, industry experts, favorite celebrities, and what’s happening around the world.</p>
</div>
<div class="rightside">
<div class="gradient"></div>
<div class="front-signin">
<form action="https://twitter.com/sessions?phx=1" class="signin" method="post">
<fieldset class="textbox">
<div class="holding username">
<input type="text" id="username" value="" name="session[username_or_email]" title="Username or email" autocomplete="on" />
<span class="holder">Username</span>
</div>
<div class="holding password">
<input type="password" id="password" value="" name="session[password]" title="Password" />
<span class="holder">Password</span>
</div>
</fieldset>
<fieldset class="subchck">
<label class="remember">
<input type="checkbox" value="1" name="remember_me" />
<span>Remember me</span>
</label>
<button type="submit" class="submit button">Sign in</button>
</fieldset>
<input type="hidden" name="redirect_after_login" value="" />
<p>
<a class="forgot" href="/account/resend_password">Forgot it?</a>
</p>
</form>
</div>
<div class="front-signup ">
<h3>New to Twitter? <em>Join today!</em></h3>
<form action="https://twitter.com/signup" method="post">
<div class="holding name">
<input type="text" autocomplete="off" value="" name="user[name]" maxlength="20"/>
<span class="holder">Full name</span>
</div>
<div class="holding email">
<input type="text" autocomplete="off" value="" name="user[email]"/>
<span class="holder">Email</span>
</div>
<div class="holding password">
<input type="password" value="" name="user[user_password]"/>
<span class="holder">Password</span>
</div>
<input type="hidden" value="front" name="context" />
<input type="submit" class="promotional submit button" value="Sign up" />
</form>
</div>
</div>
<div class="search ">
<form action="/#!/search" method="GET">
<div class="holding">
<input value="" name="q" type="text" autocomplete="off" />
<span class="holder">Search Twitter</span>
</div>
<div class="glass button submit"><i></i></div>
</form>
</div>
<div class="radial">
<div class="shadow"></div>
<ul><li data-item-offset=""><a data-user-id="83147002" href="/#!/anthonyedwards" title="Anthony Edwards"><img src="http://a1.twimg.com/profile_images/476377375/ae_normal.jpg" alt="Anthony Edwards" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="20466215" href="/#!/jackgraycnn" title="Jack Gray"><img src="http://a2.twimg.com/profile_images/1046332892/image_normal.jpg" alt="Jack Gray" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="54682125" href="/#!/BillCosby" title="Bill Cosby"><img src="http://a0.twimg.com/profile_images/306284528/Bill_CosbyTwitter_normal.jpg" alt="Bill Cosby" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="19784831" href="/#!/womensweardaily" title="Women's Wear Daily"><img src="http://a0.twimg.com/profile_images/1158248478/icon_normal.jpg" alt="Women's Wear Daily" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="27083523" href="/#!/GuyFieri" title="Guy Fieri"><img src="http://a1.twimg.com/profile_images/112254859/GuyFieri_photo1_white_normal.jpg" alt="Guy Fieri" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="62605366" href="/#!/aym" title="AYM"><img src="http://a3.twimg.com/profile_images/740680061/aym_twitter_logo_bigger2_normal.jpeg" alt="AYM" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="15485441" href="/#!/jimmyfallon" title="jimmy fallon"><img src="http://a2.twimg.com/profile_images/1194467116/new-resize-square_normal.jpg" alt="jimmy fallon" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="18999585" href="/#!/CBCHealth" title="CBC Health News"><img src="http://a2.twimg.com/profile_images/1158223817/twitter_73x73_health_normal.jpg" alt="CBC Health News" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="14237001" href="/#!/frugaltraveler" title="The Frugal Traveler"><img src="http://a1.twimg.com/profile_images/951933826/Seth_SP-7004_normal.jpg" alt="The Frugal Traveler" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="14939981" href="/#!/questlove" title="Questo of The Roots"><img src="http://a0.twimg.com/profile_images/1168342829/Screen_shot_2010-11-15_at_9.08.26_PM_normal.png" alt="Questo of The Roots" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="641433" href="/#!/AmyJane" title="Amy Jane Gruber"><img src="http://a2.twimg.com/profile_images/58688822/wildflower_normal.png" alt="Amy Jane Gruber" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="25589776" href="/#!/peoplemag" title="People magazine"><img src="http://a3.twimg.com/profile_images/116213891/people_73x73_normal.jpg" alt="People magazine" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="53153263" href="/#!/tyrabanks" title="Tyra Banks"><img src="http://a3.twimg.com/profile_images/1179343219/Photo_16_normal.jpg" alt="Tyra Banks" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="141052723" href="/#!/MirandaKerr" title="Miranda Kerr"><img src="http://a3.twimg.com/profile_images/1289557304/image002-2_normal.jpg" alt="Miranda Kerr" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="16793850" href="/#!/clotildenet" title="Clotilde Dusoulier"><img src="http://a0.twimg.com/profile_images/62147504/square_normal.jpg" alt="Clotilde Dusoulier" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="19756722" href="/#!/foodsafeguru" title="US Food Safety"><img src="http://a0.twimg.com/profile_images/627660624/USFS-Cover2010_normal.jpg" alt="US Food Safety" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="11856422" href="/#!/msnbc_health" title="msnbc.com - Health"><img src="http://a3.twimg.com/profile_images/119018147/Twitter_msnbc-com-Health_normal.jpg" alt="msnbc.com - Health" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="2148071" href="/#!/danielbru" title="Daniel Brusilovsky"><img src="http://a2.twimg.com/profile_images/1234230996/eightbit-1c22ea7a-33b4-4922-bf55-65f1924cbd56_normal.png" alt="Daniel Brusilovsky" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="26792275" href="/#!/FP_Magazine" title="Foreign Policy"><img src="http://a0.twimg.com/profile_images/1138198034/fp-logo_normal.jpg" alt="Foreign Policy" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="16190278" href="/#!/amandahesser" title="amandahesser"><img src="http://a3.twimg.com/profile_images/61392703/photo_2__normal.jpg" alt="amandahesser" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="37774152" href="/#!/kaj33" title="Kareem Abdul-Jabbar"><img src="http://a2.twimg.com/profile_images/197003984/KAJdodger_normal.jpg" alt="Kareem Abdul-Jabbar" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="14266598" href="/#!/350" title="350 dot org"><img src="http://a3.twimg.com/profile_images/1304588940/350-twitter_normal.png" alt="350 dot org" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="28870086" href="/#!/mortreport" title="Chris Mortensen"><img src="http://a1.twimg.com/profile_images/657785492/alex__mcfadden_normal.jpg" alt="Chris Mortensen" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="18462729" href="/#!/PiperlimeBrand" title="PiperlimeĀ®"><img src="http://a0.twimg.com/profile_images/68951714/piperlimeofficial_normal.jpg" alt="PiperlimeĀ®" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="20609518" href="/#!/DalaiLama" title="Dalai Lama"><img src="http://a3.twimg.com/profile_images/711293289/hhdl-twitter_normal.png" alt="Dalai Lama" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="2883841" href="/#!/eonline" title="E! Online"><img src="http://a0.twimg.com/profile_images/1340651096/EOL_Eentertainment_thumb_normal_normal.jpg" alt="E! Online" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="1183041" href="/#!/wilw" title="Wil Wheaton"><img src="http://a3.twimg.com/profile_images/421184034/qc_avatar_flip_normal.png" alt="Wil Wheaton" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="1434251" href="/#!/nytimesbooks" title="nytimesbooks"><img src="http://a0.twimg.com/profile_images/282245056/books_75_twitter_normal.gif" alt="nytimesbooks" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="21499292" href="/#!/YouLookGreat" title="You Look Great"><img src="http://a2.twimg.com/profile_images/81077444/80717_6_normal.jpg" alt="You Look Great" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="10876852" href="/#!/TheNextWeb" title="The Next Web"><img src="http://a3.twimg.com/profile_images/1135790767/THE_new-twitter-avatar-working_normal.jpg" alt="The Next Web" height="48" width="48" /></a></li></ul>
</div>
<div class="bottompart ">
<div class="language inline-list">
<form action="" method="POST">
<input type="hidden" name="lang" value="" />
<strong>Languages</strong>
</form>
</div>
<div class="footer inline-list">
<ul>
<li><a href="/about">About</a><span class="dot"> ·</span></li>
<li><a href="http://support.twitter.com">Help</a><span class="dot"> ·</span></li>
<li><a href="http://blog.twitter.com/OK">Blog</a><span class="dot"> ·</span></li>
<li><a href="http://status.twitter.com">Status</a><span class="dot"> ·</span></li>
<li><a href="/jobs">Jobs</a><span class="dot"> ·</span></li>
<li><a href="/tos">Terms</a><span class="dot"> ·</span></li>
<li><a href="/privacy">Privacy</a><span class="dot"> ·</span></li>
<li><a href="//business.twitter.com/advertise/start">Advertisers</a><span class="dot"> ·</span></li>
<li><a href="//business.twitter.com/">Businesses</a><span class="dot"> ·</span></li>
<li><a href="http://media.twitter.com">Media</a><span class="dot"> ·</span></li>
<li><a href="//dev.twitter.com">Developers</a><span class="dot"> ·</span></li>
<li><a href="/about/resources">Resources</a><span class="dot"> ·</span></li>
<li><span class="copyright">© 2011 Twitter</span><li>
<ul>
</div>
</div>
</div>
<div id="page-container" class="">
<div>
</div>
</div>
</div>
<div id="message-notifications"></div>
</div>
<div id="flash-message-storage" style="display:none"></div>
<script type="text/javascript">
</script>
<script type="text/javascript">WATCH('loadrunner', function() {
(function loadrunner(E){var V=E.document;var H=V.getElementsByTagName("script"),M,J;var b={},I={},U;for(var Y=0,R;R=H[Y];Y++){if(R.src.match(/loadrunner\.js(\?|#|$)/)){M=R;break}}function C(e){if(e.length>0){return e.replace(/\/$/,"")+"/"}return""}function N(e){return Array.prototype.slice.call(e)}function B(e,f){for(var g=0,h;h=e[g];g++){if(f==h){return g}}return -1}function S(e){return !!e.match(/^(([a-zA-Z0-9\-_]+)\/)*[a-zA-Z0-9\-_]+$/)||!Z(e)}function O(e){return !!e.match(/^(([a-zA-Z0-9\-_]+)\/)*[a-zA-Z0-9\-_]+$/)}function Z(e){return !e.match(/^>/)}function Q(e){return[C(X.path),e,".js"].join("")}function D(e){if(e.match(/^(https?)?:?\/\//)){return e}if(e.match(/^\/[^\/]/)){return C(X.docRoot)+e}if(e.match(/^\$/)){return C(X.path)+e.replace(/^\$/,"")}return e}function P(f){var e;if(e=I[f]){return e}else{return f}}function F(){}F.prototype.addCallback=function(e){if(this.completed){e.apply(this,this.results)}else{this.callbacks=this.callbacks||[];this.callbacks.push(e)}};F.prototype.complete=function(){if(!this.completed){this.results=N(arguments);this.completed=true;if(this.callbacks){for(var f=0,e;e=this.callbacks[f];f++){e.apply(window,this.results)}}}};function d(f,e){this.id=f;var h=this;function g(i){h.exports=i;h.complete(h.exports)}if(typeof e=="function"){e(g)}else{this.exports=e;this.complete(this.exports)}X.loaded.push(f)}d.prototype=new F;var A={};function L(h,j){var i;if(!A[h]){i=new F;A[h]=i;var g=function(){delete A[h];X.loaded.push(h);i.complete(h)};if(Z(h)){var e=V.createElement("script");e.type="text/javascript";e.async=true;e.onload=g;e.onerror=function(){throw h+" not loaded"};e.onreadystatechange=function(){if(this.readyState=="loaded"||this.readyState=="complete"){this.onreadystatechange=null;g()}};e.src=h;var f=V.getElementsByTagName("head")[0];if(!f){f=V.createElement("head");V.documentElement.appendChild(f)}f.insertBefore(e,f.firstChild)}else{i.onManualLoad=i.onManualLoad||[];i.onManualLoad.push(g)}}else{i=A[h]}if(j){i.addCallback(j)}return i}function T(f,e){e=[].concat(e);for(var g=0,h;h=e[g];g++){I[unescape(h)]=unescape(f)}}function X(){var f=new F,e=N(arguments),k=0,q=[];for(var n=0;n<e.length;n++){if(typeof e[n].length==="number"&&e[n].splice){e=e.slice(0,n).concat(e[n]).concat(e.slice(n+1))}}function j(){k++;if(k==e.length){var s;var v=[],u={},p;for(var t=0,r;r=q[t];t++){p=b[r].exports;v.push(p);u[r]=p}f.complete.apply(f,v)}}function g(i,p){return function(){if(!b[i]){throw new Error("File "+p+" does not provide module "+i)}b[i].addCallback(function(){j()})}}if(typeof e[e.length-1]=="function"){f.addCallback(e.pop())}if(!e.length){setTimeout(function(){f.complete()},0)}for(var l=0,h;h=e[l];l++){if(S(h)){var m=P(h);var o;if(O(h)){o=Q(m)}else{o=m}q.push(h);if(B(X.loaded,h)>-1){g(h)()}else{X.load(D(o),g(h,o))}}else{if(B(X.loaded,h)>-1){j()}else{X.load(D(P(h)),j)}}}return f}X.loaded=[];X.path="";if(M){X.path=M.getAttribute("data-path")||M.src.split(/loadrunner\.js/)[0]||"";if(U=M.getAttribute("data-alias")||window.__lralias){for(var Y=0,W,c=U.split("&");W=c[Y]&&c[Y].split("=");Y++){var K=W[0],G=W[1].split(",");T(K,G)}}}X.docRoot=X.cwd="";X.reset=function(){X.loaded=[];b={}};function a(g,f){b[g]=new d(g,f);var j=A[g];if(j&&j.onManualLoad){for(var h=0,e=j.onManualLoad.length;h<e;++h){j.onManualLoad[h]()}delete j.onManualLoad}return b[g]}E.using=X;E.using.load=L;E.using.alias=T;E.provide=a;if(J=(M&&M.getAttribute("data-main"))){X.apply(E,J.split(/\s*,\s*/))}})(this);
});
</script>
<script>WATCH.end('loadrunner');</script>
<script type="text/javascript">WATCH('javascript_logged_out', function() {
(function(){
function yascrib(eName, more) {
var log = '{', more = more || {}; more.event_name = eName; for (var k in more){ log += '"'+k+'":"'+more[k]+'"'; };
(new Image()).src = 'http://scribe.twitter.com/scribe?category=client_event&log='+encodeURIComponent(log+'}')+'&ts='+(new Date()).getTime();
}
function el(i,t) { var d = i.tagName ? i : document.getElementById(i); return t ? d.getElementsByTagName(t) : d; }
function byCls(a,c,f) { for (var i = a.length - 1; i >= 0; i--){ var k = a[i].className, m = k && k.match(c); if(m) { f.call(a[i], m[0]) } }; }
function rmCls(d,c) { return d.className = d.className.replace(' '+c,''); }
function addCls(d,c) { return d.className = rmCls(d,c)+' '+c; }
if(!location.href.match(/#!\/./)) {
var b = document.body;
rmCls(b, 'user-style-twttr loading-body');
addCls(b, 'front-page');
}
var divs = el('front-container', 'div'), c = 'hasome';
byCls(divs, 'holding', function() {
var div = this, inp = el(div, 'input')[0];
el(div,'span')[0].onclick = function() { inp.focus(); };
inp.onblur = function() { if(!inp.value.length) rmCls(div,c); }
inp.onkeydown = function(e) {
setTimeout(function() { ((e&&e.keyCode==8) || inp.value.length) ? addCls(div,c) : rmCls(div,c); },0);
};
});
window.setInterval(function() {
byCls(divs, 'holding', function() { if(el(this, 'input')[0].value.length) addCls(this,c); });
},1111);
var eventMap={signin:'web:front:login_callout:form:login_click',
signup:'web:front:signup_callout:form:signup_click',
search:'web:front:main:search_field:search',
language:'web:front:footer:language_selector:select'};
byCls(divs, 'signin|signup|search|language', function(k) {
var f = el(this, 'form'), evt = eventMap[k];
if(f && f[0]) {
f[0].onsubmit = function() {
if(!el('doc').className.match('route-front')){ yascrib(evt); }
}
}
});
}());
});</script>
<script type="text/javascript">WATCH.end('javascript_logged_out');</script>
<script type="text/javascript">WATCH('javascript_includes', function() {
(function loadrunner(E){var V=E.document;var H=V.getElementsByTagName("script"),M,J;var b={},I={},U;for(var Y=0,R;R=H[Y];Y++){if(R.src.match(/loadrunner\.js(\?|#|$)/)){M=R;break}}function C(e){if(e.length>0){return e.replace(/\/$/,"")+"/"}return""}function N(e){return Array.prototype.slice.call(e)}function B(e,f){for(var g=0,h;h=e[g];g++){if(f==h){return g}}return -1}function S(e){return !!e.match(/^(([a-zA-Z0-9\-_]+)\/)*[a-zA-Z0-9\-_]+$/)||!Z(e)}function O(e){return !!e.match(/^(([a-zA-Z0-9\-_]+)\/)*[a-zA-Z0-9\-_]+$/)}function Z(e){return !e.match(/^>/)}function Q(e){return[C(X.path),e,".js"].join("")}function D(e){if(e.match(/^(https?)?:?\/\//)){return e}if(e.match(/^\/[^\/]/)){return C(X.docRoot)+e}if(e.match(/^\$/)){return C(X.path)+e.replace(/^\$/,"")}return e}function P(f){var e;if(e=I[f]){return e}else{return f}}function F(){}F.prototype.addCallback=function(e){if(this.completed){e.apply(this,this.results)}else{this.callbacks=this.callbacks||[];this.callbacks.push(e)}};F.prototype.complete=function(){if(!this.completed){this.results=N(arguments);this.completed=true;if(this.callbacks){for(var f=0,e;e=this.callbacks[f];f++){e.apply(window,this.results)}}}};function d(f,e){this.id=f;var h=this;function g(i){h.exports=i;h.complete(h.exports)}if(typeof e=="function"){e(g)}else{this.exports=e;this.complete(this.exports)}X.loaded.push(f)}d.prototype=new F;var A={};function L(h,j){var i;if(!A[h]){i=new F;A[h]=i;var g=function(){delete A[h];X.loaded.push(h);i.complete(h)};if(Z(h)){var e=V.createElement("script");e.type="text/javascript";e.async=true;e.onload=g;e.onerror=function(){throw h+" not loaded"};e.onreadystatechange=function(){if(this.readyState=="loaded"||this.readyState=="complete"){this.onreadystatechange=null;g()}};e.src=h;var f=V.getElementsByTagName("head")[0];if(!f){f=V.createElement("head");V.documentElement.appendChild(f)}f.insertBefore(e,f.firstChild)}else{i.onManualLoad=i.onManualLoad||[];i.onManualLoad.push(g)}}else{i=A[h]}if(j){i.addCallback(j)}return i}function T(f,e){e=[].concat(e);for(var g=0,h;h=e[g];g++){I[unescape(h)]=unescape(f)}}function X(){var f=new F,e=N(arguments),k=0,q=[];for(var n=0;n<e.length;n++){if(typeof e[n].length==="number"&&e[n].splice){e=e.slice(0,n).concat(e[n]).concat(e.slice(n+1))}}function j(){k++;if(k==e.length){var s;var v=[],u={},p;for(var t=0,r;r=q[t];t++){p=b[r].exports;v.push(p);u[r]=p}f.complete.apply(f,v)}}function g(i,p){return function(){if(!b[i]){throw new Error("File "+p+" does not provide module "+i)}b[i].addCallback(function(){j()})}}if(typeof e[e.length-1]=="function"){f.addCallback(e.pop())}if(!e.length){setTimeout(function(){f.complete()},0)}for(var l=0,h;h=e[l];l++){if(S(h)){var m=P(h);var o;if(O(h)){o=Q(m)}else{o=m}q.push(h);if(B(X.loaded,h)>-1){g(h)()}else{X.load(D(o),g(h,o))}}else{if(B(X.loaded,h)>-1){j()}else{X.load(D(P(h)),j)}}}return f}X.loaded=[];X.path="";if(M){X.path=M.getAttribute("data-path")||M.src.split(/loadrunner\.js/)[0]||"";if(U=M.getAttribute("data-alias")||window.__lralias){for(var Y=0,W,c=U.split("&");W=c[Y]&&c[Y].split("=");Y++){var K=W[0],G=W[1].split(",");T(K,G)}}}X.docRoot=X.cwd="";X.reset=function(){X.loaded=[];b={}};function a(g,f){b[g]=new d(g,f);var j=A[g];if(j&&j.onManualLoad){for(var h=0,e=j.onManualLoad.length;h<e;++h){j.onManualLoad[h]()}delete j.onManualLoad}return b[g]}E.using=X;E.using.load=L;E.using.alias=T;E.provide=a;if(J=(M&&M.getAttribute("data-main"))){X.apply(E,J.split(/\s*,\s*/))}})(this);
twttr.session = twttr.session || {};
twttr.loggedIn = false;
twttr.appStartTime = document.startTime;
twttr.session.impressionId = twttr.appStartTime + Math.random();
twttr.geo = twttr.geo || {};
twttr.bundles = {"api":"http:\/\/a1.twimg.com\/a\/1306889658\/javascripts\/api.bundle.js","phoenix_plugins":"http:\/\/a3.twimg.com\/a\/1306889658\/javascripts\/phoenix_plugins.bundle.js","phxie6":"http:\/\/a3.twimg.com\/a\/1306889658\/javascripts\/phxie6.bundle.js","phoenix":"http:\/\/a2.twimg.com\/a\/1306889658\/javascripts\/phoenix.bundle.js","turkey":"http:\/\/a3.twimg.com\/a\/1306889658\/javascripts\/turkey.bundle.js","admin":"http:\/\/a0.twimg.com\/a\/1306889658\/javascripts\/admin.bundle.js","base":"http:\/\/a3.twimg.com\/sticky\/base.21.bundle.js"};
using(
'>allCurrentUserDataLoaded',
'>request_cache_seeded',
'>base_bundle_evaled',
'>phoenix_plugins_bundle_evaled',
'>phoenix_bundle_evaled',
'>languageData',
function () {
jQuery.ready();
twttr.setup();
provide('>setupComplete');
}
);
twttr.placeDataPrefix = "http://geo.l3.twitter.com/places/autocomplete_places-";
function initAPI() {
twttr.anywhere.api.initialize();
twttr.API = {};
twttr.aug(twttr.API, twttr.anywhere.api.models);
twttr.aug(twttr.API, {
globalEvents: twttr.anywhere.api.globalEvents
});
twttr.API.setConfig = twttr.anywhere.api.updateConfig;
twttr.API.getConfig = function () {
return twttr.anywhere.api.config;
};
if (!twttr.API.util) {
twttr.API.util = {};
}
twttr.aug(twttr.API.util, twttr.anywhere.api.util);
if (!twttr.API._requestCache) {
twttr.API._requestCache = twttr.anywhere.api.cache;
}
twttr.API.setConfig({
cacheObjects: true,
includeEntities: true
});
twttr.extendAPI();
}
function initCurrentUser() {
if (twttr.loggedIn) {
using('>bootstrap_data', '>request_cache_seeded', function (bootstrapData) {
twttr.API.User.current({
error: function() {
// Not logged in anymore; refresh the page
window.location.reload(true);
},
success: function(currentUser) {
twttr.currentUser = currentUser;
for (var propName in bootstrapData.userProperties) {
twttr.currentUser.sync(propName, bootstrapData.userProperties[propName] || false);
}
provide('>allCurrentUserDataLoaded');
}
});
});
} else {
provide('>allCurrentUserDataLoaded');
}
};
twttr.proto = window.location.protocol.match(/s\:$/) ? 'https' : 'http';
twttr.isSSL = function () {
return twttr.proto === 'https';
};
twttr.domains = {
local: 'twitter.com',
remote: 'api.twitter.com',
upload: 'upload.twitter.com'
};
var match = window.location.hostname.match(/^(staging\d+\.[a-zA-Z0-9_]*?)\.twitter\.com$/i);
if (match) {
twttr.domains.local = match[1] + '.twitter.com';
twttr.domains.remote = 'api-' + match[1] + '.twitter.com';
twttr.domains.upload = twttr.domains.remote;
}
if (document.location.hostname === "localhost.twitter.com") {
twttr.domains.local = 'localhost.twitter.com:3000';
twttr.domains.remote = 'api.localhost.twitter.com:3000';
twttr.domains.upload = twttr.domains.remote;
}
twttr.hosts = {
local: twttr.proto + "://" + twttr.domains.local,
remote: twttr.proto + "://" + twttr.domains.remote,
upload: twttr.proto + "://" + twttr.domains.upload
};
var pReceiverURL = twttr.hosts.remote + '/receiver.html';
twttr.jsonpSandboxURL = 'http://a3.twimg.com/a/1306889658/jsonp_sandbox.html#scripts=http://a3.twimg.com/sticky/base.21.bundle.js';
twttr.detailsPaneContentSandboxURL = 'http://a3.twimg.com/a/1306889658/details_pane_content_sandbox.html#scripts=http://a3.twimg.com/sticky/base.21.bundle.js';
function createIFrame(complete) {
var frag = document.createElement('div');
frag.innerHTML = '<iframe tabindex="-1" role="presentation" style="position:absolute;top:-9999px;" src="' + pReceiverURL + '"></iframe>';
var iframe = frag.firstChild;
var fnComplete = function() {
complete.apply(iframe, arguments);
};
iframe.addEventListener ? iframe.addEventListener('load', fnComplete, false) : iframe.attachEvent('onload', fnComplete);
// Avoid "operation aborted" error in IE that can be caused by
// appending a new element to the body via body.appendChild
// by a script that is not a direct descendant of the <body>.
document.body.insertBefore(iframe, document.body.firstChild);
return iframe;
}
(function() {
var bundleFetchStartTime = new Date();
using(twttr.bundles.base, function() {
provide('>base_bundle_evaled');
});
using('>base_bundle_evaled',
twttr.bundles.api,
twttr.bundles.phoenix_plugins,
twttr.bundles.phoenix,
function() {
var bundleFetchEndTime = new Date();
provide('>allCodeLoaded');
using('>bootstrap_data', '>phoenix_bundle_evaled', function() {
twttr.util.Profiler.logPreviousEvent('twttr.bundles fetched', bundleFetchStartTime, bundleFetchEndTime);
});
}
);
})();
(function() {
var xhr;
if(window.XMLHttpRequest) {
xhr = new window.XMLHttpRequest();
} else {
try {
xhr = new window.ActiveXObject("Microsoft.XMLHTTP");
} catch(e) {
// Eep
}
}
xhr.onreadystatechange = function() {
if(xhr.readyState == 4) {
provide('>bootstrap_data', function(exports) {
exports(JSON.parse(xhr.responseText));
});
}
};
xhr.open('GET', '/account/bootstrap_data' + (window.location.search ? (window.location.search + '&') : '?') + 'r=' + Math.random(), true);
xhr.send(null);
})();
using('>base_bundle_evaled', '>api_bundle_evaled', function() {
twttr.anywhere.remote = {};
provide('>api_ready', function(exports) {
initAPI();
exports();
});
using('>request_cache_seeded', function() {
initCurrentUser();
});
});
using('>bootstrap_data', function(data) {
twttr.payload = data.payload;
provide('>payload');
twttr.remoteIP = data.remoteIP;
twttr.requestFullCity = data.requestFullCity;
twttr.recentPlaces = data.recentPlaces;
twttr.cdnBase = data.cdnBase;
if(data.currentUser) {
twttr.currentUserScreenName = data.currentUserScreenName;
}
if (data.frontSuggestedUsers) {
twttr.frontSuggestedUsers = data.frontSuggestedUsers;
}
if (data.isAdmin) {
twttr.rights = data.adminRights
twttr.isAdmin = true;
}
using('>base_bundle_evaled', function() {
$(function() {
twttr.isNarrow = data.isNarrow;
if(twttr.isNarrow) {
$(document.body).addClass('narrow');
} else {
$(document.body).removeClass('narrow');
}
});
});
if(data.pageLocale) {
twttr.pageLocale = data.pageLocale;
}
var i18nDeferDepedencies = ['>base_bundle_evaled', '>languageData'];
if(data.pageLocaleJS) {
i18nDeferDepedencies.push('>setupComplete');
// Need to load language data
using(data.pageLocaleJS, function() {
provide('>languageData');
});
} else {
provide('>languageData');
}
if(data.pageLocaleClass) {
using('>base_bundle_evaled', function() {
$(function() {
$(document.body).addClass(data.pageLocaleClass);
});
});
}
if(data.languages) {
twttr.languages = data.languages;
}
using(i18nDeferDepedencies, function() {
var _ = window._;
if(twttr.pageLocale === 'en') {
_ = function(str) {
return str;
}
}
// Update any elements with the i18n-deferred class, internationalizing the string from their
// data-i18n-label attribute.
var i18nLabelAttr = 'data-i18n-label';
$('.i18n-deferred').each(function(i, elem) {
var $elem = $(elem);
$elem.html(_($elem.attr(i18nLabelAttr)));
$elem.removeAttr(i18nLabelAttr);
$elem.removeClass('i18n-deferred');
});
// Un-hide the navigation bar at the top, now that it has labels
$('#global-nav').css('visibility', 'visible');
// Set the placeholder text for the search field
var $searchQueryField = $('#search-query');
$searchQueryField.attr('placeholder', _($searchQueryField.attr(i18nLabelAttr)));
$searchQueryField.removeAttr(i18nLabelAttr);
$('#top-stuff').css('visibility', 'visible');
});
using('>defaultViews', function() {
if(data.showWelcomeBanner) {
(new twttr.views.WelcomeToPhoenixBanner()).render($('#banners'), 'append');
}
if (data.flashNotice) {
$('#flash-message-storage').html(data.flashNotice).show();
}
});
using('>decider', function() {
twttr.decider._updateFeatures(data.deciderFeatures);
});
using('>ab_decider', function() {
twttr.abdecider._updateExperiments(data.abBuckets);
});
using('>api_ready', function() {
twttr.API.setConfig({ postAuthenticityToken: data.postAuthenticityToken });
$('input.authenticity_token').val(data.postAuthenticityToken);
provide('>request_cache_seeded', function(exports) {
var seedData = data.requestCacheSeedData;
for (var i = 0, len = seedData.length; i < len; ++i) {
var seedItem = seedData[i];
twttr.API._requestCache.inject(seedItem.api_request_name, seedItem.options, seedItem.json, 1);
}
exports();
});
if(data.homeTimelineFetchSize) {
twttr.API.homeTimelineFetchSize = data.homeTimelineFetchSize;
}
});
});
createIFrame(function() {
var that = this;
using('>base_bundle_evaled', '>api_bundle_evaled', function() {
twttr.anywhere.remote.server = that;
twttr.anywhere.api.util.RemoteRequest.flush();
});
});
});</script>
<script>WATCH.end('javascript_includes');</script>
<!--[if lte IE 6]>
<script src="http://a3.twimg.com/a/1306889658/javascripts/phxie6.bundle.js"></script>
<![endif]-->
</body>
</html>