bplist00_WebSubresources_WebMainResource_WebSubframeArchives@ $(,048<@DIMQUY]aeimquy}  _WebResourceResponse_WebResourceData^WebResourceURL_WebResourceMIMETypeO9bplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Thu, 03 Jan 2008 23:07:51 GMTZkeep-alive]max-age=40764_Tue, 05 Feb 2008 15:22:07 GMTT3617_Wed, 06 Feb 2008 02:41:31 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;Z_hsw} #1<JO^fkp}!/|!O=TBODY, TD, INPUT, P, .arial, .arialSeven, .arialTen, .arialWhiteThirteen, .arialFourteen, .arialWhiteThirteenBold, .arialResize, a.arialResize, .arialResizesm, .arialInner, .headSum, .briefs, .elevenpxArial, .moduleTitle, .moduleLink, .awtb, .BreakingNewsHeadline, .pb24, .BreakingNewsText, .pb14darkRed, .fcl, .fci, .hkl, .hki, .pb18 {font-family: Arial, Helvetica, Verdana, sans-serif;} BLOCKQUOTE, .times, .t, .art, .timesTen, .t10, .t12, .tb12, .tb13, .t14, .tb14, .t15, .t16, .tb16, .t18, .tb18, .tb19, .tb20, .tb22, .tb24, .timesTwelve, .timesBoldTwelve, .timesBoldThirteen, .timesFourteen, .timesBoldFourteen, .timesSixteen, .timesBoldSixteen, .timesBoldPumpkinSixteen, .timesBoldSixteenHigh, .timesEighteen, .boldEighteenTimes, .boldNineteenTimes, .boldTwentyTimes, .boldTimes22, .boldTwentyFourTimes, .article, .articleTitle, .articleHighLine, .newstxt, .articleBoldHighLine, .articleTitleHighLine, .timesEighteenHighLine, .aTime, .redTimesFourteen {font-family: times new roman, times, serif;} .georgia, .gb14, .g17, a.g17:link, a.g17:visited, a.g17:active {font-family: georgia, times new roman, times, serif;} .arialSeven {font-size: 7px;} .plnNine, .p9, .boldGreyNine, .greyNine, .lightGreyNine {font-size: 9px;} .plnTen, .p10, .t10, .b10, .timesTen, .arialTen, .boldTen, .greyTen, .greyTenLnk, .changePosTen, .changeNegTen, .lightGreyTen, .source, a.greyTenLnk:link, a.greyTenLnk:visited, a.greyTenLnk:hover, a.greyTenLnk:active, a.greyTen:link, a.greyTen:visited, a.greyTen:hover, a.greyTen:active, a.source:link, a.source:visited, a.source:hover, a.source:active {font-size: 10px;} .plnEleven, .p11, .pb11, .b11, .p11darkRed, .plnElevenComp, .plnElevenCompMore, .boldEleven, .boldGreyEleven, .changePos, .changeNeg, .noChange, .greyEleven, .lightGreyEleven, .salmonEleven, .elevenpxArial, .moduleLink, .pec, a.plnElevenUnderline, .aTime, .adli, a.blackBoldEleven:link, a.blackBoldEleven:visited, a.blackBoldEleven:hover, a.blackBoldEleven:active, a.pb11w:link, a.pb11w:hover, a.pb11w:active, a.pb11w:visited {font-size: 11px;} .plnTwelve, .p12, .pb12, .b12, .t12, .tb12, .timesTwelve, .timesBoldTwelve, .boldTwelve, .boldGreyTwelve, .boldRustTwelve, .greyTwelve, .rustTwelve, .boldDarkMaroon, .BreakingNewsText, a.greyTwelve:link, a.greyTwelve:visited, a.greyTwelve:hover, a.greyTwelve:active, a.blackBoldTwelve:link, a.blackBoldTwelve:visited, a.blackBoldTwelve:hover, a.blackBoldTwelve:active, .hKeepS, .hKeepL, a.hKeepL:hover, a.hKeepL:active, a.hKeepL:link, a.hKeepL:visited, .fcl, .fci, .hkl, .hki, .adll {font-size: 12px;} .plnThirteen, .p13, .b13, .tb13, .plnThirteenComp, boldThirteen, .timesBoldThirteen, .arialWhiteThirteen, .arialWhiteThirteenBold, .boldThirteen, .boldGreyThirteen, .boldLightGreyThirteen, .greyThirteen, .briefs, .awtb, .moduleTitle, a.boldThirteen:link, a.boldThirteen:visited, a.blackBoldThirteen:link, a.blackBoldThirteen:visited, a.blackBoldThirteen:hover, a.blackBoldThirteen:active {font-size: 13px;} .plnFourteen, .gb14, .p14, .b14, .t14, .tb14, .timesFourteen, .timesBoldFourteen, .boldFourteen, .BoldFourteen, .boldPumpkinFourteen, .BreakingNewsHeadline, .arialFourteen, .pb14darkRed {font-size: 14px;} .p15, .t15 {font-size: 15px;} .timesSixteen, .p16, .t16, .b16, .tb16, .timesBoldSixteen, .timesBoldSixteenHigh, .boldSixteen, .boldBlueSixteen, .boldRedSixteen, .boldPumpkinSixteen, .timesBoldPumpkinSixteen {font-size: 16px;} .g17, a.g17:link, a.g17:hover, a.g17:visited, a.g17:active {font-size: 17px;} a.g17:link, a.g17:visited, a.g17:active {color: #FF6600;} .timesEighteen, .t18, .tb18, .boldEighteenTimes, .timesEighteenHighLine, .pb18, .p18 {font-size: 18px;} .boldNineteenTimes, .tb19 {font-size: 19px;} .plnTwenty, .p20, .boldTwentyTimes, .tb20, .p20Padded {font-size: 20px;} .p21Padded {font-family: arial; font-size: 21px; color: #0253B7;} .p14Padded {font-family: arial; font-size: 14px; color: #0253B7;} .boldTimes22, .tb22, .b22, .p22 {font-size: 22px;} .boldTwentyThree, .b23 {font-size: 23px;} .boldTwentyFourTimes, .articleTitle, .articleTitleHighLine, .pb24, .tb24, .p24 {font-size: 24px;} .p28 {font-size: 28px;} .aTime {line-height: normal;} .articleTitleHighLine {line-height: 25px;} .p70, .arialResizesm, .pln70, .bold70, .grey70 {font-size: 70%;} .p75, .pln75, .bold75, .ArtFlashline {font-size: 75%;} .p80, .arialResize, a.arialResize, .pln80, .bold80 {font-size: 80%;} .p90, .pln90, .bold90 {font-size: 90%;} .p100, .pln100, .bold100 {font-size: 100%;} .pntsevenem {font-size: .7em;} .pntsevenfiveemBold, .pntsevenfiveem {font-size: .75em;} .aTime {font-style: italic;} .article, .art, .pln70, .bold70, .grey70, .pln75, .bold75, .pln80, .bold80, .pln90, .bold90, .pln100, .bold100, .p70, .p75, .p80, .p90, .p100 {font-style: normal;} .plnElevenComp, .pec {line-height: 12px;} .plnElevenCompMore {line-height: 13px;} .plnThirteenComp, .redFourteen {line-height: 14px;} .articleHighLine, .articleBoldHighLine {line-height: 22px;} .p20Padded {padding-bottom: 8px; line-height: 20px;} .p21Padded {padding-bottom: 8px; line-height: 21px;} .p14Padded {padding-top: 0px; padding-bottom: 8px; line-height: 14px;} .timesEighteenHighLine {line-height: 30px;} .timesBoldSixteenHigh {line-height: 52px;} .bold, .timesBoldTwelve, .timesBoldThirteen, .timesBoldFourteen, .pb24, .timesBoldSixteen, .timesBoldSixteenHigh, .arialWhiteThirteenBold, .boldTen, .boldEleven, .boldTwelve, .boldThirteen, .boldFourteen, .boldSixteen, .boldEighteenTimes, .boldNineteenTimes, .boldTwentyTimes, .boldTwentyThree, .boldTimes22, .boldTwentyFourTimes, .boldGreyNine, .boldGreyEleven, .boldGreyTwelve, .boldRustTwelve, .boldGreyThirteen, .boldLightGreyThirteen, .boldBlueSixteen, .boldRedSixteen, .boldPumpkinFourteen, .boldPumpkinSixteen, .boldDarkMaroon, .boldRed, a.arialResize, .headSum, .articleTitle, a.newstxt, .moduleTitle, .articleBoldHighLine, .pntsevenfiveemBold, .awtb, .BreakingNewsHeadline, .BreakingNewsText, .bold70, .bold75, .bold80, .bold90, .bold100, a.blackBoldTwelve:link, a.blackBoldTwelve:visited, a.blackBoldTwelve:hover, a.blackBoldTwelve:active, .otherJsites, a.blackBoldThirteen:link, a.blackBoldThirteen:visited, a.blackBoldThirteen:hover, a.blackBoldThirteen:active, .pb11, .pb12, .tb12, .tb13, .tb14, .tb16, .b10, .b11, .b12, .b13, .b14, .pb14darkRed, .b16, .tb18, .tb19, .tb20, .b23, .tb22, .tb24, .hKeepS, .hkl, a.blackBoldEleven:link, a.blackBoldEleven:visited, a.blackBoldEleven:hover, a.blackBoldEleven:active, a.pb11w:link, a.pb11w:hover, a.pb11w:active, a.pb11w:visited, .gb14, .pb18 {font-weight: bold;} .arialInner, .moduleLink {font-weight: normal;} .black, .moduleTitle, .elevenpxArial, .briefs, .BreakingNewsText, .noChange, .source, a.blackBoldTwelve:link, a.blackBoldTwelve:visited, a.blackLink:link, a.blackLink:visited, a.blackBoldThirteen:link, a.blackBoldThirteen:visited, a.source:link, a.source:visited, .fcl, .fci, a.blackBoldEleven:link, a.blackBoldEleven:visited, a.blackBoldEleven:hover, a.blackBoldEleven:active {color: #000;} A:visited {color: #066;} .headSum, .moduleLink {color: #06C;} .green, .changePos, .changePosNoSize, .changePosTen {color: #096;} A:link, a.unvisited:link, a.unvisited:visited, a.boldThirteen:link, a.boldThirteen:visited {color: #0253b7;} .boldBlueSixteen, .otherJsites {color: #369;} .boldDarkMaroon {color: #600;} .rustTwelve, .boldRustTwelve, .rust {color: #603;} .grey70, .greyNine, .greyTen, .greyEleven, .greyTwelve, .greyThirteen, .boldGreyThirteen, a.greyTwelve:link, a.greyTwelve:visited, a.greyTwelve:hover, a.greyTwelve:active, a.greyTenLnk:link, a.greyTenLnk:visited, a.greyTenLnk:active, a.greyTen:link, a.greyTen:visited, a.greyTen:hover, a.greyTen:active, .aTime {color: #666;} .boldRedSixteen, .redTimesFourteen, .BreakingNewsHeadline, .darkRed, .p11darkRed, .pb14darkRed {color: #900;} .boldRed, .red {color: #A00;} .lightGreyEleven, .lightGreyTen, .lightGreyNine, .boldGreyNine, .boldGreyEleven, .boldGreyTwelve, .boldLightGreyThirteen {color: #999;} .salmonEleven {color: #BE7878;} .changeNeg, .changeNegNoSize, .changeNegTen, .brightRed {color: #F00;} .pumpkin, .boldPumpkinFourteen, .boldPumpkinSixteen, .timesBoldPumpkinSixteen, A:hover, A:active, a.blackBoldTwelve:hover, a.blackBoldTwelve:active, a.blackLink:hover, a.blackLink:active, a.whiteLink:hover, a.whiteLink:active, a.boldThirteen:hover, a.blackBoldThirteen:hover, a.blackBoldThirteen:active, a.source:hover, a.source:active, a.greyTenLnk:hover, a.greyTenLnk:active, a.unvisited:hover, a.unvisited:active, a.pumpkinIndex:link, a.pumpkinIndex:active, a.pumpkinIndex:visited {color: #F93;} .darkPumpkin {color: #F63;} .white, .awtb, .arialWhiteThirteen, .arialWhiteThirteenBold, a.whiteLink:link, a.whiteLink:visited, .hKeepL, a.pb11w:link, a.pb11w:active, a.pb11w:visited, a.hKeepL:hover, a.hKeepL:active, a.hKeepL:link, a.hKeepL:visited, .hki, a.hki:hover, a.hki:active, a.hki:link, a.hki:visited {color: #FFF;} a.pb11w:hover {color: #FCF5D0} .hKeepS, .hkl {color: #D3D7A0;} A:link, A:visited, A:active, .headSum, .moduleLink, .moduleTitle, a.boldThirteen:link, a.boldThirteen:hover, a.boldThirteen:visited, a.greyTwelve:link, a.greyTwelve:visited, a.greyTwelve:hover, a.greyTwelve:active, a.greyTenLnk:link, a.greyTenLnk:visited, a.greyTenLnk:hover, a.greyTenLnk:active, a.greyTen:link, a.greyTen:visited, a.greyTen:hover, a.greyTen:active, a.blackBoldTwelve:link, a.blackBoldTwelve:visited, a.blackLink:link, a.blackLink:visited, a.whiteLink:link, a.whiteLink:visited, a.boldThirteen:link, a.boldThirteen:visited, a.blackBoldThirteen:link, a.blackBoldThirteen:visited, a.source:link, a.source:visited, a.unvisited:link, a.unvisited:visited, .aTime, a.blackBoldEleven:link, a.blackBoldEleven:visited, a.blackBoldEleven:hover, a.blackBoldEleven:active, a.pb11w:link, a.pb11w:hover, a.pb11w:active, a.pb11w:visited, a.g17:link, a.g17:active, a.g17:visited {text-decoration: none;} A:hover, a.plnElevenUnderline, a.plnTenUnderline, a.blackBoldTwelve:hover, a.blackBoldTwelve:active, a.blackLink:hover, a.blackLink:active, a.whiteLink:hover, a.whiteLink:active, a.blackBoldThirteen:hover, a.blackBoldThirteen:active, a.source:hover, a.source:active, a.unvisited:hover, a.unvisited:active, a.g17:hover, a.g17:active {text-decoration: underline;} .fc, .fci, .adli {background: #eee;} .fcl, .adll {background: #C9D9E9;} .fc, .fcl, .fci, .hkl, .hki, .hk, .adl, .adll {margin: 0;} .fc, .hk, .adl {padding: 0;} .fcl, .fci {padding: 1px 0px 1px 7px;} .hki, .hkl {padding: 0px 0px 1px 7px;} .adll {padding: 1px 0px 1px 0px;} .adli {padding: 1px 1px 1px 6px;} .adli {margin: 4px 0px 0px 1px;} .hk {width: 131px;} .adl {width: 130px;} .fci {border-top:1px solid #fff;} .fcl {border-top:20px solid #fff;} .adli {border:1px solid #ccc;} .hki, .hkl {border-top:1px solid #AEBCD0;} .hkl {background: #5E81AB;} .hki {background: #7D9BC0;} .adll {text-align: center;} .bb1ccc {border-bottom:1px solid #ccc;} .bb19cc {border-bottom:1px solid #9cc;} .g17 {background: #fff;} .clearer {clear:both;height:1px;overflow:hidden;} .hidden{display:none;} .rolloverSummary {position:absolute;display:block;border:1px solid #f17000;background: #e1eaf3;width:304px;padding:10px 10px 10px 10px;} .decoClearer:after {content: ".";display: block;height: 0px;clear: both;visibility: hidden;} .decoClearer {display: inline-block;} /* Hides from IE-mac \*/ * html .decoClearer {height: 1px;} .decoClearer {display: block;} /* End hide from IE-mac */ form {padding:0px;margin:0px;} /* new styles for images */ .medcpthed {font-family: Arial, Helvetica, sans-serif;font-size:11px;color:#999;text-align:center;padding-top:0px;line-height:12px} .medcptcrd {font-family: Arial, Helvetica, sans-serif;font-size:11px;color:#990000;padding:1px 0px 0px 0px;} .medcptnocrd {font-family: Arial, Helvetica, sans-serif;font-size:11px;color:#990000;padding:4px 0px 5px 0px;} .medcrd {font-family: Arial, Helvetica, sans-serif;font-size:9px;color:#999;text-align:right;padding:0px;} .imglftins {padding:0px;margin-right:7px;margin-top:4px;} img.imglftins {margin-right: 10px;} .imglftbdy {padding:0px;margin-right:12px} img.imglftbdy {margin-right: 15px;} .imglftsum {padding:0px;margin-right:6px;margin-top:3px;} img.imglftsum {margin-right: 9px;} .imgrgtins {padding:0px;margin-left:7px;margin-top:4px;} img.imgrgtins {margin-left: 10px;} .imgrgtbdy {padding:0px;margin-left:12px;} img.imgrgtbdy {margin-left:15px;} .imgrgtsum {padding:0px;margin-left:6px;margin-top:3px;} img.imgrgtsum {margin-left: 9px;} .imgnonins {padding:0px;margin:4px 0px 4px 0px;} .imgnonbdy {padding:0px;margin:4px 3px 4px 0px;} .imgnonsum {padding:0px;margin:3px 3px 0px 0px;} .imglfthed {padding:5px;margin-right:12px;margin-top:3px;border:1px solid #999;} .imgrgthed {padding:5px;margin-left:12px;margin-top:3px;border:1px solid #999;} .imgnonhed {padding:5px;margin:4px 3px 4px 0px;border:1px solid #999;} .imgitboxLEFT {padding-right:3px;} .imgitboxNONE {padding:0px;} .imgitboxRIGHT {padding-left:3px;} .wnlistitem { padding:0 0 2px 9px; } #MEDPAGEOLDA {font-size: 9px; font-weight: bold; color: #999; text-align: center; padding-bottom: 2px;} #MEDPAGEOLDB {width: 100%; padding: 0px; margin: 0px; background-position: 0% 0%; border-style: none; background-image: url(/public/resources/images/MedPageTopOld_B05242005163330.gif); background-repeat: repeat-x; } #MEDPAGEOLDC {width: 100%; margin-bottom: 0px; margin-left: 3px; margin-right: 0px; margin-top: 0px; padding-top: 3px; padding-bottom: 2px; padding-left: 3px; background: #DBE9F4;} #MEDPAGEOLDD {width: 100%; padding: 0px; margin: 0px; background-position: 0% 0%; border-style: none; background-image: url(/public/resources/images/MedPageBottomOld_B05242005163330.gif); background-repeat: repeat-x; padding-bottom: 3px; } .row1t{color:#666666;padding-top:0px;padding-bottom:8px;} .row1d{padding-bottom:20px;} .changeP{color:#008000;} .changeN{color:#FF0000;} /* Round corner border*/ .rctop, .rcbottom {display:block; background:transparent; font-size:1px;} .rcb1, .rcb2, .rcb3, .rcb4 {display:block; overflow:hidden;} .rcb1, .rcb2, .rcb3 {height:1px;} .rcb2, .rcb3, .rcb4 {border-left:1px solid #08c; border-right:1px solid #08c;} .rcb1 {margin:0 5px; background:#08c;} .rcb2 {margin:0 3px; border-width:0 2px;} .rcb3 {margin:0 2px;} .rcb4 {height:2px; margin:0 1px;} .rcboxcontent {display:block;border:0 solid #08c; border-width:0 1px;padding:13px 20px 15px 20px;} /* used in left nav */ .submenu_showurl {padding:1px 0px 2px 7px;background-color:#EFEFEF;border-bottom:1px solid #fff;margin:0px;color:#000;} .submenu_noShowurl {padding:1px 0px 2px 7px;background-color:#EFEFEF;border-bottom:1px solid #fff;margin:0px;color: #F93;} .menu_selected {padding:0px;border-bottom:1px solid #efefef;background-color:#369;margin:0px;color:#f00;} .menu_noSelected {padding:0px;border-bottom:1px solid #efefef;background-color:#369;margin:0px;color:#0253B7;} .nobr { white-space:nowrap; } /* used in SponseredLinks */ .adWrapper{ padding: 0px; over-flow: hidden;border: 1px solid #58A5E0;} .adTitleBox{ font-family: Arial, sans-serif; font-size: 11px; font-weight:bold; padding:4px 0px 4px 4px;border-bottom: 1px solid #58A5E0; text-align:left;} .adExplanation{ font-family: Arial, sans-serif; font-size: 10px; font-style: normal; text-decoration:none; vertical-align:middle;} .adDefTitleWrapper {background-color: #EFEFEF;} .adTitleWrapper{ color: #FFF; background-image: url('/img/adLinksHeaderPixSlice.gif');background-repeat: repeat-x;} .adTitleWrapper a.adExplanation, .adTitleWrapper a.adExplanation:hover, .adTitleWrapper a.adExplanation:visited { color:#FFF; } .adNarrowTitleStyle{ background-color: #EFEFEF; } _http://s.wsj.net/j20type.cssXtext/css Obplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse3 )/078?TiZNS.objectsWNS.keys@ABCDEFGHIJKLMNOPQRS !"#$%&'()*+,-./UVWXYZ[\]^_`abcdefgh 0]Cache-ControlVCookieSP3p_X-Debug-Box-Ident^Content-Length\X-Wsjacl-EnvWExpiresZKeep-Alive_X-Debug-NamespaceVAcceptZConnectionZUser-Agent\Content-TypeTHostVServer_Accept-Encoding_Accept-Language_X-Debug-Request_X-Debug-Module-VersionTDateZmax-age=15_LUBID=FriDec15165107EST200601257612803; rsi_ct=2008_2_5:1; rsi_segs=; RSISEG=_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC\sbkj2kwebp07T3135Tprod_Tue, 05 Feb 2008 19:41:53 GMT_timeout=2, max=32[content-wsjS*/*_keep-alive, Keep-Alive_uMozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/523.12.2 (KHTML, like Gecko) Version/3.0.4 Safari/523.12.2^online.wsj.com_IBM_HTTP_Server]gzip, deflateRen_"/wsj_nav_array/2008_02_04_06_00.js_DJCS mod_mon 0.7.0.0.2.1_Tue, 05 Feb 2008 19:41:38 GMT126_NSMutableDictionary\NSDictionary126_NSHTTPURLResponseInternal126_NSHTTPURLResponse]NSURLResponse$)2DILbd(*19EGIK   "$&(?ACEGIKMOQSUWY[]_acegiw~!3E^cn4AFKk /AORw -O ? var SectionArray=new Array("OtherJrnlSite","News","Technology","Markets","PersonalJournal","Opinion","Leisure"); var NewsArray=new Array("News Main|/redirect/us.html?mod=1_0001","U.S. Business|/news/us_business?mod=2_0002","Europe|/redirect/europe.html?mod=0_0003","Asia|/redirect/asia.html?mod=0_0004","World News|/news/world_news?mod=2_0006","Economy|/redirect/economy.html?mod=2_0007","Politics & Policy|/page/politics_policy.html?mod=2_0008","Campaign 2008|/public/page/election2008.html?mod=2_1309","Earnings|/news/earnings?mod=2_0009","Health|/health?mod=0_0005","Law|/law?mod=2_0079","Media & Marketing|/media?mod=0_0006","News by Industry|/news/industry?mod=2_0010","Columnists|/page/columnists.html?mod=2_0140"); var TechnologyArray=new Array("Technology Main|/redirect/technology.html?mod=1_0013","Tech Stocks|/page/tech_stocks.html?mod=2_0024","Gadgets|/page/gadgets.html?mod=2_0062","Telecommunications|/technology/telecommunications?mod=2_0018","E-Commerce/Media|/technology/e_commerce?mod=2_0014","Asia Technology|/page/asia_tech.html?mod=2_0016","Europe Technology|/technology/europe?mod=2_0017","Technology Columns|/technology/columns?mod=2_0020"); var MarketsArray=new Array("Markets Main|/redirect/markets.html?mod=1_0021","Today\'s Markets|/page/todays_market.html?mod=2_0064","Markets Data Center|/marketsdata?mod=2_3000","Market Movers|/page/market_movers.html?mod=2_0022","Heard on the Street|/articles/heard_on_the_street?mod=2_0033","Commodities|/page/commodities.html?mod=2_0030","Credit Markets|/page/credit_markets.html?mod=2_0031","Foreign Exchange|/page/foreign_exchange.html?mod=2_0032","Deals & Deal Makers|/public/page/deals.html?mod=2_0029","Hedge Funds|/page/hedge_funds.html?mod=2_1154","Tech Stocks|/page/tech_stocks.html?mod=2_0024","Asia Markets|/page/asia_markets.html?mod=2_0027","Europe Markets|/page/europe_markets.html?mod=2_0026","Americas Markets|/page/americas_markets.html?mod=2_0028"); var PersonalJournalArray=new Array("PJ Main|/personaljournal?mod=1_0028","Personal Finance|/redirect/personalfinance.html?mod=2_0034","Fashion & Style|2_1356","Health|/health?mod=2_0170","Autos Main|/public/page/autos_main.html?mod=1_0116","Homes|/personal_journal/homes?mod=2_0056","Travel|/personal_journal/travel?mod=2_0058","Careers|/personal_journal/careers?mod=2_0038","Gadgets|/page/gadgets.html?mod=2_0062","Tools|/personal_journal/tools?mod=2_0036","PJ Columns|/personal_journal/columns?mod=2_0044"); var OpinionArray=new Array("Opinion Main|/redirect/opinion.html?mod=1_0045","Forums|/opinion/discussions?mod=2_0049","Letters|/public/page/letters.html?mod=2_0048","Columnists|/public/page/opinion_columns.html?mod=2_0050"); var LeisureArray=new Array("Main Page|/redirect/leisure.html?mod=1_0051","Weekend Journal|/public/page/at_leisure_weekend_journal.html?mod=2_0327","Food & Drink|2_1354","Fashion & Style|2_1356","Arts & Entertainment|2_1168","Books|/page/books.html?mod=2_1167","Travel|/personal_journal/travel?mod=2_0058","Autos Main|/public/page/autos_main.html?mod=1_0116","Sports|/at_leisure/sports?mod=2_0057"); _7http://online.wsj.com/wsj_nav_array/2008_02_04_06_00.jsYtext/html OMbplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Fri, 01 Feb 2008 23:38:14 GMTZkeep-alive]max-age=19318_Tue, 05 Feb 2008 15:22:07 GMTT2711_Tue, 05 Feb 2008 20:44:05 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;\ajuy   $7EP^crz#5C '|5OS//Copyright 2002 WSJ.com, All Rights Reserved //Writen by Mohammad Tahir Khan //Vars var OPERA=(navigator.userAgent.toLowerCase().indexOf('opera') != -1)?true:false; var OJH,IE,NS6,Cnctn="",OverBar=false,OverNav=false,NavOpen=false,Ctbl="",EvalS,PgID,PgName,ES,Mheight,WinH=0,sT,Stl='style="color: #000; font: normal 12px arial,sans-serif;',DW,OM,actvMenu,crntMenu,OpnWhat,Scrolling,SubUrl,Yscroll=false,TrckName,NavC='EFEFEF',W=window,D=document,DB="document.documentElement",lctn=W.D.location+"",HP=' height="20" valign="middle">  ' var OtherJrnlSiteArray=new Array("MarketWatch|http://www.marketwatch.com/news/default.asp?siteid=wsj&dist=freedjsiteslink","Barrons.com|http://online.barrons.com/public/main","CareerJournal|http://careerjournal.com/","OpinionJournal|http://opinionjournal.com/","RealEstateJournal|http://realestatejournal.com/","CollegeJournal|http://collegejournal.com/","AllThingsDigital|http://ptech.wsj.com/","Dow Jones News
Alerts
|http://www.dowjones.com/alerts","MORE|/public/other_wsj_sites") if((typeof window.staticDomain)=='undefined'||staticDomain==null){var staticDomain='http://s.wsj.net';} //Detect Browsers IE=(navigator.appName.substring(0,9)=="Microsoft")?true:false;NS6=(navigator.userAgent.indexOf("Netscape6")>0)?true:false;NS7=(navigator.userAgent.indexOf("Netscape/7.0")>0)?true:false;Mozilla=(navigator.userAgent.indexOf("Gecko")>0)?true:false;Cnctn=nSP;//if(lctn.substring(4,5)=="s"){;Cnctn="http://"+lctn.split("/")[2];} if(IE){;if(navigator.appVersion.indexOf("6.0")==-1 || document.compatMode=="BackCompat"){;DB="D.body";}} //Detect Scroll if(navigator.userAgent.indexOf("Mac")>0){;Yscroll=(IE!=true)?0:-3;}else{;ES=(IE==true)?"W.scrollTo(1,"+DB+".scrollTop);Scrolling="+DB+".scrollLeft;W.scrollTo(0,"+DB+".scrollTop);Yscroll=(Scrolling==0)?0:17":"W.scrollTo(1,pageYOffset);Scrolling=pageXOffset;W.scrollTo(0,pageYOffset);Yscroll=(Scrolling==0)?0:16";} //Functions function HideNav(){EvalS=(IE==true)?'ndiv.style.visibility="hidden"':'D.nlayer.visibility="hide"';if(NS6==true||NS7==true||Mozilla==true){EvalS="D.getElementById('ndiv').style.visibility=\"hidden\"";}eval(EvalS);NavOpen=false;if(crntMenu && crntMenu!="OtherJrnlSite"){eval("D."+crntMenu+"IMG.src="+crntMenu+"_normal_img.src");}crntMenu="";} function DelayHide(){;if(OverBar==false&&OverNav==false&&NavOpen==true){;HideNav();};setTimeout("DelayHide()",500);} function OpenMenu(CarriedVal){;OpnWhat=CarriedVal+"";setTimeout("ShowSubmenu('"+CarriedVal+"')", 1*167);} function OpenMenuNew(CarriedVal){;OpnWhat=CarriedVal+"";setTimeout("ShowSubMenu('"+CarriedVal+"','#8E99B6','#8E99B6','#F8F9EF','p11')", 1*167);} function ShowSubmenu(CarriedVal){;ShowSubMenu(CarriedVal,"#000000","#FFFFFF","#"+NavC,"p12");} function ShowSubMenu(CarriedVal,border,sperator,bgcolor,fclass){ actvMenu=CarriedVal+"";if(actvMenu!=crntMenu&&OverBar==true&&actvMenu==OpnWhat){;if(Yscroll==false){eval(ES)};HideNav();if(actvMenu!="OtherJrnlSite"){;eval("D."+CarriedVal+"IMG.src="+CarriedVal+"_over_img.src");};eval("ImageName='"+CarriedVal+"IMG'");eval("WhichArray='"+CarriedVal+"Array'");tmpHTML='';tmpHTML+='
';var LST=new Array();eval("LST="+WhichArray);for(i=0;i'+PgName+'';tmpHTML+=(i!=(LST.length-1))?(''):('');};tmpHTML+=Ctbl+''+Ctbl+''+Ctbl+Ctbl if(NS6==true||NS7==true||Mozilla==true){ OJH=(actvMenu!="OtherJrnlSite")?4:11;WinH=W.innerHeight;D.getElementById('ndiv').innerHTML=tmpHTML D.getElementById('ndiv').style.left=(eval("D."+ImageName+".x")+eval("D."+ImageName+".width")-4)+"px";eval("yPos=D."+ImageName+".y") Mheight=((LST.length*21)+1+Yscroll);D.getElementById('ndiv').style.top=(((yPos-pageYOffset)+Mheight0)?D.body.clientHeight:D.body.offsetHeight;eval("xPos="+ImageName+".offsetLeft");eval("tempEl="+ImageName+".offsetParent") while(tempEl!=null){;xPos+=tempEl.offsetLeft;tempEl=tempEl.offsetParent;};eval("yPos="+ImageName+".offsetTop");eval("tempEl="+ImageName+".offsetParent") while(tempEl!=null){;yPos+=tempEl.offsetTop;tempEl=tempEl.offsetParent;};eval("ndiv.style.left=((xPos)+(D."+ImageName+".width))-4") Mheight=((LST.length*21)+5+Yscroll);sT=D.body.scrollTop;ndiv.style.top=((yPos-sT)+Mheight0)?eval(DB+".clientHeight"):eval(DB+".offsetHeight");eval("xPos="+ImageName+".offsetLeft");eval("tempEl="+ImageName+".offsetParent") while(tempEl!=null){;xPos+=tempEl.offsetLeft;tempEl=tempEl.offsetParent;};eval("yPos="+ImageName+".offsetTop");eval("tempEl="+ImageName+".offsetParent") while(tempEl!=null){;yPos+=tempEl.offsetTop;tempEl=tempEl.offsetParent;};eval("ndiv.style.left=((xPos)+(D."+ImageName+".width))-4") Mheight=((LST.length*21)+5+Yscroll);sT=eval(DB+".scrollTop");ndiv.style.top=((yPos-sT)+Mheight':'';D.write(DW);DelayHide() _http://s.wsj.net/navigation.js_application/x-javascript  Obplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse) )/078<`abcdefghijklmnopqrstuvwxyj7z{|U$null  !"#$%&'(R$6S$10R$2S$13R$7R$3S$11R$8R$4S$14R$9R$0V$classR$5S$12R$1#Am)K'#Am(Ui(#AUi*+!-.WNS.base[NS.relative_*http://online.wsj.com/css/autocomplete.css1234X$classesZ$classname456UNSURLV%NSURLXNSObjectXtext/css9:;'=>?O_ZNS.objectsWNS.keys@ABCDEFGHIJKLMN !"#$%PQRSTUVWXYZ[\]^ &VServer]Last-Modified]Accept-Ranges_X-Debug-NamespaceTDate_X-Debug-Module-Version_X-Debug-Request^Content-Length]Cache-ControlWExpiresZKeep-AliveZConnection\Content-TypeSP3p_X-Debug-Box-IdentVApache_Tue, 29 Jan 2008 21:53:18 GMTUbytesYinert-wsj_Tue, 05 Feb 2008 15:22:10 GMT_DJCS mod_mon 0.7.0.0.2.1_/css/autocomplete.cssT6656]max-age=43200_Wed, 06 Feb 2008 03:22:10 GMT_timeout=2, max=49_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC]sbkj2kiwebp0312}~~6_NSMutableDictionary\NSDictionary126_NSHTTPURLResponseInternal126_NSHTTPURLResponse]NSURLResponse$)2DILbd  '/;=?Ans|!#%')+-/13:HVjo!'1QlBPUYo|O.searchQuoteSection div { /*border: 1px solid green;*/ } .searchHeader { font-family: Arial; font-weight: bold; font-size: 12px; color: #000000; margin-bottom: 2px; } .quoteSearchLinks { margin-top: 0px; padding-top: 0px; } .quoteSearchLinks a { font-family: Arial; font-size: 10px; color: #0253b7; font-weight:normal; text-decoration:none; } .searchQuoteSection { font-family:Arial,Helvetica,sans-serif; font-size: 12px; margin-bottom: 0px; padding-bottom: 0px; } .symbolCompleteContainer { float:left; text-align:left; } #symbolCompleteResults, #symbolCompleteResultsPublic { z-index:1000000; } .freesymbolCompleteResults { margin-left: -212px; } #symbolCompleteResults ul, #symbolCompleteResultsPublic ul { margin:0; margin-right:0px; padding:0; width:100%; list-style:none; } #symbolCompleteResults li, #symbolCompleteResultsPublic li { padding:0 5px; margin-right:0px; cursor:default; white-space:nowrap; color:#000000; overflow:hidden; } #symbolCompleteResults li.yui-ac-highlight, #symbolCompleteResultsPublic li.yui-ac-highlight { background: #336699; color:#FFFFFF; } #symbolCompleteResults .yui-ac-content, #symbolCompleteResultsPublic .yui-ac-content { z-index:100002; position:absolute; border: 1px solid #dddddd; margin:0; padding:0; width:450px; background:#FFFFFF; background-image: url(/images/sc-bkg.gif); background-repeat:repeat-x; background-position:bottom; font: normal 12px arial; } #symbolCompleteResults .yui-ac-hd, #symbolCompleteResultsPublic .yui-ac-hd { color:#a7a7a7; font: normal 12px arial; padding-left:3px; margin-right:0px; border-bottom: 1px solid #a7a7a7; padding-bottom: 3px; text-align:left; } #symbolCompleteResults .yui-ac-hd-sub, #symbolCompleteResultsPublic .yui-ac-hd-sub { color:#a7a7a7; font: normal 12px arial; margin-right:0px; text-align:left; } #symbolCompleteResults .subHeading, #symbolCompleteResultsPublic .subHeading { border-bottom: 1px solid #a7a7a7; padding-left:3px; } #symbolCompleteResults .showAllLink, #symbolCompleteResultsPublic .showAllLink { padding-left:3px; } #symbolCompleteResults .showAllLink a:link, #symbolCompleteResultsPublic .showAllLink a:link,#symbolCompleteResults .showAllLink a:visited, #symbolCompleteResultsPublic .showAllLink a:visited { text-decoration:none; color:#0253b7; } #symbolCompleteResults .showAllLink a:hover, #symbolCompleteResultsPublic .showAllLink a:hover, #symbolCompleteResults .showAllLink a:visited:hover, #symbolCompleteResultsPublic .showAllLink a:visited:hover { color: #f26522; text-decoration:underline; } #symbolCompleteResults .yui-ac-ft, #symbolCompleteResultsPublic .yui-ac-ft { color:#a7a7a7; font: normal 12px arial; padding-left:3px; margin-right:0px; border-top: 1px solid #a7a7a7; text-align:left; } #symbolCompleteResults .yui-ac-bd, #symbolCompleteResultsPublic .yui-ac-bd { text-align:left; margin-right:0px; } #symbolCompleteResults .scResultTable, #symbolCompleteResultsPublic .scResultTable { padding:0; margin:0; font: normal 12px arial; } #symbolCompleteResults .scResultTable .symbolCompleteCol1, #symbolCompleteResultsPublic .scResultTable .symbolCompleteCol1 { width:80px; vertical-align:text-top; } #symbolCompleteResults .scResultTable .symbolCompleteCol2, #symbolCompleteResultsPublic .scResultTable .symbolCompleteCol2 { width:280px; text-transform:capitalize; vertical-align:text-top; } #symbolCompleteResults .scResultTable .symbolCompleteCol3, #symbolCompleteResultsPublic .scResultTable .symbolCompleteCol3 { width:90px; text-align:right; vertical-align:text-top; font-family: Arial; font-weight: normal; font-size: 11px; } .keywordResult { width: 400px; overflow:hidden; } #symbolCompleteResults .text, #symbolCompleteResultsPublic .text { font:normal 12px arial; } #symbolCompleteResults table, #symbolCompleteResultsPublic table { border-collapse:collapse; border-spacing:0; } #symbolCompleteResults .scResultTable *, #symbolCompleteResultsPublic .scResultTable * { padding: 0px; margin: 0px; } #symbolCompleteResults .scResultTerm, #symbolCompleteResultsPublic .scResultTerm { vertical-align:baseline; margin-right:0px; padding:0px; font-weight: bold; } .symbolCompleteContainer input, .symbolCompleteContainerPublic input { border:1px solid #999999; font-family: Arial; font-weight: normal; font-size: 11px; padding: 3px; width: 226px; } .symbolCompleteContainer input.unUsed, .symbolCompleteContainerPublic input.unUsed { color: #999999; } .searchQuoteSection .largebutton { cursor: pointer; margin:2px 0px 0px 0px; padding:0px 0px 0px 6px; float:left; } .searchQuoteSection .leftcapoff { width: 8px; height: 18px; float: left; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=crop src='http://s.wsj.net/images/btn_standard_left2.png'); background-image: none; } .searchQuoteSection .leftcapoff[class] { background: url(http://s.wsj.net/images/btn_standard_left2.png) left no-repeat; } .searchQuoteSection .buttonoff { height: 18px; float: left; background: url(http://s.wsj.net/images/btn_standard_bkg.png) repeat-x; /*background-position: bottom;*/ text-align:left; } .searchQuoteSection .buttonoff p, .searchQuoteSection .buttonon p { margin: 0px; padding: 0px; color: #333; font-weight: bold; white-space: nowrap; padding-top: 2px; } .searchQuoteSection .buttonoff p a:link, .searchQuoteSection .buttonon p a:link, .searchQuoteSection .buttonoff p a:visited, .searchQuoteSection .buttonon p a:visited { color: #000; text-decoration: none; } .searchQuoteSection .buttonoff p a:hover, .searchQuoteSection .buttonon p a:hover, .searchQuoteSection .buttonoff p a:visited:hover, .searchQuoteSection .buttonon p a:visited:hover { color: #f26522; text-decoration: none; } .searchQuoteSection .rightcapoff { width: 8px; height: 18px; float: left; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=image src='http://s.wsj.net/images/btn_standard_right_small2.png'); background-image: none; } .searchQuoteSection .rightcapoff[class] { background: url(http://s.wsj.net/images/btn_standard_right2.png) right no-repeat; } .searchQuoteSection .rightcapoff { background-position: right; background-repeat: no-repeat; } _*http://online.wsj.com/css/autocomplete.css  Obplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse' )/078<^_`abcdefghijklmnopqrstuv7wxy}U$null  !"#$%&'(R$6S$10R$2S$13R$7R$3S$11R$8R$4S$14R$9R$0V$classR$5S$12R$1#Am6'W#Am6^&#A^*+!-.WNS.base[NS.relative_?N]ZNS.objectsWNS.keys@ABCDEFGHIJKLM !"#OPQRSTUVWXYZ[\ $VServer]Cache-Control_X-Debug-NamespaceTDate_X-Debug-Module-Version_X-Debug-Request^Content-LengthYX-Machine_X-Aspnet-Version\X-Powered-ByWExpires\Content-TypeSP3p_X-Debug-Box-Ident_Microsoft-IIS/6.0_private, max-age=43200[content-wsj_Tue, 05 Feb 2008 15:22:17 GMT_DJCS mod_mon 0.7.0.0.2.1_'/sphere/widgets/sphereit/css?siteid=wsjU10071[SB-WIDGET02Y2.0.50727WASP.NET_Wed, 06 Feb 2008 03:22:17 GMT_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC\sbkj2kwebp0312z{{|6_NSMutableDictionary\NSDictionary12~6_NSHTTPURLResponseInternal126_NSHTTPURLResponse]NSURLResponse$)2DILbd%-9;=?~  !#%')+-/13579@Nbg %1QlQ^cg}O'W/* -- BEGIN SPHERE CSS -- */ #sph3reiframe { display:none; visibility:hidden; width:1px; height:1px; position:absolute; left:-1000px; } #sphreiframe { border:1px solid red; width:100px; height:100px; } #sphere_widget {z-index:9999; visibility:hidden; *left: expression( (ignoreMe = (document.documentElement.clientWidth || document.body.clientWidth)/2 - document.getElementById('sphere_widget').clientWidth/2 ) + 'px' ); *top: expression( (ignoreMe = (document.documentElement.scrollTop || document.body.scrollTop) + (document.documentElement.clientHeight || document.body.clientHeight)/2 - document.getElementById('sphere_widget').clientHeight/2 + 'px' ));*overflow:hidden; } #sphereiframeblock { position:absolute; z-index:-1; width:463px; border:0px solid RED; margin: 13px; height:0px; display:none;} .widgetWrapper { z-index:9999; width: 490px; _width: 489px; font-family: Arial, Helvetica, san-serif; text-align: left; } .widgetWrapper img {border: 0; } .widgetWrapper * { border:0; text-indent: 0; margin: 0; padding: 0; height:auto; text-transform:none; text-align:left; line-height:normal; } .widgetWrapper a, .widgetWrapper span, .widgetWrapper li, .widgetWrapper h2, .widgetWrapper h1 {background:none;} .widgetWrapper a:hover { border:0; } #widget { width: 470px; background: url(http://www.sphere.com/widgets/sphereit/images/Spherecom_Mid.png) center repeat-y; padding:0 10px; } .roundTop { background: url(http://www.sphere.com/widgets/sphereit/images/Spherecom_Top.png) center bottom no-repeat; height: 17px; } #roundBot { background: url(http://www.sphere.com/widgets/sphereit/images/Spherecom_Bot.png) center top no-repeat; height: 17px; margin-top: -0px; } .headerBar { background: #105f8b url(http://www.sphere.com/widgets/sphereit/images/Spherecom_Header_bg.png) repeat-x; padding-bottom: 3px; border-bottom: 1px solid #999; position:relative; _overflow: hidden; _width: 470px; } .headerBar h1 { position:static; display:block; margin-left:10px; text-align:left; font-size: 19px; letter-spacing: 0em; font-weight: bold; color: #FFF; padding: 6px 0; float: none; background:none; height:auto; } .headerBar .spherelink { display:block; visibility:visible; float: right; margin: -1px 40px 0px 0; _margin-right: 20px; line-height: 11px; color: #FFF; font-size: 10px; } .headerBar #SphereLogo { display:block; visibility:visible; background: url(http://www.sphere.com/widgets/sphereit/images/Generic_Logo_alpha_.png); width: 71px; height:20px; z-index:5; cursor:pointer; } .headerBar .closeBtnSm { background: url(http://www.sphere.com/widgets/sphereit/images/Generic_Btn.png) no-repeat; position: absolute; top: 1px; right: 9px; _right: 10px; height: 11px; width: 11px; font-size:1px; cursor: pointer; } .headerBar .closeBtn { background: url(http://www.sphere.com/widgets/sphereit/images/Generic_Btn_Lg_alpha_.png) no-repeat; position: absolute; top: 1px; right: 9px; _right: 10px; height: 13px; width: 13px; font-size:1px; cursor: pointer; } .contentArea {display:none; height:0px; overflow:hidden;*overflow:visible;} .loadingArea { text-align: center; font-size: 13px; font-weight: bold; color: #666; padding: 10px; } .loadingArea img { vertical-align:baseline; margin-bottom: -10px; margin-right: 5px; } .loadingArea div { display:inline; *display:block; *width:70%; *text-align:center; border:1px solid #BBB;background-color:#FFF; padding:8px; -moz-border-radius:5px; } .SPHEREIT_CONTENT { background-color:transparent !important; border-collapse: collapse; table-layout: fixed; font-family: Arial, Helvetica, san-serif;} .SPHEREIT_CONTENT TR { background-color:transparent !important;} .SPHEREIT_CONTENT * {padding: 0px; margin: 0px;} .SPHEREIT_CONTENT .ColumnL { width: 260px; vertical-align: top; *overflow:hidden; } .SPHEREIT_CONTENT .ColumnR { width: 210px; vertical-align: top; /*background-color: #E1F1F9;*/ *overflow:hidden; } .SPHEREIT_CONTENT .ColumnR .Quadrant { /*min-height: 200px; _height: 200px;*/ padding-bottom: 20px; } .SPHEREIT_CONTENT .Quadrant { padding: 10px 10px 5px 10px; line-height: 12px; font-size: 12px; } .SPHEREIT_CONTENT a { z-index:5; } .SPHEREIT_CONTENT .Quadrant h2 { font-family: Arial, Helvetica, san-serif; border-bottom: 1px solid #CCC; color: #888888; font-size: 14px; line-height: 18px; font-weight: bold; margin-bottom: 8px; background: none; } .SPHEREIT_CONTENT .Quadrant ol {list-style: none; margin-left: 0px; padding-left: 0px; } .SPHEREIT_CONTENT .Quadrant ol li { list-style: none; margin-bottom: 10px; line-height: 100%; background:none; } .SPHEREIT_CONTENT .Quadrant div, .SPHEREIT_CONTENT .Quadrant span, .SPHEREIT_CONTENT .Quadrant a { font-family: Arial, Helvetica, san-serif; } .SPHEREIT_CONTENT .Quadrant .title { display: block; color: #003366; font-size: 11px; line-height: 13px; font-weight: bold; width:auto; text-decoration:none;} .SPHEREIT_CONTENT .Quadrant .ltitle { display: block; color: #003366; font-size: 11px; line-height: 13px; font-weight: bold; width:auto; text-decoration:none;} .SPHEREIT_CONTENT .Quadrant .title:hover, .SPHEREIT_CONTENT .Quadrant .ltitle:hover, .SPHEREIT_CONTENT .Quadrant .more:hover {color:#003366; text-decoration:underline;} .footerBar {background:#FFF; text-align:center; padding-top:5px; } .footerBar .getThis { color: #003366; font-size:11px; font-weight:bold; text-decoration:none;} .footerBar .getThis:hover {text-decoration:underline;} .SPHEREIT_CONTENT .Quadrant .source { color: #000; font-size: 10px; line-height: 11px; } .SPHEREIT_CONTENT .Quadrant .more { color: #003366; font-size: 11px; } .SPHEREIT_CONTENT .Quadrant .ts { color: #000; font-size: 10px; } .SPHEREIT_CONTENT .Quadrant .desc { color: #000; font-size: 10px; line-height: 11px; } .SPHEREIT_CONTENT .Quadrant a { text-decoration: none; font-family: Arial, Helvetica, san-serif; } .SPHEREIT_CONTENT .Quadrant a:hover {text-decoration: underline; } .SPHEREIT_CONTENT .PartnerQuadrant { vertical-align: bottom !Important; } .SPHEREIT_CONTENT .PartnerSpace { background: #eeeeee; text-align: center; border-top: 1px solid #CCC; padding:10px 0 5px 0; } .SPHEREIT_CONTENT .PartnerSpace a { visibility:visible; } .SPHEREIT_CONTENT .PartnerSpace img {visibility:visible; border: 0; border:1px solid #999; height:125px; width:125px; } .SPHEREIT_CONTENT .PartnerSpace iframe { height:125px; border:0px; } .SPHEREIT_CONTENT .Quadrant .entities .entity7 { font-size: 24px; } .SPHEREIT_CONTENT .Quadrant .entities .entity6 { font-size: 22px; } .SPHEREIT_CONTENT .Quadrant .entities .entity5 { font-size: 20px; } .SPHEREIT_CONTENT .Quadrant .entities .entity4 { font-size: 18px; } .SPHEREIT_CONTENT .Quadrant .entities .entity3 { font-size: 16px; } .SPHEREIT_CONTENT .Quadrant .entities .entity2 { font-size: 14px; } .SPHEREIT_CONTENT .Quadrant .entities .entity1 { font-size: 12px; } .contentArea, .loadingArea { border-bottom:1px solid #CCC; } .SPHEREIT_CONTENT .ColumnL { width: 290px; vertical-align: top; *overflow:hidden; } .SPHEREIT_CONTENT .ColumnR { width: 180px; vertical-align: top; /*background-color: #E1F1F9;*/ *overflow:hidden; } .headerBar { background: #73a1d0 url(http://www.sphere.com/widgets/sphereit/images/WSJ_Header_bg.png) repeat-x; border-bottom: 0px solid #999; height:30px; } .headerBar .closeBtn { background: url(http://www.sphere.com/widgets/sphereit/images/WSJ_Btn_alpha_.png) no-repeat; position: absolute; top: 1px; right: 5px; _right: 6px; height: 24px; width: 23px; font-size:1px; cursor: pointer; } #widget { background: url(http://www.sphere.com/widgets/sphereit/images/WSJ_Mid.png) center repeat-y; } .roundTop { background: url(http://www.sphere.com/widgets/sphereit/images/WSJ_Top.png) center bottom no-repeat; } #roundBot { background: url(http://www.sphere.com/widgets/sphereit/images/WSJ_Bot.png) center top no-repeat; } .SPHEREIT_CONTENT .Quadrant h2 { color:#FF6600; font-family: "Times New Roman", serif; font-weight:normal; font-size:16px; border-bottom:1px solid #CCC;} .SPHEREIT_CONTENT .Quadrant.Q2 h2 { color:#FF6600; font-family: "Times New Roman", serif; font-weight:400; font-size:15px; border-bottom:1px solid #CCC;} .SPHEREIT_CONTENT .Quadrant.Q3 h2 { color:#666666; font-family: "Times New Roman", serif; font-weight:400; font-size:17px; border-bottom:1px solid #336699;} .SPHEREIT_CONTENT .Quadrant .title { color:#0253B7; font-size:11px; font-weight:bold; text-decoration:none;} .footerBar .getThis { color: #0253B7; } .SPHEREIT_CONTENT .Quadrant .ltitle { color:#0253B7; font-size:11px; font-weight:bold; text-decoration:none;} .SPHEREIT_CONTENT .Quadrant .title:hover, .SPHEREIT_CONTENT .Quadrant .ltitle:hover, .SPHEREIT_CONTENT .Quadrant .more:hover { color:#FF6600; text-decoration:underline; } .SPHEREIT_CONTENT .Quadrant .more {color: #666666; font-size:10px; } .SPHEREIT_CONTENT .PartnerSpace {background: #fff; border-top: 1px solid #ffffff; padding-bottom:15px;} .SPHEREIT_CONTENT .Quadrant .source { color: #666666; font-size: 10px; line-height: } .SPHEREIT_CONTENT .Quadrant .ts { color: #666666; font-size: 10px; line-height: 11px; } .SPHEREIT_CONTENT .Quadrant .desc { color: #666666; font-size: 10px; line-height: 11px; } .SPHEREIT_CONTENT .Quadrant.Q2 .desc { color: #000; font-size: 10px; line-height: 11px; } .SPHEREIT_CONTENT .Quadrant.Q1 li { padding-bottom:5px;} .SPHEREIT_CONTENT .Quadrant.Q1 { padding-bottom:0px;} .SPHEREIT_CONTENT .Quadrant.Q2 li { padding-bottom:5px;} .SPHEREIT_CONTENT .Quadrant.Q2 { padding-top:5px;} .SPHEREIT_CONTENT .Quadrant.Q3 li { padding-bottom:5px;} /* -- END SPHERE CSS -- */ _?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServerTVary]Last-Modified]Accept-Ranges_Content-EncodingTDate^Content-LengthZKeep-AliveZConnectionTEtag\Content-TypeSP3p_Apache/2.0.52 (CentOS)_Accept-Encoding_Fri, 01 Feb 2008 21:05:50 GMTUbytesTgzip_Tue, 05 Feb 2008 15:22:17 GMTT1691_timeout=15, max=46_"c74017-17f0-4451f23934780"_Rpolicyref="http://assets.loomia.com/w3c/p3p.xml", CP="NOI DSP COR NID CUR OUR NOR"12qrrs6_NSMutableDictionary\NSDictionary12uvv6_NSHTTPURLResponseInternal12xyyz6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;ejs~   .<OTcny~ ={ O/*** STYLES FOR RECOMMENDATIONS WIDGETS ***/ .loomia_recommendations { margin: 0; padding: 0; } .loomia_recommendations ul { padding: 0; margin: 0; list-style: none outside; } .loomia_recommendations ul li { margin-bottom: .5em; list-style: none outside; } /* auto clear li elements */ .loomia_recommendations ul li:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .loomia_recommendations h4 { margin-bottom: .5em; } .loomia_recommendations h5 { font-size: 1em; margin-bottom: .5em; background: inherit; padding-top: 1em; border-top: 1px solid #ccc; } .loomia_recommendations .loomia_itemimg { display: block; float: left; margin-right: 8px; } .loomia_recommendations .loomia_itemimg img { max-width: 50px; max-height: 80px; vertical-align: top; } .loomia_recommendations .loomia_itemimg a img { border: 0; } /* Styles for all social widgets */ .loomia_recommendations .loomia_socialann { display: block; margin-top: 3px; font-weight: normal; color: #666; position: relative; font-size: .92em; background: url('http://assets.loomia.com/images/arrow-rt-sm.gif') top left no-repeat; padding-left: 8px; } .loomia_socialann .socialann_label { float: left; margin-right: 6px; vertical-align: middle; } .loomia_socialann em { font-style: normal; } .loomia_groupann { display: inline; position: relative; white-space: nowrap; } /* Styles for social site widget */ .loomia_socialitems ul li { position: relative; } .loomia_socialitems .loomia_itemtitle { font-weight: bold; } .loomia_recommendations .loomia_summary, .loomia_recommendations .group_hover { position: absolute; background: #fef49c; border: 1px solid #bca902; padding: .5em; color: #444; white-space: normal; } .loomia_recommendations .loomia_summary { top: -30px; left: 100px; max-height: 2.5em; overflow: hidden; } .loomia_recommendations .group_hover { display: none; bottom: 10px; left: -50px; width: 150px; z-index: 100; } .loomia_recommendations .group_hover_mask { display: none; position: absolute; top: 10px; left: -100px; width: 250px; height: 250px; z-index: 99; } .loomia_recommendations .group_hover ol, .loomia_recommendations .ann_hover ol { margin: 0; padding: 0 2em; } .loomia_recommendations .group_hover ol li, .loomia_recommendations .ann_hover ol li { border: 0; margin: .5em 0; padding: 0; background: none; list-style-background: none; list-style: outside; list-style-type: disc; } .loomia_recommendations .group_hover ol li em { font-weight: normal } /* styles for graphic annotation */ .graphic_ann { vertical-align: middle; display: block; float: left; width: 82px; margin-right: 6px; } .graphic_ann a { color: #333; } .graphic_ann a:hover { text-decoration: none; } .graphic_ann .score_off a { color: #999; } .friend_ann, .group_ann, .network_ann { position: relative; font-family: Arial, Helvetica, sans; display: block; float: left; width: 24px; height: 16px; padding: 2px 1px; border: 1px solid #ccc; border-right: none; font-weight: bold; font-size: 12px; color: #444; } .network_ann { border-right: 1px solid #ccc; } .friend_ann *, .group_ann *, .network_ann * { vertical-align: middle; } .score_1 { background:#B0CBFF } .score_2 { background:#A9FFF0 } .score_3 { background:#F9FF99; } .score_4 { background:#FFCA61; } .score_5 { background:#ff8000 } .loomia_recommendations .ann_hover { position: absolute; display: none; top: 11px; left: 15px; width: 150px; padding: 5px; z-index: 10; font-size: 11px; color: #333; vertical-align: baseline; font-weight: normal; background: #fef49c; border: 1px solid #bca902; } .graphic_ann .ann_hover a em { font-style: normal; font-weight: bold; color: #369; vertical-align: baseline; } .loomia_recommendations .ann_hovermask { display: none; position: absolute; top: -10px; left: 25px; width: 25px; height: 200px; z-index: 9; } .loomia_login, .loomia_share { padding: 3px 6px; margin: 6px 0; } .loomia_login { background: url('http://assets.loomia.com/images/social/bg-socialsite-cta-yellow.gif') repeat-x; background-position: 0 25px; font-family: Arial, Helvetica, sans; color: #fff; font-size: 11px; padding: 6px 8px; } .loomia_login .login_header { margin: 0 -8px; background: #fff; height: 18px; border-bottom: 1px solid #ccc; position: relative; } .loomia_login .login_new { position: absolute; bottom: 2px; left: 6px; padding-left: 10px; color: #900; font-weight: bold; background: url('http://assets.loomia.com/images/arrow-rt-red.gif') top left no-repeat; } .loomia_login .loomia_seenthis_logo { position: absolute; bottom: 0; right: 6px; } .loomia_login p { margin: 5px 0; } .loomia_login a { color: #444; text-decoration: none; } .loomia_login a img { border: 0; margin-top: 3px; } .loomia_login .login_button { margin: 5px 0; padding: 0; } .loomia_recommendations .controls { color: #666; } .loomia_share { width: 200px; height: 26px; background: url('http://assets.loomia.com/images/social/btn-sharethis-bg.gif') top left no-repeat; /* border-bottom: 1px solid #0e1f5b; border-right: 1px solid #0e1f5b; */ margin: 10px 0; text-align: center; } .loomia_share a { display: block; font-family:"lucida grande", tahoma, verdana, arial, sans-serif; font-size: 13px; font-weight: bold; color: #fff; padding-top: 1px; } .loomia_socfooter { border-top: 1px solid #ccc; height: 18px; position: relative; } .loomia_socfooter .controls { position: absolute; bottom: 2px; left: 0; } .loomia_socfooter .loomia_seenthis_logo { position: absolute; bottom: 0; right: 0; } #loomia_whatsthis { border: 1px solid #ccc; background: #eee; padding: 5px; }_'http://assets.loomia.com/style/recs.css %&'OObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Thu, 17 Jan 2008 21:57:37 GMTZkeep-alive]max-age=19605_Tue, 05 Feb 2008 15:22:08 GMTS790_Tue, 05 Feb 2008 20:48:53 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;_dmx|   ':HSafu}%7E )|7OCvar staticDomain=''; if((typeof window.nSP)=='undefined'||nSP==null){var nSP='';} if(nSP==''){staticDomain='http://s.wsj.net'}; if(typeof com=='undefined'){;var com={dowjones:{utils:{}}};} function $(i){return (document.getElementById)?document.getElementById(i):null} function $import(uri,id,ajax){;if(typeof ajax!="boolean"){;ajax=false;};uri="".concat(uri);if(uri.length>4&&uri.substring(0,4)=="com."){;if(typeof eval(uri)=="undefined"){;document.write('');} /* NEW REFRESH */ var a=new Array("window.location.reload(false)","window.location.replace(url)","window.location.href=url");var tempHTML = "";for(var i=0;i\n\n<\/script>';};document.write(tempHTML) function printDoc(){ if (window.print) { window.print() ; } else { var WebBrowser = ''; document.body.insertAdjacentHTML('beforeEnd', WebBrowser); WebBrowser1.ExecWB(6, 2); } } function uescEnt(s){;return s.replace(/\&\;/ig,'&');} function showSummary(linkObj, sbID){ var so = document.getElementById("summary_"+sbID); var l = getDist(linkObj,false); if(so){ so.className="p12 rolloverSummary" so.style.top=(getDist(linkObj,true)+linkObj.offsetHeight)+"px" so.style.left= (((l+so.offsetWidth)>document.body.offsetWidth)?((document.body.offsetWidth-so.offsetWidth)-20):(l))+"px" } } function hideSummary(sbID){ var so = document.getElementById("summary_"+sbID); if(so){ so.className="hidden" } } //begin ccs function setCCSStatusIcon() { var loggedIn=(typeof laserJ4J=='object')?laserJ4J.isLoggedIn('WSJ'):false; var msgSeed = GetCookie("messageCenterSeed"); var msgObj = null; var msgText = ""; var msgLink = ""; var msgStatus = ""; var msgType = ""; try{ if(loggedIn) { var url="/ccs-webjax/ajax/getTopUserMessage"; //CCSDebugModeOn(); var mcli=new CCSClient(url); var update=function(descriptor) { msgText=descriptor.getText(); msgLink=descriptor.getLink(); msgStatus=descriptor.getStatus(); msgType=descriptor.getType(); if (msgStatus == "OPEN") { msgObj = new Object(); msgObj.message = msgText; msgObj.link = msgLink; changeDisplay(msgObj); } } mcli.getTopUserMessage(update); } } catch(E) { } } function changeDisplay(msgObj) { var cm=document.getElementById("msgCenter"); var replaceStr = '
'; replaceStr = replaceStr + ''; replaceStr = replaceStr + ''; replaceStr = replaceStr + '
'; replaceStr = replaceStr + ''; replaceStr = replaceStr + '' + msgObj.text + ' You have an important message.
'; cm.innerHTML=replaceStr; } //end ccs //delay third party scripts function changeScriptSrc(scriptId,scriptSrc){ var sobj=document.getElementById("".concat(scriptId)); if(sobj){ try { var scr = document.createElement("script"); scr.setAttribute("type","text/javascript"); scr.setAttribute("src", scriptSrc); sobj.appendChild(scr); return false; } catch ( errMsg ) { return true; } } } function changeImgSrc(imageId,imageSrc){ var iobj=document.getElementById("".concat(imageId)); if(iobj){ try { iobj.src = imageSrc; return false; } catch ( errMsg ) { return true; } } } var ListOfScripts = new Object() function LoadScripts(){ for(scriptid in ListOfScripts){ var results = changeScriptSrc(scriptid,"".concat(ListOfScripts[scriptid])); if (!results) { continue; } } } var ListOfImages = new Object() function LoadImages(){ for(imageid in ListOfImages){ var results = changeImgSrc(imageid,"".concat(ListOfImages[imageid])); if (!results) { continue; } } } function loadMWModule(mwHtml, elementId) { var divElement = document.getElementById(elementId); if (divElement) { divElement.innerHTML = mwHtml; } } //end delay third party scripts if (!Array.prototype.indexOf) { Array.prototype.indexOf = function(elt /*, from*/) { var len = this.length; var from = Number(arguments[1]) || 0; from = (from < 0) ? Math.ceil(from) : Math.floor(from); if (from < 0) from += len; for (; from < len; from++) { if (from in this && this[from] === elt) return from; } return -1; }; } function turnRelativeUrlsToAbsolute(){ var links = document.getElementsByTagName('a'); for (link in links) { if ( links[link].href ) { var href = links[link].getAttribute('HREF',2); if (!(href.substring(0,4) == 'http')) { links[link].href = nSP + href; } } } }_.http://s.wsj.net/javascript/commonFunctions.js 567Obplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse) )/078<`abcdefghijklmnopqrstuvwxyj7z{|U$null  !"#$%&'(R$6S$10R$2S$13R$7R$3S$11R$8R$4S$14R$9R$0V$classR$5S$12R$1#Am&IU#Am&oY(#AoY*+!-.WNS.base[NS.relative_4http://online.wsj.com/javascript/rightClickSearch.js1234X$classesZ$classname456UNSURLV%NSURLXNSObject_application/x-javascript9:;'=>?O_ZNS.objectsWNS.keys@ABCDEFGHIJKLMN !"#$%PQRSTUVWXYZ[\]^ &VServer]Last-Modified]Accept-Ranges_X-Debug-NamespaceTDate_X-Debug-Module-Version_X-Debug-Request^Content-Length]Cache-ControlWExpiresZKeep-AliveZConnection\Content-TypeSP3p_X-Debug-Box-IdentVApache_Mon, 28 Jan 2008 22:08:29 GMTUbytesYinert-wsj_Tue, 05 Feb 2008 15:22:09 GMT_DJCS mod_mon 0.7.0.0.2.1_/javascript/rightClickSearch.jsT7253]max-age=21600_Tue, 05 Feb 2008 21:22:09 GMT_timeout=2, max=48_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC]sbkj2kiwebp0312}~~6_NSMutableDictionary\NSDictionary126_NSHTTPURLResponseInternal126_NSHTTPURLResponse]NSURLResponse$)2DILbd  '/;=?Ax}   /13579;=?ACEGIKMOVdr=CMmhv{OUtry { document.write('<'+'script type="text/vbscript" src="http://s.wsj.net/javascript/vbFunctions.js'+'">'+'<'+'/script'+'>') } catch(ex) {} document.write('<'+'script src="http://s.wsj.net/javascript/httpRequest.js"'+'>'+'<'+'/script'+'>') document.write('<'+'script src="http://s.wsj.net/javascript/stringFunctions.js"'+'>'+'<'+'/script'+'>') var allowContextMenu = true var rclickRequestObj = null; if(loggedIn&&(!GetCookie("RCSEARCH")||!GetCookie("HOMEPAGE"))){ if(typeof pzn_enable_right_click_search == "string"){ SetCookie('RCSEARCH',((pzn_enable_right_click_search=="n")?"off":"on")+"|"+pzn_user_to_charts+"|"+pzn_user_to_indexes,'365d+'); } var hpMapping={'US':'/home/us','Europe':'/home/europe','Asia':'/home/asia','health':'/home/health','mm':'/home/media','lexis':'/page/lexis.html'}; if(typeof pzn_edition_option == "string") { SetCookie('HOMEPAGE',hpMapping[pzn_edition_option],'2d+'); } } function showRightClickSearch(e){ var searchText = trim("".concat(getSelectionText())); var menuObj = document.getElementById("rcMenu") if("".concat(GetCookie("RCSEARCH")).split("|")[0]=="off"||"".concat(window.location).substring(0,5)!="http:"||"".concat(window.location).indexOf(".user")>-1){ searchText="" } if(searchText!=""){ //allowContextMenu=false; menuObj.style.display='block' menuObj.style.left=((((typeof event != 'undefined')?(event.clientX+document.body.scrollLeft):(window.pageXOffset+e.clientX))-5)-340)+"px" menuObj.style.top=(((typeof event != 'undefined')?(event.clientY+document.body.scrollTop):(window.pageYOffset+e.clientY))-5)+"px" var tempHTML='' tempHTML+='
Loading results
' tempHTML+='
loading
' var HTMLsearchText = "".concat(searchText) HTMLsearchText=HTMLsearchText.replace(/&/g,"&") HTMLsearchText=HTMLsearchText.replace(/\/g,">") document.getElementById("rcMenuContent").innerHTML=tempHTML document.getElementById("rcSearchText").innerHTML=((searchText.length>30)?(HTMLsearchText.substring(0,30)+"..."):(HTMLsearchText)) document.getElementById("rcSearchText").title=searchText rclickRequestObj = new WSJAXRequest( new _arg('VERB','GET'), new _arg('URL','/public/search/3_0510.html?KEYWORDS='+escape(searchText)), new _arg('PROCESS', function( myObject ) { if (myObject.readyState == 4) { var resultXML = "" if (typeof BinaryToString != 'undefined') { resultXML=BinaryToString(myObject.responseBody+""); } else { resultXML=myObject.responseText; } var tempHTML = "" if(resultXML.indexOf("")>-1){ var rList=resultXML.split("") for(var i=0;i")[0].split("")[1].split("")[0] var resultDate = rList[i].split("")[0].split("")[1].split("")[0] var resultHeadline = rList[i].split("")[0].split("")[1].split("")[0] tempHTML+='
'+resultHeadline+' | '+resultDate+'
' } } else { tempHTML+='
No articles match your search criteria. Please try again.
' } tempHTML+='' tempHTML+='' tempHTML+='
'; tempHTML+=''; tempHTML+='
'; document.getElementById("rcMenuContent").innerHTML=tempHTML adjustContextMenuPos(); rclickRequestObj=null; } } ) ) adjustContextMenuPos(); } else { menuObj.style.display='none' allowContextMenu=true; } return allowContextMenu; } function hideRightClickSearch(){ rclickRequestObj=null; document.getElementById('rcMenu').style.display='none'; } function adjustContextMenuPos(){ var obj = document.getElementById("rcMenu") var objTop=getDist(obj,true) var objLeft=getDist(obj,false) if(typeof pageYOffset != 'undefined') { if ((objTop-pageYOffset)+obj.offsetHeight>window.innerHeight){ obj.style.top=((window.innerHeight-obj.offsetHeight)+pageYOffset)+"px" } var sboffSet=(document.body.parentNode.scrollWidth>document.body.parentNode.clientWidth)?16:0 if ((objLeft-pageXOffset)+obj.offsetWidth>(window.innerWidth-sboffSet)){ obj.style.left=(((window.innerWidth-sboffSet)-obj.offsetWidth)+pageXOffset)+"px" } } else if(typeof document.body.scrollTop != 'undefined') { if ((objTop-document.body.scrollTop)+obj.offsetHeight>(document.body.offsetHeight-4)){ obj.style.top = ((document.body.offsetHeight-4)-obj.offsetHeight)+document.body.scrollTop } var sboffSet=(document.body.scrollWidth>document.body.clientWidth)?16:0 if ((objLeft-document.body.scrollLeft)+obj.offsetWidth>(document.body.offsetWidth-(sboffSet+4))){ obj.style.left = ((document.body.offsetWidth-(sboffSet+4))-obj.offsetWidth)+document.body.scrollLeft } } if(getDist(obj,true)<0){ obj.style.top="0px" } if(getDist(obj,false)<0){ obj.style.left="0px" } } function getSelectionText(){;return (window.getSelection)?window.getSelection():((document.getSelection)?document.getSelection():((document.selection)?document.selection.createRange().text:""));} var tempHTML='' tempHTML+='' document.write(tempHTML) document.oncontextmenu=showRightClickSearch _4http://online.wsj.com/javascript/rightClickSearch.js 9:;Obplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.18_Tue, 11 Apr 2006 23:20:50 GMTUclose]max-age=18339_Tue, 05 Feb 2008 19:41:29 GMTS144_Wed, 06 Feb 2008 00:47:08 GMT]ht sfo-cog-n2_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd $0246chq|  -8FKZbgtx tOFunction BinaryToString(Binary) Dim I,S For I = 1 to LenB(Binary) S = S & Chr(AscB(MidB(Binary,I,1))) Next BinaryToString = S End Function_*http://s.wsj.net/javascript/vbFunctions.js =>?OTbplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.18Tgzip_Fri, 19 Oct 2007 01:34:47 GMTUclose]max-age=19879_Tue, 05 Feb 2008 19:41:29 GMTT1053_Wed, 06 Feb 2008 01:12:48 GMT_Accept-Encoding]ht sfo-cog-n2_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;hmv!#%')0CQ\jo~ *<J.|0;v--){ if(v>2){ if(v>3){ wsjaxActiveXObjType="Msxml2.XMLHTTP."+v+".0" } else { wsjaxActiveXObjType="MSXML2.XMLHTTP.3.0"; } } else if(v==2) { wsjaxActiveXObjType="MSXML2.XMLHTTP"; } else { wsjaxActiveXObjType="Microsoft.XMLHTTP"; } try { var tempObj = new ActiveXObject(wsjaxActiveXObjType); if(tempObj) return tempObj } catch (objException) { } } } } return false } function WSJAXRequest(){ var argHash = new Object(); for(var a=0;a0){ window.top.document.getElementById(n).onload(); } else { setTimeout("isIframeLoaded('"+n+"')",5*1000) } } function _arg(t,s){ this.type=t.toUpperCase() this.value=s }_*http://s.wsj.net/javascript/httpRequest.js ABCO bplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.17_Mon, 17 Apr 2006 17:49:50 GMTZkeep-alive]max-age=18823_Tue, 05 Feb 2008 15:22:09 GMTS338_Tue, 05 Feb 2008 20:35:52 GMT]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd  %1357hmv   $2=KP_gly}tORfunction trim(input){ var c=new Array("\0"," ","\b","\f","\n","\r","\t") while(input.length>0&&c.join("").indexOf(input.substring(input.length-1,input.length))>-1) input=input.substring(0,input.length-1) while(input.length>0&&c.join("").indexOf(input.substring(0,1))>-1) input=input.substring(1,input.length) return input }_.http://s.wsj.net/javascript/stringFunctions.js EFGHObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.18_Tue, 11 Apr 2006 23:23:32 GMTUclose]max-age=36563_Tue, 05 Feb 2008 19:41:29 GMTT1510_Wed, 06 Feb 2008 05:50:52 GMT]ht sfo-cog-n2_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd  %1357lqz  %0>CRZ_lp{y~tOGIF89aT)}~Z[YĽɏ~hheuurMML@@@333!,T) dihlp,tmx|pH,Ȥrl:ШtJZ,4zxL.zn|~~}voahusbŹʩ_ e {]lq fpl_]. H 2qm>}c-[ K8V,/`;I&!v,P%tqmDïAX瘒p̷R)d2 }Oaԏ\Es'.C|0j墖Kvo=T%wgQo86+]{[sYTm<Gsץv~ B>`Bb'@hȆX. [ݶ&1[:F z^'T;pas Y,R!QEgcFQ [@tՄQ^ESN}Dox[ xt8wUaVY7"Cq#59EF[R>_RPUNEEq\M@}-)EUtӆ,p[`\ ೖ4Ycx2ɧtEŕ`X?`9ՕH$$T8ԅvxsQf] `c]:h4آS(ڋ@C_F&&q-SWZ: fm:%4ܔCayZ"_1XLcdVX<ñ'ѓBuF]댥^}DÞ&("k~IKEOX%vƪkPX]a B( ,}PFkҸ`7cMTS$`zS4 b^ۂqŴ~6z5\eSF#kj!9PE]`f` yr f}_u+.h$:vA]_EFaCbB$;Rn55ņ1'\n OTڞe9~2@mzM*j֌V^2%he)R]ٽ;aT9P}0k=i>z& K+Lʇ9"tRi,`fG@T`l脬 0kH ^Nx,}A>sظǛ1aFXQ G H9fo3 (,ȅ5gq&|g3 pL@cM ,Y*{dSQ^ 2K豏 d"(B25;" B2D"#IJd$1N* e A)R.L%1;_2http://s.wsj.net/img/right_click_search_header.gifYimage/gif JKLOUbplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Mon, 24 Dec 2007 22:57:53 GMTZkeep-alive]max-age=19100_Tue, 05 Feb 2008 15:22:09 GMTT2936_Tue, 05 Feb 2008 20:40:29 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;dir}  !#%,?MXfkz +=K/|=O2lvar product = 'WSJ'; var dtext = ''; dtext += ''; if (typeof window.nSP != 'undefined') { dtext += (''); dtext += (''); dtext += (''); } else { dtext += '
My AccountMessagesPreferences
'; dtext += ''; dtext += ''; dtext += ''; } dtext += '
My AccountMessagesPreferences
'; var atext = ''; if (typeof window.nSP != 'undefined') { atext += (''); } else { atext += ''; } atext += 'You have an important message'; atext += ''; var ntext = ''; if (typeof window.nSP != 'undefined') { ntext += (''); } else { ntext += ''; } ntext += 'You have a new message'; ntext += ''; var messageCenterRequest = null; var messageCenterTimeout = null; var displayedInterstitialRequest = null; var displayedInterstitialTimeout = null; var readRequest = null; var readTimeout = null; var getContentRequest = null; var getContentTimeout = null; var changeOrderRequest = null; var changeOrderTimeout = null; var x = null; var y = null; var z = null; function getNewRequest() { var req = null; if (window.XMLHttpRequest) { req = new XMLHttpRequest(); } else if (window.ActiveXObject) { if (wsjaxActiveXObjType) { req = new ActiveXObject(wsjaxActiveXObjType); } else { for(var v=7;v>0;v--){ if(v>2){ if(v>3){ wsjaxActiveXObjType="Msxml2.XMLHTTP."+v+".0" } else { wsjaxActiveXObjType="MSXML2.XMLHTTP.3.0"; } } else if(v==2) { wsjaxActiveXObjType="MSXML2.XMLHTTP"; } else { wsjaxActiveXObjType="Microsoft.XMLHTTP"; } try { var tempObj = new ActiveXObject(wsjaxActiveXObjType); if (tempObj) { req = tempObj; } } catch (objException) { } } } } return req; } function processTop(httpRequest) { try { var message = httpRequest.responseXML.getElementsByTagName("message")[0]; if (message != null) { if (message.firstChild != null) { var mid = (message.getElementsByTagName("mid")[0]).firstChild.nodeValue; var uid = (message.getElementsByTagName("uid")[0]).firstChild.nodeValue; var umid = (message.getElementsByTagName("umid")[0]).firstChild.nodeValue; var mname = (message.getElementsByTagName("messageid")[0]).firstChild.nodeValue; var priority = message.getElementsByTagName("priority")[0]; var display = message.getElementsByTagName("display")[0]; if (display != null) { var dvalue = display.firstChild.nodeValue; if (dvalue=='true') { var content = message.getElementsByTagName("content")[0]; showInterstitialContent(content, mid, uid, umid, mname); } else { if (priority != null) { var value = priority.firstChild.nodeValue; if (value == 1) { $('msgCenter').innerHTML = atext; } else { $('msgCenter').innerHTML = ntext; } } } } else { $('msgCenter').innerHTML = dtext; } } else { $('msgCenter').innerHTML = dtext; } } else { $('msgCenter').innerHTML = dtext; } return true; } catch(e){ $('msgCenter').innerHTML = dtext; return false; } } function showInterstitialContent(content, mid, uid, umid, mname) { var tmp = ''; try { tmp = (new XMLSerializer()).serializeToString(content); } catch (e) { tmp = content.xml; } tmp = tmp.replace(/&/g,'&'); tmp = tmp.replace(//g, userName); tmp = tmp.replace(/gotosite/g, 'WSJ.com'); tmp = tmp.replace(/myacctsite/g, 'https://commerce.wsj.com/myaccount/do/viewBillingInfo'); tmp = tmp.replace(/modvalue/g, 'mc_wsj_interstitial_' + mname); tmp = tmp.replace(//g, 'WSJ.com'); tmp = tmp.replace(/site/g, 'wsj'); tmp = tmp.replace(/msgbg/g, '#364A92'); var d = new Date(); tmp = tmp.replace(//g, d.getFullYear()); tmp = tmp.substring(9, tmp.indexOf("")); displayDiv(tmp, mid, mname, true); sendDisplayedInterstitialRequest(uid, umid); } function showMessage(httpRequest, msgid, umid, mname) { var message = httpRequest.responseText.replace(/&/g,'&'); message = message.replace(//g, userName); message = message.replace(/gotosite/g, 'WSJ.com'); message = message.replace(/myacctsite/g, 'https://commerce.wsj.com/myaccount/do/viewBillingInfo'); message = message.replace(/modvalue/g, 'mc_wsj_message_' + mname); var d = new Date(); message = message.replace(//g, d.getFullYear()); message = message.replace(//g, 'WSJ.com'); message = message.replace(/site/g, 'wsj'); message = message.replace(/msgbg/g, '#364A92'); displayDiv(message, msgid, mname, false); sendReadRequest(msgid, umid); } function displayDiv(content, mid, mname, isInterstitial) { x = $('modal'); y = $('message'); z = $('messagecontent'); z.innerHTML = content; y.style.zIndex = 100000000001; y.style.display = 'block'; y.style.overflow = 'hidden'; x.style.zIndex = 100000000000; x.style.display = 'block'; x.style.height = getDist(document.getElementById('navExtender'),true) + 'px'; var s = s_gi(s_account); s.events = "event30"; if (isInterstitial) { s.eVar30 = 'WSJ Interstitial - ' + mname; } else { s.eVar30 = 'WSJ Message - ' + mname; } s.linkTrackVars = "eVar30,events"; s.linkTrackEvents = "event30"; if (isInterstitial) { s.tl(true,'o','WSJ Interstitial - ' + mname); } else { s.tl(true,'o','WSJ Message - ' + mname); } } function changeStyle(httpRequest, msgid) { var v = document.getElementById('m_'+msgid+'_f'); v.style.fontWeight=''; v = document.getElementById('m_'+msgid+'_s'); v.style.fontWeight=''; v = document.getElementById('m_'+msgid+'_r'); v.style.fontWeight=''; v = document.getElementById('m_'+msgid+'_e'); v.style.fontWeight=''; } function displayMessages(httpRequest) { var m = document.getElementById("messages"); m.innerHTML = httpRequest.responseText; } function closeMessage() { y.style.display = 'none'; x.style.display = 'none'; } function checkAll() { var f = document.getElementById("mform"); var num = f.elements.length; for (var i=0; i < num; i++) { var e = f.elements[i]; if (e.type == 'checkbox') { e.checked = true; } } } function uncheckAll() { var f = document.getElementById("mform"); var num = f.elements.length; for (var i=0; i < num; i++) { var e = f.elements[i]; if (e.type == 'checkbox') { e.checked = false; } } } function loadMessageContent(msgid, uid, umid, read, mname) { if (getContentRequest != null) { getContentRequest.abort(); getContentdRequest = null; } getContentRequest = getNewRequest(); getContentRequest.open("GET",'/msgcenter/get_message.html?messageId='+msgid,true); getContentRequest.onreadystatechange = function() { if (getContentRequest.readyState == 4) { if (getContentRequest.status == 200) { clearTimeout(getContentTimeout); showMessage(getContentRequest, msgid, umid, mname); } } } getContentRequest.send(null); getContentTimeout = setTimeout("ajaxTimeout('getContent');",1000); } function sendReadRequest(msgid, umid) { if (readRequest != null) { readRequest.abort(); readRequest = null; } readRequest = getNewRequest(); var params = "umId=" + umid; readRequest.open("POST",'/msgcenter/read_message.html',true); readRequest.setRequestHeader("Content-type","application/x-www-form-urlencoded"); readRequest.onreadystatechange = function() { if (readRequest.readyState == 4) { if (readRequest.status == 200) { clearTimeout(readTimeout); changeStyle(readRequest, msgid); reloadMessageCenter(); } } } readRequest.send(params); readTimeout = setTimeout("ajaxTimeout('read');",1000); } function sendChangeOrderRequest(order, product) { if (changeOrderRequest != null) { changeOrderRequest.abort(); changeOrderRequest = null; } changeOrderRequest = getNewRequest(); changeOrderRequest.open("GET",'/msgcenter/order_messages.html?order='+order+'&product='+product,true); changeOrderRequest.onreadystatechange = function() { if (changeOrderRequest.readyState == 4) { if (changeOrderRequest.status == 200) { clearTimeout(changeOrderTimeout ); displayMessages(changeOrderRequest); } } } changeOrderRequest.send(null); changeOrderTimeout = setTimeout("ajaxTimeout('changeOrder');",1000); } function sendDisplayedInterstitialRequest(uid, umid) { if (displayedInterstitialRequest != null) { displayedInterstitialRequest.abort(); displayedInterstitialRequest = null; } displayedInterstitialRequest = getNewRequest(); var params = "uId=" + uid; params += ("&umId=" + umid); displayedInterstitialRequest.open("POST","/msgcenter/displayed_interstitial.html",true); displayedInterstitialRequest.setRequestHeader("Content-type","application/x-www-form-urlencoded"); displayedInterstitialRequest.onreadystatechange = function() { if (displayedInterstitialRequest.readyState == 4) { if (displayedInterstitialRequest.status == 200) { clearTimeout(displayeInterstitialTimeout); reloadMessageCenter(); } } } displayedInterstitialRequest.send(params); displayeInterstitialTimeout = setTimeout("ajaxTimeout('displayedInterstitial');",1000); } function reloadMessageCenter() { var cmccookie = GetCookie("CMC"); if (cmccookie == null) { var o = document.getElementById('msgCenter'); if (o) { if (messageCenterRequest != null) { messageCenterRequest.abort(); messageCenterRequest = null; } SetCookie("CMC", "top", "1d+"); messageCenterRequest = getNewRequest(); var x; var d= new Date(); messageCenterRequest.open("GET",'/msgcenter/top_message.html?product='+product+'&d='+d.getTime(),true); messageCenterRequest.onreadystatechange = function() { if (messageCenterRequest.readyState == 4) { if (messageCenterRequest.status == 200) { clearTimeout(messageCenterTimeout); x = processTop(messageCenterRequest); } } } messageCenterRequest.send(null); messageCenterTimeout = setTimeout("ajaxTimeout('messageCenter');",1000); } } } function ajaxTimeout(requestType) { if (requestType == 'messageCenter') { messageCenterRequest.abort(); messageCenterRequest = null; } else if (requestType == 'displayedInterstitial') { displayedInterstitialRequest.abort(); displayedInterstitialRequest = null; } else if (requestType == 'read') { readRequest.abort(); readRequest = null; } else if (requestType == 'getContent') { getContentRequest.abort(); getContentRequest = null; } else if (requestType == 'changeOrder') { changeOrderRequest.abort(); changeOrderRequest = null; } } if (typeof window.loggedIn != 'undefined') { if (loggedIn) { if (window.addEventListener) { window.addEventListener("load", reloadMessageCenter, false); } else if (window.attachEvent) { window.attachEvent("onload", reloadMessageCenter); } } }_&http://s.wsj.net/javascript/ccs_wsj.js NOPOibplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Tue, 23 Oct 2007 19:07:50 GMTZkeep-alive]max-age=18957_Tue, 05 Feb 2008 15:22:09 GMTT4298_Tue, 05 Feb 2008 20:38:06 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;x}  !#%')+-/13579@Salz?Q_ &+/C|QOR$import("com.dowjones.mouse") $import("com.dowjones.utils.objDimensions") $import("com.dowjones.utils.SimpleDateFormat") com.dowjones.rolloverQuotes={ suppress:(navigator.userAgent.indexOf('MSIE 5.23; Mac')>-1),useIframe:(navigator.userAgent.toLowerCase().indexOf('safari')==-1&&navigator.userAgent.indexOf('Mac')==-1),inProgress:false,inProgressTimer:null,attempts:0,rolloverParent:null,type:"",symbol:"",timer:null,chartPrefix:"http://chart.bigcharts.com/custom/wsj-com/charts/commodities/chart.asp?size=2&style=2101&type=256&mocktick=1",container:null, containerDoc:function(){ var o=null if(this.useIframe){ if(typeof document.frames!='undefined'){ o=document.frames['rqTip'].document }else if(typeof com.dowjones.rolloverQuotes.container.contentDocument!='undefined'){ o=$('rqTip').contentDocument }else if(typeof com.dowjones.rolloverQuotes.container.contentWindow!='undefined'){ o=$('rqTip').contentWindow } }else{ o=document } return o }, containerBody:function(){;return (this.useIframe)?((typeof this.containerDoc()=='object')?this.containerDoc().body:this.containerDoc()):this.container;}, createPanel:function(){ if(this.useIframe){ this.container=document.createElement('iframe') this.container.src='/static_html_files/blank.htm' this.container.marginWidth='0' this.container.marginHeight='0' this.container.hspace='0' this.container.vspace='0' this.container.frameBorder='0' this.container.scrolling='no' }else{ this.container=document.createElement('div') } this.container.id='rqTip' this.container.style.display='none' this.container.style.margin='0px' this.container.style.padding='0px' this.container.style.borderColor='#000' this.container.style.borderStyle='solid' this.container.style.borderWidth='1px' this.container.style.position='absolute' this.container.style.left='0px' this.container.style.top='0px' this.container.style.width='250px' this.container.style.height='1px' document.body.appendChild(this.container) }, inPopup:function(){;return (com.dowjones.mouse.x>com.dowjones.utils.objDimensions.left(this.container)&&com.dowjones.mouse.x<(com.dowjones.utils.objDimensions.left(this.container)+com.dowjones.utils.objDimensions.width(this.container))&&com.dowjones.mouse.y>com.dowjones.utils.objDimensions.top(this.container)&&com.dowjones.mouse.y<(com.dowjones.utils.objDimensions.top(this.container)+this.containerBody().scrollHeight));}, show:function(n,s,t){ if(this.suppress){;return true;} t=(t)?t:'usstock' this.rolloverParent=n this.symbol=s this.type=t window.clearTimeout(this.timer) if($('rqTip')==null) this.createPanel() if(this.container==null) this.container=$('rqTip') if(this.useIframe){ if(this.containerBody()==null){ this.timer=setTimeout("com.dowjones.rolloverQuotes.showagain()",100) return true } } if(this.containerBody().childNodes.length<1){ if(this.useIframe){;var n=this.containerDoc().createElement('link');n.rel='stylesheet';n.type='text/css';n.href='/j20type.css';this.containerBody().appendChild(n);} var n=this.containerDoc().createElement('div');n.id='rqContent';this.containerBody().appendChild(n); var n=this.containerDoc().createElement('div');n.id='rqContentHeadlines';this.containerBody().appendChild(n) var n=this.containerDoc().createElement('div');n.id='rqContentPR';this.containerBody().appendChild(n) var n=this.containerDoc().createElement('div');n.id='rqPromo';this.containerBody().appendChild(n) var n=this.containerDoc().createElement('div');n.id='rqFootnote';this.containerBody().appendChild(n) if(this.useIframe){;this.containerDoc().onmouseover=function(){;parent.window.clearTimeout(parent.com.dowjones.rolloverQuotes.timer);};this.containerDoc().onmouseout=function(){;parent.com.dowjones.rolloverQuotes.hidelater();};}else{;this.containerBody().onmouseover=function(){;window.clearTimeout(com.dowjones.rolloverQuotes.timer);};this.containerBody().onmouseout=function(){;com.dowjones.rolloverQuotes.hidelater();};} } this.containerDoc().getElementById('rqContent').innerHTML='
Loading, please wait ...
' this.containerDoc().getElementById('rqContentHeadlines').innerHTML='
' this.containerDoc().getElementById('rqContentPR').style.display='none' this.containerDoc().getElementById('rqPromo').style.display='none' this.containerDoc().getElementById('rqFootnote').style.display='none' setTimeout("com.dowjones.rolloverQuotes.adjustheight()",100) this.container.style.top=(com.dowjones.utils.objDimensions.top(this.rolloverParent)+com.dowjones.utils.objDimensions.height(this.rolloverParent))+"px" this.container.style.left=(com.dowjones.utils.objDimensions.left(this.rolloverParent)+60)+"px" this.container.style.display='block' this.fetch() }, showagain:function(){;this.show(this.rolloverParent,this.symbol,this.type);}, hide:function(){;window.clearTimeout(this.timer);if($('rqTip').style.display=='block'){;if(!this.inPopup()){;$('rqTip').style.display="none";window.clearTimeout(this.timer);}else{;this.hidelater();};};}, hidelater:function(t){;if(this.suppress){;return true;};window.clearTimeout(this.timer);this.timer=setTimeout("com.dowjones.rolloverQuotes.hide()",1000);}, fetch:function(){ if(!this.inProgress) { this.inProgress=true this.attempts=0 QUOTEJSON={data:null,callback:function(){ var temp ="" com.dowjones.rolloverQuotes.attempts++ var chartingURL=((!this.data.etf)?'/quotes/stock_charting.html?symbol='+this.data.s+'&type=usstock&mod=mdc_rolloverquotes':'/public/quotes/etf_charting.html?issue_type=ETF&chartingPage=dynamic&&Symb='+this.data.s+'&mod=mdc_rolloverquotes') var timezones = { 'Australian Central Daylight Time':'ACDT', 'Australian Central Standard Time':'ACST', 'Atlantic Daylight Time':'ADT', 'Australian Eastern Daylight Time':'AEDT', 'Australian Eastern Standard Time':'AEST', 'Alaska Daylight Time':'AKDT', 'Alaska Standard Time':'AKST', 'Atlantic Standard Time':'AST', 'Australian Western Daylight Time':'AWDT', 'Australian Western Standard Time':'AWST', 'British Summer Time':'BST', 'Central Daylight Time':'CDT', 'Central European Daylight Time':'CEDT', 'Central European Summer Time':'CEST', 'Central European Time':'CET', 'Central Summer(Daylight) Time':'CST', 'Central Standard Time':'CST', 'Central Standard Time':'CST', 'Christmas Island Time':'CXT', 'Eastern Daylight Time':'EDT', 'Eastern European Daylight Time':'EEDT', 'Eastern European Summer Time':'EEST', 'Eastern European Time':'EET', 'Eastern Summer(Daylight) Time':'EST', 'Eastern Standard Time':'EST', 'Eastern Standard Time':'EST', 'Greenwich Mean Time':'GMT', 'Heure Avanc?e de l\',Atlantique':'HAA', 'Heure Avanc?e du Centre':'HAC', 'Hawaii-Aleutian Daylight Time':'HADT', 'Heure Avanc?e de l\',Est':'HAE', 'Heure Avanc?e du Pacifique':'HAP', 'Heure Avanc?e des Rocheuses':'HAR', 'Hawaii-Aleutian Standard Time':'HAST', 'Heure Avanc?e de Terre-Neuve':'HAT', 'Heure Avanc?e du Yukon':'HAY', 'Heure Normale de l\',Atlantique':'HNA', 'Heure Normale du Centre':'HNC', 'Heure Normale de l\',Est':'HNE', 'Heure Normale du Pacifique':'HNP', 'Heure Normale des Rocheuses':'HNR', 'Heure Normale de Terre-Neuve':'HNT', 'Heure Normale du Yukon':'HNY', 'Irish Summer Time':'IST', 'Mountain Daylight Time':'MDT', 'Mitteleurop?ische Sommerzeit':'MESZ', 'Mitteleurop?ische Zeit':'MEZ', 'Mountain Standard Time':'MST', 'Newfoundland Daylight Time':'NDT', 'Norfolk (Island) Time':'NFT', 'Newfoundland Standard Time':'NST', 'Pacific Daylight Time':'PDT', 'Pacific Standard Time':'PST', 'Coordinated Universal Time':'UTC', 'Western European Daylight Time':'WEDT', 'Western European Summer Time':'WEST', 'Western European Time':'WET', 'Western Summer(Daylight) Time':'WST', 'Western Standard Time':'WST' }; this.getZone = function() { var tz = timezones[serverTime.toString().replace(/^.*\(|\)$/g, "")]; if(typeof(tz) == "undefined" || !tz){ var d = serverTime.toString(); tz = d.substr(d.length-8, 3); } if(typeof(tz) == "undefined"){ tz=""; } return tz; } this.timeZone = this.getZone(); var div=com.dowjones.rolloverQuotes.containerDoc().getElementById('rqContent') if(div){ div.innerHTML='
'+this.data.n.toUpperCase()+'
stock chart
'+((this.data.rts != 0) ? '
'+this.data.rtss+' '+com.dowjones.utils.SimpleDateFormat.format(this.data.rtd,"MM/dd/yy h:mm a ")+this.timeZone+'
'+this.data.rtl+''+ ((this.data.rta=='') ? '' : '')+'
Change% ChangeVolume
'+this.data.rtc+''+this.data.rtp+''+this.data.rtv+'
Source: Nasdaq Last Sale
' : '')+'
Comprehensive Quote '+com.dowjones.utils.SimpleDateFormat.format(this.data.d,"MM/dd/yy h:mm a ")+this.timeZone+'
LastChange% ChangeVolume
'+this.data.l+''+this.data.c+''+this.data.p+''+this.data.v+'' temp=temp+'
' temp=temp+'
' temp=temp+'Get: Full Research | ' temp=temp+'Price & Volume Alerts' temp=temp+'
' var div=com.dowjones.rolloverQuotes.containerDoc().getElementById('rqPromo') div.innerHTML = temp div.style.display='block' //temp=""; //temp=temp+'
' //temp=temp+'
' //temp=temp+'Snapshot quotes reflect real-time trades reported through Nasdaq only; ' //temp=temp+'Comprehensive quotes reflect trading in all markets(composite) and are delayed ' //temp=temp+'up to 20 minutes.' //temp=temp+'
' //temp=temp+'
' //div=com.dowjones.rolloverQuotes.containerDoc().getElementById('rqFootnote') //div.innerHTML = temp //div.style.display='block' }else{;if(com.dowjones.rolloverQuotes.attempts<5){;setTimeout("QUOTEJSON.callback()",100);}else{;com.dowjones.rolloverQuotes.showagain();};} }} QUOTEHEADLINEJSON={data:null,callback:function(){ var temp="" if(this.data.length>0){ temp=temp+'
' temp=temp+'
' temp=temp+'
Latest News:
' temp=temp+'' temp=temp+'
' temp=temp+'
' for(var a=0;a'+com.dowjones.utils.SimpleDateFormat.format(this.data[a].d,"dd-NNN")+'
'; } temp=temp+'
' temp=temp+'' } var div=com.dowjones.rolloverQuotes.containerDoc().getElementById('rqContentHeadlines') if(div){ if(QUOTEJSON.data==null){ com.dowjones.rolloverQuotes.containerDoc().getElementById('rqContent').innerHTML='
Sorry
' temp='
Unfortunately this service is unavailable temporally, please try later.
' } div.innerHTML=temp div.style.display=(this.data.length>0)?'block':'none'; com.dowjones.rolloverQuotes.adjustheight() setTimeout("com.dowjones.rolloverQuotes.adjustheight()",100) setTimeout("com.dowjones.rolloverQuotes.adjustheight()",500) com.dowjones.rolloverQuotes.inProgress=false }else{;if(com.dowjones.rolloverQuotes.attempts<5){;setTimeout("QUOTEHEADLINEJSON.callback()",100);}else{;com.dowjones.rolloverQuotes.showagain();};} }} QUOTEPRJSON={data:null,callback:function(){ var temp="" if(this.data.length>0){ temp=temp+'
' temp=temp+'
' temp=temp+'
Latest Press Release:
' temp=temp+'' temp=temp+'
' temp=temp+'
' for(var a=0;a'+com.dowjones.utils.SimpleDateFormat.format(this.data[a].d,"dd-NNN")+'
'; } temp=temp+'
' temp=temp+'' } var div=com.dowjones.rolloverQuotes.containerDoc().getElementById('rqContentPR') if(div){ if(QUOTEJSON.data==null){ com.dowjones.rolloverQuotes.containerDoc().getElementById('rqContent').innerHTML='
Sorry
' temp='
Unfortunately this service is unavailable temporally, please try later.
' } div.innerHTML=temp div.style.display=(this.data.length>0)?'block':'none'; com.dowjones.rolloverQuotes.adjustheight() setTimeout("com.dowjones.rolloverQuotes.adjustheight()",100) setTimeout("com.dowjones.rolloverQuotes.adjustheight()",500) com.dowjones.rolloverQuotes.inProgress=false }else{;if(com.dowjones.rolloverQuotes.attempts<5){;setTimeout("QUOTEPRJSON.callback()",100);}else{;com.dowjones.rolloverQuotes.showagain();};} }} SetCookie("CRS","","1m-");SetCookie("CRT","","1m-");$import("/public/quotes/json.html?type="+this.type+"&symbol="+this.symbol+"&r="+new Date().getTime(),'rcq',((this.useIframe)?false:true)) }else{;window.clearTimeout(this.inProgressTimer);this.inProgressTimer=setTimeout("com.dowjones.rolloverQuotes.fetch()",100);} }, adjustheight:function(){ this.container.style.height="0px";this.container.style.height=(this.containerBody().scrollHeight)+"px" if(((com.dowjones.utils.objDimensions.top(this.container)-((typeof window.pageYOffset!='undefined')?window.pageYOffset:((typeof document.documentElement!='undefined')?document.documentElement.scrollTop:document.body.scrollTop)))+com.dowjones.utils.objDimensions.height(this.container))>((navigator.userAgent.indexOf("Mac")>0)?((typeof window.innerHeight!='undefined')?window.innerHeight:document.body.clientHeight):((typeof window.innerHeight!='undefined')?window.innerHeight:((document.documentElement)?document.documentElement.clientHeight:document.body.offsetHeight)))){ this.container.style.top=((((navigator.userAgent.indexOf("Mac")>0)?((typeof window.innerHeight!='undefined')?window.innerHeight:document.body.clientHeight):((typeof window.innerHeight!='undefined')?window.innerHeight:((document.documentElement)?document.documentElement.clientHeight:document.body.offsetHeight)))-com.dowjones.utils.objDimensions.height(this.container))+((typeof window.pageYOffset!='undefined')?window.pageYOffset:((typeof document.documentElement!='undefined')?document.documentElement.scrollTop:document.body.scrollTop))-4)+"px" } } } _:http://s.wsj.net/javascript/com/dowjones/rolloverQuotes.js RSTObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.17_Wed, 13 Dec 2006 22:38:28 GMTZkeep-alive]max-age=17692_Tue, 05 Feb 2008 15:22:09 GMTS537_Tue, 05 Feb 2008 20:17:01 GMT]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd  %1357kpy   '5@NSbjo|tOcom.dowjones.mouse={ x:0,y:0, set:function(e){ if(typeof event!='undefined'&&typeof event.clientX!='undefined'){ com.dowjones.mouse.x=event.clientX+document.body.scrollLeft com.dowjones.mouse.y=event.clientY+document.body.scrollTop } else { com.dowjones.mouse.x=e.pageX com.dowjones.mouse.y=e.pageY } return true }, init:function(){ if(typeof document.captureEvents!='undefined') document.captureEvents(Event.MOUSEMOVE) document.onmousemove=this.set } } com.dowjones.mouse.init()_1http://s.wsj.net/javascript/com/dowjones/mouse.js VWXObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.18_Sun, 30 Sep 2007 13:37:48 GMTUclose\max-age=8545_Tue, 05 Feb 2008 19:41:29 GMTS491_Tue, 05 Feb 2008 22:03:54 GMT]ht sfo-cog-n2_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd  %1357y~    "$&(*,.5CN\apx}tOcom.dowjones.utils.objDimensions={ top:function(o){ var p=true var i=0 while(p&&o.tagName!="BODY"&&o.tagName!="HTML"){ i+=o.offsetTop if(o.offsetParent!=null) o=o.offsetParent else p=false } return i }, left:function(o){ var i=0 while(o.tagName!="BODY"&&o.tagName!="HTML"){ i+=o.offsetLeft o=o.offsetParent } return i }, height:function(o){ return o.offsetHeight }, width:function(o){ return o.offsetWidth } } _?http://s.wsj.net/javascript/com/dowjones/utils/objDimensions.js Z[\Opbplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Wed, 13 Dec 2006 22:38:29 GMTZkeep-alive]max-age=19097_Tue, 05 Feb 2008 15:22:09 GMTS729_Tue, 05 Feb 2008 20:40:26 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;  ')+-/13579;=?AH[it"&FXf -26J|XOcom.dowjones.utils.SimpleDateFormat={ nibbles:{}, character:"", output:"", index:0, labels:{month:['January','February','March','April','May','June','July','August','September','October','November','December','Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],day:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sun','Mon','Tue','Wed','Thu','Fri','Sat']}, doubleDigit:function(x){return(x<0||x>9?"":"0")+x}, format:function(date,f){ f=f+"" this.output="" this.index=0 var token="" var y=date.getYear()+"" var M=date.getMonth()+1 var E=date.getDay() var H=date.getHours() var m=date.getMinutes() var s=date.getSeconds() y="".concat((y.length < 4)?(y-0+1900):y) this.nibbles["y"]=y this.nibbles["yyyy"]=y this.nibbles["yy"]=y.substring(2,4) this.nibbles["M"]=M this.nibbles["MM"]=this.doubleDigit(M) this.nibbles["MMM"]=this.labels.month[M-1] this.nibbles["NNN"]=this.labels.month[M+11] this.nibbles["d"]=date.getDate() this.nibbles["dd"]=this.doubleDigit(date.getDate()) this.nibbles["E"]=this.labels.day[E+7] this.nibbles["EE"]=this.labels.day[E] this.nibbles["H"]=H this.nibbles["HH"]=this.doubleDigit(H) this.nibbles["h"]=(H==0)?12:((H>12)?H-12:H) this.nibbles["hh"]=this.doubleDigit(this.nibbles["h"]) this.nibbles["K"]=(H>11)?(H-12):H this.nibbles["k"]=H+1 this.nibbles["KK"]=this.doubleDigit(this.nibbles["K"]) this.nibbles["kk"]=this.doubleDigit(this.nibbles["k"]) this.nibbles["a"]=(H > 11)?"PM":"AM" this.nibbles["m"]=m this.nibbles["mm"]=this.doubleDigit(m) this.nibbles["s"]=s this.nibbles["ss"]=this.doubleDigit(s) while(this.index?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Tue, 06 Feb 2007 22:58:11 GMTZkeep-alive]max-age=17762_Tue, 05 Feb 2008 15:22:09 GMTS593_Tue, 05 Feb 2008 20:18:11 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;ot}  "$&(*,.07JXcqv5GU!%9|GOocom.dowjones.video={ articlePlayer:{ src:"http://services.brightcove.com/services/viewer/federated_f8/452319854", flashVars:"playerId=452319854&viewerSecureGatewayURL=https://services.brightcove.com/services/amfgateway&servicesURL=http://services.brightcove.com/services&cdnURL=http://admin.brightcove.com&domain=embed&autoStart=false&videoId=", base:"http://admin.brightcove.com", name:"flashObj", bgcolor:"#FFFFFF", pluginspage:"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash", draw:function(v,w,h,a,t,c){;document.write(this.code(v,w,h,a,t,c));}, code:function(v,w,h,a,t,c){;a=(a=='none')?"":('align="'+a+'"');return '
'+c+'
';} } } _1http://s.wsj.net/javascript/com/dowjones/video.js bcdONbplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Thu, 26 Jul 2007 13:48:53 GMTZkeep-alive]max-age=17813_Tue, 05 Feb 2008 15:22:09 GMTT1258_Tue, 05 Feb 2008 20:19:02 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;]bkvz  %8FQ_ds{$6D (|6O?// Function for Header Search Boxes and Advanced Search Page Quote Search (Right Hand Column) function checkSymbol(){ checkSymbolGeneric('US_search','fund_search') } function checkCRSymbol(PassedForm1,PassedForm2){ eval("var form1=window.document."+PassedForm1+";") eval("var form2=window.document."+PassedForm2+";") var sym = form1['symbol_or_name'].value; var outString; var frontIndex = 0 var backIndex = sym.length - 1; while (sym.charAt( frontIndex ) == " " || sym.charAt( frontIndex ) == "\t" || sym.charAt( frontIndex ) == "\n" || sym.charAt( frontIndex ) == "\r") { frontIndex++; } while (sym.charAt( backIndex ) == " " || sym.charAt( backIndex ) == "\t" || sym.charAt( backIndex ) == "\n" || sym.charAt( backIndex ) == "\r" ) { backIndex--; } sym = sym.substring( frontIndex, (backIndex + 1) ); // Catches user entry of all whitespace - All whitespace searches will cause company research page to display incorrectly if (backIndex < 0){ alert ("Please enter a name or symbol."); return false; } // Catches user entry of all Mutual Fund Symbols if ( (form1.elements["sym_name_switch"][0].value=='symbol') && (form1.elements["sym_name_switch"][0].checked) && (sym.length == 5) && (sym.charAt(4) == 'x' || sym.charAt(4) == 'X') && !(sym.charAt(3) == 'x' || sym.charAt(3) == 'X') && (sym.indexOf(" ") <0) && (sym.indexOf(".") <0)){ form2.sym.value = sym; form2.submit(); return false; } } function checkSymbolGeneric(PassedForm1,PassedForm2){ eval("var form1=window.document."+PassedForm1+";") eval("var form2=window.document."+PassedForm2+";") var sym = form1['transform-value-quote-search'].value; var outString; var frontIndex = 0 var backIndex = sym.length - 1; while (sym.charAt( frontIndex ) == " " || sym.charAt( frontIndex ) == "\t" || sym.charAt( frontIndex ) == "\n" || sym.charAt( frontIndex ) == "\r") { frontIndex++; } while (sym.charAt( backIndex ) == " " || sym.charAt( backIndex ) == "\t" || sym.charAt( backIndex ) == "\n" || sym.charAt( backIndex ) == "\r" ) { backIndex--; } sym = sym.substring( frontIndex, (backIndex + 1) ); // Catches user entry of all whitespace - All whitespace searches will cause company research page to display incorrectly if (backIndex < 0){ alert ("Please enter a name or symbol."); return false; } // Catches user entry of all Mutual Fund Symbols if ( ( (form1.elements["transform-name-quote-search"][0] && form1.elements["transform-name-quote-search"][0].checked) || ( form1.elements["transform-name-quote-search"].value && form1.elements["transform-name-quote-search"].value=='nvp-set-p-sym') ) && (sym.length == 5) && (sym.charAt(4) == 'x' || sym.charAt(4) == 'X') && !(sym.charAt(3) == 'x' || sym.charAt(3) == 'X') && (sym.indexOf(" ") <0) && (sym.indexOf(".") <0)){ form2.sym.value = sym; if(/^\/page/.test(form2.action)) {; form2.action = "/fund" + form2.action; } form2.submit(); } // Changes station based on radio button selected else if ( (form1.elements["transform-name-quote-search"][0] && form1.elements["transform-name-quote-search"][0].checked ) || ( form1.elements["transform-name-quote-search"].value && form1.elements["transform-name-quote-search"].value=='nvp-set-p-sym' ) ) { form1.elements["route"].value="BOH"; form1.submit(); } else { form1.elements["route"].value="BOEH"; form1.submit(); } } // Function for lib_Fund_Search_Box Module function checkSymbol_moduleForm(){ var form1=window.document.second_US_search; var form2=window.document.second_fund_search; var sym = form1['transform-value-quote-search'].value; var outString; var frontIndex = 0 var backIndex = sym.length - 1; while (sym.charAt( frontIndex ) == " " || sym.charAt( frontIndex ) == "\t" || sym.charAt( frontIndex ) == "\n" || sym.charAt( frontIndex ) == "\r") { frontIndex++; } while (sym.charAt( backIndex ) == " " || sym.charAt( backIndex ) == "\t" || sym.charAt( backIndex ) == "\n" || sym.charAt( backIndex ) == "\r" ) { backIndex--; } sym = sym.substring( frontIndex, (backIndex + 1) ); // Catches user entry of all whitespace - All whitespace searches will cause company research page to display incorrectly if (backIndex < 0){ alert ("Please enter a name or symbol."); return false; } // Catches user entry of all Mutual Fund Symbols if ( (form1.elements["transform-name-quote-search"][0]&&form1.elements["transform-name-quote-search"][0].checked) && (sym.length == 5) && (sym.charAt(4) == 'x' || sym.charAt(4) == 'X') && (sym.indexOf(" ") <0) && (sym.indexOf(".") <0)){ form2.sym.value = sym; form2.submit(); } // Changes station based on radio button selected else if (form1.elements["transform-name-quote-search"][0]){ if ( form1.elements["transform-name-quote-search"][0].checked) { form1.elements["route"].value="BOH"; form1.submit(); } else { form1.elements["route"].value="BOEH"; form1.submit(); } } } // Function for Public Searches 'qsearch' function q(){ var qform=window.document.qsearch; var sym = qform['transform-value-quote-search'].value; var outString; var frontIndex = 0 var backIndex = sym.length - 1; while (sym.charAt( frontIndex ) == " " || sym.charAt( frontIndex ) == "\t" || sym.charAt( frontIndex ) == "\n" || sym.charAt( frontIndex ) == "\r") { frontIndex++; } while (sym.charAt( backIndex ) == " " || sym.charAt( backIndex ) == "\t" || sym.charAt( backIndex ) == "\n" || sym.charAt( backIndex ) == "\r" ) { backIndex--; } sym = sym.substring( frontIndex, (backIndex + 1) ); // Catches user entry of all whitespace - All whitespace searches will cause company research page to display incorrectly if (backIndex < 0){ alert ("Please enter a name or symbol."); return false; } // Changes station based on radio button selected // If name radio button is checked else if(qform.elements[10].checked==true) { qform.elements["route"].value="BEH"; qform.elements["transform-name-quote-search"].value="nvp-no-set-p-name"; qform.submit(); } else { qform.elements["route"].value="BOH"; qform.elements["transform-name-quote-search"].value="nvp-set-p-sym"; qform.submit(); } } // Broad Search function trim_it(){ var form1=window.document.BroadSearch; var sym = form1['transform-value-quote-search'].value; var outString; var frontIndex = 0 var backIndex = sym.length - 1; while (sym.charAt( frontIndex ) == " " || sym.charAt( frontIndex ) == "\t" || sym.charAt( frontIndex ) == "\n" || sym.charAt( frontIndex ) == "\r") { frontIndex++; } while (sym.charAt( backIndex ) == " " || sym.charAt( backIndex ) == "\t" || sym.charAt( backIndex ) == "\n" || sym.charAt( backIndex ) == "\r" ) { backIndex--; } sym = sym.substring( frontIndex, (backIndex + 1) ); // Catches user entry of all whitespace - All whitespace searches will cause company research page to display incorrectly if (backIndex < 0){ alert ("Please enter a name or symbol."); return false; } else { form1.submit(); } } _http://s.wsj.net/quotesearch.js fghHObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.17_Thu, 03 Jan 2008 22:09:46 GMTZkeep-alive]max-age=40648_Tue, 05 Feb 2008 15:22:09 GMTT3088_Wed, 06 Feb 2008 02:39:37 GMT]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd  %1357chq|'5:IQVcgruz~tO GIF89a>Z.qZ1cso1ZRc!ՄޙcJk{Ƶ眜 :e,>@pH,Ȥrl:ШtJZجvzxL.zn|Nxw#~{EBB EFOEIE 1ھla1# (o3jH`cF:z pqȉJzTQH0*0b2&5AP`cthD^-jĦu"9$ 0 2$Ԍ<ؔ(uUxI`Ah:R|\`(W"Iaȁ DrN)vSb0I:BQ3ڕtFlQwdp<@ ){vyN&Bz3bz[@RM'6ZzhTVi5 uVF4Y[,ٷQSqx_g ~he^Fd几f4fF= )cl4]ԕfb&8DDM7Fe7E%ii8'ԅ(&t0 aafZXDG]ىS5|Rnf.q T/}#ڶjDiGzZo1>m/L  6>. 8Ly;_b3Jtڡ$:::u+jZT>f'NSkR hÝvdUG[kn 0e,A`A["xV>a2BXISIinrc5 /N S10FQs#X=C4O\\Fh bd߸O&Z#) ȣ΀G!>FriBU6R@$]G3F0" Aɏ$환YŬߌXyE.lo>IPNll["f(I)@Ғ3PPb]&!QlhfS)>cJڠ~NyYNe$   JRO3l XPN1~IMY.޲R P",`F(bHDgM0riPFLJbCq5?}K++k<+}j:B{jOT }ħeuV&4,㕨 ќ z<39V I)FPn"uIx )VGxvZS, ;7DfutYbB@2EfڳZu9e-R#t$6 enQ힗z3@wCQjƑ%k!] u`u>޻(Umi%B*NyuW᥽ L: XPLn|3v*r`7"P)i@G ȏ+;̤rܡS9ē=Bg8]R9SJPnrc<8aF #rڂɜ;-/Þ7I~2wfCIHS 3]JKcIBYB8OQ. AD.f3b,b1`n\V"q)5 S{VJ[Bl'Q o؊'zyQ0Z_ +?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.18Tgzip_Thu, 18 Oct 2007 22:00:34 GMTUclose]max-age=15522_Tue, 05 Feb 2008 19:41:29 GMTT1055_Wed, 06 Feb 2008 00:00:11 GMT_Accept-Encoding]ht sfo-cog-n2_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;}   $&(*,.02468:<>EXfq?Q_ &+/C|QOcom.dowjones.utils.MarketingZone=function(){ mktg_zone= new Array(); var partners = new Array('yahoo', 'google', 'msn', 'other'); this.mktgZone =""; this.init = function () { // full denial BOL mktg_zone["full_denial_bol"]="bol_fullfree"; mktg_zone["full_denial_other_bol"]="bol_fullfree"; mktg_zone["full_denial_yahoo_bol"]="yahoo_bolfullfree"; mktg_zone["full_denial_google_bol"]="google_bolfullfree"; mktg_zone["full_denial_msn_bol"]="msn_bolfullfree"; // full denial others mktg_zone["full_denial_other"]="wsjexp_fullfree"; mktg_zone["full_denial_yahoo"]="yahoo_wsjexpfullfree"; mktg_zone["full_denial_google"]="google_wsjexpfullfree"; mktg_zone["full_denial_msn"]="msn_wsjexpfullfree"; // full mktg_zone["full_yahoo"]="yahoo_fullfree"; mktg_zone["full_google"]="google_fullfree"; mktg_zone["full_msn"]="msn_fullfree"; mktg_zone["full_other"]="wsjfreezone"; //preview denial BOL mktg_zone["denial_bol"]="bol_prev"; mktg_zone["denial_other_bol"]="bol_prev"; mktg_zone["denial_yahoo_bol"]="yahoo_bolprev"; mktg_zone["denial_google_bol"]="google_bolprev"; mktg_zone["denial_msn_bol"]="msn_bolprev"; // preview denial others mktg_zone["denial_other"]="wsjexp_prev"; mktg_zone["denial_yahoo"]="yahoo_wsjexpprev"; mktg_zone["denial_google"]="google_wsjexpprev"; mktg_zone["denial_msn"]="msn_wsjexpprev"; // preview mktg_zone["yahoo"]="yahoo"; mktg_zone["google"]="google"; mktg_zone["msn"]="msn"; mktg_zone["other"]="b2pfreezone"; } this.getPartner = function(modparam) { var localMod=""; // see if the mod is one of the partners (google, yahoo, msn) if(modparam != null && modparam.length > 0) { for (var i=0; i<(partners).length; i++) { if (modparam.indexOf(partners[i]) > -1 ) { localMod = partners[i]; break; } } } //alert('partner=' + localMod); return ( (localMod==null || localMod.length<1) ? "other":localMod ); } this.setZone = function(mod) { this.mktgZone=mktg_zone[mod]; //alert('zone = ' + this.mktgZone); } this.getZone = function() { this.setMktgZone(); //alert('returning zone = ' + this.mktgZone); return this.mktgZone; } this.setMktgZone = function() { this.init(); var localDenial = (typeof isDenial)=='undefined'?false:isDenial; var localFree = (typeof isFree)=='undefined'?false:isFree; var localTrial = (typeof isTrial)=='undefined'?false:isTrial; var modParam = GetArg("mod"); // check if the mod is one of the partners (google, yahoo, msn) var whichMod = this.getPartner(modParam); var mod=""; if (localDenial) { mod += "denial_"; mod += whichMod; // denial_yahoo, denial_other // use laserAPI to check for Barron's product var localLaserBOL=(typeof laserJ4J=='object')?laserJ4J.isLoggedIn('Barrons'):false; var user=(typeof laserJ4J=='object')?laserJ4J.getUser():null; var localLaserWSJ=(typeof laserJ4J=='object')?laserJ4J.isLoggedIn('WSJ'):false; if ( localLaserBOL ) { mod+="_bol"; //denial_yahoo_bol, denial_other_bol } } else if ( user != null && ! localLaserBOL && ! localLaserWSJ) { mod+="denial_"; mod+=whichMod; } else if (document.cookie.indexOf("reactivation=/myaccount/do/reactivate") != -1 ) { mod+="denial_"; mod+=whichMod; } else { mod+=whichMod; //yahoo, other } if ( localFree || localTrial ) { mod="full_"+mod; //full_denial_yahoo, full_denial_yahoo_bol, full_yahoo } this.setZone(mod); } } _?http://s.wsj.net/javascript/com/dowjones/utils/MarketingZone.js nopO[bplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Fri, 16 Nov 2007 00:13:20 GMTZkeep-alive]max-age=17630_Tue, 05 Feb 2008 15:22:10 GMTU50040_Tue, 05 Feb 2008 20:16:00 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd#+79;=inw "$&(*1DR]kp 1CQ!5|CÒ if(typeof YAHOO=="undefined"){var YAHOO={};} YAHOO.namespace=function(){var a=arguments,o=null,i,j,d;for(i=0;i-1),isSafari=(ua.indexOf('safari')>-1),isGecko=(!isOpera&&!isSafari&&ua.indexOf('gecko')>-1),isIE=(!isOpera&&ua.indexOf('msie')>-1);var patterns={HYPHEN:/(-[a-z])/i};var toCamel=function(property){if(!patterns.HYPHEN.test(property)){return property;} if(propertyCache[property]){return propertyCache[property];} while(patterns.HYPHEN.exec(property)){property=property.replace(RegExp.$1,RegExp.$1.substr(1).toUpperCase());} propertyCache[property]=property;return property;};if(document.defaultView&&document.defaultView.getComputedStyle){getStyle=function(el,property){var value=null;var computed=document.defaultView.getComputedStyle(el,'');if(computed){value=computed[toCamel(property)];} return el.style[property]||value;};}else if(document.documentElement.currentStyle&&isIE){getStyle=function(el,property){switch(toCamel(property)){case'opacity':var val=100;try{val=el.filters['DXImageTransform.Microsoft.Alpha'].opacity;}catch(e){try{val=el.filters('alpha').opacity;}catch(e){}} return val/100;break;default:var value=el.currentStyle?el.currentStyle[property]:null;return(el.style[property]||value);}};}else{getStyle=function(el,property){return el.style[property];};} if(isIE){setStyle=function(el,property,val){switch(property){case'opacity':if(typeof el.style.filter=='string'){el.style.filter='alpha(opacity='+val*100+')';if(!el.currentStyle||!el.currentStyle.hasLayout){el.style.zoom=1;}} break;default:el.style[property]=val;}};}else{setStyle=function(el,property,val){el.style[property]=val;};} YAHOO.util.Dom={get:function(el){if(!el){return null;} if(typeof el!='string'&&!(el instanceof Array)){return el;} if(typeof el=='string'){return document.getElementById(el);} else{var collection=[];for(var i=0,len=el.length;i=this.left&®ion.right<=this.right&®ion.top>=this.top&®ion.bottom<=this.bottom);};YAHOO.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left));};YAHOO.util.Region.prototype.intersect=function(region){var t=Math.max(this.top,region.top);var r=Math.min(this.right,region.right);var b=Math.min(this.bottom,region.bottom);var l=Math.max(this.left,region.left);if(b>=t&&r>=l){return new YAHOO.util.Region(t,r,b,l);}else{return null;}};YAHOO.util.Region.prototype.union=function(region){var t=Math.min(this.top,region.top);var r=Math.max(this.right,region.right);var b=Math.max(this.bottom,region.bottom);var l=Math.min(this.left,region.left);return new YAHOO.util.Region(t,r,b,l);};YAHOO.util.Region.prototype.toString=function(){return("Region {"+"top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+"}");};YAHOO.util.Region.getRegion=function(el){var p=YAHOO.util.Dom.getXY(el);var t=p[1];var r=p[0]+el.offsetWidth;var b=p[1]+el.offsetHeight;var l=p[0];return new YAHOO.util.Region(t,r,b,l);};YAHOO.util.Point=function(x,y){if(x instanceof Array){y=x[1];x=x[0];} this.x=this.right=this.left=this[0]=x;this.y=this.top=this.bottom=this[1]=y;};YAHOO.util.Point.prototype=new YAHOO.util.Region();YAHOO.util.CustomEvent=function(type,oScope,silent,signature){this.type=type;this.scope=oScope||window;this.silent=silent;this.signature=signature||YAHOO.util.CustomEvent.LIST;this.subscribers=[];if(!this.silent){} var onsubscribeType="_YUICEOnSubscribe";if(type!==onsubscribeType){this.subscribeEvent=new YAHOO.util.CustomEvent(onsubscribeType,this,true);}};YAHOO.util.CustomEvent.LIST=0;YAHOO.util.CustomEvent.FLAT=1;YAHOO.util.CustomEvent.prototype={subscribe:function(fn,obj,override){if(this.subscribeEvent){this.subscribeEvent.fire(fn,obj,override);} this.subscribers.push(new YAHOO.util.Subscriber(fn,obj,override));},unsubscribe:function(fn,obj){var found=false;for(var i=0,len=this.subscribers.length;i0){param=args[0];} ret=s.fn.call(scope,param,s.obj);}else{ret=s.fn.call(scope,this.type,args,s.obj);} if(false===ret){if(!this.silent){} return false;}}} return true;},unsubscribeAll:function(){for(var i=0,len=this.subscribers.length;i=0){cacheItem=listeners[index];} if(!el||!cacheItem){return false;} if(this.useLegacyEvent(el,sType)){var legacyIndex=this.getLegacyIndex(el,sType);var llist=legacyHandlers[legacyIndex];if(llist){for(i=0,len=llist.length;i0);} var notAvail=[];for(var i=0,len=onAvailStack.length;i0){for(var i=0,len=listeners.length;i0){j=listeners.length;while(j){index=j-1;l=listeners[index];if(l){EU.removeListener(l[EU.EL],l[EU.TYPE],l[EU.FN],index);} j=j-1;} l=null;EU.clearCache();} for(i=0,len=legacyEvents.length;irightConstraint){x=rightConstraint;} if(ybottomConstraint){y=bottomConstraint;} this.cfg.setProperty("x",x,true);this.cfg.setProperty("y",y,true);this.cfg.setProperty("xy",[x,y],true);};YAHOO.widget.Overlay.prototype.center=function(){var scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;var scrollY=document.documentElement.scrollTop||document.body.scrollTop;var viewPortWidth=YAHOO.util.Dom.getClientWidth();var viewPortHeight=YAHOO.util.Dom.getClientHeight();var elementWidth=this.element.offsetWidth;var elementHeight=this.element.offsetHeight;var x=(viewPortWidth/2)-(elementWidth/2)+scrollX;var y=(viewPortHeight/2)-(elementHeight/2)+scrollY;this.cfg.setProperty("xy",[parseInt(x,10),parseInt(y,10)]);this.cfg.refireEvent("iframe");};YAHOO.widget.Overlay.prototype.syncPosition=function(){var pos=YAHOO.util.Dom.getXY(this.element);this.cfg.setProperty("x",pos[0],true);this.cfg.setProperty("y",pos[1],true);this.cfg.setProperty("xy",pos,true);};YAHOO.widget.Overlay.prototype.onDomResize=function(e,obj){YAHOO.widget.Overlay.superclass.onDomResize.call(this,e,obj);var me=this;setTimeout(function(){me.syncPosition();me.cfg.refireEvent("iframe");me.cfg.refireEvent("context");},0);};YAHOO.widget.Overlay.prototype.destroy=function(){if(this.iframe){this.iframe.parentNode.removeChild(this.iframe);} this.iframe=null;YAHOO.widget.Overlay.windowResizeEvent.unsubscribe(this.doCenterOnDOMEvent,this);YAHOO.widget.Overlay.windowScrollEvent.unsubscribe(this.doCenterOnDOMEvent,this);YAHOO.widget.Overlay.superclass.destroy.call(this);};YAHOO.widget.Overlay.prototype.toString=function(){return"Overlay "+this.id;};YAHOO.widget.Overlay.windowScrollEvent=new YAHOO.util.CustomEvent("windowScroll");YAHOO.widget.Overlay.windowResizeEvent=new YAHOO.util.CustomEvent("windowResize");YAHOO.widget.Overlay.windowScrollHandler=function(e){if(YAHOO.widget.Module.prototype.browser=="ie"||YAHOO.widget.Module.prototype.browser=="ie7"){if(!window.scrollEnd){window.scrollEnd=-1;} clearTimeout(window.scrollEnd);window.scrollEnd=setTimeout(function(){YAHOO.widget.Overlay.windowScrollEvent.fire();},1);}else{YAHOO.widget.Overlay.windowScrollEvent.fire();}};YAHOO.widget.Overlay.windowResizeHandler=function(e){if(YAHOO.widget.Module.prototype.browser=="ie"||YAHOO.widget.Module.prototype.browser=="ie7"){if(!window.resizeEnd){window.resizeEnd=-1;} clearTimeout(window.resizeEnd);window.resizeEnd=setTimeout(function(){YAHOO.widget.Overlay.windowResizeEvent.fire();},100);}else{YAHOO.widget.Overlay.windowResizeEvent.fire();}};YAHOO.widget.Overlay._initialized=null;if(YAHOO.widget.Overlay._initialized===null){YAHOO.util.Event.addListener(window,"scroll",YAHOO.widget.Overlay.windowScrollHandler);YAHOO.util.Event.addListener(window,"resize",YAHOO.widget.Overlay.windowResizeHandler);YAHOO.widget.Overlay._initialized=true;} YAHOO.widget.OverlayManager=function(userConfig){this.init(userConfig);};YAHOO.widget.OverlayManager.CSS_FOCUSED="focused";YAHOO.widget.OverlayManager.prototype={constructor:YAHOO.widget.OverlayManager,overlays:null,initDefaultConfig:function(){this.cfg.addProperty("overlays",{suppressEvent:true});this.cfg.addProperty("focusevent",{value:"mousedown"});},init:function(userConfig){this.cfg=new YAHOO.util.Config(this);this.initDefaultConfig();if(userConfig){this.cfg.applyConfig(userConfig,true);} this.cfg.fireQueue();var activeOverlay=null;this.getActive=function(){return activeOverlay;};this.focus=function(overlay){var o=this.find(overlay);if(o){this.blurAll();activeOverlay=o;YAHOO.util.Dom.addClass(activeOverlay.element,YAHOO.widget.OverlayManager.CSS_FOCUSED);this.overlays.sort(this.compareZIndexDesc);var topZIndex=YAHOO.util.Dom.getStyle(this.overlays[0].element,"zIndex");if(!isNaN(topZIndex)&&this.overlays[0]!=overlay){activeOverlay.cfg.setProperty("zIndex",(parseInt(topZIndex,10)+2));} this.overlays.sort(this.compareZIndexDesc);}};this.remove=function(overlay){var o=this.find(overlay);if(o){var originalZ=YAHOO.util.Dom.getStyle(o.element,"zIndex");o.cfg.setProperty("zIndex",-1000,true);this.overlays.sort(this.compareZIndexDesc);this.overlays=this.overlays.slice(0,this.overlays.length-1);o.cfg.setProperty("zIndex",originalZ,true);o.cfg.setProperty("manager",null);o.focusEvent=null;o.blurEvent=null;o.focus=null;o.blur=null;}};this.blurAll=function(){activeOverlay=null;for(var o=0;o0){return true;}}else{return false;}},find:function(overlay){if(overlay instanceof YAHOO.widget.Overlay){for(var o=0;ozIndex2){return-1;}else if(zIndex1";this.body.innerHTML+=formHTML;form=this.element.getElementsByTagName("FORM")[0];} this.firstFormElement=function(){for(var f=0;f=0;f--){var el=form.elements[f];if(el.focus&&!el.disabled){if(el.type&&el.type!="hidden"){return el;}}} return null;}();this.form=form;if(this.cfg.getProperty("modal")&&this.form){var me=this;var firstElement=this.firstFormElement||this.firstButton;if(firstElement){this.preventBackTab=new YAHOO.util.KeyListener(firstElement,{shift:true,keys:9},{fn:me.focusLast,scope:me,correctScope:true});this.showEvent.subscribe(this.preventBackTab.enable,this.preventBackTab,true);this.hideEvent.subscribe(this.preventBackTab.disable,this.preventBackTab,true);} var lastElement=this.lastButton||this.lastFormElement;if(lastElement){this.preventTabOut=new YAHOO.util.KeyListener(lastElement,{shift:false,keys:9},{fn:me.focusFirst,scope:me,correctScope:true});this.showEvent.subscribe(this.preventTabOut.enable,this.preventTabOut,true);this.hideEvent.subscribe(this.preventTabOut.disable,this.preventTabOut,true);}}};YAHOO.widget.Dialog.prototype.configClose=function(type,args,obj){var val=args[0];var doCancel=function(e,obj){obj.cancel();};if(val){if(!this.close){this.close=document.createElement("DIV");YAHOO.util.Dom.addClass(this.close,"close");if(this.isSecure){YAHOO.util.Dom.addClass(this.close,"secure");}else{YAHOO.util.Dom.addClass(this.close,"nonsecure");} this.close.innerHTML=" ";this.innerElement.appendChild(this.close);YAHOO.util.Event.addListener(this.close,"click",doCancel,this);}else{this.close.style.display="block";}}else{if(this.close){this.close.style.display="none";}}};YAHOO.widget.Dialog.prototype.configButtons=function(type,args,obj){var buttons=args[0];if(buttons!="none"){this.buttonSpan=null;this.buttonSpan=document.createElement("SPAN");this.buttonSpan.className="button-group";for(var b=0;b";};YAHOO.widget.SimpleDialog.prototype.configIcon=function(type,args,obj){var icon=args[0];if(icon&&icon!="none"){var iconHTML="";this.body.innerHTML=iconHTML+this.body.innerHTML;}};YAHOO.widget.SimpleDialog.prototype.configText=function(type,args,obj){var text=args[0];if(text){this.setBody(text);this.cfg.refireEvent("icon");}};YAHOO.widget.SimpleDialog.prototype.toString=function(){return"SimpleDialog "+this.id;};YAHOO.widget.ContainerEffect=function(overlay,attrIn,attrOut,targetElement,animClass){if(!animClass){animClass=YAHOO.util.Anim;} this.overlay=overlay;this.attrIn=attrIn;this.attrOut=attrOut;this.targetElement=targetElement||overlay.element;this.animClass=animClass;};YAHOO.widget.ContainerEffect.prototype.init=function(){this.beforeAnimateInEvent=new YAHOO.util.CustomEvent("beforeAnimateIn");this.beforeAnimateOutEvent=new YAHOO.util.CustomEvent("beforeAnimateOut");this.animateInCompleteEvent=new YAHOO.util.CustomEvent("animateInComplete");this.animateOutCompleteEvent=new YAHOO.util.CustomEvent("animateOutComplete");this.animIn=new this.animClass(this.targetElement,this.attrIn.attributes,this.attrIn.duration,this.attrIn.method);this.animIn.onStart.subscribe(this.handleStartAnimateIn,this);this.animIn.onTween.subscribe(this.handleTweenAnimateIn,this);this.animIn.onComplete.subscribe(this.handleCompleteAnimateIn,this);this.animOut=new this.animClass(this.targetElement,this.attrOut.attributes,this.attrOut.duration,this.attrOut.method);this.animOut.onStart.subscribe(this.handleStartAnimateOut,this);this.animOut.onTween.subscribe(this.handleTweenAnimateOut,this);this.animOut.onComplete.subscribe(this.handleCompleteAnimateOut,this);};YAHOO.widget.ContainerEffect.prototype.animateIn=function(){this.beforeAnimateInEvent.fire();this.animIn.animate();};YAHOO.widget.ContainerEffect.prototype.animateOut=function(){this.beforeAnimateOutEvent.fire();this.animOut.animate();};YAHOO.widget.ContainerEffect.prototype.handleStartAnimateIn=function(type,args,obj){};YAHOO.widget.ContainerEffect.prototype.handleTweenAnimateIn=function(type,args,obj){};YAHOO.widget.ContainerEffect.prototype.handleCompleteAnimateIn=function(type,args,obj){};YAHOO.widget.ContainerEffect.prototype.handleStartAnimateOut=function(type,args,obj){};YAHOO.widget.ContainerEffect.prototype.handleTweenAnimateOut=function(type,args,obj){};YAHOO.widget.ContainerEffect.prototype.handleCompleteAnimateOut=function(type,args,obj){};YAHOO.widget.ContainerEffect.prototype.toString=function(){var output="ContainerEffect";if(this.overlay){output+=" ["+this.overlay.toString()+"]";} return output;};YAHOO.widget.ContainerEffect.FADE=function(overlay,dur){var fade=new YAHOO.widget.ContainerEffect(overlay,{attributes:{opacity:{from:0,to:1}},duration:dur,method:YAHOO.util.Easing.easeIn},{attributes:{opacity:{to:0}},duration:dur,method:YAHOO.util.Easing.easeOut},overlay.element);fade.handleStartAnimateIn=function(type,args,obj){YAHOO.util.Dom.addClass(obj.overlay.element,"hide-select");if(!obj.overlay.underlay){obj.overlay.cfg.refireEvent("underlay");} if(obj.overlay.underlay){obj.initialUnderlayOpacity=YAHOO.util.Dom.getStyle(obj.overlay.underlay,"opacity");obj.overlay.underlay.style.filter=null;} YAHOO.util.Dom.setStyle(obj.overlay.element,"visibility","visible");YAHOO.util.Dom.setStyle(obj.overlay.element,"opacity",0);};fade.handleCompleteAnimateIn=function(type,args,obj){YAHOO.util.Dom.removeClass(obj.overlay.element,"hide-select");if(obj.overlay.element.style.filter){obj.overlay.element.style.filter=null;} if(obj.overlay.underlay){YAHOO.util.Dom.setStyle(obj.overlay.underlay,"opacity",obj.initialUnderlayOpacity);} obj.overlay.cfg.refireEvent("iframe");obj.animateInCompleteEvent.fire();};fade.handleStartAnimateOut=function(type,args,obj){YAHOO.util.Dom.addClass(obj.overlay.element,"hide-select");if(obj.overlay.underlay){obj.overlay.underlay.style.filter=null;}};fade.handleCompleteAnimateOut=function(type,args,obj){YAHOO.util.Dom.removeClass(obj.overlay.element,"hide-select");if(obj.overlay.element.style.filter){obj.overlay.element.style.filter=null;} YAHOO.util.Dom.setStyle(obj.overlay.element,"visibility","hidden");YAHOO.util.Dom.setStyle(obj.overlay.element,"opacity",1);obj.overlay.cfg.refireEvent("iframe");obj.animateOutCompleteEvent.fire();};fade.init();return fade;};YAHOO.widget.ContainerEffect.SLIDE=function(overlay,dur){var x=overlay.cfg.getProperty("x")||YAHOO.util.Dom.getX(overlay.element);var y=overlay.cfg.getProperty("y")||YAHOO.util.Dom.getY(overlay.element);var clientWidth=YAHOO.util.Dom.getClientWidth();var offsetWidth=overlay.element.offsetWidth;var slide=new YAHOO.widget.ContainerEffect(overlay,{attributes:{points:{to:[x,y]}},duration:dur,method:YAHOO.util.Easing.easeIn},{attributes:{points:{to:[(clientWidth+25),y]}},duration:dur,method:YAHOO.util.Easing.easeOut},overlay.element,YAHOO.util.Motion);slide.handleStartAnimateIn=function(type,args,obj){obj.overlay.element.style.left=(-25-offsetWidth)+"px";obj.overlay.element.style.top=y+"px";};slide.handleTweenAnimateIn=function(type,args,obj){var pos=YAHOO.util.Dom.getXY(obj.overlay.element);var currentX=pos[0];var currentY=pos[1];if(YAHOO.util.Dom.getStyle(obj.overlay.element,"visibility")=="hidden"&¤tX0){var i=this._aListElements.length-1;do{oNode=this._aListElements[i].firstChild;do{if(oNode&&oNode.tagName&&oNode.tagName.toUpperCase()=="LI"){this.addItem(new this.ITEM_TYPE(oNode,{parent:this}),i);}} while((oNode=oNode.nextSibling));} while(i--);} break;case"SELECT":oNode=this.srcElement.firstChild;do{if(oNode&&oNode.tagName){switch(oNode.tagName.toUpperCase()){case"OPTGROUP":case"OPTION":this.addItem(new this.ITEM_TYPE(oNode,{parent:this}));break;}}} while((oNode=oNode.nextSibling));break;}}},_getFirstEnabledItem:function(){var nGroups=this._aItemGroups.length,oItem,aItemGroup;for(var i=0;i=aGroup.length);if(aGroup[p_nItemIndex]){aGroup.splice(p_nItemIndex,0,oItem);} else{aGroup[p_nItemIndex]=oItem;} oGroupItem=aGroup[p_nItemIndex];if(oGroupItem){if(bAppend&&(!oGroupItem.element.parentNode||oGroupItem.element.parentNode.nodeType==11)){this._aListElements[nGroupIndex].appendChild(oGroupItem.element);} else{function getNextItemSibling(p_aArray,p_nStartIndex){return(p_aArray[p_nStartIndex]||getNextItemSibling(p_aArray,(p_nStartIndex+1)));} var oNextItemSibling=getNextItemSibling(aGroup,(p_nItemIndex+1));if(oNextItemSibling&&(!oGroupItem.element.parentNode||oGroupItem.element.parentNode.nodeType==11)){this._aListElements[nGroupIndex].insertBefore(oGroupItem.element,oNextItemSibling.element);}} oGroupItem.parent=this;this._subscribeToItemEvents(oGroupItem);this._configureSubmenu(oGroupItem);this._updateItemProperties(nGroupIndex);this.itemAddedEvent.fire(oGroupItem);return oGroupItem;}} else{var nItemIndex=aGroup.length;aGroup[nItemIndex]=oItem;oGroupItem=aGroup[nItemIndex];if(oGroupItem){if(!Dom.isAncestor(this._aListElements[nGroupIndex],oGroupItem.element)){this._aListElements[nGroupIndex].appendChild(oGroupItem.element);} oGroupItem.element.setAttribute("groupindex",nGroupIndex);oGroupItem.element.setAttribute("index",nItemIndex);oGroupItem.parent=this;oGroupItem.index=nItemIndex;oGroupItem.groupIndex=nGroupIndex;this._subscribeToItemEvents(oGroupItem);this._configureSubmenu(oGroupItem);if(nItemIndex===0){Dom.addClass(oGroupItem.element,"first-of-type");} this.itemAddedEvent.fire(oGroupItem);return oGroupItem;}}}},_removeItemFromGroupByIndex:function(p_nGroupIndex,p_nItemIndex){var nGroupIndex=typeof p_nGroupIndex=="number"?p_nGroupIndex:0,aGroup=this._getItemGroup(nGroupIndex);if(aGroup){var aArray=aGroup.splice(p_nItemIndex,1),oItem=aArray[0];if(oItem){this._updateItemProperties(nGroupIndex);if(aGroup.length===0){var oUL=this._aListElements[nGroupIndex];if(this.body&&oUL){this.body.removeChild(oUL);} this._aItemGroups.splice(nGroupIndex,1);this._aListElements.splice(nGroupIndex,1);oUL=this._aListElements[0];if(oUL){Dom.addClass(oUL,"first-of-type");}} this.itemRemovedEvent.fire(oItem);return oItem;}}},_removeItemFromGroupByValue:function(p_nGroupIndex,p_oItem){var aGroup=this._getItemGroup(p_nGroupIndex);if(aGroup){var nItems=aGroup.length,nItemIndex=-1;if(nItems>0){var i=nItems-1;do{if(aGroup[i]==p_oItem){nItemIndex=i;break;}} while(i--);if(nItemIndex>-1){return this._removeItemFromGroupByIndex(p_nGroupIndex,nItemIndex);}}}},_updateItemProperties:function(p_nGroupIndex){var aGroup=this._getItemGroup(p_nGroupIndex),nItems=aGroup.length;if(nItems>0){var i=nItems-1,oItem,oLI;do{oItem=aGroup[i];if(oItem){oLI=oItem.element;oItem.index=i;oItem.groupIndex=p_nGroupIndex;oLI.setAttribute("groupindex",p_nGroupIndex);oLI.setAttribute("index",i);Dom.removeClass(oLI,"first-of-type");}} while(i--);if(oLI){Dom.addClass(oLI,"first-of-type");}}},_createItemGroup:function(p_nIndex){if(!this._aItemGroups[p_nIndex]){this._aItemGroups[p_nIndex]=[];var oUL=document.createElement("ul");this._aListElements[p_nIndex]=oUL;return this._aItemGroups[p_nIndex];}},_getItemGroup:function(p_nIndex){var nIndex=((typeof p_nIndex=="number")?p_nIndex:0);return this._aItemGroups[nIndex];},_configureSubmenu:function(p_oItem){var oSubmenu=p_oItem.cfg.getProperty("submenu");if(oSubmenu){this.cfg.configChangedEvent.subscribe(this._onParentMenuConfigChange,oSubmenu,true);this.renderEvent.subscribe(this._onParentMenuRender,oSubmenu,true);oSubmenu.beforeShowEvent.subscribe(this._onSubmenuBeforeShow,oSubmenu,true);oSubmenu.showEvent.subscribe(this._onSubmenuShow,oSubmenu,true);oSubmenu.hideEvent.subscribe(this._onSubmenuHide,oSubmenu,true);}},_subscribeToItemEvents:function(p_oItem){p_oItem.focusEvent.subscribe(this._onMenuItemFocus,p_oItem,this);p_oItem.blurEvent.subscribe(this._onMenuItemBlur,this,true);p_oItem.cfg.configChangedEvent.subscribe(this._onMenuItemConfigChange,p_oItem,this);},_getOffsetWidth:function(){var oClone=this.element.cloneNode(true);Dom.setStyle(oClone,"width","");document.body.appendChild(oClone);var sWidth=oClone.offsetWidth;document.body.removeChild(oClone);return sWidth;},_cancelHideDelay:function(){var oRoot=this.getRoot();if(oRoot._nHideDelayId){window.clearTimeout(oRoot._nHideDelayId);}},_execHideDelay:function(){this._cancelHideDelay();var oRoot=this.getRoot(),me=this;function hideMenu(){if(oRoot.activeItem){oRoot.clearActiveItem();} if(oRoot==me&&me.cfg.getProperty("position")=="dynamic"){me.hide();}} oRoot._nHideDelayId=window.setTimeout(hideMenu,oRoot.cfg.getProperty("hidedelay"));},_cancelShowDelay:function(){var oRoot=this.getRoot();if(oRoot._nShowDelayId){window.clearTimeout(oRoot._nShowDelayId);}},_execShowDelay:function(p_oMenu){var oRoot=this.getRoot();function showMenu(){p_oMenu.show();} oRoot._nShowDelayId=window.setTimeout(showMenu,oRoot.cfg.getProperty("showdelay"));},_onMouseOver:function(p_sType,p_aArgs,p_oMenu){var oEvent=p_aArgs[0],oItem=p_aArgs[1],oTarget=Event.getTarget(oEvent);if(!this._bHandledMouseOverEvent&&(oTarget==this.element||Dom.isAncestor(this.element,oTarget))){this.clearActiveItem();this._bHandledMouseOverEvent=true;this._bHandledMouseOutEvent=false;} if(oItem&&!oItem.handledMouseOverEvent&&!oItem.cfg.getProperty("disabled")&&(oTarget==oItem.element||Dom.isAncestor(oItem.element,oTarget))){var nShowDelay=this.cfg.getProperty("showdelay"),bShowDelay=(nShowDelay>0);if(bShowDelay){this._cancelShowDelay();} var oActiveItem=this.activeItem;if(oActiveItem){oActiveItem.cfg.setProperty("selected",false);var oActiveSubmenu=oActiveItem.cfg.getProperty("submenu");if(oActiveSubmenu){oActiveSubmenu.hide();}} var oItemCfg=oItem.cfg;oItemCfg.setProperty("selected",true);oItem.focus();if(this.cfg.getProperty("autosubmenudisplay")){var oSubmenu=oItemCfg.getProperty("submenu");if(oSubmenu){if(bShowDelay){this._execShowDelay(oSubmenu);} else{oSubmenu.show();}}} oItem.handledMouseOverEvent=true;oItem.handledMouseOutEvent=false;}},_onMouseOut:function(p_sType,p_aArgs,p_oMenu){var oEvent=p_aArgs[0],oItem=p_aArgs[1],oRelatedTarget=Event.getRelatedTarget(oEvent),bMovingToSubmenu=false;if(oItem&&!oItem.cfg.getProperty("disabled")){var oItemCfg=oItem.cfg,oSubmenu=oItemCfg.getProperty("submenu");if(oSubmenu&&(oRelatedTarget==oSubmenu.element||Dom.isAncestor(oSubmenu.element,oRelatedTarget))){bMovingToSubmenu=true;} if(!oItem.handledMouseOutEvent&&((oRelatedTarget!=oItem.element&&!Dom.isAncestor(oItem.element,oRelatedTarget))||bMovingToSubmenu)){if(!oSubmenu||(oSubmenu&&!oSubmenu.cfg.getProperty("visible"))){oItem.cfg.setProperty("selected",false);if(oSubmenu&&oSubmenu.cfg.getProperty("showdelay")&&!oSubmenu.cfg.getProperty("visible")){this._cancelShowDelay();}} oItem.handledMouseOutEvent=true;oItem.handledMouseOverEvent=false;}} if(!this._bHandledMouseOutEvent&&((oRelatedTarget!=this.element&&!Dom.isAncestor(this.element,oRelatedTarget))||bMovingToSubmenu)){this._bHandledMouseOutEvent=true;this._bHandledMouseOverEvent=false;}},_onClick:function(p_sType,p_aArgs,p_oMenu){var oEvent=p_aArgs[0],oItem=p_aArgs[1],oTarget=Event.getTarget(oEvent);if(oItem&&!oItem.cfg.getProperty("disabled")){var oItemCfg=oItem.cfg,oSubmenu=oItemCfg.getProperty("submenu");if(oTarget==oItem.submenuIndicator&&oSubmenu){if(oSubmenu.cfg.getProperty("visible")){oSubmenu.hide();} else{this.clearActiveItem();this.activeItem=oItem;oItem.cfg.setProperty("selected",true);oSubmenu.show();}} else{var sURL=oItemCfg.getProperty("url"),bCurrentPageURL=(sURL.substr((sURL.length-1),1)=="#"),sTarget=oItemCfg.getProperty("target"),bHasTarget=(sTarget&&sTarget.length>0);if(oTarget.tagName.toUpperCase()=="A"&&bCurrentPageURL&&!bHasTarget){Event.preventDefault(oEvent);} if(oTarget.tagName.toUpperCase()!="A"&&!bCurrentPageURL&&!bHasTarget){document.location=sURL;} if(bCurrentPageURL&&!oSubmenu){var oRoot=this.getRoot();if(oRoot.cfg.getProperty("position")=="static"){oRoot.clearActiveItem();} else{oRoot.hide();}}}}},_onKeyDown:function(p_sType,p_aArgs,p_oMenu){var oEvent=p_aArgs[0],oItem=p_aArgs[1],oSubmenu;if(oItem&&!oItem.cfg.getProperty("disabled")){var oItemCfg=oItem.cfg,oParentItem=this.parent,oRoot,oNextItem;switch(oEvent.keyCode){case 38:case 40:if(oItem==this.activeItem&&!oItemCfg.getProperty("selected")){oItemCfg.setProperty("selected",true);} else{oNextItem=(oEvent.keyCode==38)?oItem.getPreviousEnabledSibling():oItem.getNextEnabledSibling();if(oNextItem){this.clearActiveItem();oNextItem.cfg.setProperty("selected",true);oNextItem.focus();}} Event.preventDefault(oEvent);break;case 39:oSubmenu=oItemCfg.getProperty("submenu");if(oSubmenu){if(!oItemCfg.getProperty("selected")){oItemCfg.setProperty("selected",true);} oSubmenu.show();oSubmenu.setInitialSelection();} else{oRoot=this.getRoot();if(oRoot instanceof YAHOO.widget.MenuBar){oNextItem=oRoot.activeItem.getNextEnabledSibling();if(oNextItem){oRoot.clearActiveItem();oNextItem.cfg.setProperty("selected",true);oSubmenu=oNextItem.cfg.getProperty("submenu");if(oSubmenu){oSubmenu.show();} oNextItem.focus();}}} Event.preventDefault(oEvent);break;case 37:if(oParentItem){var oParentMenu=oParentItem.parent;if(oParentMenu instanceof YAHOO.widget.MenuBar){oNextItem=oParentMenu.activeItem.getPreviousEnabledSibling();if(oNextItem){oParentMenu.clearActiveItem();oNextItem.cfg.setProperty("selected",true);oSubmenu=oNextItem.cfg.getProperty("submenu");if(oSubmenu){oSubmenu.show();} oNextItem.focus();}} else{this.hide();oParentItem.focus();}} Event.preventDefault(oEvent);break;}} if(oEvent.keyCode==27){if(this.cfg.getProperty("position")=="dynamic"){this.hide();if(this.parent){this.parent.focus();}} else if(this.activeItem){oSubmenu=this.activeItem.cfg.getProperty("submenu");if(oSubmenu&&oSubmenu.cfg.getProperty("visible")){oSubmenu.hide();this.activeItem.focus();} else{this.activeItem.cfg.setProperty("selected",false);this.activeItem.blur();}} Event.preventDefault(oEvent);}},_onTextResize:function(p_sType,p_aArgs,p_oMenu){if(this.browser=="gecko"&&!this._handleResize){this._handleResize=true;return;} var oConfig=this.cfg;if(oConfig.getProperty("position")=="dynamic"){oConfig.setProperty("width",(this._getOffsetWidth()+"px"));}},_onInit:function(p_sType,p_aArgs,p_oMenu){if(((this.parent&&!this.lazyLoad)||(!this.parent&&this.cfg.getProperty("position")=="static")||(!this.parent&&!this.lazyLoad&&this.cfg.getProperty("position")=="dynamic"))&&this.getItemGroups().length===0){if(this.srcElement){this._initSubTree();} if(this.itemData){this.addItems(this.itemData);}} else if(this.lazyLoad){this.cfg.fireQueue();}},_onBeforeRender:function(p_sType,p_aArgs,p_oMenu){var oConfig=this.cfg,oEl=this.element,nListElements=this._aListElements.length;if(nListElements>0){var i=0,bFirstList=true,oUL,oGroupTitle;do{oUL=this._aListElements[i];if(oUL){if(bFirstList){Dom.addClass(oUL,"first-of-type");bFirstList=false;} if(!Dom.isAncestor(oEl,oUL)){this.appendToBody(oUL);} oGroupTitle=this._aGroupTitleElements[i];if(oGroupTitle){if(!Dom.isAncestor(oEl,oGroupTitle)){oUL.parentNode.insertBefore(oGroupTitle,oUL);} Dom.addClass(oUL,"hastitle");}} i++;} while(iviewPortWidth){if(oContextElement&&((x-oContextElement.offsetWidth)>offsetWidth)){x=(x-(oContextElement.offsetWidth+offsetWidth));} else{x=rightConstraint;}} if(y<10){y=topConstraint;}else if(y>bottomConstraint){if(oContextElement&&(y>offsetHeight)){y=((y+oContextElement.offsetHeight)-offsetHeight);} else{y=bottomConstraint;}} oConfig.setProperty("x",x,true);oConfig.setProperty("y",y,true);oConfig.setProperty("xy",[x,y],true);},configVisible:function(p_sType,p_aArgs,p_oMenu){if(this.cfg.getProperty("position")=="dynamic"){YAHOO.widget.Menu.superclass.configVisible.call(this,p_sType,p_aArgs,p_oMenu);} else{var bVisible=p_aArgs[0],sDisplay=Dom.getStyle(this.element,"display");if(bVisible){if(sDisplay!="block"){this.beforeShowEvent.fire();Dom.setStyle(this.element,"display","block");this.showEvent.fire();}} else{if(sDisplay=="block"){this.beforeHideEvent.fire();Dom.setStyle(this.element,"display","none");this.hideEvent.fire();}}}},configPosition:function(p_sType,p_aArgs,p_oMenu){var sCSSPosition=p_aArgs[0]=="static"?"static":"absolute",oCfg=this.cfg;Dom.setStyle(this.element,"position",sCSSPosition);if(sCSSPosition=="static"){oCfg.setProperty("iframe",false);Dom.setStyle(this.element,"display","block");oCfg.setProperty("visible",true);} else{Dom.setStyle(this.element,"visibility","hidden");} if(sCSSPosition=="absolute"){var nZIndex=oCfg.getProperty("zindex");if(!nZIndex||nZIndex===0){nZIndex=this.parent?(this.parent.parent.cfg.getProperty("zindex")+1):1;oCfg.setProperty("zindex",nZIndex);}}},configIframe:function(p_sType,p_aArgs,p_oMenu){if(this.cfg.getProperty("position")=="dynamic"){YAHOO.widget.Menu.superclass.configIframe.call(this,p_sType,p_aArgs,p_oMenu);}},configHideDelay:function(p_sType,p_aArgs,p_oMenu){var nHideDelay=p_aArgs[0],oMouseOutEvent=this.mouseOutEvent,oMouseOverEvent=this.mouseOverEvent,oKeyDownEvent=this.keyDownEvent;if(nHideDelay>0){if(!this._hideDelayEventHandlersAssigned){oMouseOutEvent.subscribe(this._execHideDelay,true);oMouseOverEvent.subscribe(this._cancelHideDelay,this,true);oKeyDownEvent.subscribe(this._cancelHideDelay,this,true);this._hideDelayEventHandlersAssigned=true;}} else{oMouseOutEvent.unsubscribe(this._execHideDelay,this);oMouseOverEvent.unsubscribe(this._cancelHideDelay,this);oKeyDownEvent.unsubscribe(this._cancelHideDelay,this);this._hideDelayEventHandlersAssigned=false;}},configContainer:function(p_sType,p_aArgs,p_oMenu){var oElement=p_aArgs[0];if(typeof oElement=='string'){this.cfg.setProperty("container",document.getElementById(oElement),true);}},initEvents:function(){YAHOO.widget.Menu.superclass.initEvents.call(this);var CustomEvent=YAHOO.util.CustomEvent;this.mouseOverEvent=new CustomEvent("mouseOverEvent",this);this.mouseOutEvent=new CustomEvent("mouseOutEvent",this);this.mouseDownEvent=new CustomEvent("mouseDownEvent",this);this.mouseUpEvent=new CustomEvent("mouseUpEvent",this);this.clickEvent=new CustomEvent("clickEvent",this);this.keyPressEvent=new CustomEvent("keyPressEvent",this);this.keyDownEvent=new CustomEvent("keyDownEvent",this);this.keyUpEvent=new CustomEvent("keyUpEvent",this);this.itemAddedEvent=new CustomEvent("itemAddedEvent",this);this.itemRemovedEvent=new CustomEvent("itemRemovedEvent",this);},getRoot:function(){var oItem=this.parent;if(oItem){var oParentMenu=oItem.parent;return oParentMenu?oParentMenu.getRoot():this;} else{return this;}},toString:function(){return("Menu "+this.id);},setItemGroupTitle:function(p_sGroupTitle,p_nGroupIndex){if(typeof p_sGroupTitle=="string"&&p_sGroupTitle.length>0){var nGroupIndex=typeof p_nGroupIndex=="number"?p_nGroupIndex:0,oTitle=this._aGroupTitleElements[nGroupIndex];if(oTitle){oTitle.innerHTML=p_sGroupTitle;} else{oTitle=document.createElement(this.GROUP_TITLE_TAG_NAME);oTitle.innerHTML=p_sGroupTitle;this._aGroupTitleElements[nGroupIndex]=oTitle;} var i=this._aGroupTitleElements.length-1,nFirstIndex;do{if(this._aGroupTitleElements[i]){Dom.removeClass(this._aGroupTitleElements[i],"first-of-type");nFirstIndex=i;}} while(i--);if(nFirstIndex!==null){Dom.addClass(this._aGroupTitleElements[nFirstIndex],"first-of-type");}}},addItem:function(p_oItem,p_nGroupIndex){if(p_oItem){return this._addItemToGroup(p_nGroupIndex,p_oItem);}},addItems:function(p_aItems,p_nGroupIndex){function isArray(p_oValue){return(typeof p_oValue=="object"&&p_oValue.constructor==Array);} if(isArray(p_aItems)){var nItems=p_aItems.length,aItems=[],oItem;for(var i=0;i0){i=nItemGroups-1;do{oItemGroup=this._aItemGroups[i];if(oItemGroup){nItems=oItemGroup.length;if(nItems>0){n=nItems-1;do{oItem=this._aItemGroups[i][n];if(oItem){oItem.destroy();}} while(n--);}}} while(i--);} YAHOO.widget.Menu.superclass.destroy.call(this);},setInitialFocus:function(){var oItem=this._getFirstEnabledItem();if(oItem){oItem.focus();}},setInitialSelection:function(){var oItem=this._getFirstEnabledItem();if(oItem){oItem.cfg.setProperty("selected",true);}},clearActiveItem:function(p_bBlur){if(this.cfg.getProperty("showdelay")>0){this._cancelShowDelay();} var oActiveItem=this.activeItem;if(oActiveItem){var oConfig=oActiveItem.cfg;oConfig.setProperty("selected",false);var oSubmenu=oConfig.getProperty("submenu");if(oSubmenu){oSubmenu.hide();} if(p_bBlur){oActiveItem.blur();}}},initDefaultConfig:function(){YAHOO.widget.Menu.superclass.initDefaultConfig.call(this);var oConfig=this.cfg;oConfig.addProperty("visible",{value:false,handler:this.configVisible,validator:this.cfg.checkBoolean});oConfig.addProperty("constraintoviewport",{value:true,handler:this.configConstrainToViewport,validator:this.cfg.checkBoolean,supercedes:["iframe","x","y","xy"]});oConfig.addProperty("position",{value:"dynamic",handler:this.configPosition,validator:this._checkPosition,supercedes:["visible"]});oConfig.addProperty("submenualignment",{value:["tl","tr"]});oConfig.addProperty("autosubmenudisplay",{value:true,validator:oConfig.checkBoolean});oConfig.addProperty("showdelay",{value:0,validator:oConfig.checkNumber});oConfig.addProperty("hidedelay",{value:0,validator:oConfig.checkNumber,handler:this.configHideDelay,suppressEvent:true});oConfig.addProperty("clicktohide",{value:true,validator:oConfig.checkBoolean});this.cfg.addProperty("container",{value:document.body,handler:this.configContainer});}});})();YAHOO.widget.MenuModule=YAHOO.widget.Menu;(function(){var Dom=YAHOO.util.Dom,Module=YAHOO.widget.Module,Menu=YAHOO.widget.Menu;YAHOO.widget.MenuItem=function(p_oObject,p_oConfig){if(p_oObject){if(p_oConfig){this.parent=p_oConfig.parent;this.value=p_oConfig.value;} this.init(p_oObject,p_oConfig);}};YAHOO.widget.MenuItem.prototype={SUBMENU_INDICATOR_IMAGE_PATH:"nt/ic/ut/alt1/menuarorght8_nrm_1.gif",SELECTED_SUBMENU_INDICATOR_IMAGE_PATH:"nt/ic/ut/alt1/menuarorght8_hov_1.gif",DISABLED_SUBMENU_INDICATOR_IMAGE_PATH:"nt/ic/ut/alt1/menuarorght8_dim_1.gif",COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT:"Collapsed. Click to expand.",EXPANDED_SUBMENU_INDICATOR_ALT_TEXT:"Expanded. Click to collapse.",DISABLED_SUBMENU_INDICATOR_ALT_TEXT:"Disabled.",CHECKED_IMAGE_PATH:"nt/ic/ut/bsc/menuchk8_nrm_1.gif",SELECTED_CHECKED_IMAGE_PATH:"nt/ic/ut/bsc/menuchk8_hov_1.gif",DISABLED_CHECKED_IMAGE_PATH:"nt/ic/ut/bsc/menuchk8_dim_1.gif",CHECKED_IMAGE_ALT_TEXT:"Checked.",DISABLED_CHECKED_IMAGE_ALT_TEXT:"Checked. (Item disabled.)",CSS_CLASS_NAME:"yuimenuitem",SUBMENU_TYPE:null,IMG_ROOT:"http://us.i1.yimg.com/us.yimg.com/i/",IMG_ROOT_SSL:"https://a248.e.akamai.net/sec.yimg.com/i/",_oAnchor:null,_oText:null,_oHelpTextEM:null,_oSubmenu:null,_checkImage:null,constructor:YAHOO.widget.MenuItem,imageRoot:null,isSecure:Module.prototype.isSecure,index:null,groupIndex:null,parent:null,element:null,srcElement:null,value:null,submenuIndicator:null,browser:Module.prototype.browser,destroyEvent:null,mouseOverEvent:null,mouseOutEvent:null,mouseDownEvent:null,mouseUpEvent:null,clickEvent:null,keyPressEvent:null,keyDownEvent:null,keyUpEvent:null,focusEvent:null,blurEvent:null,init:function(p_oObject,p_oConfig){this.imageRoot=(this.isSecure)?this.IMG_ROOT_SSL:this.IMG_ROOT;if(!this.SUBMENU_TYPE){this.SUBMENU_TYPE=Menu;} this.cfg=new YAHOO.util.Config(this);this.initDefaultConfig();var oConfig=this.cfg;if(this._checkString(p_oObject)){this._createRootNodeStructure();oConfig.setProperty("text",p_oObject);} else if(this._checkDOMNode(p_oObject)){switch(p_oObject.tagName.toUpperCase()){case"OPTION":this._createRootNodeStructure();oConfig.setProperty("text",p_oObject.text);this.srcElement=p_oObject;break;case"OPTGROUP":this._createRootNodeStructure();oConfig.setProperty("text",p_oObject.label);this.srcElement=p_oObject;this._initSubTree();break;case"LI":var oAnchor=this._getFirstElement(p_oObject,"A"),sURL="#",sTarget,sText;if(oAnchor){sURL=oAnchor.getAttribute("href");sTarget=oAnchor.getAttribute("target");if(oAnchor.innerText){sText=oAnchor.innerText;} else{var oRange=oAnchor.ownerDocument.createRange();oRange.selectNodeContents(oAnchor);sText=oRange.toString();}} else{var oText=p_oObject.firstChild;sText=oText.nodeValue;oAnchor=document.createElement("a");oAnchor.setAttribute("href",sURL);p_oObject.replaceChild(oAnchor,oText);oAnchor.appendChild(oText);} this.srcElement=p_oObject;this.element=p_oObject;this._oAnchor=oAnchor;var oEmphasisNode=this._getFirstElement(oAnchor),bEmphasis=false,bStrongEmphasis=false;if(oEmphasisNode){this._oText=oEmphasisNode.firstChild;switch(oEmphasisNode.tagName.toUpperCase()){case"EM":bEmphasis=true;break;case"STRONG":bStrongEmphasis=true;break;}} else{this._oText=oAnchor.firstChild;} oConfig.setProperty("text",sText,true);oConfig.setProperty("url",sURL,true);oConfig.setProperty("target",sTarget,true);oConfig.setProperty("emphasis",bEmphasis,true);oConfig.setProperty("strongemphasis",bStrongEmphasis,true);this._initSubTree();break;}} if(this.element){Dom.addClass(this.element,this.CSS_CLASS_NAME);var CustomEvent=YAHOO.util.CustomEvent;this.destroyEvent=new CustomEvent("destroyEvent",this);this.mouseOverEvent=new CustomEvent("mouseOverEvent",this);this.mouseOutEvent=new CustomEvent("mouseOutEvent",this);this.mouseDownEvent=new CustomEvent("mouseDownEvent",this);this.mouseUpEvent=new CustomEvent("mouseUpEvent",this);this.clickEvent=new CustomEvent("clickEvent",this);this.keyPressEvent=new CustomEvent("keyPressEvent",this);this.keyDownEvent=new CustomEvent("keyDownEvent",this);this.keyUpEvent=new CustomEvent("keyUpEvent",this);this.focusEvent=new CustomEvent("focusEvent",this);this.blurEvent=new CustomEvent("blurEvent",this);if(p_oConfig){oConfig.applyConfig(p_oConfig);} oConfig.fireQueue();}},_getFirstElement:function(p_oElement,p_sTagName){var oElement;if(p_oElement.firstChild&&p_oElement.firstChild.nodeType==1){oElement=p_oElement.firstChild;} else if(p_oElement.firstChild&&p_oElement.firstChild.nextSibling&&p_oElement.firstChild.nextSibling.nodeType==1){oElement=p_oElement.firstChild.nextSibling;} if(p_sTagName){return(oElement&&oElement.tagName.toUpperCase()==p_sTagName)?oElement:false;} return oElement;},_checkString:function(p_oObject){return(typeof p_oObject=="string");},_checkDOMNode:function(p_oObject){return(p_oObject&&p_oObject.tagName);},_createRootNodeStructure:function(){this.element=document.createElement("li");this._oText=document.createTextNode("");this._oAnchor=document.createElement("a");this._oAnchor.appendChild(this._oText);this.cfg.refireEvent("url");this.element.appendChild(this._oAnchor);},_initSubTree:function(){var oSrcEl=this.srcElement,oConfig=this.cfg;if(oSrcEl.childNodes.length>0){if(this.parent.lazyLoad&&this.parent.srcElement&&this.parent.srcElement.tagName.toUpperCase()=="SELECT"){oConfig.setProperty("submenu",{id:Dom.generateId(),itemdata:oSrcEl.childNodes});} else{var oNode=oSrcEl.firstChild,aOptions=[];do{if(oNode&&oNode.tagName){switch(oNode.tagName.toUpperCase()){case"DIV":oConfig.setProperty("submenu",oNode);break;case"OPTION":aOptions[aOptions.length]=oNode;break;}}} while((oNode=oNode.nextSibling));var nOptions=aOptions.length;if(nOptions>0){var oMenu=new this.SUBMENU_TYPE(Dom.generateId());oConfig.setProperty("submenu",oMenu);for(var n=0;n0){oAnchor.setAttribute("target",sTarget);} else{oAnchor.removeAttribute("target");}},configEmphasis:function(p_sType,p_aArgs,p_oItem){var bEmphasis=p_aArgs[0],oAnchor=this._oAnchor,oText=this._oText,oConfig=this.cfg,oEM;if(bEmphasis&&oConfig.getProperty("strongemphasis")){oConfig.setProperty("strongemphasis",false);} if(oAnchor){if(bEmphasis){oEM=document.createElement("em");oEM.appendChild(oText);oAnchor.appendChild(oEM);} else{oEM=this._getFirstElement(oAnchor,"EM");if(oEM){oAnchor.removeChild(oEM);oAnchor.appendChild(oText);}}}},configStrongEmphasis:function(p_sType,p_aArgs,p_oItem){var bStrongEmphasis=p_aArgs[0],oAnchor=this._oAnchor,oText=this._oText,oConfig=this.cfg,oStrong;if(bStrongEmphasis&&oConfig.getProperty("emphasis")){oConfig.setProperty("emphasis",false);} if(oAnchor){if(bStrongEmphasis){oStrong=document.createElement("strong");oStrong.appendChild(oText);oAnchor.appendChild(oStrong);} else{oStrong=this._getFirstElement(oAnchor,"STRONG");if(oStrong){oAnchor.removeChild(oStrong);oAnchor.appendChild(oText);}}}},configChecked:function(p_sType,p_aArgs,p_oItem){var bChecked=p_aArgs[0],oEl=this.element,oConfig=this.cfg,oImg;if(bChecked){this._preloadImage(this.CHECKED_IMAGE_PATH);this._preloadImage(this.SELECTED_CHECKED_IMAGE_PATH);this._preloadImage(this.DISABLED_CHECKED_IMAGE_PATH);oImg=document.createElement("img");oImg.src=(this.imageRoot+this.CHECKED_IMAGE_PATH);oImg.alt=this.CHECKED_IMAGE_ALT_TEXT;var oSubmenu=this.cfg.getProperty("submenu");if(oSubmenu){oEl.insertBefore(oImg,oSubmenu.element);} else{oEl.appendChild(oImg);} Dom.addClass([oEl,oImg],"checked");this._checkImage=oImg;if(oConfig.getProperty("disabled")){oConfig.refireEvent("disabled");} if(oConfig.getProperty("selected")){oConfig.refireEvent("selected");}} else{oImg=this._checkImage;Dom.removeClass([oEl,oImg],"checked");if(oImg){oEl.removeChild(oImg);} this._checkImage=null;}},configDisabled:function(p_sType,p_aArgs,p_oItem){var bDisabled=p_aArgs[0],oAnchor=this._oAnchor,aNodes=[this.element,oAnchor],oEM=this._oHelpTextEM,oConfig=this.cfg,oImg,sImgSrc,sImgAlt;if(oEM){aNodes[2]=oEM;} if(this.cfg.getProperty("checked")){sImgAlt=this.CHECKED_IMAGE_ALT_TEXT;sImgSrc=this.CHECKED_IMAGE_PATH;oImg=this._checkImage;if(bDisabled){sImgAlt=this.DISABLED_CHECKED_IMAGE_ALT_TEXT;sImgSrc=this.DISABLED_CHECKED_IMAGE_PATH;} oImg.src=document.images[(this.imageRoot+sImgSrc)].src;oImg.alt=sImgAlt;} oImg=this.submenuIndicator;if(bDisabled){if(oConfig.getProperty("selected")){oConfig.setProperty("selected",false);} oAnchor.removeAttribute("href");Dom.addClass(aNodes,"disabled");sImgSrc=this.DISABLED_SUBMENU_INDICATOR_IMAGE_PATH;sImgAlt=this.DISABLED_SUBMENU_INDICATOR_ALT_TEXT;} else{oAnchor.setAttribute("href",oConfig.getProperty("url"));Dom.removeClass(aNodes,"disabled");sImgSrc=this.SUBMENU_INDICATOR_IMAGE_PATH;sImgAlt=this.COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT;} if(oImg){oImg.src=this.imageRoot+sImgSrc;oImg.alt=sImgAlt;}},configSelected:function(p_sType,p_aArgs,p_oItem){if(!this.cfg.getProperty("disabled")){var bSelected=p_aArgs[0],oEM=this._oHelpTextEM,aNodes=[this.element,this._oAnchor],oImg=this.submenuIndicator,sImgSrc;if(oEM){aNodes[aNodes.length]=oEM;} if(oImg){aNodes[aNodes.length]=oImg;} if(this.cfg.getProperty("checked")){sImgSrc=this.imageRoot+(bSelected?this.SELECTED_CHECKED_IMAGE_PATH:this.CHECKED_IMAGE_PATH);this._checkImage.src=document.images[sImgSrc].src;} if(bSelected){Dom.addClass(aNodes,"selected");sImgSrc=this.SELECTED_SUBMENU_INDICATOR_IMAGE_PATH;} else{Dom.removeClass(aNodes,"selected");sImgSrc=this.SUBMENU_INDICATOR_IMAGE_PATH;} if(oImg){oImg.src=document.images[(this.imageRoot+sImgSrc)].src;}}},configSubmenu:function(p_sType,p_aArgs,p_oItem){var oEl=this.element,oSubmenu=p_aArgs[0],oImg=this.submenuIndicator,oConfig=this.cfg,aNodes=[this.element,this._oAnchor],oMenu,bLazyLoad=this.parent&&this.parent.lazyLoad;if(oSubmenu){if(oSubmenu instanceof Menu){oMenu=oSubmenu;oMenu.parent=this;oMenu.lazyLoad=bLazyLoad;} else if(typeof oSubmenu=="object"&&oSubmenu.id&&!oSubmenu.nodeType){var sSubmenuId=oSubmenu.id,oSubmenuConfig=oSubmenu;oSubmenuConfig.lazyload=bLazyLoad;oSubmenuConfig.parent=this;oMenu=new this.SUBMENU_TYPE(sSubmenuId,oSubmenuConfig);this.cfg.setProperty("submenu",oMenu,true);} else{oMenu=new this.SUBMENU_TYPE(oSubmenu,{lazyload:bLazyLoad,parent:this});this.cfg.setProperty("submenu",oMenu,true);} if(oMenu){this._oSubmenu=oMenu;if(!oImg){this._preloadImage(this.SUBMENU_INDICATOR_IMAGE_PATH);this._preloadImage(this.SELECTED_SUBMENU_INDICATOR_IMAGE_PATH);this._preloadImage(this.DISABLED_SUBMENU_INDICATOR_IMAGE_PATH);oImg=document.createElement("img");oImg.src=(this.imageRoot+this.SUBMENU_INDICATOR_IMAGE_PATH);oImg.alt=this.COLLAPSED_SUBMENU_INDICATOR_ALT_TEXT;oEl.appendChild(oImg);this.submenuIndicator=oImg;Dom.addClass(aNodes,"hassubmenu");if(oConfig.getProperty("disabled")){oConfig.refireEvent("disabled");} if(oConfig.getProperty("selected")){oConfig.refireEvent("selected");}}}} else{Dom.removeClass(aNodes,"hassubmenu");if(oImg){oEl.removeChild(oImg);} if(this._oSubmenu){this._oSubmenu.destroy();}}},initDefaultConfig:function(){var oConfig=this.cfg,CheckBoolean=oConfig.checkBoolean;oConfig.addProperty("text",{value:"",handler:this.configText,validator:this._checkString,suppressEvent:true});oConfig.addProperty("helptext",{handler:this.configHelpText});oConfig.addProperty("url",{value:"#",handler:this.configURL,suppressEvent:true});oConfig.addProperty("target",{handler:this.configTarget,suppressEvent:true});oConfig.addProperty("emphasis",{value:false,handler:this.configEmphasis,validator:CheckBoolean,suppressEvent:true});oConfig.addProperty("strongemphasis",{value:false,handler:this.configStrongEmphasis,validator:CheckBoolean,suppressEvent:true});oConfig.addProperty("checked",{value:false,handler:this.configChecked,validator:this.cfg.checkBoolean,suppressEvent:true,supercedes:["disabled"]});oConfig.addProperty("disabled",{value:false,handler:this.configDisabled,validator:CheckBoolean,suppressEvent:true});oConfig.addProperty("selected",{value:false,handler:this.configSelected,validator:CheckBoolean,suppressEvent:true});oConfig.addProperty("submenu",{handler:this.configSubmenu});},getNextEnabledSibling:function(){if(this.parent instanceof Menu){var nGroupIndex=this.groupIndex;function getNextArrayItem(p_aArray,p_nStartIndex){return p_aArray[p_nStartIndex]||getNextArrayItem(p_aArray,(p_nStartIndex+1));} var aItemGroups=this.parent.getItemGroups(),oNextItem;if(this.index<(aItemGroups[nGroupIndex].length-1)){oNextItem=getNextArrayItem(aItemGroups[nGroupIndex],(this.index+1));} else{var nNextGroupIndex;if(nGroupIndex<(aItemGroups.length-1)){nNextGroupIndex=nGroupIndex+1;} else{nNextGroupIndex=0;} var aNextGroup=getNextArrayItem(aItemGroups,nNextGroupIndex);oNextItem=getNextArrayItem(aNextGroup,0);} return(oNextItem.cfg.getProperty("disabled")||oNextItem.element.style.display=="none")?oNextItem.getNextEnabledSibling():oNextItem;}},getPreviousEnabledSibling:function(){if(this.parent instanceof Menu){var nGroupIndex=this.groupIndex;function getPreviousArrayItem(p_aArray,p_nStartIndex){return p_aArray[p_nStartIndex]||getPreviousArrayItem(p_aArray,(p_nStartIndex-1));} function getFirstItemIndex(p_aArray,p_nStartIndex){return p_aArray[p_nStartIndex]?p_nStartIndex:getFirstItemIndex(p_aArray,(p_nStartIndex+1));} var aItemGroups=this.parent.getItemGroups(),oPreviousItem;if(this.index>getFirstItemIndex(aItemGroups[nGroupIndex],0)){oPreviousItem=getPreviousArrayItem(aItemGroups[nGroupIndex],(this.index-1));} else{var nPreviousGroupIndex;if(nGroupIndex>getFirstItemIndex(aItemGroups,0)){nPreviousGroupIndex=nGroupIndex-1;} else{nPreviousGroupIndex=aItemGroups.length-1;} var aPreviousGroup=getPreviousArrayItem(aItemGroups,nPreviousGroupIndex);oPreviousItem=getPreviousArrayItem(aPreviousGroup,(aPreviousGroup.length-1));} return(oPreviousItem.cfg.getProperty("disabled")||oPreviousItem.element.style.display=="none")?oPreviousItem.getPreviousEnabledSibling():oPreviousItem;}},focus:function(){var oParent=this.parent,oAnchor=this._oAnchor,oActiveItem=oParent.activeItem;function setFocus(){try{oAnchor.focus();} catch(e){}} if(!this.cfg.getProperty("disabled")&&oParent&&oParent.cfg.getProperty("visible")&&this.element.style.display!="none"){if(oActiveItem){oActiveItem.blur();} window.setTimeout(setFocus,0);this.focusEvent.fire();}},blur:function(){var oParent=this.parent;if(!this.cfg.getProperty("disabled")&&oParent&&Dom.getStyle(oParent.element,"visibility")=="visible"){this._oAnchor.blur();this.blurEvent.fire();}},destroy:function(){var oEl=this.element;if(oEl){var oSubmenu=this.cfg.getProperty("submenu");if(oSubmenu){oSubmenu.destroy();} this.mouseOverEvent.unsubscribeAll();this.mouseOutEvent.unsubscribeAll();this.mouseDownEvent.unsubscribeAll();this.mouseUpEvent.unsubscribeAll();this.clickEvent.unsubscribeAll();this.keyPressEvent.unsubscribeAll();this.keyDownEvent.unsubscribeAll();this.keyUpEvent.unsubscribeAll();this.focusEvent.unsubscribeAll();this.blurEvent.unsubscribeAll();this.cfg.configChangedEvent.unsubscribeAll();var oParentNode=oEl.parentNode;if(oParentNode){oParentNode.removeChild(oEl);this.destroyEvent.fire();} this.destroyEvent.unsubscribeAll();}},toString:function(){return("MenuItem: "+this.cfg.getProperty("text"));}};})();YAHOO.widget.MenuModuleItem=YAHOO.widget.MenuItem;YAHOO.widget.ContextMenu=function(p_oElement,p_oConfig){YAHOO.widget.ContextMenu.superclass.constructor.call(this,p_oElement,p_oConfig);};YAHOO.extend(YAHOO.widget.ContextMenu,YAHOO.widget.Menu,{_oTrigger:null,contextEventTarget:null,init:function(p_oElement,p_oConfig){if(!this.ITEM_TYPE){this.ITEM_TYPE=YAHOO.widget.ContextMenuItem;} YAHOO.widget.ContextMenu.superclass.init.call(this,p_oElement);this.beforeInitEvent.fire(YAHOO.widget.ContextMenu);if(p_oConfig){this.cfg.applyConfig(p_oConfig,true);} this.initEvent.fire(YAHOO.widget.ContextMenu);},_removeEventHandlers:function(){var Event=YAHOO.util.Event,oTrigger=this._oTrigger,bOpera=(this.browser=="opera");Event.removeListener(oTrigger,(bOpera?"mousedown":"contextmenu"),this._onTriggerContextMenu);if(bOpera){Event.removeListener(oTrigger,"click",this._onTriggerClick);}},_onTriggerClick:function(p_oEvent,p_oMenu){if(p_oEvent.ctrlKey){YAHOO.util.Event.stopEvent(p_oEvent);}},_onTriggerContextMenu:function(p_oEvent,p_oMenu){YAHOO.widget.MenuManager.hideVisible();var Event=YAHOO.util.Event,oConfig=this.cfg;if(p_oEvent.type=="mousedown"&&!p_oEvent.ctrlKey){return;} this.contextEventTarget=Event.getTarget(p_oEvent);var nX=Event.getPageX(p_oEvent),nY=Event.getPageY(p_oEvent);oConfig.applyConfig({xy:[nX,nY],visible:true});oConfig.fireQueue();Event.stopEvent(p_oEvent);},toString:function(){return("ContextMenu "+this.id);},initDefaultConfig:function(){YAHOO.widget.ContextMenu.superclass.initDefaultConfig.call(this);this.cfg.addProperty("trigger",{handler:this.configTrigger});},destroy:function(){this._removeEventHandlers();YAHOO.widget.ContextMenu.superclass.destroy.call(this);},configTrigger:function(p_sType,p_aArgs,p_oMenu){var Event=YAHOO.util.Event,oTrigger=p_aArgs[0];if(oTrigger){if(this._oTrigger){this._removeEventHandlers();} this._oTrigger=oTrigger;var bOpera=(this.browser=="opera");Event.addListener(oTrigger,(bOpera?"mousedown":"contextmenu"),this._onTriggerContextMenu,this,true);if(bOpera){Event.addListener(oTrigger,"click",this._onTriggerClick,this,true);}} else{this._removeEventHandlers();}}});YAHOO.widget.ContextMenuItem=function(p_oObject,p_oConfig){YAHOO.widget.ContextMenuItem.superclass.constructor.call(this,p_oObject,p_oConfig);};YAHOO.extend(YAHOO.widget.ContextMenuItem,YAHOO.widget.MenuItem,{init:function(p_oObject,p_oConfig){if(!this.SUBMENU_TYPE){this.SUBMENU_TYPE=YAHOO.widget.ContextMenu;} YAHOO.widget.ContextMenuItem.superclass.init.call(this,p_oObject);var oConfig=this.cfg;if(p_oConfig){oConfig.applyConfig(p_oConfig,true);} oConfig.fireQueue();},toString:function(){return("MenuBarItem: "+this.cfg.getProperty("text"));}});YAHOO.widget.MenuBar=function(p_oElement,p_oConfig){YAHOO.widget.MenuBar.superclass.constructor.call(this,p_oElement,p_oConfig);};YAHOO.extend(YAHOO.widget.MenuBar,YAHOO.widget.Menu,{init:function(p_oElement,p_oConfig){if(!this.ITEM_TYPE){this.ITEM_TYPE=YAHOO.widget.MenuBarItem;} YAHOO.widget.MenuBar.superclass.init.call(this,p_oElement);this.beforeInitEvent.fire(YAHOO.widget.MenuBar);if(p_oConfig){this.cfg.applyConfig(p_oConfig,true);} this.initEvent.fire(YAHOO.widget.MenuBar);},CSS_CLASS_NAME:"yuimenubar",_onKeyDown:function(p_sType,p_aArgs,p_oMenuBar){var Event=YAHOO.util.Event,oEvent=p_aArgs[0],oItem=p_aArgs[1],oSubmenu;if(oItem&&!oItem.cfg.getProperty("disabled")){var oItemCfg=oItem.cfg;switch(oEvent.keyCode){case 37:case 39:if(oItem==this.activeItem&&!oItemCfg.getProperty("selected")){oItemCfg.setProperty("selected",true);} else{var oNextItem=(oEvent.keyCode==37)?oItem.getPreviousEnabledSibling():oItem.getNextEnabledSibling();if(oNextItem){this.clearActiveItem();oNextItem.cfg.setProperty("selected",true);if(this.cfg.getProperty("autosubmenudisplay")){oSubmenu=oNextItem.cfg.getProperty("submenu");if(oSubmenu){oSubmenu.show();oSubmenu.activeItem.blur();oSubmenu.activeItem=null;}} oNextItem.focus();}} Event.preventDefault(oEvent);break;case 40:if(this.activeItem!=oItem){this.clearActiveItem();oItemCfg.setProperty("selected",true);oItem.focus();} oSubmenu=oItemCfg.getProperty("submenu");if(oSubmenu){if(oSubmenu.cfg.getProperty("visible")){oSubmenu.setInitialSelection();oSubmenu.setInitialFocus();} else{oSubmenu.show();}} Event.preventDefault(oEvent);break;}} if(oEvent.keyCode==27&&this.activeItem){oSubmenu=this.activeItem.cfg.getProperty("submenu");if(oSubmenu&&oSubmenu.cfg.getProperty("visible")){oSubmenu.hide();this.activeItem.focus();} else{this.activeItem.cfg.setProperty("selected",false);this.activeItem.blur();} Event.preventDefault(oEvent);}},_onClick:function(p_sType,p_aArgs,p_oMenuBar){YAHOO.widget.MenuBar.superclass._onClick.call(this,p_sType,p_aArgs,p_oMenuBar);var oItem=p_aArgs[1];if(oItem&&!oItem.cfg.getProperty("disabled")){var Event=YAHOO.util.Event,Dom=YAHOO.util.Dom,oEvent=p_aArgs[0],oTarget=Event.getTarget(oEvent),oActiveItem=this.activeItem,oConfig=this.cfg;if(oActiveItem&&oActiveItem!=oItem){this.clearActiveItem();} oItem.cfg.setProperty("selected",true);oItem.focus();var oSubmenu=oItem.cfg.getProperty("submenu");if(oSubmenu&&oTarget!=oItem.submenuIndicator){if(oSubmenu.cfg.getProperty("visible")){oSubmenu.hide();} else{oSubmenu.show();}}}},toString:function(){return("MenuBar "+this.id);},initDefaultConfig:function(){YAHOO.widget.MenuBar.superclass.initDefaultConfig.call(this);var oConfig=this.cfg;oConfig.addProperty("position",{value:"static",handler:this.configPosition,validator:this._checkPosition,supercedes:["visible"]});oConfig.addProperty("submenualignment",{value:["tl","bl"]});oConfig.addProperty("autosubmenudisplay",{value:false,validator:oConfig.checkBoolean});}});YAHOO.widget.MenuBarItem=function(p_oObject,p_oConfig){YAHOO.widget.MenuBarItem.superclass.constructor.call(this,p_oObject,p_oConfig);};YAHOO.extend(YAHOO.widget.MenuBarItem,YAHOO.widget.MenuItem,{init:function(p_oObject,p_oConfig){if(!this.SUBMENU_TYPE){this.SUBMENU_TYPE=YAHOO.widget.Menu;} YAHOO.widget.MenuBarItem.superclass.init.call(this,p_oObject);var oConfig=this.cfg;if(p_oConfig){oConfig.applyConfig(p_oConfig,true);} oConfig.fireQueue();},CSS_CLASS_NAME:"yuimenubaritem",SUBMENU_INDICATOR_IMAGE_PATH:"nt/ic/ut/alt1/menuarodwn8_nrm_1.gif",SELECTED_SUBMENU_INDICATOR_IMAGE_PATH:"nt/ic/ut/alt1/menuarodwn8_hov_1.gif",DISABLED_SUBMENU_INDICATOR_IMAGE_PATH:"nt/ic/ut/alt1/menuarodwn8_dim_1.gif",toString:function(){return("MenuBarItem: "+this.cfg.getProperty("text"));}}); YAHOO.util.Connect={_msxml_progid:['MSXML2.XMLHTTP.3.0','MSXML2.XMLHTTP','Microsoft.XMLHTTP'],_http_header:{},_has_http_headers:false,_use_default_post_header:true,_default_post_header:'application/x-www-form-urlencoded',_isFormSubmit:false,_isFileUpload:false,_formNode:null,_sFormData:null,_poll:{},_timeOut:{},_polling_interval:50,_transaction_id:0,setProgId:function(id) {this._msxml_progid.unshift(id);},setDefaultPostHeader:function(b) {this._use_default_post_header=b;},setPollingInterval:function(i) {if(typeof i=='number'&&isFinite(i)){this._polling_interval=i;}},createXhrObject:function(transactionId) {var obj,http;try {http=new XMLHttpRequest();obj={conn:http,tId:transactionId};} catch(e) {for(var i=0;i=200&&httpStatus<300){try {responseObject=this.createResponseObject(o,callback.argument);if(callback.success){if(!callback.scope){callback.success(responseObject);} else{callback.success.apply(callback.scope,[responseObject]);}}} catch(e){}} else{try {switch(httpStatus){case 12002:case 12029:case 12030:case 12031:case 12152:case 13030:responseObject=this.createExceptionObject(o.tId,callback.argument,(isAbort?isAbort:false));if(callback.failure){if(!callback.scope){callback.failure(responseObject);} else{callback.failure.apply(callback.scope,[responseObject]);}} break;default:responseObject=this.createResponseObject(o,callback.argument);if(callback.failure){if(!callback.scope){callback.failure(responseObject);} else{callback.failure.apply(callback.scope,[responseObject]);}}}} catch(e){}} this.releaseObject(o);responseObject=null;},createResponseObject:function(o,callbackArg) {var obj={};var headerObj={};try {var headerStr=o.conn.getAllResponseHeaders();var header=headerStr.split('\n');for(var i=0;i');if(typeof secureUri=='boolean'){io.src='javascript:false';} else if(typeof secureURI=='string'){io.src=secureUri;}} else{var io=document.createElement('iframe');io.id=frameId;io.name=frameId;} io.style.position='absolute';io.style.top='-1000px';io.style.left='-1000px';document.body.appendChild(io);},appendPostData:function(postData) {var formElements=[];var postMessage=postData.split('&');for(var i=0;i0){try {for(var i=0;i0)?val:0;} YAHOO.util.Dom.setStyle(this.getEl(),attr,val+unit);},getAttribute:function(attr){var el=this.getEl();var val=YAHOO.util.Dom.getStyle(el,attr);if(val!=='auto'&&!this.patterns.offsetUnit.test(val)){return parseFloat(val);} var a=this.patterns.offsetAttribute.exec(attr)||[];var pos=!!(a[3]);var box=!!(a[2]);if(box||(YAHOO.util.Dom.getStyle(el,'position')=='absolute'&&pos)){val=el['offset'+a[0].charAt(0).toUpperCase()+a[0].substr(1)];}else{val=0;} return val;},getDefaultUnit:function(attr){if(this.patterns.defaultUnit.test(attr)){return'px';} return'';},setRuntimeAttribute:function(attr){var start;var end;var attributes=this.attributes;this.runtimeAttributes[attr]={};var isset=function(prop){return(typeof prop!=='undefined');};if(!isset(attributes[attr]['to'])&&!isset(attributes[attr]['by'])){return false;} start=(isset(attributes[attr]['from']))?attributes[attr]['from']:this.getAttribute(attr);if(isset(attributes[attr]['to'])){end=attributes[attr]['to'];}else if(isset(attributes[attr]['by'])){if(start.constructor==Array){end=[];for(var i=0,len=start.length;i0&&isFinite(tweak)){if(tween.currentFrame+tweak>=frames){tweak=frames-(frame+1);} tween.currentFrame+=tweak;}};};YAHOO.util.Bezier=new function(){this.getPosition=function(points,t){var n=points.length;var tmp=[];for(var i=0;i0&&!(control[0]instanceof Array)){control=[control];}else{var tmp=[];for(i=0,len=control.length;i0){this.runtimeAttributes[attr]=this.runtimeAttributes[attr].concat(control);} this.runtimeAttributes[attr][this.runtimeAttributes[attr].length]=end;} else{superclass.setRuntimeAttribute.call(this,attr);}};var translateValues=function(val,start){var pageXY=Y.Dom.getXY(this.getEl());val=[val[0]-pageXY[0]+start[0],val[1]-pageXY[1]+start[1]];return val;};var isset=function(prop){return(typeof prop!=='undefined');};})();(function(){YAHOO.util.Scroll=function(el,attributes,duration,method){if(el){YAHOO.util.Scroll.superclass.constructor.call(this,el,attributes,duration,method);}};YAHOO.extend(YAHOO.util.Scroll,YAHOO.util.ColorAnim);var Y=YAHOO.util;var superclass=Y.Scroll.superclass;var proto=Y.Scroll.prototype;proto.toString=function(){var el=this.getEl();var id=el.id||el.tagName;return("Scroll "+id);};proto.doMethod=function(attr,start,end){var val=null;if(attr=='scroll'){val=[this.method(this.currentFrame,start[0],end[0]-start[0],this.totalFrames),this.method(this.currentFrame,start[1],end[1]-start[1],this.totalFrames)];}else{val=superclass.doMethod.call(this,attr,start,end);} return val;};proto.getAttribute=function(attr){var val=null;var el=this.getEl();if(attr=='scroll'){val=[el.scrollLeft,el.scrollTop];}else{val=superclass.getAttribute.call(this,attr);} return val;};proto.setAttribute=function(attr,val,unit){var el=this.getEl();if(attr=='scroll'){el.scrollLeft=val[0];el.scrollTop=val[1];}else{superclass.setAttribute.call(this,attr,val,unit);}};})(); YAHOO.widget.AutoComplete=function(elInput,elContainer,oDataSource,oConfigs){if(elInput&&elContainer&&oDataSource){if(oDataSource&&(oDataSource instanceof YAHOO.widget.DataSource)){this.dataSource=oDataSource;} else{return;} if(YAHOO.util.Dom.inDocument(elInput)){if(typeof elInput=="string"){this._sName="instance"+YAHOO.widget.AutoComplete._nIndex+" "+elInput;this._oTextbox=document.getElementById(elInput);} else{this._sName=(elInput.id)?"instance"+YAHOO.widget.AutoComplete._nIndex+" "+elInput.id:"instance"+YAHOO.widget.AutoComplete._nIndex;this._oTextbox=elInput;}} else{return;} if(YAHOO.util.Dom.inDocument(elContainer)){if(typeof elContainer=="string"){this._oContainer=document.getElementById(elContainer);} else{this._oContainer=elContainer;} if(this._oContainer.style.display=="none"){}} else{return;} if(typeof oConfigs=="object"){for(var sConfig in oConfigs){if(sConfig){this[sConfig]=oConfigs[sConfig];}}} this._initContainer();this._initProps();this._initList();this._initContainerHelpers();var oSelf=this;var oTextbox=this._oTextbox;var oContent=this._oContainer._oContent;YAHOO.util.Event.addListener(oTextbox,"keyup",oSelf._onTextboxKeyUp,oSelf);YAHOO.util.Event.addListener(oTextbox,"keydown",oSelf._onTextboxKeyDown,oSelf);YAHOO.util.Event.addListener(oTextbox,"focus",oSelf._onTextboxFocus,oSelf);YAHOO.util.Event.addListener(oTextbox,"blur",oSelf._onTextboxBlur,oSelf);YAHOO.util.Event.addListener(oContent,"mouseover",oSelf._onContainerMouseover,oSelf);YAHOO.util.Event.addListener(oContent,"mouseout",oSelf._onContainerMouseout,oSelf);YAHOO.util.Event.addListener(oContent,"scroll",oSelf._onContainerScroll,oSelf);YAHOO.util.Event.addListener(oContent,"resize",oSelf._onContainerResize,oSelf);if(oTextbox.form){YAHOO.util.Event.addListener(oTextbox.form,"submit",oSelf._onFormSubmit,oSelf);} YAHOO.util.Event.addListener(oTextbox,"keypress",oSelf._onTextboxKeyPress,oSelf);this.textboxFocusEvent=new YAHOO.util.CustomEvent("textboxFocus",this);this.textboxKeyEvent=new YAHOO.util.CustomEvent("textboxKey",this);this.dataRequestEvent=new YAHOO.util.CustomEvent("dataRequest",this);this.dataReturnEvent=new YAHOO.util.CustomEvent("dataReturn",this);this.dataErrorEvent=new YAHOO.util.CustomEvent("dataError",this);this.containerExpandEvent=new YAHOO.util.CustomEvent("containerExpand",this);this.typeAheadEvent=new YAHOO.util.CustomEvent("typeAhead",this);this.itemMouseOverEvent=new YAHOO.util.CustomEvent("itemMouseOver",this);this.itemMouseOutEvent=new YAHOO.util.CustomEvent("itemMouseOut",this);this.itemArrowToEvent=new YAHOO.util.CustomEvent("itemArrowTo",this);this.itemArrowFromEvent=new YAHOO.util.CustomEvent("itemArrowFrom",this);this.itemSelectEvent=new YAHOO.util.CustomEvent("itemSelect",this);this.unmatchedItemSelectEvent=new YAHOO.util.CustomEvent("unmatchedItemSelect",this);this.selectionEnforceEvent=new YAHOO.util.CustomEvent("selectionEnforce",this);this.containerCollapseEvent=new YAHOO.util.CustomEvent("containerCollapse",this);this.textboxBlurEvent=new YAHOO.util.CustomEvent("textboxBlur",this);oTextbox.setAttribute("autocomplete","off");YAHOO.widget.AutoComplete._nIndex++;} else{}};YAHOO.widget.AutoComplete.prototype.dataSource=null;YAHOO.widget.AutoComplete.prototype.minQueryLength=1;YAHOO.widget.AutoComplete.prototype.maxResultsDisplayed=10;YAHOO.widget.AutoComplete.prototype.queryDelay=0.5;YAHOO.widget.AutoComplete.prototype.highlightClassName="yui-ac-highlight";YAHOO.widget.AutoComplete.prototype.prehighlightClassName=null;YAHOO.widget.AutoComplete.prototype.delimChar=null;YAHOO.widget.AutoComplete.prototype.autoHighlight=true;YAHOO.widget.AutoComplete.prototype.typeAhead=false;YAHOO.widget.AutoComplete.prototype.animHoriz=false;YAHOO.widget.AutoComplete.prototype.animVert=true;YAHOO.widget.AutoComplete.prototype.animSpeed=0.3;YAHOO.widget.AutoComplete.prototype.forceSelection=false;YAHOO.widget.AutoComplete.prototype.allowBrowserAutocomplete=true;YAHOO.widget.AutoComplete.prototype.alwaysShowContainer=false;YAHOO.widget.AutoComplete.prototype.useIFrame=false;YAHOO.widget.AutoComplete.prototype.useShadow=false;YAHOO.widget.AutoComplete.prototype.toString=function(){return"AutoComplete "+this._sName;};YAHOO.widget.AutoComplete.prototype.isContainerOpen=function(){return this._bContainerOpen;};YAHOO.widget.AutoComplete.prototype.getListItems=function(){return this._aListItems;};YAHOO.widget.AutoComplete.prototype.getListItemData=function(oListItem){if(oListItem._oResultData){return oListItem._oResultData;} else{return false;}};YAHOO.widget.AutoComplete.prototype.setHeader=function(sHeader){if(sHeader){if(this._oContainer._oContent._oHeader){this._oContainer._oContent._oHeader.innerHTML=sHeader;this._oContainer._oContent._oHeader.style.display="block";}} else{this._oContainer._oContent._oHeader.innerHTML="";this._oContainer._oContent._oHeader.style.display="none";}};YAHOO.widget.AutoComplete.prototype.setFooter=function(sFooter){if(sFooter){if(this._oContainer._oContent._oFooter){this._oContainer._oContent._oFooter.innerHTML=sFooter;this._oContainer._oContent._oFooter.style.display="block";}} else{this._oContainer._oContent._oFooter.innerHTML="";this._oContainer._oContent._oFooter.style.display="none";}};YAHOO.widget.AutoComplete.prototype.setBody=function(sBody){if(sBody){if(this._oContainer._oContent._oBody){this._oContainer._oContent._oBody.innerHTML=sBody;this._oContainer._oContent._oBody.style.display="block";this._oContainer._oContent.style.display="block";}} else{this._oContainer._oContent._oBody.innerHTML="";this._oContainer._oContent.style.display="none";} this._maxResultsDisplayed=0;};YAHOO.widget.AutoComplete.prototype.formatResult=function(oResultItem,sQuery){var sResult=oResultItem[0];if(sResult){return sResult;} else{return"";}};YAHOO.widget.AutoComplete.prototype.doBeforeExpandContainer=function(oResultItem,sQuery){return true;};YAHOO.widget.AutoComplete.prototype.sendQuery=function(sQuery){this._sendQuery(sQuery);};YAHOO.widget.AutoComplete.prototype.textboxFocusEvent=null;YAHOO.widget.AutoComplete.prototype.textboxKeyEvent=null;YAHOO.widget.AutoComplete.prototype.dataRequestEvent=null;YAHOO.widget.AutoComplete.prototype.dataReturnEvent=null;YAHOO.widget.AutoComplete.prototype.dataErrorEvent=null;YAHOO.widget.AutoComplete.prototype.containerExpandEvent=null;YAHOO.widget.AutoComplete.prototype.typeAheadEvent=null;YAHOO.widget.AutoComplete.prototype.itemMouseOverEvent=null;YAHOO.widget.AutoComplete.prototype.itemMouseOutEvent=null;YAHOO.widget.AutoComplete.prototype.itemArrowToEvent=null;YAHOO.widget.AutoComplete.prototype.itemArrowFromEvent=null;YAHOO.widget.AutoComplete.prototype.itemSelectEvent=null;YAHOO.widget.AutoComplete.prototype.unmatchedItemSelectEvent=null;YAHOO.widget.AutoComplete.prototype.selectionEnforceEvent=null;YAHOO.widget.AutoComplete.prototype.containerCollapseEvent=null;YAHOO.widget.AutoComplete.prototype.textboxBlurEvent=null;YAHOO.widget.AutoComplete._nIndex=0;YAHOO.widget.AutoComplete.prototype._sName=null;YAHOO.widget.AutoComplete.prototype._oTextbox=null;YAHOO.widget.AutoComplete.prototype._bFocused=true;YAHOO.widget.AutoComplete.prototype._oAnim=null;YAHOO.widget.AutoComplete.prototype._oContainer=null;YAHOO.widget.AutoComplete.prototype._bContainerOpen=false;YAHOO.widget.AutoComplete.prototype._bOverContainer=false;YAHOO.widget.AutoComplete.prototype._aListItems=null;YAHOO.widget.AutoComplete.prototype._nDisplayedItems=0;YAHOO.widget.AutoComplete.prototype._maxResultsDisplayed=0;YAHOO.widget.AutoComplete.prototype._sCurQuery=null;YAHOO.widget.AutoComplete.prototype._sSavedQuery=null;YAHOO.widget.AutoComplete.prototype._oCurItem=null;YAHOO.widget.AutoComplete.prototype._bItemSelected=false;YAHOO.widget.AutoComplete.prototype._nKeyCode=null;YAHOO.widget.AutoComplete.prototype._nDelayID=-1;YAHOO.widget.AutoComplete.prototype._iFrameSrc="javascript:false;";YAHOO.widget.AutoComplete.prototype._queryInterval=null;YAHOO.widget.AutoComplete.prototype._sLastTextboxValue=null;YAHOO.widget.AutoComplete.prototype._initProps=function(){var minQueryLength=this.minQueryLength;if(isNaN(minQueryLength)||(minQueryLength<1)){minQueryLength=1;} var maxResultsDisplayed=this.maxResultsDisplayed;if(isNaN(this.maxResultsDisplayed)||(this.maxResultsDisplayed<1)){this.maxResultsDisplayed=10;} var queryDelay=this.queryDelay;if(isNaN(this.queryDelay)||(this.queryDelay<0)){this.queryDelay=0.5;} var aDelimChar=(this.delimChar)?this.delimChar:null;if(aDelimChar){if(typeof aDelimChar=="string"){this.delimChar=[aDelimChar];} else if(aDelimChar.constructor!=Array){this.delimChar=null;}} var animSpeed=this.animSpeed;if((this.animHoriz||this.animVert)&&YAHOO.util.Anim){if(isNaN(animSpeed)||(animSpeed<0)){animSpeed=0.3;} if(!this._oAnim){oAnim=new YAHOO.util.Anim(this._oContainer._oContent,{},this.animSpeed);this._oAnim=oAnim;} else{this._oAnim.duration=animSpeed;}} if(this.forceSelection&&this.delimChar){}};YAHOO.widget.AutoComplete.prototype._initContainerHelpers=function(){if(this.useShadow&&!this._oContainer._oShadow){var oShadow=document.createElement("div");oShadow.className="yui-ac-shadow";this._oContainer._oShadow=this._oContainer.appendChild(oShadow);} if(this.useIFrame&&!this._oContainer._oIFrame){var oIFrame=document.createElement("iframe");oIFrame.src=this._iFrameSrc;oIFrame.frameBorder=0;oIFrame.scrolling="no";oIFrame.style.position="absolute";oIFrame.style.width="100%";oIFrame.style.height="100%";oIFrame.tabIndex=-1;this._oContainer._oIFrame=this._oContainer.appendChild(oIFrame);}};YAHOO.widget.AutoComplete.prototype._initContainer=function(){if(!this._oContainer._oContent){var oContent=document.createElement("div");oContent.className="yui-ac-content";oContent.style.display="none";this._oContainer._oContent=this._oContainer.appendChild(oContent);var oHeader=document.createElement("div");oHeader.className="yui-ac-hd";oHeader.style.display="none";this._oContainer._oContent._oHeader=this._oContainer._oContent.appendChild(oHeader);var oBody=document.createElement("div");oBody.className="yui-ac-bd";this._oContainer._oContent._oBody=this._oContainer._oContent.appendChild(oBody);var oFooter=document.createElement("div");oFooter.className="yui-ac-ft";oFooter.style.display="none";this._oContainer._oContent._oFooter=this._oContainer._oContent.appendChild(oFooter);} else{}};YAHOO.widget.AutoComplete.prototype._initList=function(){this._aListItems=[];while(this._oContainer._oContent._oBody.hasChildNodes()){var oldListItems=this.getListItems();if(oldListItems){for(var oldi=oldListItems.length-1;oldi>=0;i--){oldListItems[oldi]=null;}} this._oContainer._oContent._oBody.innerHTML="";} var oList=document.createElement("ul");oList=this._oContainer._oContent._oBody.appendChild(oList);for(var i=0;i=18&&nKeyCode<=20)||(nKeyCode==27)||(nKeyCode>=33&&nKeyCode<=35)||(nKeyCode>=36&&nKeyCode<=38)||(nKeyCode==40)||(nKeyCode>=44&&nKeyCode<=45)){return true;} return false;};YAHOO.widget.AutoComplete.prototype._sendQuery=function(sQuery){if(this.minQueryLength==-1){this._toggleContainer(false);return;} var aDelimChar=(this.delimChar)?this.delimChar:null;if(aDelimChar){var nDelimIndex=-1;for(var i=aDelimChar.length-1;i>=0;i--){var nNewIndex=sQuery.lastIndexOf(aDelimChar[i]);if(nNewIndex>nDelimIndex){nDelimIndex=nNewIndex;}} if(aDelimChar[i]==" "){for(var j=aDelimChar.length-1;j>=0;j--){if(sQuery[nDelimIndex-1]==aDelimChar[j]){nDelimIndex--;break;}}} if(nDelimIndex>-1){var nQueryStart=nDelimIndex+1;while(sQuery.charAt(nQueryStart)==" "){nQueryStart+=1;} this._sSavedQuery=sQuery.substring(0,nQueryStart);sQuery=sQuery.substr(nQueryStart);} else if(sQuery.indexOf(this._sSavedQuery)<0){this._sSavedQuery=null;}} if(sQuery&&(sQuery.length0)){if(this._nDelayID!=-1){clearTimeout(this._nDelayID);} this._toggleContainer(false);return;} sQuery=encodeURIComponent(sQuery);this._nDelayID=-1;this.dataRequestEvent.fire(this,sQuery);this.dataSource.getResults(this._populateList,sQuery,this);};YAHOO.widget.AutoComplete.prototype._populateList=function(sQuery,aResults,oSelf){if(aResults===null){oSelf.dataErrorEvent.fire(oSelf,sQuery);} if(!oSelf._bFocused||!aResults){return;} var isOpera=(navigator.userAgent.toLowerCase().indexOf("opera")!=-1);var contentStyle=oSelf._oContainer._oContent.style;contentStyle.width=(!isOpera)?null:"";contentStyle.height=(!isOpera)?null:"";var sCurQuery=decodeURIComponent(sQuery);oSelf._sCurQuery=sCurQuery;oSelf._bItemSelected=false;if(oSelf._maxResultsDisplayed!=oSelf.maxResultsDisplayed){oSelf._initList();} var nItems=Math.min(aResults.length,oSelf.maxResultsDisplayed);oSelf._nDisplayedItems=nItems;if(nItems>0){oSelf._initContainerHelpers();var aItems=oSelf._aListItems;for(var i=nItems-1;i>=0;i--){var oItemi=aItems[i];var oResultItemi=aResults[i];oItemi.innerHTML=oSelf.formatResult(oResultItemi,sCurQuery);oItemi.style.display="list-item";oItemi._sResultKey=oResultItemi[0];oItemi._oResultData=oResultItemi;} for(var j=aItems.length-1;j>=nItems;j--){var oItemj=aItems[j];oItemj.innerHTML=null;oItemj.style.display="none";oItemj._sResultKey=null;oItemj._oResultData=null;} if(oSelf.autoHighlight){var oFirstItem=aItems[0];oSelf._toggleHighlight(oFirstItem,"to");oSelf.itemArrowToEvent.fire(oSelf,oFirstItem);oSelf._typeAhead(oFirstItem,sQuery);} else{oSelf._oCurItem=null;} var ok=oSelf.doBeforeExpandContainer(oSelf._oTextbox,oSelf._oContainer,sQuery,aResults);oSelf._toggleContainer(ok);} else{oSelf._toggleContainer(false);} oSelf.dataReturnEvent.fire(oSelf,sQuery,aResults);};YAHOO.widget.AutoComplete.prototype._clearSelection=function(){var sValue=this._oTextbox.value;var sChar=(this.delimChar)?this.delimChar[0]:null;var nIndex=(sChar)?sValue.lastIndexOf(sChar,sValue.length-2):-1;if(nIndex>-1){this._oTextbox.value=sValue.substring(0,nIndex);} else{this._oTextbox.value="";} this._sSavedQuery=this._oTextbox.value;this.selectionEnforceEvent.fire(this);};YAHOO.widget.AutoComplete.prototype._textMatchesOption=function(){var foundMatch=false;for(var i=this._nDisplayedItems-1;i>=0;i--){var oItem=this._aListItems[i];var sMatch=oItem._sResultKey.toLowerCase();if(sMatch==this._sCurQuery.toLowerCase()){foundMatch=true;break;}} return(foundMatch);};YAHOO.widget.AutoComplete.prototype._typeAhead=function(oItem,sQuery){if(!this.typeAhead||(this._nKeyCode==8)){return;} var oTextbox=this._oTextbox;var sValue=this._oTextbox.value;if(!oTextbox.setSelectionRange&&!oTextbox.createTextRange){return;} var nStart=sValue.length;this._updateValue(oItem);var nEnd=oTextbox.value.length;this._selectText(oTextbox,nStart,nEnd);var sPrefill=oTextbox.value.substr(nStart,nEnd);this.typeAheadEvent.fire(this,sQuery,sPrefill);};YAHOO.widget.AutoComplete.prototype._selectText=function(oTextbox,nStart,nEnd){if(oTextbox.setSelectionRange){oTextbox.setSelectionRange(nStart,nEnd);} else if(oTextbox.createTextRange){var oTextRange=oTextbox.createTextRange();oTextRange.moveStart("character",nStart);oTextRange.moveEnd("character",nEnd-oTextbox.value.length);oTextRange.select();} else{oTextbox.select();}};YAHOO.widget.AutoComplete.prototype._toggleContainerHelpers=function(bShow){var bFireEvent=false;var width=this._oContainer._oContent.offsetWidth+"px";var height=this._oContainer._oContent.offsetHeight+"px";if(this.useIFrame&&this._oContainer._oIFrame){bFireEvent=true;if(bShow){this._oContainer._oIFrame.style.width=width;this._oContainer._oIFrame.style.height=height;} else{this._oContainer._oIFrame.style.width=0;this._oContainer._oIFrame.style.height=0;}} if(this.useShadow&&this._oContainer._oShadow){bFireEvent=true;if(bShow){this._oContainer._oShadow.style.width=width;this._oContainer._oShadow.style.height=height;} else{this._oContainer._oShadow.style.width=0;this._oContainer._oShadow.style.height=0;}}};YAHOO.widget.AutoComplete.prototype._toggleContainer=function(bShow){var oContainer=this._oContainer;if(this.alwaysShowContainer&&this._bContainerOpen){return;} if(!bShow){this._oContainer._oContent.scrollTop=0;var aItems=this._aListItems;if(aItems&&(aItems.length>0)){for(var i=aItems.length-1;i>=0;i--){aItems[i].style.display="none";}} if(this._oCurItem){this._toggleHighlight(this._oCurItem,"from");} this._oCurItem=null;this._nDisplayedItems=0;this._sCurQuery=null;} if(!bShow&&!this._bContainerOpen){oContainer._oContent.style.display="none";return;} var oAnim=this._oAnim;if(oAnim&&oAnim.getEl()&&(this.animHoriz||this.animVert)){if(!bShow){this._toggleContainerHelpers(bShow);} if(oAnim.isAnimated()){oAnim.stop();} var oClone=oContainer._oContent.cloneNode(true);oContainer.appendChild(oClone);oClone.style.top="-9000px";oClone.style.display="block";var wExp=oClone.offsetWidth;var hExp=oClone.offsetHeight;var wColl=(this.animHoriz)?0:wExp;var hColl=(this.animVert)?0:hExp;oAnim.attributes=(bShow)?{width:{to:wExp},height:{to:hExp}}:{width:{to:wColl},height:{to:hColl}};if(bShow&&!this._bContainerOpen){oContainer._oContent.style.width=wColl+"px";oContainer._oContent.style.height=hColl+"px";} else{oContainer._oContent.style.width=wExp+"px";oContainer._oContent.style.height=hExp+"px";} oContainer.removeChild(oClone);oClone=null;var oSelf=this;var onAnimComplete=function(){oAnim.onComplete.unsubscribeAll();if(bShow){oSelf.containerExpandEvent.fire(oSelf);} else{oContainer._oContent.style.display="none";oSelf.containerCollapseEvent.fire(oSelf);} oSelf._toggleContainerHelpers(bShow);};oContainer._oContent.style.display="block";oAnim.onComplete.subscribe(onAnimComplete);oAnim.animate();this._bContainerOpen=bShow;} else{if(bShow){oContainer._oContent.style.display="block";this.containerExpandEvent.fire(this);} else{oContainer._oContent.style.display="none";this.containerCollapseEvent.fire(this);} this._toggleContainerHelpers(bShow);this._bContainerOpen=bShow;}};YAHOO.widget.AutoComplete.prototype._toggleHighlight=function(oNewItem,sType){var sHighlight=this.highlightClassName;if(this._oCurItem){YAHOO.util.Dom.removeClass(this._oCurItem,sHighlight);} if((sType=="to")&&sHighlight){YAHOO.util.Dom.addClass(oNewItem,sHighlight);this._oCurItem=oNewItem;}};YAHOO.widget.AutoComplete.prototype._togglePrehighlight=function(oNewItem,sType){if(oNewItem==this._oCurItem){return;} var sPrehighlight=this.prehighlightClassName;if((sType=="mouseover")&&sPrehighlight){YAHOO.util.Dom.addClass(oNewItem,sPrehighlight);} else{YAHOO.util.Dom.removeClass(oNewItem,sPrehighlight);}};YAHOO.widget.AutoComplete.prototype._updateValue=function(oItem){var oTextbox=this._oTextbox;var sDelimChar=(this.delimChar)?(this.delimChar[0]||this.delimChar):null;var sSavedQuery=this._sSavedQuery;var sResultKey=oItem._sResultKey;oTextbox.focus();oTextbox.value="";if(sDelimChar){if(sSavedQuery){oTextbox.value=sSavedQuery;} oTextbox.value+=sResultKey+sDelimChar;if(sDelimChar!=" "){oTextbox.value+=" ";}} else{oTextbox.value=sResultKey;} if(oTextbox.type=="textarea"){oTextbox.scrollTop=oTextbox.scrollHeight;} var end=oTextbox.value.length;this._selectText(oTextbox,end,end);this._oCurItem=oItem;};YAHOO.widget.AutoComplete.prototype._selectItem=function(oItem){this._bItemSelected=true;this._updateValue(oItem);this._cancelIntervalDetection(this);this.itemSelectEvent.fire(this,oItem,oItem._oResultData);this._toggleContainer(false);};YAHOO.widget.AutoComplete.prototype._jumpSelection=function(){if(!this.typeAhead){return;} else{this._toggleContainer(false);}};YAHOO.widget.AutoComplete.prototype._moveSelection=function(nKeyCode){if(this._bContainerOpen){var oCurItem=this._oCurItem;var nCurItemIndex=-1;if(oCurItem){nCurItemIndex=oCurItem._nItemIndex;} var nNewItemIndex=(nKeyCode==40)?(nCurItemIndex+1):(nCurItemIndex-1);if(nNewItemIndex<-2||nNewItemIndex>=this._nDisplayedItems){return;} if(oCurItem){this._toggleHighlight(oCurItem,"from");this.itemArrowFromEvent.fire(this,oCurItem);} if(nNewItemIndex==-1){if(this.delimChar&&this._sSavedQuery){if(!this._textMatchesOption()){this._oTextbox.value=this._sSavedQuery;} else{this._oTextbox.value=this._sSavedQuery+this._sCurQuery;}} else{this._oTextbox.value=this._sCurQuery;} this._oCurItem=null;return;} if(nNewItemIndex==-2){this._toggleContainer(false);return;} var oNewItem=this._aListItems[nNewItemIndex];var oContent=this._oContainer._oContent;var scrollOn=((YAHOO.util.Dom.getStyle(oContent,"overflow")=="auto")||(YAHOO.util.Dom.getStyle(oContent,"overflowY")=="auto"));if(scrollOn&&(nNewItemIndex>-1)&&(nNewItemIndex(oContent.scrollTop+oContent.offsetHeight)){oContent.scrollTop=(oNewItem.offsetTop+oNewItem.offsetHeight)-oContent.offsetHeight;} else if((oNewItem.offsetTop+oNewItem.offsetHeight)(oContent.scrollTop+oContent.offsetHeight)){this._oContainer._oContent.scrollTop=(oNewItem.offsetTop+oNewItem.offsetHeight)-oContent.offsetHeight;}}} this._toggleHighlight(oNewItem,"to");this.itemArrowToEvent.fire(this,oNewItem);if(this.typeAhead){this._updateValue(oNewItem);}}};YAHOO.widget.AutoComplete.prototype._onItemMouseover=function(v,oSelf){if(oSelf.prehighlightClassName){oSelf._togglePrehighlight(this,"mouseover");} else{oSelf._toggleHighlight(this,"to");} oSelf.itemMouseOverEvent.fire(oSelf,this);};YAHOO.widget.AutoComplete.prototype._onItemMouseout=function(v,oSelf){if(oSelf.prehighlightClassName){oSelf._togglePrehighlight(this,"mouseout");} else{oSelf._toggleHighlight(this,"from");} oSelf.itemMouseOutEvent.fire(oSelf,this);};YAHOO.widget.AutoComplete.prototype._onItemMouseclick=function(v,oSelf){oSelf._toggleHighlight(this,"to");oSelf._selectItem(this);};YAHOO.widget.AutoComplete.prototype._onContainerMouseover=function(v,oSelf){oSelf._bOverContainer=true;};YAHOO.widget.AutoComplete.prototype._onContainerMouseout=function(v,oSelf){oSelf._bOverContainer=false;if(oSelf._oCurItem){oSelf._toggleHighlight(oSelf._oCurItem,"to");}};YAHOO.widget.AutoComplete.prototype._onContainerScroll=function(v,oSelf){oSelf._oTextbox.focus();};YAHOO.widget.AutoComplete.prototype._onContainerResize=function(v,oSelf){oSelf._toggleContainerHelpers(oSelf._bContainerOpen);};YAHOO.widget.AutoComplete.prototype._onTextboxKeyDown=function(v,oSelf){var nKeyCode=v.keyCode;switch(nKeyCode){case 9:if(oSelf.delimChar&&(oSelf._nKeyCode!=nKeyCode)){if(oSelf._bContainerOpen){YAHOO.util.Event.stopEvent(v);}} if(oSelf._oCurItem){oSelf._selectItem(oSelf._oCurItem);} else{oSelf._toggleContainer(false);} break;case 13:if(oSelf._nKeyCode!=nKeyCode){if(oSelf._bContainerOpen){YAHOO.util.Event.stopEvent(v);}} if(oSelf._oCurItem){oSelf._selectItem(oSelf._oCurItem);} else{oSelf._toggleContainer(false);} break;case 27:oSelf._toggleContainer(false);return;case 39:oSelf._jumpSelection();break;case 38:YAHOO.util.Event.stopEvent(v);oSelf._moveSelection(nKeyCode);break;case 40:YAHOO.util.Event.stopEvent(v);oSelf._moveSelection(nKeyCode);break;default:break;}};YAHOO.widget.AutoComplete.prototype._onTextboxKeyPress=function(v,oSelf){var nKeyCode=v.keyCode;var isMac=(navigator.userAgent.toLowerCase().indexOf("mac")!=-1);if(isMac){switch(nKeyCode){case 9:if(oSelf.delimChar&&(oSelf._nKeyCode!=nKeyCode)){if(oSelf._bContainerOpen){YAHOO.util.Event.stopEvent(v);}} break;case 13:if(oSelf._nKeyCode!=nKeyCode){if(oSelf._bContainerOpen){YAHOO.util.Event.stopEvent(v);}} break;case 38:case 40:YAHOO.util.Event.stopEvent(v);break;default:break;}} else if(nKeyCode==229){oSelf._queryInterval=setInterval(function(){oSelf._onIMEDetected(oSelf);},500);}};YAHOO.widget.AutoComplete.prototype._onTextboxKeyUp=function(v,oSelf){oSelf._initProps();var nKeyCode=v.keyCode;oSelf._nKeyCode=nKeyCode;var sText=this.value;if(oSelf._isIgnoreKey(nKeyCode)||(sText.toLowerCase()==oSelf._sCurQuery)){return;} else{oSelf.textboxKeyEvent.fire(oSelf,nKeyCode);} if(oSelf.queryDelay>0){var nDelayID=setTimeout(function(){oSelf._sendQuery(sText);},(oSelf.queryDelay*1000));if(oSelf._nDelayID!=-1){clearTimeout(oSelf._nDelayID);} oSelf._nDelayID=nDelayID;} else{oSelf._sendQuery(sText);}};YAHOO.widget.AutoComplete.prototype._onTextboxFocus=function(v,oSelf){oSelf._oTextbox.setAttribute("autocomplete","off");oSelf._bFocused=true;oSelf.textboxFocusEvent.fire(oSelf);};YAHOO.widget.AutoComplete.prototype._onTextboxBlur=function(v,oSelf){if(!oSelf._bOverContainer||(oSelf._nKeyCode==9)){if(!oSelf._bItemSelected){if(!oSelf._bContainerOpen||(oSelf._bContainerOpen&&!oSelf._textMatchesOption())){if(oSelf.forceSelection){oSelf._clearSelection();} else{oSelf.unmatchedItemSelectEvent.fire(oSelf,oSelf._sCurQuery);}}} if(oSelf._bContainerOpen){oSelf._toggleContainer(false);} oSelf._cancelIntervalDetection(oSelf);oSelf._bFocused=false;oSelf.textboxBlurEvent.fire(oSelf);}};YAHOO.widget.AutoComplete.prototype._onFormSubmit=function(v,oSelf){if(oSelf.allowBrowserAutocomplete){oSelf._oTextbox.setAttribute("autocomplete","on");} else{oSelf._oTextbox.setAttribute("autocomplete","off");}};YAHOO.widget.DataSource=function(){};YAHOO.widget.DataSource.ERROR_DATANULL="Response data was null";YAHOO.widget.DataSource.ERROR_DATAPARSE="Response data could not be parsed";YAHOO.widget.DataSource.prototype.maxCacheEntries=15;YAHOO.widget.DataSource.prototype.queryMatchContains=false;YAHOO.widget.DataSource.prototype.queryMatchSubset=false;YAHOO.widget.DataSource.prototype.queryMatchCase=false;YAHOO.widget.DataSource.prototype.toString=function(){return"DataSource "+this._sName;};YAHOO.widget.DataSource.prototype.getResults=function(oCallbackFn,sQuery,oParent){var aResults=this._doQueryCache(oCallbackFn,sQuery,oParent);if(aResults.length===0){this.queryEvent.fire(this,oParent,sQuery);this.doQuery(oCallbackFn,sQuery,oParent);}};YAHOO.widget.DataSource.prototype.doQuery=function(oCallbackFn,sQuery,oParent){};YAHOO.widget.DataSource.prototype.flushCache=function(){if(this._aCache){this._aCache=[];} if(this._aCacheHelper){this._aCacheHelper=[];} this.cacheFlushEvent.fire(this);};YAHOO.widget.DataSource.prototype.queryEvent=null;YAHOO.widget.DataSource.prototype.cacheQueryEvent=null;YAHOO.widget.DataSource.prototype.getResultsEvent=null;YAHOO.widget.DataSource.prototype.getCachedResultsEvent=null;YAHOO.widget.DataSource.prototype.dataErrorEvent=null;YAHOO.widget.DataSource.prototype.cacheFlushEvent=null;YAHOO.widget.DataSource._nIndex=0;YAHOO.widget.DataSource.prototype._sName=null;YAHOO.widget.DataSource.prototype._aCache=null;YAHOO.widget.DataSource.prototype._init=function(){var maxCacheEntries=this.maxCacheEntries;if(isNaN(maxCacheEntries)||(maxCacheEntries<0)){maxCacheEntries=0;} if(maxCacheEntries>0&&!this._aCache){this._aCache=[];} this._sName="instance"+YAHOO.widget.DataSource._nIndex;YAHOO.widget.DataSource._nIndex++;this.queryEvent=new YAHOO.util.CustomEvent("query",this);this.cacheQueryEvent=new YAHOO.util.CustomEvent("cacheQuery",this);this.getResultsEvent=new YAHOO.util.CustomEvent("getResults",this);this.getCachedResultsEvent=new YAHOO.util.CustomEvent("getCachedResults",this);this.dataErrorEvent=new YAHOO.util.CustomEvent("dataError",this);this.cacheFlushEvent=new YAHOO.util.CustomEvent("cacheFlush",this);};YAHOO.widget.DataSource.prototype._addCacheElem=function(oResult){var aCache=this._aCache;if(!aCache||!oResult||!oResult.query||!oResult.results){return;} if(aCache.length>=this.maxCacheEntries){aCache.shift();} aCache.push(oResult);};YAHOO.widget.DataSource.prototype._doQueryCache=function(oCallbackFn,sQuery,oParent){var aResults=[];var bMatchFound=false;var aCache=this._aCache;var nCacheLength=(aCache)?aCache.length:0;var bMatchContains=this.queryMatchContains;if((this.maxCacheEntries>0)&&aCache&&(nCacheLength>0)){this.cacheQueryEvent.fire(this,oParent,sQuery);if(!this.queryMatchCase){var sOrigQuery=sQuery;sQuery=sQuery.toLowerCase();} for(var i=nCacheLength-1;i>=0;i--){var resultObj=aCache[i];var aAllResultItems=resultObj.results;var matchKey=(!this.queryMatchCase)?encodeURIComponent(resultObj.query).toLowerCase():encodeURIComponent(resultObj.query);if(matchKey==sQuery){bMatchFound=true;aResults=aAllResultItems;if(i!=nCacheLength-1){aCache.splice(i,1);this._addCacheElem(resultObj);} break;} else if(this.queryMatchSubset){for(var j=sQuery.length-1;j>=0;j--){var subQuery=sQuery.substr(0,j);if(matchKey==subQuery){bMatchFound=true;for(var k=aAllResultItems.length-1;k>=0;k--){var aRecord=aAllResultItems[k];var sKeyIndex=(this.queryMatchCase)?encodeURIComponent(aRecord[0]).indexOf(sQuery):encodeURIComponent(aRecord[0]).toLowerCase().indexOf(sQuery);if((!bMatchContains&&(sKeyIndex===0))||(bMatchContains&&(sKeyIndex>-1))){aResults.unshift(aRecord);}} resultObj={};resultObj.query=sQuery;resultObj.results=aResults;this._addCacheElem(resultObj);break;}} if(bMatchFound){break;}}} if(bMatchFound){this.getCachedResultsEvent.fire(this,oParent,sOrigQuery,aResults);oCallbackFn(sOrigQuery,aResults,oParent);}} return aResults;};YAHOO.widget.DS_XHR=function(sScriptURI,aSchema,oConfigs){if(typeof oConfigs=="object"){for(var sConfig in oConfigs){this[sConfig]=oConfigs[sConfig];}} if(!aSchema||(aSchema.constructor!=Array)){return;} else{this.schema=aSchema;} this.scriptURI=sScriptURI;this._init();};YAHOO.widget.DS_XHR.prototype=new YAHOO.widget.DataSource();YAHOO.widget.DS_XHR.TYPE_JSON=0;YAHOO.widget.DS_XHR.TYPE_XML=1;YAHOO.widget.DS_XHR.TYPE_FLAT=2;YAHOO.widget.DS_XHR.ERROR_DATAXHR="XHR response failed";YAHOO.widget.DS_XHR.prototype.connMgr=YAHOO.util.Connect;YAHOO.widget.DS_XHR.prototype.connTimeout=0;YAHOO.widget.DS_XHR.prototype.scriptURI=null;YAHOO.widget.DS_XHR.prototype.scriptQueryParam="query";YAHOO.widget.DS_XHR.prototype.scriptQueryAppend="";YAHOO.widget.DS_XHR.prototype.responseType=YAHOO.widget.DS_XHR.TYPE_JSON;YAHOO.widget.DS_XHR.prototype.responseStripAfter="\n0){sUri+="&"+this.scriptQueryAppend;} var oResponse=null;var oSelf=this;var responseSuccess=function(oResp){if(!oSelf._oConn||(oResp.tId!=oSelf._oConn.tId)){oSelf.dataErrorEvent.fire(oSelf,oParent,sQuery,YAHOO.widget.DataSource.ERROR_DATANULL);return;} for(var foo in oResp){} if(!isXML){oResp=oResp.responseText;} else{oResp=oResp.responseXML;} if(oResp===null){oSelf.dataErrorEvent.fire(oSelf,oParent,sQuery,YAHOO.widget.DataSource.ERROR_DATANULL);return;} var aResults=oSelf.parseResponse(sQuery,oResp,oParent);var resultObj={};resultObj.query=decodeURIComponent(sQuery);resultObj.results=aResults;if(aResults===null){oSelf.dataErrorEvent.fire(oSelf,oParent,sQuery,YAHOO.widget.DataSource.ERROR_DATAPARSE);aResults=[];} else{oSelf.getResultsEvent.fire(oSelf,oParent,sQuery,aResults);oSelf._addCacheElem(resultObj);} oCallbackFn(sQuery,aResults,oParent);};var responseFailure=function(oResp){oSelf.dataErrorEvent.fire(oSelf,oParent,sQuery,YAHOO.widget.DS_XHR.ERROR_DATAXHR);return;};var oCallback={success:responseSuccess,failure:responseFailure};if(!isNaN(this.connTimeout)&&this.connTimeout>0){oCallback.timeout=this.connTimeout;} if(this._oConn){this.connMgr.abort(this._oConn);} oSelf._oConn=this.connMgr.asyncRequest("GET",sUri,oCallback,null);};YAHOO.widget.DS_XHR.prototype.parseResponse=function(sQuery,oResponse,oParent){var aSchema=this.schema;var aResults=[];var bError=false;var nEnd=((this.responseStripAfter!=="")&&(oResponse.indexOf))?oResponse.indexOf(this.responseStripAfter):-1;if(nEnd!=-1){oResponse=oResponse.substring(0,nEnd);} switch(this.responseType){case YAHOO.widget.DS_XHR.TYPE_JSON:var jsonList;if(window.JSON&&(navigator.userAgent.toLowerCase().indexOf('khtml')==-1)){var jsonObjParsed=JSON.parse(oResponse);if(!jsonObjParsed){bError=true;break;} else{try{jsonList=eval("jsonObjParsed."+aSchema[0]);} catch(e){bError=true;break;}}} else{try{while(oResponse.substring(0,1)==" "){oResponse=oResponse.substring(1,oResponse.length);} if(oResponse.indexOf("{")<0){bError=true;break;} if(oResponse.indexOf("{}")===0){break;} var jsonObjRaw=eval("("+oResponse+")");if(!jsonObjRaw){bError=true;break;} jsonList=eval("(jsonObjRaw."+aSchema[0]+")");} catch(e){bError=true;break;}} if(!jsonList){bError=true;break;} if(jsonList.constructor!=Array){jsonList=[jsonList];} for(var i=jsonList.length-1;i>=0;i--){var aResultItem=[];var jsonResult=jsonList[i];for(var j=aSchema.length-1;j>=1;j--){var dataFieldValue=jsonResult[aSchema[j]];if(!dataFieldValue){dataFieldValue="";} aResultItem.unshift(dataFieldValue);} if(aResultItem.length==1){aResultItem.push(jsonResult);} aResults.unshift(aResultItem);} break;case YAHOO.widget.DS_XHR.TYPE_XML:var xmlList=oResponse.getElementsByTagName(aSchema[0]);if(!xmlList){bError=true;break;} for(var k=xmlList.length-1;k>=0;k--){var result=xmlList.item(k);var aFieldSet=[];for(var m=aSchema.length-1;m>=1;m--){var sValue=null;var xmlAttr=result.attributes.getNamedItem(aSchema[m]);if(xmlAttr){sValue=xmlAttr.value;} else{var xmlNode=result.getElementsByTagName(aSchema[m]);if(xmlNode&&xmlNode.item(0)&&xmlNode.item(0).firstChild){sValue=xmlNode.item(0).firstChild.nodeValue;} else{sValue="";}} aFieldSet.unshift(sValue);} aResults.unshift(aFieldSet);} break;case YAHOO.widget.DS_XHR.TYPE_FLAT:if(oResponse.length>0){var newLength=oResponse.length-aSchema[0].length;if(oResponse.substr(newLength)==aSchema[0]){oResponse=oResponse.substr(0,newLength);} var aRecords=oResponse.split(aSchema[0]);for(var n=aRecords.length-1;n>=0;n--){aResults[n]=aRecords[n].split(aSchema[1]);}} break;default:break;} sQuery=null;oResponse=null;oParent=null;if(bError){return null;} else{return aResults;}};YAHOO.widget.DS_XHR.prototype._oConn=null;YAHOO.widget.DS_JSFunction=function(oFunction,oConfigs){if(typeof oConfigs=="object"){for(var sConfig in oConfigs){this[sConfig]=oConfigs[sConfig];}} if(!oFunction||(oFunction.constructor!=Function)){return;} else{this.dataFunction=oFunction;this._init();}};YAHOO.widget.DS_JSFunction.prototype=new YAHOO.widget.DataSource();YAHOO.widget.DS_JSFunction.prototype.dataFunction=null;YAHOO.widget.DS_JSFunction.prototype.doQuery=function(oCallbackFn,sQuery,oParent){var oFunction=this.dataFunction;var aResults=[];aResults=oFunction(sQuery);if(aResults===null){this.dataErrorEvent.fire(this,oParent,sQuery,YAHOO.widget.DataSource.ERROR_DATANULL);return;} var resultObj={};resultObj.query=decodeURIComponent(sQuery);resultObj.results=aResults;this._addCacheElem(resultObj);this.getResultsEvent.fire(this,oParent,sQuery,aResults);oCallbackFn(sQuery,aResults,oParent);return;};YAHOO.widget.DS_JSArray=function(aData,oConfigs){if(typeof oConfigs=="object"){for(var sConfig in oConfigs){this[sConfig]=oConfigs[sConfig];}} if(!aData||(aData.constructor!=Array)){return;} else{this.data=aData;this._init();}};YAHOO.widget.DS_JSArray.prototype=new YAHOO.widget.DataSource();YAHOO.widget.DS_JSArray.prototype.data=null;YAHOO.widget.DS_JSArray.prototype.doQuery=function(oCallbackFn,sQuery,oParent){var aData=this.data;var aResults=[];var bMatchFound=false;var bMatchContains=this.queryMatchContains;if(sQuery){if(!this.queryMatchCase){sQuery=sQuery.toLowerCase();} for(var i=aData.length-1;i>=0;i--){var aDataset=[];if(aData[i]){if(aData[i].constructor==String){aDataset[0]=aData[i];} else if(aData[i].constructor==Array){aDataset=aData[i];}} if(aDataset[0]&&(aDataset[0].constructor==String)){var sKeyIndex=(this.queryMatchCase)?encodeURIComponent(aDataset[0]).indexOf(sQuery):encodeURIComponent(aDataset[0]).toLowerCase().indexOf(sQuery);if((!bMatchContains&&(sKeyIndex===0))||(bMatchContains&&(sKeyIndex>-1))){aResults.unshift(aDataset);}}}} this.getResultsEvent.fire(this,oParent,sQuery,aResults);oCallbackFn(sQuery,aResults,oParent);}; YAHOO.widget.MultiAutoComplete=function(elInput,elContainer,oDataSources,oConfigs){if(elInput&&elContainer&&oDataSources){if(oDataSources) {for(var i=0;i=0;oldi--){oldListItems[oldi]=null;}} this._oContainer._oContent._oBodys[i].innerHTML="";}} for(var i=0;i=0;oldi--){oldListItems[oldi]=null;}} this._oContainer._oContent._oBodys[iIndex].innerHTML="";} this._aListItems[iIndex]=[] var oList=document.createElement("ul");oList=this._oContainer._oContent._oBodys[iIndex].appendChild(oList);for(var j=0;j=18&&nKeyCode<=20)||(nKeyCode==27)||(nKeyCode>=33&&nKeyCode<=35)||(nKeyCode>=36&&nKeyCode<=38)||(nKeyCode==40)||(nKeyCode>=44&&nKeyCode<=45)){return true;} return false;};YAHOO.widget.MultiAutoComplete.prototype._sendQuery=function(sQuery){if(this.minQueryLength==-1){this._toggleContainer(false);return;} var aDelimChar=(this.delimChar)?this.delimChar:null;if(aDelimChar){var nDelimIndex=-1;for(var i=aDelimChar.length-1;i>=0;i--){var nNewIndex=sQuery.lastIndexOf(aDelimChar[i]);if(nNewIndex>nDelimIndex){nDelimIndex=nNewIndex;}} if(aDelimChar[i]==" "){for(var j=aDelimChar.length-1;j>=0;j--){if(sQuery[nDelimIndex-1]==aDelimChar[j]){nDelimIndex--;break;}}} if(nDelimIndex>-1){var nQueryStart=nDelimIndex+1;while(sQuery.charAt(nQueryStart)==" "){nQueryStart+=1;} this._sSavedQuery=sQuery.substring(0,nQueryStart);sQuery=sQuery.substr(nQueryStart);} else if(sQuery.indexOf(this._sSavedQuery)<0){this._sSavedQuery=null;}} if(sQuery&&(sQuery.length0)){if(this._nDelayID!=-1){clearTimeout(this._nDelayID);} this._toggleContainer(false);return;} sQuery=encodeURIComponent(sQuery);this._nDelayID=-1;this.dataRequestEvent.fire(this,sQuery);this._waitingToPopulate=new Array();this._nDisplayedItems=0;for(var i=0;i0){oSelf._initContainerHelpers();oSelf.toggleSubHeader(true,iIndex);var aItems=oSelf._aListItems[iIndex];for(var i=nItems-1;i>=0;i--){var oItemi=aItems[i];var oResultItemi=aResults[i];oItemi.innerHTML=oSelf.formatResult(oResultItemi,sCurQuery,iIndex);oItemi.style.display="list-item";oItemi._sResultKey=oResultItemi[0];oItemi._oResultData=oResultItemi;} for(var j=aItems.length-1;j>=nItems;j--){var oItemj=aItems[j];oItemj.innerHTML=null;oItemj.style.display="none";oItemj._sResultKey=null;oItemj._oResultData=null;} if(oSelf.autoHighlight){var oFirstItem=aItems[0];oSelf._toggleHighlight(oFirstItem,"to");oSelf.itemArrowToEvent.fire(oSelf,oFirstItem);oSelf._typeAhead(oFirstItem,sQuery);} else{this._toggleHighlight();oSelf._oCurItem=null;} if(!this._bContainerOpen) {var ok=oSelf.doBeforeExpandContainer(oSelf._oTextbox,oSelf._oContainer,sQuery,aResults);oSelf._toggleContainer(ok);}} else if(nItems==0) {oSelf.toggleSubHeader(false,iIndex);oSelf._initSubList(iIndex);} if(oSelf._nDisplayedItems==0){oSelf._toggleContainer(false);} oSelf.dataReturnEvent.fire(oSelf,sQuery,aResults,iIndex);};YAHOO.widget.MultiAutoComplete.prototype._clearSelection=function(){var sValue=this._oTextbox.value;var sChar=(this.delimChar)?this.delimChar[0]:null;var nIndex=(sChar)?sValue.lastIndexOf(sChar,sValue.length-2):-1;if(nIndex>-1){this._oTextbox.value=sValue.substring(0,nIndex);} else{this._oTextbox.value="";} this._sSavedQuery=this._oTextbox.value;this.selectionEnforceEvent.fire(this);};YAHOO.widget.MultiAutoComplete.prototype._textMatchesOption=function(){var foundMatch=false;for(var j=0;j=0;i--){var oItem=this._aListItems[j][i];if(oItem==null||oItem._sResultKey==null) continue;var sMatch=oItem._sResultKey.toLowerCase();if(sMatch==this._sCurQuery.toLowerCase()){foundMatch=true;break;}}} return(foundMatch);};YAHOO.widget.MultiAutoComplete.prototype._typeAhead=function(oItem,sQuery){if(!this.typeAhead||(this._nKeyCode==8)){return;} var oTextbox=this._oTextbox;var sValue=this._oTextbox.value;if(!oTextbox.setSelectionRange&&!oTextbox.createTextRange){return;} var nStart=sValue.length;this._updateValue(oItem);var nEnd=oTextbox.value.length;this._selectText(oTextbox,nStart,nEnd);var sPrefill=oTextbox.value.substr(nStart,nEnd);this.typeAheadEvent.fire(this,sQuery,sPrefill);};YAHOO.widget.MultiAutoComplete.prototype._selectText=function(oTextbox,nStart,nEnd){if(oTextbox.setSelectionRange){oTextbox.setSelectionRange(nStart,nEnd);} else if(oTextbox.createTextRange){var oTextRange=oTextbox.createTextRange();oTextRange.moveStart("character",nStart);oTextRange.moveEnd("character",nEnd-oTextbox.value.length);oTextRange.select();} else{oTextbox.select();}};YAHOO.widget.MultiAutoComplete.prototype._toggleContainerHelpers=function(bShow){var bFireEvent=false;var width=this._oContainer._oContent.offsetWidth+"px";var height=this._oContainer._oContent.offsetHeight+"px";if(this.useIFrame&&this._oContainer._oIFrame){bFireEvent=true;if(bShow){this._oContainer._oIFrame.style.width=width;this._oContainer._oIFrame.style.height=height;} else{this._oContainer._oIFrame.style.width=0;this._oContainer._oIFrame.style.height=0;}} if(this.useShadow&&this._oContainer._oShadow){bFireEvent=true;if(bShow){this._oContainer._oShadow.style.width=width;this._oContainer._oShadow.style.height=height;} else{this._oContainer._oShadow.style.width=0;this._oContainer._oShadow.style.height=0;}}};YAHOO.widget.MultiAutoComplete.prototype._toggleContainer=function(bShow){var oContainer=this._oContainer;if(this.alwaysShowContainer&&this._bContainerOpen){return;} if(!bShow){this._oContainer._oContent.scrollTop=0;for(var i=0;i0)){for(var j=aItems.length-1;j>=0;j--){aItems[j].style.display="none";}} if(this._oCurItem){this._toggleHighlight(this._oCurItem,"from");} this._oCurItem=null;this._nDisplayedItems=0;this._sCurQuery=null;}} if(!bShow&&!this._bContainerOpen){oContainer._oContent.style.display="none";return;} var oAnim=this._oAnim;if(oAnim&&oAnim.getEl()&&(this.animHoriz||this.animVert)){if(!bShow){this._toggleContainerHelpers(bShow);} if(oAnim.isAnimated()){oAnim.stop();} var oClone=oContainer._oContent.cloneNode(true);oContainer.appendChild(oClone);oClone.style.top="-9000px";oClone.style.display="block";var wExp=oClone.offsetWidth;var hExp=oClone.offsetHeight;var wColl=(this.animHoriz)?0:wExp;var hColl=(this.animVert)?0:hExp;oAnim.attributes=(bShow)?{width:{to:wExp},height:{to:hExp}}:{width:{to:wColl},height:{to:hColl}};if(bShow&&!this._bContainerOpen){oContainer._oContent.style.width=wColl+"px";oContainer._oContent.style.height=hColl+"px";} else{oContainer._oContent.style.width=wExp+"px";oContainer._oContent.style.height=hExp+"px";} oContainer.removeChild(oClone);oClone=null;var oSelf=this;var onAnimComplete=function(){oAnim.onComplete.unsubscribeAll();if(bShow){oSelf.containerExpandEvent.fire(oSelf);} else{oContainer._oContent.style.display="none";oSelf.containerCollapseEvent.fire(oSelf);} oSelf._toggleContainerHelpers(bShow);};oContainer._oContent.style.display="block";oAnim.onComplete.subscribe(onAnimComplete);oAnim.animate();this._bContainerOpen=bShow;} else{if(bShow){oContainer._oContent.style.display="block";this.containerExpandEvent.fire(this);} else{oContainer._oContent.style.display="none";this.containerCollapseEvent.fire(this);} this._toggleContainerHelpers(bShow);this._bContainerOpen=bShow;}};YAHOO.widget.MultiAutoComplete.prototype._toggleHighlight=function(oNewItem,sType){var sHighlight=this.highlightClassName;if(this._oCurItem){YAHOO.util.Dom.removeClass(this._oCurItem,sHighlight);} if((sType=="to")&&sHighlight){YAHOO.util.Dom.addClass(oNewItem,sHighlight);this._oCurItem=oNewItem;}};YAHOO.widget.MultiAutoComplete.prototype._togglePrehighlight=function(oNewItem,sType){if(oNewItem==this._oCurItem){return;} var sPrehighlight=this.prehighlightClassName;if((sType=="mouseover")&&sPrehighlight){YAHOO.util.Dom.addClass(oNewItem,sPrehighlight);} else{YAHOO.util.Dom.removeClass(oNewItem,sPrehighlight);}};YAHOO.widget.MultiAutoComplete.prototype._updateValue=function(oItem){var oTextbox=this._oTextbox;var sDelimChar=(this.delimChar)?(this.delimChar[0]||this.delimChar):null;var sSavedQuery=this._sSavedQuery;var sResultKey=oItem._sResultKey;oTextbox.focus();oTextbox.value="";if(sDelimChar){if(sSavedQuery){oTextbox.value=sSavedQuery;} oTextbox.value+=sResultKey+sDelimChar;if(sDelimChar!=" "){oTextbox.value+=" ";}} else{oTextbox.value=sResultKey;} if(oTextbox.type=="textarea"){oTextbox.scrollTop=oTextbox.scrollHeight;} var end=oTextbox.value.length;this._selectText(oTextbox,end,end);this._oCurItem=oItem;};YAHOO.widget.MultiAutoComplete.prototype._selectItem=function(oItem){this._bItemSelected=true;this._updateValue(oItem);this._cancelIntervalDetection(this);this.itemSelectEvent.fire(this,oItem,oItem._oResultData);this._toggleContainer(false);};YAHOO.widget.MultiAutoComplete.prototype._jumpSelection=function(){if(!this.typeAhead){return;} else{this._toggleContainer(false);}};YAHOO.widget.MultiAutoComplete.prototype._moveSelection=function(nKeyCode){if(this._bContainerOpen){var oCurItem=this._oCurItem;var nCurItemIndex=-1;if(oCurItem){if(oCurItem._nDataSourceIndex==0){nCurItemIndex=oCurItem._nItemIndex;} else{var step=this.maxResultsDisplayed;for(var i=this._aListItems[oCurItem._nDataSourceIndex-1].length-1;i>=0;i--) {if(this._aListItems[oCurItem._nDataSourceIndex-1][i]._oResultData!=null) break;step--;} nCurItemIndex=oCurItem._nItemIndex+step;}} var nNewItemIndex=(nKeyCode==40)?(nCurItemIndex+1):(nCurItemIndex-1);if(nNewItemIndex<-2||nNewItemIndex>=this._nDisplayedItems){return;} if(oCurItem){this._toggleHighlight(oCurItem,"from");this.itemArrowFromEvent.fire(this,oCurItem);} if(nNewItemIndex==-1){if(this.delimChar&&this._sSavedQuery){if(!this._textMatchesOption()){this._oTextbox.value=this._sSavedQuery;} else{this._oTextbox.value=this._sSavedQuery+this._sCurQuery;}} else{this._oTextbox.value=this._sCurQuery;} this._oCurItem=null;return;} if(nNewItemIndex==-2){this._toggleContainer(false);return;} var merged=new Array();for(var i=0;i-1)&&(nNewItemIndex(oContent.scrollTop+oContent.offsetHeight)){oContent.scrollTop=(oNewItem.offsetTop+oNewItem.offsetHeight)-oContent.offsetHeight;} else if((oNewItem.offsetTop+oNewItem.offsetHeight)(oContent.scrollTop+oContent.offsetHeight)){this._oContainer._oContent.scrollTop=(oNewItem.offsetTop+oNewItem.offsetHeight)-oContent.offsetHeight;}}} this._toggleHighlight(oNewItem,"to");this.itemArrowToEvent.fire(this,oNewItem);if(this.typeAhead){this._updateValue(oNewItem);}}};YAHOO.widget.MultiAutoComplete.prototype._onItemMouseover=function(v,oSelf){if(oSelf.prehighlightClassName){oSelf._togglePrehighlight(this,"mouseover");} else{oSelf._toggleHighlight(this,"to");} oSelf.itemMouseOverEvent.fire(oSelf,this);};YAHOO.widget.MultiAutoComplete.prototype._onItemMouseout=function(v,oSelf){if(oSelf.prehighlightClassName){oSelf._togglePrehighlight(this,"mouseout");} else{oSelf._toggleHighlight(this,"from");} oSelf.itemMouseOutEvent.fire(oSelf,this);};YAHOO.widget.MultiAutoComplete.prototype._onItemMouseclick=function(v,oSelf){oSelf._toggleHighlight(this,"to");oSelf._selectItem(this);};YAHOO.widget.MultiAutoComplete.prototype._onContainerMouseover=function(v,oSelf){oSelf._bOverContainer=true;};YAHOO.widget.MultiAutoComplete.prototype._onContainerMouseout=function(v,oSelf){oSelf._bOverContainer=false;if(oSelf._oCurItem){oSelf._toggleHighlight(oSelf._oCurItem,"to");}};YAHOO.widget.MultiAutoComplete.prototype._onContainerScroll=function(v,oSelf){oSelf._oTextbox.focus();};YAHOO.widget.MultiAutoComplete.prototype._onContainerResize=function(v,oSelf){oSelf._toggleContainerHelpers(oSelf._bContainerOpen);};YAHOO.widget.MultiAutoComplete.prototype._onTextboxKeyDown=function(v,oSelf){var nKeyCode=v.keyCode;switch(nKeyCode){case 9:if(oSelf.delimChar&&(oSelf._nKeyCode!=nKeyCode)){if(oSelf._bContainerOpen){YAHOO.util.Event.stopEvent(v);}} if(oSelf._oCurItem){oSelf._selectItem(oSelf._oCurItem);} else{oSelf._toggleContainer(false);} break;case 13:if(oSelf._nKeyCode!=nKeyCode){if(oSelf._bContainerOpen){YAHOO.util.Event.stopEvent(v);}} if(oSelf._oCurItem){oSelf._selectItem(oSelf._oCurItem);} else{oSelf._toggleContainer(false);} break;case 27:oSelf._toggleContainer(false);return;case 39:oSelf._jumpSelection();break;case 38:YAHOO.util.Event.stopEvent(v);oSelf._moveSelection(nKeyCode);break;case 40:YAHOO.util.Event.stopEvent(v);oSelf._moveSelection(nKeyCode);break;default:break;}};YAHOO.widget.MultiAutoComplete.prototype._onTextboxKeyPress=function(v,oSelf){var nKeyCode=v.keyCode;var isMac=(navigator.userAgent.toLowerCase().indexOf("mac")!=-1);if(isMac){switch(nKeyCode){case 9:if(oSelf.delimChar&&(oSelf._nKeyCode!=nKeyCode)){if(oSelf._bContainerOpen){YAHOO.util.Event.stopEvent(v);}} break;case 13:if(oSelf._nKeyCode!=nKeyCode){if(oSelf._bContainerOpen){YAHOO.util.Event.stopEvent(v);}} break;case 38:case 40:YAHOO.util.Event.stopEvent(v);break;default:break;}} else if(nKeyCode==229){oSelf._queryInterval=setInterval(function(){oSelf._onIMEDetected(oSelf);},500);}};YAHOO.widget.MultiAutoComplete.prototype._onTextboxKeyUp=function(v,oSelf){oSelf._initProps();var nKeyCode=v.keyCode;oSelf._nKeyCode=nKeyCode;var sText=this.value;if(oSelf._isIgnoreKey(nKeyCode)||(sText.toLowerCase()==oSelf._sCurQuery)){return;} else{oSelf.textboxKeyEvent.fire(oSelf,nKeyCode);} if(oSelf.queryDelay>0){var nDelayID=setTimeout(function(){oSelf._sendQuery(sText);},(oSelf.queryDelay*1000));if(oSelf._nDelayID!=-1){clearTimeout(oSelf._nDelayID);} oSelf._nDelayID=nDelayID;} else{oSelf._sendQuery(sText);}};YAHOO.widget.MultiAutoComplete.prototype._onTextboxFocus=function(v,oSelf){oSelf._oTextbox.setAttribute("autocomplete","off");oSelf._bFocused=true;oSelf.textboxFocusEvent.fire(oSelf);};YAHOO.widget.MultiAutoComplete.prototype._onTextboxBlur=function(v,oSelf){if(!oSelf._bOverContainer||(oSelf._nKeyCode==9)){if(!oSelf._bItemSelected){if(!oSelf._bContainerOpen||(oSelf._bContainerOpen&&!oSelf._textMatchesOption())){if(oSelf.forceSelection){oSelf._clearSelection();} else{oSelf.unmatchedItemSelectEvent.fire(oSelf,oSelf._sCurQuery);}}} if(oSelf._bContainerOpen){oSelf._toggleContainer(false);} oSelf._cancelIntervalDetection(oSelf);oSelf._bFocused=false;oSelf.textboxBlurEvent.fire(oSelf);}};YAHOO.widget.MultiAutoComplete.prototype._onFormSubmit=function(v,oSelf){if(oSelf.allowBrowserAutocomplete){oSelf._oTextbox.setAttribute("autocomplete","on");} else{oSelf._oTextbox.setAttribute("autocomplete","off");}};YAHOO.widget.DataSource=function(){};YAHOO.widget.DataSource.ERROR_DATANULL="Response data was null";YAHOO.widget.DataSource.ERROR_DATAPARSE="Response data could not be parsed";YAHOO.widget.DataSource.prototype.maxCacheEntries=15;YAHOO.widget.DataSource.prototype.queryMatchContains=false;YAHOO.widget.DataSource.prototype.queryMatchSubset=false;YAHOO.widget.DataSource.prototype.queryMatchCase=false;YAHOO.widget.DataSource.prototype.index=-1;YAHOO.widget.DataSource.prototype.toString=function(){return"DataSource "+this._sName;};YAHOO.widget.DataSource.prototype.getResults=function(oCallbackFn,sQuery,oParent){var aResults=this._doQueryCache(oCallbackFn,sQuery,oParent);if(aResults.length===0){this.queryEvent.fire(this,oParent,sQuery);this.doQuery(oCallbackFn,sQuery,oParent);}};YAHOO.widget.DataSource.prototype.doQuery=function(oCallbackFn,sQuery,oParent){};YAHOO.widget.DataSource.prototype.flushCache=function(){if(this._aCache){this._aCache=[];} if(this._aCacheHelper){this._aCacheHelper=[];} this.cacheFlushEvent.fire(this);};YAHOO.widget.DataSource.prototype.queryEvent=null;YAHOO.widget.DataSource.prototype.cacheQueryEvent=null;YAHOO.widget.DataSource.prototype.getResultsEvent=null;YAHOO.widget.DataSource.prototype.getCachedResultsEvent=null;YAHOO.widget.DataSource.prototype.dataErrorEvent=null;YAHOO.widget.DataSource.prototype.cacheFlushEvent=null;YAHOO.widget.DataSource._nIndex=0;YAHOO.widget.DataSource.prototype._sName=null;YAHOO.widget.DataSource.prototype._aCache=null;YAHOO.widget.DataSource.prototype._init=function(){var maxCacheEntries=this.maxCacheEntries;if(isNaN(maxCacheEntries)||(maxCacheEntries<0)){maxCacheEntries=0;} if(maxCacheEntries>0&&!this._aCache){this._aCache=[];} this._sName="instance"+YAHOO.widget.DataSource._nIndex;YAHOO.widget.DataSource._nIndex++;this.queryEvent=new YAHOO.util.CustomEvent("query",this);this.cacheQueryEvent=new YAHOO.util.CustomEvent("cacheQuery",this);this.getResultsEvent=new YAHOO.util.CustomEvent("getResults",this);this.getCachedResultsEvent=new YAHOO.util.CustomEvent("getCachedResults",this);this.dataErrorEvent=new YAHOO.util.CustomEvent("dataError"+this.index,this);this.cacheFlushEvent=new YAHOO.util.CustomEvent("cacheFlush",this);};YAHOO.widget.DataSource.prototype._addCacheElem=function(oResult){var aCache=this._aCache;if(!aCache||!oResult||!oResult.query||!oResult.results){return;} if(aCache.length>=this.maxCacheEntries){aCache.shift();} aCache.push(oResult);};YAHOO.widget.DataSource.prototype._doQueryCache=function(oCallbackFn,sQuery,oParent){var aResults=[];var bMatchFound=false;var aCache=this._aCache;var nCacheLength=(aCache)?aCache.length:0;var bMatchContains=this.queryMatchContains;if((this.maxCacheEntries>0)&&aCache&&(nCacheLength>0)){this.cacheQueryEvent.fire(this,oParent,sQuery);if(!this.queryMatchCase){var sOrigQuery=sQuery;sQuery=sQuery.toLowerCase();} for(var i=nCacheLength-1;i>=0;i--){var resultObj=aCache[i];var aAllResultItems=resultObj.results;var matchKey=(!this.queryMatchCase)?encodeURIComponent(resultObj.query).toLowerCase():encodeURIComponent(resultObj.query);if(matchKey==sQuery){bMatchFound=true;aResults=aAllResultItems;if(i!=nCacheLength-1){aCache.splice(i,1);this._addCacheElem(resultObj);} break;} else if(this.queryMatchSubset){for(var j=sQuery.length-1;j>=0;j--){var subQuery=sQuery.substr(0,j);if(matchKey==subQuery){bMatchFound=true;for(var k=aAllResultItems.length-1;k>=0;k--){var aRecord=aAllResultItems[k];var sKeyIndex=(this.queryMatchCase)?encodeURIComponent(aRecord[0]).indexOf(sQuery):encodeURIComponent(aRecord[0]).toLowerCase().indexOf(sQuery);if((!bMatchContains&&(sKeyIndex===0))||(bMatchContains&&(sKeyIndex>-1))){aResults.unshift(aRecord);}} resultObj={};resultObj.query=sQuery;resultObj.results=aResults;this._addCacheElem(resultObj);break;}} if(bMatchFound){break;}}} if(bMatchFound){this.getCachedResultsEvent.fire(this,oParent,sOrigQuery,aResults);oCallbackFn(sOrigQuery,aResults,oParent,this.index);}} return aResults;};YAHOO.widget.DS_XHR=function(sScriptURI,aSchema,oConfigs){if(typeof oConfigs=="object"){for(var sConfig in oConfigs){this[sConfig]=oConfigs[sConfig];}} if(!aSchema||(aSchema.constructor!=Array)){return;} else{this.schema=aSchema;} this.scriptURI=sScriptURI;this._init();};YAHOO.widget.DS_XHR.prototype=new YAHOO.widget.DataSource();YAHOO.widget.DS_XHR.TYPE_JSON=0;YAHOO.widget.DS_XHR.TYPE_XML=1;YAHOO.widget.DS_XHR.TYPE_FLAT=2;YAHOO.widget.DS_XHR.ERROR_DATAXHR="XHR response failed";YAHOO.widget.DS_XHR.prototype.connMgr=YAHOO.util.Connect;YAHOO.widget.DS_XHR.prototype.connTimeout=0;YAHOO.widget.DS_XHR.prototype.scriptURI=null;YAHOO.widget.DS_XHR.prototype.scriptQueryParam="query";YAHOO.widget.DS_XHR.prototype.scriptQueryAppend="";YAHOO.widget.DS_XHR.prototype.responseType=YAHOO.widget.DS_XHR.TYPE_JSON;YAHOO.widget.DS_XHR.prototype.responseStripAfter="\n0){sUri+="&"+this.scriptQueryAppend;} var oResponse=null;var oSelf=this;var responseSuccess=function(oResp){if(!oSelf._oConn||(oResp.tId!=oSelf._oConn.tId)){oSelf.dataErrorEvent.fire(oSelf,oParent,sQuery,YAHOO.widget.DataSource.ERROR_DATANULL);return;} for(var foo in oResp){} if(!isXML){oResp=oResp.responseText;} else{oResp=oResp.responseXML;} if(oResp===null){oSelf.dataErrorEvent.fire(oSelf,oParent,sQuery,YAHOO.widget.DataSource.ERROR_DATANULL);return;} var aResults=oSelf.parseResponse(sQuery,oResp,oParent);var resultObj={};resultObj.query=decodeURIComponent(sQuery);resultObj.results=aResults;if(aResults===null){oSelf.dataErrorEvent.fire(oSelf,oParent,sQuery,YAHOO.widget.DataSource.ERROR_DATAPARSE);aResults=[];} else{oSelf.getResultsEvent.fire(oSelf,oParent,sQuery,aResults);oSelf._addCacheElem(resultObj);} oCallbackFn(sQuery,aResults,oParent,this.argument[0]);};var responseFailure=function(oResp){oSelf.dataErrorEvent.fire(oSelf,oParent,sQuery,YAHOO.widget.DS_XHR.ERROR_DATAXHR);return;};var oCallback={success:responseSuccess,failure:responseFailure,argument:[this.index]};if(!isNaN(this.connTimeout)&&this.connTimeout>0){oCallback.timeout=this.connTimeout;} if(this._oConn){this.connMgr.abort(this._oConn);} oSelf._oConn=this.connMgr.asyncRequest("GET",sUri,oCallback,null);};YAHOO.widget.DS_XHR.prototype.parseResponse=function(sQuery,oResponse,oParent){var aSchema=this.schema;var aResults=[];var bError=false;var nEnd=((this.responseStripAfter!=="")&&(oResponse.indexOf))?oResponse.indexOf(this.responseStripAfter):-1;if(nEnd!=-1){oResponse=oResponse.substring(0,nEnd);} switch(this.responseType){case YAHOO.widget.DS_XHR.TYPE_JSON:var jsonList;if(window.JSON&&(navigator.userAgent.toLowerCase().indexOf('khtml')==-1)){var jsonObjParsed=JSON.parse(oResponse);if(!jsonObjParsed){bError=true;break;} else{try{jsonList=eval("jsonObjParsed."+aSchema[0]);} catch(e){bError=true;break;}}} else{try{while(oResponse.substring(0,1)==" "){oResponse=oResponse.substring(1,oResponse.length);} if(oResponse.indexOf("{")<0){bError=true;break;} if(oResponse.indexOf("{}")===0){break;} var jsonObjRaw=eval("("+oResponse+")");if(!jsonObjRaw){bError=true;break;} jsonList=eval("(jsonObjRaw."+aSchema[0]+")");} catch(e){bError=true;break;}} if(!jsonList){bError=true;break;} if(jsonList.constructor!=Array){jsonList=[jsonList];} for(var i=jsonList.length-1;i>=0;i--){var aResultItem=[];var jsonResult=jsonList[i];for(var j=aSchema.length-1;j>=1;j--){var dataFieldValue=jsonResult[aSchema[j]];if(!dataFieldValue){dataFieldValue="";} aResultItem.unshift(dataFieldValue);} if(aResultItem.length==1){aResultItem.push(jsonResult);} aResults.unshift(aResultItem);} break;case YAHOO.widget.DS_XHR.TYPE_XML:var xmlList=oResponse.getElementsByTagName(aSchema[0]);if(!xmlList){bError=true;break;} for(var k=xmlList.length-1;k>=0;k--){var result=xmlList.item(k);var aFieldSet=[];for(var m=aSchema.length-1;m>=1;m--){var sValue=null;var xmlAttr=result.attributes.getNamedItem(aSchema[m]);if(xmlAttr){sValue=xmlAttr.value;} else{var xmlNode=result.getElementsByTagName(aSchema[m]);if(xmlNode&&xmlNode.item(0)&&xmlNode.item(0).firstChild){sValue=xmlNode.item(0).firstChild.nodeValue;} else{sValue="";}} aFieldSet.unshift(sValue);} aResults.unshift(aFieldSet);} break;case YAHOO.widget.DS_XHR.TYPE_FLAT:if(oResponse.length>0){var newLength=oResponse.length-aSchema[0].length;if(oResponse.substr(newLength)==aSchema[0]){oResponse=oResponse.substr(0,newLength);} var aRecords=oResponse.split(aSchema[0]);for(var n=aRecords.length-1;n>=0;n--){aResults[n]=aRecords[n].split(aSchema[1]);}} break;default:break;} sQuery=null;oResponse=null;oParent=null;if(bError){return null;} else{return aResults;}};YAHOO.widget.DS_XHR.prototype._oConn=null;YAHOO.widget.DS_JSFunction=function(oFunction,oConfigs){if(typeof oConfigs=="object"){for(var sConfig in oConfigs){this[sConfig]=oConfigs[sConfig];}} if(!oFunction||(oFunction.constructor!=Function)){return;} else{this.dataFunction=oFunction;this._init();}};YAHOO.widget.DS_JSFunction.prototype=new YAHOO.widget.DataSource();YAHOO.widget.DS_JSFunction.prototype.dataFunction=null;YAHOO.widget.DS_JSFunction.prototype.doQuery=function(oCallbackFn,sQuery,oParent){var oFunction=this.dataFunction;var aResults=[];aResults=oFunction(sQuery);if(aResults===null){this.dataErrorEvent.fire(this,oParent,sQuery,YAHOO.widget.DataSource.ERROR_DATANULL);return;} var resultObj={};resultObj.query=decodeURIComponent(sQuery);resultObj.results=aResults;this._addCacheElem(resultObj);this.getResultsEvent.fire(this,oParent,sQuery,aResults);oCallbackFn(sQuery,aResults,oParent,this.index);return;};YAHOO.widget.DS_JSArray=function(aData,oConfigs){if(typeof oConfigs=="object"){for(var sConfig in oConfigs){this[sConfig]=oConfigs[sConfig];}} if(!aData||(aData.constructor!=Array)){return;} else{this.data=aData;this._init();}};YAHOO.widget.DS_JSArray.prototype=new YAHOO.widget.DataSource();YAHOO.widget.DS_JSArray.prototype.data=null;YAHOO.widget.DS_JSArray.prototype.doQuery=function(oCallbackFn,sQuery,oParent){var aData=this.data;var aResults=[];var bMatchFound=false;var bMatchContains=this.queryMatchContains;if(sQuery){if(!this.queryMatchCase){sQuery=sQuery.toLowerCase();} for(var i=aData.length-1;i>=0;i--){var aDataset=[];if(aData[i]){if(aData[i].constructor==String){aDataset[0]=aData[i];} else if(aData[i].constructor==Array){aDataset=aData[i];}} if(aDataset[0]&&(aDataset[0].constructor==String)){var sKeyIndex=(this.queryMatchCase)?encodeURIComponent(aDataset[0]).indexOf(sQuery):encodeURIComponent(aDataset[0]).toLowerCase().indexOf(sQuery);if((!bMatchContains&&(sKeyIndex===0))||(bMatchContains&&(sKeyIndex>-1))){aResults.unshift(aDataset);}}}} this.getResultsEvent.fire(this,oParent,sQuery,aResults);oCallbackFn(sQuery,aResults,oParent,this.index);}; _)http://s.wsj.net/javascript/yui-0.12.2.js rstOZbplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Wed, 12 Dec 2007 18:14:58 GMTZkeep-alive]max-age=17709_Tue, 05 Feb 2008 15:22:10 GMTT2078_Tue, 05 Feb 2008 20:17:19 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;inw "$&(*1DR]kp 0BP 4|BO//info complete should be used when a text box should be show results from both keyword complete //and symbol complete in the same result box. function InfoComplete() { this.dataSource = null; this.autoComplete = null; this.count = 0; this.domain = ""; this.allowcountries = ""; this.allowsymboltypes= ""; this.allowexchanges= ""; this.currentQueryHasResultMatch = false; this.lastExactResult = ""; this.exactMatches = new Array(); }; InfoComplete.prototype.Setup = function(textb, container, count, delay, formatFuncs) { keywordServer = "/api/djKeywordcomplete/GetKeywordsJSON.ashx"; symbolServer = "/api/djSymbolComplete/GetSymbolsJSON.ashx" ; SCkey = "88DF4730C6A6550285F22ED26514254A16E53C6A8725A61E0F11CFE5384904E7E6E29DBAC369DCB18FCDF8715405601FA73B9FE9CBB5D7B0DBBC636B2F74DE9D6724596AEA605596E1CFE155A5F14A962956795C2DF7D2680FE0712A193D9C0692EB8865"; if (typeof(keywordServer) == 'undefined' || typeof(symbolServer) == 'undefined') return; var keywordSchema = ["Results","Word","Rank"]; var symbolSchema = ["Results","Symbol","Name","CountryCode","Exchange"]; var bodyelement = document.getElementsByTagName("BODY")[0] this.count = count; this.dataSource = []; this.dataSource[0] = new YAHOO.widget.DS_XHR(symbolServer, symbolSchema); this.dataSource[0].responseType = YAHOO.widget.DS_XHR.TYPE_JSON; this.dataSource[0].scriptQueryAppend = 'count=' + this.count + '&license=' + SCkey + '&allowcountries=' + this.allowcountries + '&allowexchanges=' + this.allowexchanges + '&allowtypes=' + this.allowsymboltypes; this.dataSource[0].index = 0; this.dataSource[0].dataErrorEvent.subscribe(this.handleError, this.dataSource[0]); this.dataSource[1] = new YAHOO.widget.DS_XHR(keywordServer, keywordSchema); this.dataSource[1].responseType = YAHOO.widget.DS_XHR.TYPE_JSON; this.dataSource[1].scriptQueryAppend = 'count=' + this.count + '&license=' + SCkey; this.dataSource[1].index = 1; this.dataSource[1].dataErrorEvent.subscribe(this.handleError, this.dataSource[1]); this.autoComplete = new YAHOO.widget.MultiAutoComplete(textb,container, this.dataSource) this.count = count this.autoComplete.autoHighlight = false; this.autoComplete.maxResultsDisplayed = count; this.autoComplete.queryDelay = delay; this.autoComplete.allowBrowserAutocomplete = false; this.autoComplete.typeAhead = true; this.autoComplete.animVert = false; this.autoComplete.animHoriz = false; this.autoComplete.delimChar = ","; this.autoComplete.setHeader('Choose a quote match or "GO" to get quote news'); this.autoComplete.setFooter('Separate multiple symbols with commas (,)'); this.autoComplete.formatResult = function(aResultItem, sQuery, iIndex) { return formatFuncs[iIndex](aResultItem, sQuery, iIndex) }; this.autoComplete.dataReturnEvent.subscribe(this.checkResultsForExactMatch, this.autoComplete, this); this.autoComplete.textboxKeyEvent.subscribe(this.checkPastExactResults, this.autoComplete, this); } InfoComplete.prototype.getFirstDelimChar = function() { if (this.autoComplete.delimChar && this.autoComplete.delimChar.length > 0) return this.autoComplete.delimChar[0]; return ''; } InfoComplete.prototype.isSymbolMatch = function() { var delim = this.getFirstDelimChar(); if (this.currentQueryHasResultMatch == true && this.lastExactResult.toUpperCase() == autoCompleteTrim(this.autoComplete._oTextbox.value).replace(/,$|\.,$/, "").toUpperCase()) return true; var splitInput = this.autoComplete._oTextbox.value.split(delim); for (var i = 0; i < this.exactMatches.length; i++) for (var j = 0; j < splitInput.length; j++) if (this.exactMatches[i] == splitInput[j]) return true; return this.doesListHaveMatch(0); } InfoComplete.prototype.handleError = function(e, args) { var ac = args[1]; if (ac._populateStaging) ac._populateStaging("null", null, ac, args[0].index); } InfoComplete.prototype.checkPastExactResults = function(e, args) { var delim = this.getFirstDelimChar(); if (args[0]._oTextbox.value.length > 0 && args[0]._oTextbox.value.lastIndexOf(delim) == args[0]._oTextbox.value.length - 1 && this.currentQueryHasResultMatch) { if (this.exactMatches.length > 0) { for (var i = 0; i < this.exactMatches.length; i++) { if (this.exactMatches[i] == this.lastExactResult) return; } } this.exactMatches.push(this.lastExactResult); } } InfoComplete.prototype.checkResultsForExactMatch = function(e, args) { //only check against first datasource for now. if (!args || args.length < 4 || args[3] > 0) return; var delim = this.getFirstDelimChar(); var listItems = args[2]; var termToMatch = args[0]._oTextbox.value; if (termToMatch.indexOf(delim) > 0) { var splitTerms = termToMatch.split(delim); termToMatch = autoCompleteTrim(splitTerms[splitTerms.length - 1]); } if (listItems && listItems.length > 0) { for (var i = 0; i < listItems.length; i++) { if (listItems[i] && listItems[i][0] != null) { var ticker = listItems[i][0]; if (termToMatch.toUpperCase() == ticker.toUpperCase()) { this.currentQueryHasResultMatch = true; this.lastExactResult = termToMatch; return; } } } } this.currentQueryHasResultMatch = false; } InfoComplete.prototype.doesListHaveMatch = function(iDsIndex) { var delim = this.getFirstDelimChar(); var allItems = this.autoComplete.getListItems(); var termToMatch = autoCompleteTrim(this.autoComplete._oTextbox.value).replace(/,$|\.,$/, ""); if (termToMatch.indexOf(delim) > 0) { var splitTerms = termToMatch.split(delim); termToMatch = autoCompleteTrim(splitTerms[splitTerms.length - 1]); } if (iDsIndex < allItems.length) { var listItems = allItems[iDsIndex]; for (var i = 0; i < listItems.length; i++) { if (listItems[i] && listItems[i]._oResultData != null) { if (termToMatch.toUpperCase() == listItems[i]._oResultData[0].toUpperCase()) { return true; } } } } return false; } function param() { this.array = new Array(1); this.setValue = function(v) { this.array[0] = v; } this.getValue = function() { return this.array[0]; } } function autoCompleteTrim(text) { return text.replace( /^\s*(\S*(\s+\S+)*)\s*$/, "$1" ); } function InstallLibrary(target) { var t = target||window; t.InfoComplete = new InfoComplete(); }; InstallLibrary(); _+http://s.wsj.net/javascript/infocomplete.js vwxOabplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Mon, 04 Feb 2008 16:39:19 GMTZkeep-alive]max-age=18694_Tue, 05 Feb 2008 15:22:11 GMTT4097_Tue, 05 Feb 2008 20:33:45 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;pu~ !#%')+-/18KYdrw7IW#';|IO?eif((typeof window.nSP)=='undefined'||nSP==null){ var baseDomain = 'http://'+document.domain; }else{ var baseDomain = nSP; } function initInfoComplete() { if (!window.InfoComplete) return; window.InfoComplete.Setup(searchBoxID,resultContainerID,8,.050,[formatSymbolCompleteResult, formatKeywordCompleteResult]); if ((typeof(window.InfoComplete.autoComplete) == 'undefined') || (window.InfoComplete.autoComplete == null)) { //Autocompete feature is not available; go with regular quote/search var inputBox = YAHOO.util.Dom.get(searchBoxID); var goButton = YAHOO.util.Dom.get(searchGoButtonID); inputBox.setAttribute('onchange', ''); YAHOO.util.Event.addListener(goButton, 'click', submitSymbolOrSearch); var listenEvent = 'keypress'; if (YAHOO.util.Event.isIE) { listenEvent = 'keydown'; } YAHOO.util.Event.addListener(inputBox, listenEvent, function (e) { if (e.keyCode == 13) { submitSymbolOrSearch(e); } else { window.gotSymbolReply = false; } }); } else { if (window.JSON && window.JSON.deserialize) { window.JSON.parse = window.JSON.deserialize; } var inputBox = YAHOO.util.Dom.get(searchBoxID); var goButton = YAHOO.util.Dom.get(searchGoButtonID); window.InfoComplete.autoComplete.setHeader(''); window.InfoComplete.autoComplete.setFooter(''); //window.InfoComplete.autoComplete.setSubHeader('Choose a symbol match to get quote:', 0); window.InfoComplete.autoComplete.setSubHeader('
Choose a topic to search news:
', 1); window.InfoComplete.autoComplete.dataReturnEvent.subscribe(updateSearchTerm, this); inputBox.setAttribute('onchange', ''); window.InfoComplete.autoComplete.itemSelectEvent.subscribe(submitSymbolOrSearch, this); YAHOO.util.Event.addListener(goButton, 'click', submitSymbolOrSearch); var listenEvent = 'keypress'; if (YAHOO.util.Event.isIE) { listenEvent = 'keydown'; } YAHOO.util.Event.addListener(inputBox, listenEvent, function (e) { if (e.keyCode == 13) { submitSymbolOrSearch(e); } else { window.gotSymbolReply = false; } }); } } function updateSearchTerm() { window.gotSymbolReply = true; var searchTerm = YAHOO.util.Dom.get('symbolCompleteSearchTerm'); if (searchTerm) searchTerm.innerHTML = YAHOO.util.Dom.get(searchBoxID).value; } var submittedSymbolOrSearch = false; function submitSymbolOrSearch(e, args) { if ((typeof(window.InfoComplete.autoComplete) == 'undefined') || (window.InfoComplete.autoComplete == null)) { //autocomplete feature is off; go with regular quote/search YAHOO.util.Event.stopEvent(e); if(submittedSymbolOrSearch) return; var searchBox = YAHOO.util.Dom.get(searchBoxID); checkUnUsed(searchBox); if (validateQuoteSearchBox(searchBox)) { submittedSymbolOrSearch = true; var isOverride = isSearchOverride(searchBox.value); if (index == 1 || isOverride) { doKeyWordSearch(searchBox.value); } else if (isIndex(searchBox.value)) { doRedirectMDC(searchBox.value); } else if ((!window.gotSymbolReply && searchBox.value.length <= 5 && !isOverride) || isQuoteInput(searchBox.value)) { doViewQuote(searchBox.value); } else { doKeyWordSearch(searchBox.value); } } } else { YAHOO.util.Event.stopEvent(e); if(submittedSymbolOrSearch) return; var searchBox = YAHOO.util.Dom.get(searchBoxID); checkUnUsed(searchBox); var select = false; if (window.InfoComplete.autoComplete._bItemSelected || (e && e == 'itemSelect')) select = true; var index = 0; if (args && args[1]) index = args[1]._nDataSourceIndex; if (validateQuoteSearchBox(searchBox)) { submittedSymbolOrSearch = true; var isOverride = isSearchOverride(searchBox.value); if (index == 1 || isOverride) { doKeyWordSearch(args ? args[2][0].toLowerCase(): searchBox.value); } else if (isIndex(searchBox.value)) { doRedirectMDC(searchBox.value); } else if ((!window.gotSymbolReply && searchBox.value.length <= 5 && !isOverride) || (select && index == 0) || isQuoteInput(searchBox.value)) { doViewQuote(searchBox.value); } else { doKeyWordSearch(searchBox.value); } } } } function isIndex(term) { term = term.replace(/^\s+|\s+$/g,"").toUpperCase(); //Trim var match = term.match(/^DJIA$|^DJI$|^INDU$|^DJTA$|^TRAN$|^DJUA$|^UTIL$|^GSPC$|^SPX$|^OEX$|^MID$|^COMP$|^IXCO$|^COMPQ$|^NDX$|^NBI$|^IXCO$|^INDS$|^INSR$|^IXTC$|^RUT$|^RUI$|^NYSI$|^PSE$|^AMSI$|^XAX$|^MSH$|^SOXX$|^SOX$|^XAU$|^OSXX$|^FTSE$|^DAX$|^CAC 40$|^JSX$/); return match != null && match.length > 0 && match[0].length > 0; } function isSearchOverride(term) { //return false; term = term.replace(/^\s+|\s+$/g,"").toUpperCase(); //Trim term = term.replace(/,+/gi,""); //Eliminate commas // var match = term.match(/^ABC$|^BAY$|^EGAN$|^AIR$|^ACME$|^GOLD$|^COST$|^KEY$|^GAS$|^CHINA$|^BEER$|^DRUG$|^OIL$|^DOG$|^CPI$|^GDP$|^DNA$|^ETF$|^JAZZ$|^ETFS$|^AUTO$|^FED$/); var match = term.match(/^BARAK$|^OBAMA$/); return match != null && match.length > 0 && match[0].length > 0; } function doExchangeCountryMap(exchange) { var hashExchange = new Object(); hashExchange["US"] = ""; hashExchange["SAO PAULO"] = "Brazil"; hashExchange["TOR"] = "Canada"; hashExchange["CSEC"] = "Venezuela"; hashExchange["ASX"] = "Australia"; hashExchange["HKSE"] = "Hong Kong"; hashExchange["TSE"] = "Japan"; hashExchange["SES"] = "Singapore"; hashExchange["TWSE"] = "Taiwan"; hashExchange["BRUX"] = "Belgium"; hashExchange["PARB"] = "France"; hashExchange["FRNK"] = "German Floor"; hashExchange["XETRA"] = "German Xetra"; hashExchange["DUBLIN"] = "Ireland"; hashExchange["MILAN"] = "Italy"; hashExchange["AMS"] = "Netherlands"; hashExchange["OSLO"] = "Norway"; hashExchange["CATS"] = "Spain"; hashExchange["STKM"] = "Sweden"; hashExchange["ZSE"] = "Switzerland"; hashExchange["LONDON"] = "U.K."; hashExchange["VTX"] = "virt-x"; var country = hashExchange[exchange]; return country; } function doExchangeTypeMap(exchange) { var hashExchange = new Object(); hashExchange["US"] = "usstock usfund"; hashExchange["SAO PAULO"] = "brsp"; hashExchange["TOR"] = "tse"; hashExchange["CSEC"] = "vecsec"; hashExchange["ASX"] = "auasx"; hashExchange["HKSE"] = "hkse"; hashExchange["TSE"] = "jptse"; hashExchange["SES"] = "sgses"; hashExchange["TWSE"] = "twtwse"; hashExchange["BRUX"] = "bebrux"; hashExchange["PARB"] = "frparb"; hashExchange["FRNK"] = "defrnk"; hashExchange["XETRA"] = "dexetra"; hashExchange["DUBLIN"] = "iedublin"; hashExchange["MILAN"] = "itmilan"; hashExchange["AMS"] = "nlams"; hashExchange["OSLO"] = "nooslo"; hashExchange["CATS"] = "escats"; hashExchange["STKM"] = "sestkm"; hashExchange["ZSE"] = "chzse"; hashExchange["LONDON"] = "lse"; hashExchange["VTX"] = "virtx"; var type = hashExchange[exchange]; return type; } function doViewQuote(symbol) { symbol = symbol.replace(/^\s+|\s+$/g,""); //Trim //symbol = symbol.replace(/ +/gi,","); //Replace one or more whitespaces with comma. symbol = symbol.replace(/,+/gi,","); //Replace multiple commas with single comma. (Just in case) symbol = symbol.replace(/,$|\.,$/, ""); if(symbol.match(",")) { var symbolslist = symbol.split(","); var querySymbol = ''; var exchange = ''; for(i=0; i < symbolslist.length; i++) { tempSymb = symbolslist[i]; tempEx = ''; if(symbolslist[i].indexOf('(') > 0) { tempSymb = symbolslist[i].substring(0,symbolslist[i].indexOf('(')); tempEx = symbolslist[i].substring(symbolslist[i].indexOf('(')+1,symbolslist[i].length-1); } else { tempEx = 'US' } tempSymb = tempSymb.replace(/^\s+|\s+$/g,""); //Trim querySymbol = querySymbol + tempSymb + ","; exchange = exchange + doExchangeTypeMap(tempEx) + ","; } querySymbol = querySymbol.substring(0,querySymbol.length-1); exchange = exchange.substring(0,exchange.length-1); querySymbol = querySymbol.replace(/\+/g, "%2B"); var quoteURL = baseDomain + ((loggedIn)?'':'/public') + '/quotes/main.html?symbol=' + querySymbol + '&type=' + exchange; window.location = quoteURL; } else { //Extract exchange part from symbol if present var exchange = 'US'; var querySymbol = symbol; if(symbol.indexOf('(') > 0) { querySymbol = symbol.substring(0,symbol.indexOf('(')); exchange = symbol.substring(symbol.indexOf('(')+1,symbol.length-1); } //encoding the '+' character in symbol as escape fn doesn't work for '+' querySymbol = querySymbol.replace("+","%2B"); var quoteURL = baseDomain + ((loggedIn)?'':'/public') + '/quotes/main.html?symbol=' + querySymbol + '&type=' + doExchangeTypeMap(exchange); window.location = quoteURL; } } function doKeyWordSearch(query) { query = query.replace(/^\s+|\s+$/g,"").replace(/,$|\.,$/, ""); //Trim and remove trailing periods/commas var searchURL = baseDomain + ((loggedIn)?'/search':'/public/search/page/3_0466.html') + '?KEYWORDS='+escape(query); window.location = searchURL; } function doRedirectMDC(query) { query = query.replace(/^\s+|\s+$/g,"").replace(/,$|\.,$/, ""); //Trim and remove trailing periods/commas query = query.toLowerCase(); baseDomain = "http://online.wsj.com"; var isInternational = false; var match = query.match(/^ftse$|^dax$|^cac 40$|^jsx$/); if(match != null && match.length > 0 && match[0].length > 0) { isInternational = true; } //replace the symbol with the actual ones query = query.replace("util", "djua"); query = query.replace("gspc","spx"); query = query.replace("compq","comp"); query = query.replace("nysi","nya"); query = query.replace("amsi","xax"); query = query.replace("sox","soxx"); query = query.replace("ftse","uk:ftse100"); query = query.replace("dax","dx:1876534"); query = query.replace("cac 40","fr:px1"); query = query.replace("jsx","1803554"); var mdcURL = baseDomain + '/mdc/public/npage/2_3051.html?symb='+query+((isInternational)?'&page=intl':''); window.location = mdcURL; } function addMoreResultsLink(q) { var lookupURL = baseDomain + ((loggedIn)?'':'/public') + '/quotes/main.html?name=' + q; var headerText = ""; if(q.length > 1) { headerText = "
Choose a symbol match to get quote:
"; } else { headerText = "
Choose a symbol match to get quote:
"; } window.InfoComplete.autoComplete.setSubHeader(headerText,0); } function formatKeywordCompleteResult(aResultItem, Query, iIndex) { var SCRegExp = new RegExp("\\b(" + Query + ")(.*)\\b", "i"); //Find part to bold var result = aResultItem[0].toLowerCase(); aResultItem[0] = result; if(result.length > 80) { result = result.substring(0,80); } if (result.match(SCRegExp)) result = result.replace(SCRegExp, "$1$2"); var aMarkup = ""+result+"" return aMarkup; //return result; } function formatSymbolCompleteResult(aResultItem, Query, iIndex) { addMoreResultsLink(Query); var SelectionValue = new param; var CompanyName = aResultItem[1]; CompanyName = CompanyName.toLowerCase(); var Exchange = aResultItem[3]; var CountryCode = aResultItem[2].toUpperCase(); Symbol = aResultItem[0]; //Eliminate the exchange added by previous selection from Result item if(Symbol.indexOf('(') > 0) { Symbol = Symbol.substring(0,Symbol.indexOf('(')); } if (CountryCode != "US") { aResultItem[0] = Symbol + "(" + Exchange + ")"; } var CountryName = doExchangeCountryMap(Exchange); var SCRegExp = new RegExp("\\b(" + Query + ")(.*)\\b", "i"); //Find part to bold var tickerDisplay = Symbol; if (Symbol.match(SCRegExp)) tickerDisplay = tickerDisplay.replace(SCRegExp, "$1$2"); else CompanyName = CompanyName.replace(SCRegExp, "$1$2"); //if(CountryCode != "US") //CompanyName = CompanyName + "("+ Exchange + ")"; var aMarkup = ["
", tickerDisplay, "", CompanyName, "", CountryName, "
"]; return (aMarkup.join("")); } function validateQuoteSearchBox(el) { var isTextEntered = false; if(el.value == null || el.value.length == 0) { alert("Please Enter a Symbol or Keyword."); } else { isTextEntered = true; } return isTextEntered; } function isQuoteInput(textValue) { if (!window.InfoComplete || !window.InfoComplete.autoComplete) return false; else if (window.InfoComplete.autoComplete._bItemSelected) return true; else return window.InfoComplete.isSymbolMatch(); } function setFocused(elem) { var resolved = YAHOO.util.Dom.get(elem); window.formElementWithFocus = resolved; } function setUnUsed(searchField) { var defaultValue; switch (searchField.name) { case "Symbol": defaultValue = "Symbol(s)"; break; case "KeywordSearch": defaultValue = "Keyword(s)"; break; } if (searchField.value == defaultValue) { searchField.className = searchField.className + " unUsed"; } } function checkUnUsed(searchField) { if (searchField.className.indexOf("unUsed") >= 0) { searchField.value = ""; } return true; } function searchFieldOnFocus(searchField) { var index = searchField.className.indexOf("unUsed"); if (index >= 0) { searchField.value = ""; if (index == 0) { if (searchField.className.match("unUsed ")) { searchField.className = searchField.className.replace("unUsed ", ""); } else { searchField.className = searchField.className.replace("unUsed", ""); } } else { searchField.className = searchField.className.replace(" unUsed", ""); } } } _2http://s.wsj.net/javascript/global_autocomplete.js z{|HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.17_Sat, 11 Mar 2006 19:56:05 GMTZkeep-alive]max-age=39806_Tue, 05 Feb 2008 15:22:12 GMTR53_Wed, 06 Feb 2008 02:25:38 GMT]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd $0246\ajuy .3BJO\`klqutO5GIF89a 1c!,  D`bRl% ;_#http://s.wsj.net/img/loginArrow.gif ~Ojbplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Thu, 31 Jan 2008 23:08:52 GMTZkeep-alive]max-age=17814_Tue, 05 Feb 2008 15:22:12 GMTT2331_Tue, 05 Feb 2008 20:19:06 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;y~    "$&(*,.02468:ATbm{ @R` ',0D|RO("var editionType = "us" var publicPath = (loggedIn)?"":"/public" if (pID=="0_0002") { editionType = "us" publicPath = "" } else if ((pID=="0_0013") || (pID=="0_0003_public")) { editionType = "europe" publicPath = "/public" } else if (pID=="0_0003") { editionType = "europe" publicPath = "" } else if ((pID=="0_0014") || (pID=="0_0004_public")) { editionType = "asia" publicPath = "/public" } else if (pID=="0_0004") { editionType = "asia" publicPath = "" } var mojURL = "/myonlinejournal"+publicPath+"/"+editionType var horNav = new Array() horNav[0] = new Object() horNav[0].name = "News" horNav[0].href = (loggedIn)?"/home/us":"/public/us" horNav[0].width = "46px" horNav[0].pIDs = "0_0002|0_0003|0_0004|0_0002_public|0_0003_public|0_0004_public|1_0013|1_0021|1_0028|1_0045|1_0051" horNav[0].subnav = new Array() horNav[0].subnav[0] = new Object(); horNav[0].subnav[0].text = "News" horNav[0].subnav[0].href = (loggedIn)?"/home/us":"/public/us" horNav[0].subnav[1] = new Object(); horNav[0].subnav[1].text = "Technology" horNav[0].subnav[1].href = "/redirect/technology.html" horNav[0].subnav[2] = new Object(); horNav[0].subnav[2].text = "Markets" horNav[0].subnav[2].href = "/redirect/markets.html" horNav[0].subnav[3] = new Object(); horNav[0].subnav[3].text = "Personal Journal" horNav[0].subnav[3].href = "/personaljournal" horNav[0].subnav[4] = new Object(); horNav[0].subnav[4].text = "Opinion" horNav[0].subnav[4].href = "/redirect/opinion.html" horNav[0].subnav[5] = new Object(); horNav[0].subnav[5].text = "Leisure" horNav[0].subnav[5].href = "/redirect/leisure.html" horNav[1] = new Object() horNav[1].name = "Today's Newspaper" horNav[1].href = (loggedIn)?"/page/us_in_todays_paper.html":"/public/page/us_in_todays_paper.html" horNav[1].width = "135px" horNav[1].pIDs = "2_0133|2_0433|2_0134|2_0434|2_0135|2_0435|2_0233|2_0102|2_0140|2_0048|2_0155|2_0156|Corrections" horNav[1].subnav = new Array() horNav[1].subnav[0] = new Object(); horNav[1].subnav[0].text = "U.S." horNav[1].subnav[0].href = (loggedIn)?"/page/us_in_todays_paper.html":"/public/page/us_in_todays_paper.html" horNav[1].subnav[1] = new Object(); horNav[1].subnav[1].text = "Europe" horNav[1].subnav[1].href = (loggedIn)?"/page/europe_in_todays_paper.html":"/public/page/europe_in_todays_paper.html" horNav[1].subnav[2] = new Object(); horNav[1].subnav[2].text = "Asia" horNav[1].subnav[2].href = (loggedIn)?"/page/asia_in_todays_paper.html":"/public/page/asia_in_todays_paper.html" horNav[1].subnav[3] = new Object(); horNav[1].subnav[3].text = "Past Editions" horNav[1].subnav[3].href = "/page/us_past_editions.html" horNav[1].subnav[4] = new Object(); horNav[1].subnav[4].text = "Index to Businesses" horNav[1].subnav[4].href = "/page/index_to_business.html" horNav[1].subnav[5] = new Object(); horNav[1].subnav[5].text = "Index to People" horNav[1].subnav[5].href = "/page/index_to_people.html" horNav[1].subnav[6] = new Object(); horNav[1].subnav[6].text = "Journal Reports" horNav[1].subnav[6].href = (loggedIn)?"/page/journal_reports.html":"/public/page/journal_reports.html" horNav[1].subnav[7] = new Object(); horNav[1].subnav[7].text = "Columnists" horNav[1].subnav[7].href = "/page/columnists.html" horNav[1].subnav[8] = new Object(); horNav[1].subnav[8].text = "Letters" horNav[1].subnav[8].href = "/page/letters.html" horNav[1].subnav[9] = new Object(); horNav[1].subnav[9].text = "Corrections" horNav[1].subnav[9].href = "/public/corrections" horNav[2] = new Object() horNav[2].name = "My Online Journal" horNav[2].href = mojURL horNav[2].width = "126px" horNav[2].pIDs = "MOJSSI|0_0110|0_0111|0_0112|0_0113|0_0114|0_0115|5_6001|5_6020|8_0017" horNav[2].subnav = new Array() horNav[2].subnav[0] = new Object(); horNav[2].subnav[0].text = "My News" horNav[2].subnav[0].href = mojURL horNav[2].subnav[1] = new Object(); horNav[2].subnav[1].text = "My Email" horNav[2].subnav[1].href = "/email" horNav[2].subnav[2] = new Object(); horNav[2].subnav[2].text = "Keyword/Symbol Alerts" horNav[2].subnav[2].href = "/ksemail" horNav[2].subnav[3] = new Object(); horNav[2].subnav[3].text = "My Desktop Alerts" horNav[2].subnav[3].href = "/page/alerts.html" horNav[2].subnav[4] = new Object(); horNav[2].subnav[4].text = "My Account" horNav[2].subnav[4].href = "/my_account" horNav[3] = new Object() horNav[3].name = "Multimedia & Online Extras" horNav[3].href = "/page/1_0100.html" horNav[3].width = "181px" horNav[3].pIDs = "2_1077|8_0018|0_0813|2_0140|1_0100|0_0834|8_0019|5_6001|0_0882|2_0080" horNav[3].subnav = new Array() horNav[3].subnav[0] = new Object(); horNav[3].subnav[0].text = "Video Center" horNav[3].subnav[0].href = "javascript:OpenWin(nSP+\\\'/public/page/8_0004.html?mod=8_0004\\\',\\\'videoplayer\\\',990,540,\\\'off\\\',true,0,0,true);void(\\\'\\\')" horNav[3].subnav[1] = new Object(); horNav[3].subnav[1].text = "Blogs" horNav[3].subnav[1].href = "/redirect/blogslanding.html?mod=topnav" horNav[3].subnav[2] = new Object(); horNav[3].subnav[2].text = "Interactive Features" horNav[3].subnav[2].href = (loggedIn)?"/page/interactive_features.html":"/public/page/interactive_features.html" horNav[3].subnav[3] = new Object(); horNav[3].subnav[3].text = "Podcasts" horNav[3].subnav[3].href = (loggedIn)?"/page/podcast.html":"/public/page/podcast.html" horNav[3].subnav[4] = new Object(); horNav[3].subnav[4].text = "RSS News Feeds" horNav[3].subnav[4].href = (loggedIn)?"/page/0_0813.html":"/public/page/0_0813.html" horNav[3].subnav[5] = new Object(); horNav[3].subnav[5].text = "WSJ NewsReader" horNav[3].subnav[5].href = "/newsreader" horNav[3].subnav[6] = new Object(); horNav[3].subnav[6].text = "Columnists" horNav[3].subnav[6].href = "/page/columnists.html" horNav[3].subnav[7] = new Object(); horNav[3].subnav[7].text = "Forums" horNav[3].subnav[7].href = "http://forums.wsj.com" horNav[3].subnav[8] = new Object(); horNav[3].subnav[8].text = "Email Alerts/Newsletters" horNav[3].subnav[8].href = "/email" horNav[3].subnav[9] = new Object(); horNav[3].subnav[9].text = "Mobile" horNav[3].subnav[9].href = "http://mobile.wsj.com" horNav[3].subnav[10] = new Object(); horNav[3].subnav[10].text = "Most Popular" horNav[3].subnav[10].href = "/page/most_popular.html" horNav[3].subnav[11] = new Object(); horNav[3].subnav[11].text = "Online Today" horNav[3].subnav[11].href = "/redirect/onlineexclusives.html" horNav[3].subnav[12] = new Object(); horNav[3].subnav[12].text = "WSJ Labs" horNav[3].subnav[12].href = "/page/wsj_labs.html" horNav[4] = new Object() horNav[4].name = "Markets Data & Tools" horNav[4].href = "/marketsdata" horNav[4].width = "148px" horNav[4].pIDs = "2_3000|0_0810|0_0820|0_0812|0_0822|0_0814|3_6040|2_0036|2_3401|2_3403|2_0605|2_0635|2_0636" horNav[4].subnav = new Array() horNav[4].subnav[0] = new Object(); horNav[4].subnav[0].text = "Markets Data Center" horNav[4].subnav[0].href = "/marketsdata" horNav[4].subnav[1] = new Object(); horNav[4].subnav[1].text = "Portfolio" horNav[4].subnav[1].href = "".concat(nSP+gcPH) horNav[4].subnav[2] = new Object(); horNav[4].subnav[2].text = "Company Research" horNav[4].subnav[2].href ="/redirect/companyresearch.html" horNav[4].subnav[3] = new Object(); horNav[4].subnav[3].text = "ETF Research" horNav[4].subnav[3].href = "/redirect/etfresearch.html" horNav[4].subnav[4] = new Object(); horNav[4].subnav[4].text = "Mutual Fund Research" horNav[4].subnav[4].href ="/redirect/mutualfundresearch.html" horNav[4].subnav[5] = new Object(); horNav[4].subnav[5].text = "Asian Fund Research" horNav[4].subnav[5].href ="/mdc/public/npage/MS_asia_fund_quickrank.html" horNav[4].subnav[6] = new Object(); horNav[4].subnav[6].text = "European Fund Research" horNav[4].subnav[6].href ="/mdc/public/npage/MS_europe_fund_quickrank.html" horNav[4].subnav[7] = new Object(); horNav[4].subnav[7].text = "ETF Screener" horNav[4].subnav[7].href ="/public/quotes/etf_screener.html" horNav[4].subnav[8] = new Object(); horNav[4].subnav[8].text = "Mutual Fund Screener" horNav[4].subnav[8].href ="/public/quotes/mutualfund_screener.html" horNav[4].subnav[9] = new Object(); horNav[4].subnav[9].text = "International Fund Screener" horNav[4].subnav[9].href ="/public/quotes/MS_intl_mutual_funds_screener.html" horNav[4].subnav[10] = new Object(); horNav[4].subnav[10].text = "Price & Volume Alerts" horNav[4].subnav[10].href = "/pznsetup/sub/pvemail/setup.html" horNav[4].subnav[11] = new Object(); horNav[4].subnav[11].text = "Worksheets/Calculators" horNav[4].subnav[11].href = "/page/2_0036.html" horNav[5] = new Object() horNav[5].name = "Classifieds" horNav[5].href = "" horNav[5].width = "85px" horNav[5].pIDs = "4_1010|1_0116|sb" horNav[5].subnav = new Array() horNav[5].subnav[0] = new Object(); horNav[5].subnav[0].text = "Executive Jobs" horNav[5].subnav[0].href = "http://cj.careers.adicio.com/careers/jobsearch?clientid=cj" horNav[5].subnav[1] = new Object(); horNav[5].subnav[1].text = "Homes" horNav[5].subnav[1].href = "http://rej.re.adicio.com/properties/search/searchForm.php?reflink=topnav_clasf_homes" horNav[5].subnav[2] = new Object(); horNav[5].subnav[2].text = "Vacation Rentals" horNav[5].subnav[2].href ="http://wsj.realtimerental.com?reflink=topnav_clasf_vrent" horNav[5].subnav[3] = new Object(); horNav[5].subnav[3].text = "Commercial Real Estate" horNav[5].subnav[3].href = "http://www.realestatejournal.com/marketplace/propertysearch/?reflink=topnav_clasf_realestate" horNav[5].subnav[4] = new Object(); horNav[5].subnav[4].text = "Small Business" horNav[5].subnav[4].href = "http://online.wsj.com/small-business/main?mod=topnav_clasf_sbus" horNav[5].subnav[5] = new Object(); horNav[5].subnav[5].text = "Autos" horNav[5].subnav[5].href = (loggedIn)?"http://online.wsj.com/page/autos_main.html?mod=topnav_clasf_autos":"http://online.wsj.com/public/page/autos_main.html?mod=topnav_clasf_autos" horNav[5].subnav[6] = new Object(); horNav[5].subnav[6].text = "Legal Notices" horNav[5].subnav[6].href ="http://www.mypublicnotices.com/wsj/PublicNotice.asp?reflink=topnav_clasf_legal" _;http://s.wsj.net/javascript/HorizontalNavigationData_new.js Oabplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.18Tgzip_Mon, 17 Dec 2007 21:33:09 GMTUclose]max-age=20697_Tue, 05 Feb 2008 19:41:29 GMTT1437_Wed, 06 Feb 2008 01:26:26 GMT_Accept-Encoding]ht sfo-cog-n2_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;uz    "$&(*,.0246=P^iw|7IW#';|IOif((typeof shns)=='undefined'){var shns=true;}else if(shns==null){shns=true;} function openMenuHN(){} function closeMenuHN(){} var staticDomain=''; if((typeof window.nSP)=='undefined'||nSP==null){var nSP='';} if(nSP==''){staticDomain='http://s.wsj.net'}; document.write('') if(horNav){ var overHNOpen = false; var overHNTab = false; var openHNtab = null; var openHNtabIndex = null; var tmpHTML = "" var dwnarrowimguri= "http://s.wsj.net/img/arrowNav.jpg" var barlineimguri= "http://s.wsj.net/img/navDivider02.jpg" var openHSection = null; var openSectionFound = false tmpHTML+= '' for(s=0;s-1) isOpenSection=(isOpenSection&&!openSectionFound) if(isOpenSection){ openHNtabIndex=s openHSection=s } var horNavWidth = horNav[s].width; if (!horNavWidth) horNavWidth = ''; if(s==0) tmpHTML+= '' else tmpHTML+= '' tmpHTML+= '' //if(s==(horNav.length-1)) // tmpHTML+= '' if(isOpenSection) openSectionFound = true; } tmpHTML+= '' tmpHTML+= '' tmpHTML+= ''; tmpHTML+= '
0) { if (typeof suppressNavPopup == 'undefined' || typeof suppressNavPopup != 'undefined' && !suppressNavPopup) { tmpHTML+= ' onmouseover="status=\''+tempHref+'\';OverBar=false;HideNav();openMenuHN('+s+');overHNTab=true" onmouseout="status=\'\';closeMenuHN('+s+');overHNTab=false' } if(isOpenSection) { tmpHTML+= ';this.style.color=\'#990000\';' } tmpHTML+= '" ' tmpHTML+= ' onclick="window.location=\''+tempHref+'\'" ' } else { tmpHTML+= ' onmouseover="status=\''+tempHref+'\';OverBar=false;HideNav();closeMenuHN(openHNtabIndex);this.style.color=\'#990000\';" ' + ((!isOpenSection)?'onmouseout="status=\'\';this.style.color=\'#000000\'" ':'' ) tmpHTML+= ' onclick="window.location=\''+tempHref+'\'" ' } tmpHTML+= '>'+horNav[s].name+'
' tmpHTML+= '' document.write(tmpHTML) } _7http://s.wsj.net/javascript/HorizontalNavigation_new.js Oobplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.17Tgzip_Mon, 17 Dec 2007 21:33:09 GMTZkeep-alive]max-age=19227_Tue, 05 Feb 2008 15:22:12 GMTT2008_Tue, 05 Feb 2008 20:42:39 GMT_Accept-Encoding]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;~  %')+-/13579;=?FYgr %EWe ,15I|WOif((typeof pmts)=='undefined'){var pmts=22;}else if(pmts==null){pmts=22;} if((typeof useIfHN)=='undefined'){var useIfHN=true;}else if(useIfHN==null){useIfHN=true;} useIfHN=(!window.opera&&true); function getDistance(obj,isTop){ var acum=0 while(obj.tagName!="BODY"){ acum+=isTop?obj.offsetTop:obj.offsetLeft obj=obj.offsetParent } return acum } var timeOutObj = null function closeMenuHN(index){ timeOutObj = null if(!overHNOpen&&!overHNTab){ if ((typeof openHNtabIndex != 'undefined')&&openHNtabIndex!=null&&("|"+horNav[openHNtabIndex].pIDs+"|").indexOf("|"+pID+"|")==-1&&openHNtab) openHNtab.style.color='#000000' document.getElementById("hnpopup").style.display='none' document.getElementById("hnpopup").style.visibility='hidden' } else { timeOutObj = setTimeout("closeMenuHN("+index+")",1*500) } } function openMenuHN(index){ var ifobj,ifdoc; if (openHNtabIndex&&("|"+horNav[openHNtabIndex].pIDs+"|").indexOf("|"+pID+"|")==-1&&openHNtab) openHNtab.style.color='#000000' var tabObj = document.getElementById("hntab"+index) var popObj = document.getElementById("hnpopup") var popupWidth = (tabObj.offsetWidth > 120) ? (tabObj.offsetWidth+25) : '120'; if (index == 5) popupWidth = '135'; var tmpHTML2='' for(i=0;i-1){ tempLoc=tempLoc.substring(0,tempLoc.indexOf("?")) } if(i==0) tmpHTML2+= '' } else { if(i==0) tmpHTML2+= '' else if(i==horNav[index].subnav.length-1) tmpHTML2+= '' else tmpHTML2+= '' } } tmpHTML2+= '' tmpHTML2+='
'+horNav[index].subnav[i].text+'
'+horNav[index].subnav[i].text+'
'+horNav[index].subnav[i].text+'
'+horNav[index].subnav[i].text+'
'; popObj.innerHTML='
'; if(useIfHN){ $('idiv').innerHTML='<'+'iframe id="hnpopupif" marginWidth="0" src="" marginHeight="0" hspace="0" vspace="0" frameBorder="0" scrolling="no" style="display:block;">'+'<'+'/'+'iframe>'; ifobj=$('hnpopupif'); ifdoc=getIfDocHN(ifobj); var ifc=''+ ''+ ''+ ''+tmpHTML2+''; if (ifdoc !=null) { ifdoc.open("text/html","replace"); ifdoc.write(ifc); ifdoc.close(); } } else{ $('idiv').innerHTML=tmpHTML2; } if(index == 0) popObj.style.left=(getDistance(tabObj,false)-11)+"px" else popObj.style.left=(getDistance(tabObj,false)-13)+"px" popObj.style.top=(getDistance(tabObj,true)+pmts)+"px" popObj.style.width=(popupWidth)+"px" tabObj.style.color='#990000' popObj.style.display='block' popObj.style.visibility='visible' if(useIfHN){ ifobj.style.display='block'; if (ifdoc!=null) ifobj.style.height=ifdoc.getElementById('hnpt').offsetHeight+'px'; ifobj.style.width=(popupWidth)+'px'; } if (ifdoc!=null) { openHNtab=tabObj openHNtabIndex=index } } function getIfDocHN(ifobj){var o=null;if(typeof document.frames!='undefined'){o=document.frames[ifobj.id].document;}else if(typeof ifobj.Document!='undefined'){o=ifobj.Document;}else if(typeof ifobj.contentDocument!='undefined'){o=ifobj.contentDocument;}else if(typeof ifobj.contentWindow!='undefined'){o=ifobj.contentWindow;}return o;} _@http://s.wsj.net/javascript/HorizontalNavigationFunctions_new.js HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.17_Tue, 09 Apr 2002 02:48:15 GMTZkeep-alive]max-age=39048_Tue, 05 Feb 2008 15:22:12 GMTR45_Wed, 06 Feb 2008 02:13:00 GMT]ht sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd $0246SXalpv} %*9AFSWbchltO-GIF89a!,X;_http://s.wsj.net/img/b.gif HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse) )/078<`abcdefghijklmnopqrstuvwxyj7z{|U$null  !"#$%&'(R$6S$10R$2S$13R$7R$3S$11R$8R$4S$14R$9R$0V$classR$5S$12R$1#Am--#Am-C(#AC*+!-.WNS.base[NS.relative_http://online.wsj.com/img/b.gif1234X$classesZ$classname456UNSURLV%NSURLXNSObjectYimage/gif9:;'=>?O_ZNS.objectsWNS.keys@ABCDEFGHIJKLMN !"#$%PQRSTUVWXYZ[\]^ &VServer]Last-Modified]Accept-Ranges_X-Debug-NamespaceTDate_X-Debug-Module-Version_X-Debug-Request^Content-Length]Cache-ControlWExpiresZKeep-AliveZConnection\Content-TypeSP3p_X-Debug-Box-IdentVApache_Tue, 09 Apr 2002 02:48:15 GMTUbytesYinert-wsj_Tue, 05 Feb 2008 15:22:12 GMT_DJCS mod_mon 0.7.0.0.2.1Z/img/b.gifR45]max-age=43200_Wed, 06 Feb 2008 03:22:12 GMT_timeout=2, max=47_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC]sbkj2kiwebp0112}~~6_NSMutableDictionary\NSDictionary126_NSHTTPURLResponseInternal126_NSHTTPURLResponse]NSURLResponse$)2DILbd &.:<>@bgp{   "$&(/=K_d}&Falo}(6;?Ubgj_http://online.wsj.com/img/b.gif HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.18_Tue, 03 Apr 2007 15:07:35 GMTUclose]max-age=28261_Tue, 05 Feb 2008 19:41:29 GMTT8774_Wed, 06 Feb 2008 03:32:30 GMT]ht sfo-cog-n2_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd  %1357chq|'5:IQVcgrpuytO"FBMF"6(4\ Jӭf1Yp+șhΤw¤{;ط*̳ÏY>|O4b8pDJTSVE>c:rKʗ0eXR_6gsb{gS֧[˕,Ι9ƌϚ;ٵ̖0͗3ʒ&mx٬eZ Ǎ2cUaNÈ hh3eh…fNFfDɑ!ث`Ђ٫c2b5bsaZ(\3o tǎΛ?tcŊx{n|˖7k^U m{ԧO޿߿ƐȏFzlW侂poaY1ZW#5e_FLg0ߵujnԣSק].S=uĈ ϟfbŕӃўFh<ĉTV ԣUϛ>o]y$Π@zȳ\ܰlʑ#f޶vksذsƉ9fLg1p̖.{x(p^qY͒our~ӢQ]<d]۷pwi޴sr;џHŋtdAlp3̠†                                                          R,        8P,            ZXFgv\       Ě@YHA?~       kcDBw          d;o       ʸj=ý Ԃ"*S'   2y."J*z'      mπ+."})T    |QE(+M)G b<0^[({x31t_ae5N4CWh/KU-O7>qi $69:]&#$!pu`I&# sn!# l!rLfV%%-_)http://s.wsj.net/img/msnmoney_back_to.gif HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.17_Tue, 13 Feb 2007 03:31:27 GMTZkeep-alive]max-age=15881_Tue, 05 Feb 2008 15:22:12 GMTS282_Tue, 05 Feb 2008 19:46:53 GMT_ht d sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd  %1357ejs~ )7<KSXeitztOGIF89a (6vN 1 S^JJIމxxxSSS!!!! ,"<0*Kt @ 0 h+ aP@ @A( xF)Rt0xw8yzQ)4iqR4(PrP*wpQ|+nit,dxk-Y[i`KMUWb=?ACEGI/13648;&(*,/!;_+http://s.wsj.net/img/wsj_hed_search_btn.gif HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.17_Mon, 01 Mar 2004 19:22:48 GMTZkeep-alive]max-age=17309_Tue, 05 Feb 2008 15:22:12 GMTS280_Tue, 05 Feb 2008 20:10:41 GMT_ht d sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd  %1357ns|  '2@ET\anr} tOGIF89aitxBUZ&57UhjaJJIމxxxSSS!!!!, "r4Ps("@t 9K ! < (k ШAbA%"ӇpE)RJ]R)4h/R4(~w)uoxQz+mqsbdhj-Y [hP^`0MvyUWa=?ACEGI/13648;&(*,/!;_4http://s.wsj.net/img/wsj_hed_quotes_research_btn.gif HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?ISZNS.objectsWNS.keys@ABCDEFGHJKLMNOPQR VServer]Accept-RangesZConnection]Last-ModifiedTDate^Content-LengthTEtag\Content-TypeSP3p_Apache/2.0.52 (CentOS)UbytesZKeep-Alive_Fri, 01 Feb 2008 21:15:13 GMT_Tue, 05 Feb 2008 15:22:17 GMTS787_"b14047-313-4451f4521fa40"_Rpolicyref="http://assets.loomia.com/w3c/p3p.xml", CP="NOI DSP COR NID CUR OUR NOR"12fggh6_NSMutableDictionary\NSDictionary12jkk6_NSHTTPURLResponseInternal12mnno6_NSHTTPURLResponse]NSURLResponse$)2DILbd #/135z  -8FKZ_lpPUYo|pOGIF89axrqoNNNd@kׅӛ.--çﱱ}}||^^]!,x'dihlp,Jy YpP+ `"JeKteGJ3g,)$&GrfHи$)_.#  $"DoN "  ] w#D_]__"gd"TW"U "UW~ R# dɹ4Hlx h@t`0A$HB1l0PJ 5W<aB(& uɦ_2=|8|XC :,H0sj X?F]>|4P*6FXVP 8\@F;` ҉.5=(*!(8!QA!TԀCo 5`t5SAB6 R r󭂛#qPH&p r uDC P pfТTb`A߄}p!rAʐH $P%_A",B!0{TP|h]@Tx']~T-o &- N;ms< 0 iDbXғxQC8R  pcPAJPtixE;_Bhttp://assets.loomia.com/images/social/logo-providedbyseenthis.gif HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-Modified]Accept-RangesZConnectionTDate^Content-LengthZKeep-AliveTEtag\Content-TypeSP3p_Apache/2.0.52 (CentOS)_Fri, 01 Feb 2008 21:04:06 GMTUbytes_Tue, 05 Feb 2008 15:22:17 GMTT1977_timeout=15, max=49_"c74222-7b9-4451f1d605d80"_Rpolicyref="http://assets.loomia.com/w3c/p3p.xml", CP="NOI DSP COR NID CUR OUR NOR"12ijjk6_NSMutableDictionary\NSDictionary12mnn6_NSHTTPURLResponseInternal12pqqr6_NSHTTPURLResponse]NSURLResponse$)2DILbd  %1357v{  !/=HM\gly}hmqsOGIF89aTn:W:YlGcޑņaxx;Z;[;Xsl.w<,2 5F:Oude, RXXҳqbW7(uc3hX bp 8LaX(X*o|)Jq%Ku #D/pU~ -Q7 > %$aMLg2q7@ 'ۏ-&:(rjR4XǸFX#$~0 JCVV!K=n@ [H D ,HGɸxBb 8@ UPT׳H0x|^ahzEi-R#jTfEx1T1#hA4 (Q*^"Ԃ>{ J\D?ISZNS.objectsWNS.keys@ABCDEFGHJKLMNOPQR VServer]Accept-RangesZConnection]Last-ModifiedTDate^Content-LengthTEtag\Content-TypeSP3p_Apache/2.2.3 (CentOS)UbytesZKeep-Alive_Fri, 01 Feb 2008 21:14:54 GMT_Tue, 05 Feb 2008 15:22:17 GMTT1215_"5c06d1-4bf-4451f44000f80"_Rpolicyref="http://assets.loomia.com/w3c/p3p.xml", CP="NOI DSP COR NID CUR OUR NOR"12fggh6_NSMutableDictionary\NSDictionary12jkk6_NSHTTPURLResponseInternal12mnno6_NSHTTPURLResponse]NSURLResponse$)2DILbd #/135sx   &1?DSXeiINRhuz}pOGIF89aq w\x]y\xSpVrz~Yuhj;\Tqb}a|׀fOmzb|[xXtrk䎣_zfZvwsmgֹmg[vxSqWtf{b|a}YvUqة̂l_yٌ^y;]ƪηմNkYw]wAbuکoTs|yipӫ~o}yȟō!,q y H*\ȰÇ#JH@`BǏ"5q@ w!˃/]*|P Q /[DY5J @G1[|:1A:dB^':`Rk-7- HH<2x! TP_Ļ^|Way⋐rc4h"+ǢG1qF>$]װYʎ 5`Ÿk m*)O*EHMIIx9%Uyx])h* 6``wk۳Ӝ{vmӣEKnT¤&jP^ `ҝz-VxGXnk.ЊK$;qJsQ,L,uRRT2@t@@p@  p+VP@L :f)UZv;_;http://assets.loomia.com/images/loomia-logotype-oneline.gif HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse) )/078<`abcdefghijklmnopqrstuvwxyj7z{|U$null  !"#$%&'(R$6S$10R$2S$13R$7R$3S$11R$8R$4S$14R$9R$0V$classR$5S$12R$1#Am.ep6#Am-؏e(#A؏e*+!-.WNS.base[NS.relative_)http://online.wsj.com/img/more_arrows.gif1234X$classesZ$classname456UNSURLV%NSURLXNSObjectYimage/gif9:;'=>?O_ZNS.objectsWNS.keys@ABCDEFGHIJKLMN !"#$%PQRSTUVWXYZ[\]^ &VServer]Last-Modified]Accept-Ranges_X-Debug-NamespaceTDate_X-Debug-Module-Version_X-Debug-Request^Content-Length]Cache-ControlWExpiresZKeep-AliveZConnection\Content-TypeSP3p_X-Debug-Box-IdentVApache_Fri, 11 Apr 2003 15:05:42 GMTUbytesYinert-wsj_Tue, 05 Feb 2008 15:22:12 GMT_DJCS mod_mon 0.7.0.0.2.1_/img/more_arrows.gifR54]max-age=43200_Wed, 06 Feb 2008 03:22:12 GMT_timeout=2, max=50_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC]sbkj2kiwebp0112}~~6_NSMutableDictionary\NSDictionary126_NSHTTPURLResponseInternal126_NSHTTPURLResponse]NSURLResponse$)2DILbd &.:<>@lqz "$&(*,.029GUin &0Pk>LQUkx}O6GIF89a S!,  abL@;_)http://online.wsj.com/img/more_arrows.gif HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.17_Tue, 05 Feb 2008 00:13:24 GMTZkeep-alive]max-age=32316_Tue, 05 Feb 2008 15:22:12 GMTT5136_Wed, 06 Feb 2008 00:20:48 GMT_ht d sfo-am6-n9_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd  %1357 "$&-;FTYhpu!tOGIF89a)60g!Gi5j9n=qBt+Jf(D]JzSUW5Mc^dgqvy~Ɨ̛̙̔¤ұټݾN~TQȌlQ»ſ؟AaqϿppp```PPP@@@000 !M,ŠʖҿֶՔCEC?ޮAAC?ٓIC@AIܭI?D%A~(p!t7 E0ZLw0@ҡ4'GUMd!qdDyJ%!b@E`.2DzE 9 H QԪ5Dɑ#J^9sQvD&S 6 ЁNrdL)y| kA$]ɕ!v nG^R'_zyĤĢK"#-Y@Ѣq/n'AO[ID` 2Oˇo>{ّnW' FXu\GaeU=Mr]c]4 4)`=y9GPhLCA(DG &a'a5RHA8WEQz"?-6NeYEMdBѕ dieJ]!*\'Ng-y EwBZtLC8ev)Kqa'DOD2e#Zڦ(V6^KeWJ<p_=J %pGDXo9fQ3WHtc<ĕ>h)+<_2DcVO|fa%ehr/; pK0N Q{1v$e" 8= x>qEπ4P=16t N@=GT j'lݖBѝBL&P:bZB=dOHCj$(C1q `)(y\9^%DKQLPe ᒖpsB֥1v#YKN?A !~Ɛ!9&ӝr4놼XKGm :+N茂Aq#LǒJ! )rIHME6W* +eÊT#]qEAvCE0dO(Rvŭ,hsTmMbd崽Z=H]8ʣ:UNrqșWq (@x:,52*%L^۸B % ~@DuĴFV\$s ! .Nk*7Fhg%`  |2*);Vh-C^vF\?0~f>s1qL51ѐ#V7J2ˮ>52ٙ٘Fa9(ҨK&3 2+2GSҒ-NG휑ڤ3mPo72-)D&0㑆G&*05tպ%!_C!_Sy8L :Hc@V0B:J;A^3xX7q؎mэ 8 H3-y3S}7ooF81ᧆ..V%2  0y8 LS|>'*p!&p̹<8z&<;~+LLDQ6<`@4@(a*`%jOy. 9yn'y O')pb<:PPbS`(Z*h@:*HL`i3Vld=r{A—=.BQ   e~~s2CR$?`5?_>}p?s3A >SBw#'w8 (r8p pj{sv@7 ]ggw6{FW$Prw4w! 7hPh x Gs0~6P1p x \)h%x vlwQwp'{ [Ihpr&xoh oǍp(0}0JPs+w)xpHا0}cpPpG  7*w! ݧt`x4g e5# 5X؊- 6-!N0%xhYf@>$ HY )ҧL) zp鉔; 3?ms/Q.#^#cHOI=w@^$ ]x !2 A>H *q߈qXvA2P اv{}`RhQޒO0 n#9Yy{ 9iPI 9Yw p `著 Pug5x`,ivxgPr7{u!6[c)2Fmr*# 8)pFB=b Q+ $@Ǜ(ZА'r B_]-agq9tPR *vȉ_\$3_E^aqUu~wopFB"31W t\ǥ<9`z *vJLQ]R (P*jFz$b'4u,(M "o*p@7 (v?pHqku A+T0}*!٬ $2<vOЅ$Gs QYuZl2:(h -Y]%tU(5 'hy@D eQJ Nv|Ő$4^m@Pp0$@i\'.~ 1" J +U.!NL1 wİQ4<dz@'7o$ec!2Ⱥq. t&P&&k}4<Ó{vJ|G'uK!kVյG/!Zrkc!屢`y*;j6i i{iKji˸-]?C1 A-(q[۪q qpppkpKppooo r{quۛ+KśǫɻKͫPv+qř9j۽4[{蛾껾;18/v'&> #+{ lZ{'>[>  |\켵 \L#"L(l>XK0O+95:@z (a6@E6E QI %DamO\ ЪP]3 tieW3ı@dQSƤT K&ewDQLl e|Dϋȉ\Njȍ? dŕlq h 9i{AC^ 'H1 Ŷ.ny32!&!a%ydI` ;FZG]NVa 2PBp_"5Q$'>dڰeukɛ`NU$q{]2/FCd|3 v#(Ldmc>^ʣ e#B@CD<Vq9 JA,ELd;/:Ϝ0{G1"12`Demq9,. IQF$K@U8-ӴXa!亩J)jBA287CaJ>8!';`b,5_bbBm2כOKz;e0"0%D0csc1T&ٙ5"Cx3ښ<= ɗɳMƵ-۷m۹ۻ-] s[qntÍ;_Hhttp://s.wsj.net/public/resources/images/MI-AO972_AOT_20080204191223.gif HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?JUZNS.objectsWNS.keys@ABCDEFGHIKLMNOPQRST VServer]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTX-Px\Content-TypeSP3pZPWS/1.2.18_Wed, 11 Apr 2007 18:42:21 GMTUclose]max-age=27890_Tue, 05 Feb 2008 19:41:30 GMTS346_Wed, 06 Feb 2008 03:26:20 GMT]ht sfo-cog-n2_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12jkkl6_NSMutableDictionary\NSDictionary12noo6_NSHTTPURLResponseInternal12qrrs6_NSHTTPURLResponse]NSURLResponse$)2DILbd  %1357]bkvz!/4CKP]alinrtOZGIF89a1YJsOwBj8^7^3ra?dBfR{ԶST}(Wx >dsHmNxIl9`&f Qw7u坰=epCxZz8_Prg锨磾d!,@w000&08ZV@ g!zI~n :ؽ%QAȉ$ 21r7 & JD_ B/#],().d  { r{|!43JA;_#http://s.wsj.net/img/sphereIcon.gif O!bplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse% (./67;[\]^_`abcdefghijklmnopq6rstx{U$null  !"#$%&%'R$6S$10R$2S$13R$7R$3S$11R$8R$4S$14R$9R$0V$classR$5S$12R$1#A˘%#Ai/$)*!,-WNS.base[NS.relative_rhttp://online.wsj.com/sphere/widgets/sphereit/js?siteid=wsj&baseurl=http://online.wsj.com/sphere/widgets/sphereit/0123X$classesZ$classname345UNSURLV%NSURLXNSObject_text/javascript89:#<=>LZZNS.objectsWNS.keys?@ABCDEFGHIJK !MNOPQRSTUVWXY "VServer]Cache-Control_X-Debug-NamespaceTDate_X-Debug-Module-Version_X-Debug-Request^Content-LengthYX-Machine_X-Aspnet-Version\X-Powered-By\Content-TypeSP3p_X-Debug-Box-Ident_Microsoft-IIS/6.0Wprivate[content-wsj_Tue, 05 Feb 2008 19:41:40 GMT_DJCS mod_mon 0.7.0.0.2.1_]/sphere/widgets/sphereit/js?siteid=wsj&baseurl=http://online.wsj.com/sphere/widgets/sphereit/T9680[SB-WIDGET02Y2.0.50727WASP.NET_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC\sbkj2kwebp0301uvvw5_NSMutableDictionary\NSDictionary01yzz5_NSHTTPURLResponseInternal01|}}~5_NSHTTPURLResponse]NSURLResponse$)2DILbd".024 #%')+-/13579;=KMOQSUWY[]_acegn| 2:Ff{O%/* -- BEGIN SPHERE JS -- */ Sphere = {} Sphere.Tracker = new function() { this.track = function ( ele, site, area ) { if( !ele.href ) return; var imgurl = 'http://stats.sphere.com/widgets/sphereit/?action=click&siteid='+site+'&q='+area+'&url='+ele.href; var trackimg = new Image(); trackimg.src = imgurl; wait(150); } } Sphere.Widget = new function() { var SKELETON_MARKUP = '

loadingWe\'re getting you the good stuff...
'; var CONTENT_URL = 'http://www.sphere.com/widgets/sphereit/content?siteid=wsj'; if(document.characterSet) CONTENT_URL += ('&cset='+escape(document.characterSet)); CONTENT_URL += '&url='; var widget; var widgetContent; var widgetLoading; var content; if(document.getElementsByTagName('base').length>0) { if (window.addEventListener){ window.addEventListener('load', appendStylesheet, false); } else if (window.attachEvent){ window.attachEvent('onload', appendStylesheet); } } else { appendStylesheet(); } if (Math.random() <= 0.1) { var imgurl = 'http://stats.sphere.com/widgets/sphereit/?action=page&siteid=wsj'; var trackimg = new Image(); trackimg.src = imgurl; } var fmRand = new String(Math.random()); var fmRand = fmRand.substring(2,11); var imgurl2 = "http://dynamic.fmpub.net/adserver/adview.php?what=zone:411&n="+fmRand+"&source=WSJINLINE"; var trackimg2 = new Image(); trackimg2.src = imgurl2; this.search = function( source ) { if( !content || (source && content.source!=source ) ) { requestContent( source ); if( widget ){ widget.parentNode.removeChild(widget); content=null; widget=null; } } if( !widget ) draw(); show(); var reqimgurl = 'http://stats.sphere.com/widgets/sphereit/?action=display&siteid=wsj'; var reqimg = new Image(); reqimg.src = reqimgurl; if (reqimg.style) { // In Safari 2.0.x, reqimg has no style until it's appended, so skip this (fixed in Safari 3) reqimg.style.display = 'none'; document.body.appendChild(reqimg); } return false; } this.close = function() { if( widget ) widget.style.display ='none'; } this.processContent = function (incomingContent) { content = incomingContent; for(i=0;i<1000;i++){ test='444'}; if( !widgetContent ) return; widgetContent.innerHTML = content.content; widgetContent.style.height = widgetLoading.clientHeight +'px'; widgetLoading.style.display = 'none'; widgetContent.style.display = 'block'; zoomToFull(); } function requestContent( local ) { //alert("requestContent"); Sphere.Widget.script = document.createElement('script'); Sphere.Widget.script.src = CONTENT_URL + escape(local || location.href); setTimeout(function(){ document.body.appendChild(Sphere.Widget.script);}, 1); } function zoomToFull() { //alert("zoomToFull"); Animator.add( { process: function() { if( widgetContent.clientHeight >= widgetContent.scrollHeight-20) { widgetContent.style.height = widgetContent.scrollHeight+'px'; if( iecheck() ) { ieahack(widget.getElementsByTagName("a")); document.getElementById("sphereiframeblock").style.height = (Number(widget.scrollHeight)-24)+'px'; document.getElementById("sphereiframeblock").style.display = 'block'; alphaBackgrounds(); } center(); return false; } widgetContent.style.height = (widgetContent.clientHeight + 20) +'px'; center(); return true; } }); } function ieahack( col ) { for( var i=0; i"); } function iecheck(inc_seven) { if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) { var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, ''); var iever = (inc_seven)?(rslt != null && Number(rslt[1]) >= 5.5):(rslt != null && Number(rslt[1]) >= 5.5 && Number(rslt[1]) < 7 ); } return iever; } function wait(ms){ var now=new Date();var exitTime=now.getTime()+ms;while(true){now=new Date();if(now.getTime()>exitTime){return;}}} function alphaBackgrounds() { //alert('alphaBackgrounds()'); if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) { var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, ''); var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5 && Number(rslt[1]) < 7 ); for (i=0; i?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServer_Content-Encoding]Last-ModifiedZConnection]Cache-ControlTDate^Content-LengthWExpiresTVaryTX-Px\Content-TypeSP3pZPWS/1.2.18Tgzip_Thu, 26 Jul 2007 13:48:53 GMTUclose\max-age=8902_Tue, 05 Feb 2008 19:41:29 GMTT1270_Tue, 05 Feb 2008 22:09:51 GMT_Accept-Encoding]ht sfo-cog-n2_tCP=CAO DSP COR CURa ADMa DEVi TAIo PSAa PSDa IVDi CONi OTPi OUR OTRi BUS PHY ONL UNI PUR COM NAV INT DEM CNT STA OTC12rsst6_NSMutableDictionary\NSDictionary12vww6_NSHTTPURLResponseInternal12yzz{6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;Z_hsw}   "5CN\apx}-; |-O /* Copyright 2000-2004 Clickability Inc. */ /* Clickability ButtonServer v4.01 */ document.write(' Ahead of the Tape - WSJ.com
The Wall Street Journal Home Page
User Name:  Password: 
Log In 
Forgot your username or password? | Subscribe
As of Tuesday, February 5, 2008Set My Home Page|Customer Service
News
Today's Newspaper
My Online Journal
Multimedia & Online Extras
Markets Data & Tools
Classifieds
 OTHER FREE CONTENT
 FROM THE WALL STREET
 JOURNAL
SEARCH
QUOTES & RESEARCH
Symbol(s) Name
AHEAD OF THE TAPE

The Election
Won't Affect
All Sectors

By MARK GONGLOFF
February 5, 2008; Page C1

The turbulent presidential election season is catnip for political junkies. But investors have little reason to pay much attention.

A 2006 study by Stanford economists Erik Snowberg and Eric Zitzewitz and Wharton economist Justin Wolfers found that Republican victories in presidential elections typically add 2% to 3% to stock prices. But that can be quickly erased if broader economic circumstances dictate.

Stocks fell hard in the first two years after President Bush was elected, despite his arguably market-friendly tax cuts. They rose in the first two years after President Clinton was elected, despite his arguably market-averse tax increases.

"A lot of investors worry about politics," says Citigroup chief global equity strategist Robert Buckland. "They're better off worrying about earnings."

Some sectors may not be affected by this year's election. John McCain, the Republican front-runner, as well as Democrats Hillary Clinton and Barack Obama, are expected to pursue policies that would hurt the health-care sector, such as negotiation of drug prices under Medicare.

One of the most glaring differences concerns those Bush tax cuts, which included lower rates on dividends and capital gains. Sen. McCain has vowed to extend them all. That would seem to make Wall Street favor Sen. McCain.

But an administration run by either party may be under heavy pressure to raise taxes at some point to pay for scaling back the Alternative Minimum Tax and for the massive entitlement-spending increases that will come as Baby Boomers retire.

A Democrat-controlled Congress will play a large role in deciding tax policy. The high-income and investment brackets favored by Mr. Bush's tax cuts will likely bear the brunt, no matter who is in the White House.

Lower Rates Won't Help Private-Equity Business

Hedge-fund and private-equity giant Fortress Investment Group went public a year ago this week, amid great fanfare. Blackstone Group followed with its own IPO several months later.

[Chart]

It has been largely downhill ever since for the firms -- and their shares, as the buyout market ground to a halt.

In the past few months, private equity hasn't just stalled, it has moved in reverse. Since Oct. 1, $31 billion in private-equity deals have been announced, according to Thomson Financial. But $50 billion in deals have been scotched.

Buyout firms are walking away from deals because few investors will buy the loans that fund them. One problem is a freeze-up in the market for collateralized loan obligations, or CLOs, structured investment vehicles that package leveraged loans. CLOs were responsible for about 75% of demand for leveraged loans in last year's first half, according to KDP Investment Advisors.

Another stumbling block: Many leveraged loans are pegged to the London interbank offered rate, or Libor, which has dropped amid the Federal Reserve's recent rate cuts. Investors can find higher yields elsewhere, such as high-yield debt.

The upshot: While lower rates may cushion the economy in a slowdown, they'll do little to recharge the moribund private-equity business. The only medicine for this struggling industry may be a healthy dose of time.

--Scott Patterson

 Email mark.gongloff@wsj.com or scott.patterson@wsj.com
 
RELATED ARTICLES AND BLOGS
Related Content may require a subscription | Subscribe Now -- Get 2 Weeks FREE
Related Articles from the Online Journal
Blog Posts About This Topic
•  Make the Tax Cuts Work  taxpolicycenter.org
More related content Powered by Sphere
Click to format this article for printing Click to format this article for printing  View a list of most popular articles on our site Find out about distributing multiple copies of this article Find out about distributing multiple copies of this article 
Blank ImageSponsored byBlank Image
DIGG THIS  DIGG THIS Get RSS Feeds  GET RSS FEEDS
Return To Top
WSJ Digital Network:
Subscribe   Log In   Take a Tour   Contact Us   Help   Email Setup   Customer Service: Online | Print
Privacy Policy   Subscriber Agreement & Terms of Use   Copyright Policy   Mobile Devices   RSS Feeds
Copyright © 2008 Dow Jones & Company, Inc. All Rights Reserved
DowJones
UUTF-8WwndMain_7http://online.wsj.com/article/SB120217144402842755.html 'CMT^e HObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?FMZNS.objectsWNS.keys@ABCDEGHIJKL ]Last-ModifiedVServerZConnectionTDate^Content-Length\Content-Type_Mon, 29 Oct 2007 14:45:41 GMT]DCLK CreativeZkeep-alive_Tue, 05 Feb 2008 15:22:10 GMTT800112Z[[\6_NSMutableDictionary\NSDictionary12^__6_NSHTTPURLResponseInternal12abbc6_NSHTTPURLResponse]NSURLResponse$)2DILbd~ )+-/ty %4Aaoz dOAGIF87a.4IܨБQrֿٲPrӼŲɶ3f``ҬμʸŽ{|f|ż¾ż00Ɯּ¼p[{ƿĹøƳ܅ppԴĺϺ ˪qχȾȿŻ菏TuRsƸߺüʼ̨OsPb~ƾ`|Ptj@@@fDK^z{jwsո:CL08@쟟x@pUjﯯ My0YPPÙfff```Ps̻߫ϼ±üdz̎İܯPS!,.4@sH*\ȰÇ#JHŋ2ȑ tuFƓ'2RLv fM4pECN̚)hf̦(nHgNQKET\4DU`+6JOIJ*VQ Hvkʏ k<  6yػ7A Il$BpPg!Ґ&ʲ$ҠS0Pl!ð%F|&8k@d^iӠuD:@ !B ˫#BrϠp}^P$K4d %h&x`(F(6Ā&;EQp@'D `原T>TX s'p +e)(Ud9 g@3~X6  0[ @,]XP1`B] y HCC #`v&NhVUJ87FeO, 0AP+ -J 8$P-WPO@#20 o / 5B$u.#{%YMY S[ @`-X=S`P[-&0.22 *a3.yB3%%!R#/\` h2ڄkp0*b(P 7 " kR:mƏXdnb:dZfzhjlڦe tZvzxz|ڧ~@@Ki @$8f)`3ٳf C4Kf>!eOfQ6efevdPPF zfQfj@g>te^V c4Puf#7OhihDh iP Vi`j9j&j8ks7& Ek&VAsF?AE?4@@Rp- " (1( %`XO e`o8\&c?N%ycq&> Wfi5FfRƲ.K5, `eh jeyfxf4jd` F#Zᇬc8p.9_! 85 p SpAkZi ۀf& ~#jhv3?CO +P p@*bP  p Op5Ero W%* p i`ΖYP(p `RD;#Ļ oF&@pV[9A[ڽ֥B!4B%t &$kX (&P`A$0 w0J dcp5_@3i$/P_\%T.@B3N3C+DJր ~ LC)l`j{ 2b+ )MyyqLb\@l[g YP0"a@  ` P`f`?P!PՑ{6q2q61rmIGGKrǿs |\Ktma g'wg I4 B+\AIAD08@5D)L@N] $wvqLܗD̀@BM0AC/ߩ&g0 F d v0P G& WP p)U`U S0% :q|L І|ևA\&L}l}4K)BXtqSN{a6a [D)˖ae!|WtMQoo5q GMЁ, ߁ I`qɐa=RH0 Ȳ{JOAT `I_!} M' 6 K1tM E0]JʄKaxxh ҋ ^@puʣh]SdIdʤ ʔ- [L A'LmDŽ׬h/cP5!i +yK A J1@ GpNNI ڰBc/GGP_ $ ϼgpȐcI$lb0 D @nnk  >p א k@,B5!w0  ;p;@ pOސ 4x.h.AgR\.Sp-\Ң ~S`YP ] PS(u~pbSr &a93.yh['0#`P4 G .y>hXE+Xxȓx( xh0mk A Pm0 `ՁGS%'p`]1, Y,` >$?B$"z` P_@#{\4%c8DyX('"x؍OSS" `9Փb$)Iu%_+Ȱb%)eWhyVFVWhIW%z'|W(uX踔XXB7*6Y7lYP&TF'HU蔷!*T7*Ҝ ` ދ` ?p0Re'  [`wi$$ *#0%PpM34#%`Ƞ,?`aV1lXbsD&Jbְ$Q;và 6u črDRes(5dH9E1tqš\رjZx4bȂ yɏFQRAV*\I1*B\"%xbL 2x$ƨqdrx"CFbOF$~K-+|bf$d, e3z3d$h'ʈQ2)pAže8MxdcORTڜ]vsC|8ygy矇y8"#>{{?|'{z(!/PpWeP@sYةsHv Ѐ$xeDla~'zp`X.`7p%Click Here SadH_vhttp://ad.doubleclick.net/adi/interactive.wsj.com;!category=;msrc=null;;mc=wsjfreezone;sz=302x52;ord=2250225022502250;!#" H $%&O
My News
My Email
Keyword/Symbol Alerts
My Desktop Alerts
My Account
Yhnpopupif[about:blank(.2) *+,-OCP(function(){ var h={google_ad_channel:"channel",google_ad_host:"host",google_ad_region:"region",google_ad_section:"region",google_ad_type:"ad_type",google_adtest:"adtest",google_alternate_ad_url:"alternate_ad_url",google_alternate_color:"alt_color",google_bid:"bid",google_city:"gcs",google_color_bg:"color_bg",google_color_border:"color_border",google_color_line:"color_line",google_color_link:"color_link",google_color_text:"color_text",google_color_url:"color_url",google_contents:"contents",google_country:"gl", google_cust_age:"cust_age",google_cust_ch:"cust_ch",google_cust_gender:"cust_gender",google_cust_id:"cust_id",google_cust_interests:"cust_interests",google_cust_job:"cust_job",google_cust_l:"cust_l",google_cust_lh:"cust_lh",google_cust_u_url:"cust_u_url",google_disable_video_autoplay:"disable_video_autoplay",google_ed:"ed",google_encoding:"oe",google_feedback:"feedback_link",google_flash_version:"flash",google_gl:"gl",google_hints:"hints",google_kw:"kw",google_kw_type:"kw_type",google_language:"hl", google_referrer_url:"ref",google_region:"gr",google_reuse_colors:"reuse_colors",google_safe:"adsafe",google_targeting:"targeting",google_ui_features:"ui"},m={google_ad_format:"format",google_ad_output:"output",google_ad_callback:"callback",google_ad_override:"google_ad_override",google_ad_slot:"slotname",google_analytics_webpropids:"ga_wpids",google_correlator:"correlator",google_cpa_choice:"cpa_choice",google_image_size:"image_size",google_last_modified_time:"lmt",google_max_num_ads:"num_ads",google_max_radlink_len:"max_radlink_len", google_num_radlinks:"num_radlinks",google_num_radlinks_per_unit:"num_radlinks_per_unit",google_only_ads_with_video:"only_ads_with_video",google_page_location:"loc",google_page_url:"url",google_rl_dest_url:"rl_dest_url",google_rl_filtering:"rl_filtering",google_rl_mode:"rl_mode",google_rt:"rt",google_skip:"skip"};function n(b){return h[b]||m[b]||null}var u=document;function w(){var b=u.cookie,a=Math.round((new Date).getTime()/1000),d=b.indexOf("__utma=")>-1,e=b.indexOf("__utmb=")>-1,c=b.indexOf("__utmc=")> -1,f,g={};if(d){f=b.split("__utma=")[1].split(";")[0].split(".");g.sid=(!e||!c?a:f[4])+"";g.vid=f[1]+"."+f[2];g.from_cookie=true}else{g.sid=window&&window.gaGlobal&&window.gaGlobal.sid?window.gaGlobal.sid:a+"";g.vid=window&&window.gaGlobal&&window.gaGlobal.vid?window.gaGlobal.vid:Math.round(Math.random()*2147483647)+"."+a;g.from_cookie=false}g.hid=window&&window.gaGlobal&&window.gaGlobal.hid?window.gaGlobal.hid:Math.round(Math.random()*2147483647);window.gaGlobal=g;return g}(function(){function b(){} b.prototype.l=function(e){var c=e.indexOf("#")+1;return c?e.substr(c):""};b.prototype.n=function(e){return/[&<>\"]/.test(e)?e.replace(/&/g,"&").replace(//g,">").replace(/\"/g,"""):e};b.prototype.b=function(e){var c=""};b.prototype.m=function(e,c){try{return e.frames[c]}catch(f){return null}};b.prototype.e=function(e){var c=document.createElement("iframe");for(var f in e){c.setAttribute(f, e[f])}return c};b.prototype.i=function(e,c){var f=this;setTimeout(function(){document.body.appendChild(f.e({id:e,name:e,src:c,width:0,height:0,frameBorder:0}))},0)};b.prototype.r=function(e,c){var f=this;document.write(f.b({id:e,name:e,src:c,width:0,height:0,frameBorder:0}))};b.prototype.g=function(e,c){var f=[],g=e.length,k=0;while(k0){g.f[c]=i[o];for(var q=0;qIDICommon.MAX_URL_LENGTH){y+="$";var H=l.d(c),S=IDICommon.MAX_URL_LENGTH-1-H.length,I=IDICommon.g(y,S),J=I.length;for(var s=0;s')}if(R(b.google_ad_output,b.google_ad_client)){IDIHost.q("http://pagead2.googlesyndication.com/pagead/idi_relay.html");var c=0;if(b.google_num_0ad_slots){c+= b.google_num_0ad_slots}if(b.google_num_ad_slots){c+=b.google_num_ad_slots}if(b.google_num_sdo_slots){c+=b.google_num_sdo_slots}var f="google_inline_div"+c,g="
';a.write(g);var k="google_frame"+c,j=b.setTimeout(function(){IDIHost.h(k)},5000);IDIHost.j(d,k,b.google_ad_width,b.google_ad_height,{callback:function(l, i){P(l,i,j)},pollingInterval:500,iframeAttrs:{style:"position: absolute;left:0px",marginWidth:"0",marginHeight:"0",vspace:"0",hspace:"0",allowTransparency:"true"},parentDivId:f})}else{a.write('")}if(e!=null){a.write("")}}}else if(b.google_ad_output== "textlink"){a.write(' SadN_http://ad.doubleclick.net/adi/interactive.wsj.com/markets_aheadtapestory;!category=;msrc=null;;mc=wsjfreezone;ptile=1;sz=120x600;ord=12234122341223412234;348 567O_google_ads_frame_Thttp://www.marketwatch.com/mod/ad/tacoda.asp?adZone=google&adSite=wsj&AdSize=120x6009:?; <=>O`bplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078 p!#A><"#Ah<"*+!-.WNS.base[NS.relative_+http://m1.2mdn.net/879366/flashwrite_1_2.js1234X$classesZ$classname456UNSURLV%NSURLXNSObject_application/x-javascript9:;=>?ISZNS.objectsWNS.keys@ABCDEFGHJKLMNOPQR VServerTVary]Last-Modified_Content-EncodingZConnectionTDate^Content-LengthSX-N\Content-Type]DCLK Creative_Accept-Encoding_Mon, 06 Mar 2006 21:04:39 GMTTgzipZkeep-alive_Tue, 05 Feb 2008 04:36:54 GMTS321QS12fggh6_NSMutableDictionary\NSDictionary12jkk6_NSHTTPURLResponseInternal12mnno6_NSHTTPURLResponse]NSURLResponse$)2DILbd #/135chq|  ,?JO^bo}5:>Rp`O!function dclkToObject(id) { if(document.layers){ return (document.layers[id])?eval(document.layers[id]):null; } else if(document.all && !document.getElementById){ return (eval("window."+id))?eval("window."+id):null; } else if(document.getElementById && document.body.style) { return (document.getElementById(id))?eval(document.getElementById(id)):null; } } function dclkFlashWrite(string){ document.write(string); } function dclkFlashInnerHTML(htmlElementId,code){ var x=dclkToObject(htmlElementId); if(x){ if(document.getElementById||document.all){ x.innerHTML=''; x.innerHTML=code; } else if(document.layers){ x.document.open(); x.document.write(code); x.document.close(); } } } _+http://m1.2mdn.net/879366/flashwrite_1_2.js @ABOClick Here W120x600_Xhttp://ad.doubleclick.net/adi/interactive.wsj.com/googleadsense;sz=120x600;ord=908794581DIE FGHHObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?FMZNS.objectsWNS.keys@ABCDEGHIJKL VServer]Last-ModifiedZConnectionTDate^Content-Length\Content-Type]DCLK Creative_Sat, 24 Jan 1998 00:23:53 GMTZkeep-alive_Tue, 05 Feb 2008 19:41:40 GMTR4312Z[[\6_NSMutableDictionary\NSDictionary12^__6_NSHTTPURLResponseInternal12abbc6_NSHTTPURLResponse]NSURLResponse$)2DILbd~  (*,.W\eptz$2R]}dO+GIF89a!,L;_&http://m1.2mdn.net/viewad/817-grey.gif JKLOClick Here
Click HereSadT_http://ad.doubleclick.net/adi/interactive.wsj.com/markets_aheadtapestory;!category=;msrc=null;;mc=wsjfreezone;sz=798x1;ord=12234122341223412234;NPO <=> QRSOClick Here SadR_http://ad.doubleclick.net/adi/interactive.wsj.com/markets_aheadtapestory;!category=;msrc=null;;mc=wsjfreezone;ptile=2;sz=300x250;ord=12234122341223412234;UZV WXYHObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse )/078?FMZNS.objectsWNS.keys@ABCDEGHIJKL ]Last-ModifiedVServerZConnectionTDate^Content-Length\Content-Type_Thu, 04 Oct 2007 13:00:59 GMT]DCLK CreativeZkeep-alive_Tue, 05 Feb 2008 15:22:13 GMTT588712Z[[\6_NSMutableDictionary\NSDictionary12^__6_NSHTTPURLResponseInternal12abbc6_NSHTTPURLResponse]NSURLResponse$)2DILbd~ )+-/jox *7WepdOGIF89a,Av [K=-3336NYAfff,t D/JJJp" {VNrclll ى,@:::rM#hBDYG+Ba!!!̉ ZZZu˔yU ;b#BBBbc{{{%6&!JَERq ܷ̂TzܲiXB*2IvrU(=YYI/8i!k|Jk2|\'y e~R  "1sssRRRl?:1^gJB)W/DԦr2PtkdH&@z s(((~ eP.̅@\Z#9S '(:JĆlL@.eO+"%ߙl'9ٓ$Rn|f+ Ȳ}'دZJ8JcrW+^*4ѠƊ!,,AH*\ȰÇ#JHŋ ;CIɓ(MKA25HI͛8sTO=Jѣd u ER*Uթ[b%h5@e1PVjT@m:u@S^Eq._v1ǐhJ$thTRژЅR.6c&wF%# 4S 61U`MT!B 5PQANTdYI t c-cJi`#xte edaV `ل4KD `AX@ =P@h$ r(@v2]X3F!mdAP1Y(PFY4 N&da\G{jXw4A t1@YAY1@= @@tVhhd(@ / @D D',&9j@' 9@0 gy@:P}`!G(9‹ d !Z""͙a (I@e@(Pci!95FKPD~@ETKA9РF:#4Y f BJem*w8u1Fw!dl>Zhm"C&8ppC DZ$˺@d`!v,@k 4BZPv @x-$f(0 gĶr)YtJD PBh%R_=!20 fY&JHk!jiB,@ &0 n{@ư)|*@z;ܡ!RfD Kq l6E=f#xD- jre,\V;ّ0:4*ղBF*( * A-s q -in]s$/≗ @@3p'`qHpF bv@qVuTJ3 v[TFabV- J } :Ѓ@Ox'imwPU>!Yﱘ&N  1qn&HSUx(C.;yBC 1< X.5G R `6a*z5EeIم;@=cցM,):f@TQ)"P}H:~W *@;+}@* TDF c`K\A/}H:0P$XT춢D Pr(+ "b^QЁլ@0 8"Ys> B-jYi`W!̎x*mKz0ǵl355~[׌uY0hac8( 4@fuwr\CPwpk]UZxs+]VW hm\tAhW;0B!1Wg fx"" $H(NyHgmChSȘa f,VLNO҅HnbXȨaWP&ȡ+s-${`L2khN6pL:xγ> ~MBЈNtF;ѐI[x N{ӠCMQԨ>SUհJcָfsI@MbNlZmuN ؂n{Mr"h!NYԎ7pt`Ё~NW/ @[^ @y (,fp-Xu`&/9K+7y[|69w~s@i.U( q4E|"Z=U f[( YDc_pu",E,>' i>{ˎfq H (O;񐏼'O+P:k}ꞿBu`wZ.qw_~O,l-H;ЏO[wyEAYP<^k&AƉPD d|iθm `l" zRs~ww{Wi8Xx؁ xviqqxh6q\u'w~f|{Mqewvq@g {gǃg@wv{~AS'xg R8TXVxXZ\؅^UO [[ OY87m$r8v0g3{Z'fz5HtwFx w=Ȅ{Hg8Xx؉8 0  OphqgOPOxoLJWxpz { wQǃq@gHpx֘ظ؍8Xxh  fS Ȇylvzu1ffGHvoFD=f?8 ypu(|puv6Hّ "9$Y&y( f>X~WqȂNvf{z9Hqki88 gu4g{~Eo!Е^Ef镮p plٖnk jYnYjy Еry tY~ٕ Ng`؆|׈Tw{WW{M9 zuT:ٌ^׏m6U)Z y EYYEt ٛU`uƉp io6p9XltVQӘ藋HkVI 陀W)wYGZgf|PE5|PDK`jPDZzP0zWǠzL f` nli*ti6qZqlqǢ-j|h03E3 aF @ 70@ ?7П 3Z G: a@7 BJaaCPD\P 4 П.`4JW^ZDQFp Vꤤ`hp]\hf Vp f{k}062P*W`*pZED 2pW'*.PD uR Eԟ G*uj 9 `ZDPD7pa F VW FZD<@aiVI&QP* zu PDlPEQEtQ`E lPQpl` )&Vg ZDXPD; )pk pQ`  )0Xkul0 kV1ڪ jJy0D ڮ CаC˴lkW0DKRKC+J ]ٰN۟X0[pK&p|`-f6[8kеJzgw@fkӸ p0w lQ[DS lа,˹] c +z{빙+ PDjD`ڊfS}p`ETyu@@i~ B9P+ZWqPWqHIiuf۵$;);L+ {u;+):  CM|`D `iм$8G~^{9Cxu H{ߛfg`ulV Z'ĀtyƷWwb;u ¸k V )k!+L Ǣu\D;>: m>мZ w@u9Ƀ[7 g7Kwh:yC {7 ɘ, l 8 YI)ܵ`+mg[D u۶CN` PPDzDVǿ<ǃ, JD d@]bPf k@漊 oƏ@wYi$0%P|ňInf͝}qK|wEtXD $ P`%P@%p&m,3M(7+m0<:C-7I0pp:<>\{ɽxv(D$,pofW}\g@D:r&H}x}zC{~ר +Ӊ;qƏi-vY͋;uhwșT\gЍ}wkxDd~H HK|Ɨn>Sf >=y}DY, )ʟ %P' +0H)g=3-}]m  b;|>f̢u\wPqhSOy{RuRj l˖uM<ڰ,.mOnfmmu">Afiu<(H~iVZgŰOޭ/`_.mupԫ lrgv詓MiON뫄Ջ!E\g-^ndwڼ\^wF){kg)y~g+@ة^r~nn^TmĮk3ʾm^>֞վ쁰n^> k>lNhkj?6k jf_4;_8http://m1.2mdn.net/viewad/1580105/300x65_wsj_rollout.gif [\]OClick HereClick HereSadA_http://ad.doubleclick.net/adi/interactive.wsj.com/markets_aheadtapestory;!category=;msrc=null;;mc=wsjfreezone;sz=300x65;ord=12234122341223412234;_a` FGHH bcdOClick HereClick HereSadO_http://ad.doubleclick.net/adi/interactive.wsj.com/default;!category=;msrc=null;;mc=wsjfreezone;sz=1x1;ord=12234122341223412234;fsgko hijObplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse! )/078?KWZNS.objectsWNS.keys@ABCDEFGHIJLMNOPQRSTUV _Content-EncodingTVary]Accept-RangesZConnection]Last-ModifiedTDate^Content-LengthVServerTEtag\Content-TypeSP3pTgzip_Accept-EncodingUbytesZKeep-Alive_Fri, 01 Feb 2008 21:17:37 GMT_Tue, 05 Feb 2008 15:22:17 GMTS241_Apache/2.2.3 (CentOS)_"5c0499-177-4451f4db73e40"_Rpolicyref="http://assets.loomia.com/w3c/p3p.xml", CP="NOI DSP COR NID CUR OUR NOR"12noop6_NSMutableDictionary\NSDictionary12rss6_NSHTTPURLResponseInternal12uvvw6_NSHTTPURLResponse]NSURLResponse$)2DILbd  '3579\ajuy   */=HV[jqv (}xOw var PROTOCOL="http://";if(document.location.href.substr(0,5)=="https"){PROTOCOL="https://";} var HOST="a.loomia.com";var TRACKING_COOKIE_DOMAIN="loomia.com";var APACHE_HOST=PROTOCOL+HOST+"/";var TOP_LEVEL_PATH="";var RATINGS_SERVER=APACHE_HOST+"jsapi";var IMAGE_PATH=APACHE_HOST+TOP_LEVEL_PATH+"images/";var JSAPI_SERVER=APACHE_HOST+"jsapi";var ZOPE_BASE_URL=RATINGS_SERVER;_ http://a.loomia.com/js/config.js lmnO-bplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServerTVary]Last-Modified]Accept-Ranges_Content-EncodingTDate^Content-LengthZKeep-AliveZConnectionTEtag\Content-TypeSP3p_Apache/2.0.52 (CentOS)_Accept-Encoding_Fri, 01 Feb 2008 21:33:15 GMTUbytesTgzip_Tue, 05 Feb 2008 15:22:17 GMTT2814_timeout=15, max=13_"12a8024-1b0d-4451f859ffcc0"_Rpolicyref="http://assets.loomia.com/w3c/p3p.xml", CP="NOI DSP COR NID CUR OUR NOR"12qrrs6_NSMutableDictionary\NSDictionary12uvv6_NSHTTPURLResponseInternal12xyyz6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;\ajuy   $)7EX]lw(G {O var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(_1){var _2="";var _3,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;_1=Base64._utf8_encode(_1);while(i<_1.length){_3=_1.charCodeAt(i++);chr2=_1.charCodeAt(i++);chr3=_1.charCodeAt(i++);enc1=_3>>2;enc2=((_3&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else{if(isNaN(chr3)){enc4=64;}} _2=_2+this._keyStr.charAt(enc1)+this._keyStr.charAt(enc2)+this._keyStr.charAt(enc3)+this._keyStr.charAt(enc4);} return _2;},decode:function(_5){var _6="";var _7,chr2,chr3;var _8,enc2,enc3,enc4;var i=0;_5=_5.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(i<_5.length){_8=this._keyStr.indexOf(_5.charAt(i++));enc2=this._keyStr.indexOf(_5.charAt(i++));enc3=this._keyStr.indexOf(_5.charAt(i++));enc4=this._keyStr.indexOf(_5.charAt(i++));_7=(_8<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;_6=_6+String.fromCharCode(_7);if(enc3!=64){_6=_6+String.fromCharCode(chr2);} if(enc4!=64){_6=_6+String.fromCharCode(chr3);}} _6=Base64._utf8_decode(_6);return _6;},_utf8_encode:function(_9){_9=_9.replace(/\r\n/g,"\n");var _10="";for(var n=0;n<_9.length;n++){var c=_9.charCodeAt(n);if(c<128){_10+=String.fromCharCode(c);}else{if((c>127)&&(c<2048)){_10+=String.fromCharCode((c>>6)|192);_10+=String.fromCharCode((c&63)|128);}else{_10+=String.fromCharCode((c>>12)|224);_10+=String.fromCharCode(((c>>6)&63)|128);_10+=String.fromCharCode((c&63)|128);}}} return _10;},_utf8_decode:function(_13){var _14="";var i=0;var c=c1=c2=0;while(i<_13.length){c=_13.charCodeAt(i);if(c<128){_14+=String.fromCharCode(c);i++;}else{if((c>191)&&(c<224)){c2=_13.charCodeAt(i+1);_14+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2;}else{c2=_13.charCodeAt(i+1);c3=_13.charCodeAt(i+2);_14+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3;}}} return _14;}};var PROTOCOL="http://";if(document.location.href.substr(0,5)=="https"){PROTOCOL="https://";} var HOST="a.loomia.com";var TRACKING_COOKIE_DOMAIN="loomia.com";var APACHE_HOST=PROTOCOL+HOST+"/";var TOP_LEVEL_PATH="";var RATINGS_SERVER=APACHE_HOST+"jsapi";var IMAGE_PATH=APACHE_HOST+TOP_LEVEL_PATH+"images/";var JSAPI_SERVER=APACHE_HOST+"jsapi";var ZOPE_BASE_URL=RATINGS_SERVER;function stacktrace(){var s="";for(var a=arguments.caller;a!=null;a=a.caller){s+="->"+funcname(a.callee)+"\n";if(a.caller==a){s+="*";break;}} return s;} function debugout(s){try{console.log(s);} catch(e){}} function setCookie(_17,_18,_19,_20,_21,_22){document.cookie=_17+"="+escape(_18)+((_19)?"; expires="+_19:"")+((_20)?"; path="+_20:"")+((_21)?"; domain="+_21:"")+((_22)?"; secure="+_22:"");} function setCookieIfAbsent(_23,_24,_25,_26,_27,_28){var _29=getCookie(_23);if(_29!=null&&_29!=""){return _29;}else{setCookie(_23,_24,_25,_26,_27,_28);return _24;}} function getCookie(_30){var arg=_30+"=";var _32=arg.length;var _33=document.cookie.length;var i=0;while(i<_33){var j=i+_32;if(document.cookie.substring(i,j)==arg){return getCookieVal(j);} i=document.cookie.indexOf(" ",i)+1;if(i==0){break;}} return"";} function getCookieVal(_35){var _36=document.cookie.indexOf(";",_35);if(_36==-1){_36=document.cookie.length;} return unescape(document.cookie.substring(_35,_36));} function deleteCookie(_37,_38,_39){if(getCookie(_37)){document.cookie=_37+"="+((_38)?"; path="+_38:"")+((_39)?"; domain="+_39:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";}} function expDate(_40){var _41=new Date();var _42=new Date();_42.setTime(_41.getTime()+3600000*24*_40);var _43=_42.toGMTString();return _43;} function useLoadingImage(){var _44=navigator.userAgent.toLowerCase();if(check("safari",_44)){return false;}else{return true;}} function check(sub,_46){place=_46.indexOf(sub)+1;return place;} function addLoadEvent(_47){var _48=window.onload;if(typeof window.onload!="function"){window.onload=_47;}else{window.onload=function(){_48();_47();};}} function trackingCookie(tag){return(randomUsername());} function randomSessionCookie(N){if(N==null){N=4;} var r1=Math.random().toString().substring(2,7);var r2=Math.random().toString().substring(2,7);var _53=""+r1+r2+"_"+randNString(N);return _53;} function randNString(N){s="";for(var i=0;i0){_57[_58]=_59;} return _57;} function getQueryVariables(){var _60=window.location.search.substring(1);var _61=_60.split("&");var _62={};for(var i=0;i<_61.length;i++){var _63=_61[i].split("=");_62[_63[0]]=_63[1];} return _62;} function csvToArray(_64){if(!_64){return null;} var _65=_64.split(",");var _66=new Array();counter=0;for(var i=0;i<_65.length;i++){str=_65[i];str=str.replace(/^\s*/,"").replace(/\s*$/,"");if(str.length>0){_66[counter++]=str;}} return _66;} function fbs_click(){u=location.href;t=document.title;window.open("http://www.facebook.com/sharer.php?u="+encodeURIComponent(u)+"&t="+encodeURIComponent(t),"sharer","toolbar=0,status=0,width=626,height=436");return false;} function fbs_share(){link=location.href;title=document.title;url="http://"+HOST+"/fb?methodName=sswshare_dialog&link="+encodeURIComponent(link)+"&title="+encodeURIComponent(title)+"&publisher_key="+L_VARS.publisher_key;if(L_VARS.guid&&L_VARS.guid!=""){url+="&guid="+encodeURIComponent(L_VARS.guid);} window.open(url,"sharer","toolbar=0,status=0,width=626,height=510,resizable=1");return false;} var EQUAL_SUB="@@EQ@@";function encodeURIForFB(url){var _68=Base64.encode(decodeURIComponent(url));_68=_68.replace(/=/g,EQUAL_SUB);return _68;} var FB_WIDTH=800;var FB_HEIGHT=525;var loomia_fb_login,loomia_CheckInterval;var EQUAL_DELIM="_x_";var PARAM_SEPARATOR="||";var reload_max=2;function fbs_login(_69,_70){var d=document;var _72="";if(_70){_72=PARAM_SEPARATOR+"publisher_key"+EQUAL_DELIM+_70;} var f="http://www.facebook.com/login.php?api_key="+_69+"&v=1.0&popup=true&next=?params=methodName"+EQUAL_DELIM+"sswlogin"+_72+PARAM_SEPARATOR+"url"+EQUAL_DELIM;debugout("f= "+f);var l=d.location;var p=encodeURIForFB(l.href);loomia_fb_login=window.open(f+p,"login","toolbar=0,status=0,resizable=1,width="+FB_WIDTH+",height="+FB_HEIGHT);loomia_CheckInterval=setInterval("checkPopupStatus()",200);return false;} function checkPopupStatus(){if(loomia_fb_login&&loomia_fb_login.closed){clearInterval(loomia_CheckInterval);if(reload_max>0){document.location.reload();reload_max=reload_max-1;}}} function toggle(id){div=document.getElementById(id);if(div){if(div.style.display=="none"){div.style.display="block";}else{div.style.display="none";}}}_http://a.loomia.com/js/util.js pqrO4bplist00 Y$archiverX$versionT$topX$objects_NSKeyedArchiver _WebResourceResponse# )/078?LYZNS.objectsWNS.keys@ABCDEFGHIJKMNOPQRSTUVWX  VServerTVary]Last-Modified]Accept-Ranges_Content-EncodingTDate^Content-LengthZKeep-AliveZConnectionTEtag\Content-TypeSP3p_Apache/2.0.52 (CentOS)_Accept-Encoding_Fri, 01 Feb 2008 21:05:48 GMTUbytesTgzip_Tue, 05 Feb 2008 15:22:17 GMTS616_timeout=15, max=50_"c7822a-5eb-4451f2374c300"_Rpolicyref="http://assets.loomia.com/w3c/p3p.xml", CP="NOI DSP COR NID CUR OUR NOR"12qrrs6_NSMutableDictionary\NSDictionary12uvv6_NSHTTPURLResponseInternal12xyyz6_NSHTTPURLResponse]NSURLResponse$)2DILbd !)579;fkt !#%'.3AObgv1N{O var PUID_COOKIE="_loomiaPUID";var LOOMIA_TRACKING_COOKIE="_loomiaUTrack";var LOOMIA_SESSION_COOKIE="_loomiasession";var CLIENT_TRACKING_COOKIE="_loomiaUTrack_client";var SNID_COOKIE="_loomiasnid";var OPTOUT_COOKIE="_loomiaOO";var PUB_LIST_COOKIE="_loomiaPubs";var PUB_LIST_DELIMITER="@@";var LOOMIA_DEMUX="loomia_demux";var COOKIE_LIST=[LOOMIA_TRACKING_COOKIE,LOOMIA_SESSION_COOKIE,CLIENT_TRACKING_COOKIE,PUID_COOKIE,SNID_COOKIE,OPTOUT_COOKIE,PUB_LIST_COOKIE,LOOMIA_DEMUX];var JS_PATH=APACHE_HOST+TOP_LEVEL_PATH+"js/";var WIDGET_PAGE=JS_PATH+"widget.html";var MASTER_PAGE=JS_PATH+"master.html";var DIV_ID_IN_WIDGET_PAGE="__loomia_div__";var CSS_TEMPLATE=APACHE_HOST+TOP_LEVEL_PATH+"style/style.css";var IMAGE_PATH=APACHE_HOST+TOP_LEVEL_PATH+"images/";var RATE_CONTENT_METHOD=RATINGS_SERVER+"?methodName=setRating";var PURCHASE_RECORDER_METHOD=JSAPI_SERVER+"?methodName=recordPurchase";var PERSISTENCE_MARKER="[@@]";var loomia_track=getCookie(LOOMIA_TRACKING_COOKIE);var loomia_session=getCookie(LOOMIA_SESSION_COOKIE);var loomiaws=getCookie("loomiaws");if(loomia_track==null||loomia_track.length==0){var cookieval=null;if(loomiaws!=null&&loomiaws.length>0){cookieval=loomiaws;}else{cookieval=randomUsername();} var nDays=1500;var expdate=expDate(nDays);setCookie(LOOMIA_TRACKING_COOKIE,cookieval,expdate,"/",TRACKING_COOKIE_DOMAIN);} if(loomia_session==null||loomia_session.length==0){cookieval=randomSessionCookie(4);var expdate=null;setCookie(LOOMIA_SESSION_COOKIE,cookieval,expdate,"/",TRACKING_COOKIE_DOMAIN);}_(http://a.loomia.com/js/trackingcookie.js tuvO ___loomia_cs_iframe___%http://a.loomia.com/js/setcookie.html'9O 0mCCCCKWXXX]p{{||BSXɳ*HY( 4 d uZccdj)d[0G>??'D;FXFFKMMMSo[@[[`eleekFhyu3 h+4bsAvzW}1--. 3~LLLQQR RWX X1](r 3j{Jaay<z-xˉy3| +<4+<N $$$$)***/202\2m7h8n88=>>>DR@RtRW[[\ abc chjjjoqhqqv˹݄ݙݷn!Rg)HY E }    J K K) P= [  ) ) ) ) ) ) ) * . M[ M M Pa Pe P P P P Q [ [ [ [ \ \ i s v  ' :  : h } C K ʦ ʯ ʲ Ϊ   ` i l } ђ . 2  & ; A E     < E L ] i    I 2Z 2{ 2 7 = = = > >w ?