Study Abroad Asia
By: - (justin) 2009.10.24
<html>
<head>
<meta http-equiv="Expires" content="Sat, 16 Nov 2002 00:00:01 GMT" />
<meta http-equiv="Content-type" content="text/html;charset=utf-8" />
<title>Yahoo! Mail</title>
<script type="text/javascript">
</script>
<script type="text/javascript">
$/gim, "$1");
try {
eval(str);
} catch (e) {
_exit("launchFailure", parseErrMsg + ", \n" + getExceptionDetail(e));
e = null;
return;
}
} else {
_exit("launchFailure", domErrMsg);
}
}
function getFunctionName(aFunction, brief)
{
var name, fnStr, match, match2, len = 0;
try {
fnStr = aFunction.toString();
match = fnStr.match ( /function\s+([^\s(]+)/ );
if ( match && match.length > 1 ) {
name = match[1];
} else {
match = fnStr.match (/mungerCrumb = \"(\S+)\";/m );
match2 = null;
if ( match && match.length > 1 && ( match2 = fnStr.match ( /function\s*\([^\)]+\)/m ))) {
name = match2[0] + " { " + match[1] + " }";
} else {
// Otherwise save a body snippet and hope its recognizable
//
len = Math.min ( fnStr.length, ( brief ? 35 : 100 ));
name = fnStr.substring ( 0, len-1 ) + "...}";
if ( brief )
name = name.replace ( /\n/g, " ");
}
}
} catch (e) { }
name = name || "{anonymous}";
name = name.replace(/^(\s+)?(.*\S)(\s+)?$/g, '$2');
return name;
}
function stackTrace(brief, err)
{
var result = [], i = 0, n = brief ? 10 : 20,
spacer = brief ? " " : "\n", args = arguments,
a, b, e;
if (err && (err instanceof Error) && err.stack)
return err.stack;
try {
a = args.caller ? args.caller.callee : args.callee.caller;
while ( a && i++<n )
{
result.push("> ", getFunctionName ( a, brief ), spacer);
args = a.arguments;
try {
// At the bottom of the stack, Moz can give an error
// trying to make this assignment (e.g. XHR state change
// handler inside the browser, calling into the JS)
b = args.caller ? args.caller.callee : args.callee.caller; // IE : W3
} catch ( e ) {
result.push( "*** error going to next level, may be the end of the JS stack", spacer );
}
if ( b == a ) {
result.push("*** recursion, stopping", spacer);
break;
}
a = b;
}
} catch (e) {
result.push( "*** error generating stack crawl: " + e.message, spacer );
}
return result.join("");
}
function getExceptionDetail(e, sep)
{
var err;
if(!e) return "";
sep = sep || "\n";
return [
"name:", e.name||"", sep,
"message:", e.message||"", sep,
"number:", (e.number) ? (e.number & 0xFFFF) : "", sep,
"lineNumber:", e.lineNumber||"", sep,
"description:", e.description||"",sep,
"fileName:", e.fileName||"",sep
].join("");
}
function failSafe_stop()
{
try {
if (window["DebugNoMunge"])
DebugNoMunge.log("onPageLoad failsafe timer stopped");
} catch (err) { e = null; }
if (failSafe_timerID) {
clearTimeout(failSafe_timerID);
failSafe_timerID = 0;
}
}
function failSafe_start(level)
{
var failSafeRun, nTime, err;
failSafe_stop();
level = level || "max";
nTime = (level in failSafe_bucket) ? failSafe_bucket[level] : failSafe_bucket["max"];
failSafeRun = function()
{
var e, node, node2;
try {
node = Dom.elt("startCG") || null;
node2 = Dom.elt("launchDataCache") || Dom.elt("launchData") || null;
} catch (e) {
e = node = node2 = null;
}
if (node && node2) {
try {
onPageLoad(2);
} catch (e) {
_exit("launchFailure", "onPageLoad called, but failed in failsafe timer, time:" + nTime + ", " + e.name + ":" + (e.message||e.description), (e.stack||""));
return;
}
} else {
sendStat("FailSafeExpired_NoOnPageLoad:" + level);
failSafe_start(level);
}
}
try {
if (window["DebugNoMunge"])
DebugNoMunge.log("onPageLoad failsafe timer is set to fire in -->" + nTime);
} catch (err) { err = null; }
failSafe_timerID = setTimeout(failSafeRun, nTime);
}
LAUNCH_DATA_ERR_HANDLER =
{
onerror: function()
{
if (!LAUNCH_DATA_ERR_HANDLER.errCode) return false;
switch (LAUNCH_DATA_ERR_HANDLER.errCode)
{
case "LaunchNeverFinished":
failSafe_stop();
sendStat("CascadeErrorOnLaunch_LaunchNeverFinished;");
_exit("cascade", escape(LAUNCH_DATA_ERR_HANDLER.errCode));
break;
case "LaunchIsBlocked":
// Bug 2375011: More stats for understanding the launch sequence.
failSafe_stop();
sendStat("CascadeErrorOnLaunch_LaunchIsBlocked;");
_exit("blocked", escape(LAUNCH_DATA_ERR_HANDLER.errCode));
break;
default:
// Bug 2375011: More stats for understanding the launch sequence.
failSafe_stop();
sendStat("CascadeErrorOnLaunch_Default;");
_exit("cascade", escape(LAUNCH_DATA_ERR_HANDLER.errCode));
break;
}
return true;
},
errCode: "LaunchNeverFinished"
}
gCgUrlExtras = '&.gx=0';
redirectOnError = 1;
gRegLaunch = []; gLaunchProfile = {};
function sendStat(str)
{
var RS, url, e;
if (window.hasFoundEvil && str == "FoundEvilLocalScript")
return;
try {
if (window["DebugNoMunge"])
DebugNoMunge.log("Sending stat --> " + str);
} catch (e) { e = null; }
try {
RS = document.createElement("IMG");
RS.onload =
RS.onerror = function() { try { this.onerror = this.onload = null; } catch (e) { e = null; } RS = null; };
url = "rs?log=" + str;
url = url + ((window.gCgUrlExtras) ? ("&" + window.gCgUrlExtras) : "");
RS.src = url;
} catch (e) {
e = RS = null;
}
if (str == "FoundEvilLocalScript")
window.hasFoundEvil = true;
}
function getLogInfo()
{
var extraParamStr, scriptURLs = [], oEls, oEl, idx = 0, activeXMsg,
sMachine, sUserIntl, sUserLang, build, sADID, oSJS, failed, sJS, chSet,
doc = document, src, e, kPartnerData, loginVarData, sigData,
launchComplete = Boolean(window.gLaunchSequenceCompleted),
compMapData, themeMapData, ret = {};
ret.launchComplete = launchComplete;
try {
extraParamStr = extraParamStr || window.gCgUrlExtras || "";
} catch (e) {
extraParamStr = "";
e = null;
} finally {
ret.params = extraParamStr;
}
try {
oEls = doc.getElementsByTagName("script");
while (oEl = oEls[idx++])
{
src = oEl.getAttribute("src") || "";
if (src)
scriptURLs.push(escape(src));
}
} catch (e) {
e = null;
scriptURLs = [];
} finally {
scriptURLs = scriptURLs.join(";");
ret.scripts = scriptURLs;
}
try {
activeXMsg = activeX.message || ((activeX.nonActiveXDOMMode) ? "non active x dom mode" : "");
} catch (e) {
activeXMsg = "";
e = null;
} finally {
ret.activeX = activeXMsg;
}
try {
sMachine = kPartner["systemHost"] || "unknown";
} catch (e) {
e = null;
sMachine = "unknown";
} finally {
ret.machine = sMachine;
}
try {
sUserIntl = kPartner.intl.user || "unknown";
} catch (e) {
e = null;
sUserIntl = "unknown";
} finally {
ret.userIntl = sUserIntl;
}
try {
sUserLang = kPartner.intl.lang || "unknown";
} catch (e) {
e = null;
sUserLang = "unknown";
} finally {
ret.userLang = sUserLang;
}
try {
build = kPartner.version.build || "unknown";
} catch (e) {
e = null;
build = "unknown";
} finally {
ret.build = build;
}
try {
sADID = kPartner['AdBeaconInfo']['AdID'] || "Unknown";
} catch (e) {
sADID = "Unknown";
e = null;
} finally {
ret.adID = sADID;
}
try {
oSJS = YAHOO.mail.SafeScriptLoader;
failed = oSJS.getFailed();
sJS = ["\nScripts Failed:\n", (failed.length) ? failed.join("\n") : 0].join("");
} catch (e) {
e = null;
sJS = "";
} finally {
ret.failedScripts = sJS;
}
try {
chSet = doc.charset || doc.characterSet || "unknown";
} catch (e) {
e = null;
chSet = "unknown";
} finally {
ret.charSet = chSet;
}
try {
loginVarData = elt("loginVars").text;
} catch (e) {
loginVarData = "unknown";
e = null;
} finally {
ret.loginVars = loginVarData;
}
try {
kPartnerData = elt("kPartnerData").text;
} catch (e) {
kPartnerData = "unknown";
e = null;
} finally {
ret.kPartner = kPartnerData;
}
try {
sigData = elt("sigData").text;
} catch (e) {
sigData = "unknown";
e = null;
} finally {
ret.sig = sigData;
}
try {
compMapData = elt("compMapData").text;
} catch (e) {
compMapData = "unknown";
e = null;
} finally {
ret.compMap = compMapData;
}
try {
themeMapData = elt("themeMapData").text;
} catch (e) {
themeMapData = "unknown";
e = null;
} finally {
ret.themes = themeMapData;
}
return ret;
}
function sendJSLog(sk,msg,stack)
{
var logInfo, logPct = 0, rand = 0, forceLog = 0, sURL,
oLogXHR, oParams, sent = false, e,
isDebug = false;
try {
if (location.search.indexOf("logJSErr=1") >= 0 || isDebug)
forceLog = 1;
} catch (e) {
forceLog = 0;
e = null;
}
logPct = 10;
rand = Math.random() * 100;
if ((rand < logPct) && !forceLog)
forceLog = 1;
sk = sk || "jsErrLog";
logInfo = getLogInfo();
if (msg.indexOf("127.0.0.1") >=0 || logInfo.scripts.indexOf("127.0.0.1") >= 0) {
if (!window.hasFoundEvil) {
forceLog = 1;
sendStat("FoundEvilLocalScript");
} else {
return;
}
}
if (sk == "sjsloaderfailure") {
rand = Math.random() * 1000;
forceLog = (rand < logPct) ? 1 : 0;
}
if (forceLog) {
sURL =
[
"jserr?prob=jsErrLog&",
"sk=", sk, "&",
"bn=", logInfo.build, "&",
"lc=", logInfo.launchComplete, "&",
"i=", logInfo.userIntl, "&",
"lg=", logInfo.userLang, "&",
"m=", escape(logInfo.machine), "&",
"c=", logInfo.charSet, "&",
"a=", escape(logInfo.adID), "&",
"x=", escape(logInfo.activeX), "&",
logInfo.params
].join("");
msg = msg || "";
if (window.LAUNCH_ERR_MSG) {
msg += "\n" + LAUNCH_ERR_MSG;
LAUNCH_ERR_MSG = "";
}
try {
oLogXHR = activeX._newHTTP();
oParams =
[
"msg=", escape(escape(msg)), "&",
"stack=", escape(escape(stack)), "&",
"surls=", escape(escape(logInfo.scripts)), "&",
"j=", escape(escape(logInfo.failedScripts)), "&",
"lvdata=", escape(escape(logInfo.loginVars)), "&",
"kpdata=", escape(escape(logInfo.kPartner)), "&",
"sigdata=", escape(escape(logInfo.sig)), "&",
"compdata=",escape(escape(logInfo.compMap)), "&",
"tdata=", escape(escape(logInfo.themes))
].join("");
try { oLogXHR.timeout = 10000; } catch (e) { e = null; }
oLogXHR.open("POST", sURL, true);
oLogXHR.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
oLogXHR.send(oParams);
sent = true;
} catch (e) {
e = null;
sent = false;
} finally {
oLogXHR = null;
}
sendStat("JSErrLog");
}
return sent;
}
function _noopFunc() {};
function _exit(reason, msg, stack, extraParamStr)
{
var sMethod = "POST", s = "setAttribute", c = "createElement", a = "appendChild",
doc = document, loc = location, oFormEl, oDivEl, oInputEl, e,
qs = loc.search, newQs = (qs && qs.charAt(0) == "?") ? [qs, "&"] : ["?"],
oParams, logInfo, createLogNode,
sQsCheck = "retry=1&npfa=1", sErrorStat = "LaunchRetryError_NPFA",
isDebug = false;
createLogNode = function(name, data, form)
{
var oInputEl,err;
try {
oInputEl = doc.createElement("INPUT");
oInputEl[s]("type", "hidden");
oInputEl[s]("name", name);
oInputEl[s]("value", escape(data));
form.appendChild(oInputEl);
} catch (err) {
err = null;
}
form = oInputEl = null;
}
failSafe_stop();
switch (reason)
{
case "reload":
// Bug 2375011: More stats for understanding the launch sequence.
sendStat("ExitByReload");
loc.reload();
_exit = _noopFunc;
return true;
case "cascade":
// Bug 2375011: More stats for understanding the launch sequence.
sendStat("CascadeError_GenericMessage");
loc.href = "cascade_err.php?ce=" + msg;
_exit = _noopFunc;
return true;
case "roughSeas":
// Bug 2375011: More stats for understanding the launch sequence.
sendStat("RedirectForRoughSeas");
loc.href = "/dc/system_requirements?" + extraParamStr;
_exit = _noopFunc;
return true;
case "blocked":
// Bug 2375011: More stats for understanding the launch sequence.
sendStat("RedirectToBlockedURLPage");
loc.href= "/dc/pcactive";
_exit = _noopFunc;
return true;
case "cookie":
case "cookiesDisabled":
// bug 2484457: If cookies are blocked, redirect to login page.
loc.href = "https://login.yahoo.com/config/login_verify2?.intl=us&.src=cdgm&.pd=c%3dUUxCT1K42e7bwdS23u.79t.FKQ--&.done=http%3A%2F%2Fus.mg1.mail.yahoo.com%2Fdc%2Flaunch%3F.gx%3D0%26amp%3B.rand%3Dedavo3dhkut2d";
_exit = _noopFunc;
return true;
case "galaxyJsFailure":
case "missingJS":
case "noactiveX":
case "QS":
case "cache":
break;
default:
reason = "launchFailure";
break;
}
if (isDebug && qs.indexOf(".debug=1") != -1 && !bAlreadyAsked) {
if (confirm("An error occured while launching in debug mode.\n Would you like to debug?")) {
bAlreadyAsked = true;
eval("deb"+"ugger");
}
}
msg = msg || "unknown";
msg = reason + "\n" + msg;
logInfo = getLogInfo();
try {
if (msg.indexOf("Error loading script") != -1)
sendStat("FF_ErrorLoadingScript_" + (logInfo.launchComplete ? "a" : "b"));
} catch (e) {
e = null;
}
if(window.redirectOnError == 0) return;
if (!isDebug) {
if (qs.indexOf(sQsCheck) == -1) {
if (window.kPartner) {
if (kPartner.bucket == 0) {
sErrorStat = "LaunchError_NoAds";
} else if (kPartner.prefetchedAds) {
sErrorStat = "LaunchError_PrefetchAds";
} else {
sErrorStat = "LaunchError_NoPrefetchAds";
}
} else {
sErrorStat = "LaunchError_NoKPartnerFound";
}
sendJSLog("jsErrBeforeNPFA",msg, stack);
sendStat(sErrorStat);
newQs.push(sQsCheck);
loc.replace("launch" + newQs.join(""));
_exit = _noopFunc;
return true;
}
sendStat(sErrorStat);
}
if (msg.indexOf("127.0.0.1") >=0 || logInfo.scripts.indexOf("127.0.0.1") >= 0)
sendStat("FoundEvilLocalScript");
if (window.LAUNCH_ERR_MSG) {
msg += "\n" + LAUNCH_ERR_MSG;
LAUNCH_ERR_MSG = "";
}
sUrl =
[
"troubleLoading?prob=", reason, "&",
"sk=", "launchFailure", "&",
"log=", "1", "&",
"bn=", logInfo.build, "&",
"lc=", logInfo.launchComplete, "&",
"i=", logInfo.userIntl, "&",
"lg=", logInfo.userLang, "&",
"m=", escape(logInfo.machine), "&",
"c=", logInfo.charSet, "&",
"a=", escape(logInfo.adID), "&",
"x=", escape(logInfo.activeX), "&",
logInfo.params
].join("");
try {
window.onunload = null;
oFormEl = doc[c]("FORM");
oFormEl[s]("id", "errForm");
oFormEl[s]("name", "errForm");
oFormEl[s]("action", sUrl);
oFormEl[s]("method", sMethod);
oFormEl[s]("hidefocus", true);
oFormEl[s]("tabIndex", -1);
oFormEl.style.cssText = "visiblity:hidden;display:none";
createLogNode("msg", msg, oFormEl);
createLogNode("stack", stack, oFormEl);
createLogNode("j", logInfo.failedScripts, oFormEl);
createLogNode("surls", logInfo.scripts, oFormEl);
createLogNode("lvdata", logInfo.loginVars, oFormEl);
createLogNode("kpdata", logInfo.kPartner, oFormEl);
createLogNode("sigData" , logInfo.sig, oFormEl);
createLogNode("compdata", logInfo.compMap, oFormEl);
createLogNode("tdata", logInfo.themes, oFormEl);
oDivEl = doc[c]("div");
if (doc.body) {
oDivEl[a](oFormEl);
doc.body[a](oDivEl);
} else {
doc.getElementsByTagName("HEAD")[0][a](oFormEl);
}
oFormEl = elt('errForm');
sendStat("ErrorFormSubmitted");
oFormEl.submit();
} catch (e) {
sendStat("ErrorFormNotSubmitted");
e = oFormEl = null;
}
_exit = _noopFunc;
if (!oFormEl) {
sUrl += "&msg=" + msg.substring(0,1024);
loc.href = sUrl;
}
}
function _CD(action, evt)
{
var url, redirectObj, e;
try { if (window["DebugNoMunge"]) DebugNoMunge.showRawDebugLog(action, evt); } catch(e) {e = null; }
if ( action != "exit" ) return;
try { deleteCookie( "YM.BM", "/", "yahoo.com" ); } catch(e) { e = null; }
url = "http://login.yahoo.com/config/login?logout=1&.src=cdgm&.intl=us&.direct=2&.done=http://www.yahoo.com&.last=http://mail.yahoo.com";
redirectObj = elt ("uh_soredirect");
try {
if (redirectObj && redirectObj.value.length)
url = redirectObj.value + url;
} catch (e) { e = null; }
if (url)
window.top.location.href = url;
}
function _H4O(event, srcElement) {}
function _MMOH(event, srcElement) {}
function Timer ()
{
this.start =
this.total = 0;
}
function Stopwatch (name)
{
this._name = name;
this._timers = {};
}
Stopwatch.prototype =
{
start: function(name) { this.startIfNeeded(name); },
startIfNeeded: function(name)
{
var t;
if (!name) return;
t = this._timers[name];
if(!t) t = new Timer();
if (t.start!=0) return;
t.start = ( new Date() ).getTime();
this._timers[ name ] = t;
},
stop: function(name) { this.stopIfNeeded(name); },
stopIfNeeded: function(name)
{
var t = this._timers[ name ];
if (!t || !t.start) return;
t.total += ( ( new Date() ).getTime() - t.start );
t.start = 0;
},
_getTimer: function(name)
{
return this._timers[name] || null;
}
};
gLaunchProfile = new Stopwatch("LaunchProfile");
gLaunchProfile.start("PreOnload");
activeX =
{
enabled: true,
nonActiveXDOMMode: false,
xmldom: 'MSXML2.DOMDocument',
xmlhttp: 'MSXML2.XMLHTTP',
message: '',
_newDOM: function(bt) {
var ret = null, e1 = null, e2 = null;
if (!ret) { try { ret = document.implementation.createDocument("", "", null); } catch (e2) { ret = null; }; }
if (bt) {
if (ret) {
e1 = e2 = null;
msg = "";
}
return {err:e1||e2,msg:"xmldom:failure\n"};
}
return ret;
},
_newHTTP: function(bt) {
var ret = null, e;
try { ret = new XMLHttpRequest(); } catch (e) { e = ret = null; }
if (!ret) try { ret = new ActiveXObject(activeX.xmlhttp); } catch (e) { ret = null; }
return (bt) ? {err:e,msg:"xmlhttp:failure\n"} : ret;
}
}
//-->
</script>
<script type="text/javascript">
(function CGLaunch_Step1() {
var e;
try {
failSafe_start();
} catch (e) { _exit('launchFailure', 'Starting failsafe launch failed -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
}());
</script>
<script id="loginVars" type="text/plain" charset="utf-8" class="jsonData">
</script>
<script type="text/javascript" charset="utf-8">
(function CGLaunch_Step3() {
var e;
try {
parseLaunchJSON("loginVars", "Could not evaluate login vars (lUserName) etc", "Could not get loginVars dom node data");
} catch (e) { _exit('launchFailure', 'Setting global login vars for onload/launch failed -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
try {
gLaunchProfile.stop("-loginVarsParse");
gLaunchProfile.start("-kPartnerParse");
} catch (e) { e = null; }
}());
</script>
<script id="kPartnerData" type="text/plain" charset="utf-8" class="jsonData">
</script>
<script type="text/javascript">
(function CGLaunch_Step4() {
var e;
try {
parseLaunchJSON("kPartnerData", "Caught JS error evaluating kPartner", "Could not get kPartner data node");
} catch (e) { _exit('launchFailure', 'Failed calling parseLaunchJSON for kPartner -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
try {
gLaunchProfile.stop("-kPartner");
gLaunchProfile.stop("-kPartnerParse");
gLaunchProfile.start("-YMSigParse");
} catch (e) { e = null; }
}());
</script>
<script id="sigData" type="text/plain" charset="utf-8" class="jsonData">
</script>
<script type="text/javascript" charset="utf-8">
(function CGLaunch_Step5() {
var e;
try {
parseLaunchJSON("sigData", "Caught JS error evaluating sigData", "Could not get sigData data node");
} catch (e) { _exit('launchFailure', 'Failed calling parseLaunchJSON for sigData -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
try {
gLaunchProfile.stop("-YMSigParse");
gLaunchProfile.start("-CompMapParse");
} catch (e) { e = null; }
}());
</script>
<script id="compMapData" type="text/plain" charset="utf-8" class="jsonData">
</script>
<script type="text/javascript" charset="utf-8">
(function CGLaunch_Step6() {
var e;
try {
parseLaunchJSON("compMapData", "Caught JS error evaluating gComponentMap", "Could not get component map data node")
} catch (e) { _exit('launchFailure', 'Setting up global component map failed -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
try {
gLaunchProfile.stop("-CompMapParse");
gLaunchProfile.start("-StringJsLoading");
} catch (e) { e = null; }
}());
kblueTheme=kThemes={theme:'blue',highlightedText:'#FFFFFF',link:'#255ED1',mainBackground:'#E9F2FA',hoverBackground:'#F2F9FF',folderIcons:'url(http://l.yimg.com/a/i/us/pim/dclient/cg1358_27/img/md5/300f0ab56ee3910df358cd9cf338cef3_1.png)',secondaryHighlightedText:'#3B5587',headline:'#223661',borderColor:'#99AABD',primaryText:'#000000',secondaryText:'#6B7D94',primarySelection:'#3E79B0',secondarySelection:'#D3E7F7'};
(function() {
var e;
try {
gLaunchProfile.start("-ThemeMapParse");
} catch (e) { e = null; }
}());
</script>
<script id="themeMapData" type="text/plain" charset="utf-8" class="jsonData">
</script>
<script type="text/javascript" charset="utf-8">
(function CGLaunch_Step8() {
var e;
try {
parseLaunchJSON("themeMapData", "Caught Error evaluating theme data", "Could not get theme data node");
} catch (e) { _exit('launchFailure', 'Setting up gDefaultTheme failed -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
try {
gLaunchProfile.start("-ThemeMapParse");
} catch (e) { e = null; }
}());
gRegLaunch=gRegLaunch.concat(['us','main','_bc_bc_2_0_4_js']);
gLaunchProfile.start("---us_main__bc_bc_2_0_4_js");</script>
<script type="text/javascript" charset="utf-8" src="http://mail.yimg.com/d/combo?/pim/r/dclient/cg1358_27/js/us/strings.js&/pim/r/dclient/cg1358_27/js/main/main.js&/bc/bc_2.0.4.js"></script>
<script language="JavaScript" charset="utf-8">gLaunchProfile.stop("---us_main__bc_bc_2_0_4_js");
BrowserHistoryManager._disabled = true;
(function() {
var e;
try {
gLaunchProfile.stop("-StringJsLoading");
gLaunchProfile.start("-IncludeStyle");
} catch (e) { e = null; }
}());
(function CGLaunch_Step9() {
var e, docCharSet;
try {
docCharset = (!document.charset) ? document.characterSet || null : document.charset || null;
if(docCharset && docCharset != "UTF-8" && docCharset != "utf-8") {
if(typeof document.charset == "undefined" ) {
document.characterSet = "UTF-8"; } else {
document.charset = "UTF-8"; }
_exit("reload");
}
} catch (e) { e = null; }
}());
(function CGLaunch_Step10() {
var e, serverTime;
try {
if(getCookie("Y") != unescape(ymsigy)) {
_exit("cookie");
return;
}
// Do not remove this check. This is to make sure that the GET parameters
// are properly encoded before calling CG. Removing this check could introduce
// a security issue.
if(getQS() != ymsigq) {
_exit("QS");
return;
}
serverTime = parseInt(getCookie("YM.stck")) || 0;
if (serverTime == 1251914827)
_exit("reload");
} catch (e) { _exit('launchFailure', 'Failed checking serverTime -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
}());
</script>
<script type="text/javascript">
function finishStart(evt)
{
BrowserHistoryManager._disabled = false;
BrowserHistoryManager.init('historyFrame');
}
function startUp(evt, mode)
{
var nMainJSTime = -1, failSafe_level, levelTime, foundBucket = false, e;
try {
nMainJSTime = parseInt(gLaunchProfile._getTimer("-StringJsLoading").total);
nMainJSTime = (isNaN(nMainJSTime) || nMainJSTime <= 0) ? -1 : nMainJSTime;
} catch (e) {
nMainJSTime = -1;
e = null;
}
try {
mode = parseInt(mode) || 0;
} catch (e) {
e = null;
mode = 0;
}
/* we used to do :
*
* evt = evt || window.event || null
*
* and we did this for IE.
* the problem is that every-once in a while, window.event would
* have something in it and so we'd get kicked out to the LaunchNeverFinished
* page even though its not the right event.
*
* attachEvent/addEventListener always send in the event object as the first param
* so we wait for that rather than doing a check
*
* see bug 2518750
* SS - 02-06-2009
*/
if (!evt) {
if (!mode) {
if (nMainJSTime <= 0) {
failSafe_level = failSafe_bucket["max"];
} else {
for (failSafe_level in failSafe_bucket)
{
levelTime = failSafe_bucket[failSafe_level];
if (nMainJSTime <= levelTime && nMainJSTime > 0) {
foundBucket = true;
break;
}
}
failSafe_level = (foundBucket) ? failSafe_level : "max";
}
failSafe_start(failSafe_level);
onPageLoad(0);
return;
} else {
//this get set up 1st, defaults to 30 secs
//if startup gets called from bottom of page, mode == 0, this timer is cleared
//and 2nd failsafe gets setup. for moz we will then call onPageLoad right away
//if there is no window.launch, we will do nothing waiting for timer or event to fire
//we always wait if there is no window.launch unless onPageLoad's evtType is set to 2
failSafe_start("level_5");
}
} else {
onPageLoad(1);
}
}
function onPageLoad(evtType)
{
var checkScreenRes, showYiesrvcDialog, e;
try {
window.removeEventListener("load", startUp, false);
window.addEventListener("load", finishStart, false);
} catch (e) { e = null; }
if (window.LAUNCH_DATA_ERR_HANDLER && LAUNCH_DATA_ERR_HANDLER.onerror()) {
// Bug 2375011: This doesn't need to be stat'd because both LAUNCH_DATA_ERR_HANDLER.onerror
// and _exit are stat'd.
return;
}
switch (evtType)
{
case 1: try { if (window["DebugNoMunge"]) DebugNoMunge.log("onPageLoad called via event"); } catch (e) { e = null; } break;
case 0: try { if (window["DebugNoMunge"]) DebugNoMunge.log("onPageLoad called right away b/c its not IE."); } catch (e) { e = null; } break;
case 2: try { if (window["DebugNoMunge"]) DebugNoMunge.log("onPageLoad called via failsafe timer"); } catch (e) { e = null; } break;
default: try { if (window["DebugNoMunge"]) DebugNoMunge.log("onPageLoad called in an UNKNOWN WAY!!!"); } catch (e) { e = null; } break;
}
if (!window.gExtContent) {
_exit("missingJS", "gExtContent does not exist in global scope, onLoad");
return;
}
checkScreenRes = true;
if (window.launch) {
failSafe_stop();
launch(checkScreenRes, false);
try { Dom.displayNone("loadStatusWrapper"); } catch (e) { e = null; }
} else {
if (evtType != 1 && evtType != 0)
_exit("launchFailure", "onLoad::__Launcher does not exist!!");
}
}
(function CGLaunch_Step11() {
var e;
try {
window.addEventListener("load", startUp, false);
startUp(null, 1); //we put one here in case script blocks are getting pulled
} catch (e) { _exit('launchFailure', 'Failed setting up onload listeners -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
}());
</script>
<script type="text/javascript">
(function CGLaunch_Step12() {
var e;
try {
LAUNCH_DATA_ERR_HANDLER.errCode = "";
// Bug 2375011: This is already stat'd. So, don't send any stats here.
LAUNCH_DATA_ERR_HANDLER.onerror();
} catch (e) { _exit('launchFailure', 'Failed checking for launch data errors -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
}());
</script>
<script id="kPartnerExtraData" type="text/plain" charset="utf-8" class="jsonData">
</script>
<script type="text/javascript">
(function CGLaunch_Step13() {
var e;
try {
parseLaunchJSON("kPartnerExtraData", "Could not evaluate 2ndary kPartner data", "Could not set kPartnerExtraData dom node data");
} catch (e) { _exit('launchFailure', 'Failed setting 2ndary kPartner params -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
}());
</script>
<script>var gWPNewsFeedsJSON=[{ "name":"topstories","interval":600,"dispName":"Top Stories"},{ "name":"world","interval":600,"dispName":"World"},{ "name":"entertainment","interval":600,"dispName":"Entertainment"},{ "name":"sports","interval":600,"dispName":"Sports"},{ "name":"local","interval":600,"dispName":"Local"}];</script>
<script>var gWelcomePageDefaultNewsFeedName="topstories";</script>
<script>var gWelcomePageDefaultNewsFeedJson={"moreLink":"http://news.yahoo.com/i/716", "feeds":[{"title":"Fire official: Big LA forest fire human caused (AP)","link":"http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20090902/ap_on_re_us/us_wildfires","desc":"
<a href=\"http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20090902/ap_on_re_us/us_wildfires\"><img src=\"http://d.yimg.com/a/p/ap/20090902/capt.9d27fff742d54eb99d8f5f378af7896b.aptopix_wildfires_cajh121.jpg?x=130&y=82&q=85&sig=OePicJPMoUoOnnwE0xsgUw--\" align=\"left\" height=\"82\" width=\"130\" alt=\"Firefighters watch a fire burn near homes during the Station Fire in La Crescenta, Calif., Tuesday, Sept. 1, 2009. (AP Photo/Jae C. Hong)\" border=\"0\" />AP - Firefighters made more progress Wednesday against a giant wildfire that has ravaged a national forest north of Los Angeles as investigators searched for information about how the fire started.
<br clear=\"all\"/>"},{"title":"Spy chief among 23 killed in Taliban suicide blast (AP)","link":"http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20090902/ap_on_re_as/as_afghanistan","desc":""},{"title":"Strong Indonesian quake kills 33; flattens houses (AP)","link":"http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20090902/ap_on_re_as/as_indonesia_earthquake","desc":""},{"title":"Lockerbie bomber taken to intensive care (AP)","link":"http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20090902/ap_on_re_af/af_libya_lockerbie","desc":""},{"title":"Freed reporters say they were dragged into NKorea (AP)","link":"http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20090902/ap_on_re_us/us_nkorea_journalists_freed","desc":""},{"title":"SEC IG: agency never did competent probe of Madoff (AP)","link":"http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20090902/ap_on_bi_ge/us_sec_madoff_scandal","desc":""}]};</script>
<script id="ulmData" type="text/plain" charset="utf-8" class="jsonData">
</script>
<script type="text/javascript">
(function CGLaunch_Step14() {
var e;
try {
parseLaunchJSON("ulmData", "Could not evaluate ulm data", "Could not set ulmData dom node data");
} catch (e) { _exit('launchFailure', 'Failed setting ulmData -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
}());
</script>
<script id="welcomeKPartnerData" type="text/plain" charset="utf-8" class="jsonData">
</script>
<script type="text/javascript">
(function CGLaunch_Step14a() {
var e;
try {
parseLaunchJSON("welcomeKPartnerData", "Could not evaluate welcomeKPartnerData data", "Could not set welcomeKPartnerData dom node data");
} catch (e) { _exit('launchFailure', 'Failed setting welcomeKPartnerData -->' + (window.getExceptionDetail) ? getExceptionDetail(e) : (e.message || e.description), e.stack || ''); }
}());
</script>
<script type="text/javascript">
(function() {
var e;
try {
if (window["rt_RemoveHandler"] && window["rt_LogTime"]){
rt_RemoveHandler("load");
rt_LogTime("t_rtpage", gLaunchStartTime || (new Date()).getTime(), false);
}
} catch (e) { e = null; }
}());
</script>
<style>
* { box-sizing: border-box; -moz-box-sizing: border-box; -khtml-box-sizing: border-box; -webkit-box-sizing: border-box; }
#pgb { width:750px; font-family:Arial, sans-serif; font-size:13px; margin-left:10px; margin-right:10px; text-align:left; }
#pgb .left { width:350px; margin-top:20px; margin-bottom:20px; padding-left:10px; padding-right:10px; float:left; }
#pgb .right { width:350px; margin-top:20px; margin-bottom:20px; padding-left:10px; padding-right:10px; border-left:1px solid #DCDAD4; float:right; }
#pgb table { font-family:Arial, sans-serif; font-size:13px; }
#pgb a { color:#0066CC; }
#pgb li { margin-top:0.5em; }
#pgb .compactList { margin:0px; padding-left:1em; }
#pgb .compactList li { margin:0px; }
#pgb .primaryHeading { font-size:18px; font-weight:bold; color:#5C59B2; }
#pgb .subHeading { font-size:16px; font-weight:bold; color:#5C59B2; }
#pgb .subHeading2 { font-size:14px; color:#5C59B2; }
#pgb .primaryBodyTextTitle { font-size:13px; font-weight:bold; color:#000000; }
#pgb .primaryBodyText { font-size:13px; font-weight:normal; color:#000000; }
#pgb .smallBodyText { font-family:Verdana; font-size:11px; color:#000000; }
#pgb .smallBodyText2 { font-family:Verdana; font-size:9px; color:#000000; }
#pgb .textLabel { font-size:10px; color:#5C59B2; cursor:default; -moz-user-select:none; -moz-user-focus:ignore; }
#pgb .pseudoLink { cursor:pointer; cursor:hand; color:#0065CC; text-decoration:underline; }
#pgb .bold { font-weight:bold; }
#pgb .footer { font-size: 10px; line-height: 14px; color: #6C6C6C; }
/* Yahoo! button css */
.cta-w{background:transparent no-repeat top left;width:240px;font:14px bold 90%/1.2em arial;color:#000;text-decoration:none;text-align:center;margin:0 auto 1em;cursor:hand;cursor:pointer;display:block;}
#pgb .cta-w { color:#000000; }
.cta-w:hover{cursor:hand;cursor:pointer;}
.cta-w strong{background:transparent no-repeat top right;right:-4px;position:relative;display:block;}
.cta-w strong strong{background:transparent no-repeat bottom left;top:5px;left:-4px;right:0;}
.cta-w strong strong strong{background:transparent no-repeat bottom right;padding:.2em 0 .5em;top:auto;right:-4px;left:auto;text-indent:-5px;}
.cta-w{background-image:url(http://mail.yimg.com/a/i/us/nt/bn/cta/yel_tl.gif);}
.cta-w strong{background-image:url(http://mail.yimg.com/a/i/us/nt/bn/cta/yel_tr.gif);}
.cta-w strong strong{background-image:url(http://mail.yimg.com/a/i/us/nt/bn/cta/yel_bl.gif);}
.cta-w strong strong strong{background-image:url(http://mail.yimg.com/a/i/us/nt/bn/cta/yel_br.gif);}
.cta-w:hover{color:#000;background-image:url(http://mail.yimg.com/a/i/us/nt/bn/cta/grn_tl.gif);}
.cta-w:link{color:#000;}
.cta-w:visited{color:#000;}
.cta-w:hover strong{background-image:url(http://mail.yimg.com/a/i/us/nt/bn/cta/grn_tr.gif);}
.cta-w:hover strong strong{background-image:url(http://mail.yimg.com/a/i/us/nt/bn/cta/grn_bl.gif);}
.cta-w:hover strong strong strong{background-image:url(http://mail.yimg.com/a/i/us/nt/bn/cta/grn_br.gif);}
</style>
<script type="text/javascript">
(function() {
var e;
try {
gLaunchProfile.stop("-IncludeStyle");
} catch (e) { e = null; }
}());
(function CGLaunchStep_BackCookie() {
var e, expTime
try {
expTime = new Date();
expTime.setTime(expTime.getTime() + 86400);
setCookie("YM.stck", "1251914827", expTime, "/dc/", "mail.yahoo.com");
} catch (e) { e = null; }
}());
(function() {
var e;
try {
gLaunchProfile.start("-RenderBody");
} catch (e) { e = null; }
}());
</script>
</head>
<body class="axsApplication">
<h1 class="offScreen">Yahoo! Mail</h1>
<nobr id="widthTester"></nobr>
<script type="text/xml" id="launchDataCache"></script>
<script language="JavaScript" type="text/javascript">
(function() {
var e;
try {
kPartner.prefetchedAds = true;
gLaunchProfile.start("--ads");
} catch (e) { e = null; }
}());
</script>
<h2 class="offScreen">Log in and Search Menus</h2>
<style>
#searchbox {
border:1px solid #BDCFD7;
padding:2px;
background-position:0px -1855px;
background-repeat:repeat-x;
-moz-border-radius:3px;
-webkit-border-radius:3px;
}
#searchbox * {
vertical-align:middle;
}
#searchbox .yahooBang {
display:inline;
margin:0px 5px;
padding:0px 8px;
width:16px;
height:14px;
background-position:-629px -3px;
background-repeat:no-repeat;
}
#webSrchInput {
height:19px;
font-size:10px;
width: 200px;
margin:0px 2px;
border: 1px solid #999999;
}
#searchbutton {
text-align:center;
background-position:-0px -1800px;
background-repeat:repeat-x;
border:1px solid #F4AC33;
height:21px;
font-size:10px;
font-weight:bold;
font-family:Tahoma,Helvetica,Arial,sans-serif;
width:100px;
padding-bottom:1px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
}
.searchboxbg {
background-image:url(http://l.yimg.com/a/i/us/pim/dclient/cg1358_22/img/md5/300f0ab56ee3910df358cd9cf338cef3_1.png);
}
.searchboxbg2 {
background-image:url(http://l.yimg.com/a/i/us/pim/dclient/cg1358_22/img/md5/19ae25290edf1cb048539f3d88073f9f_1.png);
}
</style>
<div class=betaLogo id=_test_betalogo onclick="_CD('about',event);">