<!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/1304019356/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 ">
<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 left"><i></i></span>
<input value="" placeholder="Search" 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">
<button type="submit" class="submit button">Sign in</button>
<label class="remember">
<input type="checkbox" value="1" name="remember_me" />
<span>Remember me</span>
</label>
</fieldset>
<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">
<span class="holder">Username</span>
<input type="text" id="username" value="" name="session[username_or_email]" title="Username or email" autocomplete="on" />
</div>
<div class="holding password">
<span class="holder">Password</span>
<input type="password" id="password" value="" name="session[password]" title="Password" />
</div>
</fieldset>
<fieldset class="subchck">
<button type="submit" class="submit button">Sign in</button>
<label class="remember">
<input type="checkbox" value="1" name="remember_me" />
<span>Remember me</span>
</label>
</fieldset>
<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">
<span class="holder">Full name</span>
<input type="text" autocomplete="off" value="" name="user[name]" maxlength="20"/>
</div>
<div class="holding email">
<span class="holder">Email</span>
<input type="text" autocomplete="off" value="" name="user[email]"/>
</div>
<div class="holding password">
<span class="holder">Password</span>
<input type="password" value="" name="user[user_password]"/>
</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">
<span class="holder">Search Twitter</span>
<input value="" name="q" type="text" autocomplete="off" />
</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="1110101" href="/#!/Catavino" title="Ryan&Gabriella Opaz"><img src="http://a0.twimg.com/profile_images/1050344110/catavino_avatar_normal.png" alt="Ryan&Gabriella Opaz" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="32189538" href="/#!/WinnebagoMan" title="Winnebago Man"><img src="http://a1.twimg.com/profile_images/1021234410/Screen_shot_2010-06-24_at_2.32.37_PM_normal.png" alt="Winnebago Man" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="17471979" href="/#!/NatGeoSociety" title="National Geographic"><img src="http://a2.twimg.com/profile_images/1174016647/ng_rectangle_normal.jpg" alt="National Geographic" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="20536157" href="/#!/google" title="A Googler"><img src="http://a1.twimg.com/profile_images/77186109/favicon_normal.png" alt="A Googler" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="32004130" href="/#!/JoyVBehar" title="Joy Behar"><img src="http://a3.twimg.com/profile_images/140996314/Joy2_normal.JPG" alt="Joy Behar" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="19074134" href="/#!/marieclaire" title="Marie Claire"><img src="http://a1.twimg.com/profile_images/1308279946/MCX0511Cover1_normal.jpg" alt="Marie Claire" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="5402612" href="/#!/BBCBreaking" title="BBC Breaking News"><img src="http://a3.twimg.com/profile_images/1143158124/BBC_avatar_normal.jpg" alt="BBC Breaking News" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="14199378" href="/#!/smithsonian" title="Smithsonian"><img src="http://a3.twimg.com/profile_images/524772602/logo_normal.gif" alt="Smithsonian" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="26077026" href="/#!/USATODAYhealth" title="Maureen Linke"><img src="http://a0.twimg.com/profile_images/284506177/twitter_normal.jpg" alt="Maureen Linke" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="24124842" href="/#!/BCBGMAXAZRIA" title="BCBGMAXAZRIA"><img src="http://a1.twimg.com/profile_images/1311899498/BCBGMAXAZRIA_Twitter_Icon_128x128_normal.jpg" alt="BCBGMAXAZRIA" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="17445752" href="/#!/Cal" title="Cal"><img src="http://a0.twimg.com/profile_images/1104312332/cal_script_300x_normal.png" alt="Cal" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="22375745" href="/#!/RosenfeldMedia" title="Rosenfeld Media"><img src="http://a2.twimg.com/profile_images/89768463/RM_Logo_Grey_normal.png" alt="Rosenfeld Media" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="26565946" href="/#!/jtimberlake" title="Justin Timberlake "><img src="http://a2.twimg.com/profile_images/1184225775/rehearsals-121_twitter_-_small__normal.jpg" alt="Justin Timberlake " height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="18812795" href="/#!/cakewrecks" title="cakewrecks"><img src="http://a0.twimg.com/profile_images/1233960237/Twitter_Jockey_normal.jpg" alt="cakewrecks" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="10168082" href="/#!/Heritage" title="Heritage Foundation"><img src="http://a0.twimg.com/profile_images/1200877112/heritage-twitter-logo-new_normal.jpg" alt="Heritage Foundation" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="24929621" href="/#!/ParisHilton" title="Paris Hilton"><img src="http://a3.twimg.com/profile_images/1331197954/6a0120a76ec06f970b01538e2fd977970b-500wi_normal.jpg" alt="Paris Hilton" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="432093" href="/#!/BT" title="BT"><img src="http://a3.twimg.com/profile_images/887944976/BT_Rust_Wall_Standing_normal.jpg" alt="BT" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="19658826" href="/#!/newscientist" title="New Scientist"><img src="http://a0.twimg.com/profile_images/628451091/NS_normal.png" alt="New Scientist" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="35582189" href="/#!/100LayerCake" title="100 Layer Cake"><img src="http://a0.twimg.com/profile_images/207534431/100LC_twitter_pic_normal.png" alt="100 Layer Cake" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="73443014" href="/#!/ninadobrev" title="Nina Dobrev"><img src="http://a3.twimg.com/profile_images/1134649183/emmyredcarpet_281229_normal.jpg" alt="Nina Dobrev" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="56688840" href="/#!/ApoloOhno" title="Apolo Anton Ohno"><img src="http://a3.twimg.com/profile_images/996992083/PhotoConnecticut_normal.jpg" alt="Apolo Anton Ohno" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="15398191" href="/#!/cork_dork" title="Christophe Smith"><img src="http://a2.twimg.com/profile_images/1094982424/100_0109__Large__normal.jpg" alt="Christophe Smith" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="71099570" href="/#!/dixiechicks" title="Dixie Chicks"><img src="http://a1.twimg.com/profile_images/1149625913/profile-pic_normal.jpg" alt="Dixie Chicks" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="18720595" href="/#!/serafinowicz" title="Peter Serafinowicz"><img src="http://a3.twimg.com/profile_images/1159900101/Photo_on_2010-11-04_at_20.20_normal.jpg" alt="Peter Serafinowicz" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="8447862" href="/#!/publishingtalk" title="Publishing Talk"><img src="http://a3.twimg.com/profile_images/49510402/badge200_normal.jpg" alt="Publishing Talk" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="17629860" href="/#!/FBIPressOffice" title="FBI PressOffice"><img src="http://a1.twimg.com/profile_images/198604383/fbilogoag_normal.jpg" alt="FBI PressOffice" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="19789299" href="/#!/PeterSGreenberg" title="Peter S. Greenberg"><img src="http://a3.twimg.com/profile_images/74254897/Peter_After_normal.jpg" alt="Peter S. Greenberg" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="38883394" href="/#!/foodspotting" title="Foodspotting"><img src="http://a2.twimg.com/profile_images/1121518747/button-foodspotting_normal.png" alt="Foodspotting" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="20436059" href="/#!/USDAFoodSafety" title="USDA Food Safety"><img src="http://a2.twimg.com/profile_images/99817099/Be_Food_Safe_normal.jpg" alt="USDA Food Safety" height="48" width="48" /></a></li><li data-item-offset=""><a data-user-id="73181712" href="/#!/TheJusticeDept" title="The Justice Dept"><img src="http://a0.twimg.com/profile_images/445550654/twitter_logo_normal.png" alt="The Justice Dept" 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; // set in phoenix.mustache
// Give our session a unique impression id for profiling purposes
twttr.session.impressionId = twttr.appStartTime + Math.random();
twttr.remoteIP = '2.96.51.202';
twttr.requestFullCity = 'gb,l2,rochdale';
twttr.geo = twttr.geo || {};
twttr.bundles = {"phoenix_plugins":"http:\/\/a2.twimg.com\/a\/1304019356\/javascripts\/phoenix_plugins.bundle.js","phxie6":"http:\/\/a2.twimg.com\/a\/1304019356\/javascripts\/phxie6.bundle.js","admin":"http:\/\/a1.twimg.com\/a\/1304019356\/javascripts\/admin.bundle.js","api":"http:\/\/a2.twimg.com\/a\/1304019356\/javascripts\/api.bundle.js","phoenix":"http:\/\/a0.twimg.com\/a\/1304019356\/javascripts\/phoenix.bundle.js","base":"http:\/\/a2.twimg.com\/sticky\/base.16.bundle.js","griffin":"http:\/\/a1.twimg.com\/a\/1304019356\/javascripts\/griffin.bundle.js"};
using(
'>allCurrentUserDataLoaded',
'>request_cache_seeded',
'>base_bundle_evaled',
'>phoenix_plugins_bundle_evaled',
'>phoenix_bundle_evaled',
'>languageData',
function () {
// Manually trigger ready event, avoiding race condition where it never fires due to iframe thingy
// This should be safe based on how our script loading is done
jQuery.ready();
twttr.setup();
}
);
/* -------------------- Autocomplete place data from CDN -------------------- */
twttr.placeDataPrefix = "http://geo.l3.twitter.com/places/autocomplete_places-";
/* -------------------- Initialize API Method -------------------- */
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();
}
/* -------------------- Init CurrentUser Method -------------------- */
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');
}
};
/* -------------------- Setting up Domains -------------------- */
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'
};
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';
}
if (document.location.hostname === "localhost.twitter.com") {
twttr.domains.local = 'localhost.twitter.com:3000';
twttr.domains.remote = 'api.localhost.twitter.com:3000';
}
twttr.hosts = {
local: twttr.proto + "://" + twttr.domains.local,
remote: twttr.proto + "://" + twttr.domains.remote
};
var pReceiverURL = twttr.hosts.remote + '/receiver.html';
twttr.jsonpSandboxURL = 'http://a3.twimg.com/a/1304019356/jsonp_sandbox.html#scripts=http://a2.twimg.com/sticky/base.16.bundle.js';
/* -------------------- Iframe Creator Method -------------------- */
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;
}
/*------------------- Local Assets --------------------*/
/*------------------- CDN Assets --------------------*/
/*------------------- fetch base --------------------*/
(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', function() {
twttr.util.Profiler.logPreviousEvent('twttr.bundles fetched', bundleFetchStartTime, bundleFetchEndTime);
});
}
);
})();
/*------------------- fetch bootstrap data --------------------*/
(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) {
if(xhr.responseText.charAt(0) === '{') {
provide('>bootstrap_data', function(exports) {
exports(JSON.parse(xhr.responseText));
});
} else {
eval(xhr.responseText);
}
}
};
// Note: we include window.location.search here so any query string parameters given to load the page are passed
// along to /account/bootstrap_data.js. In particular, we want things like ?lang=ja to propogate through to the
// request for bootstrap data.
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.griffinConfig) {
twttr.griffinConfig = data.griffinConfig;
provide('>griffin_config');
}
if (data.isAdmin) {
twttr.rights = data.adminRights
twttr.isAdmin = true;
}
if (data.isNarrow) {
twttr.isNarrow = true;
}
if(data.pageLocale) {
twttr.pageLocale = data.pageLocale;
}
if(data.pageLocaleJS) {
// 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('>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 });
$('#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://a2.twimg.com/a/1304019356/javascripts/phxie6.bundle.js"></script>
<![endif]-->
</body>
</html>