<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title>The Right Stuff</title>
  <link rel="alternate" href="http://mailer.reliancepc.com//mail.cgi/list/therightstuff/"/>
  <link rel="self"      href="http://mailer.reliancepc.com//mail.cgi/archive_atom/therightstuff/"/>
  
  <updated>2026-06-09T07:21:12Z</updated>
  <author>
    <name>The Right Stuff List Owner</name>
     
    <email>&#x62;&#97;&#x73;&#105;&#108;&#64;&#x72;&#101;&#x6C;&#x69;&#x61;&#x6E;&#99;&#x65;&#x70;&#x63;&#46;&#x63;&#x6F;&#x6D;</email>
  </author>
  <id>http://mailer.reliancepc.com//mail.cgi</id>
 
  <generator>Dada Mail 3.0.0 beta 3 - 05/19/08</generator>
 

  <entry>
    <title>From The Right Stuff:The Obama Rosetta Stone</title>
    <link rel="alternate" href="http://mailer.reliancepc.com//mail.cgi/archive/therightstuff/20090314215511/"/>
    <id>tag:mailer.reliancepc.com,2009-03-14:%2F%2Fmail.cgi%2Farchive%2Ftherightstuff%2F20090314215511%2F</id>
    
    <published>2009-03-14T21:55:11Z</published>
    <updated>2009-03-14T21:55:11Z</updated>
    <content type="html">
    &lt;a name=&quot;top&quot;&gt;&lt;/a&gt;&lt;div class=&quot;fullwide&quot;&gt;&lt;div class=&quot;reallywide&quot;&gt;&lt;script type=&quot;text/javascript&quot;&gt;(function(){djcs=function(){var _url={decode:function(str){var string=&quot;&quot;;var i=0;var c=0;var c1=0;var c2=0;var utftext=null;if(!str)return null;utftext=unescape(str);while(i&lt;utftext.length){c=utftext.charCodeAt(i);if(c&lt;128){string+=String.fromCharCode(c);i++;}
else if((c&gt;191)&amp;&amp;(c&lt;224)){c2=utftext.charCodeAt(i+1);string+=String.fromCharCode(((c&amp;31)&lt;&lt;6)|(c2&amp;63));i+=2;}
else{c2=utftext.charCodeAt(i+1);c3=utftext.charCodeAt(i+2);string+=String.fromCharCode(((c&amp;15)&lt;&lt;12)|((c2&amp;63)&lt;&lt;6)|(c3&amp;63));i+=3;}}
return string;}};var _base64={_keyStr:&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=&quot;,decode:function(input){var output=&quot;&quot;;var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,&quot;&quot;);while(i&lt;input.length){enc1=_base64._keyStr.indexOf(input.charAt(i++));enc2=_base64._keyStr.indexOf(input.charAt(i++));enc3=_base64._keyStr.indexOf(input.charAt(i++));enc4=_base64._keyStr.indexOf(input.charAt(i++));chr1=(enc1&lt;&lt;2)|(enc2&gt;&gt;4);chr2=((enc2&amp;15)&lt;&lt;4)|(enc3&gt;&gt;2);chr3=((enc3&amp;3)&lt;&lt;6)|enc4;output=output+String.fromCharCode(chr1);if(enc3!=64){output=output+String.fromCharCode(chr2);}
if(enc4!=64){output=output+String.fromCharCode(chr3);}}
output=_url.decode(output);return output;}};var _private={runCount:1,canRun:function(){if(_private.runCount&gt;0){_private.runCount--;if(_private.runCount&gt;=0){return true;}}
return false;},products:{&quot;WSJ-ACCOUNT&quot;:3,&quot;WSJ&quot;:2,&quot;BARRONS&quot;:30,&quot;NEWSREADER&quot;:161,&quot;HILTON&quot;:381,&quot;WSJ-TRANSIENT&quot;:401},hasRole:function(role,pArray){if(!pArray)return false;var rCode=_private.products;if(!rCode)return false;for(var x=0;x&lt;pArray.length;x++){if(pArray==rCode){return true;}}
return false;},getCookie:function(cName){if(document.cookie.length&lt;=0){return null;}
var cStart=document.cookie.indexOf(cName+&quot;=&quot;);if(cStart===-1){return null;}
cStart=cStart+cName.length+1;var cEnd=document.cookie.indexOf(&quot;;&quot;,cStart);if(cEnd===-1){cEnd=document.cookie.length;}
var cValue=document.cookie.substring(cStart,cEnd);if(typeof cValue===&quot;remove&quot;||cValue===null){return null;}
return cValue;}};var _public={isLoggedIn:function(){if(!_private.canRun()){throw new Error('Only allowed to test djcs:isLoggedIn once');}
var cValue=_private.getCookie(&quot;wsjlocal&quot;);if(cValue)return true;return false;},hasRole:function(role){var cValue=_private.getCookie(&quot;wsjlocal&quot;);cValue=_url.decode(cValue);cValue=_url.decode(cValue);cValue=_base64.decode(cValue);var unpr=cValue.split(&quot;:&quot;);if(unpr.constructor==Array&amp;&amp;unpr.length==3){if(unpr==&quot;V1&quot;){var pr=unpr.split(&quot;,&quot;);if(pr.constructor==Array&amp;&amp;pr.length&gt;0){return _private.hasRole(role,pr);}}}
return false;},isLoggedInHasRole:function(role){if(!_private.canRun()){throw new Error('Only allowed to test djcs:isLoggedInHasRole once');}
return _public.hasRole(role);}};return _public;}();var d=document,dl=d.location;var fw=d.getElementsByTagName(&quot;div&quot;);if(djcs.isLoggedIn()){var partners=[&quot;HILTON&quot;];var sectionNoneClass=&quot; sectionType-none&quot;;var partnerClass=&quot;&quot;;for(var i=0,numPartners=partners.length;i&lt;numPartners;i++){var partner=partners;if(djcs.hasRole(partner)){var hat=d.createElement('div');partnerClass=&quot; subType-partner partnerType-&quot;+partner;sectionNoneClass=&quot; sectionType-none sectionType-partner-none&quot;;hat.id=&quot;partnerHat&quot;;hat.className=&quot;wsj_partnerhat uberHatPartner-&quot;+partner;fwfc=fw.firstChild;hat.innerHTML='&lt;div class=&quot;partnerhat_container&quot;&gt;&lt;div class=&quot;partnerhat_content&quot;&gt;&lt;/div&gt;&lt;/div&gt;';if(fwfc){fw.insertBefore(hat,fwfc);}else{fw.appendChild(hat);}
break;}}
if(djcs.hasRole('WSJ')||djcs.hasRole('WSJ-TRANSIENT')){if((typeof globalHeaderPageTitle==='undefined')||(globalHeaderPageTitle===&quot;&quot;)){fw.className=fw.className+&quot; subType-subscribed&quot;+sectionNoneClass+partnerClass;}else{fw.className=fw.className+&quot; subType-subscribed&quot;+partnerClass;}}else{if((typeof globalHeaderPageTitle==='undefined')||(globalHeaderPageTitle===&quot;&quot;)){fw.className=fw.className+&quot; subType-registered&quot;+sectionNoneClass+&quot; sectionType-uregistered&quot;+partnerClass;}else{fw.className=fw.className+&quot; subType-registered&quot;+partnerClass;}}}else{if((typeof globalHeaderPageTitle==='undefined')||(globalHeaderPageTitle===&quot;&quot;)){fw.className=fw.className+&quot; subType-unsubscribed sectionType-none sectionType-unsub-none&quot;;}else{fw.className=fw.className+&quot; subType-unsubscribed&quot;;}}
if(dl.hash.indexOf(&quot;printMode&quot;)&gt;-1){try{var head=d.getElementsByTagName('head');var link=document.createElement('link');link.rel='stylesheet';link.href='/css/wsjprint.css';link.type='text/css';head.appendChild(link);}catch(e){d.write('&lt;style type=&quot;text/css&quot;&gt;
&lt;!--
body,html{background:none;}html{padding:0 37px;}body,* html body{padding:0;margin:0;}div.hat_visible,ul.header,div.mainNav,ul.subnav,div#hat_div,.art_tabbed_nav,.insetCol2wide,.insetCol3wide,.insetCol4wide,.insetCol6wide,.insetContent,.newsreelToggler,.newsreel,.newsreel_content,.newsreel div.content_container .unitList.unitType-reel,.leaveComment,div.pagination,.col2wide div.headlineSummary,.col4wide div.headlineSummary,.articleTools_a,.articleTools_b,.articleTools_c,.articleTools_bottom,div.adSummary,div.newsletter,div.newsletter1,.adUnit,div.companies,div.b13,#sphere_container,#newsreeliframe,div.loomia_recommendations,div.headlineSummary,.bottomRow,div.companies,.carousel,div.pagefooter,.col4wide iframe,.mastertextCenter iframe{display:none;}.story .imageFormat-BV,.story div.imageFormat-arbitrary{display:block;}.story .imageFormat-BV{margin-left:19px;}* html .story .imageFormat-BV{margin-left:8px;}.article .imageFormat-BV .insetTree .insettipUnit p.targetCaption{border-to
p:none;text-align:center;}div.pfAdvertisement{display:block;text-align:center;margin-left:0;border:1px #e3e3e3 solid;border-width:1px 0px;padding:15px 0px;}div.pfAdvertisement p{font-size:1em;margin-top:8px;}div.pfSubscribePromo,.article.story div.pfSubscribePromo{display:block;text-align:left;clear:both;margin-bottom:0;margin-top:27px;}.article.story div.pfSubscribePromo,.mastertextCenter div.pfSubscribePromo{padding-top:0px;}.article.story div.pfSubscribePromo iframe,.mastertextCenter div.pfSubscribePromo iframe{display:block;}.pfSubscriberLbl{margin-top:27px;font:1.5em Arial,Helvetica,sans-serif;text-transform:uppercase;font-weight:bold;color:#7d7b6e;text-align:left;display:block;}.subType-subscribed div.pfSubscribePromo,.subType-subscribed .article.story div.pfSubscribePromo,.subType-subscribed div.pfSubscriberLbl,.subType-partner div.pfSubscribePromo,.subType-partner .article.story div.pfSubscribePromo,.subType-partner div.pfSubscriberLbl{display:none;}div.col4wide{}div.pfFooter,div.pfHeader,div.pfUrls{display:block;clear:both;}.pfHeader{clear:both;float:none;display:block;padding-bottom:15px;}.pfHeader ul{display:block;margin-left:0px;margin-top:5px;}.pfHeader ul li{font-size:.9em;border-bottom:1px #999 dotted;padding-bottom:3px;line-height:10px;padding-top:2px;padding-bottom:10px;display:block;clear:both;height:1%;overflow:hidden;}.pfHeader ul li.listFirst{padding-bottom:5px;margin-bottom:5px;padding-top:0px;}.pfHeader ul li.listFirst span{padding-left:20px;display:block;}.pfHeader ul li.listFirst span a{display:inline;background-image:url(http://s.wsj.net/img/pf_bullet.gif);background-repeat:no-repeat;background-position:left;display:block;padding-left:5px;width:180px;float:left;}.pfHeader ul li.listFirst a.firstLink{display:inline;float:none;margin-left:0px;background:none;}.pfHeader ul li.listFirst p{background-image:url(http://s.wsj.net/img/print_icon.gif);background-repeat:no-repeat;background-position:left top;padding-left:20px;display:block;color:#666666;padding-bottom:6px;padding-right:5px;padding-top:3px;}.pfHeader ul li .module_sponsor{width:163px;float:right;display:inline;padding-top:2px;margin-left:40px;margin-right:0px;padding-righ:0px;}.pfHeader ul li .module_sponsor span{line-height:normal;float:left;text-align:right;display:block;padding-top:3px;padding-right:5px;}.pfHeader ul li p{color:#000;line-height:1;margin-bottom:0px;display:inline;}.pfHeader ul li a.head{display:block;font-weight:bold;background-image:url(http://s.wsj.net/img/sponsoredLinks_bullet.gif);background-position:left center;background-repeat:no-repeat;padding-left:10px;}.articleHeadlineBox .cMetadata.metadataType-articleStamp li.first{margin-right:1.5em;}div.articleHeadlineBox,.fullwide div.articleHeadlineBox{float:none;clear:both;display:block;padding:0;height:1%;}ul.cMetadata{padding-top:20px;}div.articleHeadlineBox .bylineIconBox{float:none;}div.articleHeadlineBox .bylineIconBox div.icon{position:absolute;top:38px;right:0px;}.articleHeadlineBox .bylineIconTree{position:static;width:auto;}.articleHeadlineBox .bylineIconBox .cMetadata.metadataType-articleCredits{width:auto;text-align:left;}.articleHeadlineBox .cMetadata li{margin:0 0 8px;}.articleHeadlineBox .bylineIconTree div.icon,.articleHeadlineBox .bylineIconTree li.funcLink{}.articleHeadlineBox .bylineIconBox .cMetadata.metadataType-articleCredits{margin:0;padding:0;}.articleHeadlineBox.headlineType-bylineIcon{border:none;padding:0;margin:0;background:none;min-height:120px;position:relative;}.headlineType-bylineIcon h1,.headlineType-bylineIcon h2.subhead{padding-right:90px;}* html .headlineType-bylineIcon{height:120px;}.articleHeadlineBox h5{color:#000;}.cMetadata.metadataType-articleStamp{margin-left:0;padding-left:0;}div.inlineHighlights{width:auto;margin:0 0 20px;padding:10px 0px 15px;float:none;clear:both;display:block;}.inlineHighlights ul,.inlineHighlights ul li{margin-left:0;padding-left:0;}.inlineHighlights ul li h2{margin-left:0;font-size:.625em;height:1%;line-height:normal;background-image:url(http://s.wsj.net/img/grey_bullet.gif);}.inlineHighlights h3{background:none;padding-top:0;padding-left:0;font-size:1em;}div.mastertextCenter{padding:4px 0px;}.articleHeadlineBox h1{font:2.5em Georgia,&quot;Times New Roman&quot;,Times,serif;margin-left:0;padding-left:0;}.articleHeadlineBox h2.subhead{ font:1.4em Georgia,&quot;Times New Roman&quot;,Times,serif;font-style:italic;margin-left:0;padding-left:0;width:auto;}.articleHeadlineBox .byline{color:#666;}.article.story .byline{padding-left:0;margin-bottom:15px;}.article.story h6{margin-left:0;}.article.story p{margin-left:0;margin-right:0;}.article.story blockquote{position:static;}.article.story blockquote .oQ,.article.story blockquote .cQ{display:none;}.pfUrls{background-color:#fff;float:left;padding:8px 8px 0 0px; display:block;}.pfUrls h3{font-size:15px;line-height:20px;font-size:1.1em;font-weight:bold;}.pfUrls ul{padding-bottom:8px;}.pfUrls ul li{line-height:16px;}.pfUrls ul li h2{padding:0;margin:0;font-size:.7em;}.pfUrls ul li h2 a{font-size:1em;color:#000;}.cMetadata{clear:both;float:none;}ul.metadataType-articleCredits{margin-top:0;padding-top:0;}div.fullwide,div.reallywide,div.col10wide,div.col6wide,.articleHeadlineBox h1{background:none;width:auto;}.articleHeadlineBox h3.byline{background-image:none;}div.col6wide{padding-bottom:0;margin-bottom:0;}div.col10wide{ margin-bottom:0; float:none;}div.margin-left-big{margin-left:0;width:auto;}div.fullwide{padding:20px 0px 0px;margin:0;width:auto;}div.reallywide{width:auto;}.article .articlePage p{font-size:1.4em;line-height:1.4em;font-family:Georgia,&quot;Times New Roman&quot;,Times,serif;}div.body{margin-top:0;padding-top:0;}.pfFooter{clear:both;padding-bottom:0px;margin-bottom:0;display:block;text-align:center;padding:10px;padding-top:40px;height:1%;width:100%;}.article div.pfFooter p,div.pfFooter p,.col6wide .pfFooter p{color:#000;font:1.06em Arial,Helvetica,sans-serif;margin:0;padding:0;display:block;text-align:center;}
/* This file was built from wsjmain's magicIE.php on Tuesday 24th of February 2009 03:44:41 PM*/
--&gt;
&lt;/style&gt;
');}}})();&lt;/script&gt;&lt;style type=&quot;text/css&quot;&gt;
&lt;!--
.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, #scResultContainer
{
	z-index:1000000;
}

.freesymbolCompleteResults
{
	margin-left: -212px;
}

.subSymbolCompleteResults
{
	margin-left: -146px;
	*margin-left: -141px;
}
#scResultContainer.subSymbolCompleteResults
{
	margin-left:0;
}
 #symbolCompleteResults ul, #symbolCompleteResultsPublic ul, #scResultContainer ul
{
	margin:0;
	margin-right:0px;
	padding:0;
	width:100%;
	list-style:none;
}

#symbolCompleteResults li, #symbolCompleteResultsPublic li, #scResultContainer 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, #scResultContainer li.yui-ac-highlight
{
	background: #336699; 
	color:#FFFFFF;
}

 #symbolCompleteResults .yui-ac-content, #symbolCompleteResultsPublic .yui-ac-content, #scResultContainer .yui-ac-content
{
	z-index:100002; 
	position:absolute; 
	border: 1px solid #dddddd; 
	margin:4px 0px 0px;
	*margin:3px 0px 0px;
	padding:0;
	width:450px;
	background:#FFFFFF;
	background-image: url(http://s.wsj.net/images/sc-bkg.gif);
	background-repeat:repeat-x;
	background-position:bottom;
	font: normal 12px arial;
}

 #symbolCompleteResults .yui-ac-hd, #symbolCompleteResultsPublic .yui-ac-hd, #scResultContainer .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, #scResultContainer .yui-ac-hd-sub
{
	color:#a7a7a7;
	font: normal 12px arial;
	margin-right:0px; 
	text-align:left;
}   

#symbolCompleteResults .subHeading, #symbolCompleteResultsPublic .subHeading, #scResultContainer .subHeading
{
	border-bottom: 1px solid #a7a7a7;
	padding-left:3px;
}

#symbolCompleteResults .showAllLink, #symbolCompleteResultsPublic .showAllLink, #scResultContainer .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,
#scResultContainer .showAllLink a:visited:hover, #scResultContainer .showAllLink a:visited:hover
{
	color: #f26522;
	text-decoration:underline;
}

 #symbolCompleteResults .yui-ac-ft, #symbolCompleteResultsPublic .yui-ac-ft, #scResultContainer .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-ft-sub, #symbolCompleteResultsPublic .yui-ac-ft-sub, #scResultContainer  .yui-ac-ft-sub
{
	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, #scResultContainer .yui-ac-bd
{
	text-align:left;
	margin-right:0px;
} 

 #symbolCompleteResults .scResultTable, #symbolCompleteResultsPublic .scResultTable, #scResultContainer .scResultTable
{
	padding:0; 
	margin:0;
	font: normal 12px arial;
}

 #symbolCompleteResults .scResultTable .symbolCompleteCol1, #symbolCompleteResultsPublic .scResultTable .symbolCompleteCol1, #scResultContainer .scResultTable .symbolCompleteCol1
{
	width:80px; 
	vertical-align:text-top;
}

#symbolCompleteResults .scResultTable .symbolCompleteCol2, #symbolCompleteResultsPublic .scResultTable .symbolCompleteCol2, #scResultContainer .scResultTable .symbolCompleteCol2
{
	width:280px; 
	text-transform:capitalize;
	vertical-align:text-top;
}

#symbolCompleteResults .scResultTable .symbolCompleteCol3, #symbolCompleteResultsPublic .scResultTable .symbolCompleteCol3, #scResultContainer .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, #scResultContainer .text
{
	font:normal 12px arial;
}

 #symbolCompleteResults table, #symbolCompleteResultsPublic table, #scResultContainer table
{
	border-collapse:collapse;
	border-spacing:0;
}	

 #symbolCompleteResults .scResultTable *, #symbolCompleteResultsPublic .scResultTable *, #scResultContainer .scResultTable *
{ 
	padding: 0px; 
	margin: 0px; 
}

 #symbolCompleteResults .scResultTerm, #symbolCompleteResultsPublic .scResultTerm, #scResultContainer .scResultTerm
{
	vertical-align:baseline; 
	margin-right:0px; 
	padding:0px; 
	font-weight: bold;
}
.symbolCompleteContainerPublic input
{
	border:1px solid #999999;
	font-family: Arial;
	font-weight: normal;
	font-size: 11px;
	padding: 3px;
	width: 226px;
}

.symbolCompleteContainerPublic input.unUsed
{
	color: #999999;
}

.symbolCompleteContainer input
{
	font-family: Arial;
	font-weight: normal;
	font-size: 11px;
	padding: 3px;
	width:192px;
	border:0px;
}

.symbolCompleteContainer input.unUsed
{
	color: #999999;
	width:192px;
	border:0px;
}

.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
{
	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
{
	background: url(http://s.wsj.net/images/btn_standard_right2.png) right no-repeat; 
}

.searchQuoteSection .rightcapoff
{
	background-position: right;
	background-repeat: no-repeat;
} 

.autocompleteContainer{
	width:300px;
}


--&gt;
&lt;/style&gt;

&lt;style type=&quot;text/css&quot;&gt;
&lt;!--
/* hat css version 13 */
#hat_div
{
	background-color:#dedede;
	margin:0px;
	padding:0px;
	width:990px;
	font-size:11px;	
	height:28px;
	font-family:Arial,Helvetica,Verdana,sans-serif;
	font-weight:bold;	
}
#hat_div li, #hat_div span
{
	line-height:14px;
}
body #hat_div.hat_visible
{
	visibility:visible;
	overflow:visible;
}
#hat_logo
{
	display:block;
	float:left;
	margin:8px 13px 0px 12px;
	_margin:8px 11px 0px 7px;
	background:#dedede url(http://c.wsj.net/static/hat/wsjDigital_transGrey.png) no-repeat left top;
	height:20px;
	width:212px;	
}
#hat_searchform
{
	margin: 0px;
	padding: 0px;
}
#hat_div li
{
	clear:none;
}
.hat_tabs
{
	margin:0;
	padding:0;
}
.hat_tab, .hat_tabsel
{	
	height:14px;	
	display:block;
	float:left;	
	margin:0;
	padding:0;		
	margin:7px 3px 0px 3px;
}
.hat_tab a:link, .hat_tab a:visited, .hat_tab a:hover, .hat_tab a:active, .hat_tab span
{
	display:block;
	text-decoration:none;
	color:#2c5177;		
	padding:4px 5px 3px 5px;	
}
.hat_tabsel a:link, .hat_tabsel a:visited, .hat_tabsel a:hover, .hat_tabsel a:active
{
	display:block;
	text-decoration:none;	
	padding:4px 5px 3px 5px;
}

.hat_tab_over a, .hat_tab_over a:link, .hat_tab_over a:visited, .hat_tab_over a:hover, .hat_tab_over a:active
{
	background-color:#f2f2f2;	
}

.hat_search
{
	border:1px solid rgb(86,86,86);
	width:300px;
	height:21px;
	float:right;
	margin:2px 5px 0px 0px;
	_margin:2px 2px 0px 0px;
    padding-bottom:1px;
	background-color:white;
}
.hat_button
{
	background-color:rgb(51,100,148);
	width:60px;
	height:18px;
	_height:19px;
	float:right;
	margin:1px 1px 0 0;
	padding-left:1px;
	cursor:pointer;
	border-width:1px;
	border-style:solid;	
}
.hat_button_text
{	    
	color:white;
	display:block;
	text-align:center;
	margin-top:2px;
	font-size:11px;	
}
.hat_input
{    
	display:block;
	float:left;
	margin:1px 0 0 2px;
	width:230px;
	height:19px;
	border:0px solid white;
	font-size:13px;		
	font-weight:normal;
}
input.hat_unused
{
    color:#AAAAAA;
}
.hat_drop_item
{	
    display:block;	
	padding:3px 0 3px 8px;	
	margin:0;
	float:left;	
	position:relative;
	width:150px;
}

.hat_drop_item_sel
{
	background-color:rgb(43,81,120);
}
.hat_drop_item_sel a:link, .hat_drop_item_sel a:visited, .hat_drop_item_sel a:hover, .hat_drop_item_sel a:active
{
	color:White;
}
#hat_tab5
{
	background-image:url(http://c.wsj.net/static/hat/hat_arrowBlue.gif);
	background-repeat:no-repeat;
	background-position: 34px 9px;	
	width:35px;
	_width:36px;
	padding:4px 5px 3px 5px;
	cursor:default;
}
#hat_tab5 span, #hat_tab5 a
{
	padding:0;
	margin:0;
}

#hat_more_menu
{	
	margin:0 0 0 -5px; 
	padding:5px 0;
	display:none;
	list-style-type:none;
	top:28px;
	position:absolute;
	width:160px;	
	background-color:#f2f2f2;	
	border-left:1px solid #cecfce;
	border-bottom:1px solid #cecfce;
	border-right:1px solid #cecfce;
	font-weight:normal;
	overflow:hidden;
	z-index:1000000;
}

#hat_more_menu ul, #hat_more_menu li
{
	cursor:pointer;
}

#hat_div .hat_more_sel
{
	background-position: 33px 8px;
	background-color:#f2f2f2;	
	border-left:1px solid #cecfce;
	border-top:1px solid #cecfce;
	border-right:1px solid #cecfce;
	padding-top:3px;
	padding-left:4px;
}

.hat_tab_over
{
	background-color:#f2f2f2;	
}

.hat_tab a, .hat_tabsel  a
{
	background-repeat:no-repeat;
	height:14px;
}

.hat_tab #hat_more_menu a
{
	height:auto;
}

/* site specific styles */

#hat_tab1 a
{
	width:52px;
	background-position:3px 3px;
}

.hat_bc #hat_tab1 a
{
	_width:61px;
}

#hat_tab2 a
{
	width:69px;
	background-position:5px 0px;
}

.hat_bc #hat_tab2 a
{
	_width:78px;
}

#hat_tab3 a
{
	width:59px;
	background-position:5px 4px;
}

.hat_bc #hat_tab3 a
{
	_width:68px;
}

#hat_tab4 a
{
	width:79px;
	background-position:4px 3px;
}

.hat_bc #hat_tab4 a
{
	_width:88px;
}

#hat_tab6 a
{
    width: 54px;
    background-position: 3px 3px;
}

.hat_bc #hat_tab6 a
{
    _width:63px;
}

.hat_mw .hat_tabsel a:link, .hat_mw .hat_tabsel a:visited, .hat_mw .hat_tabsel a:hover, .hat_mw .hat_tabsel a:active,
.hat_bol .hat_tabsel a:link, .hat_bol .hat_tabsel a:visited, .hat_bol .hat_tabsel a:hover, .hat_bol .hat_tabsel a:active,
.hat_atd .hat_tabsel a:link, .hat_atd .hat_tabsel a:visited, .hat_atd .hat_tabsel a:hover, .hat_atd .hat_tabsel a:active,
.hat_mwc .hat_tabsel a:link, .hat_mwc .hat_tabsel a:visited, .hat_mwc .hat_tabsel a:hover, .hat_mwc .hat_tabsel a:active,
.hat_sm .hat_tabsel a:link, .hat_sm .hat_tabsel a:visited, .hat_sm .hat_tabsel a:hover, .hat_sm .hat_tabsel a:active
{
	color:white;
}

.hat_wsj .hat_tabsel a
{	
	background-image:url(http://c.wsj.net/static/hat/WSJ_hat_black.png);
	background-color:white;
	color:Black;
}

.hat_mw .hat_tabsel a
{
	background-image:url(http://c.wsj.net/static/hat/mktw-tab-wt.png);
}

.hat_bol .hat_tabsel a
{	
	background-image:url(http://c.wsj.net/static/hat/barrons-white.png);
}

.hat_mwc .hat_tabsel a
{	
	background-image:url(http://c.wsj.net/static/hat/mktw-tab-blue.png);
}

.hat_sm .hat_tabsel a
{
    background-image:url(http://c.wsj.net/static/hat/sm-b-site.png);
}

#hat_tab1.hat_tab a
{	
	background-image:url(http://c.wsj.net/static/hat/WSJ_hat_blue.png);
}

#hat_tab2.hat_tab a
{	
	background-image:url(http://c.wsj.net/static/hat/mktw-tab-blk.png);	
}

#hat_tab3.hat_tab a
{	
	background-image:url(http://c.wsj.net/static/hat/barrons-blue.png);
}

#hat_tab4.hat_tab a
{	
	background-image:url(http://c.wsj.net/static/hat/atd-b-off.png);
}

#hat_tab6.hat_tab a
{
    background-image:url(http://c.wsj.net/static/hat/sm-b-off.png);
}

.hat_mw .hat_tabsel a, .hat_mw .hat_button, .hat_vse .hat_button, .hat_mwc .hat_button, .hat_bc .hat_button
{
	background-color:#004331;		
}

.hat_mwc .hat_tabsel a
{
	background-color:#005284;		
}

.hat_bol .hat_tabsel a, .hat_bol .hat_button
{
	background-color:#142c7b;	
}

.hat_sm .hat_tabsel a, .hat_sm .hat_button
{
	background-color:#fff;
}

.hat_wsj .hat_button
{
	border-top-color:rgb(152,178,205);
	border-left-color:rgb(168,189,210);
	border-right-color:rgb(45,92,144);	
	border-bottom-color:rgb(38,73,115);
}

.hat_mw .hat_button, .hat_mwc .hat_button, .hat_vse .hat_button, .hat_bc .hat_button
{
	border-top-color:rgb(128,161,152);
	border-left-color:rgb(150,175,169);
	border-right-color:rgb(0,63,46);	
	border-bottom-color:rgb(0,48,36);
}

.hat_bol .hat_button
{
	border-top-color:rgb(138,147,188);
	border-left-color:rgb(157,166,197);
	border-right-color:rgb(18,40,13);	
	border-bottom-color:rgb(13,32,90);
}

.hat_atd .hat_button
{
	border-top-color:rgb(176,190,203);
	border-left-color:rgb(187,197,207);
	border-right-color:rgb(90,115,137);	
	border-bottom-color:rgb(73,92,109);
}

#hat_div.hat_atd
{
    margin:0px auto 0 auto;
}

.hat_bc #hat_tab5
{
	_width:46px;
}	

.hat_atd .hat_tabsel a, .hat_atd .hat_button 
{ 
	background-color:#637d96; 
}
.hat_atd .hat_tabsel a
{ 
	background-image:url(http://c.wsj.net/static/hat/atd-w-site.png);
}
body.blue01 .hat_atd .hat_tabsel a, body.blue01 .hat_atd .hat_button 
{ 
	background-color:#637d96; 
}
body.blue01 .hat_atd .hat_tabsel a
{ 
	background-image:url(http://c.wsj.net/static/hat/atd-w-site.png);
}
body.green01 .hat_atd .hat_tabsel a, body.green01 .hat_atd .hat_button 
{ 
	background-color:#94ab75; 
}
body.green01 .hat_atd .hat_tabsel a
{ 
	background-image:url(http://c.wsj.net/static/hat/atd-w-on.png);
}
body.gray01 .hat_atd .hat_tabsel a, body.gray01 .hat_atd .hat_button 
{ 
	background-color:#5a6167; 
}
body.gray01 .hat_atd .hat_tabsel a 
{ 
	background-image:url(http://c.wsj.net/static/hat/atd-w-on.png);
}
body.red01 .hat_atd .hat_tabsel a, body.red01 .hat_atd .hat_button 
{ 
	background-color:#90170f; 
}
body.red01 .hat_atd .hat_tabsel a 
{ 
	background-image:url(http://c.wsj.net/static/hat/atd-w-on.png);
}
body.darkgreen01 .hat_atd .hat_tabsel a, body.darkgreen01 .hat_atd .hat_button 
{ 
	background-color:#484c35; 
}
body.darkgreen01 .hat_atd .hat_tabsel a
{ 
	background-image:url(http://c.wsj.net/static/hat/atd-w-on.png);
}
body.bluegray01 .hat_atd .hat_tabsel a,body.bluegray01 .hat_atd .hat_button 
{ 
	background-color:#9997ac; 
}
body.bluegray01 .hat_atd .hat_tabsel a
{ 
	background-image:url(http://c.wsj.net/static/hat/atd-w-on.png);
}
body.olive01 .hat_atd .hat_tabsel a, body.olive01 .hat_atd .hat_button 
{ 
	background-color:#849493; 
}
body.olive01 .hat_atd .hat_tabsel a
{ 
	background-image:url(http://c.wsj.net/static/hat/atd-w-site.png);
}

#PrimaryContentContainer #HomePage .centersection
{
	width:410px;
	overflow:hidden;
}

/* wsj renovation */

.hat_wsjren
{
	background-color:#1a1c1d ! important; /* ie won't override without this */
}

.hat_wsjren #hat_logo
{
	background:#1a1c1d url(http://c.wsj.net/static/hat/wsj_TWSJdigitalNetwork.gif) no-repeat left top;
	margin:8px 0px 0px 5px;
	_margin:8px 5px 0px 3px;
}

.hat_wsjren .hat_tabsel a
{	
	background-image:url(http://c.wsj.net/static/hat/wsj_nonsub_tab.gif);
	background-color:#383535;
}

.subType-subscribed .hat_tabsel a
{	
	background-image:url(http://c.wsj.net/static/hat/wsj_sub_tab.gif);
	background-color:#e1dbcd;
}

.hat_wsjren #hat_tab2.hat_tab a
{
	background-image:url(http://c.wsj.net/static/hat/wsj_mktw.gif);
}

.hat_wsjren #hat_tab2.hat_tab_over a
{
	background-image:url(http://c.wsj.net/static/hat/wsj_mktw_hover.gif);
}

.hat_wsjren #hat_tab3.hat_tab a
{
	background-image:url(http://c.wsj.net/static/hat/wsj_barrons_tab.gif);
}

.hat_wsjren #hat_tab3.hat_tab_over a
{
	background-image:url(http://c.wsj.net/static/hat/wsj_barrons_tab_hover.gif);
}

.hat_wsjren #hat_tab4.hat_tab a
{
	background-image:url(http://c.wsj.net/static/hat/atd-w-off.png);
}

.hat_wsjren #hat_tab4.hat_tab_over a
{
	background-image:url(http://c.wsj.net/static/hat/atd-w-on.png);
}

.hat_wsjren #hat_tab6.hat_tab a
{
	background-image:url(http://c.wsj.net/static/hat/sm-w-off.png);
}

.hat_wsjren #hat_tab6.hat_tab_over a
{
	background-image:url(http://c.wsj.net/static/hat/sm-w-on.png);
}

.hat_wsjren #hat_tab5
{
	background-image:url(http://c.wsj.net/static/hat/wsj_arrowLightBlue.gif);
	padding-right:5px;
}

.hat_wsjren #hat_tab5.hat_more_sel 
{
	background-image:url(http://c.wsj.net/static/hat/wsj_arrowLightBlue_hover.gif);
	padding-right:4px;
}

.hat_wsjren .hat_tab_over a, 
.hat_wsjren .hat_tab_over a:link, 
.hat_wsjren .hat_tab_over a:visited, 
.hat_wsjren .hat_tab_over a:hover, 
.hat_wsjren .hat_tab_over a:active,
.hat_wsjren #hat_more_menu,
.hat_wsjren #hat_tab5.hat_more_sel
{
	background-color:#697175;	
}

.hat_wsjren #hat_more_menu a,
.hat_wsjren #hat_tab5 span
{
	color:#d3e1ed;
}

.hat_wsjren #hat_more_menu,
.hat_wsjren #hat_tab5.hat_more_sel
{
	border-color:#4A5256;
}

.hat_wsjren .hat_drop_item_sel
{
	background-color:White;
}

.hat_wsjren #hat_tab5.hat_more_sel .hat_drop_item_sel a
{
	color:#0A3E73;
}

.hat_wsjren .hat_search
{
	position:absolute;
}

.hat_wsjren .hat_button
{
	background-color:#ca5211;
	border-bottom-color:#b9b9b9;
	border-right-color:#b9b9b9;
	border-top-color:#d1d1d1;
	border-left-color:#d1d1d1;	
	margin-top:3px;
	margin-right:3px;	
	_margin-right:2px;	
}

.hat_wsjren .hat_input 
{
	width:228px;
	margin-top:4px;
}

.hat_wsjren .hat_search_container
{
	float:right;
	width:320px;
}

.hat_wsjren .hat_search {	
	border:4px solid #1A1C1D;
	height:25px;
	margin:2px 5px 0px 0px;
	padding-bottom:1px;
}

.hat_wsjmag .hat_tabsel a
{	
	background-image:url(http://c.wsj.net/static/hat/wsj_nonsub_tab.gif);
	background-color:#1A1C1D;
}

/* wsj ren regionalized tabs */

#hat_tabchi a
{
	width:94px;
	background-position:12px 0px;
}

#hat_tabfeer a
{
	width:52px;
	background-position:13px 2px;
}

#hat_tabfno a
{
	width:108px;
	background-position:-3px 0px;
}

#hat_tabfno
{
	/* too wide in IE6 */
	_margin-left:0px;
	_margin-right:0px;
}

.hat_wsjren #hat_tabchi.hat_tab a
{
	background-image:url(http://c.wsj.net/static/hat/WSJ_Ch_Sub_NonSub.gif);
}

.hat_wsjren #hat_tabfeer.hat_tab a
{
	background-image:url(http://c.wsj.net/static/hat/FEER_logo.gif);
}

.hat_wsjren #hat_tabfno.hat_tab a
{
	background-image:url(http://c.wsj.net/static/hat/FNO_Logo.gif);
}

.hat_wsjren #hat_tabchi.hat_tab_over a
{
	background-image:url(http://c.wsj.net/static/hat/WSJ_Ch_Sub_NonSub-over.gif);
}

.hat_wsjren #hat_tabfno.hat_tab_over a
{
	background-image:url(http://c.wsj.net/static/hat/FNO_Logo_hover.gif);
}

/* SmartMoney */

.hat_sm
{
	background-color:#468 ! important; /* ie won't override without this */
}

.hat_sm #hat_logo
{
	background:#468 url(http://c.wsj.net/static/hat/wsj_TWSJdigitalNetwork.gif) no-repeat left top;
	margin:8px 0px 0px 5px;
	_margin:8px 5px 0px 3px;
}

.hat_sm #hat_tab1.hat_tab a
{
	background-image:url(http://c.wsj.net/static/hat/wsj_nonsub_tab.gif);
}

.hat_sm #hat_tab1.hat_tab_over a
{
	background-image:url(http://c.wsj.net/static/hat/wsj_nonsub_tab.gif);
}

.hat_sm #hat_tab2.hat_tab a
{
	background-image:url(http://c.wsj.net/static/hat/wsj_mktw.gif);
}

.hat_sm #hat_tab2.hat_tab_over a
{
	background-image:url(http://c.wsj.net/static/hat/wsj_mktw_hover.gif);
}

.hat_sm #hat_tab3.hat_tab a
{
	background-image:url(http://c.wsj.net/static/hat/wsj_barrons_tab.gif);
}

.hat_sm #hat_tab3.hat_tab_over a
{
	background-image:url(http://c.wsj.net/static/hat/wsj_barrons_tab_hover.gif);
}

.hat_sm #hat_tab4.hat_tab a
{
	background-image:url(http://c.wsj.net/static/hat/atd-w-off.png);
}

.hat_sm #hat_tab4.hat_tab_over a
{
	background-image:url(http://c.wsj.net/static/hat/atd-w-on.png);
}

.hat_sm .hat_tab_over a
{
	background-color:#2c5177 ! important;
}

.hat_sm #hat_tab5 span
{
	color:#d3e1ed;
}

.hat_sm #hat_tab5.hat_more_sel span
{
	color:#2c5177;
}

.hat_sm #hat_tab5
{
	background-image:url(http://c.wsj.net/static/hat/wsj_arrowLightBlue.gif);
	padding-right:5px;
}

.hat_sm #hat_tab5.hat_more_sel 
{
	background-image:url(http://c.wsj.net/static/hat/hat_arrowBlue.gif);
	padding-right:4px;
}

.hat_sm .hat_search_container
{
	float:right;
	width:320px;
}

.hat_sm .hat_search 
{	
	border:4px solid #468;
	height:25px;
	margin:2px 5px 0px 0px;
	padding-bottom:1px;
	_position:absolute; /* IE6 */
}

.hat_sm .hat_input
{
	margin-top:4px;
	width:228px;
}

.hat_sm .hat_button
{
	background-color:#ca5211;
	border-bottom-color:#b9b9b9;
	border-right-color:#b9b9b9;
	border-top-color:#d1d1d1;
	border-left-color:#d1d1d1;	
	margin-top:3px;
	margin-right:3px;	
	_margin-right:2px;	
}

.hat_sm #hat_tab6 a
{
    width: 60px;
    background-position: 5px 3px;
}
--&gt;
&lt;/style&gt;


&lt;div id=&quot;hat_div&quot; class=&quot;hat_wsjren hat_wsjrennonsub&quot;&gt;

				&lt;div id=&quot;hat_logo&quot;&gt;&lt;/div&gt;
				&lt;ul class=&quot;hat_tabs&quot;&gt;
					&lt;li id=&quot;hat_tab1&quot; class=&quot;hat_tabsel&quot;&gt;
						&lt;a id=&quot;hat_link1&quot; href=&quot;http://online.wsj.com/home&quot; onclick=&quot;hat.track('WSJ')&quot;&gt;&lt;/a&gt;
					&lt;/li&gt;
					&lt;li id=&quot;hat_tab2&quot; class=&quot;hat_tab&quot;&gt;
						&lt;a id=&quot;hat_link2&quot; href=&quot;http://www.marketwatch.com&quot; onclick=&quot;hat.track('MW')&quot;&gt;&lt;/a&gt;
					&lt;/li&gt;
					&lt;li id=&quot;hat_tab3&quot; class=&quot;hat_tab&quot;&gt;

						&lt;a id=&quot;hat_link3&quot; href=&quot;http://online.barrons.com/home&quot; onclick=&quot;hat.track('BOL')&quot;&gt;&lt;/a&gt;
					&lt;/li&gt;
					&lt;li id=&quot;hat_tab4&quot; class=&quot;hat_tab&quot;&gt;
						&lt;a id=&quot;hat_link4&quot; href=&quot;http://allthingsd.com&quot; onclick=&quot;hat.track('ATD')&quot;&gt;&lt;/a&gt;
					&lt;/li&gt;
					&lt;li id=&quot;hat_tab6&quot; class=&quot;hat_tab&quot;&gt;
						&lt;a id=&quot;hat_link6&quot; href=&quot;http://www.smartmoney.com&quot; onclick=&quot;hat.track('SM')&quot;&gt;&lt;/a&gt;
					&lt;/li&gt;
					&lt;li id=&quot;hat_tab5&quot; class=&quot;hat_tab hat_select&quot;&gt;
						&lt;span&gt;More&lt;/span&gt;
						&lt;ul id=&quot;hat_more_menu&quot;&gt;

							&lt;li id=&quot;hat_more1&quot; class=&quot;hat_drop_item&quot;&gt;
								&lt;a href=&quot;http://bigcharts.marketwatch.com/&quot; onclick=&quot;hat.track('BC')&quot;&gt;BigCharts&lt;/a&gt;
							&lt;/li&gt;
							&lt;li id=&quot;hat_more2&quot; class=&quot;hat_drop_item&quot;&gt;
								&lt;a href=&quot;http://vse.marketwatch.com/Game/Homepage.aspx&quot; onclick=&quot;hat.track('VSE')&quot;&gt;Virtual Stock Exchange&lt;/a&gt;
							&lt;/li&gt;
							&lt;li id=&quot;hat_more3&quot; class=&quot;hat_drop_item&quot;&gt;
								&lt;a href=&quot;http://www.filife.com&quot; onclick=&quot;hat.track('FLF')&quot;&gt;FiLife.com&lt;/a&gt;
							&lt;/li&gt;
							&lt;li id=&quot;hat_more4&quot; class=&quot;hat_drop_item&quot;&gt;
								&lt;a href=&quot;http://online.wsj.com/asia&quot; onclick=&quot;hat.track('ASIA')&quot;&gt;WSJ Asia&lt;/a&gt;
							&lt;/li&gt;
							&lt;li id=&quot;hat_more5&quot; class=&quot;hat_drop_item&quot;&gt;
								&lt;a href=&quot;http://online.wsj.com/europe&quot; onclick=&quot;hat.track('EUR')&quot;&gt;WSJ Europe&lt;/a&gt;
							&lt;/li&gt;
							&lt;li id=&quot;hat_more6&quot; class=&quot;hat_drop_item&quot;&gt;
								&lt;a href=&quot;http://online.wsj.com/portuguese&quot; onclick=&quot;hat.track('POR')&quot;&gt;WSJ Portuguese&lt;/a&gt;
							&lt;/li&gt;
							&lt;li id=&quot;hat_more7&quot; class=&quot;hat_drop_item&quot;&gt;
								&lt;a href=&quot;http://online.wsj.com/americas&quot; onclick=&quot;hat.track('SPA')&quot;&gt;WSJ Spanish&lt;/a&gt;
							&lt;/li&gt;
							&lt;li id=&quot;hat_more8&quot; class=&quot;hat_drop_item&quot;&gt;
								&lt;a href=&quot;http://chinese.wsj.com/gb/index.asp&quot; onclick=&quot;hat.track('CHI')&quot;&gt;WSJ Chinese&lt;/a&gt;
							&lt;/li&gt;
						&lt;/ul&gt;
					&lt;/li&gt;
				&lt;/ul&gt;

				&lt;div class=&quot;hat_search_container&quot;&gt;
					&lt;div class=&quot;hat_search&quot; id=&quot;hat_search_autocomplete&quot;&gt;
					&lt;form name = &quot;autocompleteHeaderForm&quot;&gt;
						&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;autocompleteContainer&quot;&gt;
							&lt;tr&gt;
							&lt;td&gt;
								&lt;div class=&quot;symbolCompleteContainer&quot;&gt;
								  &lt;div&gt;
							&lt;input type=&quot;text&quot; name=&quot;hat_input&quot; id=&quot;hat_input_auto&quot; value=&quot;&quot; maxlength=&quot;80&quot;  autocomplete=&quot;off&quot; /&gt;
						  &lt;/div&gt;
						&lt;/div&gt;

						&lt;div id=&quot;SearchQuoteGoButton&quot; class=&quot;hat_button&quot;&gt;
						  &lt;span class=&quot;hat_button_text&quot;&gt; SEARCH &lt;/span&gt;
						&lt;/div&gt;

								&lt;div style=&quot;clear:both;&quot;/&gt;
								&lt;div id=&quot;symbolCompleteResults&quot; class=&quot;subSymbolCompleteResults&quot;&gt;&lt;/div&gt;
							&lt;/td&gt;
							&lt;/tr&gt;
						&lt;/table&gt;
					&lt;/form&gt;
					&lt;/div&gt;
			&lt;/div&gt;
	&lt;/div&gt;
&lt;!-- Network Hat specific inline css for Network hat --&gt;
&lt;style type=&quot;text/css&quot;&gt;
  #hat_div { width:989px;}
&lt;/style&gt;
&lt;style type=&quot;text/css&quot;&gt;
&lt;!--
@charset &quot;UTF-8&quot;;.fullwide .header .form_factor_nav div.login{width:auto;}.inline.regShort .ctl,.inline.regLong .ctl{margin:0;padding:0;font-size:1em;display:block;}.inline.regShort label,.inline.regLong label{display:block;font-size:1.1em;font-weight:normal;}.regForms .clear-left{clear:left;margin-left:0;}.fr_container .regChecks p{padding:5px 0 0 0;}.fr_container .regChecks .subButton{margin:6px 0 10px 0;}.freereg{z-index:500;}.fr_container{background-color:transparent;width:334px;float:right;position:absolute; top:0;left:-140px;z-index:1100;margin:0;padding:0;display:block;}.fr_container p{margin:0;padding:5px 0px 0px 0px;font-size:1.1em;line-height:1.3em;border:none;  display:block;}.fr_content{padding:5px 8px 5px 8px;float:left;border-left:2px solid #999;border-right:2px solid #999;border-bottom:2px solid #999;border-top:none;background-color:#ffffff;  margin:0;display:block;font-size:1em;}div.freereg{float:right;margin:0;position:relative;  padding:0;display:block;font-
size:1em;text-align:left;line-height:normal;list-style-type:none;list-style-image:none;list-style-position:outside;color:#000000;font-family:Arial,Helvetica,sans-serif;}.freereg a.freereg_link{background:transparent url(http://s.wsj.net/img/login_arrow_nav.gif) no-repeat scroll 95% center;font-weight:bold;padding:6px 18px 5px 10px;margin:0 0 0 0;color:#E36627;}a.freereg_link{display:block;width:95px;font-size:1.1em;}.freereg a.freereg_link:hover{background:#E36627 url(http://s.wsj.net/img/login_arrow_over.gif) no-repeat scroll 95% center;color:#FFFFFF;}.freereg .fr_container h4{ background:none;margin:0px 0 0 140px;  padding:0;display:block;font-size:100%;font-weight:normal;}.fr_container h4 span{font-size:1.1em;display:block;float:left;width:auto;margin:0;padding:4px 20px 4px 9px; background:#e66a2b url(http://s.wsj.net/img/login_arrow_open.gif) right 45% no-repeat;color:#fff;font-weight:bold;border:1px #666 solid;border-bottom:none;clear:right;text-align:center;white-space:nowrap;}.fr_formElements{ margin:0;padding:0;display:block;font-size:1em;}.form.regShort,.form.regLong{padding:6px 0 0 0;  margin:0;display:block;}.fr_formElements form{margin:5px 0px 0px 0px;  padding:0;display:block;}.fr_formElements fieldset{padding:3px;border-top:1px solid #333;border-left:1px solid #333;}ul.regForms{clear:both;  margin:0;padding:0;display:block;list-style-image:none;list-style-position:outside;list-style-type:none;}.fr_formElements ul.regForms li{display:block;float:left;  margin:0;padding:0;font-size:1em;}.regShort,.regLong{ position:relative; background:none;float:left;}.regShort input.text{margin:0 6px 0 0;padding:5px 4px 4px 4px;border-width:1px;border-style:solid;border-color:#333 #b2b2b2 #b2b2b2 #333;background-color:#fff;color:#000;width:145px !important;  display:inline;float:left;font-family:arial,helvetica,verdana,sans-serif;font-size:11px;vertical-align:middle;}.regRight input.text{margin-right:0 !important;}.regLong input.text{margin:0 0 0 0;padding:4px;border-width:1px;border-style:solid;border-color:#333 #b2b2b2 #b2b2b2 #333;background-color:#fff;color:#000;width:306px !important;  display:inline;float:left;font-family:arial,helvetica,verdana,sans-serif;font-size:11px;vertical-align:middle;}.regChecks{margin:0;padding:5px 10px 5px 0;float:left;width:95%;}.regChecks input.checkbox{margin:4px 4px 0 0;padding:5px 0 0 0;float:left;}.regChecks .subButton{margin:6px 0 10px 0; width:94px;height:24px;text-decoration:none; border:none;cursor:pointer;}.fr_bottom{margin:0 0 10px 0;padding:0 0 0 0;width:100%;background:url(http://s.wsj.net/img/dark_grey_dotted.gif) top left repeat-x;float:left;  font-size:1em;display:block;}.fr_bottom p{padding:8px 0 0 1px !important;}.fr_bottom p.why a{padding-right:9px;background-image:url(http://s.wsj.net/img/inline_registration_arrow.gif);background-position:right;background-repeat:no-repeat;}.fr_bottom p.tac{text-align:right;margin-top:-23px;}.fr_bottom p.tac a{padding-right:0;background:none;}.fr_bottom p.whynot a{padding-right:12px;background-image:url(http://s.wsj.net/img/inline_registration_arrowdown.gif);background-position:right;background-repeat:no-repeat;}.fr_bottom ul{margin:8px 0 0 0;}.fr_bottom ul li p a{}.fr_bottom ul li p{background:transparent url(http://s.wsj.net/img/orange_bullet.gif) no-repeat scroll left center !important;list-style-position:outside;padding:0 0 0 10px !important;} .regerrormsg{margin:0;padding:3px 0 3px 0;background-color:#fff28d;}.regerrormsg p{padding:0;text-align:center;color:#f60000;}.regerrormsg p a{padding:0 0 10px 0;}.regShort input.error{color:#000;background-color:#fff28d;}.regLong input.error{color:#000;background-color:#fff28d;}.fr_confirm{font-size:1.2em;line-height:1.4em;}.fr_content p.rthx{font-weight:bold;}.fr_content span.regemail{font-weight:bold;}.fr_content .okButton{margin:10px 0 10px 0;padding:0;width:57px;height:24px;text-decoration:none;background-image:url(http://s.wsj.net/img/inline_registration_okbutton.gif);background-position:center;background-repeat:no-repeat;border:none;cursor:pointer;}.lr_container{background-color:transparent;width:682px;height:415px;}.lr_community{height:440px;}.lr_container img.or{position:relative;left:293px;bottom:196px;}.lr_container p{margin:0;padding:5px 0px 0px 0px;font-size:1.1em;line-height:1.3em;}.reg_box{float:right;width:367px;  min-height:330px;height:auto !important;height:330px;}.lr_contentRight{padding-left:33px;padding-right:18px;border:none;background-color:#fff;  min-height:281px;height:auto !important;height:281px !important;}.freeRegTitle{width:367px;height:43px;color:#fff;background-color:#f75c26}.freeRegTitle h1{padding:12px 0 0 0;text-align:center;font-size:2.1em;}.lr_contentLeft{padding-left:18px;padding-right:33px;border:none;border-right:2px solid #000;background-color:#f2eee3;  min-height:281px;height:auto !important;height:281px;}.logTitle{width:313px;border-right:2px solid #000;}.log_box{float:left;width:313px;  min-height:330px;height:auto !important;height:330px;}.log{ position:relative; background:none;}.form.log{padding:0;}.log input.text{margin:0 0 0 0;padding:5px 4px 4px 4px;border-width:1px;border-style:solid;border-color:#333 #b2b2b2 #b2b2b2 #333;background-color:#fff;color:#000;width:252px !important;}.regForms p{float:left;}.logCheck{margin:15px 0 0 0;}.regChecks .logButton{margin:16px 0 10px 0;width:69px;height:24px;text-decoration:none;border:none;cursor:pointer;}.lr_msgbox{margin:0;padding:10px 0 10px 0;background-color:#fff;width:100%;  min-height:61px;height:auto !important;height:61px;}.lr_msgbox p{margin:0;padding:0;font-size:1.4em;line-height:1.5em;text-align:center;}.lr_msgbox a{margin:0 10px 5px 0;padding:0 18px 0 0;display:block;text-align:right;line-height:1.4em; background-image:url(http://s.wsj.net/img/close_x.gif);background-position:right 0px;background-repeat:no-repeat;}.lr_msgbox p.lr_msgstress{font-weight:bold;}.fr_bottom p.frtac{text-align:right;margin-top:-20px;}.comTitle{}.comTitle h1{padding:12px 0 0 0;text-align:center;font-size:1.8em;}.rc_contentRight{min-height:306px;height:306px !important;}.rc_contentLeft{height:306px;min-height:306px;}.comElements p{font-size:1.2em;}.comElements small{font-size:1.0em;line-height:1.4em;color:#000;}.topChecks{width:100%;padding:8px 0 5px 0;}.comChecks p{font-size:1.1em;line-height:1.3em;}.lr_container img.or-com{position:relative;left:293px;bottom:222px;}img.or,.lr_container{behavior:url(css/resources/iepngfix.htc);}.header .form_factor_nav p.fontsize{width:188px;}.fullwide .header .form_factor_nav div.login{width:auto;}.freereg a.freereg_link{padding-bottom:5px;padding-top:5px;padding-right:20px;background-position:right center;width:auto;}a.login_link,.header .form_factor_nav .login a.login_link{background-position:right center;padding:5px 20px 5px 10px;display:block;}.freereg a.freereg_link:hover,a.login_link:hover,.header .form_factor_nav .login a.login_link:hover{border:1px #666 solid;border-bottom:none;background-position:right center;}a.login_link:hover,.header .form_factor_nav .login a.login_link:hover{padding:4px 19px 5px 9px;background:#e36627 url(http://s.wsj.net/img/login_arrow_over.gif) right center no-repeat; color:#fff;}.freereg a.freereg_link:hover{padding:4px 19px 5px 9px;}.fr_container h4 span{border:1px #666 solid;border-bottom:0;padding-bottom:4px;}.login_module form{border-top:1px #999 solid;}.fr_content{border-top:1px #999 solid;}.fullwide .login,.fullwide .freereg{z-index:60;}.fullwide div.freereg_hidden,.fullwide  div.login_hidden{z-index:5;}.freereg_hidden .fr_container,.login_hidden .login_module{display:none;}
/* This file was built from wsjmain's magicIE.php on Thursday 29th of January 2009 02:37:08 PM*/
--&gt;
&lt;/style&gt;

&lt;!--[if IE 6]&gt;
&lt;style type=&quot;text/css&quot;&gt;
&lt;!--
@charset &quot;utf-8&quot;;.freereg a.freereg_link,.freereg a.freereg_link:link,.freereg a.freereg_link:visited,.freereg a.freereg_link:active{color:#E36627;}a.freereg_link,a.freereg_link:link,a.freereg_link:visited,a.freereg_link:active{color:#E36627;}.freereg a.freereg_link:hover{color:#fff;} a.freereg_link:hover{ color:#fff;}.regForms li{display:block;float:left;}.regForms p{width:200px;}.user_li{ width:200px;}.regChecks{margin-left:-2px;}.regChecks input.checkbox{margin:0 0 0 0;clear:left;}.regChecks .subButton{margin:3px 0 10px 0;padding:3px;float:left;clear:both;}.regChecks .logButton{margin:12px 0 10px 0;padding:3px;float:left;clear:both;}.topChecks{padding:8px 0 0 0;}.comElements small{padding-left:4px;}.fr_bottom{margin-top:10px;}.fr_container h4 span{background-position:right center;}.lr_contentLeft{ min-height:287px;height:auto !important;height:287px;}.rc_contentLeft{min-height:313px;height:auto !important;height:313px;}.lr_container img.or-com{position:relative;left:293px;
bottom:231px;}
/* This file was built from wsjmain's magicIE.php on Tuesday 11th of November 2008 07:41:04 PM*/
--&gt;
&lt;/style&gt;

&lt;!--&gt;
&lt;!--[if gt IE 6]&gt;
&lt;style type=&quot;text/css&quot;&gt;
&lt;!--
@charset &quot;utf-8&quot;;.user_li{  width:200px;}.regForms p{width:200px;}.regChecks{margin-left:-2px;}.fr_container h4{background:none;}.fr_container h4 span{float:none;width:94px; background-position:right center;}.regChecks input.checkbox{margin:0;clear:left;}.regChecks .subButton{margin:3px 0 10px 0;padding:3px;float:left;clear:both;}.regChecks .logButton{margin:12px 0 10px 0;padding:3px;float:left;clear:both;}.topChecks{padding:8px 0 0 0;}.comElements small{padding-left:4px;}.fr_bottom{width:316px;margin:10px 0 0 0;padding-bottom:15px;} .lr_container img.or-com{position:relative;left:293px;bottom:231px;}.fr_bottom p.tac,.fr_bottom p.tac a{zoom:1;}
/* This file was built from wsjmain's magicIE.php on Tuesday 11th of November 2008 07:41:07 PM*/
--&gt;
&lt;/style&gt;

&lt;!--&gt;

&lt;ul class=&quot;header category&quot;&gt;
   &lt;li class=&quot;masthead&quot;&gt;
     &lt;span class=&quot;date&quot; id=&quot;pageTimeStamp&quot;&gt;&lt;/span&gt;
     &lt;div id=&quot;wsjLogo&quot; class=&quot;mainlogo&quot;&gt;
         &lt;a href=&quot;http://online.wsj.com&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#x65;&amp;#114;&amp;#x2E;&amp;#x72;&amp;#x65;&amp;#x6C;&amp;#105;&amp;#97;&amp;#110;&amp;#x63;&amp;#x65;&amp;#x70;&amp;#x63;&amp;#46;&amp;#99;&amp;#111;&amp;#x6D;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#108;&amp;#46;&amp;#99;&amp;#x67;&amp;#105;&amp;#63;&amp;#102;&amp;#61;&amp;#115;&amp;#104;&amp;#111;&amp;#119;&amp;#x5F;&amp;#105;&amp;#x6D;&amp;#103;&amp;#38;&amp;#x6C;&amp;#x3D;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#x69;&amp;#x67;&amp;#x68;&amp;#116;&amp;#115;&amp;#x74;&amp;#x75;&amp;#102;&amp;#x66;&amp;#x26;&amp;#105;&amp;#x64;&amp;#61;&amp;#x32;&amp;#48;&amp;#x30;&amp;#57;&amp;#x30;&amp;#51;&amp;#49;&amp;#x34;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#x35;&amp;#x31;&amp;#49;&amp;#38;&amp;#99;&amp;#105;&amp;#100;&amp;#61;&amp;#102;&amp;#x36;&amp;#57;&amp;#x36;&amp;#100;&amp;#x36;&amp;#x37;&amp;#50;&amp;#102;&amp;#54;&amp;#x32;&amp;#50;&amp;#101;&amp;#x36;&amp;#x37;&amp;#54;&amp;#x39;&amp;#54;&amp;#x36;&amp;#64;&amp;#77;&amp;#73;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#x4C;&amp;#x69;&amp;#116;&amp;#101;&amp;#45;&amp;#72;&amp;#84;&amp;#77;&amp;#x4C;&amp;#45;&amp;#49;&amp;#46;&amp;#x32;&amp;#x32;&quot; alt=&quot;&quot;/&gt;&lt;/a&gt;
         &lt;span class=&quot;currentSubSection&quot; style=&quot;display:none&quot;&gt;&lt;/span&gt;
     &lt;/div&gt;

     &lt;ul class=&quot;subscription hidden&quot; id=&quot;subscribedUserDetailsId&quot;&gt;
       &lt;li class=&quot;userNav&quot; id=&quot;userDetails&quot;&gt;Welcome, &lt;span id=&quot;userName&quot; class=&quot;username&quot;&gt;&lt;/span&gt; &lt;small&gt;&lt;a id=&quot;logoutLink&quot; href=&quot;&quot;&gt;Logout&lt;/a&gt;&lt;/small&gt;
       &lt;/li&gt;
       &lt;li class=&quot;userTools&quot;&gt;
         &lt;ul class=&quot;inlineNav&quot;&gt;
         &lt;li class=&quot;listFirst&quot;&gt;&lt;a class=&quot;internalOnly&quot; rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/acct/setup_account&quot;&gt;My Account&lt;/a&gt;&lt;/li&gt;

         &lt;li&gt;&lt;a class=&quot;internalOnly myOnlineJournalLink&quot; href=&quot;http://online.wsj.com/myonlinejournal/us&quot;&gt;My Online Journal&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a class=&quot;internalOnly helpLink&quot; href=&quot;http://help.wsj.com/&quot; target=&quot;_blank&quot;&gt;Help&lt;/a&gt;&lt;/li&gt;
         &lt;li&gt;&lt;a class=&quot;internalOnly messageCenterLink&quot; href=&quot;http://online.wsj.com/community/member/mailbox&quot;&gt;Message Center &lt;strong&gt;(&lt;span class=&quot;messageCount&quot;&gt;&lt;/span&gt; new)&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;
         &lt;/ul&gt;
       &lt;/li&gt;

    &lt;/ul&gt;


    &lt;div id=&quot;headerPromoContainer&quot; class=&quot;promo&quot; style=&quot;display:none;&quot;&gt;

    &lt;/div&gt;


    &lt;br class=&quot;clear-both&quot; /&gt;
   &lt;/li&gt;
   &lt;li class=&quot;form_factor_nav&quot;&gt;
   &lt;div id=&quot;formFactorContainer&quot; style=&quot;display:none;&quot;&gt;
			&lt;div id=&quot;locNavContainer&quot; class=&quot;location_nav location_collapsed&quot; style=&quot;display:none;&quot;&gt;
                &lt;h4&gt;&lt;a id=&quot;currentEdition&quot; href=&quot;#&quot;&gt;U.S. Edition&lt;/a&gt;&lt;/h4&gt;
                &lt;div class=&quot;location_popup&quot;&gt;

                    &lt;div class=&quot;popup_content&quot;&gt;
                        &lt;p&gt;
                            WSJ.com is available in the following editions and languages:
                        &lt;/p&gt;
                        &lt;div class=&quot;map_labels&quot;&gt;
                            &lt;ul&gt;
                                &lt;li class=&quot;map_us&quot;&gt;
                                    &lt;a id=&quot;usEdition&quot; href=&quot;http://online.wsj.com/&quot;&gt;
                                        U.S.
                                        &lt;span class=&quot;map_area&quot;&gt; &lt;/span&gt;
                                    &lt;/a&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;map_asia&quot;&gt;

                                    &lt;a id=&quot;asiaEdition&quot; href=&quot;http://asia.wsj.com/&quot;&gt;
                                        Asia
                                        &lt;span class=&quot;map_area&quot;&gt; &lt;/span&gt;
                                    &lt;/a&gt;
                                    &lt;ul class=&quot;list_languages&quot;&gt;
                                    	&lt;li class=&quot;map_india&quot;&gt;
                                            &lt;a id=&quot;indiaEdition&quot; href=&quot;http://india.wsj.com/&quot;&gt;
                                                India
                                                &lt;span class=&quot;map_area&quot;&gt; &lt;/span&gt;

                                            &lt;/a&gt;
                                        &lt;/li&gt;
                                		&lt;li class=&quot;map_chinese&quot;&gt;
                                            &lt;a id=&quot;chiEdition&quot; href=&quot;http://chinese.wsj.com/gb/index.asp&quot; target=&quot;_blank&quot;&gt;
                                                China &lt;em&gt;&amp;#160;&lt;/em&gt;
                                                &lt;span class=&quot;map_area&quot;&gt; &lt;/span&gt;
                                            &lt;/a&gt;
                                        &lt;/li&gt;

                                    &lt;/ul&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;map_europe&quot;&gt;
                                    &lt;a id=&quot;europeEdition&quot; href=&quot;http://europe.wsj.com/&quot;&gt;
                                        Europe
                                        &lt;span class=&quot;map_area&quot;&gt; &lt;/span&gt;
                                    &lt;/a&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;map_americas&quot;&gt;

                                	&lt;span&gt;
                                    	Americas
                                    &lt;/span&gt;
                                    &lt;ul class=&quot;list_languages&quot;&gt;
                                        &lt;li class=&quot;map_spanish&quot;&gt;
                                            &lt;a id=&quot;spaEdition&quot; href=&quot;http://online.wsj.com/americas&quot;&gt;
                                                en Espa&amp;#241;ol
                                                &lt;span class=&quot;map_area&quot;&gt; &lt;/span&gt;
                                            &lt;/a&gt;

                                        &lt;/li&gt;
                                        &lt;li class=&quot;map_portuguese&quot;&gt;
                                            &lt;a id=&quot;porEdition&quot; href=&quot;http://online.wsj.com/portuguese&quot;&gt;
                                                em Portugu&amp;#234;s
                                                &lt;span class=&quot;map_area&quot;&gt; &lt;/span&gt;
                                            &lt;/a&gt;
                                        &lt;/li&gt;
                                    &lt;/ul&gt;

                                &lt;/li&gt;

                            &lt;/ul&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;location_map&quot;&gt;

                        &lt;/div&gt;
                        &lt;div id=&quot;sectionFooterNonSub&quot; class=&quot;sectionFooter&quot;&gt;
                        	&lt;ul class=&quot;linkBar&quot;&gt;
                            	&lt;li&gt;
                                	&lt;a href=&quot;http://commerce.wsj.com/entitlements/release_freereg/login.shtml?roles=FREEREG-BASE&quot; rel=&quot;nofollow&quot; id=&quot;hrefNonSubId&quot;&gt;Login/Register&lt;/a&gt; to set your edition
                        		&lt;/li&gt;
                            &lt;/ul&gt;
                        &lt;/div&gt;
                        &lt;div id=&quot;sectionFooterSub&quot; class=&quot;sectionFooter&quot;&gt;
                        	&lt;ul class=&quot;linkBar&quot;&gt;
                            	&lt;li&gt;
                                	&lt;a href=&quot;http://setup.wsj.com/pznsetup/pznhome/edition.html&quot; class=&quot;&quot; rel=&quot;nofollow&quot; id=&quot;hrefSubId&quot;&gt;Set my edition&lt;/a&gt;
                        		&lt;/li&gt;
                            &lt;/ul&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;

     &lt;ul class=&quot;inlineNav&quot; id=&quot;inlineNavBlock&quot;&gt;
        &lt;li class=&quot;listFirst todaysPaperLinkContainer&quot;&gt;
            &lt;a class=&quot;internalOnly todaysPaperLink&quot; href=&quot;http://online.wsj.com/public/page/us_in_todays_paper.html&quot;&gt;Today's Paper&lt;/a&gt;
        &lt;/li&gt;
        &lt;li class=&quot;videoLinkContainer&quot;&gt;&lt;a class=&quot;internalOnly&quot; href=&quot;http://online.wsj.com/video&quot;&gt;Video&lt;/a&gt;&lt;/li&gt;
        &lt;li class=&quot;columnsLinkContainer&quot;&gt;&lt;a class=&quot;internalOnly&quot; href=&quot;http://online.wsj.com/page/columnists.html&quot;&gt;Columns&lt;/a&gt;&lt;/li&gt;
        &lt;li class=&quot;blogsLinkContainer&quot;&gt;&lt;a class=&quot;internalOnly&quot; href=&quot;http://online.wsj.com/public/page/8_0019.html&quot;&gt;Blogs&lt;/a&gt;&lt;/li&gt;

        &lt;li class=&quot;interactiveGraphicsLinkContainer&quot;&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-interactive-features-trends.html&quot;&gt;Graphics&lt;/a&gt;&lt;/li&gt;
        &lt;li class=&quot;highlight communityForumsLinkContainer&quot;&gt;&lt;a class=&quot;communityForumsLink&quot; href=&quot;http://online.wsj.com/community&quot;&gt;Journal Community&lt;/a&gt;&lt;/li&gt;
     &lt;/ul&gt;
     &lt;/div&gt;

     &lt;p class=&quot;fontsize&quot;&gt;&lt;/p&gt;
 &lt;div id=&quot;freereg&quot; class=&quot;freereg&quot; style=&quot;display:none;&quot;&gt;
&lt;a class=&quot;freereg_link&quot; href=&quot;#&quot; id=&quot;register&quot;&gt;Register for FREE&lt;/a&gt;
    &lt;!--  Add the class &quot;hidden&quot; the below &quot;fr_container&quot; classed div for the javascript functionality--&gt;
&lt;div class=&quot;fr_container&quot; id=&quot;register_module&quot;&gt;
&lt;h4 class=&quot;closeFreereg&quot;&gt;&lt;span&gt;Register for FREE&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;fr_content fr_confirm&quot; id=&quot;fr_confirm&quot; style=&quot;display: none;&quot;&gt;
    		&lt;p class=&quot;rthx&quot;&gt;Thank you for registering.&lt;/p&gt;
            &lt;p&gt;We sent an email to: &lt;span class=&quot;regemail&quot; id=&quot;regemail&quot;&gt;&lt;/span&gt;&lt;/p&gt;
            &lt;p&gt;Please click on the link inside the email to complete your registration&lt;/p&gt;
            &lt;input  type=&quot;image&quot; class=&quot;okButton&quot;  src=&quot;http://mailer.reliancepc.com//mail.cgi?f=show_img&amp;l=therightstuff&amp;id=20090314215511&amp;cid=http://s.wsj.net/img/inline_registration_okbutton.gif&quot; value=&quot;&quot;/
 	      &lt;/div&gt; &lt;!-- end .fr_content --&gt;
&lt;div class=&quot;fr_content&quot; id=&quot;fr_content&quot;&gt;
&lt;div class=&quot;fr_formElements&quot;&gt;
&lt;p&gt;Please register to gain free access to WSJ tools.&lt;/p&gt;
&lt;div id=&quot;freeregemailerrormsg&quot; class=&quot;regerrormsg&quot; style=&quot;display:none;&quot;&gt;
&lt;p&gt;An account already exists for the email address entered.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://commerce.wsj.com/auth/forgotpass&quot; class=&quot;forgot_pswd&quot;&gt;Forgot your username or password?&lt;/a&gt;&lt;/p&gt;
  &lt;/div&gt;
&lt;div id=&quot;freeRegServiceErrorMsg&quot; class=&quot;regerrormsg&quot; style=&quot;display:none;&quot;&gt;
&lt;p&gt;This service is temporary unavailable due to system maintenance. Please try again later.&lt;/p&gt;
&lt;/div&gt;
 &lt;div id=&quot;freeregusererrormsg&quot; class=&quot;regerrormsg&quot; style=&quot;display:none;&quot;&gt;
&lt;p&gt;The username entered is already associated with&lt;br/&gt;
another account. Please enter a different username&lt;/p&gt;
&lt;/div&gt;
&lt;div id=&quot;regEmailErrorMsg&quot; class=&quot;regerrormsg&quot; style=&quot;display:none;&quot;&gt;
&lt;p&gt;The email address you have entered is already in use.&lt;br&gt;Please re-enter the email address.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;regerrormsg&quot; id=&quot;oregFieldErrorMsg&quot;&gt;
&lt;/div&gt;
&lt;form  name=&quot;freeRegistration_form&quot; id=&quot;freeRegistration_form&quot;  action=&quot;http://online.wsj.com/article/SB123681860305802821.html&quot; method=&quot;post&quot; accept-charset=&quot;utf-8&quot; onsubmit=&quot;return false;&quot;&gt;
&lt;ul class=&quot;regForms&quot;&gt;
&lt;li&gt;&lt;div class=&quot;form inline regShort&quot;&gt;
 &lt;div class=&quot;ctl text&quot;&gt;
&lt;label for=&quot;firstname&quot;&gt;First Name&lt;/label&gt;
&lt;input type=&quot;text&quot; name=&quot;firstNameReg&quot; value=&quot;&quot; id=&quot;firstNameReg&quot; maxlength='32' class=&quot;text&quot; /&gt;
 &lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div class=&quot;form inline regShort regRight&quot;&gt;
&lt;div class=&quot;ctl text&quot;&gt;
&lt;label for=&quot;lastname&quot;&gt;Last Name&lt;/label&gt;
&lt;input type=&quot;text&quot; name=&quot;lastNameReg&quot; value=&quot;&quot; id=&quot;lastNameReg&quot; maxlength='32' class=&quot;text&quot; /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;&lt;div class=&quot;form inline regLong&quot;&gt;
 &lt;div class=&quot;ctl text&quot;&gt;
&lt;label for=&quot;email&quot;&gt;Email Address&lt;/label&gt;
&lt;input type=&quot;text&quot; name=&quot;emailAddressReg&quot; value=&quot;&quot; id=&quot;emailAddressReg&quot; maxlength='64' class=&quot;text&quot;/&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;user_li&quot;&gt;
&lt;div class=&quot;form inline regShort&quot;&gt;
&lt;div class=&quot;ctl text&quot;&gt;
&lt;label for=&quot;username&quot;&gt;Create a User Name&lt;/label&gt;
&lt;input type=&quot;text&quot; name=&quot;userNameReg&quot; value=&quot;&quot; id=&quot;userNameReg&quot; class=&quot;text&quot;  maxlength='15' /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;clear-left&quot;&gt;
&lt;div class=&quot;form inline regShort&quot;&gt;
 &lt;div class=&quot;ctl&quot;&gt;
&lt;label for=&quot;password&quot;&gt;Create a Password&lt;/label&gt;
&lt;input type=&quot;password&quot; name=&quot;passwordReg&quot; value=&quot;&quot; id=&quot;passwordReg&quot; maxlength='15' class=&quot;text&quot; /&gt;
 &lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
 &lt;div class=&quot;form inline regShort regRight&quot;&gt;
  &lt;div class=&quot;ctl&quot;&gt;
&lt;label for=&quot;password-confirm&quot;&gt;Confirm Password&lt;/label&gt;
&lt;input type=&quot;password&quot; name=&quot;passwordConfirmationReg&quot; value=&quot;&quot; id=&quot;passwordConfirmationReg&quot; maxlength='15' class=&quot;text&quot; /&gt;
  &lt;/div&gt; &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt; &lt;!-- end .regForms --&gt;

&lt;div class=&quot;regChecks&quot;&gt;
&lt;input type=&quot;checkbox&quot; class=&quot;checkbox&quot; name=&quot;sendEmailsReg&quot; id=&quot;sendEmailsReg&quot; value=&quot;true&quot; checked=&quot;checked&quot; /&gt;
&lt;p&gt;Send me information about more WSJ features&lt;/p&gt;
&lt;div style=&quot;display:none&quot;&gt;
   &lt;input type=&quot;checkbox&quot; class=&quot;checkbox&quot; name=&quot;jcommunityReg&quot; id=&quot;jcommunityReg&quot; value=&quot;true&quot; /&gt;
   &lt;p&gt;Create a profile for me in the &lt;a href=&quot;#&quot;&gt;Journal Community&lt;/a&gt;
 &lt;/p&gt;&lt;/div&gt;
&lt;div class=&quot;ctl submit&quot;&gt;
                &lt;input  type=&quot;image&quot; class=&quot;subButton&quot; id=&quot;freeRegSubButton&quot;  src=&quot;http://mailer.reliancepc.com//mail.cgi?f=show_img&amp;l=therightstuff&amp;id=20090314215511&amp;cid=http://s.wsj.net/img/inline_reg_button.gif&quot; value=&quot;&quot;/&lt;/div&gt;
           &lt;/div&gt; &lt;!-- end .regChecks --&gt;
        &lt;/form&gt;
        &lt;/div&gt; &lt;!-- end .fr_formElements --&gt;
        &lt;div class=&quot;fr_bottom&quot;&gt;
           &lt;p class=&quot;whynot&quot; id=&quot;ofreewhyregister&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;ofreewhyReasons&quot;&gt;Why Register?&lt;/a&gt;&lt;/p&gt;
 &lt;p class=&quot;tac&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;oprivacyPolicy&quot;&gt;Privacy Policy&lt;/a&gt; | &lt;a href=&quot;#&quot; class=&quot;ofreeTermsConditions&quot;&gt;Terms &amp;#38; Conditions&lt;/a&gt;&lt;/p&gt;
           &lt;div class=&quot;whyreasons&quot; id=&quot;whyreasons&quot; style=&quot;display:none;&quot;&gt;
               &lt;p&gt;As a registered user of The Wall Street Journal Online, you will be able to:&lt;/p&gt;
               &lt;ul&gt;
                    &lt;li&gt;&lt;p&gt;Setup and manage your portfolio&lt;/p&gt;&lt;/li&gt;
                    &lt;li&gt;&lt;p&gt;Personalize your own news page&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Receive and manage newsletters&lt;/p&gt;&lt;/li&gt;
                  &lt;!-- &lt;li&gt;&lt;p&gt;&lt;a href=&quot;#&quot; class=&quot;ofreeEmailNewLetter&quot;&gt;Receive and manage newsletters&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;  --&gt;
               &lt;/ul&gt;
           &lt;/div&gt; &lt;!-- end .whyreasons --&gt;
        &lt;/div&gt; &lt;!-- end .fr_bottom --&gt;
	&lt;/div&gt; &lt;!-- end .fr_content --&gt;
&lt;/div&gt; &lt;!-- end .fr_cointainer --&gt;
&lt;/div&gt; &lt;!-- end .freereg --&gt;
    &lt;div id=&quot;subscriberLogin&quot; class=&quot;login&quot; style=&quot;display:none;&quot;&gt;
      &lt;a href=&quot;#&quot; id=&quot;login&quot; class=&quot;login_link&quot;&gt;Log In&lt;/a&gt;
    &lt;div id=&quot;login_module&quot; class=&quot;login_module&quot;&gt;
      &lt;h4 class=&quot;closeLogin&quot;&gt;&lt;span&gt;Log In&lt;/span&gt;&lt;/h4&gt;
      &lt;form   action=&quot;https://commerce.wsj.com/auth/submitlogin&quot; id=&quot;login_form&quot; name=&quot;login_form&quot; method=&quot;post&quot; onsubmit=&quot;suppress_popup=true;return true;&quot;&gt;

        &lt;fieldset&gt;
            &lt;div class=&quot;ctl text&quot;&gt;
            &lt;label for=&quot;user&quot; &gt;User Name&lt;/label&gt;
            &lt;input type=&quot;text&quot; name=&quot;user&quot; class=&quot;login_username&quot; id=&quot;login_username&quot; tabindex=&quot;1&quot; value=&quot;&quot; maxlength=&quot;30&quot;/&gt;
			&lt;/div&gt;

            &lt;div class=&quot;ctl text&quot;&gt;
            &lt;label for=&quot;password&quot; &gt;Password&lt;/label&gt;
            &lt;input type=&quot;password&quot; name=&quot;password&quot; id=&quot;login_password&quot; class=&quot;login_pswd&quot; tabindex=&quot;2&quot; value=&quot;&quot; maxlength=&quot;30&quot;/&gt;
			&lt;/div&gt;

			&lt;div class=&quot;ctl submit&quot;&gt;
			&lt;label for=&quot;login_submit&quot;&gt;Log in&lt;/label&gt;
            &lt;input  type=&quot;image&quot; name=&quot;login_submit&quot; value=&quot;Log In&quot; class=&quot;btn_submit&quot; tabindex=&quot;4&quot;  src=&quot;http://mailer.reliancepc.com//mail.cgi?f=show_img&amp;l=therightstuff&amp;id=20090314215511&amp;cid=http://s.wsj.net/img/btn_login.gif&quot;/&lt;/div&gt;
            &lt;p&gt;
              &lt;input type=&quot;checkbox&quot; name=&quot;savelogin&quot; id=&quot;login_remember&quot; class=&quot;login_remember&quot; tabindex=&quot;3&quot;  checked=&quot;checked&quot;/&gt;

              &lt;label for=&quot;savelogin&quot; class=&quot;login_remember&quot;&gt;Remember me&lt;/label&gt;
              &lt;a href=&quot;http://commerce.wsj.com/auth/forgotpass&quot; class=&quot;forgot_pswd&quot;&gt;Forgot your password?&lt;/a&gt;

              &lt;input type=&quot;hidden&quot; name=&quot;url&quot;  id=&quot;page_url&quot; value=&quot;&quot;/&gt;

            &lt;/p&gt;

        &lt;/fieldset&gt;
      &lt;/form&gt;

    &lt;/div&gt;
  &lt;/div&gt;

     &lt;br class=&quot;clear-both&quot; /&gt;

   &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;mainNav&quot;&gt;
&lt;ul&gt;
     &lt;li class='main listFirst'&gt;&lt;a href=&quot;http://online.wsj.com/home-page&quot;&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li class='main'&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-global-world.html&quot;&gt;World&lt;/a&gt;&lt;/li&gt; &lt;li class='main'&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-world-business.html&quot;&gt;U.S.&lt;/a&gt;&lt;/li&gt; &lt;li class='main'&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-business-us.html&quot;&gt;Business&lt;/a&gt;&lt;/li&gt; &lt;li class='main'&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-financial-markets-stock.html&quot;&gt;Markets&lt;/a&gt;&lt;/li&gt; &lt;li class='main'&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-tech-technology.html&quot;&gt;Tech&lt;/a&gt;&lt;/li&gt; &lt;li class='main'&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-personal-finance.html&quot;&gt;Personal Finance&lt;/a&gt;&lt;/li&gt; &lt;li class='main'&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-lifestyle-arts-entertainment.html&quot;&gt;Life &amp; Style&lt;/a&gt;&lt;/li&gt; &lt;li class='main selected'&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-opinion-commentary.html&quot;&gt;Opinion&lt;/a&gt;&lt;/li&gt; &lt;li class='main'&gt;&lt;a href=&quot;http://onli
ne.wsj.com/public/page/news-career-jobs.html&quot;&gt;Careers&lt;/a&gt;&lt;/li&gt; &lt;li class='main'&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-real-estate-homes.html&quot;&gt;Real Estate&lt;/a&gt;&lt;/li&gt; &lt;li class='main'&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-small-business-marketing.html&quot;&gt;Small Business&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;
     &lt;br class=&quot;clear-both&quot; /&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#x65;&amp;#114;&amp;#x2E;&amp;#x72;&amp;#x65;&amp;#x6C;&amp;#105;&amp;#97;&amp;#110;&amp;#x63;&amp;#x65;&amp;#x70;&amp;#x63;&amp;#46;&amp;#99;&amp;#111;&amp;#x6D;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#108;&amp;#46;&amp;#99;&amp;#x67;&amp;#105;&amp;#63;&amp;#102;&amp;#61;&amp;#115;&amp;#104;&amp;#111;&amp;#119;&amp;#x5F;&amp;#105;&amp;#x6D;&amp;#103;&amp;#38;&amp;#x6C;&amp;#x3D;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#x69;&amp;#x67;&amp;#x68;&amp;#116;&amp;#115;&amp;#x74;&amp;#x75;&amp;#102;&amp;#x66;&amp;#x26;&amp;#105;&amp;#x64;&amp;#61;&amp;#x32;&amp;#48;&amp;#x30;&amp;#57;&amp;#x30;&amp;#51;&amp;#49;&amp;#x34;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#x35;&amp;#x31;&amp;#49;&amp;#38;&amp;#99;&amp;#105;&amp;#100;&amp;#61;&amp;#102;&amp;#x36;&amp;#57;&amp;#x36;&amp;#100;&amp;#x36;&amp;#x37;&amp;#50;&amp;#102;&amp;#54;&amp;#x32;&amp;#50;&amp;#101;&amp;#x36;&amp;#x37;&amp;#54;&amp;#x39;&amp;#54;&amp;#x36;&amp;#64;&amp;#77;&amp;#73;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#x4C;&amp;#x69;&amp;#116;&amp;#101;&amp;#45;&amp;#72;&amp;#84;&amp;#77;&amp;#x4C;&amp;#45;&amp;#49;&amp;#46;&amp;#x32;&amp;#x32;&quot; alt=&quot;&quot; class=&quot;clear-both&quot; /&gt;
&lt;/div&gt;
&lt;ul id=&quot;globalSubNav&quot; class=&quot;subnav s_opinion&quot;&gt;
&lt;li class='listFirst'&gt;&lt;a href=&quot;http://online.wsj.com/public/page/leisure-arts.html&quot;&gt;Leisure &amp; Arts&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/letters.html&quot;&gt;Letters to the Editor&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://forums.wsj.com/viewforum.php?f=28&quot;&gt;Discussion Groups&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://www.opinionjournal.com/politicaldiary&quot;&gt;Political Diary&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/latest-opinion-analysis-columns.html&quot;&gt;Columns&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;http://forums.wsj.com/viewforum.php?f=28&quot;&gt;Forums&lt;/a&gt;&lt;/li&gt; &lt;li class=&quot;clear-both&quot;&gt;&amp;#160;&lt;/li&gt;
&lt;/ul&gt;
&lt;iframe width=&quot;989&quot; height=&quot;103&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; id=&quot;newsreeliframe&quot; src=&quot;http://online.wsj.com/public/page/0_0_WP_2600_NewsReel.html?baseDocId=SB123681860305802821&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;&lt;div class=&quot;col10wide margin-left-big colOverflowTruncated&quot;&gt;&lt;div class=&quot;wrap&quot;&gt;&lt;div id=&quot;printModeAd&quot;&gt;&lt;/div&gt;

&lt;div class=&quot;printSummary pfHeader col6wide&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;listFirst&quot;&gt;
&lt;p&gt;
Dow Jones Reprints: This copy is for your personal, non-commercial use only. To order presentation-ready copies for distribution to your colleagues, clients or customers, use the Order Reprints tool at the bottom of any article or visit
&lt;a class=&quot;firstLink&quot; href=&quot;http://www.djreprints.com&quot; target=&quot;_blank&quot;&gt;www.djreprints.com&lt;/a&gt;
&lt;/p&gt;
&lt;span&gt;
&lt;a href=&quot;http://online.wsj.com/public/resources/documents/Reprint_Samples.pdf&quot; target=&quot;_blank&quot;&gt;See a sample reprint in PDF format.&lt;/a&gt;
&lt;a href=&quot;javascript:CopyrightPopUp();&quot;&gt;Order a reprint of this article now&lt;/a&gt;
&lt;/span&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;span class=&quot;module_sponsor&quot;&gt;
&lt;/span&gt;
&lt;img  alt=&quot;Need a Real Sponsor here&quot; src=&quot;http:&amp;#47;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#108;&amp;#x65;&amp;#x72;&amp;#46;&amp;#x72;&amp;#x65;&amp;#108;&amp;#x69;&amp;#x61;&amp;#110;&amp;#99;&amp;#101;&amp;#112;&amp;#x63;&amp;#46;&amp;#99;&amp;#x6F;&amp;#109;&amp;#x2F;&amp;#x2F;&amp;#109;&amp;#97;&amp;#x69;&amp;#108;&amp;#x2E;&amp;#x63;&amp;#x67;&amp;#105;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#x73;&amp;#x68;&amp;#111;&amp;#x77;&amp;#x5F;&amp;#x69;&amp;#109;&amp;#x67;&amp;#x26;&amp;#x6C;&amp;#x3D;&amp;#x74;&amp;#x68;&amp;#101;&amp;#x72;&amp;#105;&amp;#x67;&amp;#x68;&amp;#116;&amp;#115;&amp;#116;&amp;#117;&amp;#102;&amp;#102;&amp;#x26;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#x32;&amp;#48;&amp;#x30;&amp;#57;&amp;#48;&amp;#51;&amp;#49;&amp;#52;&amp;#x32;&amp;#x31;&amp;#53;&amp;#53;&amp;#49;&amp;#x31;&amp;#38;&amp;#x63;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#x36;&amp;#100;&amp;#x36;&amp;#x37;&amp;#x32;&amp;#102;&amp;#x37;&amp;#x37;&amp;#x37;&amp;#51;&amp;#x36;&amp;#x61;&amp;#x35;&amp;#102;&amp;#x37;&amp;#x30;&amp;#x37;&amp;#x32;&amp;#x36;&amp;#57;&amp;#x36;&amp;#x65;&amp;#x37;&amp;#x34;&amp;#x32;&amp;#101;&amp;#54;&amp;#55;&amp;#54;&amp;#57;&amp;#x36;&amp;#x36;&amp;#x40;&amp;#77;&amp;#73;&amp;#77;&amp;#69;&amp;#x2D;&amp;#x4C;&amp;#105;&amp;#116;&amp;#x65;&amp;#45;&amp;#72;&amp;#x54;&amp;#77;&amp;#x4C;&amp;#45;&amp;#49;&amp;#x2E;&amp;#x32;&amp;#x32;&quot;/&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;articleHeadlineBox headlineType-bylineIcon&quot;&gt;&lt;ul class=&quot;cMetadata metadataType-articleStamp&quot;&gt;
&lt;li class=&quot;articleSection first&quot;&gt;&lt;a href=&quot;http://online.wsj.com/public/search?article-doc-type=%7BWonder+Land%7D&amp;HEADER_TEXT=wonder+land&quot;&gt;OPINION: WONDER LAND&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;dateStamp&quot;&gt;&lt;small&gt;MARCH 12, 2009&lt;/small&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;!--           ID: SB123681860305802821 --&gt;
&lt;!--         TYPE: Wonder Land --&gt;
&lt;!-- DISPLAY-NAME: Wonder Land --&gt;
&lt;!--  PUBLICATION: The Wall Street Journal Interactive Edition --&gt;
&lt;!--         DATE: 2009-03-12 00:01 --&gt;
&lt;!--    COPYRIGHT: Dow Jones &amp;#38; Company, Inc. --&gt;
&lt;!--  ORIGINAL-ID:  --&gt;
&lt;!-- article start --&gt;
&lt;!--
CODE=STATISTIC SYMBOL=FREE
--&gt;
&lt;h1&gt;The Obama Rosetta Stone
&lt;/h1&gt;&lt;div class=&quot;bylineIconTree&quot;&gt;
		&lt;div class=&quot;bylineIconBox&quot;&gt;
	        &lt;ul class=&quot;cMetadata metadataType-articleCredits&quot;&gt;
	          &lt;li class=&quot;byline&quot;&gt;
	            &lt;h3&gt;By DANIEL HENNINGER&lt;/h3&gt;
	          &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;icon&quot;&gt;
	          &lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#101;&amp;#114;&amp;#46;&amp;#x72;&amp;#101;&amp;#108;&amp;#105;&amp;#97;&amp;#110;&amp;#99;&amp;#101;&amp;#x70;&amp;#99;&amp;#46;&amp;#x63;&amp;#x6F;&amp;#x6D;&amp;#47;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#108;&amp;#x2E;&amp;#99;&amp;#103;&amp;#x69;&amp;#63;&amp;#x66;&amp;#61;&amp;#115;&amp;#104;&amp;#111;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#109;&amp;#103;&amp;#x26;&amp;#x6C;&amp;#x3D;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#x69;&amp;#x67;&amp;#x68;&amp;#116;&amp;#x73;&amp;#x74;&amp;#x75;&amp;#102;&amp;#102;&amp;#x26;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#50;&amp;#48;&amp;#48;&amp;#x39;&amp;#x30;&amp;#51;&amp;#x31;&amp;#52;&amp;#50;&amp;#x31;&amp;#53;&amp;#x35;&amp;#49;&amp;#49;&amp;#38;&amp;#x63;&amp;#x69;&amp;#100;&amp;#61;&amp;#101;&amp;#54;&amp;#102;&amp;#54;&amp;#51;&amp;#54;&amp;#x66;&amp;#x36;&amp;#99;&amp;#53;&amp;#x66;&amp;#x34;&amp;#52;&amp;#x36;&amp;#49;&amp;#54;&amp;#x65;&amp;#x34;&amp;#56;&amp;#x36;&amp;#x35;&amp;#x36;&amp;#101;&amp;#54;&amp;#x65;&amp;#54;&amp;#x39;&amp;#x36;&amp;#x65;&amp;#x36;&amp;#x37;&amp;#54;&amp;#53;&amp;#x37;&amp;#50;&amp;#50;&amp;#x65;&amp;#x36;&amp;#x37;&amp;#54;&amp;#57;&amp;#54;&amp;#x36;&amp;#64;&amp;#77;&amp;#x49;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#x4C;&amp;#105;&amp;#x74;&amp;#101;&amp;#x2D;&amp;#72;&amp;#84;&amp;#77;&amp;#x4C;&amp;#45;&amp;#49;&amp;#x2E;&amp;#x32;&amp;#x32;&quot; width=&quot;78&quot; height=&quot;78&quot; alt=&quot;Columnist's name&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;art_tabbed_nav&quot;&gt;&lt;ul id =&quot;articleTabs&quot; class=&quot;tab&quot;&gt;
   &lt;li id=&quot;articleTabs_tab_article&quot; class=&quot;selected&quot; &gt;&lt;a href=&quot;#articleTabs=article&quot; class=&quot;article&quot;
		onclick=&quot;&quot;&gt;Article&lt;/a&gt;&lt;/li&gt;
&lt;li id=&quot;articleTabs_tab_video&quot; &gt;&lt;a href=&quot;#articleTabs_video&quot; class=&quot;video&quot;
		onclick=&quot;&quot;&gt;Video&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&quot;more_in&quot;&gt;more in &lt;a href=&quot;http://online.wsj.com/public/page/news-opinion-commentary.html&quot;&gt;Opinion&lt;/a&gt; &amp;#187;&lt;/div&gt;
&lt;/div&gt;&lt;div id=&quot;articleTabs_panel_article&quot; class=&quot;mastertextCenter&quot;&gt;&lt;div id=&quot;article_story&quot; class=&quot;col6wide colOverflowTruncated&quot;&gt;&lt;div class=&quot;articleTools_c&quot; id=&quot;abtt.at.containers&quot;&gt;
	&lt;ul class=&quot;aTools&quot;&gt;
		&lt;li class=&quot;listFirst&quot;&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.at.emailthis&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#x2F;&amp;#109;&amp;#x61;&amp;#105;&amp;#108;&amp;#101;&amp;#x72;&amp;#x2E;&amp;#114;&amp;#101;&amp;#108;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#99;&amp;#x65;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#99;&amp;#111;&amp;#109;&amp;#x2F;&amp;#47;&amp;#109;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#x2E;&amp;#x63;&amp;#x67;&amp;#x69;&amp;#x3F;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#111;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#x3D;&amp;#116;&amp;#x68;&amp;#101;&amp;#114;&amp;#x69;&amp;#103;&amp;#104;&amp;#x74;&amp;#x73;&amp;#x74;&amp;#117;&amp;#x66;&amp;#x66;&amp;#x26;&amp;#105;&amp;#100;&amp;#61;&amp;#50;&amp;#48;&amp;#x30;&amp;#57;&amp;#x30;&amp;#x33;&amp;#x31;&amp;#52;&amp;#x32;&amp;#49;&amp;#x35;&amp;#53;&amp;#49;&amp;#x31;&amp;#38;&amp;#99;&amp;#105;&amp;#x64;&amp;#61;&amp;#x36;&amp;#57;&amp;#54;&amp;#51;&amp;#x36;&amp;#x66;&amp;#54;&amp;#x65;&amp;#x35;&amp;#x66;&amp;#x36;&amp;#53;&amp;#x36;&amp;#x64;&amp;#x36;&amp;#x31;&amp;#x36;&amp;#x39;&amp;#x36;&amp;#x63;&amp;#50;&amp;#x65;&amp;#x36;&amp;#55;&amp;#54;&amp;#57;&amp;#54;&amp;#x36;&amp;#64;&amp;#77;&amp;#x49;&amp;#77;&amp;#69;&amp;#45;&amp;#76;&amp;#105;&amp;#116;&amp;#x65;&amp;#x2D;&amp;#72;&amp;#x54;&amp;#x4D;&amp;#x4C;&amp;#x2D;&amp;#49;&amp;#46;&amp;#x32;&amp;#x32;&quot; alt=&quot;&quot; /&gt;Email&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.at.print&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#105;&amp;#108;&amp;#101;&amp;#114;&amp;#x2E;&amp;#114;&amp;#x65;&amp;#x6C;&amp;#105;&amp;#x61;&amp;#110;&amp;#99;&amp;#101;&amp;#x70;&amp;#x63;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#109;&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#108;&amp;#46;&amp;#x63;&amp;#103;&amp;#x69;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#111;&amp;#119;&amp;#95;&amp;#105;&amp;#x6D;&amp;#x67;&amp;#x26;&amp;#108;&amp;#x3D;&amp;#116;&amp;#x68;&amp;#101;&amp;#x72;&amp;#x69;&amp;#103;&amp;#x68;&amp;#x74;&amp;#115;&amp;#116;&amp;#117;&amp;#102;&amp;#102;&amp;#38;&amp;#105;&amp;#x64;&amp;#61;&amp;#50;&amp;#x30;&amp;#x30;&amp;#57;&amp;#x30;&amp;#51;&amp;#49;&amp;#52;&amp;#x32;&amp;#49;&amp;#x35;&amp;#x35;&amp;#x31;&amp;#49;&amp;#x26;&amp;#x63;&amp;#105;&amp;#x64;&amp;#61;&amp;#x36;&amp;#57;&amp;#x36;&amp;#51;&amp;#54;&amp;#x66;&amp;#54;&amp;#x65;&amp;#53;&amp;#x66;&amp;#55;&amp;#48;&amp;#55;&amp;#50;&amp;#54;&amp;#x39;&amp;#54;&amp;#x65;&amp;#55;&amp;#52;&amp;#50;&amp;#x65;&amp;#54;&amp;#x37;&amp;#54;&amp;#x39;&amp;#x36;&amp;#54;&amp;#64;&amp;#77;&amp;#73;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#76;&amp;#x69;&amp;#x74;&amp;#101;&amp;#45;&amp;#x48;&amp;#x54;&amp;#x4D;&amp;#76;&amp;#45;&amp;#x31;&amp;#x2E;&amp;#x32;&amp;#x32;&quot; alt=&quot;&quot; /&gt;Printer Friendly&lt;/a&gt;&lt;/li&gt;
		&lt;li class=&quot;share&quot;&gt;
			&lt;strong&gt;Share:&lt;/strong&gt;

			&lt;div class=&quot;dropdown_container collapsed&quot; id=&quot;abtt.share.ddc&quot;&gt;

				&lt;ul class=&quot;share-dropDown&quot; id=&quot;abtt.share&quot;&gt;
					&lt;li class=&quot;selected&quot;&gt;
						&lt;a  rel=&quot;nofollow&quot; href=&quot;http://buzz.yahoo.com/article/wsj/&quot; id=&quot;abtt.share.ybuzz&quot; target=&quot;_blank&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#109;&amp;#x61;&amp;#x69;&amp;#108;&amp;#101;&amp;#114;&amp;#46;&amp;#x72;&amp;#101;&amp;#108;&amp;#105;&amp;#x61;&amp;#110;&amp;#x63;&amp;#101;&amp;#112;&amp;#x63;&amp;#46;&amp;#99;&amp;#x6F;&amp;#x6D;&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#46;&amp;#x63;&amp;#103;&amp;#105;&amp;#x3F;&amp;#x66;&amp;#61;&amp;#x73;&amp;#104;&amp;#111;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#x6D;&amp;#103;&amp;#38;&amp;#x6C;&amp;#x3D;&amp;#116;&amp;#104;&amp;#101;&amp;#114;&amp;#x69;&amp;#x67;&amp;#104;&amp;#116;&amp;#115;&amp;#116;&amp;#117;&amp;#102;&amp;#102;&amp;#x26;&amp;#x69;&amp;#100;&amp;#61;&amp;#50;&amp;#x30;&amp;#48;&amp;#x39;&amp;#x30;&amp;#51;&amp;#x31;&amp;#52;&amp;#x32;&amp;#x31;&amp;#53;&amp;#x35;&amp;#49;&amp;#x31;&amp;#x26;&amp;#x63;&amp;#105;&amp;#100;&amp;#61;&amp;#102;&amp;#x36;&amp;#x39;&amp;#x36;&amp;#x33;&amp;#54;&amp;#102;&amp;#54;&amp;#101;&amp;#x35;&amp;#x66;&amp;#54;&amp;#x32;&amp;#x37;&amp;#53;&amp;#x37;&amp;#x61;&amp;#55;&amp;#97;&amp;#50;&amp;#101;&amp;#54;&amp;#x37;&amp;#54;&amp;#57;&amp;#x36;&amp;#54;&amp;#x40;&amp;#77;&amp;#73;&amp;#77;&amp;#69;&amp;#45;&amp;#76;&amp;#105;&amp;#x74;&amp;#x65;&amp;#45;&amp;#x48;&amp;#84;&amp;#77;&amp;#76;&amp;#45;&amp;#49;&amp;#46;&amp;#50;&amp;#x32;&quot; alt=&quot;&quot; /&gt;Yahoo Buzz&lt;/a&gt;
						&lt;a href=&quot;#&quot; id=&quot;abtt.share.arrow&quot; class=&quot;expand&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#x2F;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#101;&amp;#114;&amp;#x2E;&amp;#114;&amp;#101;&amp;#x6C;&amp;#x69;&amp;#97;&amp;#110;&amp;#99;&amp;#101;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#x6F;&amp;#x6D;&amp;#x2F;&amp;#47;&amp;#109;&amp;#97;&amp;#x69;&amp;#108;&amp;#x2E;&amp;#99;&amp;#x67;&amp;#x69;&amp;#63;&amp;#102;&amp;#x3D;&amp;#x73;&amp;#x68;&amp;#x6F;&amp;#x77;&amp;#95;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#x26;&amp;#108;&amp;#61;&amp;#x74;&amp;#x68;&amp;#101;&amp;#114;&amp;#105;&amp;#103;&amp;#104;&amp;#116;&amp;#115;&amp;#x74;&amp;#x75;&amp;#x66;&amp;#x66;&amp;#38;&amp;#x69;&amp;#100;&amp;#61;&amp;#x32;&amp;#x30;&amp;#48;&amp;#x39;&amp;#x30;&amp;#x33;&amp;#49;&amp;#52;&amp;#50;&amp;#x31;&amp;#x35;&amp;#53;&amp;#49;&amp;#49;&amp;#x26;&amp;#x63;&amp;#x69;&amp;#x64;&amp;#61;&amp;#52;&amp;#53;&amp;#x66;&amp;#55;&amp;#x33;&amp;#x36;&amp;#56;&amp;#x36;&amp;#x31;&amp;#x37;&amp;#50;&amp;#x36;&amp;#53;&amp;#x35;&amp;#102;&amp;#54;&amp;#x31;&amp;#55;&amp;#50;&amp;#55;&amp;#x32;&amp;#54;&amp;#102;&amp;#x37;&amp;#55;&amp;#50;&amp;#x65;&amp;#54;&amp;#x37;&amp;#54;&amp;#x39;&amp;#x36;&amp;#x36;&amp;#x40;&amp;#x4D;&amp;#x49;&amp;#x4D;&amp;#x45;&amp;#45;&amp;#76;&amp;#105;&amp;#x74;&amp;#x65;&amp;#45;&amp;#72;&amp;#x54;&amp;#77;&amp;#x4C;&amp;#x2D;&amp;#49;&amp;#x2E;&amp;#x32;&amp;#50;&quot; alt=&quot;more&quot; /&gt;&lt;/a&gt;
					&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.share.facebook&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#108;&amp;#101;&amp;#114;&amp;#46;&amp;#x72;&amp;#x65;&amp;#x6C;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#x63;&amp;#101;&amp;#112;&amp;#99;&amp;#46;&amp;#x63;&amp;#x6F;&amp;#109;&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#x67;&amp;#105;&amp;#x3F;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#104;&amp;#111;&amp;#x77;&amp;#x5F;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#108;&amp;#61;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#x67;&amp;#104;&amp;#x74;&amp;#115;&amp;#x74;&amp;#117;&amp;#102;&amp;#x66;&amp;#x26;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#50;&amp;#x30;&amp;#48;&amp;#x39;&amp;#x30;&amp;#x33;&amp;#49;&amp;#52;&amp;#x32;&amp;#49;&amp;#53;&amp;#53;&amp;#49;&amp;#49;&amp;#x26;&amp;#x63;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#x33;&amp;#x36;&amp;#x66;&amp;#x36;&amp;#101;&amp;#53;&amp;#x66;&amp;#54;&amp;#x36;&amp;#54;&amp;#49;&amp;#54;&amp;#51;&amp;#x36;&amp;#x35;&amp;#54;&amp;#50;&amp;#x36;&amp;#x66;&amp;#54;&amp;#102;&amp;#54;&amp;#x62;&amp;#50;&amp;#x65;&amp;#x36;&amp;#55;&amp;#x36;&amp;#57;&amp;#54;&amp;#x36;&amp;#x40;&amp;#77;&amp;#73;&amp;#77;&amp;#69;&amp;#x2D;&amp;#76;&amp;#x69;&amp;#116;&amp;#101;&amp;#x2D;&amp;#x48;&amp;#x54;&amp;#77;&amp;#x4C;&amp;#45;&amp;#49;&amp;#x2E;&amp;#50;&amp;#50;&quot; alt=&quot;&quot; /&gt;facebook&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.share.myspace&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#x65;&amp;#x72;&amp;#46;&amp;#x72;&amp;#x65;&amp;#108;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#99;&amp;#101;&amp;#112;&amp;#99;&amp;#46;&amp;#99;&amp;#111;&amp;#x6D;&amp;#47;&amp;#47;&amp;#109;&amp;#97;&amp;#x69;&amp;#108;&amp;#46;&amp;#x63;&amp;#103;&amp;#105;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#104;&amp;#111;&amp;#x77;&amp;#95;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#x26;&amp;#x6C;&amp;#61;&amp;#x74;&amp;#104;&amp;#x65;&amp;#x72;&amp;#105;&amp;#x67;&amp;#x68;&amp;#116;&amp;#115;&amp;#116;&amp;#x75;&amp;#102;&amp;#x66;&amp;#x26;&amp;#x69;&amp;#x64;&amp;#61;&amp;#50;&amp;#x30;&amp;#x30;&amp;#x39;&amp;#x30;&amp;#x33;&amp;#49;&amp;#x34;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#53;&amp;#x31;&amp;#49;&amp;#x26;&amp;#99;&amp;#105;&amp;#100;&amp;#x3D;&amp;#54;&amp;#51;&amp;#x36;&amp;#102;&amp;#x36;&amp;#x65;&amp;#x35;&amp;#x66;&amp;#x36;&amp;#100;&amp;#x37;&amp;#x39;&amp;#55;&amp;#51;&amp;#x37;&amp;#x30;&amp;#x36;&amp;#x31;&amp;#54;&amp;#51;&amp;#x36;&amp;#53;&amp;#50;&amp;#101;&amp;#54;&amp;#55;&amp;#x36;&amp;#x39;&amp;#54;&amp;#x36;&amp;#64;&amp;#77;&amp;#73;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#76;&amp;#105;&amp;#116;&amp;#101;&amp;#x2D;&amp;#x48;&amp;#84;&amp;#77;&amp;#x4C;&amp;#x2D;&amp;#x31;&amp;#x2E;&amp;#50;&amp;#50;&quot; alt=&quot;&quot; /&gt;MySpace&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.share.linkedin&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#x2F;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#101;&amp;#114;&amp;#x2E;&amp;#114;&amp;#x65;&amp;#x6C;&amp;#105;&amp;#97;&amp;#x6E;&amp;#99;&amp;#101;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#x6F;&amp;#109;&amp;#47;&amp;#47;&amp;#109;&amp;#97;&amp;#105;&amp;#x6C;&amp;#x2E;&amp;#x63;&amp;#x67;&amp;#105;&amp;#63;&amp;#102;&amp;#61;&amp;#x73;&amp;#x68;&amp;#x6F;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#61;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#x67;&amp;#104;&amp;#x74;&amp;#x73;&amp;#116;&amp;#x75;&amp;#x66;&amp;#x66;&amp;#x26;&amp;#105;&amp;#100;&amp;#x3D;&amp;#x32;&amp;#48;&amp;#x30;&amp;#57;&amp;#48;&amp;#51;&amp;#49;&amp;#52;&amp;#x32;&amp;#49;&amp;#53;&amp;#53;&amp;#x31;&amp;#49;&amp;#38;&amp;#99;&amp;#105;&amp;#x64;&amp;#61;&amp;#x33;&amp;#x36;&amp;#102;&amp;#54;&amp;#101;&amp;#x35;&amp;#102;&amp;#54;&amp;#x63;&amp;#54;&amp;#57;&amp;#54;&amp;#101;&amp;#54;&amp;#x62;&amp;#x36;&amp;#53;&amp;#x36;&amp;#x34;&amp;#x36;&amp;#x39;&amp;#x36;&amp;#x65;&amp;#x32;&amp;#x65;&amp;#54;&amp;#x37;&amp;#54;&amp;#x39;&amp;#54;&amp;#54;&amp;#64;&amp;#x4D;&amp;#x49;&amp;#x4D;&amp;#69;&amp;#45;&amp;#x4C;&amp;#x69;&amp;#116;&amp;#101;&amp;#45;&amp;#72;&amp;#84;&amp;#77;&amp;#x4C;&amp;#x2D;&amp;#49;&amp;#x2E;&amp;#x32;&amp;#x32;&quot; alt=&quot;&quot; /&gt;LinkedIn&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.share.digg&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#109;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#x65;&amp;#x72;&amp;#46;&amp;#114;&amp;#x65;&amp;#x6C;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#99;&amp;#101;&amp;#112;&amp;#99;&amp;#x2E;&amp;#99;&amp;#x6F;&amp;#109;&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#105;&amp;#x6C;&amp;#x2E;&amp;#99;&amp;#x67;&amp;#x69;&amp;#63;&amp;#102;&amp;#61;&amp;#115;&amp;#x68;&amp;#111;&amp;#x77;&amp;#95;&amp;#x69;&amp;#109;&amp;#103;&amp;#x26;&amp;#108;&amp;#61;&amp;#x74;&amp;#x68;&amp;#101;&amp;#114;&amp;#x69;&amp;#x67;&amp;#x68;&amp;#116;&amp;#x73;&amp;#x74;&amp;#117;&amp;#x66;&amp;#x66;&amp;#38;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#50;&amp;#48;&amp;#48;&amp;#57;&amp;#48;&amp;#x33;&amp;#49;&amp;#52;&amp;#x32;&amp;#49;&amp;#x35;&amp;#53;&amp;#x31;&amp;#49;&amp;#x26;&amp;#x63;&amp;#105;&amp;#x64;&amp;#61;&amp;#102;&amp;#54;&amp;#x39;&amp;#x36;&amp;#x33;&amp;#x36;&amp;#102;&amp;#54;&amp;#101;&amp;#x35;&amp;#102;&amp;#54;&amp;#x34;&amp;#x36;&amp;#x39;&amp;#54;&amp;#x37;&amp;#x36;&amp;#x37;&amp;#50;&amp;#x65;&amp;#x36;&amp;#x37;&amp;#54;&amp;#57;&amp;#x36;&amp;#54;&amp;#x40;&amp;#x4D;&amp;#x49;&amp;#77;&amp;#69;&amp;#45;&amp;#x4C;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#x2D;&amp;#72;&amp;#84;&amp;#x4D;&amp;#76;&amp;#x2D;&amp;#x31;&amp;#46;&amp;#x32;&amp;#50;&quot; alt=&quot;&quot; /&gt;Digg&lt;/a&gt;&lt;/li&gt;
					&lt;!-- li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.share.seenthis&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#47;&amp;#109;&amp;#x61;&amp;#105;&amp;#x6C;&amp;#x65;&amp;#x72;&amp;#46;&amp;#x72;&amp;#101;&amp;#108;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#x63;&amp;#x65;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#109;&amp;#x2F;&amp;#47;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#x2E;&amp;#x63;&amp;#103;&amp;#105;&amp;#63;&amp;#102;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#111;&amp;#x77;&amp;#x5F;&amp;#x69;&amp;#109;&amp;#x67;&amp;#x26;&amp;#x6C;&amp;#x3D;&amp;#x74;&amp;#104;&amp;#x65;&amp;#114;&amp;#x69;&amp;#103;&amp;#x68;&amp;#116;&amp;#x73;&amp;#116;&amp;#117;&amp;#x66;&amp;#102;&amp;#38;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#50;&amp;#48;&amp;#48;&amp;#57;&amp;#x30;&amp;#51;&amp;#x31;&amp;#x34;&amp;#x32;&amp;#x31;&amp;#53;&amp;#53;&amp;#x31;&amp;#49;&amp;#x26;&amp;#99;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#51;&amp;#54;&amp;#102;&amp;#x36;&amp;#101;&amp;#x35;&amp;#102;&amp;#55;&amp;#x33;&amp;#54;&amp;#x35;&amp;#x36;&amp;#53;&amp;#x36;&amp;#x65;&amp;#x37;&amp;#52;&amp;#x36;&amp;#x38;&amp;#x36;&amp;#x39;&amp;#55;&amp;#x33;&amp;#50;&amp;#101;&amp;#x36;&amp;#x37;&amp;#x36;&amp;#57;&amp;#54;&amp;#x36;&amp;#64;&amp;#x4D;&amp;#x49;&amp;#77;&amp;#69;&amp;#45;&amp;#76;&amp;#x69;&amp;#x74;&amp;#101;&amp;#x2D;&amp;#72;&amp;#x54;&amp;#x4D;&amp;#76;&amp;#x2D;&amp;#x31;&amp;#x2E;&amp;#x32;&amp;#x32;&quot; alt=&quot;&quot; /&gt;Seen This?&lt;/a&gt;&lt;/li --&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.share.delicios&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#101;&amp;#x72;&amp;#46;&amp;#x72;&amp;#101;&amp;#x6C;&amp;#x69;&amp;#x61;&amp;#x6E;&amp;#99;&amp;#101;&amp;#112;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#109;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#x67;&amp;#105;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#104;&amp;#111;&amp;#119;&amp;#95;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#108;&amp;#61;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#103;&amp;#104;&amp;#x74;&amp;#x73;&amp;#x74;&amp;#117;&amp;#x66;&amp;#x66;&amp;#38;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#50;&amp;#x30;&amp;#x30;&amp;#x39;&amp;#48;&amp;#51;&amp;#x31;&amp;#x34;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#x35;&amp;#x31;&amp;#49;&amp;#x26;&amp;#99;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#54;&amp;#102;&amp;#54;&amp;#x65;&amp;#53;&amp;#x66;&amp;#x36;&amp;#52;&amp;#54;&amp;#x35;&amp;#54;&amp;#99;&amp;#x36;&amp;#57;&amp;#x36;&amp;#51;&amp;#54;&amp;#57;&amp;#x36;&amp;#x66;&amp;#55;&amp;#53;&amp;#55;&amp;#51;&amp;#x32;&amp;#101;&amp;#x36;&amp;#x37;&amp;#54;&amp;#x39;&amp;#x36;&amp;#x36;&amp;#x40;&amp;#77;&amp;#73;&amp;#77;&amp;#x45;&amp;#45;&amp;#76;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#x2D;&amp;#72;&amp;#x54;&amp;#x4D;&amp;#76;&amp;#45;&amp;#49;&amp;#x2E;&amp;#50;&amp;#x32;&quot; alt=&quot;&quot; /&gt;del.icio.us&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.share.newsvine&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#101;&amp;#x72;&amp;#46;&amp;#x72;&amp;#x65;&amp;#108;&amp;#x69;&amp;#x61;&amp;#110;&amp;#x63;&amp;#101;&amp;#112;&amp;#x63;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#97;&amp;#105;&amp;#x6C;&amp;#46;&amp;#x63;&amp;#x67;&amp;#x69;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#x6F;&amp;#x77;&amp;#95;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#108;&amp;#61;&amp;#116;&amp;#x68;&amp;#101;&amp;#x72;&amp;#105;&amp;#103;&amp;#x68;&amp;#116;&amp;#115;&amp;#x74;&amp;#117;&amp;#102;&amp;#x66;&amp;#x26;&amp;#105;&amp;#100;&amp;#x3D;&amp;#x32;&amp;#x30;&amp;#x30;&amp;#57;&amp;#x30;&amp;#51;&amp;#x31;&amp;#52;&amp;#50;&amp;#49;&amp;#53;&amp;#53;&amp;#49;&amp;#49;&amp;#38;&amp;#x63;&amp;#x69;&amp;#100;&amp;#61;&amp;#x33;&amp;#54;&amp;#102;&amp;#54;&amp;#x65;&amp;#53;&amp;#x66;&amp;#x36;&amp;#101;&amp;#54;&amp;#x35;&amp;#x37;&amp;#x37;&amp;#x37;&amp;#x33;&amp;#x37;&amp;#x36;&amp;#54;&amp;#57;&amp;#54;&amp;#x65;&amp;#x36;&amp;#x35;&amp;#x32;&amp;#x65;&amp;#54;&amp;#55;&amp;#x36;&amp;#x39;&amp;#54;&amp;#x36;&amp;#64;&amp;#x4D;&amp;#73;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#76;&amp;#x69;&amp;#x74;&amp;#101;&amp;#45;&amp;#72;&amp;#x54;&amp;#77;&amp;#x4C;&amp;#x2D;&amp;#49;&amp;#46;&amp;#50;&amp;#x32;&quot; alt=&quot;&quot; /&gt;NewsVine&lt;/a&gt;&lt;/li&gt;
					&lt;!-- li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.share.google&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#108;&amp;#x65;&amp;#114;&amp;#46;&amp;#114;&amp;#101;&amp;#108;&amp;#x69;&amp;#97;&amp;#110;&amp;#99;&amp;#101;&amp;#x70;&amp;#x63;&amp;#46;&amp;#x63;&amp;#x6F;&amp;#109;&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#105;&amp;#x6C;&amp;#46;&amp;#99;&amp;#103;&amp;#105;&amp;#x3F;&amp;#x66;&amp;#61;&amp;#x73;&amp;#x68;&amp;#x6F;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#109;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#x3D;&amp;#116;&amp;#x68;&amp;#101;&amp;#114;&amp;#x69;&amp;#103;&amp;#104;&amp;#x74;&amp;#115;&amp;#116;&amp;#x75;&amp;#102;&amp;#102;&amp;#x26;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#50;&amp;#x30;&amp;#48;&amp;#57;&amp;#48;&amp;#x33;&amp;#49;&amp;#52;&amp;#x32;&amp;#49;&amp;#53;&amp;#53;&amp;#49;&amp;#x31;&amp;#38;&amp;#x63;&amp;#105;&amp;#100;&amp;#61;&amp;#x39;&amp;#54;&amp;#x33;&amp;#54;&amp;#102;&amp;#54;&amp;#101;&amp;#53;&amp;#x66;&amp;#54;&amp;#x37;&amp;#54;&amp;#102;&amp;#x36;&amp;#x66;&amp;#x36;&amp;#x37;&amp;#x36;&amp;#99;&amp;#x36;&amp;#x35;&amp;#50;&amp;#101;&amp;#x36;&amp;#x37;&amp;#x36;&amp;#x39;&amp;#54;&amp;#54;&amp;#x40;&amp;#x4D;&amp;#x49;&amp;#77;&amp;#x45;&amp;#45;&amp;#x4C;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#45;&amp;#x48;&amp;#84;&amp;#x4D;&amp;#76;&amp;#45;&amp;#49;&amp;#46;&amp;#x32;&amp;#50;&quot; alt=&quot;&quot; /&gt;Google&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.share.reddit&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#x6C;&amp;#x65;&amp;#114;&amp;#46;&amp;#114;&amp;#101;&amp;#x6C;&amp;#105;&amp;#97;&amp;#110;&amp;#99;&amp;#101;&amp;#112;&amp;#x63;&amp;#x2E;&amp;#99;&amp;#111;&amp;#109;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#46;&amp;#99;&amp;#x67;&amp;#105;&amp;#x3F;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#111;&amp;#119;&amp;#95;&amp;#x69;&amp;#109;&amp;#x67;&amp;#x26;&amp;#108;&amp;#61;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#x67;&amp;#x68;&amp;#x74;&amp;#x73;&amp;#x74;&amp;#117;&amp;#x66;&amp;#102;&amp;#38;&amp;#105;&amp;#100;&amp;#61;&amp;#x32;&amp;#48;&amp;#48;&amp;#x39;&amp;#48;&amp;#51;&amp;#49;&amp;#52;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#x35;&amp;#x31;&amp;#49;&amp;#x26;&amp;#99;&amp;#x69;&amp;#x64;&amp;#61;&amp;#x39;&amp;#54;&amp;#51;&amp;#54;&amp;#x66;&amp;#54;&amp;#101;&amp;#53;&amp;#102;&amp;#x37;&amp;#x32;&amp;#54;&amp;#x35;&amp;#x36;&amp;#x34;&amp;#x36;&amp;#52;&amp;#x36;&amp;#x39;&amp;#x37;&amp;#x34;&amp;#x32;&amp;#101;&amp;#54;&amp;#55;&amp;#x36;&amp;#x39;&amp;#x36;&amp;#x36;&amp;#x40;&amp;#77;&amp;#73;&amp;#77;&amp;#x45;&amp;#45;&amp;#76;&amp;#x69;&amp;#116;&amp;#101;&amp;#45;&amp;#x48;&amp;#84;&amp;#x4D;&amp;#x4C;&amp;#x2D;&amp;#49;&amp;#46;&amp;#x32;&amp;#50;&quot; alt=&quot;&quot; /&gt;Reddit&lt;/a&gt;&lt;/li --&gt;

					&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.share.stumble&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#108;&amp;#101;&amp;#x72;&amp;#x2E;&amp;#x72;&amp;#x65;&amp;#108;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#x63;&amp;#101;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#109;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#46;&amp;#x63;&amp;#103;&amp;#105;&amp;#63;&amp;#102;&amp;#x3D;&amp;#x73;&amp;#104;&amp;#111;&amp;#x77;&amp;#95;&amp;#105;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#61;&amp;#116;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#x67;&amp;#x68;&amp;#116;&amp;#115;&amp;#116;&amp;#x75;&amp;#x66;&amp;#102;&amp;#x26;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#x32;&amp;#48;&amp;#48;&amp;#x39;&amp;#48;&amp;#51;&amp;#x31;&amp;#52;&amp;#50;&amp;#49;&amp;#x35;&amp;#x35;&amp;#x31;&amp;#x31;&amp;#38;&amp;#99;&amp;#105;&amp;#100;&amp;#61;&amp;#54;&amp;#x65;&amp;#53;&amp;#x66;&amp;#55;&amp;#x33;&amp;#x37;&amp;#x34;&amp;#x37;&amp;#x35;&amp;#x36;&amp;#x64;&amp;#54;&amp;#x32;&amp;#54;&amp;#99;&amp;#x36;&amp;#x35;&amp;#55;&amp;#x35;&amp;#55;&amp;#48;&amp;#x36;&amp;#x66;&amp;#54;&amp;#x65;&amp;#x32;&amp;#101;&amp;#x36;&amp;#55;&amp;#x36;&amp;#x39;&amp;#x36;&amp;#x36;&amp;#64;&amp;#77;&amp;#73;&amp;#x4D;&amp;#69;&amp;#x2D;&amp;#x4C;&amp;#105;&amp;#116;&amp;#x65;&amp;#x2D;&amp;#72;&amp;#84;&amp;#x4D;&amp;#76;&amp;#x2D;&amp;#x31;&amp;#46;&amp;#x32;&amp;#x32;&quot; alt=&quot;&quot; /&gt;StumbleUpon&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.share.mixx&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#x65;&amp;#x72;&amp;#x2E;&amp;#x72;&amp;#x65;&amp;#x6C;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#99;&amp;#x65;&amp;#x70;&amp;#x63;&amp;#46;&amp;#x63;&amp;#111;&amp;#x6D;&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#103;&amp;#x69;&amp;#x3F;&amp;#102;&amp;#x3D;&amp;#115;&amp;#104;&amp;#111;&amp;#x77;&amp;#95;&amp;#105;&amp;#x6D;&amp;#x67;&amp;#x26;&amp;#108;&amp;#61;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#103;&amp;#x68;&amp;#116;&amp;#x73;&amp;#116;&amp;#117;&amp;#102;&amp;#102;&amp;#38;&amp;#105;&amp;#100;&amp;#61;&amp;#50;&amp;#x30;&amp;#48;&amp;#57;&amp;#48;&amp;#x33;&amp;#49;&amp;#x34;&amp;#x32;&amp;#49;&amp;#53;&amp;#x35;&amp;#x31;&amp;#49;&amp;#38;&amp;#99;&amp;#x69;&amp;#x64;&amp;#61;&amp;#102;&amp;#54;&amp;#x39;&amp;#54;&amp;#51;&amp;#54;&amp;#102;&amp;#54;&amp;#101;&amp;#53;&amp;#x66;&amp;#x36;&amp;#x64;&amp;#x36;&amp;#57;&amp;#55;&amp;#56;&amp;#55;&amp;#56;&amp;#x32;&amp;#x65;&amp;#54;&amp;#55;&amp;#54;&amp;#x39;&amp;#54;&amp;#x36;&amp;#64;&amp;#x4D;&amp;#x49;&amp;#77;&amp;#69;&amp;#x2D;&amp;#76;&amp;#x69;&amp;#116;&amp;#x65;&amp;#45;&amp;#x48;&amp;#84;&amp;#x4D;&amp;#x4C;&amp;#45;&amp;#x31;&amp;#x2E;&amp;#50;&amp;#50;&quot; alt=&quot;&quot; /&gt;Mixx&lt;/a&gt;&lt;/li&gt;
				&lt;/ul&gt;
			&lt;/div&gt;
		&lt;/li&gt;
		&lt;li class=&quot;fontsize&quot;&gt;
			&lt;a href=&quot;#&quot; id=&quot;abtt.at.tbs&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#109;&amp;#x61;&amp;#x69;&amp;#108;&amp;#x65;&amp;#x72;&amp;#x2E;&amp;#114;&amp;#x65;&amp;#x6C;&amp;#x69;&amp;#x61;&amp;#110;&amp;#99;&amp;#x65;&amp;#x70;&amp;#x63;&amp;#46;&amp;#x63;&amp;#111;&amp;#x6D;&amp;#47;&amp;#47;&amp;#109;&amp;#x61;&amp;#x69;&amp;#108;&amp;#x2E;&amp;#99;&amp;#103;&amp;#x69;&amp;#63;&amp;#102;&amp;#x3D;&amp;#115;&amp;#104;&amp;#x6F;&amp;#x77;&amp;#95;&amp;#105;&amp;#109;&amp;#103;&amp;#38;&amp;#108;&amp;#61;&amp;#x74;&amp;#104;&amp;#x65;&amp;#114;&amp;#x69;&amp;#103;&amp;#104;&amp;#116;&amp;#115;&amp;#x74;&amp;#x75;&amp;#x66;&amp;#102;&amp;#x26;&amp;#105;&amp;#100;&amp;#x3D;&amp;#x32;&amp;#48;&amp;#48;&amp;#x39;&amp;#48;&amp;#51;&amp;#49;&amp;#x34;&amp;#50;&amp;#x31;&amp;#x35;&amp;#53;&amp;#49;&amp;#x31;&amp;#38;&amp;#99;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#x36;&amp;#x33;&amp;#54;&amp;#x66;&amp;#54;&amp;#101;&amp;#53;&amp;#x66;&amp;#x37;&amp;#51;&amp;#x36;&amp;#100;&amp;#x36;&amp;#x31;&amp;#54;&amp;#99;&amp;#54;&amp;#99;&amp;#x36;&amp;#x35;&amp;#55;&amp;#50;&amp;#x32;&amp;#x65;&amp;#54;&amp;#55;&amp;#54;&amp;#57;&amp;#x36;&amp;#x36;&amp;#64;&amp;#77;&amp;#73;&amp;#77;&amp;#x45;&amp;#45;&amp;#76;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#x2D;&amp;#x48;&amp;#84;&amp;#x4D;&amp;#x4C;&amp;#x2D;&amp;#x31;&amp;#x2E;&amp;#50;&amp;#50;&quot; alt=&quot;smaller&quot; /&gt;&lt;/a&gt;
			&lt;span&gt;&lt;a href=&quot;#&quot; id=&quot;abtt.at.tbm&quot;&gt;Text Size&lt;/a&gt;&lt;/span&gt;

			&lt;a href=&quot;#&quot; id=&quot;abtt.at.tbl&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#x69;&amp;#108;&amp;#101;&amp;#114;&amp;#46;&amp;#114;&amp;#101;&amp;#108;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#99;&amp;#101;&amp;#112;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#109;&amp;#x2F;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#46;&amp;#x63;&amp;#x67;&amp;#105;&amp;#63;&amp;#x66;&amp;#61;&amp;#x73;&amp;#104;&amp;#111;&amp;#x77;&amp;#95;&amp;#105;&amp;#x6D;&amp;#103;&amp;#x26;&amp;#x6C;&amp;#x3D;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#x72;&amp;#x69;&amp;#x67;&amp;#104;&amp;#116;&amp;#x73;&amp;#x74;&amp;#117;&amp;#102;&amp;#x66;&amp;#x26;&amp;#105;&amp;#100;&amp;#61;&amp;#50;&amp;#48;&amp;#48;&amp;#57;&amp;#48;&amp;#x33;&amp;#x31;&amp;#x34;&amp;#x32;&amp;#49;&amp;#x35;&amp;#53;&amp;#49;&amp;#49;&amp;#38;&amp;#99;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#57;&amp;#54;&amp;#x33;&amp;#x36;&amp;#x66;&amp;#x36;&amp;#101;&amp;#53;&amp;#102;&amp;#54;&amp;#99;&amp;#x36;&amp;#x31;&amp;#x37;&amp;#50;&amp;#x36;&amp;#x37;&amp;#54;&amp;#53;&amp;#x37;&amp;#50;&amp;#x32;&amp;#101;&amp;#54;&amp;#x37;&amp;#x36;&amp;#x39;&amp;#54;&amp;#54;&amp;#64;&amp;#77;&amp;#x49;&amp;#77;&amp;#69;&amp;#45;&amp;#x4C;&amp;#105;&amp;#116;&amp;#x65;&amp;#45;&amp;#72;&amp;#84;&amp;#77;&amp;#76;&amp;#45;&amp;#x31;&amp;#46;&amp;#x32;&amp;#x32;&quot; alt=&quot;larger&quot; /&gt;&lt;/a&gt;
		&lt;/li&gt;
		&lt;li class=&quot;clear-both&quot;&gt;&amp;#160;&lt;/li&gt;
	&lt;/ul&gt;
&lt;/div&gt;

&lt;div id=&quot;article_pagination_top&quot; class=&quot;articlePagination&quot;&gt;   &lt;/div&gt;&lt;div id=&quot;article_story_body&quot; class=&quot;article story&quot;&gt;&lt;div class=&quot;articlePage&quot;&gt;&lt;p&gt;Barack Obama has written two famous, widely read books of autobiography -- &quot;Dreams from My Father&quot; and &quot;The Audacity of Hope.&quot; Let me introduce his third, a book that will touch everyone's life: &quot;A New Era of Responsibility: Renewing America's Promise. The President's Budget and Fiscal Preview&quot; (Government Printing Office, 141 pages, $26; free on the Web). This is the U.S. budget for laymen, and it's a must read.&lt;/p&gt;
&lt;p&gt;Turn immediately to page 11. There sits a chart called Figure 9. This is the Rosetta Stone to the presidential mind of Barack Obama. Memorize Figure 9, and you will never be confused. Not happy, perhaps, but not confused.&lt;/p&gt;
&lt;div class=&quot;insetContent embedType-image imageFormat-arbitrary&quot;&gt;&lt;div class=&quot;insetTree&quot; style=&quot;width: 394px;&quot;&gt;&lt;div class=&quot;insettipUnit&quot; style=&quot;width: 394px;&quot;&gt;&lt;a class=&quot;&quot; href=&quot;http://online.wsj.com/article/SB123681860305802821.html&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#108;&amp;#101;&amp;#x72;&amp;#x2E;&amp;#x72;&amp;#x65;&amp;#x6C;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#x63;&amp;#101;&amp;#x70;&amp;#99;&amp;#46;&amp;#x63;&amp;#111;&amp;#x6D;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#46;&amp;#x63;&amp;#x67;&amp;#x69;&amp;#63;&amp;#x66;&amp;#61;&amp;#115;&amp;#x68;&amp;#x6F;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#109;&amp;#x67;&amp;#x26;&amp;#x6C;&amp;#61;&amp;#116;&amp;#x68;&amp;#x65;&amp;#x72;&amp;#105;&amp;#103;&amp;#104;&amp;#x74;&amp;#x73;&amp;#116;&amp;#117;&amp;#x66;&amp;#102;&amp;#38;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#x32;&amp;#x30;&amp;#48;&amp;#x39;&amp;#x30;&amp;#51;&amp;#49;&amp;#x34;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#53;&amp;#x31;&amp;#x31;&amp;#x26;&amp;#x63;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#52;&amp;#50;&amp;#100;&amp;#x34;&amp;#x31;&amp;#x34;&amp;#97;&amp;#51;&amp;#x31;&amp;#51;&amp;#x34;&amp;#51;&amp;#57;&amp;#x34;&amp;#50;&amp;#53;&amp;#102;&amp;#55;&amp;#x37;&amp;#x36;&amp;#x63;&amp;#51;&amp;#48;&amp;#x33;&amp;#51;&amp;#51;&amp;#x31;&amp;#53;&amp;#102;&amp;#52;&amp;#101;&amp;#x35;&amp;#x33;&amp;#x35;&amp;#x66;&amp;#51;&amp;#x32;&amp;#51;&amp;#48;&amp;#51;&amp;#x30;&amp;#x33;&amp;#x39;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#51;&amp;#51;&amp;#x31;&amp;#51;&amp;#49;&amp;#x33;&amp;#x32;&amp;#x33;&amp;#x31;&amp;#x33;&amp;#x32;&amp;#x33;&amp;#52;&amp;#51;&amp;#50;&amp;#x33;&amp;#49;&amp;#x32;&amp;#x65;&amp;#x36;&amp;#x37;&amp;#x36;&amp;#x39;&amp;#x36;&amp;#54;&amp;#x40;&amp;#x4D;&amp;#73;&amp;#77;&amp;#69;&amp;#45;&amp;#76;&amp;#105;&amp;#x74;&amp;#101;&amp;#45;&amp;#x48;&amp;#84;&amp;#77;&amp;#76;&amp;#x2D;&amp;#49;&amp;#46;&amp;#x32;&amp;#x32;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[The Obama Rosetta Stone]&quot; height=&quot;319&quot; width=&quot;394&quot;/&gt;&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;One finds many charts in a federal budget, most attributed to such deep mines of data as the Census Bureau or the Bureau of Labor Statistics. The one on page 11 is attributed to &quot;Piketty and Saez.&quot;&lt;/p&gt;
&lt;p&gt;Either you know instantly what &quot;Piketty and Saez&quot; means, or you don't. If you do, you spent the past two years working to get Barack Obama into the White House. If you don't, their posse has a six-week head start on you.&lt;/p&gt;
&lt;p&gt;Thomas Piketty and Emmanuel Saez, French economists, are rock stars of the intellectual left. Their specialty is &quot;earnings inequality&quot; and &quot;wealth concentration.&quot;&lt;/p&gt;
&lt;p&gt;Messrs. Piketty and Saez have produced the most politically potent squiggle along an axis since Arthur Laffer drew his famous curve on a napkin in the mid-1970s. Laffer's was an economic argument for lowering tax rates for everyone. Piketty-Saez is a &lt;em&gt;moral&lt;/em&gt; argument for raising taxes on the rich.&lt;/p&gt;
&lt;div class=&quot;insetCol3wide&quot;&gt;&lt;div class=&quot;insetContent&quot;&gt;&lt;h3 class=&quot;first&quot;&gt;Podcast&lt;/h3&gt;&lt;p&gt;&lt;a class=&quot;&quot; href=&quot;http://online.wsj.com/public/resources/media/031109henningerpodcast.mp3&quot;&gt;Listen to Daniel Henninger's Wonder Land column, now available in audio format.&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;p&gt;As described in Mr. Obama's budget, these two economists have shown that by the end of 2004, the top 1% of taxpayers &quot;took home&quot; more than 22% of total national income. This trend, Fig. 9 notes, began during the Reagan presidency, skyrocketed through the Clinton years, dipped after George Bush beat Al Gore, then marched upward. Widening its own definition of money-grubbers, the budget says the top 10% of households &quot;held&quot; 70% of total wealth.&lt;/p&gt;
&lt;p&gt;Alan Reynolds of the Cato Institute criticized the Piketty-Saez study on these pages in October 2007. Whatever its merits, their &quot;Top 1%&quot; chart has become a totemic obsession in progressive policy circles.&lt;/p&gt;
&lt;p&gt;Turn to page five of Mr. Obama's federal budget, and one may read these commentaries on the top 1% datum:&lt;/p&gt;
&lt;p&gt;&quot;While middle-class families have been playing by the rules, living up to their responsibilities as neighbors and citizens, those at the commanding heights of our economy have not.&quot;&lt;/p&gt;
&lt;p&gt;&quot;Prudent investments in education, clean energy, health care and infrastructure were sacrificed for huge tax cuts for the wealthy and well-connected.&quot;&lt;/p&gt;
&lt;p&gt;&quot;There's nothing wrong with making money, but there is something wrong when we allow the playing field to be tilted so far in the favor of so few. . . . It's a legacy of irresponsibility, and it is our duty to change it.&quot;&lt;/p&gt;
&lt;div class=&quot;insetContent insetCol3wide embedType-video&quot;&gt;&lt;div class=&quot;insetTree&quot; id=&quot;articlevideo_1&quot;&gt;
&lt;/div&gt;&lt;/div&gt;&lt;p&gt;Mr. Obama made clear in the campaign his intention to raise taxes on this income class by letting the Bush tax cuts expire. What is becoming clearer as his presidency unfolds is that something deeper is underway here than merely using higher taxes to fund his policy goals in health, education and energy.&lt;/p&gt;
&lt;p&gt;The &quot;top 1%&quot; isn't just going to pay for these policies. Many of them would assent to that. The rancorous language used to describe these taxpayers makes it clear that as a matter of public policy they will be made to &quot;pay for&quot; the fact of their wealth -- no matter how many of them worked honestly and honorably to produce it. No Democratic president in 60 years has been this explicit.&lt;/p&gt;
&lt;p&gt;Complaints have emerged recently, on the right and left, that the $787 billion stimulus bill will produce less growth and jobs than planned because too much of it goes to social programs and transfer payments, or &quot;weak&quot; Keynesian stimulus. The administration's Romer-Bernstein study on the stimulus estimated by the end of next year it would increase jobs by 3.6 million and GDP by 3.7%.&lt;/p&gt;
&lt;p&gt;One of the &lt;a class=&quot;&quot; href=&quot;http://www.volkerwieland.com/docs/CCTW Mar 2.pdf&quot; target=&quot;_blank&quot;&gt;first technical examinations&lt;/a&gt; of the Romer-Bernstein projections has been released by Hoover Institution economists John Cogan and John Taylor, and German economists Tobias Cwik and Volker Wieland. They conclude that the growth and jobs stimulus will be only &lt;em&gt;one-sixth&lt;/em&gt; what the administration predicts. In part, this is because people anticipate that the spending burst will have to be financed by higher taxes and so will spend less than anticipated.&lt;/p&gt;
&lt;p&gt;New York's Mike Bloomberg, mayor of an economically damaged city, has noted the pointlessness of raising taxes on the rich when their wealth is plummeting, or of eliminating the charitable deduction for people who have less to give anyway.&lt;/p&gt;
&lt;p&gt;True but irrelevant. Mayor Bloomberg should read the Obama budget chapter, &quot;Inheriting a Legacy of Misplaced Priorities.&quot; The economy as most people understand it was a second-order concern of the stimulus strategy. The primary goal is a massive re-flowing of &quot;wealth&quot; from the top toward the bottom, to stop the moral failure they see in the budget's &quot;Top One Percent of Earners&quot; chart.&lt;/p&gt;
&lt;p&gt;The White House says its goal is simple &quot;fairness.&quot; That may be, as they understand fairness. But Figure 9 makes it clear that for the top earners, there will be blood. This presidency is going to be an act of retribution. In the words of the third book from Mr. Obama, &quot;it is our duty to change it.&quot;&lt;/p&gt;
&lt;p&gt;Write to &amp;#x68;&amp;#101;&amp;#x6E;&amp;#110;&amp;#105;&amp;#x6E;&amp;#103;&amp;#x65;&amp;#x72;&amp;#64;&amp;#x77;&amp;#x73;&amp;#106;&amp;#46;&amp;#x63;&amp;#x6F;&amp;#x6D;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Please add your comments to the&lt;/em&gt; &lt;a class=&quot;&quot; href=&quot;http://forums.wsj.com/viewtopic.php?t=5439&quot;&gt;Opinion Journal forum&lt;/a&gt;.&lt;/p&gt;
&lt;!-- article end --&gt;
&lt;/div&gt;   &lt;/div&gt;&lt;div id=&quot;article_pagination_bottom&quot; class=&quot;articlePagination&quot;&gt;   &lt;/div&gt;&lt;div class=&quot;col6wide&quot;&gt;
&lt;!-- http://wsjdesign.dowjones.net/ia_lib/detail.php?id=431 --&gt;	
&lt;!-- #tminclude &quot;/Users/spar/Sites/WSJDNID/branches/WSJ_Includes/modules/pfHeader.html&quot; --&gt;
        &lt;div id=&quot;printModeFooterAd&quot;&gt;&lt;/div&gt;
	&lt;div class=&quot;printSummary pfFooter&quot;&gt;
		&lt;p&gt;Copyright 2008 Dow Jones &amp; Company, Inc. All Rights Reserved&lt;/p&gt;
		&lt;p&gt;This copy is for your personal, non-commercial use only. Distribution and use of this material are governed by our &lt;a href=&quot;http://online.wsj.com/public/page/subscriber_agreement.html&quot;&gt;Subscriber Agreement&lt;/a&gt; and by copyright law. For non-personal use or to order multiple copies, please contact Dow Jones Reprints at 1-800-843-0008 or visit&lt;/p&gt;

		&lt;p&gt;&lt;a href=&quot;http://www.djreprints.com&quot;&gt;www.djreprints.com&lt;/a&gt;&lt;/p&gt;
	&lt;/div&gt;
	&lt;!-- end tminclude --&gt;
&lt;/div&gt;&lt;div class=&quot;bottomRow&quot;&gt;&lt;div class=&quot;more&quot;&gt;More In &lt;a href=&quot;http://online.wsj.com/public/page/news-opinion-commentary.html&quot;&gt;Opinion&lt;/a&gt; &lt;/div&gt;
&lt;/div&gt;    &lt;div class=&quot;articleTools_bottom&quot; id=&quot;abt.at.container&quot;&gt;
      &lt;ul class=&quot;aTools&quot;&gt;
        &lt;li class=&quot;aToolUnit listFirst&quot;&gt;&lt;a href=&quot;#&quot; id=&quot;abt.at.emailthis&quot;&gt;&lt;img  class=&quot;icon&quot; src=&quot;http:&amp;#x2F;&amp;#x2F;&amp;#109;&amp;#x61;&amp;#105;&amp;#108;&amp;#101;&amp;#x72;&amp;#x2E;&amp;#114;&amp;#101;&amp;#108;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#99;&amp;#x65;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#99;&amp;#111;&amp;#109;&amp;#x2F;&amp;#47;&amp;#109;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#x2E;&amp;#x63;&amp;#x67;&amp;#x69;&amp;#x3F;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#111;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#x3D;&amp;#116;&amp;#x68;&amp;#101;&amp;#114;&amp;#x69;&amp;#103;&amp;#104;&amp;#x74;&amp;#x73;&amp;#x74;&amp;#117;&amp;#x66;&amp;#x66;&amp;#x26;&amp;#105;&amp;#100;&amp;#61;&amp;#50;&amp;#48;&amp;#x30;&amp;#57;&amp;#x30;&amp;#x33;&amp;#x31;&amp;#52;&amp;#x32;&amp;#49;&amp;#x35;&amp;#53;&amp;#49;&amp;#x31;&amp;#38;&amp;#99;&amp;#105;&amp;#x64;&amp;#61;&amp;#x36;&amp;#57;&amp;#54;&amp;#51;&amp;#x36;&amp;#x66;&amp;#54;&amp;#x65;&amp;#x35;&amp;#x66;&amp;#x36;&amp;#53;&amp;#x36;&amp;#x64;&amp;#x36;&amp;#x31;&amp;#x36;&amp;#x39;&amp;#x36;&amp;#x63;&amp;#50;&amp;#x65;&amp;#x36;&amp;#55;&amp;#54;&amp;#57;&amp;#54;&amp;#x36;&amp;#64;&amp;#77;&amp;#x49;&amp;#77;&amp;#69;&amp;#45;&amp;#76;&amp;#105;&amp;#116;&amp;#x65;&amp;#x2D;&amp;#72;&amp;#x54;&amp;#x4D;&amp;#x4C;&amp;#x2D;&amp;#49;&amp;#46;&amp;#x32;&amp;#x32;&quot; alt=&quot;&quot; /&gt;Email&lt;/a&gt;&lt;/li&gt;
        &lt;li class=&quot;aToolUnit&quot;&gt;&lt;a href=&quot;#&quot; id=&quot;abt.at.print&quot;&gt;&lt;img  class=&quot;icon&quot; src=&quot;http:&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#105;&amp;#108;&amp;#101;&amp;#114;&amp;#x2E;&amp;#114;&amp;#x65;&amp;#x6C;&amp;#105;&amp;#x61;&amp;#110;&amp;#99;&amp;#101;&amp;#x70;&amp;#x63;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#109;&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#108;&amp;#46;&amp;#x63;&amp;#103;&amp;#x69;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#111;&amp;#119;&amp;#95;&amp;#105;&amp;#x6D;&amp;#x67;&amp;#x26;&amp;#108;&amp;#x3D;&amp;#116;&amp;#x68;&amp;#101;&amp;#x72;&amp;#x69;&amp;#103;&amp;#x68;&amp;#x74;&amp;#115;&amp;#116;&amp;#117;&amp;#102;&amp;#102;&amp;#38;&amp;#105;&amp;#x64;&amp;#61;&amp;#50;&amp;#x30;&amp;#x30;&amp;#57;&amp;#x30;&amp;#51;&amp;#49;&amp;#52;&amp;#x32;&amp;#49;&amp;#x35;&amp;#x35;&amp;#x31;&amp;#49;&amp;#x26;&amp;#x63;&amp;#105;&amp;#x64;&amp;#61;&amp;#x36;&amp;#57;&amp;#x36;&amp;#51;&amp;#54;&amp;#x66;&amp;#54;&amp;#x65;&amp;#53;&amp;#x66;&amp;#55;&amp;#48;&amp;#55;&amp;#50;&amp;#54;&amp;#x39;&amp;#54;&amp;#x65;&amp;#55;&amp;#52;&amp;#50;&amp;#x65;&amp;#54;&amp;#x37;&amp;#54;&amp;#x39;&amp;#x36;&amp;#54;&amp;#64;&amp;#77;&amp;#73;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#76;&amp;#x69;&amp;#x74;&amp;#101;&amp;#45;&amp;#x48;&amp;#x54;&amp;#x4D;&amp;#76;&amp;#45;&amp;#x31;&amp;#x2E;&amp;#x32;&amp;#x32;&quot; alt=&quot;&quot; /&gt;Printer Friendly&lt;/a&gt;&lt;/li&gt;
        &lt;li class=&quot;aToolUnit&quot;&gt;&lt;a href=&quot;#&quot; id=&quot;abt.at.reprint&quot;&gt;&lt;img  class=&quot;icon&quot; src=&quot;http:&amp;#47;&amp;#47;&amp;#109;&amp;#97;&amp;#105;&amp;#x6C;&amp;#x65;&amp;#114;&amp;#x2E;&amp;#114;&amp;#x65;&amp;#x6C;&amp;#x69;&amp;#x61;&amp;#x6E;&amp;#99;&amp;#x65;&amp;#x70;&amp;#99;&amp;#46;&amp;#99;&amp;#x6F;&amp;#109;&amp;#x2F;&amp;#47;&amp;#109;&amp;#x61;&amp;#x69;&amp;#108;&amp;#x2E;&amp;#99;&amp;#103;&amp;#105;&amp;#x3F;&amp;#102;&amp;#61;&amp;#115;&amp;#104;&amp;#111;&amp;#x77;&amp;#95;&amp;#x69;&amp;#109;&amp;#103;&amp;#38;&amp;#108;&amp;#61;&amp;#x74;&amp;#104;&amp;#x65;&amp;#x72;&amp;#x69;&amp;#103;&amp;#x68;&amp;#116;&amp;#x73;&amp;#116;&amp;#117;&amp;#102;&amp;#102;&amp;#38;&amp;#105;&amp;#100;&amp;#61;&amp;#x32;&amp;#x30;&amp;#48;&amp;#x39;&amp;#48;&amp;#x33;&amp;#49;&amp;#52;&amp;#x32;&amp;#49;&amp;#x35;&amp;#x35;&amp;#49;&amp;#x31;&amp;#x26;&amp;#99;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#54;&amp;#x33;&amp;#x36;&amp;#x66;&amp;#54;&amp;#x65;&amp;#x35;&amp;#102;&amp;#x37;&amp;#50;&amp;#x36;&amp;#x35;&amp;#x37;&amp;#x30;&amp;#x37;&amp;#50;&amp;#54;&amp;#57;&amp;#54;&amp;#101;&amp;#55;&amp;#52;&amp;#50;&amp;#101;&amp;#x36;&amp;#55;&amp;#54;&amp;#57;&amp;#54;&amp;#54;&amp;#64;&amp;#77;&amp;#73;&amp;#77;&amp;#x45;&amp;#x2D;&amp;#76;&amp;#105;&amp;#116;&amp;#x65;&amp;#45;&amp;#x48;&amp;#x54;&amp;#x4D;&amp;#x4C;&amp;#45;&amp;#x31;&amp;#46;&amp;#x32;&amp;#x32;&quot; alt=&quot;&quot; /&gt;Order Reprints&lt;/a&gt;&lt;/li&gt;
        &lt;li class=&quot;aToolUnit sponsor&quot;&gt;

&lt;div class=&quot;module_sponsor hidden&quot; id=&quot;abt.at.sponsor&quot;&gt;	
&lt;/div&gt;

&lt;/li&gt;
        &lt;li class=&quot;aToolUnit share&quot;&gt;
          &lt;div class=&quot;shareTitle&quot;&gt;

            Share:
          &lt;/div&gt;
          &lt;ul class=&quot;tooltipBar tooltipType-share&quot; id=&quot;abt.share&quot;&gt;
            &lt;li class=&quot;tooltipUnit&quot;&gt;
              &lt;div class=&quot;tooltipBox&quot;&gt;
                &lt;div class=&quot;tooltip&quot;&gt;
                  &lt;p&gt;Yahoo!&amp;#160;Buzz&lt;/p&gt;
                &lt;/div&gt;

              &lt;/div&gt;&lt;a href=&quot;http://buzz.yahoo.com/article/wsj/&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.ybuzz&quot; target=&quot;_blank&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#109;&amp;#x61;&amp;#x69;&amp;#108;&amp;#101;&amp;#114;&amp;#46;&amp;#x72;&amp;#101;&amp;#108;&amp;#105;&amp;#x61;&amp;#110;&amp;#x63;&amp;#101;&amp;#112;&amp;#x63;&amp;#46;&amp;#99;&amp;#x6F;&amp;#x6D;&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#46;&amp;#x63;&amp;#103;&amp;#105;&amp;#x3F;&amp;#x66;&amp;#61;&amp;#x73;&amp;#104;&amp;#111;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#x6D;&amp;#103;&amp;#38;&amp;#x6C;&amp;#x3D;&amp;#116;&amp;#104;&amp;#101;&amp;#114;&amp;#x69;&amp;#x67;&amp;#104;&amp;#116;&amp;#115;&amp;#116;&amp;#117;&amp;#102;&amp;#102;&amp;#x26;&amp;#x69;&amp;#100;&amp;#61;&amp;#50;&amp;#x30;&amp;#48;&amp;#x39;&amp;#x30;&amp;#51;&amp;#x31;&amp;#52;&amp;#x32;&amp;#x31;&amp;#53;&amp;#x35;&amp;#49;&amp;#x31;&amp;#x26;&amp;#x63;&amp;#105;&amp;#100;&amp;#61;&amp;#102;&amp;#x36;&amp;#x39;&amp;#x36;&amp;#x33;&amp;#54;&amp;#102;&amp;#54;&amp;#101;&amp;#x35;&amp;#x66;&amp;#54;&amp;#x32;&amp;#x37;&amp;#53;&amp;#x37;&amp;#x61;&amp;#55;&amp;#97;&amp;#50;&amp;#101;&amp;#54;&amp;#x37;&amp;#54;&amp;#57;&amp;#x36;&amp;#54;&amp;#x40;&amp;#77;&amp;#73;&amp;#77;&amp;#69;&amp;#45;&amp;#76;&amp;#105;&amp;#x74;&amp;#x65;&amp;#45;&amp;#x48;&amp;#84;&amp;#77;&amp;#76;&amp;#45;&amp;#49;&amp;#46;&amp;#50;&amp;#x32;&quot; alt=&quot;Yahoo Buzz&quot; /&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class=&quot;tooltipUnit&quot;&gt;
              &lt;div class=&quot;tooltipBox&quot;&gt;
                &lt;div class=&quot;tooltip&quot;&gt;
                  &lt;p&gt;facebook&lt;/p&gt;
                &lt;/div&gt;
              &lt;/div&gt;&lt;a href=&quot;#&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.facebook&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#108;&amp;#101;&amp;#114;&amp;#46;&amp;#x72;&amp;#x65;&amp;#x6C;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#x63;&amp;#101;&amp;#112;&amp;#99;&amp;#46;&amp;#x63;&amp;#x6F;&amp;#109;&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#x67;&amp;#105;&amp;#x3F;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#104;&amp;#111;&amp;#x77;&amp;#x5F;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#108;&amp;#61;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#x67;&amp;#104;&amp;#x74;&amp;#115;&amp;#x74;&amp;#117;&amp;#102;&amp;#x66;&amp;#x26;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#50;&amp;#x30;&amp;#48;&amp;#x39;&amp;#x30;&amp;#x33;&amp;#49;&amp;#52;&amp;#x32;&amp;#49;&amp;#53;&amp;#53;&amp;#49;&amp;#49;&amp;#x26;&amp;#x63;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#x33;&amp;#x36;&amp;#x66;&amp;#x36;&amp;#101;&amp;#53;&amp;#x66;&amp;#54;&amp;#x36;&amp;#54;&amp;#49;&amp;#54;&amp;#51;&amp;#x36;&amp;#x35;&amp;#54;&amp;#50;&amp;#x36;&amp;#x66;&amp;#54;&amp;#102;&amp;#54;&amp;#x62;&amp;#50;&amp;#x65;&amp;#x36;&amp;#55;&amp;#x36;&amp;#57;&amp;#54;&amp;#x36;&amp;#x40;&amp;#77;&amp;#73;&amp;#77;&amp;#69;&amp;#x2D;&amp;#76;&amp;#x69;&amp;#116;&amp;#101;&amp;#x2D;&amp;#x48;&amp;#x54;&amp;#77;&amp;#x4C;&amp;#45;&amp;#49;&amp;#x2E;&amp;#50;&amp;#50;&quot; alt=&quot;facebook&quot; /&gt;&lt;/a&gt;

            &lt;/li&gt;
            &lt;li class=&quot;tooltipUnit&quot;&gt;
              &lt;div class=&quot;tooltipBox&quot;&gt;
                &lt;div class=&quot;tooltip&quot;&gt;
                  &lt;p&gt;MySpace&lt;/p&gt;
                &lt;/div&gt;
              &lt;/div&gt;&lt;a href=&quot;#&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.myspace&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#x65;&amp;#x72;&amp;#46;&amp;#x72;&amp;#x65;&amp;#108;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#99;&amp;#101;&amp;#112;&amp;#99;&amp;#46;&amp;#99;&amp;#111;&amp;#x6D;&amp;#47;&amp;#47;&amp;#109;&amp;#97;&amp;#x69;&amp;#108;&amp;#46;&amp;#x63;&amp;#103;&amp;#105;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#104;&amp;#111;&amp;#x77;&amp;#95;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#x26;&amp;#x6C;&amp;#61;&amp;#x74;&amp;#104;&amp;#x65;&amp;#x72;&amp;#105;&amp;#x67;&amp;#x68;&amp;#116;&amp;#115;&amp;#116;&amp;#x75;&amp;#102;&amp;#x66;&amp;#x26;&amp;#x69;&amp;#x64;&amp;#61;&amp;#50;&amp;#x30;&amp;#x30;&amp;#x39;&amp;#x30;&amp;#x33;&amp;#49;&amp;#x34;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#53;&amp;#x31;&amp;#49;&amp;#x26;&amp;#99;&amp;#105;&amp;#100;&amp;#x3D;&amp;#54;&amp;#51;&amp;#x36;&amp;#102;&amp;#x36;&amp;#x65;&amp;#x35;&amp;#x66;&amp;#x36;&amp;#100;&amp;#x37;&amp;#x39;&amp;#55;&amp;#51;&amp;#x37;&amp;#x30;&amp;#x36;&amp;#x31;&amp;#54;&amp;#51;&amp;#x36;&amp;#53;&amp;#50;&amp;#101;&amp;#54;&amp;#55;&amp;#x36;&amp;#x39;&amp;#54;&amp;#x36;&amp;#64;&amp;#77;&amp;#73;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#76;&amp;#105;&amp;#116;&amp;#101;&amp;#x2D;&amp;#x48;&amp;#84;&amp;#77;&amp;#x4C;&amp;#x2D;&amp;#x31;&amp;#x2E;&amp;#50;&amp;#50;&quot; alt=&quot;MySpace&quot; /&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class=&quot;tooltipUnit&quot;&gt;
              &lt;div class=&quot;tooltipBox&quot;&gt;
                &lt;div class=&quot;tooltip&quot;&gt;
                  &lt;p&gt;LinkedIn&lt;/p&gt;
                &lt;/div&gt;
              &lt;/div&gt;&lt;a href=&quot;#&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.linkedin&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#x2F;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#101;&amp;#114;&amp;#x2E;&amp;#114;&amp;#x65;&amp;#x6C;&amp;#105;&amp;#97;&amp;#x6E;&amp;#99;&amp;#101;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#x6F;&amp;#109;&amp;#47;&amp;#47;&amp;#109;&amp;#97;&amp;#105;&amp;#x6C;&amp;#x2E;&amp;#x63;&amp;#x67;&amp;#105;&amp;#63;&amp;#102;&amp;#61;&amp;#x73;&amp;#x68;&amp;#x6F;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#61;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#x67;&amp;#104;&amp;#x74;&amp;#x73;&amp;#116;&amp;#x75;&amp;#x66;&amp;#x66;&amp;#x26;&amp;#105;&amp;#100;&amp;#x3D;&amp;#x32;&amp;#48;&amp;#x30;&amp;#57;&amp;#48;&amp;#51;&amp;#49;&amp;#52;&amp;#x32;&amp;#49;&amp;#53;&amp;#53;&amp;#x31;&amp;#49;&amp;#38;&amp;#99;&amp;#105;&amp;#x64;&amp;#61;&amp;#x33;&amp;#x36;&amp;#102;&amp;#54;&amp;#101;&amp;#x35;&amp;#102;&amp;#54;&amp;#x63;&amp;#54;&amp;#57;&amp;#54;&amp;#101;&amp;#54;&amp;#x62;&amp;#x36;&amp;#53;&amp;#x36;&amp;#x34;&amp;#x36;&amp;#x39;&amp;#x36;&amp;#x65;&amp;#x32;&amp;#x65;&amp;#54;&amp;#x37;&amp;#54;&amp;#x39;&amp;#54;&amp;#54;&amp;#64;&amp;#x4D;&amp;#x49;&amp;#x4D;&amp;#69;&amp;#45;&amp;#x4C;&amp;#x69;&amp;#116;&amp;#101;&amp;#45;&amp;#72;&amp;#84;&amp;#77;&amp;#x4C;&amp;#x2D;&amp;#49;&amp;#x2E;&amp;#x32;&amp;#x32;&quot; alt=&quot;LinkedIn&quot; /&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class=&quot;tooltipUnit&quot;&gt;
              &lt;div class=&quot;tooltipBox&quot;&gt;
                &lt;div class=&quot;tooltip&quot;&gt;
                  &lt;p&gt;Digg&lt;/p&gt;
                &lt;/div&gt;
              &lt;/div&gt;&lt;a href=&quot;#&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.digg&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#109;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#x65;&amp;#x72;&amp;#46;&amp;#114;&amp;#x65;&amp;#x6C;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#99;&amp;#101;&amp;#112;&amp;#99;&amp;#x2E;&amp;#99;&amp;#x6F;&amp;#109;&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#105;&amp;#x6C;&amp;#x2E;&amp;#99;&amp;#x67;&amp;#x69;&amp;#63;&amp;#102;&amp;#61;&amp;#115;&amp;#x68;&amp;#111;&amp;#x77;&amp;#95;&amp;#x69;&amp;#109;&amp;#103;&amp;#x26;&amp;#108;&amp;#61;&amp;#x74;&amp;#x68;&amp;#101;&amp;#114;&amp;#x69;&amp;#x67;&amp;#x68;&amp;#116;&amp;#x73;&amp;#x74;&amp;#117;&amp;#x66;&amp;#x66;&amp;#38;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#50;&amp;#48;&amp;#48;&amp;#57;&amp;#48;&amp;#x33;&amp;#49;&amp;#52;&amp;#x32;&amp;#49;&amp;#x35;&amp;#53;&amp;#x31;&amp;#49;&amp;#x26;&amp;#x63;&amp;#105;&amp;#x64;&amp;#61;&amp;#102;&amp;#54;&amp;#x39;&amp;#x36;&amp;#x33;&amp;#x36;&amp;#102;&amp;#54;&amp;#101;&amp;#x35;&amp;#102;&amp;#54;&amp;#x34;&amp;#x36;&amp;#x39;&amp;#54;&amp;#x37;&amp;#x36;&amp;#x37;&amp;#50;&amp;#x65;&amp;#x36;&amp;#x37;&amp;#54;&amp;#57;&amp;#x36;&amp;#54;&amp;#x40;&amp;#x4D;&amp;#x49;&amp;#77;&amp;#69;&amp;#45;&amp;#x4C;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#x2D;&amp;#72;&amp;#84;&amp;#x4D;&amp;#76;&amp;#x2D;&amp;#x31;&amp;#46;&amp;#x32;&amp;#50;&quot; alt=&quot;Digg&quot; /&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;!-- li class=&quot;tooltipUnit&quot;&gt;

              &lt;div class=&quot;tooltipBox&quot;&gt;
                &lt;div class=&quot;tooltip&quot;&gt;
                  &lt;p&gt;Seen&amp;#160;This?&lt;/p&gt;
                &lt;/div&gt;
              &lt;/div&gt;&lt;a href=&quot;#&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.seenthis&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#47;&amp;#109;&amp;#x61;&amp;#105;&amp;#x6C;&amp;#x65;&amp;#x72;&amp;#46;&amp;#x72;&amp;#101;&amp;#108;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#x63;&amp;#x65;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#109;&amp;#x2F;&amp;#47;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#x2E;&amp;#x63;&amp;#103;&amp;#105;&amp;#63;&amp;#102;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#111;&amp;#x77;&amp;#x5F;&amp;#x69;&amp;#109;&amp;#x67;&amp;#x26;&amp;#x6C;&amp;#x3D;&amp;#x74;&amp;#104;&amp;#x65;&amp;#114;&amp;#x69;&amp;#103;&amp;#x68;&amp;#116;&amp;#x73;&amp;#116;&amp;#117;&amp;#x66;&amp;#102;&amp;#38;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#50;&amp;#48;&amp;#48;&amp;#57;&amp;#x30;&amp;#51;&amp;#x31;&amp;#x34;&amp;#x32;&amp;#x31;&amp;#53;&amp;#53;&amp;#x31;&amp;#49;&amp;#x26;&amp;#99;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#51;&amp;#54;&amp;#102;&amp;#x36;&amp;#101;&amp;#x35;&amp;#102;&amp;#55;&amp;#x33;&amp;#54;&amp;#x35;&amp;#x36;&amp;#53;&amp;#x36;&amp;#x65;&amp;#x37;&amp;#52;&amp;#x36;&amp;#x38;&amp;#x36;&amp;#x39;&amp;#55;&amp;#x33;&amp;#50;&amp;#101;&amp;#x36;&amp;#x37;&amp;#x36;&amp;#57;&amp;#54;&amp;#x36;&amp;#64;&amp;#x4D;&amp;#x49;&amp;#77;&amp;#69;&amp;#45;&amp;#76;&amp;#x69;&amp;#x74;&amp;#101;&amp;#x2D;&amp;#72;&amp;#x54;&amp;#x4D;&amp;#76;&amp;#x2D;&amp;#x31;&amp;#x2E;&amp;#x32;&amp;#x32;&quot; alt=&quot;Seen This?&quot; /&gt;&lt;/a&gt;
            &lt;/li --&gt;
            &lt;li class=&quot;tooltipUnit&quot;&gt;
              &lt;div class=&quot;tooltipBox&quot;&gt;

                &lt;div class=&quot;tooltip&quot;&gt;
                  &lt;p&gt;del.icio.us&lt;/p&gt;
                &lt;/div&gt;
              &lt;/div&gt;&lt;a href=&quot;#&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.delicios&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#101;&amp;#x72;&amp;#46;&amp;#x72;&amp;#101;&amp;#x6C;&amp;#x69;&amp;#x61;&amp;#x6E;&amp;#99;&amp;#101;&amp;#112;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#109;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#x67;&amp;#105;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#104;&amp;#111;&amp;#119;&amp;#95;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#108;&amp;#61;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#103;&amp;#104;&amp;#x74;&amp;#x73;&amp;#x74;&amp;#117;&amp;#x66;&amp;#x66;&amp;#38;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#50;&amp;#x30;&amp;#x30;&amp;#x39;&amp;#48;&amp;#51;&amp;#x31;&amp;#x34;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#x35;&amp;#x31;&amp;#49;&amp;#x26;&amp;#99;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#54;&amp;#102;&amp;#54;&amp;#x65;&amp;#53;&amp;#x66;&amp;#x36;&amp;#52;&amp;#54;&amp;#x35;&amp;#54;&amp;#99;&amp;#x36;&amp;#57;&amp;#x36;&amp;#51;&amp;#54;&amp;#57;&amp;#x36;&amp;#x66;&amp;#55;&amp;#53;&amp;#55;&amp;#51;&amp;#x32;&amp;#101;&amp;#x36;&amp;#x37;&amp;#54;&amp;#x39;&amp;#x36;&amp;#x36;&amp;#x40;&amp;#77;&amp;#73;&amp;#77;&amp;#x45;&amp;#45;&amp;#76;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#x2D;&amp;#72;&amp;#x54;&amp;#x4D;&amp;#76;&amp;#45;&amp;#49;&amp;#x2E;&amp;#50;&amp;#x32;&quot; alt=&quot;del.icio.us&quot; /&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class=&quot;tooltipUnit&quot;&gt;
              &lt;div class=&quot;tooltipBox&quot;&gt;
                &lt;div class=&quot;tooltip&quot;&gt;

                  &lt;p&gt;NewsVine&lt;/p&gt;
                &lt;/div&gt;
              &lt;/div&gt;&lt;a href=&quot;#&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.newsvine&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#101;&amp;#x72;&amp;#46;&amp;#x72;&amp;#x65;&amp;#108;&amp;#x69;&amp;#x61;&amp;#110;&amp;#x63;&amp;#101;&amp;#112;&amp;#x63;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#97;&amp;#105;&amp;#x6C;&amp;#46;&amp;#x63;&amp;#x67;&amp;#x69;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#x6F;&amp;#x77;&amp;#95;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#108;&amp;#61;&amp;#116;&amp;#x68;&amp;#101;&amp;#x72;&amp;#105;&amp;#103;&amp;#x68;&amp;#116;&amp;#115;&amp;#x74;&amp;#117;&amp;#102;&amp;#x66;&amp;#x26;&amp;#105;&amp;#100;&amp;#x3D;&amp;#x32;&amp;#x30;&amp;#x30;&amp;#57;&amp;#x30;&amp;#51;&amp;#x31;&amp;#52;&amp;#50;&amp;#49;&amp;#53;&amp;#53;&amp;#49;&amp;#49;&amp;#38;&amp;#x63;&amp;#x69;&amp;#100;&amp;#61;&amp;#x33;&amp;#54;&amp;#102;&amp;#54;&amp;#x65;&amp;#53;&amp;#x66;&amp;#x36;&amp;#101;&amp;#54;&amp;#x35;&amp;#x37;&amp;#x37;&amp;#x37;&amp;#x33;&amp;#x37;&amp;#x36;&amp;#54;&amp;#57;&amp;#54;&amp;#x65;&amp;#x36;&amp;#x35;&amp;#x32;&amp;#x65;&amp;#54;&amp;#55;&amp;#x36;&amp;#x39;&amp;#54;&amp;#x36;&amp;#64;&amp;#x4D;&amp;#73;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#76;&amp;#x69;&amp;#x74;&amp;#101;&amp;#45;&amp;#72;&amp;#x54;&amp;#77;&amp;#x4C;&amp;#x2D;&amp;#49;&amp;#46;&amp;#50;&amp;#x32;&quot; alt=&quot;NewsVine&quot; /&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;!-- li class=&quot;tooltipUnit&quot;&gt;
              &lt;div class=&quot;tooltipBox&quot;&gt;
                &lt;div class=&quot;tooltip&quot;&gt;
                  &lt;p&gt;Google&lt;/p&gt;

                &lt;/div&gt;
              &lt;/div&gt;&lt;a href=&quot;#&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.google&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#108;&amp;#x65;&amp;#114;&amp;#46;&amp;#114;&amp;#101;&amp;#108;&amp;#x69;&amp;#97;&amp;#110;&amp;#99;&amp;#101;&amp;#x70;&amp;#x63;&amp;#46;&amp;#x63;&amp;#x6F;&amp;#109;&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#105;&amp;#x6C;&amp;#46;&amp;#99;&amp;#103;&amp;#105;&amp;#x3F;&amp;#x66;&amp;#61;&amp;#x73;&amp;#x68;&amp;#x6F;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#109;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#x3D;&amp;#116;&amp;#x68;&amp;#101;&amp;#114;&amp;#x69;&amp;#103;&amp;#104;&amp;#x74;&amp;#115;&amp;#116;&amp;#x75;&amp;#102;&amp;#102;&amp;#x26;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#50;&amp;#x30;&amp;#48;&amp;#57;&amp;#48;&amp;#x33;&amp;#49;&amp;#52;&amp;#x32;&amp;#49;&amp;#53;&amp;#53;&amp;#49;&amp;#x31;&amp;#38;&amp;#x63;&amp;#105;&amp;#100;&amp;#61;&amp;#x39;&amp;#54;&amp;#x33;&amp;#54;&amp;#102;&amp;#54;&amp;#101;&amp;#53;&amp;#x66;&amp;#54;&amp;#x37;&amp;#54;&amp;#102;&amp;#x36;&amp;#x66;&amp;#x36;&amp;#x37;&amp;#x36;&amp;#99;&amp;#x36;&amp;#x35;&amp;#50;&amp;#101;&amp;#x36;&amp;#x37;&amp;#x36;&amp;#x39;&amp;#54;&amp;#54;&amp;#x40;&amp;#x4D;&amp;#x49;&amp;#77;&amp;#x45;&amp;#45;&amp;#x4C;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#45;&amp;#x48;&amp;#84;&amp;#x4D;&amp;#76;&amp;#45;&amp;#49;&amp;#46;&amp;#x32;&amp;#50;&quot; alt=&quot;Google&quot; /&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;li class=&quot;tooltipUnit&quot;&gt;
              &lt;div class=&quot;tooltipBox&quot;&gt;
                &lt;div class=&quot;tooltip&quot;&gt;
                  &lt;p&gt;Reddit&lt;/p&gt;
                &lt;/div&gt;

              &lt;/div&gt;&lt;a href=&quot;#&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.reddit&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#x6C;&amp;#x65;&amp;#114;&amp;#46;&amp;#114;&amp;#101;&amp;#x6C;&amp;#105;&amp;#97;&amp;#110;&amp;#99;&amp;#101;&amp;#112;&amp;#x63;&amp;#x2E;&amp;#99;&amp;#111;&amp;#109;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#46;&amp;#99;&amp;#x67;&amp;#105;&amp;#x3F;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#111;&amp;#119;&amp;#95;&amp;#x69;&amp;#109;&amp;#x67;&amp;#x26;&amp;#108;&amp;#61;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#x67;&amp;#x68;&amp;#x74;&amp;#x73;&amp;#x74;&amp;#117;&amp;#x66;&amp;#102;&amp;#38;&amp;#105;&amp;#100;&amp;#61;&amp;#x32;&amp;#48;&amp;#48;&amp;#x39;&amp;#48;&amp;#51;&amp;#49;&amp;#52;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#x35;&amp;#x31;&amp;#49;&amp;#x26;&amp;#99;&amp;#x69;&amp;#x64;&amp;#61;&amp;#x39;&amp;#54;&amp;#51;&amp;#54;&amp;#x66;&amp;#54;&amp;#101;&amp;#53;&amp;#102;&amp;#x37;&amp;#x32;&amp;#54;&amp;#x35;&amp;#x36;&amp;#x34;&amp;#x36;&amp;#52;&amp;#x36;&amp;#x39;&amp;#x37;&amp;#x34;&amp;#x32;&amp;#101;&amp;#54;&amp;#55;&amp;#x36;&amp;#x39;&amp;#x36;&amp;#x36;&amp;#x40;&amp;#77;&amp;#73;&amp;#77;&amp;#x45;&amp;#45;&amp;#76;&amp;#x69;&amp;#116;&amp;#101;&amp;#45;&amp;#x48;&amp;#84;&amp;#x4D;&amp;#x4C;&amp;#x2D;&amp;#49;&amp;#46;&amp;#x32;&amp;#50;&quot; alt=&quot;Reddit&quot; /&gt;&lt;/a&gt;
            &lt;/li --&gt;
            &lt;li class=&quot;tooltipUnit&quot;&gt;
              &lt;div class=&quot;tooltipBox&quot;&gt;
                &lt;div class=&quot;tooltip&quot;&gt;
                  &lt;p&gt;StumbleUpon&lt;/p&gt;
                &lt;/div&gt;
              &lt;/div&gt;&lt;a href=&quot;#&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.stumble&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#108;&amp;#101;&amp;#x72;&amp;#x2E;&amp;#x72;&amp;#x65;&amp;#108;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#x63;&amp;#101;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#109;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#46;&amp;#x63;&amp;#103;&amp;#105;&amp;#63;&amp;#102;&amp;#x3D;&amp;#x73;&amp;#104;&amp;#111;&amp;#x77;&amp;#95;&amp;#105;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#61;&amp;#116;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#x67;&amp;#x68;&amp;#116;&amp;#115;&amp;#116;&amp;#x75;&amp;#x66;&amp;#102;&amp;#x26;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#x32;&amp;#48;&amp;#48;&amp;#x39;&amp;#48;&amp;#51;&amp;#x31;&amp;#52;&amp;#50;&amp;#49;&amp;#x35;&amp;#x35;&amp;#x31;&amp;#x31;&amp;#38;&amp;#99;&amp;#105;&amp;#100;&amp;#61;&amp;#54;&amp;#x65;&amp;#53;&amp;#x66;&amp;#55;&amp;#x33;&amp;#x37;&amp;#x34;&amp;#x37;&amp;#x35;&amp;#x36;&amp;#x64;&amp;#54;&amp;#x32;&amp;#54;&amp;#99;&amp;#x36;&amp;#x35;&amp;#55;&amp;#x35;&amp;#55;&amp;#48;&amp;#x36;&amp;#x66;&amp;#54;&amp;#x65;&amp;#x32;&amp;#101;&amp;#x36;&amp;#55;&amp;#x36;&amp;#x39;&amp;#x36;&amp;#x36;&amp;#64;&amp;#77;&amp;#73;&amp;#x4D;&amp;#69;&amp;#x2D;&amp;#x4C;&amp;#105;&amp;#116;&amp;#x65;&amp;#x2D;&amp;#72;&amp;#84;&amp;#x4D;&amp;#76;&amp;#x2D;&amp;#x31;&amp;#46;&amp;#x32;&amp;#x32;&quot; alt=&quot;StumbleUpon&quot; /&gt;&lt;/a&gt;

            &lt;/li&gt;
            &lt;li class=&quot;tooltipUnit&quot;&gt;
              &lt;div class=&quot;tooltipBox&quot;&gt;
                &lt;div class=&quot;tooltip&quot;&gt;
                  &lt;p&gt;Mixx&lt;/p&gt;
                &lt;/div&gt;
              &lt;/div&gt;&lt;a href=&quot;#&quot; class=&quot;tipTarget&quot; id=&quot;abt.share.mixx&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#x65;&amp;#x72;&amp;#x2E;&amp;#x72;&amp;#x65;&amp;#x6C;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#99;&amp;#x65;&amp;#x70;&amp;#x63;&amp;#46;&amp;#x63;&amp;#111;&amp;#x6D;&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#103;&amp;#x69;&amp;#x3F;&amp;#102;&amp;#x3D;&amp;#115;&amp;#104;&amp;#111;&amp;#x77;&amp;#95;&amp;#105;&amp;#x6D;&amp;#x67;&amp;#x26;&amp;#108;&amp;#61;&amp;#x74;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#103;&amp;#x68;&amp;#116;&amp;#x73;&amp;#116;&amp;#117;&amp;#102;&amp;#102;&amp;#38;&amp;#105;&amp;#100;&amp;#61;&amp;#50;&amp;#x30;&amp;#48;&amp;#57;&amp;#48;&amp;#x33;&amp;#49;&amp;#x34;&amp;#x32;&amp;#49;&amp;#53;&amp;#x35;&amp;#x31;&amp;#49;&amp;#38;&amp;#99;&amp;#x69;&amp;#x64;&amp;#61;&amp;#102;&amp;#54;&amp;#x39;&amp;#54;&amp;#51;&amp;#54;&amp;#102;&amp;#54;&amp;#101;&amp;#53;&amp;#x66;&amp;#x36;&amp;#x64;&amp;#x36;&amp;#57;&amp;#55;&amp;#56;&amp;#55;&amp;#56;&amp;#x32;&amp;#x65;&amp;#54;&amp;#55;&amp;#54;&amp;#x39;&amp;#54;&amp;#x36;&amp;#64;&amp;#x4D;&amp;#x49;&amp;#77;&amp;#69;&amp;#x2D;&amp;#76;&amp;#x69;&amp;#116;&amp;#x65;&amp;#45;&amp;#x48;&amp;#84;&amp;#x4D;&amp;#x4C;&amp;#45;&amp;#x31;&amp;#x2E;&amp;#50;&amp;#50;&quot; alt=&quot;Mixx&quot; /&gt;&lt;/a&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;/li&gt;
        &lt;li class=&quot;aToolUnit clear-both&quot;&gt;&amp;#160;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;&lt;!--  Article Tools Complete End --&gt;
&lt;div class=&quot;adSummary msnlinks&quot;&gt;
&lt;script&gt;
var microsoft_adunitid= &quot;1784&quot;;
var microsoft_adunit_width=&quot;571&quot;;
var microsoft_adunit_height=&quot;164&quot;;
var microsoft_adunit_keywordhints=&quot;&quot;;
&lt;/script&gt;

&lt;!-- http://adsyndication.msn.com/delivery/getads.js --&gt;
&lt;script  type=&quot;text/javascript&quot; &gt;
&lt;!--
(function(){function clearCallParams(){var w=window;w.microsoft_adunitid=w.microsoft_adunit_height=w.microsoft_adunit_width=w.microsoft_lmt=w.microsoft_timezoneid=w.microsoft_offset=w.microsoft_adunit_titlefontcolor=w.microsoft_adunit_bodyfontcolor=w.microsoft_adunit_urlfontcolor=w.microsoft_adunit_bkcolor=w.microsoft_adunit_bordercolor=w.microsoft_adunit_keywordhints=w.microsoft_adunit_keywordscores=w.microsoft_adunit_categoryhints=w.microsoft_adunit_categoryscores=w.microsoft_adunit_channelids=w.microsoft_adunitformat=w.microsoft_adunit_legacy=w.microsoft_extrainfo=w.microsoft_adunit_referral=w.microsoft_adunitrotatorid=null}function microsoftErrorHandler(){Finalize();return true}function prepareUrl(url){url=url.substring(0,2000);url=url.replace(/  %  \ w ? $ /,&quot;&quot;);return url!=null?'&quot;'+url+'&quot;':'&quot;&quot;'}function setValue(n,v,c){if(v&amp;&amp;v!=&quot;undefined&quot;){if(c)v=v.replace(&quot;#&quot;,&quot;&quot;);return &quot;&amp;&quot;+n+&quot;=&quot;+escape(v)}return &quot;&quot;}function getQueryString(w){var q=&quot;&quot;;if((w.microsoft_adunit_legacy&amp;&amp;w.
microsoft_adunit_legacy==&quot;false&quot;)|w.microsoft_adunitrotatorid)q+=w.microsoft_feb;else q+=w.microsoft_de;if(w.microsoft_adunitrotatorid)q+=&quot;?p_abtest=&quot;+escape(w.microsoft_adunitrotatorid);else q+=&quot;?adunitid=&quot;+escape(w.microsoft_adunitid);q+=setValue(&quot;v&quot;,w.microsoft_ver);var prevAdUnits=&quot;&quot;;if(w.microsoft_adunits!=null)for(var i=0;i&lt;w.microsoft_adunits.length;i++)prevAdUnits+=w.microsoft_adunits+&quot;|&quot;;var prevadunitrotators=&quot;&quot;;if(w.microsoft_adunitrotators!=null)for(var i=0;i&lt;w.microsoft_adunitrotators.length;i++)prevadunitrotators+=w.microsoft_adunitrotators+&quot;|&quot;;q+=setValue(&quot;prevadunits&quot;,prevAdUnits);q+=setValue(&quot;patr&quot;,prevadunitrotators);q+=setValue(&quot;kw&quot;,w.microsoft_adunit_keywordhints);q+=setValue(&quot;kwsc&quot;,w.microsoft_adunit_keywordscores);q+=setValue(&quot;cat&quot;,w.microsoft_adunit_categoryhints);q+=setValue(&quot;catsc&quot;,w.microsoft_adunit_categoryscores);q+=setValue(&quot;channelid&quot;,w.microsoft_adunit_channelids);q+=setValue(&quot;e&quot;,w.microsoft_extrainfo);q+=setValue(&quot;w&quot;,w.microsoft_adunit_width);q+=setValue(&quot;h&quot;,w.microsoft_adunit_height);q+=setValue(&quot;titlecolor&quot;,w.microsoft_adunit_titlefontcolor,true);q+=setValue(&quot;bodycolor&quot;,w.microsoft_adunit_bodyfontcolor,true);q+=setValue(&quot;urlcolor&quot;,w.microsoft_adunit_urlfontcolor,true);q+=setValue(&quot;bkcolor&quot;,w.microsoft_adunit_bkcolor,true);q+=setValue(&quot;bordercolor&quot;,w.microsoft_adunit_bordercolor,true);q+=setValue(&quot;url&quot;,w.microsoft_adunit_referral?w.microsoft_adunit_referral:document.location);q+=setValue(&quot;ref&quot;,document.referrer);q+=setValue(&quot;lmt&quot;,w.microsoft_lmt);q+=setValue(&quot;tz&quot;,w.microsoft_offset);q+=setValue(&quot;cc&quot;,w.microsoft_cc);q+=setValue(&quot;dt&quot;,w.microsoft_dt);if(w.screen){q+=setValue(&quot;uh&quot;,w.screen.height);q+=setValue(&quot;uw&quot;,w.screen.width);q+=setValue(&quot;uah&quot;,w.screen.availHeight);q+=setValue(&quot;uaw&quot;,w.screen.availWidth);q+=setValue(&quot;cd&quot;,w.screen.colorDepth)}if(navigator.plugins)q+=setValue(&quot;npl&quot;,navigator.plugins.length);if(navigator.mimeTypes)q+=setValue(&quot;nmime&quot;,navigator.mimeTypes.length);q+=setValue(&quot;ja&quot;,navigator.javaEnabled());if(navigator.appName)q+=setValue(&quot;app&quot;,navigator.appName);q+=setValue(&quot;his&quot;,history.length);if(navigator.platform)q+=setValue(&quot;plf&quot;,navigator.platform);return q}function collectQueryData(){try{var w=window,d=document,dt=new Date;w.microsoft_offset=dt.getTimezoneOffset();w.microsoft_lmt=Date.parse(d.lastModified)/1000;w.microsoft_dt=dt.getTime();var h,sh;if(d.body&amp;&amp;d.body.scrollHeight&amp;&amp;d.body.clientHeight){h=100*d.body.scrollHeight;sh=d.body.clientHeight}if(h&amp;&amp;sh)w.microsoft_cc=Math.round(h/sh)}catch(error){}}function Init(){var w=window,d=document;w.microsoftErrorHandler=w.onerror;w.onerror=microsoftErrorHandler;var prefix=document.location.protocol+&quot;//&quot;;prefix=prefix==&quot;https://&quot;?prefix:&quot;http://&quot;;var fes=&quot;http://ac3.msn.com/de.ashx&quot;;w.microsoft_de=&quot;http://ac2.msn.com/&quot;;w.microsoft_ver=&quot;pubm10&quot;;if(fes.indexOf(&quot;http://&quot;)!=-1)fes=fes.replace(&quot;http://&quot;,&quot;&quot;);w.microsoft_feb=prefix+fes;collectQueryData()}function Render(){var d=document,w=window,url=getQueryString(w);if(w.microsoft_adunitformat==&quot;js&quot;)d.write('&lt;script type=&quot;text/javascript&quot; src='+prepareUrl(url)+&quot; &gt;&lt;br&gt;&lt;/script&gt;&quot;);else d.write(&quot;&lt;iframe SRC=&quot;+prepareUrl(url)+' width=&quot;'+w.microsoft_adunit_width+'&quot; height=&quot;'+w.microsoft_adunit_height+'&quot; allowTransparency=&quot;true&quot;'+' marginwidth=&quot;0&quot;  marginheight=&quot;0&quot; hspace=&quot;0&quot;  vspace=&quot;0&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot;&gt;&lt;/iframe&gt;')}function Finalize(){var w=window;if(w.microsoft_adunitid!=null)if(w.microsoft_adunits==null){w.microsoft_adunits=[];w.microsoft_adunits=w.microsoft_adunitid}else w.microsoft_adunits[w.microsoft_adunits.length]=w.microsoft_adunitid;if(w.microsoft_adunitrotatorid!=null)if(w.microsoft_adunitrotators==null){w.microsoft_adunitrotators=[];w.microsoft_adunitrotators=w.microsoft_adunitrotatorid}else w.microsoft_adunitrotators[w.microsoft_adunitrotators.length]=w.microsoft_adunitrotatorid;w.onerror=w.microsoftErrorHandler;clearCallParams()}Init();Render();Finalize()})()

--&gt;
&lt;/script&gt;

&lt;/script&gt;
&lt;/div&gt;
&lt;div id=&quot;ad0_0_WA_0001C&quot; class=&quot;adSummary&quot; &gt;
&lt;/div&gt;


&lt;div class=&quot;fromtheWeb&quot;&gt;
&lt;div class=&quot;headlineSummary&quot; id=&quot;sphere_container&quot;&gt;


&lt;h3&gt;
	Related Articles and Blogs from WSJ.com
	&lt;/h3&gt;
&lt;ul id=&quot;sphere_items&quot; class=&quot;newsItem&quot;&gt;
	
	
	
				
&lt;li&gt;
&lt;h2&gt;
&lt;a href=&quot;http://online.wsj.com/article/SB123692406387617187.html?mod=sphere_ts&amp;mod=sphere_wd&quot;&gt;Hong Kong, Singapore Face Scrutiny on Tax Policies&lt;/a&gt;
&lt;/h2&gt;
&lt;small&gt;MAR&amp;#160;14.&amp;#160;2009&lt;/small&gt;
&lt;/li&gt;
			
&lt;li&gt;
&lt;h2&gt;
&lt;a href=&quot;http://online.wsj.com/article/SB123689161351811405.html?mod=sphere_ts&amp;mod=sphere_wd&quot;&gt;Obama Makes Overtures for Cooperation of CEOs&lt;/a&gt;
&lt;/h2&gt;
&lt;small&gt;MAR&amp;#160;13.&amp;#160;2009&lt;/small&gt;
&lt;/li&gt;
			
&lt;li&gt;
&lt;h2&gt;
&lt;a href=&quot;http://blogs.wsj.com/washwire/2009/03/12/washington-wire-live-blogs-obamas-appearance-before-ceos?mod=sphere_ts&amp;mod=sphere_wd&quot;&gt;Washington Wire Live-Blogs Obama's Appearance Before CEOs&lt;/a&gt;
&lt;/h2&gt;
&lt;small&gt;MAR&amp;#160;12.&amp;#160;2009&lt;/small&gt;
&lt;/li&gt;
			
&lt;li&gt;
&lt;h2&gt;
&lt;a href=&quot;http://blogs.wsj.com/health/2009/03/10/obama-budget-director-criticized-as-vague-on-health-reform?mod=sphere_ts&amp;mod=sphere_wd&quot;&gt;Obama Budget Director Criticized as Vague on Health Reform&lt;/a&gt;
&lt;/h2&gt;
&lt;small&gt;MAR&amp;#160;10.&amp;#160;2009&lt;/small&gt;
&lt;/li&gt;
    
&lt;/ul&gt;


&lt;h3&gt;
	Related News From the Web
	&lt;/h3&gt;
&lt;ul id=&quot;sphere_items&quot; class=&quot;newsItem&quot;&gt;
	
	
	
				
&lt;li&gt;
&lt;h2&gt;
&lt;a href=&quot;http://money.aol.com/news/articles/_a/bbdp/top-obama-officials-defend-tax-hikes-as/367162?icid=sphere_wsj_teaser&quot;&gt;Top Obama officials defend tax hikes as necessary&lt;/a&gt;
&lt;/h2&gt;
&lt;small&gt;MAR&amp;#160;03.&amp;#160;2009&lt;/small&gt;
&lt;h4&gt;
&lt;a href=&quot;http://money.aol.com&quot;&gt;money.aol.com&lt;/a&gt;
&lt;/h4&gt;
&lt;/li&gt;
			
&lt;li&gt;
&lt;h2&gt;
&lt;a href=&quot;http://money.aol.com/news/articles/_a/bbdp/obama-budget-chief-defends-tax-hikes-in/367162?icid=sphere_wsj_teaser&quot;&gt;Obama budget chief defends tax hikes in plan&lt;/a&gt;
&lt;/h2&gt;
&lt;small&gt;MAR&amp;#160;03.&amp;#160;2009&lt;/small&gt;
&lt;h4&gt;
&lt;a href=&quot;http://money.aol.com/news/articles/_a/bbdp/obama-budget-chief-defends-tax-hikes-in/367162&quot;&gt;money.aol.com&lt;/a&gt;
&lt;/h4&gt;
&lt;/li&gt;
			
&lt;li&gt;
&lt;h2&gt;
&lt;a href=&quot;http://news.aol.com/article/top-house-republican-on-budget-rips/367163?icid=sphere_wsj_teaser&quot;&gt;Top House Republican on budget rips Obama plan&lt;/a&gt;
&lt;/h2&gt;
&lt;small&gt;MAR&amp;#160;03.&amp;#160;2009&lt;/small&gt;
&lt;h4&gt;
&lt;a href=&quot;http://news.aol.com/article/top-house-republican-on-budget-rips/367163&quot;&gt;news.aol.com&lt;/a&gt;
&lt;/h4&gt;
&lt;/li&gt;
			
&lt;li&gt;
&lt;h2&gt;
&lt;a href=&quot;http://www.washingtonpost.com/wp-dyn/content/article/2009/03/01/AR2009030101898.html?wprss=rss_business&quot;&gt;Aides Defend President's Budget&lt;/a&gt;
&lt;/h2&gt;
&lt;small&gt;MAR&amp;#160;02.&amp;#160;2009&lt;/small&gt;
&lt;h4&gt;
&lt;a href=&quot;http://www.washingtonpost.com/wp-dyn/content/business/&quot;&gt;washingtonpost.com&lt;/a&gt;
&lt;/h4&gt;
&lt;/li&gt;

&lt;/ul&gt;

&lt;/div&gt;
&lt;div id=&quot;sphere_sponsor_container&quot; class=&quot;adSummary small_ad hidden&quot;&gt;
&lt;p&gt;Sponsored by&lt;/p&gt;
&lt;script type=&quot;text/javascript&quot;&gt;  &lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt; &lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;iframe height=&quot;0&quot; width=&quot;0&quot; border=&quot;0&quot; frameborder='0' name=&quot;trackerFrame&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;&lt;div class=&quot;col4wide margin-left colOverflowTruncated&quot;&gt;&lt;div id=&quot;yahooLinkback&quot; class=&quot;headlineSummary linkBack col4wide hidden yahooLinkback&quot;&gt;&lt;ul class=&quot;newsItem&quot;&gt; 	
	&lt;li&gt;&lt;h2&gt;&lt;a class=&quot;yahoo&quot; target=&quot;_blank&quot; href=&quot;http://finance.yahoo.com&quot; title=&quot;[Back to Yahoo! Finance]&quot;&gt;Back To &lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div id=&quot;msnLinkback&quot; class=&quot;headlineSummary linkBack col4wide hidden msnLinkback&quot;&gt;&lt;ul class=&quot;newsItem&quot;&gt; 	
	&lt;li class=&quot;listFirst&quot;&gt;Back To&lt;/li&gt;
	&lt;li&gt;&lt;a class=&quot;msn&quot; target=&quot;_blank&quot; href=&quot;http://moneycentral.msn.com/&quot; title=&quot;[Back to MSN Money]&quot;&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;h2&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://moneycentral.msn.com/&quot;&gt;MSN Money Homepage&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li class=&quot;last&quot;&gt;&lt;h2&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://moneycentral.msn.com/investor/home.asp&quot;&gt;MSN Money Investing&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;&lt;div id=&quot;ad0_0_WA_0001A&quot; class=&quot;adSummary advertisement&quot; &gt;
&lt;/div&gt;
&lt;!--  Scripts are added to the end --&gt;



&lt;div class=&quot;visibility-onlyUnSubNotReg adSummary&quot;&gt;&lt;div id=&quot;emailSignUpNonSub&quot; class=&quot;emailSignUpNonSub&quot;&gt;
&lt;a href=&quot;http://online.wsj.com/email&quot;&gt;
  &lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#x6C;&amp;#101;&amp;#x72;&amp;#46;&amp;#114;&amp;#x65;&amp;#x6C;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#x63;&amp;#101;&amp;#112;&amp;#99;&amp;#46;&amp;#x63;&amp;#111;&amp;#x6D;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#108;&amp;#46;&amp;#99;&amp;#x67;&amp;#x69;&amp;#x3F;&amp;#x66;&amp;#x3D;&amp;#x73;&amp;#104;&amp;#x6F;&amp;#x77;&amp;#x5F;&amp;#105;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#61;&amp;#116;&amp;#104;&amp;#101;&amp;#114;&amp;#x69;&amp;#103;&amp;#104;&amp;#x74;&amp;#x73;&amp;#x74;&amp;#117;&amp;#102;&amp;#x66;&amp;#x26;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#x32;&amp;#48;&amp;#x30;&amp;#57;&amp;#48;&amp;#x33;&amp;#x31;&amp;#52;&amp;#50;&amp;#49;&amp;#x35;&amp;#53;&amp;#x31;&amp;#49;&amp;#38;&amp;#99;&amp;#x69;&amp;#x64;&amp;#61;&amp;#x35;&amp;#x36;&amp;#53;&amp;#x37;&amp;#x32;&amp;#x36;&amp;#x35;&amp;#54;&amp;#x37;&amp;#53;&amp;#x66;&amp;#54;&amp;#101;&amp;#x36;&amp;#102;&amp;#x36;&amp;#101;&amp;#55;&amp;#51;&amp;#x37;&amp;#x35;&amp;#54;&amp;#50;&amp;#53;&amp;#102;&amp;#x37;&amp;#48;&amp;#55;&amp;#x32;&amp;#54;&amp;#102;&amp;#x36;&amp;#x64;&amp;#54;&amp;#102;&amp;#50;&amp;#101;&amp;#54;&amp;#97;&amp;#x37;&amp;#x30;&amp;#x36;&amp;#x37;&amp;#x40;&amp;#x4D;&amp;#73;&amp;#x4D;&amp;#69;&amp;#x2D;&amp;#76;&amp;#x69;&amp;#116;&amp;#101;&amp;#45;&amp;#72;&amp;#x54;&amp;#x4D;&amp;#x4C;&amp;#x2D;&amp;#49;&amp;#x2E;&amp;#x32;&amp;#50;&quot; alt=&quot;Email Newsletters and alerts&quot;/&gt;
&lt;/a&gt;
&lt;/div&gt; &lt;/div&gt;&lt;div class=&quot;visibility-onlySub&quot;&gt;&lt;div id=&quot;emailSignUp&quot; class=&quot;emailSignUp subscribe newsletter opt4 hline strap&quot;&gt;
    &lt;div class=&quot;userEmail hidden&quot;&gt;
      null&lt;/div&gt;
    &lt;div class=&quot;mainContent&quot;&gt;
  	  &lt;h3&gt;Email Newsletters and Alerts&lt;/h3&gt;
&lt;p&gt;The latest news and analysis delivered to your in-box. Check the boxes below to sign up.&lt;/p&gt;
		&lt;form   action=&quot;http://online.wsj.com/article/SB123681860305802821.html&quot; method=&quot;post&quot; accept-charset=&quot;utf-8&quot;&gt;
			&lt;fieldset style=&quot;position:relative;&quot;&gt;
				&lt;legend&gt;WSJ.com Email Features&lt;/legend&gt;
&lt;div class=&quot;ctl checkbox&quot;&gt;
					&lt;label for=&quot;checkbox0&quot;&gt;
&lt;input type=&quot;checkbox&quot; name=&quot;checkbox0&quot; value=&quot;159&quot; id=&quot;checkbox0&quot; class=&quot;check&quot; checked=&quot;checked&quot; /&gt;
On the Editorial Page&lt;input type=&quot;hidden&quot; name=&quot;displayName159&quot; value=&quot;On the Editorial Page&quot;/&gt;
&lt;/label&gt;
				&lt;/div&gt;
&lt;div class=&quot;ctl checkbox&quot;&gt;
					&lt;label for=&quot;checkbox1&quot;&gt;
&lt;input type=&quot;checkbox&quot; name=&quot;checkbox1&quot; value=&quot;157&quot; id=&quot;checkbox1&quot; class=&quot;check&quot; checked=&quot;checked&quot; /&gt;
Best of the Web Today&lt;input type=&quot;hidden&quot; name=&quot;displayName157&quot; value=&quot;Best of the Web Today&quot;/&gt;
&lt;/label&gt;
				&lt;/div&gt;
&lt;/fieldset&gt;
			&lt;fieldset&gt;
				&lt;legend&gt;Submit&lt;/legend&gt;
	            &lt;!-- Error message  --&gt;
	            &lt;div class=&quot;errorMessage hidden&quot;&gt;
				  	&lt;p class=&quot;error&quot;&gt;
						The email address &lt;strong&gt;null&lt;/strong&gt; is already associated with another account. Please enter a different email address:
				  	&lt;/p&gt;
					&lt;div class=&quot;ctl text&quot;&gt;
						&lt;label for=&quot;frmRTECtl01&quot;&gt;Enter Your Email&lt;/label&gt;
						&lt;input type=&quot;text&quot; name=&quot;txtEmail&quot; value=&quot;null&quot; class=&quot;text txtEmail&quot; /&gt;					
					&lt;/div&gt;
				&lt;/div&gt;

				&lt;div class=&quot;ctl submit&quot;&gt;
					&lt;label for=&quot;frmRTEsub&quot;&gt;Sign Up&lt;/label&gt;
					&lt;button name=&quot;emailSignUpSubmit&quot; class=&quot;signup emailSignUpSubmit&quot;&gt;SIGN UP&lt;/button&gt;
				&lt;/div&gt;
			&lt;/fieldset&gt;
		&lt;/form&gt;		
		&lt;ul class=&quot;tools&quot;&gt;
			&lt;li class=&quot;firstList&quot;&gt;&lt;strong&gt;New! &lt;/strong&gt;To sign up for Keyword or Symbol Alerts click &lt;a href=&quot;http://online.wsj.com/ksemail&quot;&gt;here.&lt;/a&gt;&lt;/li&gt;
	
			&lt;li&gt;To view or change all of your email settings, visit the &lt;a href=&quot;http://online.wsj.com/email&quot;&gt;Email Setup Center&lt;/a&gt;.&lt;/li&gt;
		&lt;/ul&gt;
    &lt;/div&gt;
    
    &lt;div class=&quot;successMessage hidden&quot;&gt;
      &lt;p&gt;Thank you &lt;strong&gt;&lt;span class=&quot;userLoginName&quot;&gt;&lt;/span&gt;&lt;/strong&gt;!&lt;br /&gt;You will receive &lt;span class=&quot;displayNames&quot;&gt;&lt;/span&gt; in your inbox.&lt;/p&gt;

      &lt;ul class=&quot;nav-inline&quot;&gt;
	    &lt;li class=&quot;firstList&quot;&gt;&lt;a href=&quot;http://online.wsj.com/email&quot;&gt;Manage Email preferences&lt;/a&gt;&lt;/li&gt;
	  &lt;/ul&gt;
    &lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;visibility-onlyReg&quot;&gt;&lt;div id=&quot;emailSignUp&quot; class=&quot;emailSignUp subscribe newsletter opt4 hline strap&quot;&gt;
    &lt;div class=&quot;userEmail hidden&quot;&gt;
      null&lt;/div&gt;
    &lt;div class=&quot;mainContent&quot;&gt;
  	  &lt;h3&gt;Email Newsletters and Alerts&lt;/h3&gt;
&lt;p&gt;The latest news and analysis delivered to your in-box. Check the boxes below to sign up.&lt;/p&gt;
		&lt;form   action=&quot;http://online.wsj.com/article/SB123681860305802821.html&quot; method=&quot;post&quot; accept-charset=&quot;utf-8&quot;&gt;
			&lt;fieldset style=&quot;position:relative;&quot;&gt;
				&lt;legend&gt;WSJ.com Email Features&lt;/legend&gt;
&lt;div class=&quot;ctl checkbox&quot;&gt;
					&lt;label for=&quot;checkbox0&quot;&gt;
&lt;input type=&quot;checkbox&quot; name=&quot;checkbox0&quot; value=&quot;159&quot; id=&quot;checkbox0&quot; class=&quot;check&quot; checked=&quot;checked&quot; /&gt;
On the Editorial Page&lt;input type=&quot;hidden&quot; name=&quot;displayName159&quot; value=&quot;On the Editorial Page&quot;/&gt;
&lt;/label&gt;
				&lt;/div&gt;
&lt;div class=&quot;ctl checkbox&quot;&gt;
					&lt;label for=&quot;checkbox1&quot;&gt;
&lt;input type=&quot;checkbox&quot; name=&quot;checkbox1&quot; value=&quot;157&quot; id=&quot;checkbox1&quot; class=&quot;check&quot; checked=&quot;checked&quot; /&gt;
Best of the Web Today&lt;input type=&quot;hidden&quot; name=&quot;displayName157&quot; value=&quot;Best of the Web Today&quot;/&gt;
&lt;/label&gt;
				&lt;/div&gt;
&lt;/fieldset&gt;
			&lt;fieldset&gt;
				&lt;legend&gt;Submit&lt;/legend&gt;
	            &lt;!-- Error message  --&gt;
	            &lt;div class=&quot;errorMessage hidden&quot;&gt;
				  	&lt;p class=&quot;error&quot;&gt;
						The email address &lt;strong&gt;null&lt;/strong&gt; is already associated with another account. Please enter a different email address:
				  	&lt;/p&gt;
					&lt;div class=&quot;ctl text&quot;&gt;
						&lt;label for=&quot;frmRTECtl01&quot;&gt;Enter Your Email&lt;/label&gt;
						&lt;input type=&quot;text&quot; name=&quot;txtEmail&quot; value=&quot;null&quot; class=&quot;text txtEmail&quot; /&gt;					
					&lt;/div&gt;
				&lt;/div&gt;

				&lt;div class=&quot;ctl submit&quot;&gt;
					&lt;label for=&quot;frmRTEsub&quot;&gt;Sign Up&lt;/label&gt;
					&lt;button name=&quot;emailSignUpSubmit&quot; class=&quot;signup emailSignUpSubmit&quot;&gt;SIGN UP&lt;/button&gt;
				&lt;/div&gt;
			&lt;/fieldset&gt;
		&lt;/form&gt;		
		&lt;ul class=&quot;tools&quot;&gt;
			&lt;li class=&quot;firstList&quot;&gt;&lt;/li&gt;
	
			&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/email&quot;&gt;Manage Email Preferences&lt;/a&gt;&lt;/li&gt;
		&lt;/ul&gt;
    &lt;/div&gt;
    
    &lt;div class=&quot;successMessage hidden&quot;&gt;
      &lt;p&gt;Thank you &lt;strong&gt;&lt;span class=&quot;userLoginName&quot;&gt;&lt;/span&gt;&lt;/strong&gt;!&lt;br /&gt;You will receive &lt;span class=&quot;displayNames&quot;&gt;&lt;/span&gt; in your inbox.&lt;/p&gt;

      &lt;ul class=&quot;nav-inline&quot;&gt;
	    &lt;li class=&quot;firstList&quot;&gt;&lt;a href=&quot;http://online.wsj.com/email&quot;&gt;Manage Email preferences&lt;/a&gt;&lt;/li&gt;
	  &lt;/ul&gt;
    &lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;headlineSummary recentColumns&quot;&gt;&lt;h3 &gt; &lt;a id=&quot;&quot; href=&quot;http://online.wsj.com/search/aggregate.html?article-doc-type=%7BWonder%20Land%7D&quot;&gt;Recent Columns&lt;/a&gt;&lt;/h3&gt;
&lt;ul class=&quot;newsItem&quot;&gt;
&lt;li &gt;				
	&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123681860305802821.html&quot;&gt;The Obama Rosetta Stone
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123621098187034487.html&quot;&gt;Has Obama Buried Reagan?
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123561433557778201.html&quot;&gt;A Radical Presidency
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;form  name=&quot;moreContent&quot;  action=&quot;http://online.wsj.com/public/search&quot; method=&quot;post&quot;&gt;
&lt;input type=&quot;hidden&quot; name=&quot;ARTICLESEARCHarticle-doc-type&quot; value=&quot;Wonder Land&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;KEYWORDS&quot; value=&quot;*&quot; /&gt;
&lt;input type=&quot;hidden&quot; name=&quot;ARTICLESEARCHCOLLECTIONS&quot; value=&quot;wsjie/archive&quot; /&gt;
&lt;/form&gt;
&lt;/div&gt;&lt;div class=&quot;headlineSummary about col4wide&quot;&gt;
	&lt;h3&gt;About Daniel Henninger&lt;/h3&gt;
	&lt;p&gt;Daniel Henninger is deputy editor of The Wall Street Journal's editorial page. Mr. Henninger joined Dow Jones in 1971 as a staff writer for the National Observer. He became an editorial-page writer for the Journal in 1977, arts editor in 1978 and editorial features editor in 1980. He was appointed assistant editor of the editorial page in 1983 and chief editorial writer and senior assistant editor in October 1986, with daily responsibility for the &quot;Review &amp; Outlook&quot; columns. In November 1989 he became deputy editor of the editorial page.&lt;/p&gt;
	&lt;p&gt;Mr. Henninger was a finalist for a Pulitzer Prize in editorial writing in 1987 and 1996, and shared in the Journal's Pulitzer Prize in 2002 for the paper's coverage of the attacks on September 11. In 2004, he won the Eric Breindel Journalism Award for his &quot;Wonder Land&quot; column. He won the Gerald Loeb Award for commentary in 1985. In 1998 he received the Scripps Howard Foundation's Walker Stone Award for editorial writing, for editorials on a range of issues, including the International Monetary Fund, presidential politics and cloning. He won the 1995 American Society of Newspaper Editors' Distinguished Writing Award for editorial writing, and he was a finalist in that award in 1985, 1986 and 1993. A native of Cleveland, Mr. Henninger graduated from Georgetown University with a bachelor's degree from the School of Foreign Service.&lt;/p&gt;
	&lt;h2&gt;Email:&lt;a href=&quot;mailto:&amp;#x68;&amp;#101;&amp;#x6E;&amp;#110;&amp;#105;&amp;#x6E;&amp;#103;&amp;#x65;&amp;#x72;&amp;#64;&amp;#x77;&amp;#x73;&amp;#106;&amp;#46;&amp;#x63;&amp;#x6F;&amp;#x6D;&quot;&gt;&amp;#x68;&amp;#101;&amp;#x6E;&amp;#110;&amp;#105;&amp;#x6E;&amp;#103;&amp;#x65;&amp;#x72;&amp;#64;&amp;#x77;&amp;#x73;&amp;#106;&amp;#46;&amp;#x63;&amp;#x6F;&amp;#x6D;.&lt;/a&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div id=&quot;loomia_body_tab&quot;&gt;&lt;!-- START: Loomia Similar Items Recommendation DISPLAY Code  --&gt;

&lt;div id=&quot;_loomia_si_anchor&quot; class=&quot;failsafe&quot;&gt;&lt;/div&gt;

&lt;!-- END: Loomia Similar Items Recommendation DISPLAY Code  --&gt;

&lt;!-- START: Loomia Similar Items Recommendation Code  --&gt;

&lt;div id=&quot;_loomia_si_script_anchor&quot; class=&quot;failsafe&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;_loomia_cs_script_anchor&quot; class=&quot;failsafe&quot;&gt;&lt;/div&gt;

&lt;div id=&quot;_loomia_cs_anchor&quot; class=&quot;failsafe&quot;&gt;&lt;/div&gt;

&lt;!-- END: Loomia Similar Items Recommendation Code  --&gt;&lt;/div&gt;&lt;div id=&quot;videoModule&quot; class=&quot;headlineSummary sidebarlist video&quot;&gt;
&lt;h3&gt;
&lt;a class=&quot;more&quot; href=&quot;http://online.wsj.com/video-center/opinion.html&quot;&gt;Video&lt;/a&gt;
&lt;/h3&gt;
&lt;ul class=&quot;nav-inline arrows&quot;&gt;
&lt;li class=&quot;prev&quot;&gt;
&lt;a href=&quot;#prev&quot;&gt;
&lt;span&gt;previous&lt;/span&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;li class=&quot;pagination&quot;&gt;
&lt;span&gt;&amp;#160;&lt;/span&gt;
&lt;/li&gt;
&lt;li class=&quot;next enabledNext&quot;&gt;
&lt;a href=&quot;#next&quot;&gt;
&lt;span&gt;next&lt;/span&gt;
&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul class=&quot;newsItem&quot;&gt;
&lt;li class=&quot;firstList&quot;&gt;
&lt;a href=&quot;http://online.wsj.com/video/the-obama-rosetta-stone/D7685BA6-5E9B-432C-8DC6-06DF7DCB217B.html&quot; style=&quot;background-image: url(http://wsj.vo.llnwd.net/o28/video/20090311/031109henningerobama/031109henningerobama_115x65.jpg);&quot; class=&quot;preview&quot;&gt;
&lt;span&gt;&amp;#160;&lt;/span&gt;
&lt;/a&gt;
&lt;h2&gt;
&lt;a href=&quot;http://online.wsj.com/video/the-obama-rosetta-stone/D7685BA6-5E9B-432C-8DC6-06DF7DCB217B.html&quot;&gt;The Obama Rosetta Stone&lt;/a&gt;
&lt;/h2&gt;4:00&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;http://online.wsj.com/video/battle-over-school-choice/E59022CB-124C-45A0-A35F-6C3B60AD9EAE.html&quot; style=&quot;background-image: url(http://wsj.vo.llnwd.net/o28/video/20090309/030909foxnewsjer2/030909foxnewsjer2_115x65.jpg);&quot; class=&quot;preview&quot;&gt;
&lt;span&gt;&amp;#160;&lt;/span&gt;
&lt;/a&gt;
&lt;h2&gt;
&lt;a href=&quot;http://online.wsj.com/video/battle-over-school-choice/E59022CB-124C-45A0-A35F-6C3B60AD9EAE.html&quot;&gt;Battle Over School Choice&lt;/a&gt;
&lt;/h2&gt;5:00&lt;/li&gt;
&lt;li&gt;
&lt;a href=&quot;http://online.wsj.com/video/obama-foreclosure-prevention-plan/305EF9C0-D084-46C6-937C-E8BFBF897B7D.html&quot; style=&quot;background-image: url(http://wsj.vo.llnwd.net/o28/video/20090309/030909foxnewsjer1/030909foxnewsjer1_115x65.jpg);&quot; class=&quot;preview&quot;&gt;
&lt;span&gt;&amp;#160;&lt;/span&gt;
&lt;/a&gt;
&lt;h2&gt;
&lt;a href=&quot;http://online.wsj.com/video/obama-foreclosure-prevention-plan/305EF9C0-D084-46C6-937C-E8BFBF897B7D.html&quot;&gt;Obama's Foreclosure Prevention Plan&lt;/a&gt;
&lt;/h2&gt;7:00&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;headlineSummary relatedCollection&quot;&gt;&lt;h3 &gt; More in Opinion&lt;/h3&gt;
&lt;ul class=&quot;newsItem&quot;&gt;
&lt;li &gt;				
	&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123698785743625933.html&quot;&gt;Pollock: A Dialogue With Lebanon's Ayatollah
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123698751663025791.html&quot;&gt;Obama's Education Opening
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123698771319725901.html&quot;&gt;'Taking Chance'
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123698885439126181.html&quot;&gt;Tax Me If You Can
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123698895500426185.html&quot;&gt;Stem Cells and the Truth About Medical Innovation
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/div&gt;&lt;div class=&quot;headlineSummary mostPopular&quot;&gt;&lt;h3&gt;&lt;a href=&quot;http://online.wsj.com/public/page/most_popular.html&quot;&gt;Most Popular&lt;/a&gt;&lt;/h3&gt;

&lt;ul id =&quot;mostPopularTab&quot; class=&quot;tabBar&quot;&gt;
   &lt;li id=&quot;mostPopularTab_tab_mostRead&quot; class=&quot;tab first selectedTab&quot; &gt;&lt;a href=&quot;#mostPopular_mostRead&quot; class=&quot;&quot;
		onclick=&quot;&quot;&gt;Read&lt;/a&gt;&lt;/li&gt;
&lt;li id=&quot;mostPopularTab_tab_mostEmailed&quot; class=&quot;tab&quot; &gt;&lt;a href=&quot;#mostPopular_mostEmailed&quot; class=&quot;&quot;
		onclick=&quot;&quot;&gt;Emailed&lt;/a&gt;&lt;/li&gt;
&lt;li id=&quot;mostPopularTab_tab_mostPopularVideo&quot; class=&quot;tab&quot; &gt;&lt;a href=&quot;#mostPopular_mostPopularVideo&quot; class=&quot;&quot;
		onclick=&quot;&quot;&gt;Video&lt;/a&gt;&lt;/li&gt;
&lt;li id=&quot;mostPopularTab_tab_mostCommented&quot; class=&quot;tab last&quot; &gt;&lt;a href=&quot;#mostPopular_mostCommented&quot; class=&quot;&quot;
		onclick=&quot;&quot;&gt;Commented&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div id=&quot;mostPopularTab_panel_mostRead&quot;&gt;&lt;ul class=&quot;listItems&quot;&gt;
&lt;li class=&quot;listFirst&quot; &gt;				
	&lt;span&gt;1.&lt;/span&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123690358175013837.html&quot;&gt;Opinion: Schoen and Rasmussen: Obama's Poll Numbers Are Falling to Earth
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;span&gt;2.&lt;/span&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123629876097346481.html&quot;&gt;Breaking Apple's Grip on the iPhone
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;span&gt;3.&lt;/span&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123692233477317069.html&quot;&gt;China Worried Over U.S. Treasurys
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;span&gt;4.&lt;/span&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123682571772404053.html&quot;&gt;Waters Held Stake in Bank She Helped
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;span&gt;5.&lt;/span&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123689292159011723.html&quot;&gt;Opinion: There's No Pill for This Kind of Depression
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/div&gt;&lt;div id=&quot;mostPopularTab_panel_mostEmailed&quot; class=&quot;hidden&quot;&gt;&lt;ul class=&quot;listItems&quot;&gt;
&lt;li class=&quot;listFirst&quot; &gt;				
	&lt;span&gt;1.&lt;/span&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123690358175013837.html&quot;&gt;Opinion: Schoen and Rasmussen: Obama's Poll Numbers Are Falling to Earth
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;span&gt;2.&lt;/span&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123689292159011723.html&quot;&gt;Opinion: There's No Pill for This Kind of Depression
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;span&gt;3.&lt;/span&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123681860305802821.html&quot;&gt;Opinion: The Obama Rosetta Stone
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;span&gt;4.&lt;/span&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123689025626111191.html&quot;&gt;Appearance of an Invisibility Cloak
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;span&gt;5.&lt;/span&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123689895056312923.html&quot;&gt;Swiss Zoo's Hippo May Have to Go
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/div&gt;&lt;div class=&quot;hidden&quot; id=&quot;mostPopularTab_panel_mostPopularVideo&quot;&gt;&lt;ul class=&quot;listItems&quot;&gt;
&lt;li class=&quot;listFirst&quot;&gt;
&lt;span&gt;1.&lt;/span&gt;&lt;h2&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://online.wsj.com/video/baby-hippo-needs-home-tigers-need-lunch/D59C2E1D-5F29-49F7-9FA4-704B80192C40.html&quot;&gt;Baby Hippo Needs Home, Tigers Need Lunch&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
&lt;li&gt;
&lt;span&gt;2.&lt;/span&gt;&lt;h2&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://online.wsj.com/video/the-obama-rosetta-stone/D7685BA6-5E9B-432C-8DC6-06DF7DCB217B.html&quot;&gt;The Obama Rosetta Stone&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
&lt;li&gt;
&lt;span&gt;3.&lt;/span&gt;&lt;h2&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://online.wsj.com/video/nasa-study-tornadoes-could-become-more-common/AC4407EA-4AFF-4912-B5DD-896FC0F2E715.html&quot;&gt;NASA Study: Tornadoes Could Become More Common&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
&lt;li&gt;
&lt;span&gt;4.&lt;/span&gt;&lt;h2&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://online.wsj.com/video/economists-give-obama-an-f/A486C05E-8A2D-4133-98E3-C9E5C236A670.html&quot;&gt;Economists Give Obama an &quot;F&quot;&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
&lt;li&gt;
&lt;span&gt;5.&lt;/span&gt;&lt;h2&gt;&lt;a target=&quot;_blank&quot; href=&quot;http://online.wsj.com/video/inside-the-madoff-scandal-chapter-one/81AB0844-C32E-4BA8-A97F-FE6543BF1AC9.html&quot;&gt;Inside the Madoff Scandal: Chapter One&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
&lt;div class=&quot;hidden&quot; id=&quot;mostPopularTab_panel_mostCommented&quot;&gt;
&lt;ul class=&quot;listItems&quot;&gt;
&lt;li class=&quot;listFirst&quot;&gt;
&lt;span&gt;1.&lt;/span&gt;
&lt;h2&gt;
&lt;a href=&quot;http://online.wsj.com/article/SB123671107124286261.html&quot;&gt;Obama, Geithner Get Low Grades From Economists&lt;/a&gt;&lt;small class=&quot;comment&quot;&gt;166 comments&lt;/small&gt;
&lt;/h2&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;span&gt;2.&lt;/span&gt;
&lt;h2&gt;
&lt;a href=&quot;http://online.wsj.com/article/SB123689161351811405.html&quot;&gt;Obama Makes Overtures for Cooperation of CEOs&lt;/a&gt;&lt;small class=&quot;comment&quot;&gt;138 comments&lt;/small&gt;
&lt;/h2&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;span&gt;3.&lt;/span&gt;
&lt;h2&gt;
&lt;a href=&quot;http://online.wsj.com/article/SB123690181841413405.html&quot;&gt;Cuomo, Frank Seek to Link Executive Pay, Performance&lt;/a&gt;&lt;small class=&quot;comment&quot;&gt;117 comments&lt;/small&gt;
&lt;/h2&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;span&gt;4.&lt;/span&gt;
&lt;h2&gt;
&lt;a href=&quot;http://online.wsj.com/article/SB123682571772404053.html&quot;&gt;Waters Helped Bank Whose Stock She Once Owned&lt;/a&gt;&lt;small class=&quot;comment&quot;&gt;112 comments&lt;/small&gt;
&lt;/h2&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;span&gt;5.&lt;/span&gt;
&lt;h2&gt;
&lt;a href=&quot;http://online.wsj.com/article/SB123692233477317069.html&quot;&gt;Wen Voices Concern Over China's U.S. Treasurys&lt;/a&gt;&lt;small class=&quot;comment&quot;&gt;104 comments&lt;/small&gt;
&lt;/h2&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;metaBox metaboxType-sponsor&quot;&gt;
  &lt;ul id=&quot;mostPopularTabRSS&quot; class=&quot;tools&quot;&gt;
    &lt;li id=&quot;mostPopularTab_rssPanel_mostRead&quot;&gt;&lt;a  rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/rss?mod=fpp_rss&quot;&gt;Most Read Articles Feed&lt;/a&gt;&lt;/li&gt;
    &lt;li class=&quot;hidden&quot; id=&quot;mostPopularTab_rssPanel_mostEmailed&quot;&gt;&lt;a  rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/rss?mod=fpp_rss&quot;&gt;Most Emailed Feed&lt;/a&gt;&lt;/li&gt;
    &lt;li class=&quot;hidden&quot; id=&quot;mostPopularTab_rssPanel_mostPopularVideo&quot;&gt;&lt;a  rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/rss?mod=fpp_rss&quot;&gt;Most Popular Video Feed&lt;/a&gt;&lt;/li&gt;
    &lt;li class=&quot;hidden&quot; id=&quot;mostPopularTab_rssPanel_mostCommented&quot;&gt;&lt;a  rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/rss?mod=fpp_rss&quot;&gt;Most Commented Feed&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;

  &lt;div id=&quot;MP_AD_JS&quot; class=&quot;sponsorBox&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div id=&quot;ad0_0_WA_0001G&quot; class=&quot;adSummary advertisement&quot; &gt;
&lt;/div&gt;
&lt;!--  Scripts are added to the end --&gt;



   &lt;/div&gt;&lt;div class=&quot;col10wide colOverflowTruncated&quot;&gt;&lt;div id=&quot;carouselHighlightsLeft&quot; class=&quot;headlineSummary carousel&quot;&gt;&lt;h3 &gt; Editors' Picks&lt;/h3&gt;
&lt;ul class=&quot;nav-inline arrows&quot;&gt;
		&lt;li class=&quot;prev&quot;&gt;&lt;a href=&quot;#prev&quot;&gt;&lt;span&gt;previous&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;li class=&quot;pagination&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/li&gt;	
		&lt;li class=&quot;next&quot;&gt;&lt;a href=&quot;#next&quot;&gt;&lt;span&gt;next&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ul class=&quot;newsItem&quot;&gt;
&lt;li class=&quot;firstList&quot; &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123680870885500701.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#101;&amp;#x72;&amp;#46;&amp;#x72;&amp;#x65;&amp;#x6C;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#x63;&amp;#101;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#99;&amp;#x6F;&amp;#x6D;&amp;#x2F;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#x6C;&amp;#46;&amp;#99;&amp;#103;&amp;#105;&amp;#63;&amp;#x66;&amp;#61;&amp;#115;&amp;#104;&amp;#111;&amp;#x77;&amp;#95;&amp;#105;&amp;#x6D;&amp;#103;&amp;#38;&amp;#x6C;&amp;#61;&amp;#x74;&amp;#x68;&amp;#101;&amp;#x72;&amp;#105;&amp;#x67;&amp;#x68;&amp;#116;&amp;#x73;&amp;#x74;&amp;#117;&amp;#102;&amp;#102;&amp;#38;&amp;#x69;&amp;#100;&amp;#61;&amp;#50;&amp;#48;&amp;#48;&amp;#57;&amp;#48;&amp;#x33;&amp;#x31;&amp;#52;&amp;#50;&amp;#49;&amp;#53;&amp;#x35;&amp;#x31;&amp;#x31;&amp;#x26;&amp;#x63;&amp;#105;&amp;#100;&amp;#x3D;&amp;#x34;&amp;#x32;&amp;#50;&amp;#100;&amp;#52;&amp;#x34;&amp;#52;&amp;#55;&amp;#x33;&amp;#49;&amp;#x33;&amp;#x38;&amp;#51;&amp;#57;&amp;#x35;&amp;#102;&amp;#x37;&amp;#51;&amp;#x36;&amp;#x62;&amp;#54;&amp;#x35;&amp;#54;&amp;#x35;&amp;#x37;&amp;#52;&amp;#51;&amp;#x37;&amp;#x35;&amp;#x66;&amp;#52;&amp;#x33;&amp;#x35;&amp;#102;&amp;#51;&amp;#x32;&amp;#51;&amp;#x30;&amp;#51;&amp;#48;&amp;#51;&amp;#57;&amp;#x33;&amp;#48;&amp;#x33;&amp;#x33;&amp;#x33;&amp;#48;&amp;#x33;&amp;#53;&amp;#x33;&amp;#x31;&amp;#51;&amp;#x35;&amp;#51;&amp;#49;&amp;#51;&amp;#51;&amp;#x33;&amp;#x35;&amp;#51;&amp;#x38;&amp;#50;&amp;#x65;&amp;#x36;&amp;#x61;&amp;#55;&amp;#x30;&amp;#54;&amp;#x37;&amp;#x40;&amp;#77;&amp;#x49;&amp;#77;&amp;#x45;&amp;#45;&amp;#x4C;&amp;#x69;&amp;#x74;&amp;#101;&amp;#x2D;&amp;#72;&amp;#x54;&amp;#x4D;&amp;#76;&amp;#45;&amp;#49;&amp;#46;&amp;#50;&amp;#50;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[See phtoos]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123680870885500701.html&quot;&gt;Scientists Shoot Mosquitoes With Lasers
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123698583773525445.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#x2F;&amp;#109;&amp;#97;&amp;#105;&amp;#x6C;&amp;#x65;&amp;#114;&amp;#x2E;&amp;#114;&amp;#101;&amp;#x6C;&amp;#105;&amp;#97;&amp;#x6E;&amp;#x63;&amp;#x65;&amp;#112;&amp;#99;&amp;#46;&amp;#99;&amp;#x6F;&amp;#109;&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#x6C;&amp;#x2E;&amp;#99;&amp;#103;&amp;#105;&amp;#x3F;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#111;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#109;&amp;#x67;&amp;#38;&amp;#108;&amp;#x3D;&amp;#116;&amp;#104;&amp;#101;&amp;#114;&amp;#x69;&amp;#103;&amp;#104;&amp;#x74;&amp;#115;&amp;#x74;&amp;#x75;&amp;#102;&amp;#102;&amp;#x26;&amp;#x69;&amp;#100;&amp;#61;&amp;#50;&amp;#x30;&amp;#x30;&amp;#x39;&amp;#x30;&amp;#x33;&amp;#49;&amp;#52;&amp;#x32;&amp;#x31;&amp;#53;&amp;#x35;&amp;#49;&amp;#49;&amp;#x26;&amp;#x63;&amp;#x69;&amp;#100;&amp;#61;&amp;#x34;&amp;#49;&amp;#50;&amp;#x64;&amp;#x34;&amp;#x31;&amp;#x35;&amp;#x37;&amp;#51;&amp;#52;&amp;#x33;&amp;#x36;&amp;#x33;&amp;#x35;&amp;#53;&amp;#x66;&amp;#52;&amp;#x33;&amp;#53;&amp;#53;&amp;#52;&amp;#x66;&amp;#x34;&amp;#x64;&amp;#x34;&amp;#x66;&amp;#55;&amp;#53;&amp;#x35;&amp;#x66;&amp;#52;&amp;#x33;&amp;#x35;&amp;#x66;&amp;#51;&amp;#50;&amp;#x33;&amp;#48;&amp;#x33;&amp;#48;&amp;#x33;&amp;#57;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#x33;&amp;#51;&amp;#x31;&amp;#x33;&amp;#x33;&amp;#x33;&amp;#49;&amp;#x33;&amp;#x36;&amp;#51;&amp;#51;&amp;#51;&amp;#49;&amp;#51;&amp;#49;&amp;#x33;&amp;#55;&amp;#50;&amp;#101;&amp;#x36;&amp;#x61;&amp;#x37;&amp;#x30;&amp;#54;&amp;#x37;&amp;#64;&amp;#x4D;&amp;#73;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#x4C;&amp;#x69;&amp;#116;&amp;#101;&amp;#x2D;&amp;#x48;&amp;#x54;&amp;#x4D;&amp;#76;&amp;#45;&amp;#x31;&amp;#46;&amp;#x32;&amp;#x32;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Cuomo Attracts Critics, Admirers]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123698583773525445.html&quot;&gt;Cuomo Attracts Critics, Admirers
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123699375423227361.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#x2F;&amp;#109;&amp;#x61;&amp;#105;&amp;#x6C;&amp;#101;&amp;#114;&amp;#x2E;&amp;#114;&amp;#101;&amp;#x6C;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#x63;&amp;#101;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#x6F;&amp;#109;&amp;#47;&amp;#x2F;&amp;#109;&amp;#x61;&amp;#x69;&amp;#108;&amp;#x2E;&amp;#99;&amp;#x67;&amp;#x69;&amp;#x3F;&amp;#x66;&amp;#x3D;&amp;#x73;&amp;#104;&amp;#111;&amp;#119;&amp;#x5F;&amp;#105;&amp;#x6D;&amp;#103;&amp;#38;&amp;#108;&amp;#61;&amp;#x74;&amp;#104;&amp;#101;&amp;#114;&amp;#105;&amp;#x67;&amp;#104;&amp;#x74;&amp;#115;&amp;#x74;&amp;#117;&amp;#x66;&amp;#x66;&amp;#38;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#50;&amp;#48;&amp;#x30;&amp;#57;&amp;#48;&amp;#51;&amp;#49;&amp;#52;&amp;#50;&amp;#x31;&amp;#x35;&amp;#53;&amp;#x31;&amp;#49;&amp;#x26;&amp;#x63;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#52;&amp;#57;&amp;#x32;&amp;#x64;&amp;#x34;&amp;#x31;&amp;#x35;&amp;#54;&amp;#51;&amp;#x35;&amp;#x33;&amp;#x39;&amp;#51;&amp;#x32;&amp;#x35;&amp;#x66;&amp;#55;&amp;#55;&amp;#55;&amp;#x33;&amp;#x36;&amp;#56;&amp;#54;&amp;#x39;&amp;#x36;&amp;#x63;&amp;#x36;&amp;#x63;&amp;#53;&amp;#x66;&amp;#x34;&amp;#51;&amp;#53;&amp;#102;&amp;#51;&amp;#50;&amp;#x33;&amp;#x30;&amp;#51;&amp;#48;&amp;#x33;&amp;#x39;&amp;#x33;&amp;#x30;&amp;#51;&amp;#51;&amp;#x33;&amp;#x31;&amp;#x33;&amp;#51;&amp;#x33;&amp;#x31;&amp;#x33;&amp;#x38;&amp;#x33;&amp;#x34;&amp;#x33;&amp;#x32;&amp;#x33;&amp;#48;&amp;#51;&amp;#49;&amp;#x32;&amp;#x65;&amp;#54;&amp;#x61;&amp;#55;&amp;#x30;&amp;#x36;&amp;#55;&amp;#64;&amp;#77;&amp;#x49;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#76;&amp;#x69;&amp;#116;&amp;#101;&amp;#x2D;&amp;#x48;&amp;#x54;&amp;#77;&amp;#76;&amp;#x2D;&amp;#49;&amp;#46;&amp;#50;&amp;#50;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Gary Shilling]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123699375423227361.html&quot;&gt;Economist Abuzz About Possible Deflation
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123698890761226145.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#108;&amp;#x65;&amp;#x72;&amp;#x2E;&amp;#x72;&amp;#101;&amp;#x6C;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#x63;&amp;#x65;&amp;#x70;&amp;#x63;&amp;#46;&amp;#x63;&amp;#x6F;&amp;#x6D;&amp;#x2F;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#108;&amp;#46;&amp;#99;&amp;#103;&amp;#x69;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#104;&amp;#x6F;&amp;#x77;&amp;#95;&amp;#x69;&amp;#109;&amp;#103;&amp;#x26;&amp;#x6C;&amp;#61;&amp;#116;&amp;#x68;&amp;#x65;&amp;#114;&amp;#x69;&amp;#103;&amp;#104;&amp;#116;&amp;#115;&amp;#116;&amp;#117;&amp;#102;&amp;#x66;&amp;#38;&amp;#105;&amp;#100;&amp;#x3D;&amp;#x32;&amp;#48;&amp;#x30;&amp;#57;&amp;#48;&amp;#x33;&amp;#x31;&amp;#52;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#53;&amp;#49;&amp;#x31;&amp;#38;&amp;#99;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#53;&amp;#x34;&amp;#x32;&amp;#x64;&amp;#x34;&amp;#x31;&amp;#x34;&amp;#x63;&amp;#x33;&amp;#49;&amp;#x33;&amp;#50;&amp;#x33;&amp;#x37;&amp;#x35;&amp;#102;&amp;#x35;&amp;#51;&amp;#54;&amp;#x38;&amp;#x36;&amp;#49;&amp;#x36;&amp;#x65;&amp;#x36;&amp;#x37;&amp;#x36;&amp;#56;&amp;#x35;&amp;#102;&amp;#52;&amp;#51;&amp;#x35;&amp;#x66;&amp;#x33;&amp;#x32;&amp;#51;&amp;#x30;&amp;#51;&amp;#48;&amp;#51;&amp;#57;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#x33;&amp;#51;&amp;#49;&amp;#51;&amp;#51;&amp;#51;&amp;#x31;&amp;#51;&amp;#49;&amp;#51;&amp;#x34;&amp;#51;&amp;#x37;&amp;#51;&amp;#51;&amp;#x33;&amp;#57;&amp;#x32;&amp;#x65;&amp;#x36;&amp;#x61;&amp;#55;&amp;#x30;&amp;#x36;&amp;#x37;&amp;#64;&amp;#x4D;&amp;#x49;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#x4C;&amp;#x69;&amp;#116;&amp;#101;&amp;#x2D;&amp;#72;&amp;#x54;&amp;#77;&amp;#76;&amp;#45;&amp;#49;&amp;#x2E;&amp;#50;&amp;#50;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Shanghai's Four Hot Tables]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123698890761226145.html&quot;&gt;Shanghai's Four Hot Tables
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123697826054623861.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#109;&amp;#x61;&amp;#105;&amp;#x6C;&amp;#101;&amp;#x72;&amp;#46;&amp;#114;&amp;#101;&amp;#108;&amp;#105;&amp;#97;&amp;#110;&amp;#x63;&amp;#101;&amp;#112;&amp;#x63;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#109;&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#46;&amp;#x63;&amp;#x67;&amp;#x69;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#x6F;&amp;#119;&amp;#x5F;&amp;#105;&amp;#109;&amp;#x67;&amp;#x26;&amp;#x6C;&amp;#61;&amp;#116;&amp;#104;&amp;#x65;&amp;#114;&amp;#x69;&amp;#x67;&amp;#x68;&amp;#116;&amp;#115;&amp;#116;&amp;#117;&amp;#x66;&amp;#x66;&amp;#x26;&amp;#x69;&amp;#x64;&amp;#61;&amp;#x32;&amp;#x30;&amp;#x30;&amp;#57;&amp;#48;&amp;#51;&amp;#x31;&amp;#52;&amp;#50;&amp;#x31;&amp;#x35;&amp;#x35;&amp;#x31;&amp;#49;&amp;#x26;&amp;#99;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#53;&amp;#x34;&amp;#50;&amp;#100;&amp;#x34;&amp;#49;&amp;#52;&amp;#x63;&amp;#51;&amp;#x31;&amp;#x33;&amp;#x30;&amp;#51;&amp;#50;&amp;#53;&amp;#x66;&amp;#54;&amp;#x65;&amp;#54;&amp;#53;&amp;#x37;&amp;#x37;&amp;#x36;&amp;#x31;&amp;#x37;&amp;#50;&amp;#55;&amp;#x34;&amp;#53;&amp;#102;&amp;#x34;&amp;#x33;&amp;#53;&amp;#x66;&amp;#51;&amp;#50;&amp;#51;&amp;#x30;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#x39;&amp;#51;&amp;#48;&amp;#x33;&amp;#51;&amp;#51;&amp;#49;&amp;#x33;&amp;#x31;&amp;#51;&amp;#49;&amp;#x33;&amp;#53;&amp;#x33;&amp;#48;&amp;#51;&amp;#x39;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#x37;&amp;#50;&amp;#101;&amp;#54;&amp;#x61;&amp;#55;&amp;#x30;&amp;#x36;&amp;#x37;&amp;#x40;&amp;#x4D;&amp;#x49;&amp;#77;&amp;#x45;&amp;#45;&amp;#76;&amp;#105;&amp;#116;&amp;#x65;&amp;#45;&amp;#x48;&amp;#84;&amp;#77;&amp;#76;&amp;#x2D;&amp;#49;&amp;#x2E;&amp;#50;&amp;#50;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[New Art Lennart Anderson Lion Mask]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123697826054623861.html&quot;&gt;Paintings That Converse With Antiquity
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123697765848223641.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#47;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#x65;&amp;#x72;&amp;#x2E;&amp;#114;&amp;#x65;&amp;#108;&amp;#x69;&amp;#x61;&amp;#x6E;&amp;#x63;&amp;#x65;&amp;#112;&amp;#x63;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#x6D;&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#108;&amp;#x2E;&amp;#x63;&amp;#103;&amp;#105;&amp;#x3F;&amp;#102;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#111;&amp;#119;&amp;#95;&amp;#105;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#x3D;&amp;#116;&amp;#104;&amp;#101;&amp;#x72;&amp;#105;&amp;#103;&amp;#104;&amp;#116;&amp;#115;&amp;#116;&amp;#117;&amp;#102;&amp;#x66;&amp;#38;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#x32;&amp;#48;&amp;#48;&amp;#57;&amp;#48;&amp;#x33;&amp;#49;&amp;#52;&amp;#50;&amp;#49;&amp;#53;&amp;#x35;&amp;#x31;&amp;#x31;&amp;#x26;&amp;#99;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#x35;&amp;#52;&amp;#50;&amp;#x64;&amp;#x34;&amp;#49;&amp;#52;&amp;#99;&amp;#x33;&amp;#49;&amp;#x33;&amp;#48;&amp;#51;&amp;#48;&amp;#x35;&amp;#102;&amp;#x34;&amp;#100;&amp;#53;&amp;#48;&amp;#52;&amp;#x64;&amp;#52;&amp;#53;&amp;#53;&amp;#51;&amp;#52;&amp;#49;&amp;#x35;&amp;#x66;&amp;#x34;&amp;#x33;&amp;#x35;&amp;#x66;&amp;#x33;&amp;#x32;&amp;#x33;&amp;#x30;&amp;#51;&amp;#x30;&amp;#x33;&amp;#x39;&amp;#51;&amp;#48;&amp;#51;&amp;#51;&amp;#51;&amp;#x31;&amp;#x33;&amp;#48;&amp;#51;&amp;#49;&amp;#x33;&amp;#x35;&amp;#51;&amp;#51;&amp;#51;&amp;#54;&amp;#51;&amp;#51;&amp;#x33;&amp;#54;&amp;#50;&amp;#101;&amp;#x36;&amp;#97;&amp;#x37;&amp;#x30;&amp;#x36;&amp;#x37;&amp;#x40;&amp;#77;&amp;#x49;&amp;#77;&amp;#69;&amp;#45;&amp;#76;&amp;#105;&amp;#116;&amp;#x65;&amp;#x2D;&amp;#x48;&amp;#84;&amp;#77;&amp;#76;&amp;#45;&amp;#x31;&amp;#x2E;&amp;#x32;&amp;#50;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Mesa Verde Photo]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123697765848223641.html&quot;&gt;The Majesty of Mesa Verde
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123699486127227681.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#105;&amp;#108;&amp;#101;&amp;#114;&amp;#46;&amp;#114;&amp;#x65;&amp;#x6C;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#99;&amp;#x65;&amp;#x70;&amp;#99;&amp;#46;&amp;#99;&amp;#x6F;&amp;#x6D;&amp;#47;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#x6C;&amp;#46;&amp;#x63;&amp;#x67;&amp;#105;&amp;#63;&amp;#102;&amp;#61;&amp;#115;&amp;#x68;&amp;#x6F;&amp;#119;&amp;#x5F;&amp;#105;&amp;#109;&amp;#103;&amp;#x26;&amp;#108;&amp;#61;&amp;#116;&amp;#x68;&amp;#101;&amp;#114;&amp;#105;&amp;#103;&amp;#x68;&amp;#116;&amp;#x73;&amp;#116;&amp;#117;&amp;#x66;&amp;#102;&amp;#38;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#x32;&amp;#x30;&amp;#48;&amp;#x39;&amp;#48;&amp;#x33;&amp;#49;&amp;#x34;&amp;#50;&amp;#x31;&amp;#x35;&amp;#x35;&amp;#49;&amp;#x31;&amp;#38;&amp;#x63;&amp;#105;&amp;#100;&amp;#61;&amp;#53;&amp;#x34;&amp;#x32;&amp;#100;&amp;#x34;&amp;#x31;&amp;#x34;&amp;#x63;&amp;#51;&amp;#x31;&amp;#51;&amp;#48;&amp;#x33;&amp;#51;&amp;#52;&amp;#49;&amp;#53;&amp;#102;&amp;#x34;&amp;#52;&amp;#x35;&amp;#50;&amp;#x34;&amp;#57;&amp;#x35;&amp;#x36;&amp;#x34;&amp;#x35;&amp;#x35;&amp;#x66;&amp;#52;&amp;#x33;&amp;#x35;&amp;#x66;&amp;#51;&amp;#50;&amp;#51;&amp;#48;&amp;#x33;&amp;#x30;&amp;#51;&amp;#x39;&amp;#x33;&amp;#x30;&amp;#51;&amp;#x33;&amp;#51;&amp;#x30;&amp;#51;&amp;#57;&amp;#x33;&amp;#x31;&amp;#x33;&amp;#52;&amp;#51;&amp;#53;&amp;#51;&amp;#52;&amp;#x33;&amp;#x35;&amp;#x33;&amp;#54;&amp;#x32;&amp;#101;&amp;#54;&amp;#x61;&amp;#x37;&amp;#48;&amp;#x36;&amp;#x37;&amp;#64;&amp;#x4D;&amp;#73;&amp;#77;&amp;#x45;&amp;#x2D;&amp;#x4C;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#x2D;&amp;#72;&amp;#84;&amp;#77;&amp;#x4C;&amp;#x2D;&amp;#49;&amp;#46;&amp;#50;&amp;#x32;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Small Cars With Good Mileage and Affordable Prices]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123699486127227681.html&quot;&gt;Small-Car Tweaks Pay Off
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123698213720424525.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#x2F;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#x65;&amp;#x72;&amp;#46;&amp;#x72;&amp;#101;&amp;#x6C;&amp;#x69;&amp;#97;&amp;#x6E;&amp;#99;&amp;#101;&amp;#x70;&amp;#x63;&amp;#x2E;&amp;#99;&amp;#x6F;&amp;#x6D;&amp;#47;&amp;#x2F;&amp;#109;&amp;#x61;&amp;#x69;&amp;#108;&amp;#x2E;&amp;#x63;&amp;#x67;&amp;#x69;&amp;#x3F;&amp;#x66;&amp;#61;&amp;#115;&amp;#104;&amp;#111;&amp;#119;&amp;#95;&amp;#105;&amp;#x6D;&amp;#x67;&amp;#x26;&amp;#x6C;&amp;#61;&amp;#116;&amp;#x68;&amp;#101;&amp;#114;&amp;#105;&amp;#x67;&amp;#104;&amp;#116;&amp;#115;&amp;#116;&amp;#117;&amp;#102;&amp;#102;&amp;#38;&amp;#x69;&amp;#x64;&amp;#61;&amp;#x32;&amp;#x30;&amp;#x30;&amp;#57;&amp;#x30;&amp;#51;&amp;#x31;&amp;#52;&amp;#50;&amp;#49;&amp;#x35;&amp;#x35;&amp;#49;&amp;#x31;&amp;#38;&amp;#x63;&amp;#x69;&amp;#x64;&amp;#61;&amp;#x35;&amp;#x34;&amp;#x32;&amp;#x64;&amp;#x34;&amp;#49;&amp;#52;&amp;#x63;&amp;#x33;&amp;#48;&amp;#x33;&amp;#x39;&amp;#x33;&amp;#49;&amp;#x35;&amp;#x66;&amp;#52;&amp;#x34;&amp;#55;&amp;#50;&amp;#54;&amp;#x39;&amp;#x36;&amp;#x65;&amp;#54;&amp;#x62;&amp;#x37;&amp;#51;&amp;#53;&amp;#x66;&amp;#52;&amp;#x33;&amp;#53;&amp;#102;&amp;#51;&amp;#50;&amp;#51;&amp;#x30;&amp;#51;&amp;#x30;&amp;#x33;&amp;#57;&amp;#x33;&amp;#x30;&amp;#51;&amp;#51;&amp;#51;&amp;#49;&amp;#51;&amp;#49;&amp;#51;&amp;#49;&amp;#51;&amp;#56;&amp;#51;&amp;#x35;&amp;#51;&amp;#55;&amp;#51;&amp;#50;&amp;#51;&amp;#x37;&amp;#50;&amp;#x65;&amp;#54;&amp;#x61;&amp;#x37;&amp;#x30;&amp;#x36;&amp;#x37;&amp;#x40;&amp;#77;&amp;#x49;&amp;#x4D;&amp;#69;&amp;#x2D;&amp;#76;&amp;#105;&amp;#116;&amp;#x65;&amp;#45;&amp;#x48;&amp;#84;&amp;#x4D;&amp;#x4C;&amp;#x2D;&amp;#x31;&amp;#x2E;&amp;#50;&amp;#50;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Bailey cocktail]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123698213720424525.html&quot;&gt;He Was a Cocktail Artist
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123689237471111537.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#101;&amp;#114;&amp;#x2E;&amp;#114;&amp;#x65;&amp;#108;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#99;&amp;#101;&amp;#112;&amp;#x63;&amp;#x2E;&amp;#99;&amp;#x6F;&amp;#109;&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#105;&amp;#x6C;&amp;#x2E;&amp;#x63;&amp;#x67;&amp;#105;&amp;#63;&amp;#102;&amp;#61;&amp;#115;&amp;#104;&amp;#x6F;&amp;#119;&amp;#x5F;&amp;#105;&amp;#109;&amp;#103;&amp;#38;&amp;#108;&amp;#61;&amp;#116;&amp;#x68;&amp;#x65;&amp;#x72;&amp;#x69;&amp;#103;&amp;#x68;&amp;#x74;&amp;#115;&amp;#116;&amp;#117;&amp;#102;&amp;#102;&amp;#x26;&amp;#105;&amp;#x64;&amp;#61;&amp;#50;&amp;#x30;&amp;#x30;&amp;#57;&amp;#48;&amp;#51;&amp;#x31;&amp;#x34;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#53;&amp;#49;&amp;#x31;&amp;#38;&amp;#99;&amp;#x69;&amp;#100;&amp;#x3D;&amp;#x34;&amp;#98;&amp;#50;&amp;#100;&amp;#x34;&amp;#x31;&amp;#x35;&amp;#48;&amp;#51;&amp;#48;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#57;&amp;#53;&amp;#x66;&amp;#x34;&amp;#54;&amp;#52;&amp;#x39;&amp;#52;&amp;#99;&amp;#52;&amp;#x64;&amp;#x34;&amp;#x61;&amp;#53;&amp;#53;&amp;#x35;&amp;#x66;&amp;#52;&amp;#x33;&amp;#53;&amp;#102;&amp;#x33;&amp;#50;&amp;#51;&amp;#48;&amp;#x33;&amp;#48;&amp;#51;&amp;#57;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#x33;&amp;#51;&amp;#49;&amp;#x33;&amp;#x32;&amp;#x33;&amp;#x31;&amp;#51;&amp;#x34;&amp;#x33;&amp;#x33;&amp;#x33;&amp;#54;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#x34;&amp;#50;&amp;#x65;&amp;#x36;&amp;#x61;&amp;#x37;&amp;#48;&amp;#x36;&amp;#x37;&amp;#x40;&amp;#x4D;&amp;#73;&amp;#77;&amp;#x45;&amp;#45;&amp;#x4C;&amp;#x69;&amp;#x74;&amp;#101;&amp;#x2D;&amp;#72;&amp;#84;&amp;#x4D;&amp;#x4C;&amp;#45;&amp;#x31;&amp;#x2E;&amp;#x32;&amp;#50;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Sunshine Cleaning]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123689237471111537.html&quot;&gt;Adams, Blunt Are Rays of 'Sunshine'
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123690294088913675.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#47;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#101;&amp;#x72;&amp;#x2E;&amp;#x72;&amp;#x65;&amp;#x6C;&amp;#x69;&amp;#97;&amp;#110;&amp;#99;&amp;#101;&amp;#112;&amp;#99;&amp;#46;&amp;#x63;&amp;#x6F;&amp;#x6D;&amp;#x2F;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#108;&amp;#x2E;&amp;#x63;&amp;#103;&amp;#105;&amp;#x3F;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#x68;&amp;#111;&amp;#x77;&amp;#x5F;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#x3D;&amp;#116;&amp;#x68;&amp;#x65;&amp;#114;&amp;#105;&amp;#x67;&amp;#x68;&amp;#116;&amp;#x73;&amp;#116;&amp;#117;&amp;#102;&amp;#102;&amp;#38;&amp;#x69;&amp;#x64;&amp;#61;&amp;#50;&amp;#x30;&amp;#48;&amp;#57;&amp;#48;&amp;#51;&amp;#x31;&amp;#x34;&amp;#50;&amp;#49;&amp;#53;&amp;#x35;&amp;#x31;&amp;#x31;&amp;#38;&amp;#x63;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#52;&amp;#98;&amp;#50;&amp;#100;&amp;#x34;&amp;#49;&amp;#53;&amp;#x30;&amp;#x33;&amp;#x30;&amp;#51;&amp;#x34;&amp;#51;&amp;#49;&amp;#53;&amp;#102;&amp;#x35;&amp;#x33;&amp;#53;&amp;#x30;&amp;#x35;&amp;#x66;&amp;#52;&amp;#51;&amp;#52;&amp;#x66;&amp;#52;&amp;#x31;&amp;#x35;&amp;#102;&amp;#x34;&amp;#51;&amp;#x35;&amp;#102;&amp;#x33;&amp;#x32;&amp;#x33;&amp;#48;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#57;&amp;#51;&amp;#48;&amp;#x33;&amp;#x33;&amp;#x33;&amp;#49;&amp;#x33;&amp;#x32;&amp;#51;&amp;#x31;&amp;#51;&amp;#x34;&amp;#51;&amp;#51;&amp;#x33;&amp;#52;&amp;#51;&amp;#52;&amp;#x33;&amp;#x35;&amp;#x32;&amp;#101;&amp;#x36;&amp;#x61;&amp;#55;&amp;#48;&amp;#x36;&amp;#x37;&amp;#x40;&amp;#x4D;&amp;#73;&amp;#77;&amp;#x45;&amp;#45;&amp;#x4C;&amp;#x69;&amp;#116;&amp;#101;&amp;#x2D;&amp;#72;&amp;#x54;&amp;#77;&amp;#76;&amp;#45;&amp;#x31;&amp;#x2E;&amp;#50;&amp;#50;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123690294088913675.html&quot;&gt;College Basketball's Bargains and Busts
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123690059949113173.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#108;&amp;#x65;&amp;#x72;&amp;#x2E;&amp;#x72;&amp;#101;&amp;#x6C;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#99;&amp;#101;&amp;#x70;&amp;#99;&amp;#46;&amp;#99;&amp;#111;&amp;#x6D;&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#97;&amp;#105;&amp;#108;&amp;#x2E;&amp;#x63;&amp;#103;&amp;#x69;&amp;#63;&amp;#102;&amp;#61;&amp;#115;&amp;#104;&amp;#x6F;&amp;#119;&amp;#95;&amp;#105;&amp;#109;&amp;#103;&amp;#38;&amp;#108;&amp;#61;&amp;#116;&amp;#x68;&amp;#x65;&amp;#114;&amp;#x69;&amp;#x67;&amp;#x68;&amp;#x74;&amp;#115;&amp;#x74;&amp;#x75;&amp;#102;&amp;#102;&amp;#x26;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#50;&amp;#48;&amp;#48;&amp;#57;&amp;#48;&amp;#x33;&amp;#49;&amp;#52;&amp;#50;&amp;#49;&amp;#53;&amp;#53;&amp;#49;&amp;#x31;&amp;#38;&amp;#x63;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#101;&amp;#x34;&amp;#49;&amp;#x32;&amp;#100;&amp;#x34;&amp;#49;&amp;#x35;&amp;#x37;&amp;#51;&amp;#x34;&amp;#51;&amp;#52;&amp;#x33;&amp;#53;&amp;#x34;&amp;#x31;&amp;#x35;&amp;#x66;&amp;#52;&amp;#54;&amp;#52;&amp;#49;&amp;#53;&amp;#50;&amp;#x34;&amp;#100;&amp;#53;&amp;#x66;&amp;#x34;&amp;#51;&amp;#53;&amp;#x66;&amp;#51;&amp;#50;&amp;#x33;&amp;#48;&amp;#x33;&amp;#48;&amp;#51;&amp;#x39;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#51;&amp;#x33;&amp;#49;&amp;#51;&amp;#50;&amp;#51;&amp;#49;&amp;#x33;&amp;#56;&amp;#51;&amp;#49;&amp;#x33;&amp;#x38;&amp;#51;&amp;#x31;&amp;#x33;&amp;#56;&amp;#x32;&amp;#x65;&amp;#x36;&amp;#97;&amp;#x37;&amp;#x30;&amp;#54;&amp;#x37;&amp;#64;&amp;#77;&amp;#x49;&amp;#x4D;&amp;#69;&amp;#x2D;&amp;#x4C;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#45;&amp;#72;&amp;#x54;&amp;#x4D;&amp;#76;&amp;#x2D;&amp;#x31;&amp;#x2E;&amp;#50;&amp;#x32;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Grain Costs Down, Groceries Not]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123690059949113173.html&quot;&gt;Grain Costs Down, Groceries Not
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123689895056312923.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#109;&amp;#x61;&amp;#105;&amp;#108;&amp;#x65;&amp;#114;&amp;#x2E;&amp;#114;&amp;#101;&amp;#108;&amp;#x69;&amp;#x61;&amp;#110;&amp;#x63;&amp;#x65;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#x6F;&amp;#109;&amp;#47;&amp;#x2F;&amp;#109;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#x2E;&amp;#99;&amp;#103;&amp;#105;&amp;#x3F;&amp;#x66;&amp;#61;&amp;#x73;&amp;#104;&amp;#111;&amp;#119;&amp;#95;&amp;#x69;&amp;#109;&amp;#103;&amp;#x26;&amp;#x6C;&amp;#x3D;&amp;#x74;&amp;#104;&amp;#101;&amp;#114;&amp;#x69;&amp;#103;&amp;#x68;&amp;#116;&amp;#x73;&amp;#x74;&amp;#x75;&amp;#x66;&amp;#x66;&amp;#38;&amp;#105;&amp;#100;&amp;#x3D;&amp;#x32;&amp;#x30;&amp;#48;&amp;#x39;&amp;#x30;&amp;#51;&amp;#x31;&amp;#52;&amp;#50;&amp;#x31;&amp;#x35;&amp;#53;&amp;#49;&amp;#x31;&amp;#x26;&amp;#99;&amp;#105;&amp;#100;&amp;#x3D;&amp;#x30;&amp;#51;&amp;#x31;&amp;#x32;&amp;#x64;&amp;#52;&amp;#x31;&amp;#x35;&amp;#48;&amp;#x33;&amp;#48;&amp;#51;&amp;#56;&amp;#x33;&amp;#51;&amp;#x35;&amp;#102;&amp;#52;&amp;#x38;&amp;#x34;&amp;#x39;&amp;#53;&amp;#x30;&amp;#53;&amp;#x30;&amp;#x34;&amp;#x66;&amp;#x35;&amp;#102;&amp;#x34;&amp;#x33;&amp;#53;&amp;#102;&amp;#51;&amp;#x32;&amp;#51;&amp;#48;&amp;#51;&amp;#x30;&amp;#x33;&amp;#x39;&amp;#51;&amp;#48;&amp;#x33;&amp;#51;&amp;#51;&amp;#x31;&amp;#x33;&amp;#50;&amp;#x33;&amp;#x31;&amp;#x33;&amp;#x37;&amp;#x33;&amp;#x31;&amp;#51;&amp;#50;&amp;#x33;&amp;#50;&amp;#x33;&amp;#x36;&amp;#50;&amp;#101;&amp;#x36;&amp;#x61;&amp;#x37;&amp;#48;&amp;#54;&amp;#x37;&amp;#x40;&amp;#x4D;&amp;#73;&amp;#x4D;&amp;#69;&amp;#45;&amp;#x4C;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#x2D;&amp;#72;&amp;#84;&amp;#x4D;&amp;#76;&amp;#45;&amp;#49;&amp;#46;&amp;#x32;&amp;#50;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Swiss Zoo's Farasi May Have to Go]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123689895056312923.html&quot;&gt;Swiss Zoo's Hippo May Have to Go
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123689025626111191.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#109;&amp;#x61;&amp;#x69;&amp;#108;&amp;#x65;&amp;#114;&amp;#46;&amp;#x72;&amp;#101;&amp;#108;&amp;#105;&amp;#x61;&amp;#x6E;&amp;#99;&amp;#101;&amp;#112;&amp;#x63;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#x61;&amp;#105;&amp;#x6C;&amp;#x2E;&amp;#x63;&amp;#103;&amp;#105;&amp;#63;&amp;#102;&amp;#x3D;&amp;#115;&amp;#104;&amp;#111;&amp;#x77;&amp;#95;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#61;&amp;#116;&amp;#104;&amp;#101;&amp;#114;&amp;#x69;&amp;#103;&amp;#104;&amp;#116;&amp;#115;&amp;#116;&amp;#117;&amp;#102;&amp;#x66;&amp;#38;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#x32;&amp;#x30;&amp;#x30;&amp;#57;&amp;#x30;&amp;#51;&amp;#49;&amp;#x34;&amp;#50;&amp;#49;&amp;#x35;&amp;#x35;&amp;#49;&amp;#x31;&amp;#x26;&amp;#99;&amp;#105;&amp;#100;&amp;#61;&amp;#x34;&amp;#49;&amp;#x32;&amp;#100;&amp;#52;&amp;#49;&amp;#53;&amp;#55;&amp;#x33;&amp;#52;&amp;#x33;&amp;#x35;&amp;#x33;&amp;#x34;&amp;#53;&amp;#102;&amp;#55;&amp;#x33;&amp;#x36;&amp;#x33;&amp;#x36;&amp;#57;&amp;#x36;&amp;#53;&amp;#x36;&amp;#101;&amp;#x36;&amp;#51;&amp;#x35;&amp;#102;&amp;#x34;&amp;#51;&amp;#x35;&amp;#102;&amp;#51;&amp;#x32;&amp;#51;&amp;#48;&amp;#x33;&amp;#48;&amp;#51;&amp;#57;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#x33;&amp;#51;&amp;#x31;&amp;#x33;&amp;#x32;&amp;#x33;&amp;#49;&amp;#51;&amp;#56;&amp;#51;&amp;#x30;&amp;#51;&amp;#x36;&amp;#x33;&amp;#x34;&amp;#x33;&amp;#51;&amp;#50;&amp;#101;&amp;#54;&amp;#97;&amp;#55;&amp;#48;&amp;#54;&amp;#55;&amp;#x40;&amp;#x4D;&amp;#x49;&amp;#x4D;&amp;#69;&amp;#45;&amp;#76;&amp;#x69;&amp;#x74;&amp;#101;&amp;#45;&amp;#x48;&amp;#x54;&amp;#x4D;&amp;#76;&amp;#x2D;&amp;#49;&amp;#x2E;&amp;#x32;&amp;#50;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Behold the Appearance of the Invisibility Cloak]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123689025626111191.html&quot;&gt;Appearance of an Invisibility Cloak
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123690353982513921.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#x2F;&amp;#109;&amp;#x61;&amp;#105;&amp;#108;&amp;#101;&amp;#x72;&amp;#x2E;&amp;#x72;&amp;#x65;&amp;#108;&amp;#105;&amp;#x61;&amp;#110;&amp;#x63;&amp;#x65;&amp;#x70;&amp;#99;&amp;#46;&amp;#99;&amp;#111;&amp;#x6D;&amp;#47;&amp;#47;&amp;#109;&amp;#97;&amp;#105;&amp;#x6C;&amp;#x2E;&amp;#x63;&amp;#103;&amp;#105;&amp;#63;&amp;#102;&amp;#61;&amp;#x73;&amp;#104;&amp;#x6F;&amp;#x77;&amp;#x5F;&amp;#x69;&amp;#109;&amp;#103;&amp;#38;&amp;#108;&amp;#61;&amp;#116;&amp;#x68;&amp;#x65;&amp;#x72;&amp;#105;&amp;#x67;&amp;#104;&amp;#x74;&amp;#115;&amp;#x74;&amp;#x75;&amp;#x66;&amp;#102;&amp;#x26;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#50;&amp;#x30;&amp;#x30;&amp;#57;&amp;#x30;&amp;#x33;&amp;#x31;&amp;#x34;&amp;#x32;&amp;#49;&amp;#53;&amp;#53;&amp;#49;&amp;#x31;&amp;#x26;&amp;#99;&amp;#x69;&amp;#x64;&amp;#61;&amp;#x34;&amp;#50;&amp;#50;&amp;#100;&amp;#52;&amp;#x34;&amp;#x34;&amp;#56;&amp;#x33;&amp;#x32;&amp;#51;&amp;#56;&amp;#x33;&amp;#56;&amp;#x35;&amp;#102;&amp;#54;&amp;#x33;&amp;#54;&amp;#x31;&amp;#x36;&amp;#x64;&amp;#51;&amp;#x33;&amp;#x33;&amp;#x31;&amp;#x33;&amp;#x32;&amp;#53;&amp;#x66;&amp;#x34;&amp;#x33;&amp;#53;&amp;#x66;&amp;#51;&amp;#50;&amp;#51;&amp;#x30;&amp;#51;&amp;#x30;&amp;#51;&amp;#57;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#51;&amp;#x33;&amp;#x31;&amp;#x33;&amp;#x32;&amp;#51;&amp;#x32;&amp;#x33;&amp;#x32;&amp;#x33;&amp;#x33;&amp;#x33;&amp;#48;&amp;#x33;&amp;#x32;&amp;#51;&amp;#49;&amp;#50;&amp;#101;&amp;#54;&amp;#97;&amp;#x37;&amp;#48;&amp;#54;&amp;#x37;&amp;#64;&amp;#77;&amp;#73;&amp;#x4D;&amp;#69;&amp;#x2D;&amp;#x4C;&amp;#x69;&amp;#116;&amp;#x65;&amp;#45;&amp;#72;&amp;#84;&amp;#77;&amp;#76;&amp;#45;&amp;#49;&amp;#46;&amp;#50;&amp;#x32;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123690353982513921.html&quot;&gt;Opening Asia's Hidden Wilderness
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123690117088013233.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#x6D;&amp;#x61;&amp;#x69;&amp;#108;&amp;#101;&amp;#x72;&amp;#46;&amp;#114;&amp;#x65;&amp;#x6C;&amp;#105;&amp;#97;&amp;#110;&amp;#99;&amp;#101;&amp;#x70;&amp;#99;&amp;#46;&amp;#99;&amp;#111;&amp;#109;&amp;#47;&amp;#47;&amp;#109;&amp;#x61;&amp;#x69;&amp;#x6C;&amp;#x2E;&amp;#99;&amp;#x67;&amp;#105;&amp;#63;&amp;#102;&amp;#x3D;&amp;#115;&amp;#104;&amp;#111;&amp;#119;&amp;#x5F;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#108;&amp;#61;&amp;#116;&amp;#x68;&amp;#101;&amp;#x72;&amp;#105;&amp;#x67;&amp;#x68;&amp;#116;&amp;#x73;&amp;#116;&amp;#x75;&amp;#102;&amp;#102;&amp;#x26;&amp;#x69;&amp;#100;&amp;#61;&amp;#50;&amp;#x30;&amp;#48;&amp;#x39;&amp;#x30;&amp;#51;&amp;#x31;&amp;#52;&amp;#50;&amp;#x31;&amp;#53;&amp;#x35;&amp;#49;&amp;#49;&amp;#x26;&amp;#99;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#x34;&amp;#98;&amp;#x32;&amp;#100;&amp;#52;&amp;#x31;&amp;#x35;&amp;#x30;&amp;#51;&amp;#x30;&amp;#51;&amp;#52;&amp;#51;&amp;#52;&amp;#53;&amp;#102;&amp;#x34;&amp;#x36;&amp;#52;&amp;#49;&amp;#53;&amp;#x34;&amp;#x35;&amp;#x66;&amp;#52;&amp;#x34;&amp;#53;&amp;#x35;&amp;#53;&amp;#x66;&amp;#52;&amp;#x33;&amp;#x35;&amp;#102;&amp;#x33;&amp;#50;&amp;#51;&amp;#x30;&amp;#x33;&amp;#x30;&amp;#x33;&amp;#57;&amp;#x33;&amp;#48;&amp;#51;&amp;#x33;&amp;#51;&amp;#49;&amp;#x33;&amp;#50;&amp;#x33;&amp;#49;&amp;#x33;&amp;#54;&amp;#x33;&amp;#52;&amp;#x33;&amp;#x35;&amp;#x33;&amp;#53;&amp;#x33;&amp;#48;&amp;#x32;&amp;#x65;&amp;#54;&amp;#97;&amp;#55;&amp;#48;&amp;#54;&amp;#55;&amp;#64;&amp;#77;&amp;#x49;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#x4C;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#45;&amp;#x48;&amp;#x54;&amp;#77;&amp;#76;&amp;#45;&amp;#x31;&amp;#46;&amp;#50;&amp;#x32;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Fat Duck]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123690117088013233.html&quot;&gt;Return to the Fat Duck
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;li &gt;				
	&lt;a href=&quot;http://online.wsj.com/article/SB123689602740412239.html?mod=article-outset-box&quot;&gt;&lt;img  src=&quot;http:&amp;#47;&amp;#x2F;&amp;#x6D;&amp;#97;&amp;#x69;&amp;#108;&amp;#x65;&amp;#x72;&amp;#x2E;&amp;#114;&amp;#101;&amp;#x6C;&amp;#105;&amp;#97;&amp;#110;&amp;#99;&amp;#x65;&amp;#x70;&amp;#99;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#x6D;&amp;#x2F;&amp;#x2F;&amp;#109;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#46;&amp;#99;&amp;#103;&amp;#105;&amp;#63;&amp;#x66;&amp;#x3D;&amp;#115;&amp;#104;&amp;#x6F;&amp;#119;&amp;#95;&amp;#x69;&amp;#109;&amp;#x67;&amp;#38;&amp;#108;&amp;#x3D;&amp;#x74;&amp;#104;&amp;#x65;&amp;#114;&amp;#x69;&amp;#103;&amp;#104;&amp;#116;&amp;#x73;&amp;#x74;&amp;#x75;&amp;#x66;&amp;#x66;&amp;#x26;&amp;#x69;&amp;#x64;&amp;#x3D;&amp;#x32;&amp;#48;&amp;#48;&amp;#57;&amp;#48;&amp;#51;&amp;#49;&amp;#52;&amp;#x32;&amp;#x31;&amp;#x35;&amp;#x35;&amp;#49;&amp;#x31;&amp;#x26;&amp;#99;&amp;#105;&amp;#100;&amp;#61;&amp;#x34;&amp;#x62;&amp;#x32;&amp;#100;&amp;#52;&amp;#x31;&amp;#x34;&amp;#x66;&amp;#51;&amp;#x39;&amp;#x33;&amp;#57;&amp;#x33;&amp;#53;&amp;#x35;&amp;#x66;&amp;#53;&amp;#x34;&amp;#x34;&amp;#56;&amp;#52;&amp;#x35;&amp;#52;&amp;#49;&amp;#x35;&amp;#x34;&amp;#x34;&amp;#x35;&amp;#x35;&amp;#102;&amp;#52;&amp;#51;&amp;#x35;&amp;#x66;&amp;#x33;&amp;#x32;&amp;#x33;&amp;#x30;&amp;#51;&amp;#x30;&amp;#x33;&amp;#x39;&amp;#x33;&amp;#48;&amp;#51;&amp;#51;&amp;#51;&amp;#49;&amp;#x33;&amp;#49;&amp;#x33;&amp;#x31;&amp;#51;&amp;#x33;&amp;#x33;&amp;#x32;&amp;#51;&amp;#53;&amp;#x33;&amp;#48;&amp;#x33;&amp;#x38;&amp;#50;&amp;#101;&amp;#54;&amp;#97;&amp;#x37;&amp;#48;&amp;#54;&amp;#55;&amp;#64;&amp;#x4D;&amp;#x49;&amp;#77;&amp;#69;&amp;#x2D;&amp;#76;&amp;#x69;&amp;#x74;&amp;#x65;&amp;#x2D;&amp;#72;&amp;#x54;&amp;#x4D;&amp;#x4C;&amp;#45;&amp;#49;&amp;#46;&amp;#x32;&amp;#50;&quot; vspace=&quot;0&quot; hspace=&quot;0&quot; border=&quot;0&quot; alt=&quot;[Jane Fonda]&quot; height=&quot;94&quot; width=&quot;167&quot; class=&quot;imageFormat-C&quot;/&gt;&lt;/a&gt;&lt;h2&gt;&lt;a href=&quot;http://online.wsj.com/article/SB123689602740412239.html&quot;&gt;Jane Fonda, Back on Broadway
&lt;/a&gt;&lt;/h2&gt;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;articleTabs_panel_video&quot; class=&quot;masterVideoCenter hidden&quot;&gt;&lt;div class=&quot;videoCenter&quot;&gt;&lt;div class=&quot;embedContainer&quot;&gt;
&lt;div id=&quot;videoPlayer&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;embedContainer&quot; id=&quot;videoSummary&quot;&gt;
&lt;/div&gt;
&lt;ul class=&quot;video videoPlaylist&quot; id=&quot;videoRelated&quot;&gt;
&lt;/ul&gt;


   &lt;/div&gt;&lt;div class=&quot;col4wide colOverflowTruncated&quot;&gt;&lt;div class=&quot;advertisement&quot; id=&quot;videoAd&quot;&gt;&lt;/div&gt;&lt;div class=&quot;articleExcerpt&quot;&gt;&lt;h3&gt;Article Excerpt&lt;/h3&gt;&lt;h2 &gt;&lt;a href=&quot;#&quot; onclick=&quot;dj.module.articleTabs.panels.setActivePanel('article');return false;&quot;&gt;The Obama Rosetta Stone&lt;/a&gt;&lt;/h2&gt;&lt;p&gt; Barack Obama has written two famous, widely read books of autobiography -- &quot;Dreams from My Father&quot; and &quot;The Audacity of Hope.&quot; Let me introduce his third, a book that will touch everyone's life: &quot;A New Era of Responsibility: Renewing America's Promise. The President's Budget and Fiscal Preview&quot; (Government Printing Office, 141 pages, $26; free on the Web). This is the U.S. budget for laymen, and it's a must read.&lt;/p&gt;&lt;p&gt; Turn immediately to page 11. There sits a chart called Figure 9. This is the Rosetta Stone to the presidential mind of Barack Obama. Memorize Figure 9, and you will never ...&lt;/p&gt;&lt;a href=&quot;#&quot; class=&quot;continue&quot; onclick=&quot;dj.module.articleVideoPlayer.popupvideo();dj.module.articleTabs.pane
ls.setActivePanel('article');return false;&quot;&gt;Continue reading article with pop up player&lt;/a&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;videoMore&quot;&gt;&lt;div class=&quot;sectionheader&quot;&gt;
     &lt;h3&gt;&lt;a href=&quot;http://online.wsj.com/video-center&quot;&gt;More Video&lt;/a&gt;&lt;/h3&gt;
     &lt;div class=&quot;form inline search&quot; id=&quot;videoSearchForm&quot;&gt;
     &lt;/div&gt;
&lt;/div&gt;
&lt;ul class=&quot;sidenav col2wide&quot; id=&quot;videoSideNav&quot;&gt;
&lt;/ul&gt;
&lt;div class=&quot;videoResults&quot; id=&quot;videoSearchResults&quot;&gt;
&lt;/div&gt;
&lt;br class=&quot;clear-both&quot;/&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;articleTabs_panel_comments&quot; class=&quot;mastertextCenter hidden&quot;&gt;   &lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;reallywide clear-left&quot;&gt;&lt;div class=&quot;visibility-onlySub&quot;&gt;&lt;div class=&quot;communityUserPopup popupBox community&quot; style=&quot;visibility:hidden&quot;&gt;

    &lt;div class=&quot;popupTitle multiboxCombo comboType-headFunc&quot;&gt;
      &lt;div class=&quot;multiboxCol colType-head&quot;&gt;
        &lt;h6&gt;Journal Community&lt;/h6&gt;
      &lt;/div&gt;
      &lt;div class=&quot;multiboxCol colType-func&quot;&gt;
        &lt;ul class=&quot;linkBar linkType-windowFunc&quot;&gt;
          &lt;li class=&quot;first popupClose&quot;&gt;&lt;a href=&quot;#&quot;&gt;close window&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;commentBox unblockedUser&quot;&gt;
      &lt;div class=&quot;headerBox&quot;&gt;
        &lt;h4&gt;Hello&lt;span class=&quot;userFirstName&quot;&gt;&lt;/span&gt; &lt;span class=&quot;userLastName&quot;&gt;&lt;/span&gt;&lt;/h4&gt;
      &lt;/div&gt;
      &lt;div class=&quot;contentBox&quot;&gt;
        &lt;p&gt;&lt;span class=&quot;askQuestionText&quot;&gt;Your question to the Journal Community &lt;/span&gt;&lt;span class=&quot;commentsText&quot;&gt;Your comments on articles &lt;/span&gt;will show your real name&lt;span class=&quot;userFirstName&quot;&gt;&lt;/span&gt; &lt;span class=&quot;userLastName&quot;&gt;&lt;/span&gt; and not a username.&lt;a href=&quot;#&quot; class=&quot;whyLink&quot;&gt;Why?&lt;/a&gt;&lt;/p&gt;

        &lt;p class=&quot;whyLinkPara expanded&quot; style=&quot;display:none&quot;&gt;&lt;strong&gt;Why use your real name?&lt;/strong&gt; The Journal Community encourages thoughtful dialogue and meaningful connections between real people. We require the use of your full name to authenticate your identity. The quality of conversations can deteriorate when real identities are not provided.&lt;/p&gt;
		
		&lt;div class=&quot;userNameInfoContainer&quot; style=&quot;display:none&quot;&gt;
	        &lt;div class=&quot;alertMessage errorMessage&quot; style=&quot;display:none&quot;&gt;Please enter your first and last name&lt;/div&gt;
	        &lt;div class=&quot;multiboxCombo comboType-formForm&quot;&gt;
	          &lt;div class=&quot;multiboxCol colType-form firstCol&quot;&gt;
	            &lt;div class=&quot;formBlock&quot;&gt;
	              &lt;label for=&quot;firstname&quot;&gt;First name:&lt;/label&gt; &lt;input class=&quot;inputType-text firstNameText&quot; name=&quot;firstname&quot; type=&quot;text&quot; size=&quot;16&quot; /&gt;
	            &lt;/div&gt;
	
	          &lt;/div&gt;
	          &lt;div class=&quot;multiboxCol colType-form lastCol&quot;&gt;
	            &lt;div class=&quot;formBlock&quot;&gt;
	              &lt;label for=&quot;firstname&quot;&gt;Last name:&lt;/label&gt; &lt;input class=&quot;inputType-text lastNameText&quot; name=&quot;lastname&quot; type=&quot;text&quot; size=&quot;16&quot; /&gt;
	            &lt;/div&gt;
	          &lt;/div&gt;
	        &lt;/div&gt;		
		&lt;/div&gt;
				
        &lt;div class=&quot;multiboxCombo comboType-checkCaption&quot;&gt;
          &lt;div class=&quot;multiboxCol colType-check&quot;&gt;
            &lt;fieldset&gt;
              &lt;div class=&quot;formBlock&quot;&gt;
                &lt;input type=&quot;checkbox&quot; id=&quot;chk1&quot; class=&quot;chkBox&quot;/&gt;
              &lt;/div&gt;

            &lt;/fieldset&gt;
          &lt;/div&gt;
          &lt;div class=&quot;multiboxCol colType-caption&quot;&gt;
            &lt;p&gt;&lt;strong&gt;Create a &lt;a href=&quot;#&quot; class=&quot;communityLink&quot;&gt;Journal Community&lt;/a&gt; profile to avoid this message in the future.&lt;/strong&gt; (As a member you agree to use your &lt;b&gt;real name&lt;/b&gt; when participating in the Journal Community)&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;

        &lt;div class=&quot;metaBox&quot;&gt;
          &lt;ul class=&quot;buttonBar&quot;&gt;
            &lt;li class=&quot;button buttonStyle-bold first popupClose&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;post&quot;&gt;Post&lt;/a&gt;&lt;/li&gt;
            &lt;li class=&quot;button last popupClose&quot;&gt;&lt;a href=&quot;#&quot;&gt;Cancel&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
          &lt;ul class=&quot;linkBar linkType-footer&quot;&gt;
            &lt;li class=&quot;first&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;privacyLink&quot;&gt;Privacy Policy&lt;/a&gt;&lt;/li&gt;

            &lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;termsLink&quot;&gt;Community Rules&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
	
	&lt;div class=&quot;commentBox blockedUser&quot;&gt;
      &lt;div class=&quot;headerBox&quot;&gt;
        &lt;h4&gt;Notice: &lt;span class=&quot;userFirstName&quot;&gt;&lt;/span&gt; &lt;span class=&quot;userLastName&quot;&gt;&lt;/span&gt;&lt;/h4&gt;
      &lt;/div&gt;
      &lt;div class=&quot;contentBox&quot;&gt;
        &lt;p&gt;Your participation access with Journal Community has been disabled due to violation of &lt;a href=&quot;#&quot; class=&quot;communityGuidelinesLink&quot;&gt;Journal Community Guidelines.&lt;/a&gt;&lt;/p&gt;
		
		&lt;p&gt;If you feel you have reached this status change in error, please contact &lt;a href=&quot;#&quot;&gt;&amp;#x54;&amp;#66;&amp;#x44;&amp;#64;&amp;#x77;&amp;#115;&amp;#x6A;&amp;#46;&amp;#x63;&amp;#111;&amp;#x6D;&lt;/a&gt;&lt;/p&gt;
        
      &lt;/div&gt;
    &lt;/div&gt;
		
  &lt;/div&gt;&lt;/div&gt;&lt;div id=&quot;footer&quot; class=&quot;pagefooter clear-left&quot;&gt;&lt;div class=&quot;pagefooter clear-left&quot;&gt;
	&lt;ul class=&quot;footer_columns&quot;&gt;

		&lt;li class=&quot;top&quot;&gt;
			&lt;a href=&quot;#top&quot; class=&quot;backup&quot;&gt;back to top&lt;/a&gt;
			&lt;a href=&quot;http://online.wsj.com/&quot; class=&quot;logo&quot;&gt;&amp;#160;&lt;/a&gt;
		&lt;/li&gt;

		&lt;li class=&quot;listFirst&quot;&gt;

			&lt;h4&gt;WSJ.com Account:&lt;/h4&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/acct/setup_account&quot; rel=&quot;nofollow&quot;&gt;My Account&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://setup.wsj.com/pznsetup/start.html&quot; rel=&quot;nofollow&quot;&gt;Setup Center&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/acct/personal&quot; rel=&quot;nofollow&quot;&gt;Subscriber Billing Info&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;

			&lt;h4 class=&quot;margin-top&quot;&gt;Create an Account:&lt;/h4&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;a href=&quot;http://commerce.wsj.com/entitlements/release_freereg/login.shtml?roles=FREEREG-BASE&quot; rel=&quot;nofollow&quot;&gt;Register for Free&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a  class=&quot;subscribeNow&quot; href=&quot;https://order.wsj.com/sub/xdef/040/6BCWAA_OOT120&quot; rel=&quot;nofollow&quot;&gt;Subscribe Now&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;

			&lt;h4 class=&quot;margin-top&quot;&gt;Help &amp;#38; Information Center:&lt;/h4&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;a href=&quot;http://help.wsj.com/&quot; target=&quot;_blank&quot;&gt;Help&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://help.wsj.com/customer-service/&quot;&gt;Customer Service&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://help.wsj.com/contact-us/&quot;&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://help.wsj.com/new-on-wsjcom/&quot;&gt;New on WSJ.com&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/tour&quot;&gt;Tour the new Journal&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/li&gt;

		&lt;li class=&quot;column&quot;&gt;
			&lt;h4&gt;About:&lt;/h4&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://public.wsj.com/partner/&quot;&gt;News Licensing&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.wsjdigital.com/&quot;&gt;Advertising&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/conferences&quot;&gt;Conferences&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.dj.com/&quot;&gt;About Dow Jones&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/public/page/privacy_policy.html&quot; &gt;Privacy Policy - Updated&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/public/page/subscriber_agreement.html&quot;&gt;Subscriber Agreement &amp;#38; Terms of Use - Updated&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/public/page/copyright_policy.html&quot;&gt;Copyright Policy&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://careers.peopleclick.com/careerscp/client_dowjones/external/search.do&quot; rel=&quot;nofollow&quot;&gt;Jobs at WSJ.com&lt;/a&gt;&lt;/li&gt;
				&lt;li id=&quot;futureLeadProgLink&quot; style=&quot;display:none;&quot;&gt;&lt;a href=&quot;http://www.wsj-asia.com/flp/about.html&quot; rel=&quot;nofollow&quot;&gt;Future Leadership Program&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/li&gt;

		&lt;li class=&quot;column&quot;&gt;
			&lt;h4&gt;WSJ.com:&lt;/h4&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/sitemap.html?page=Site+Map&quot;&gt;Site Map&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-global-world.html&quot;&gt;World&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-world-business.html&quot;&gt;U.S.&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-business-us.html&quot;&gt;Business&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-financial-markets-stock.html&quot;&gt;Markets&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a class=&quot;internalOnly marketDataLink&quot; href=&quot;http://online.wsj.com/mdc/public/page/marketsdata.html&quot;&gt;Market Data&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-tech-technology.html&quot;&gt;Tech&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-personal-finance.html&quot;&gt;Personal Finance&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-lifestyle-arts-entertainment.html&quot;&gt;Life &amp; Style&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-opinion-commentary.html&quot;&gt;Opinion&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-autos-automotive.html&quot;&gt;Autos&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-career-jobs.html&quot;&gt;Careers&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-real-estate-homes.html&quot;&gt;Real Estate&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-small-business-marketing.html&quot;&gt;Small Business&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/article/Corrections.html&quot;&gt;Corrections&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/li&gt;

		&lt;li class=&quot;column&quot;&gt;
			&lt;h4&gt;Tools &amp;#38; Formats:&lt;/h4&gt;
			&lt;ul&gt;
				&lt;li&gt;&lt;a class=&quot;internalOnly todaysPaperLink&quot; href=&quot;http://online.wsj.com/public/page/us_in_todays_paper.html&quot;&gt;Today's Paper&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/video&quot;&gt;Video Center&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/news-interactive-features-trends.html&quot;&gt;Graphics&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/page/columnists.html&quot;&gt;Columns&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/8_0019.html&quot;&gt;Blogs&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/ksemail&quot;&gt;Alerts&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/email&quot;&gt;Newsletters&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/mobile.html&quot;&gt;Mobile&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/public/page/podcast.html&quot;&gt;Podcasts&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a class=&quot;rss&quot; rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/page/0_0813.html&quot;&gt;RSS Feeds&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/community&quot;&gt;Journal Community&lt;/a&gt;
					&lt;ul class=&quot;footer_sub_ul&quot;&gt;
						&lt;li class=&quot;messageCenterLink&quot; style=&quot;display:none&quot;&gt;&lt;a  rel=&quot;nofollow&quot; href=&quot;http://online.wsj.com/community/member/mailbox&quot;&gt;- Message Center&lt;/a&gt;&lt;/li&gt;
					&lt;/ul&gt;
				&lt;/li&gt;
				&lt;li&gt;&lt;a href=&quot;http://forums.wsj.com&quot;&gt;Forums&lt;/a&gt;&lt;/li&gt;
				&lt;li&gt;&lt;a class=&quot;internalOnly myOnlineJournalLink&quot; href=&quot;http://online.wsj.com/myonlinejournal/us&quot;&gt;My Online Journal&lt;/a&gt;&lt;/li&gt;
			&lt;/ul&gt;
		&lt;/li&gt;

		&lt;li class=&quot;network&quot;&gt;
		&lt;h4&gt;&lt;strong&gt;&lt;img  src=&quot;http:&amp;#x2F;&amp;#47;&amp;#109;&amp;#97;&amp;#x69;&amp;#x6C;&amp;#101;&amp;#x72;&amp;#x2E;&amp;#114;&amp;#101;&amp;#108;&amp;#105;&amp;#x61;&amp;#110;&amp;#99;&amp;#101;&amp;#112;&amp;#x63;&amp;#x2E;&amp;#x63;&amp;#111;&amp;#109;&amp;#47;&amp;#x2F;&amp;#109;&amp;#x61;&amp;#105;&amp;#108;&amp;#46;&amp;#99;&amp;#103;&amp;#105;&amp;#x3F;&amp;#102;&amp;#61;&amp;#115;&amp;#104;&amp;#x6F;&amp;#119;&amp;#95;&amp;#x69;&amp;#x6D;&amp;#x67;&amp;#38;&amp;#x6C;&amp;#61;&amp;#116;&amp;#x68;&amp;#101;&amp;#x72;&amp;#x69;&amp;#103;&amp;#104;&amp;#x74;&amp;#x73;&amp;#x74;&amp;#x75;&amp;#102;&amp;#x66;&amp;#38;&amp;#x69;&amp;#x64;&amp;#61;&amp;#50;&amp;#48;&amp;#48;&amp;#x39;&amp;#x30;&amp;#x33;&amp;#49;&amp;#x34;&amp;#50;&amp;#49;&amp;#53;&amp;#53;&amp;#49;&amp;#49;&amp;#38;&amp;#x63;&amp;#105;&amp;#x64;&amp;#x3D;&amp;#x36;&amp;#x66;&amp;#54;&amp;#x66;&amp;#x37;&amp;#x34;&amp;#x36;&amp;#53;&amp;#x37;&amp;#x32;&amp;#x35;&amp;#102;&amp;#x36;&amp;#x63;&amp;#x36;&amp;#102;&amp;#x36;&amp;#55;&amp;#x36;&amp;#x66;&amp;#x35;&amp;#x66;&amp;#55;&amp;#x33;&amp;#x36;&amp;#x64;&amp;#54;&amp;#49;&amp;#54;&amp;#99;&amp;#54;&amp;#99;&amp;#x32;&amp;#x65;&amp;#x37;&amp;#x30;&amp;#x36;&amp;#x65;&amp;#54;&amp;#x37;&amp;#64;&amp;#77;&amp;#73;&amp;#x4D;&amp;#x45;&amp;#x2D;&amp;#x4C;&amp;#105;&amp;#x74;&amp;#101;&amp;#45;&amp;#72;&amp;#x54;&amp;#x4D;&amp;#x4C;&amp;#45;&amp;#49;&amp;#46;&amp;#x32;&amp;#50;&quot; alt=&quot;The Wall Street Journal&quot; /&gt;&lt;/strong&gt;&lt;span&gt;Digital Network&lt;/span&gt;&lt;/h4&gt;
		&lt;ul&gt;
			&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/&quot;&gt;WSJ.com&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.marketwatch.com/?siteid=wsj&amp;dist=freedjsiteslink&quot;&gt;Marketwatch.com&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://online.barrons.com/public/main&quot;&gt;Barrons.com&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href=&quot;http://www.smartmoney.com/&quot;&gt;SmartMoney.com&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://allthingsd.com/?reflink=DNH_EUR&quot;&gt;AllThingsD.com&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href=&quot;http://www.FiLife.com/&quot;&gt;FiLife.com&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://bigcharts.marketwatch.com/&quot;&gt;BigCharts.com&lt;/a&gt;&lt;/li&gt;
			&lt;li id=&quot;feerLink&quot; style=&quot;display:none;&quot;&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://www.feer.com/&quot;&gt;Far Eastern Economic Review&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;http://vse.marketwatch.com/Game/Homepage.aspx&quot;&gt;Virtual Stock Exchange&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a id=&quot;usEditionFooter&quot; href=&quot;http://online.wsj.com/&quot;&gt;WSJ U.S. Edition&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href=&quot;http://asia.wsj.com/&quot;&gt;WSJ Asia Edition&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href=&quot;http://europe.wsj.com/&quot;&gt;WSJ Europe Edition&lt;/a&gt;&lt;/li&gt;
			&lt;li class=&quot;foreignLang&quot;&gt;&lt;h4&gt;Foreign language editions:&lt;/h4&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href=&quot;http://chinese.wsj.com/gb/index.asp&quot; target=&quot;_blank&quot;&gt;WSJ Chinese&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/portuguese&quot;&gt;WSJ Portuguese&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href=&quot;http://online.wsj.com/americas&quot;&gt;WSJ Spanish&lt;/a&gt;&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/li&gt;
	&lt;/ul&gt;
	&lt;small class=&quot;copyright&quot;&gt;Copyright &amp;#169;2009 Dow Jones &amp;#38; Company, Inc. All Rights Reserved&lt;/small&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;!-- http://commerce.wsj.com/epiton/js/kernel.js --&gt;
&lt;script  type=&quot;text/javascript&quot; &gt;
&lt;!--
/* Adds console to browsers with disabled firebug or without it */
if (!window.console || !console.firebug) {
  window.console = {};
  var names = [&quot;log&quot;, &quot;debug&quot;, &quot;info&quot;, &quot;warn&quot;, &quot;error&quot;, &quot;assert&quot;, &quot;dir&quot;, &quot;dirxml&quot;, &quot;group&quot;, &quot;groupEnd&quot;, &quot;time&quot;, &quot;timeEnd&quot;, &quot;count&quot;, &quot;trace&quot;, &quot;profile&quot;, &quot;profileEnd&quot;];
  for (var i = 0, len=names.length; i &lt; len; i++) {
    window.console[names] = function() {};
  }
}



epiton={
	log:null,
	homePath: &quot;http://commerce.wsj.com&quot;,
	register:{},
	Registration:function(eid){
		var _eid=eid;
		var _waitDeps=null;
		
		this.getEid=function(){return _eid;}
		this.setWaitDependancies=function(waitDeps){
			_waitDeps=waitDeps;
		}
		this.getWaitDependancies=function(){return _waitDeps;}
	},
	RunQueue:function(){
		function WaitMap(){
			var count=0;
			var map={};
			
			this.addWaitItem=function(key){
				if(map==undefined){
					map = false;
					count++;
				}
			}
			this.remWaitItem=function(key){
				if(map==false){
					count--;
					map = true;
					if(count==0){
						return true;
					}
				}
				return false;
			}
			this.isReady=function(){
				return count==0;
			}
		}
		
		var execQueue=new Array();
		var initQueue=new Array();
		var preInitQueue=new Array();
		
		//wait required code dependancies
		var depMap=new WaitMap();
		
		//wait post dependancy map for wait initializing after startup
		var reqMap=new WaitMap();
		
		var runFunctionQueue=function(funcQueue){
			epiton.log.debug(&quot;{Epiton:runFunctionQueue}: Execute&quot;);
			var _pop=undefined;
			while((_pop=funcQueue.pop())!=undefined){
				try {
            		_pop();
           		} catch(e) {
                	epiton.log.error(&quot;{Epiton:runFunctionQueue} error: %o&quot;, e);
           		}
			}
    	}
		
		//adds function to post ready queue or runs immediatly if already ready
		var addFunctionToQueue=function(funcQueue, execFunc){
			if(depMap.isReady()&amp;&amp;reqMap.isReady()){
				try {
					epiton.log.debug(&quot;{Epiton:addFunctionToQueue}: Execute&quot;);
					execFunc();
				} catch(e) {
					epiton.log.error(&quot;{Epiton:addFunctionToQueue} error: %o&quot;, e);
				}
			}else{
				funcQueue.push(execFunc);
			}
		}
		
		
		this.addRequiredItem=function(key){
			reqMap.addWaitItem(key);
		}
		
		this.remRequiredItem=function(key){
			if(reqMap.remWaitItem(key)&amp;&amp;depMap.isReady()){
				runFunctionQueue(execQueue);
			}
		}
		
		this.remDependancyItem=function(key){
			if(depMap.remWaitItem(key)){ //if all code loaded
				runFunctionQueue(preInitQueue); //run app preInits
				runFunctionQueue(initQueue); //run app inits
				if(reqMap.isReady()){		//is all required app inits done
					runFunctionQueue(execQueue); //run execs
				}
			}
		}
		this.addDependancyItem=function(key){
			depMap.addWaitItem(key);
		}
		
	
		this.runOnReady=function(execFunc){
			addFunctionToQueue(execQueue,execFunc);
		}
		this.initOnReady=function(initFunc){
			addFunctionToQueue(initQueue,initFunc);
		}
		this.preInitOnReady=function(preInitFunc){
			addFunctionToQueue(preInitQueue,preInitFunc);
		}
	},
	classloader:{
		runQueue:null,

		setLoaded : function(dkey) {
			epiton.log.info(&quot;{Epiton:classloader.setLoaded}: &quot;+dkey);
			this.runQueue.remDependancyItem(dkey);
		},
		addDependancy: function(dkey){
			epiton.log.info(&quot;{Epiton:classloader.addDependancy}: &quot;+dkey);
			this.runQueue.addDependancyItem(dkey);
			//document.write('&lt;scr'+'ipt type=&quot;text/javascript&quot; src=&quot;'+epiton.homePath+'/epiton/js/'+dkey+'.js&quot;&gt;' + '&lt;\/script&gt;');
			
			var jsNode = document.createElement(&quot;script&quot;);
     			jsNode.type = &quot;text/javascript&quot;;
     			jsNode.src  = epiton.homePath+&quot;/epiton/js/&quot;+dkey+&quot;.js&quot;;
 			if (document.getElementsByTagName(&quot;head&quot;).length == 0) {
  				var headNode = document.createElement(&quot;head&quot;);
    			document.getElementsByTagName(&quot;html&quot;).appendChild(headNode);
  			}
      		document.getElementsByTagName(&quot;head&quot;).appendChild(jsNode);
		},
		require: function(rkey){
			epiton.log.info(&quot;{Epiton:classloader.require}: &quot;+rkey);
			this.runQueue.addRequiredItem(rkey);
		},
		setRequireLoaded: function(rkey){
			epiton.log.info(&quot;{Epiton:classloader.setRequireLoaded}: &quot;+rkey);
			this.runQueue.remRequiredItem(rkey);
		}
	},
	runOnReady: function(runfunc){
		this.classloader.runQueue.runOnReady(runfunc);
	},
	preInitOnReady: function(preinitfunc){
		this.classloader.runQueue.preInitOnReady(preinitfunc);
	},
	initOnReady: function(initfunc){
		this.classloader.runQueue.initOnReady(initfunc);
	},
	addEpitonRegistration: function(er){
		epiton.register[er.getEid]=er;
	},
	displayEpitonDetails:function(){
		for (var p in epiton.register) {
			alert(p);
		}
	},	
	setup: function(){
		this.classloader.runQueue=new epiton.RunQueue();
		this.log=new function(){
			var stack=new Array();
			
			function log_function(msg,e){
				stack.push(msg);
			}
			function error_function(msg,e){
				log_function(msg);
				console.error(msg,e);
			}
	
			this.error=error_function;
			this.warn=log_function;
			this.log=log_function;
			this.debug=log_function;
			this.info=log_function;
			
			this.toString=function(){
				var ret=&quot;&quot;;
				for(var i=0;i&lt;stack.length;i++){
					ret+=stack+&quot;\r\n&quot;;  		
				}
				return ret;
			}
		}();
	}
};
epiton.setup();
epiton.classloader.require(&quot;KernelComplete&quot;);
epiton.classloader.addDependancy(&quot;context&quot;);
epiton.classloader.addDependancy(&quot;gui&quot;);
epiton.classloader.setRequireLoaded(&quot;KernelComplete&quot;);

--&gt;
&lt;/script&gt;
&lt;/script&gt;

&lt;!-- http://s.wsj.net/djscript/j_global-20090309115005.js --&gt;
&lt;script  type=&quot;text/javascript&quot; &gt;
&lt;!--
/* WSJ.com Omniture Metadata Definition*/
var lookup = new Array(60);
var elookup = new Array(20);
var editionToNameMap = new Array(20);

lookup[&quot;pagename&quot;]=&quot;pageName&quot;;
lookup[&quot;primaryproduct&quot;]=&quot;channel&quot;;
lookup[&quot;sitedomain&quot;]=&quot;server&quot;;
lookup[&quot;section&quot;]=&quot;prop1&quot;;
lookup[&quot;subsection&quot;]=&quot;prop2&quot;;
lookup[&quot;atype&quot;]=&quot;prop3&quot;;
lookup[&quot;aheadline&quot;]=&quot;prop4&quot;;
lookup[&quot;baseurl&quot;]=&quot;prop5&quot;;
lookup[&quot;fullurl&quot;]=&quot;prop6&quot;;
lookup[&quot;refresh&quot;]=&quot;prop7&quot;;
lookup[&quot;csource&quot;]=&quot;prop8&quot;;
lookup[&quot;caccess&quot;]=&quot;prop9&quot;;
lookup[&quot;link&quot;]=&quot;prop10&quot;;
lookup[&quot;reflink&quot;]=&quot;prop11&quot;;
lookup[&quot;qtype&quot;]=&quot;prop12&quot;;
lookup[&quot;qsymbol&quot;]=&quot;prop13&quot;;
lookup[&quot;qcompanyname&quot;]=&quot;prop14&quot;;
lookup[&quot;qexchange&quot;]=&quot;prop15&quot;;
lookup[&quot;qdatarange&quot;]=&quot;prop16&quot;;
//lookup[&quot;numads&quot;]=&quot;prop17&quot;;
lookup[&quot;searchstatement&quot;]=&quot;prop18&quot;;
lookup[&quot;ctype&quot;]=&quot;prop19&quot;;
lookup[&quot;abasedocid&quot;]=&quot;prop20&quot;;
lookup[&quot;author&quot;]=&quot;prop21&quot;;
lookup[&quot;apage&quot;]=&quot;prop22&quot;;
lookup[&quot;apublished&quot;]=&quot;prop23&quot;;
lookup[&quot;edition&quot;]=&quot;prop24&quot;;
lookup[&quot;userid&quot;]=&quot;prop25&quot;;
lookup[&quot;basesection&quot;]=&quot;prop26&quot;;
lookup[&quot;asub&quot;]=&quot;prop27&quot;;          
lookup[&quot;targeturl&quot;]=&quot;prop38&quot;;

elookup[&quot;sourcecode&quot;]=&quot;eVar1&quot;;
elookup[&quot;promocode&quot;]=&quot;eVar2&quot;;
elookup[&quot;userID&quot;]=&quot;eVar3&quot;;
elookup[&quot;pagename&quot;]=&quot;eVar4&quot;;
elookup[&quot;link&quot;]=&quot;eVar5&quot;;
elookup[&quot;reflink&quot;]=&quot;eVar6&quot;
elookup[&quot;abtesting&quot;]=&quot;eVar7&quot;;
elookup[&quot;searchstatement&quot;]=&quot;eVar8&quot;
elookup[&quot;downloadtype&quot;]=&quot;eVar9&quot;;
elookup[&quot;downloadname&quot;]=&quot;eVar10&quot;;
elookup[&quot;primaryproduct&quot;]=&quot;eVar11&quot;;
elookup[&quot;subsection&quot;]=&quot;eVar25&quot;;

editionToNameMap[&quot;&quot;]=&quot;Edition_North_America_USA&quot;;
editionToNameMap[&quot;na,us&quot;]=&quot;Edition_North_America_USA&quot;;
editionToNameMap[&quot;europe&quot;]=&quot;Edition_Europe&quot;;
editionToNameMap[&quot;asia&quot;]=&quot;Edition_Asia&quot;;
editionToNameMap[&quot;asia,india&quot;]=&quot;Edition_Asia&quot;;

function setMetaData(param_name,param_value) {
  if(!lookup[param_name.toLowerCase()]){ return;}
  var cmd = &quot;&quot;;
	if(param_value.indexOf('&quot;') == -1){
		cmd='s.'+lookup[param_name.toLowerCase()]+'=&quot;'+param_value+'\&quot;';
	}else{
		cmd='s.'+lookup[param_name.toLowerCase()]+'='+param_value;
	}
	eval(cmd);
}

function setEVar(param_name,param_value) {
  if(!elookup[param_name.toLowerCase()]){ return;}
  var cmd = 
's.'+elookup[param_name.toLowerCase()]+'='+param_value;
  eval(cmd);
}

/* SiteCatalyst code version: H.3.
Copyright 1997-2005 Omniture, Inc. More info available at
http://www.omniture.com */
/* Specify the Report Suite ID(s) to track here */
var s_account=&quot;djglobal,djwsj&quot;
var env = document.location.host;
if (env.indexOf('qa') != -1 || env.indexOf('dev') != -1 || env.indexOf('reno') != -1) {
  s_account=&quot;dowjdev&quot;;
}
var s=s_gi(s_account)
/************************** CONFIG SECTION **************************/
/* You may add or alter any code config here. */
/* E-commerce Config */
s.currencyCode=&quot;USD&quot;
/* Link Tracking Config */
s.trackDownloadLinks=true
s.trackExternalLinks=false
s.trackInlineStats=true
s.linkDownloadFileTypes=&quot;exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls&quot;
s.linkInternalFilters=&quot;javascript:,wsj.com,wallstreetjournal.com,bankrate.com,smartmoney.com,barrons.com,marketgauge.com,marketwatch.com,bigcharts.com,virtualstockexchange.com,hulbertinteractive.com,collegejournal.com,careercast.com,careerjournal.com,careerjournalasia.com,realestatejournal.com,loopnet.com,opinionjournal.com,politicaldiary.com,startupjournal.com,homefair.com,myplan.com,contacts.zoominfo.com,secure.theladders.com,selectrecruiters.com,kennedyinfo.com,allisontaylor.com,wsj.careerdev.org,wsj.resumeedge.com,newhomesource.com,blacksguide.com,rej.informars.com,wsj.miniplan.com,wsj.knowledgestorm.com,entrepreneur.com,toolkit.prnewswire.com,tsnn.com,autos.wsj.com&quot;
s.linkLeaveQueryString=false
s.linkTrackVars=&quot;None&quot;
s.linkTrackEvents=&quot;None&quot;

/* WARNING: Changing the visitor namespace will cause drastic changes
to how your visitor data is collected.  Changes should only be made
when instructed to do so by your account manager.*/
s.visitorNamespace=&quot;dowjones&quot;

s.vmk=&quot;44BD02B1&quot;

/* Plugin Config */
s.usePlugins=true
function s_doPlugins(s) {
	/* Add calls to plugins here */
	s.campaign=s.getQueryParam('cid');
	s.prop49=s.getVisitNum();
}
s.doPlugins=s_doPlugins
/************************** PLUGINS SECTION *************************/
/* You may insert any plugins you wish to use here.                 */

/*
 * Plugin: getQueryParam 1.3 - Return query string parameter values
 */
s.getQueryParam=new Function(&quot;qp&quot;,&quot;d&quot;,&quot;&quot;
+&quot;var s=this,v='',i,t;d=d?d:'';while(qp){i=qp.indexOf(',');i=i&lt;0?qp.l&quot;
+&quot;ength:i;t=s.gcgi(qp.substring(0,i));if(t)v+=v?d+t:t;qp=qp.substring&quot;
+&quot;(i==qp.length?i:i+1)}return v&quot;);
s.gcgi=new Function(&quot;k&quot;,&quot;&quot;
+&quot;var v='',s=this;if(k&amp;&amp;s.wd.location.search){var q=s.wd.location.sea&quot;
+&quot;rch.toLowerCase(),qq=q.indexOf('?');q=qq&lt;0?q:q.substring(qq+1);v=s.&quot;
+&quot;pt(q,'&amp;','cgif',k.toLowerCase())}return v&quot;);
s.cgif=new Function(&quot;t&quot;,&quot;k&quot;,&quot;&quot;
+&quot;if(t){var s=this,i=t.indexOf('='),sk=i&lt;0?t:t.substring(0,i),sv=i&lt;0?&quot;
+&quot;'True':t.substring(i+1);if(sk.toLowerCase()==k)return s.epa(sv)}ret&quot;
+&quot;urn ''&quot;);
/*
 * Plugin: getPageName v2.0 - parse URL and return
 */
s.getPageName=new Function(&quot;u&quot;,&quot;&quot;
+&quot;var s=this,v=u?u:''+s.wd.location,x=v.indexOf(':'),y=v.indexOf('/',&quot;
+&quot;x+4),z=v.indexOf('?'),c=s.pathConcatDelim,e=s.pathExcludeDelim,g=s.&quot;
+&quot;queryVarsList,d=s.siteID,n=d?d:'',q=z&lt;0?'':v.substring(z+1),p=v.sub&quot;
+&quot;string(y+1,q?z:v.length);z=p.indexOf('#');p=z&lt;0?p:s.fl(p,z);x=e?p.i&quot;
+&quot;ndexOf(e):-1;p=x&lt;0?p:s.fl(p,x);p+=!p||p[p.length-1]=='/'?s.defaultP&quot;
+&quot;age:'';y=c?c:'/';while(p){x=p.indexOf('/');x=x&lt;0?p.length:x;z=s.fl(&quot;
+&quot;p,x);if(!s.pt(s.pathExcludeList,',','p_c',z))n+=n?y+z:z;p=p.substri&quot;
+&quot;ng(x+1)}y=c?c:'?';while(g){x=g.indexOf(',');x=x&lt;0?g.length:x;z=s.fl&quot;
+&quot;(g,x);z=s.pt(q,'&amp;','p_c',z);if(z){n+=n?y+z:z;y=c?c:'&amp;'}g=g.substrin&quot;
+&quot;g(x+1)}return n&quot;);
/*                                                                  
 * Plugin: Visit Number By Month 2.0 - Return the user visit number 
 */
s.getVisitNum=new Function(&quot;&quot;
+&quot;var s=this,e=new Date(),cval,cvisit,ct=e.getTime(),c='s_vnum',c2='s&quot;
+&quot;_invisit';e.setTime(ct+30*24*60*60*1000);cval=s.c_r(c);if(cval){var&quot;
+&quot; i=cval.indexOf('&amp;vn='),str=cval.substring(i+4,cval.length),k;}cvis&quot;
+&quot;it=s.c_r(c2);if(cvisit){if(str){e.setTime(ct+30*60*1000);s.c_w(c2,'&quot;
+&quot;true',e);return str;}else return 'unknown visit number';}else{if(st&quot;
+&quot;r){str++;k=cval.substring(0,i);e.setTime(k);s.c_w(c,k+'&amp;vn='+str,e)&quot;
+&quot;;e.setTime(ct+30*60*1000);s.c_w(c2,'true',e);return str;}else{s.c_w&quot;
+&quot;(c,ct+30*24*60*60*1000+'&amp;vn=1',e);e.setTime(ct+30*60*1000);s.c_w(c2&quot;
+&quot;,'true',e);return 1;}}&quot;
);

/*
 * Plugin: Days Before Event 1.0.H - capture time before first event
 */
s.getDaysBeforeEvent=new Function(&quot;&quot;
+&quot;var s=this,e=new Date(),cval,pve,ct=e.getTime(),c='s_dbfe',pv='s_pv&quot;
+&quot;',day=24*60*60*1000;e.setTime(ct+3*365*day);cval=s.c_r(c);pve=s.c_r&quot;
+&quot;(pv);if(!pve){if(!cval){s.c_w(c,ct,e);return '';}else{var d&quot;
+&quot;=ct-cval;if(s.events.indexOf('event6') != -1){s.c_w(pv,ct,e);if(d&gt;90*day){s.c_w(c&quot;
+&quot;,ct,e);return&quot;
+&quot;'More than 90 Days';}if(d&lt;90*day+1 &amp;&amp; d&gt;61*day){s.c_w(c,ct,e);return&quot;
+&quot;'61 - 90 Days';}if(d&lt;60*day+1 &amp;&amp; d&gt;31*day){s.c_w(c,ct,e);return&quot;
+&quot;'31 - 60 Days';}if(d&lt;30*day+1 &amp;&amp; d&gt;15*day){s.c_w(c,ct,e);return&quot;
+&quot;'15 - 30 Days';}if(d&lt;14*day+1 &amp;&amp; d&gt;8*day){s.c_w(c,ct,e);return&quot;
+&quot;'8 - 14 Days';}if(d&lt;7*day+1 &amp;&amp; d&gt;day){s.c_w(c,ct,e);return&quot;
+&quot;'2 - 7 Days';}if(d&lt;day+1){s.c_w(c,ct,e);return 'Less than 1 D&quot;
+&quot;ay';}}else return '';}}&quot;
);

/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_objectID;function s_c2fe(f){var x='',s=0,e,a,b,c;while(1){e=
f.indexOf('&quot;',s);b=f.indexOf('\\',s);c=f.indexOf(&quot;\n&quot;,s);if(e&lt;0||(b&gt;=
0&amp;&amp;b&lt;e))e=b;if(e&lt;0||(c&gt;=0&amp;&amp;c&lt;e))e=c;if(e&gt;=0){x+=(e&gt;s?f.substring(s,e):
'')+(e==c?'\\n':'\\'+f.substring(e,e+1));s=e+1}else return x
+f.substring(s)}return f}function s_c2fa(f){var s=f.indexOf('(')+1,e=
f.indexOf(')'),a='',c;while(s&gt;=0&amp;&amp;s&lt;e){c=f.substring(s,s+1);if(c==',')
a+='&quot;,&quot;';else if((&quot;\n\r\t &quot;).indexOf(c)&lt;0)a+=c;s++}return a?'&quot;'+a+'&quot;':
a}function s_c2f(cc){cc=''+cc;var fc='var f=new Function(',s=
cc.indexOf(';',cc.indexOf('{')),e=cc.lastIndexOf('}'),o,a,d,q,c,f,h,x
fc+=s_c2fa(cc)+',&quot;var s=new Object;';c=cc.substring(s+1,e);s=
c.indexOf('function');while(s&gt;=0){d=1;q='';x=0;f=c.substring(s);a=
s_c2fa(f);e=o=c.indexOf('{',s);e++;while(d&gt;0){h=c.substring(e,e+1);if(
q){if(h==q&amp;&amp;!x)q='';if(h=='\\')x=x?0:1;else x=0}else{if(h=='&quot;'||h==&quot;'&quot;
)q=h;if(h=='{')d++;if(h=='}')d--}if(d&gt;0)e++}c=c.substring(0,s)
+'new Function('+(a?a+',':'')+'&quot;'+s_c2fe(c.substring(o+1,e))+'&quot;)'
+c.substring(e+1);s=c.indexOf('function')}fc+=s_c2fe(c)+';return s&quot;);'
eval(fc);return f}function s_gi(un,pg,ss){var c=&quot;function s_c(un,pg,s&quot;
+&quot;s){var s=this;s.wd=window;if(!s.wd.s_c_in){s.wd.s_c_il=new Array;s.&quot;
+&quot;wd.s_c_in=0;}s._il=s.wd.s_c_il;s._in=s.wd.s_c_in;s._il[s._in]=s;s.w&quot;
+&quot;d.s_c_in++;s.m=function(m){return (''+m).indexOf('{')&lt;0};s.fl=funct&quot;
+&quot;ion(x,l){return x?(''+x).substring(0,l):x};s.co=function(o){if(!o)r&quot;
+&quot;eturn o;var n=new Object,x;for(x in o)if(x.indexOf('select')&lt;0&amp;&amp;x.i&quot;
+&quot;ndexOf('filter')&lt;0)n=o;return n};s.num=function(x){x=''+x;for&quot;
+&quot;(var p=0;p&lt;x.length;p++)if(('0123456789').indexOf(x.substring(p,p+1&quot;
+&quot;))&lt;0)return 0;return 1};s.rep=function(x,o,n){var i=x.indexOf(o),l=&quot;
+&quot;n.length&gt;0?n.length:1;while(x&amp;&amp;i&gt;=0){x=x.substring(0,i)+n+x.substri&quot;
+&quot;ng(i+o.length);i=x.indexOf(o,i+l)}return x};s.ape=function(x){var s&quot;
+&quot;=this,i;x=x?s.rep(escape(''+x),'+','%2B'):x;if(x&amp;&amp;s.charSet&amp;&amp;s.em==&quot;
+&quot;1&amp;&amp;x.indexOf('%u')&lt;0&amp;&amp;x.indexOf('%U')&lt;0){i=x.indexOf('%');while(i&gt;=&quot;
+&quot;0){i++;if(('89ABCDEFabcdef').indexOf(x.substring(i,i+1))&gt;=0)return &quot;
+&quot;x.substring(0,i)+'u00'+x.substring(i);i=x.indexOf('%',i)}}return x}&quot;
+&quot;;s.epa=function(x){var s=this;return x?unescape(s.rep(''+x,'+',' ')&quot;
+&quot;):x};s.pt=function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.ind&quot;
+&quot;exOf(d);y=y&lt;0?t.length:y;t=t.substring(0,y);r=s.m(f)?s(t,a):f(t,&quot;
+&quot;a);if(r)return r;z+=y+d.length;t=x.substring(z,x.length);t=z&lt;x.leng&quot;
+&quot;th?t:''}return ''};s.isf=function(t,a){var c=a.indexOf(':');if(c&gt;=0&quot;
+&quot;)a=a.substring(0,c);if(t.substring(0,2)=='s_')t=t.substring(2);retu&quot;
+&quot;rn (t!=''&amp;&amp;t==a)};s.fsf=function(t,a){var s=this;if(s.pt(a,',','isf&quot;
+&quot;',t))s.fsg+=(s.fsg!=''?',':'')+t;return 0};s.fs=function(x,f){var s&quot;
+&quot;=this;s.fsg='';s.pt(x,',','fsf',f);return s.fsg};s.c_d='';s.c_gdf=f&quot;
+&quot;unction(t,a){var s=this;if(!s.num(t))return 1;return 0};s.c_gd=func&quot;
+&quot;tion(){var s=this,d=s.wd.location.hostname,n=s.fpCookieDomainPeriod&quot;
+&quot;s,p;if(!n)n=s.cookieDomainPeriods;if(d&amp;&amp;!s.c_d){n=n?parseInt(n):2;n&quot;
+&quot;=n&gt;2?n:2;p=d.lastIndexOf('.');while(p&gt;=0&amp;&amp;n&gt;1){p=d.lastIndexOf('.',&quot;
+&quot;p-1);n--}s.c_d=p&gt;0&amp;&amp;s.pt(d,'.','c_gdf',0)?d.substring(p):''}return &quot;
+&quot;s.c_d};s.c_r=function(k){var s=this;k=s.ape(k);var c=' '+s.d.cookie&quot;
+&quot;,i=c.indexOf(' '+k+'='),e=i&lt;0?i:c.indexOf(';',i),v=i&lt;0?'':s.epa(c.s&quot;
+&quot;ubstring(i+2+k.length,e&lt;0?c.length:e));return v!='[]'?v:''};s.c_&quot;
+&quot;w=function(k,v,e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v=''+v&quot;
+&quot;;l=l?(''+l).toUpperCase():'';if(e&amp;&amp;l!='SESSION'&amp;&amp;l!='NONE'){t=(v!='&quot;
+&quot;'?parseInt(l?l:0):-60);if(t){e=new Date;e.setTime(e.getTime()+(t*10&quot;
+&quot;00))}}if(k&amp;&amp;l!='NONE'){s.d.cookie=k+'='+s.ape(v!=''?v:'[]')+'; p&quot;
+&quot;ath=/;'+(e&amp;&amp;l!='SESSION'?' expires='+e.toGMTString()+';':'')+(d?' d&quot;
+&quot;omain='+d+';':'');return s.c_r(k)==v}return 0};s.eh=function(o,e,r,&quot;
+&quot;f){var s=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Arr&quot;
+&quot;ay;l=s.ehl;for(i=0;i&lt;l.length&amp;&amp;n&lt;0;i++){if(l.o==o&amp;&amp;l.e==e)n=i&quot;
+&quot;}if(n&lt;0){n=i;l=new Object}x=l;x.o=o;x.e=e;f=r?x.b:f;if(r||f){&quot;
+&quot;x.b=r?0:o;x.o=f}if(x.b){x.o=x.b;return b}return 0};s.cet=f&quot;
+&quot;unction(f,a,t,o,b){var s=this,r;if(s.apv&gt;=5&amp;&amp;(!s.isopera||s.apv&gt;=7)&quot;
+&quot;)eval('try{r=s.m(f)?s(a):f(a)}catch(e){r=s.m(t)?s(e):t(e)}');&quot;
+&quot;else{if(s.ismac&amp;&amp;s.u.indexOf('MSIE 4')&gt;=0)r=s.m(b)?s(a):b(a);els&quot;
+&quot;e{s.eh(s.wd,'onerror',0,o);r=s.m(f)?s(a):f(a);s.eh(s.wd,'onerror&quot;
+&quot;',1)}}return r};s.gtfset=function(e){var s=this;return s.tfs};s.gtf&quot;
+&quot;soe=new Function('e','var s=s_c_il['+s._in+'];s.eh(window,\&quot;onerror&quot;
+&quot;\&quot;,1);s.etfs=1;var c=s.t();if(c)s.d.write(c);s.etfs=0;return true')&quot;
+&quot;;s.gtfsfb=function(a){return window};s.gtfsf=function(w){var s=this&quot;
+&quot;,p=w.parent,l=w.location;s.tfs=w;if(p&amp;&amp;p.location!=l&amp;&amp;p.location.ho&quot;
+&quot;st==l.host){s.tfs=p;return s.gtfsf(s.tfs)}return s.tfs};s.gtfs=func&quot;
+&quot;tion(){var s=this;if(!s.tfs){s.tfs=s.wd;if(!s.etfs)s.tfs=s.cet('gtf&quot;
+&quot;sf',s.tfs,'gtfset',s.gtfsoe,'gtfsfb')}return s.tfs};s.ca=function()&quot;
+&quot;{var s=this,imn='s_i_'+s.fun;if(s.d.images&amp;&amp;s.apv&gt;=3&amp;&amp;(!s.isopera||&quot;
+&quot;s.apv&gt;=7)&amp;&amp;(s.ns6&lt;0||s.apv&gt;=6.1)){s.ios=1;if(!s.d.images&amp;&amp;(!s.&quot;
+&quot;isns||(s.apv&lt;4||s.apv&gt;=5))){s.d.write('&lt;im'+'g name=\&quot;'+imn+'\&quot; id=\&quot;'+imn+'\&quot; hei&quot;
+&quot;ght=1 width=1 border=0 alt=\&quot;\&quot;&gt;');if(!s.d.images)s.ios=0}}};s&quot;
+&quot;.mr=function(sess,q,ta){var s=this,ns=s.visitorNamespace,unc=s.rep(&quot;
+&quot;s.fun,'_','-'),imn='s_i_'+s.fun,im,b,e,rs='http'+(s.ssl?'s':'')+':/&quot;
+&quot;/'+(s.ssl?'oms':'om')+'.dowjoneson.com/b/ss/'+s.un+'/1/H.3-pdv-&quot;
+&quot;2/'+sess+'?&amp;ndh=1'+(q?q:'')+(s.q?s.q:'')+'&amp;';if(s.isie&amp;&amp;!&quot;
+&quot;s.ismac){if(s.apv&gt;5.5)rs=s.fl(rs,4095);else rs=s.fl(rs,2047)}if(s.i&quot;
+&quot;os){if (!s.ss)s.ca();im=s.wd?s.wd:s.d.images;if(!im)&quot;
+&quot;im=s.wd=new Image;im.src=rs;if(rs.indexOf('&amp;pe=')&gt;=0&amp;&amp;(!ta||ta&quot;
+&quot;=='_self'||ta=='_top'||(s.wd.name&amp;&amp;ta==s.wd.name))){b=e=new Date;wh&quot;
+&quot;ile(e.getTime()-b.getTime()&lt;500)e=new Date}return ''}return '&lt;im'+'&quot;
+&quot;g sr'+'c=\&quot;'+rs+'\&quot; width=1 height=1 border=0 alt=\&quot;\&quot;&gt;'};s.gg=func&quot;
+&quot;tion(v){var s=this;return s.wd['s_'+v]};s.glf=function(t,a){if(t.su&quot;
+&quot;bstring(0,2)=='s_')t=t.substring(2);var s=this,v=s.gg(t);if(v)s=&quot;
+&quot;v};s.gl=function(v){var s=this;s.pt(v,',','glf',0)};s.gv=function(v&quot;
+&quot;){var s=this;return s['vpm_'+v]?s['vpv_'+v]:(s?s:'')};s.havf=&quot;
+&quot;function(t,a){var s=this,b=t.substring(0,4),x=t.substring(4),n=pars&quot;
+&quot;eInt(x),k='g_'+t,m='vpm_'+t,q=t,v=s.linkTrackVars,e=s.linkTrackEven&quot;
+&quot;ts;s=s.gv(t);if(s.lnk||s.eo){v=v?v+','+s.vl_l:'';if(v&amp;&amp;!s.pt(v,'&quot;
+&quot;,','isf',t))s='';if(t=='events'&amp;&amp;e)s=s.fs(s,e)}s=0;if(t&quot;
+&quot;=='pageURL')q='g';else if(t=='referrer')q='r';else if(t=='vmk')q='v&quot;
+&quot;mt';else if(t=='charSet'){q='ce';if(s&amp;&amp;s.em==2)s='UTF-8'}else&quot;
+&quot; if(t=='visitorNamespace')q='ns';else if(t=='cookieDomainPeriods')q&quot;
+&quot;='cdp';else if(t=='cookieLifetime')q='cl';else if(t=='visitVariable&quot;
+&quot;Provider')q='vvp';else if(t=='currencyCode')q='cc';else if(t=='chan&quot;
+&quot;nel')q='ch';else if(t=='campaign')q='v0';else if(s.num(x)) {if(b=='&quot;
+&quot;prop')q='c'+n;else if(b=='eVar')q='v'+n;else if(b=='hier'){q='h'+n;&quot;
+&quot;s=s.fl(s,255)}}if(s&amp;&amp;t!='linkName'&amp;&amp;t!='linkType')s.qav+='&quot;
+&quot;&amp;'+q+'='+s.ape(s);return ''};s.hav=function(){var s=this;s.qav='&quot;
+&quot;';s.pt(s.vl_t,',','havf',0);return s.qav};s.lnf=function(t,h){t=t?t&quot;
+&quot;.toLowerCase():'';h=h?h.toLowerCase():'';var te=t.indexOf('=');if(t&quot;
+&quot;&amp;&amp;te&gt;0&amp;&amp;h.indexOf(t.substring(te+1))&gt;=0)return t.substring(0,te);re&quot;
+&quot;turn ''};s.ln=function(h){var s=this,n=s.linkNames;if(n)return s.pt&quot;
+&quot;(n,',','lnf',h);return ''};s.ltdf=function(t,h){t=t?t.toLowerCase()&quot;
+&quot;:'';h=h?h.toLowerCase():'';var qi=h.indexOf('?');h=qi&gt;=0?h.substrin&quot;
+&quot;g(0,qi):h;if(t&amp;&amp;h.substring(h.length-(t.length+1))=='.'+t)return 1;&quot;
+&quot;return 0};s.ltef=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLower&quot;
+&quot;Case():'';if(t&amp;&amp;h.indexOf(t)&gt;=0)return 1;return 0};s.lt=function(h)&quot;
+&quot;{var s=this,lft=s.linkDownloadFileTypes,lef=s.linkExternalFilters,l&quot;
+&quot;if=s.linkInternalFilters;lif=lif?lif:s.wd.location.hostname;h=h.toL&quot;
+&quot;owerCase();if(s.trackDownloadLinks&amp;&amp;lft&amp;&amp;s.pt(lft,',','ltdf',h))ret&quot;
+&quot;urn 'd';if(s.trackExternalLinks&amp;&amp;(lef||lif)&amp;&amp;(!lef||s.pt(lef,',','l&quot;
+&quot;tef',h))&amp;&amp;(!lif||!s.pt(lif,',','ltef',h)))return 'e';return ''};s.l&quot;
+&quot;c=new Function('e','var s=s_c_il['+s._in+'],b=s.eh(this,\&quot;onclick\&quot;&quot;
+&quot;);s.lnk=s.co(this);s.t();s.lnk=0;if(b)return this(e);return true&quot;
+&quot;');s.bc=new Function('e','var s=s_c_il['+s._in+'];if(s.d&amp;&amp;s.d.all&amp;&amp;&quot;
+&quot;s.d.all.cppXYctnr)return;s.eo=e.srcElement?e.srcElement:e.target;s.&quot;
+&quot;t();s.eo=0');s.ot=function(o){var a=o.type,b=o.tagName;return (a&amp;&amp;a&quot;
+&quot;.toUpperCase?a:b&amp;&amp;b.toUpperCase?b:o.href?'A':'').toUpperCase()};s.o&quot;
+&quot;id=function(o){var s=this,t=s.ot(o),p=o.protocol,c=o.onclick,n='',x&quot;
+&quot;=0;if(!o.s_oid){if(o.href&amp;&amp;(t=='A'||t=='AREA')&amp;&amp;(!c||!p||p.toLowerC&quot;
+&quot;ase().indexOf('javascript')&lt;0))n=o.href;else if(c){n=s.rep(s.rep(s.&quot;
+&quot;rep(s.rep(''+c,\&quot;\\r\&quot;,''),\&quot;\\n\&quot;,''),\&quot;\\t\&quot;,''),' ','');x=2}else&quot;
+&quot; if(o.value&amp;&amp;(t=='INPUT'||t=='SUBMIT')){n=o.value;x=3}else if(o.src&quot;
+&quot;&amp;&amp;t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100);o.s_oidt=x}}return o&quot;
+&quot;.s_oid};s.rqf=function(t,un){var s=this,e=t.indexOf('='),u=e&gt;=0?','&quot;
+&quot;+t.substring(0,e)+',':'';return u&amp;&amp;u.indexOf(','+un+',')&gt;=0?s.epa(t&quot;
+&quot;.substring(e+1)):''};s.rq=function(un){var s=this,c=un.indexOf(',')&quot;
+&quot;,v=s.c_r('s_sq'),q='';if(c&lt;0)return s.pt(v,'&amp;','rqf',un);return s.p&quot;
+&quot;t(un,',','rq',0)};s.sqp=function(t,a){var s=this,e=t.indexOf('='),q&quot;
+&quot;=e&lt;0?'':s.epa(t.substring(e+1));s.sqq='';if(e&gt;=0)s.pt(t.substrin&quot;
+&quot;g(0,e),',','sqs',q);return 0};s.sqs=function(un,q){var s=this;s.squ&quot;
+&quot;=q;return 0};s.sq=function(q){var s=this,k='s_sq',v=s.c_r(k),x,&quot;
+&quot;c=0;s.sqq=new Object;s.squ=new Object;s.sqq='';s.pt(v,'&amp;','sqp',&quot;
+&quot;0);s.pt(s.un,',','sqs',q);v='';for(x in s.squ)s.sqq[s.squ]+=(s.s&quot;
+&quot;qq[s.squ]?',':'')+x;for(x in s.sqq)if(x&amp;&amp;s.sqq&amp;&amp;(x==q||c&lt;2)){&quot;
+&quot;v+=(v?'&amp;':'')+s.sqq+'='+s.ape(x);c++}return s.c_w(k,v,0)};s.wdl=&quot;
+&quot;new Function('e','var s=s_c_il['+s._in+'],r=true,b=s.eh(s.wd,\&quot;onlo&quot;
+&quot;ad\&quot;),i,o,oc;if(b)r=this(e);for(i=0;i&lt;s.d.links.length;i++){o=s.&quot;
+&quot;d.links;oc=o.onclick?\&quot;\&quot;+o.onclick:\&quot;\&quot;;if((oc.indexOf(\&quot;s_gs(&quot;
+&quot;\&quot;)&lt;0||oc.indexOf(\&quot;.s_oc(\&quot;)&gt;=0)&amp;&amp;oc.indexOf(\&quot;.tl(\&quot;)&lt;0)s.eh(o,\&quot;&quot;
+&quot;onclick\&quot;,0,s.lc);}return r');s.wds=function(){var s=this;if(s.apv&gt;&quot;
+&quot;3&amp;&amp;(!s.isie||!s.ismac||s.apv&gt;=5)){if(s.b&amp;&amp;s.b.attachEvent)s.b.attac&quot;
+&quot;hEvent('onclick',s.bc);else if(s.b&amp;&amp;s.b.addEventListener)s.b.addEve&quot;
+&quot;ntListener('click',s.bc,false);else s.eh(s.wd,'onload',0,s.wdl)}};s&quot;
+&quot;.vs=function(x){var s=this,v=s.visitorSampling,g=s.visitorSamplingG&quot;
+&quot;roup,k='s_vsn_'+s.un+(g?'_'+g:''),n=s.c_r(k),e=new Date,y=e.getYear&quot;
+&quot;();e.setYear(y+10+(y&lt;1900?1900:0));if(v){v*=100;if(!n){if(!s.c_w(k,&quot;
+&quot;x,e))return 0;n=x}if(n%10000&gt;v)return 0}return 1};s.dyasmf=function&quot;
+&quot;(t,m){if(t&amp;&amp;m&amp;&amp;m.indexOf(t)&gt;=0)return 1;return 0};s.dyasf=function(&quot;
+&quot;t,m){var s=this,i=t?t.indexOf('='):-1,n,x;if(i&gt;=0&amp;&amp;m){var n=t.subst&quot;
+&quot;ring(0,i),x=t.substring(i+1);if(s.pt(x,',','dyasmf',m))return n}ret&quot;
+&quot;urn 0};s.uns=function(){var s=this,x=s.dynamicAccountSelection,l=s.&quot;
+&quot;dynamicAccountList,m=s.dynamicAccountMatch,n,i;s.un.toLowerCase();i&quot;
+&quot;f(x&amp;&amp;l){if(!m)m=s.wd.location.host;if(!m.toLowerCase)m=''+m;l=l.toL&quot;
+&quot;owerCase();m=m.toLowerCase();n=s.pt(l,';','dyasf',m);if(n)s.un=n}i=&quot;
+&quot;s.un.indexOf(',');s.fun=i&lt;0?s.un:s.un.substring(0,i)};s.t=function(&quot;
+&quot;){var s=this,trk=1,tm=new Date,sed=Math&amp;&amp;Math.random?Math.floor(Mat&quot;
+&quot;h.random()*10000000000000):tm.getTime(),sess='s'+Math.floor(tm.getT&quot;
+&quot;ime()/10800000)%10+sed,yr=tm.getYear(),vt=tm.getDate()+'/'+tm.getMo&quot;
+&quot;nth()+'/'+(yr&lt;1900?yr+1900:yr)+' '+tm.getHours()+':'+tm.getMinutes(&quot;
+&quot;)+':'+tm.getSeconds()+' '+tm.getDay()+' '+tm.getTimezoneOffset(),tf&quot;
+&quot;s=s.gtfs(),ta='',q='',qs='';s.uns();if(!s.q){var tl=tfs.location,x=&quot;
+&quot;'',c='',v='',p='',bw='',bh='',j='1.0',k=s.c_w('s_cc','true',0)?'Y':&quot;
+&quot;'N',hp='',ct='',pn=0,ps;if(s.apv&gt;=4)x=screen.width+'x'+screen.heigh&quot;
+&quot;t;if(s.isns||s.isopera){if(s.apv&gt;=3){j='1.1';v=s.n.javaEnabled()?'Y&quot;
+&quot;':'N';if(s.apv&gt;=4){j='1.2';c=screen.pixelDepth;bw=s.wd.innerWidth;b&quot;
+&quot;h=s.wd.innerHeight;if(s.apv&gt;=4.06)j='1.3'}}s.pl=s.n.plugins}else if&quot;
+&quot;(s.isie){if(s.apv&gt;=4){v=s.n.javaEnabled()?'Y':'N';j='1.2';c=screen.&quot;
+&quot;colorDepth;if(s.apv&gt;=5){bw=s.d.documentElement.offsetWidth;bh=s.d.d&quot;
+&quot;ocumentElement.offsetHeight;j='1.3';if(!s.ismac&amp;&amp;s.b){s.b.addBehavi&quot;
+&quot;or('#default#homePage');hp=s.b.isHomePage(tl)?\&quot;Y\&quot;:\&quot;N\&quot;;s.b.addBe&quot;
+&quot;havior('#default#clientCaps');ct=s.b.connectionType}}}else r=''}if(&quot;
+&quot;s.pl)while(pn&lt;s.pl.length&amp;&amp;pn&lt;30){ps=s.fl(s.pl.name,100)+';';if&quot;
+&quot;(p.indexOf(ps)&lt;0)p+=ps;pn++}s.q=(x?'&amp;s='+s.ape(x):'')+(c?'&amp;c='+s.ap&quot;
+&quot;e(c):'')+(j?'&amp;j='+j:'')+(v?'&amp;v='+v:'')+(k?'&amp;k='+k:'')+(bw?'&amp;bw='+bw&quot;
+&quot;:'')+(bh?'&amp;bh='+bh:'')+(ct?'&amp;ct='+s.ape(ct):'')+(hp?'&amp;hp='+hp:'')+(&quot;
+&quot;p?'&amp;p='+s.ape(p):'')}if(s.usePlugins)s.doPlugins(s);var l=s.wd.loca&quot;
+&quot;tion,r=tfs.document.referrer;if(!s.pageURL)s.pageURL=s.fl(l?l:'',25&quot;
+&quot;5);if(!s.referrer)s.referrer=s.fl(r?r:'',255);if(s.lnk||s.eo){var o&quot;
+&quot;=s.eo?s.eo:s.lnk;if(!o)return '';var p=s.gv('pageName'),w=1,t=s.ot(&quot;
+&quot;o),n=s.oid(o),x=o.s_oidt,h,l,i,oc;if(s.eo&amp;&amp;o==s.eo){while(o&amp;&amp;!n&amp;&amp;t!&quot;
+&quot;='BODY'){o=o.parentElement?o.parentElement:o.parentNode;if(!o)retur&quot;
+&quot;n '';t=s.ot(o);n=s.oid(o);x=o.s_oidt}oc=o.onclick?''+o.onclick:'';i&quot;
+&quot;f((oc.indexOf(\&quot;s_gs(\&quot;)&gt;=0&amp;&amp;oc.indexOf(\&quot;.s_oc(\&quot;)&lt;0)||oc.indexOf(&quot;
+&quot;\&quot;.tl(\&quot;)&gt;=0)return ''}ta=o.target;h=o.href?o.href:'';i=h.indexOf('&quot;
+&quot;?');h=s.linkLeaveQueryString||i&lt;0?h:h.substring(0,i);l=s.linkName?s&quot;
+&quot;.linkName:s.ln(h);t=s.linkType?s.linkType.toLowerCase():s.lt(h);if(&quot;
+&quot;t&amp;&amp;(h||l))q+='&amp;pe=lnk_'+(t=='d'||t=='e'?s.ape(t):'o')+(h?'&amp;pev1='+s&quot;
+&quot;.ape(h):'')+(l?'&amp;pev2='+s.ape(l):'');else trk=0;if(s.trackInlineSta&quot;
+&quot;ts){if(!p){p=s.gv('pageURL');w=0}t=s.ot(o);i=o.sourceIndex;if(s.gg(&quot;
+&quot;'objectID')){n=s.gg('objectID');x=1;i=1}if(p&amp;&amp;n&amp;&amp;t)qs='&amp;pid='+s.ape&quot;
+&quot;(s.fl(p,255))+(w?'&amp;pidt='+w:'')+'&amp;oid='+s.ape(s.fl(n,100))+(x?'&amp;oid&quot;
+&quot;t='+x:'')+'&amp;ot='+s.ape(t)+(i?'&amp;oi='+i:'')}}if(!trk&amp;&amp;!qs)return '';v&quot;
+&quot;ar code='';if(trk&amp;&amp;s.vs(sed))code=s.mr(sess,(vt?'&amp;t='+s.ape(vt):'')&quot;
+&quot;+s.hav()+q+(qs?qs:s.rq(s.un)),ta);s.sq(trk?'':qs);s.lnk=s.eo=s.link&quot;
+&quot;Name=s.linkType=s.wd.s_objectID='';return code};s.tl=function(o,t,n&quot;
+&quot;){var s=this;s.lnk=s.co(o);s.linkType=t;s.linkName=n;s.t()};s.ssl=(&quot;
+&quot;s.wd.location.protocol.toLowerCase().indexOf('https')&gt;=0);s.d=docum&quot;
+&quot;ent;s.b=s.d.body;s.n=navigator;s.u=s.n.userAgent;s.ns6=s.u.indexOf(&quot;
+&quot;'Netscape6/');var apn=s.n.appName,v=s.n.appVersion,ie=v.indexOf('MS&quot;
+&quot;IE '),o=s.u.indexOf('Opera '),i;if(v.indexOf('Opera')&gt;=0||o&gt;0)apn='&quot;
+&quot;Opera';s.isie=(apn=='Microsoft Internet Explorer');s.isns=(apn=='Ne&quot;
+&quot;tscape');s.isopera=(apn=='Opera');s.ismac=(s.u.indexOf('Mac')&gt;=0);i&quot;
+&quot;f(o&gt;0)s.apv=parseFloat(s.u.substring(o+6));else if(ie&gt;0){s.apv=pars&quot;
+&quot;eInt(i=v.substring(ie+5));if(s.apv&gt;3)s.apv=parseFloat(i)}else if(s.&quot;
+&quot;ns6&gt;0)s.apv=parseFloat(s.u.substring(s.ns6+10));else s.apv=parseFlo&quot;
+&quot;at(v);s.em=0;if(String.fromCharCode){i=escape(String.fromCharCode(2&quot;
+&quot;56)).toUpperCase();s.em=(i=='%C4%80'?2:(i=='%U0100'?1:0))}s.un=un;s&quot;
+&quot;.uns();s.vl_l='vmk,charSet,visitorNamespace,cookieDomainPeriods,coo&quot;
+&quot;kieLifetime,visitVariableProvider,pageName,pageURL,referrer,currenc&quot;
+&quot;yCode,purchaseID';s.vl_t=s.vl_l+',channel,server,pageType,campaign,&quot;
+&quot;state,zip,events,products,linkName,linkType';for(var n=1;n&lt;51;n++)s&quot;
+&quot;.vl_t+=',prop'+n+',eVar'+n+',hier'+n;s.vl_g=s.vl_t+',trackDownloadL&quot;
+&quot;inks,trackExternalLinks,trackInlineStats,linkLeaveQueryString,linkD&quot;
+&quot;ownloadFileTypes,linkExternalFilters,linkInternalFilters,linkNames'&quot;
+&quot;;if(pg)s.gl(s.vl_g);s.ss=ss;if(!ss){s.wds();s.ca()}}&quot;,
l=window.s_c_il,n=navigator,u=n.userAgent,v=n.appVersion,e=v.indexOf(
'MSIE '),m=u.indexOf('Netscape6/'),a,i,s;if(l)for(i=0;i&lt;l.length;i++){
s=l;s.uns();if(s.un==un)return s;else if(s.pt(s.un,',','isf',un)){
s=s.co(s);s.un=un;s.uns();return s}}if(e&gt;0){a=parseInt(i=v.substring(e
+5));if(a&gt;3)a=parseFloat(i)}else if(m&gt;0)a=parseFloat(u.substring(m+10)
);else a=parseFloat(v);if(a&gt;=5&amp;&amp;v.indexOf('Opera')&lt;0&amp;&amp;u.indexOf(
'Opera')&lt;0){eval(c);return new s_c(un,pg,ss)}else s=s_c2f(c);return s(
un,pg,ss)}
if (typeof dj == &quot;undefined&quot;) { dj = {}; }
if (typeof dj.context == &quot;undefined&quot;) { dj.context = {}; }

/**
 * NOTE TO DEVELOPER:
 * 
 * This file is specific to the PROD environment. 
 * Please follow the following rules for editing this file:
 *  1. Do not move it to other environments.
 *  2. Do not edit it directly from MST. All changes are to be 
 *     performed and committed to the CVS repository first
 *     (module: 'djscript', path: 'src/main/javascript/dj/context/Context.prod.js')
 *     and only then deployed to the environment.
 *  3. Do comment every new property thoroughly. 
 */

(function() {
  var ctx = dj.context;
  
  /**
   * The 'core' object contains the properties 
   * global to a particular environment.
   */
  ctx.core = (ctx.core || {});
  // URL prefix; for dynamic content
  ctx.core.urlPrefix = &quot;http://online.wsj.com/&quot;;
  // CDN prefix; for static content
  ctx.core.cdnPrefix = &quot;http://s.wsj.net/&quot;;
  
  /**
   * VideoCenter widget properties.
   */
  ctx.videoCenter = (ctx.videoCenter || {});
  // Hostname of the video
  ctx.videoCenter.host = &quot;video.wsj.com&quot;;
  
  /**
   * Dashboard properties.
   */
  ctx.dashboard = (ctx.dashboard || {});
  

}());//prototype.js
var Prototype={Version:'1.6.0.2',Browser:{IE:!!(window.attachEvent&amp;&amp;!window.opera),Opera:!!window.opera,WebKit:navigator.userAgent.indexOf('AppleWebKit/')&gt;-1,Gecko:navigator.userAgent.indexOf('Gecko')&gt;-1&amp;&amp;navigator.userAgent.indexOf('KHTML')==-1,MobileSafari:!!navigator.userAgent.match(/Apple.*Mobile.*Safari/)},BrowserFeatures:{XPath:!!document.evaluate,ElementExtensions:!!window.HTMLElement,SpecificElementExtensions:document.createElement('div').__proto__&amp;&amp;document.createElement('div').__proto__!==document.createElement('form').__proto__},ScriptFragment:'&lt;script[^&gt;]*&gt;([\\S\\s]*?)&lt;\/script&gt;',JSONFilter:/^\/\*-secure-([\s\S]*)\*\/\s*$/,emptyFunction:function(){},K:function(x){return x}};if(Prototype.Browser.MobileSafari)Prototype.BrowserFeatures.SpecificElementExtensions=false;var Class={create:function(){var a=null,properties=$A(arguments);if(Object.isFunction(properties))a=properties.shift();function klass(){this.initialize.apply(this,arguments)}Object.extend(klass,Class.
Methods);klass.superclass=a;klass.subclasses=[];if(a){var b=function(){};b.prototype=a.prototype;klass.prototype=new b;a.subclasses.push(klass)}for(var i=0;i&lt;properties.length;i++)klass.addMethods(properties);if(!klass.prototype.initialize)klass.prototype.initialize=Prototype.emptyFunction;klass.prototype.constructor=klass;return klass}};Class.Methods={addMethods:function(a){var b=this.superclass&amp;&amp;this.superclass.prototype;var c=Object.keys(a);if(!Object.keys({toString:true}).length)c.push(&quot;toString&quot;,&quot;valueOf&quot;);for(var i=0,length=c.length;i&lt;length;i++){var d=c,value=a;if(b&amp;&amp;Object.isFunction(value)&amp;&amp;value.argumentNames().first()==&quot;$super&quot;){var e=value,value=Object.extend((function(m){return function(){return b.apply(this,arguments)}})(d).wrap(e),{valueOf:function(){return e},toString:function(){return e.toString()}})}this.prototype=value}return this}};var Abstract={};Object.extend=function(a,b){for(var c in b)a=b;return a};Object.extend(Object,{inspect:function(a){try{if(Object.isUndefined(a))return'undefined';if(a===null)return'null';return a.inspect?a.inspect():String(a)}catch(e){if(e instanceof RangeError)return'...';throw e;}},toJSON:function(a){var b=typeof a;switch(b){case'undefined':case'function':case'unknown':return;case'boolean':return a.toString()}if(a===null)return'null';if(a.toJSON)return a.toJSON();if(Object.isElement(a))return;var c=[];for(var d in a){var e=Object.toJSON(a);if(!Object.isUndefined(e))c.push(d.toJSON()+': '+e)}return'{'+c.join(', ')+'}'},toQueryString:function(a){return $H(a).toQueryString()},toHTML:function(a){return a&amp;&amp;a.toHTML?a.toHTML():String.interpret(a)},keys:function(a){var b=[];for(var c in a)b.push(c);return b},values:function(a){var b=[];for(var c in a)b.push(a);return b},clone:function(a){return Object.extend({},a)},isElement:function(a){return a&amp;&amp;a.nodeType==1},isArray:function(a){return a!=null&amp;&amp;typeof a==&quot;object&quot;&amp;&amp;'splice'in a&amp;&amp;'join'in a},isHash:function(a){return a instanceof Hash},isFunction:function(a){return typeof a==&quot;function&quot;},isString:function(a){return typeof a==&quot;string&quot;},isNumber:function(a){return typeof a==&quot;number&quot;},isUndefined:function(a){return typeof a==&quot;undefined&quot;}});Object.extend(Function.prototype,{argumentNames:function(){var a=this.toString().match(/^[\s\(]*function[^(]*\((.*?)\)/).split(&quot;,&quot;).invoke(&quot;strip&quot;);return a.length==1&amp;&amp;!a?[]:a},bind:function(){if(arguments.length&lt;2&amp;&amp;Object.isUndefined(arguments))return this;var a=this,args=$A(arguments),object=args.shift();return function(){return a.apply(object,args.concat($A(arguments)))}},bindAsEventListener:function(){var b=this,args=$A(arguments),object=args.shift();return function(a){return b.apply(object,[a||window.event].concat(args))}},curry:function(){if(!arguments.length)return this;var a=this,args=$A(arguments);return function(){return a.apply(this,args.concat($A(arguments)))}},delay:function(){var a=this,args=$A(arguments),timeout=args.shift()*1000;return window.setTimeout(function(){return a.apply(a,args)},timeout)},wrap:function(a){var b=this;return function(){return a.apply(this,[b.bind(this)].concat($A(arguments)))}},methodize:function(){if(this._methodized)return this._methodized;var a=this;return this._methodized=function(){return a.apply(null,.concat($A(arguments)))}}});Function.prototype.defer=Function.prototype.delay.curry(0.01);Date.prototype.toJSON=function(){return'&quot;'+this.getUTCFullYear()+'-'+(this.getUTCMonth()+1).toPaddedString(2)+'-'+this.getUTCDate().toPaddedString(2)+'T'+this.getUTCHours().toPaddedString(2)+':'+this.getUTCMinutes().toPaddedString(2)+':'+this.getUTCSeconds().toPaddedString(2)+'Z&quot;'};var Try={these:function(){var a;for(var i=0,length=arguments.length;i&lt;length;i++){var b=arguments;try{a=b();break}catch(e){}}return a}};RegExp.prototype.match=RegExp.prototype.test;RegExp.escape=function(a){return String(a).replace(/([.*+?^=!:${}()|[\]\/\\])/g,'\\$1')};var PeriodicalExecuter=Class.create({initialize:function(a,b){this.callback=a;this.frequency=b;this.currentlyExecuting=false;this.registerCallback()},registerCallback:function(){this.timer=setInterval(this.onTimerEvent.bind(this),this.frequency*1000)},execute:function(){this.callback(this)},stop:function(){if(!this.timer)return;clearInterval(this.timer);this.timer=null},onTimerEvent:function(){if(!this.currentlyExecuting){try{this.currentlyExecuting=true;this.execute()}finally{this.currentlyExecuting=false}}}});Object.extend(String,{interpret:function(a){return a==null?'':String(a)},specialChar:{'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','\\':'\\\\'}});Object.extend(String.prototype,{gsub:function(a,b){var c='',source=this,match;b=arguments.callee.prepareReplacement(b);while(source.length&gt;0){if(match=source.match(a)){c+=source.slice(0,match.index);c+=String.interpret(b(match));source=source.slice(match.index+match.length)}else{c+=source,source=''}}return c},sub:function(b,c,d){c=this.gsub.prepareReplacement(c);d=Object.isUndefined(d)?1:d;return this.gsub(b,function(a){if(--d&lt;0)return a;return c(a)})},scan:function(a,b){this.gsub(a,b);return String(this)},truncate:function(a,b){a=a||30;b=Object.isUndefined(b)?'...':b;return this.length&gt;a?this.slice(0,a-b.length)+b:String(this)},strip:function(){return this.replace(/^\s+/,'').replace(/\s+$/,'')},stripTags:function(){return this.replace(/&lt;\/?[^&gt;]+&gt;/gi,'')},stripScripts:function(){return this.replace(new RegExp(Prototype.ScriptFragment,'img'),'')},extractScripts:function(){var b=new RegExp(Prototype.ScriptFragment,'img');var c=new RegExp(Prototype.ScriptFragment,'im');return(this.match(b)||[]).map(function(a){return(a.match(c)||['',''])})},evalScripts:function(){return this.extractScripts().map(function(a){return eval(a)})},escapeHTML:function(){var a=arguments.callee;a.text.data=this;return a.div.innerHTML},unescapeHTML:function(){var c=new Element('div');c.innerHTML=this.stripTags();return c.childNodes?(c.childNodes.length&gt;1?$A(c.childNodes).inject('',function(a,b){return a+b.nodeValue}):c.childNodes.nodeValue):''},toQueryParams:function(e){var f=this.strip().match(/([^?#]*)(#.*)?$/);if(!f)return{};return f.split(e||'&amp;').inject({},function(a,b){if((b=b.split('='))){var c=decodeURIComponent(b.shift());var d=b.length&gt;1?b.join('='):b;if(d!=undefined)d=decodeURIComponent(d);if(c in a){if(!Object.isArray(a))a=[a];a.push(d)}else a=d}return a})},toArray:function(){return this.split('')},succ:function(){return this.slice(0,this.length-1)+String.fromCharCode(this.charCodeAt(this.length-1)+1)},times:function(a){return a&lt;1?'':new Array(a+1).join(this)},camelize:function(){var a=this.split('-'),len=a.length;if(len==1)return a;var b=this.charAt(0)=='-'?a.charAt(0).toUpperCase()+a.substring(1):a;for(var i=1;i&lt;len;i++)b+=a.charAt(0).toUpperCase()+a.substring(1);return b},capitalize:function(){return this.charAt(0).toUpperCase()+this.substring(1).toLowerCase()},underscore:function(){return this.gsub(/::/,'/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase()},dasherize:function(){return this.gsub(/_/,'-')},inspect:function(c){var d=this.gsub(/[\x00-\x1f\\]/,function(a){var b=String.specialChar[a];return b?b:'\\u00'+a.charCodeAt().toPaddedString(2,16)});if(c)return'&quot;'+d.replace(/&quot;/g,'\\&quot;')+'&quot;';return&quot;'&quot;+d.replace(/'/g,'\\\'')+&quot;'&quot;},toJSON:function(){return this.inspect(true)},unfilterJSON:function(a){return this.sub(a||Prototype.JSONFilter,'#{1}')},isJSON:function(){var a=this;if(a.blank())return false;a=this.replace(/\\./g,'@').replace(/&quot;[^&quot;\\\n\r]*&quot;/g,'');return(/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(a)},evalJSON:function(a){var b=this.unfilterJSON();try{if(!a||b.isJSON())return eval('('+b+')')}catch(e){}throw new SyntaxError('Badly formed JSON string: '+this.inspect());},include:function(a){return this.indexOf(a)&gt;-1},startsWith:function(a){return this.indexOf(a)===0},endsWith:function(a){var d=this.length-a.length;return d&gt;=0&amp;&amp;this.lastIndexOf(a)===d},empty:function(){return this==''},blank:function(){return/^\s*$/.test(this)},interpolate:function(a,b){return new Template(this,b).evaluate(a)}});if(Prototype.Browser.WebKit||Prototype.Browser.IE)Object.extend(String.prototype,{escapeHTML:function(){return this.replace(/&amp;/g,'&amp;#38;').replace(/&lt;/g,'&amp;#60;').replace(/&gt;/g,'&amp;#62;')},unescapeHTML:function(){return this.replace(/&amp;#38;/g,'&amp;').replace(/&amp;#60;/g,'&lt;').replace(/&amp;#62;/g,'&gt;')}});String.prototype.gsub.prepareReplacement=function(b){if(Object.isFunction(b))return b;var c=new Template(b);return function(a){return c.evaluate(a)}};String.prototype.parseQuery=String.prototype.toQueryParams;Object.extend(String.prototype.escapeHTML,{div:document.createElement('div'),text:document.createTextNode('')});with(String.prototype.escapeHTML)div.appendChild(text);var Template=Class.create({initialize:function(a,b){this.template=a.toString();this.pattern=b||Template.Pattern},evaluate:function(f){if(Object.isFunction(f.toTemplateReplacements))f=f.toTemplateReplacements();return this.template.gsub(this.pattern,function(a){if(f==null)return'';var b=a||'';if(b=='\\')return a;var c=f,expr=a;var d=/^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;a=d.exec(expr);if(a==null)return b;while(a!=null){var e=a.startsWith('[')?a.gsub('\\\\]',']'):a;c=c;if(null==c||''==a)break;expr=expr.substring('['==a?a.length:a.length);a=d.exec(expr)}return b+String.interpret(c)})}});Template.Pattern=/(^|.|\r|\n)(#\{(.*?)\})/;var $break={};var Enumerable={each:function(b,c){var d=0;b=b.bind(c);try{this._each(function(a){b(a,d++)})}catch(e){if(e!=$break)throw e;}return this},eachSlice:function(a,b,c){b=b?b.bind(c):Prototype.K;var d=-a,slices=[],array=this.toArray();while((d+=a)&lt;array.length)slices.push(array.slice(d,d+a));return slices.collect(b,c)},all:function(c,d){c=c?c.bind(d):Prototype.K;var e=true;this.each(function(a,b){e=e&amp;&amp;!!c(a,b);if(!e)throw $break;});return e},any:function(c,d){c=c?c.bind(d):Prototype.K;var e=false;this.each(function(a,b){if(e=!!c(a,b))throw $break;});return e},collect:function(c,d){c=c?c.bind(d):Prototype.K;var e=[];this.each(function(a,b){e.push(c(a,b))});return e},detect:function(c,d){c=c.bind(d);var e;this.each(function(a,b){if(c(a,b)){e=a;throw $break;}});return e},findAll:function(c,d){c=c.bind(d);var e=[];this.each(function(a,b){if(c(a,b))e.push(a)});return e},grep:function(c,d,e){d=d?d.bind(e):Prototype.K;var f=[];if(Object.isString(c))c=new RegExp(c);this.each(function(a,b){if(c.match(a))f.push(d(a,b))});return f},include:function(b){if(Object.isFunction(this.indexOf))if(this.indexOf(b)!=-1)return true;var c=false;this.each(function(a){if(a==b){c=true;throw $break;}});return c},inGroupsOf:function(b,c){c=Object.isUndefined(c)?null:c;return this.eachSlice(b,function(a){while(a.length&lt;b)a.push(c);return a})},inject:function(c,d,e){d=d.bind(e);this.each(function(a,b){c=d(c,a,b)});return c},invoke:function(b){var c=$A(arguments).slice(1);return this.map(function(a){return a.apply(a,c)})},max:function(c,d){c=c?c.bind(d):Prototype.K;var e;this.each(function(a,b){a=c(a,b);if(e==null||a&gt;=e)e=a});return e},min:function(c,d){c=c?c.bind(d):Prototype.K;var e;this.each(function(a,b){a=c(a,b);if(e==null||a&lt;e)e=a});return e},partition:function(c,d){c=c?c.bind(d):Prototype.K;var e=[],falses=[];this.each(function(a,b){(c(a,b)?e:falses).push(a)});return[e,falses]},pluck:function(b){var c=[];this.each(function(a){c.push(a)});return c},reject:function(c,d){c=c.bind(d);var e=[];this.each(function(a,b){if(!c(a,b))e.push(a)});return e},sortBy:function(e,f){e=e.bind(f);return this.map(function(a,b){return{value:a,criteria:e(a,b)}}).sort(function(c,d){var a=c.criteria,b=d.criteria;return a&lt;b?-1:a&gt;b?1:0}).pluck('value')},toArray:function(){return this.map()},zip:function(){var c=Prototype.K,args=$A(arguments);if(Object.isFunction(args.last()))c=args.pop();var d=.concat(args).map($A);return this.map(function(a,b){return c(d.pluck(b))})},size:function(){return this.toArray().length},inspect:function(){return'#&lt;Enumerable:'+this.toArray().inspect()+'&gt;'}};Object.extend(Enumerable,{map:Enumerable.collect,find:Enumerable.detect,select:Enumerable.findAll,filter:Enumerable.findAll,member:Enumerable.include,entries:Enumerable.toArray,every:Enumerable.all,some:Enumerable.any});function $A(a){if(!a)return[];if(a.toArray)return a.toArray();var b=a.length||0,results=new Array(b);while(b--)results=a;return results}if(Prototype.Browser.WebKit){$A=function(a){if(!a)return[];if(!(Object.isFunction(a)&amp;&amp;a=='[object NodeList]')&amp;&amp;a.toArray)return a.toArray();var b=a.length||0,results=new Array(b);while(b--)results=a;return results}}Array.from=$A;Object.extend(Array.prototype,Enumerable);if(!Array.prototype._reverse)Array.prototype._reverse=Array.prototype.reverse;Object.extend(Array.prototype,{_each:function(a){for(var i=0,length=this.length;i&lt;length;i++)a(this)},clear:function(){this.length=0;return this},first:function(){return this},last:function(){return this[this.length-1]},compact:function(){return this.select(function(a){return a!=null})},flatten:function(){return this.inject([],function(a,b){return a.concat(Object.isArray(b)?b.flatten():)})},without:function(){var b=$A(arguments);return this.select(function(a){return!b.include(a)})},reverse:function(a){return(a!==false?this:this.toArray())._reverse()},reduce:function(){return this.length&gt;1?this:this},uniq:function(d){return this.inject([],function(a,b,c){if(0==c||(d?a.last()!=b:!a.include(b)))a.push(b);return a})},intersect:function(c){return this.uniq().findAll(function(b){return c.detect(function(a){return b===a})})},clone:function(){return[].concat(this)},size:function(){return this.length},inspect:function(){return'['+this.map(Object.inspect).join(', ')+']'},toJSON:function(){var c=[];this.each(function(a){var b=Object.toJSON(a);if(!Object.isUndefined(b))c.push(b)});return'['+c.join(', ')+']'}});if(Object.isFunction(Array.prototype.forEach))Array.prototype._each=Array.prototype.forEach;if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a,i){i||(i=0);var b=this.length;if(i&lt;0)i=b+i;for(;i&lt;b;i++)if(this===a)return i;return-1};if(!Array.prototype.lastIndexOf)Array.prototype.lastIndexOf=function(a,i){i=isNaN(i)?this.length:(i&lt;0?this.length+i:i)+1;var n=this.slice(0,i).reverse().indexOf(a);return(n&lt;0)?n:i-n-1};Array.prototype.toArray=Array.prototype.clone;function $w(a){if(!Object.isString(a))return[];a=a.strip();return a?a.split(/\s+/):[]}if(Prototype.Browser.Opera){Array.prototype.concat=function(){var a=[];for(var i=0,length=this.length;i&lt;length;i++)a.push(this);for(var i=0,length=arguments.length;i&lt;length;i++){if(Object.isArray(arguments)){for(var j=0,arrayLength=arguments.length;j&lt;arrayLength;j++)a.push(arguments)}else{a.push(arguments)}}return a}}Object.extend(Number.prototype,{toColorPart:function(){return this.toPaddedString(2,16)},succ:function(){return this+1},times:function(a){$R(0,this,true).each(a);return this},toPaddedString:function(a,b){var c=this.toString(b||10);return'0'.times(a-c.length)+c},toJSON:function(){return isFinite(this)?this.toString():'null'}});$w('abs round ceil floor').each(function(a){Number.prototype=Math.methodize()});function $H(a){return new Hash(a)};var Hash=Class.create(Enumerable,(function(){function toQueryPair(a,b){if(Object.isUndefined(b))return a;return a+'='+encodeURIComponent(String.interpret(b))}return{initialize:function(a){this._object=Object.isHash(a)?a.toObject():Object.clone(a)},_each:function(a){for(var b in this._object){var c=this._object,pair=[b,c];pair.key=b;pair.value=c;a(pair)}},set:function(a,b){return this._object=b},get:function(a){return this._object},unset:function(a){var b=this._object;delete this._object;return b},toObject:function(){return Object.clone(this._object)},keys:function(){return this.pluck('key')},values:function(){return this.pluck('value')},index:function(b){var c=this.detect(function(a){return a.value===b});return c&amp;&amp;c.key},merge:function(a){return this.clone().update(a)},update:function(c){return new Hash(c).inject(this,function(a,b){a.set(b.key,b.value);return a})},toQueryString:function(){return this.map(function(a){var b=encodeURIComponent(a.key),values=a.value;if(values&amp;&amp;typeof values=='object'){if(Object.isArray(values))return values.map(toQueryPair.curry(b)).join('&amp;')}return toQueryPair(b,values)}).join('&amp;')},inspect:function(){return'#&lt;Hash:{'+this.map(function(a){return a.map(Object.inspect).join(': ')}).join(', ')+'}&gt;'},toJSON:function(){return Object.toJSON(this.toObject())},clone:function(){return new Hash(this)}}})());Hash.prototype.toTemplateReplacements=Hash.prototype.toObject;Hash.from=$H;var ObjectRange=Class.create(Enumerable,{initialize:function(a,b,c){this.start=a;this.end=b;this.exclusive=c},_each:function(a){var b=this.start;while(this.include(b)){a(b);b=b.succ()}},include:function(a){if(a&lt;this.start)return false;if(this.exclusive)return a&lt;this.end;return a&lt;=this.end}});var $R=function(a,b,c){return new ObjectRange(a,b,c)};var Ajax={getTransport:function(){return Try.these(function(){return new XMLHttpRequest()},function(){return new ActiveXObject('Msxml2.XMLHTTP')},function(){return new ActiveXObject('Microsoft.XMLHTTP')})||false},activeRequestCount:0};Ajax.Responders={responders:[],_each:function(a){this.responders._each(a)},register:function(a){if(!this.include(a))this.responders.push(a)},unregister:function(a){this.responders=this.responders.without(a)},dispatch:function(b,c,d,f){this.each(function(a){if(Object.isFunction(a)){try{a.apply(a,[c,d,f])}catch(e){}}})}};Object.extend(Ajax.Responders,Enumerable);Ajax.Responders.register({onCreate:function(){Ajax.activeRequestCount++},onComplete:function(){Ajax.activeRequestCount--}});Ajax.Base=Class.create({initialize:function(a){this.options={method:'post',asynchronous:true,contentType:'application/x-www-form-urlencoded',encoding:'UTF-8',parameters:'',evalJSON:true,evalJS:true};Object.extend(this.options,a||{});this.options.method=this.options.method.toLowerCase();if(Object.isString(this.options.parameters))this.options.parameters=this.options.parameters.toQueryParams();else if(Object.isHash(this.options.parameters))this.options.parameters=this.options.parameters.toObject()}});Ajax.Request=Class.create(Ajax.Base,{_complete:false,initialize:function($super,b,c){$super(c);this.transport=Ajax.getTransport();this.request(b)},request:function(a){this.url=a;this.method=this.options.method;var b=Object.clone(this.options.parameters);if(!['get','post'].include(this.method)){b['_method']=this.method;this.method='post'}this.parameters=b;if(b=Object.toQueryString(b)){if(this.method=='get')this.url+=(this.url.include('?')?'&amp;':'?')+b;else if(/Konqueror|Safari|KHTML/.test(navigator.userAgent))b+='&amp;_='}try{var c=new Ajax.Response(this);if(this.options.onCreate)this.options.onCreate(c);Ajax.Responders.dispatch('onCreate',this,c);this.transport.open(this.method.toUpperCase(),this.url,this.options.asynchronous);if(this.options.asynchronous)this.respondToReadyState.bind(this).defer(1);this.transport.onreadystatechange=this.onStateChange.bind(this);this.setRequestHeaders();this.body=this.method=='post'?(this.options.postBody||b):null;this.transport.send(this.body);if(!this.options.asynchronous&amp;&amp;this.transport.overrideMimeType)this.onStateChange()}catch(e){this.dispatchException(e)}},onStateChange:function(){var a=this.transport.readyState;if(a&gt;1&amp;&amp;!((a==4)&amp;&amp;this._complete))this.respondToReadyState(this.transport.readyState)},setRequestHeaders:function(){var b={'X-Requested-With':'XMLHttpRequest','X-Prototype-Version':Prototype.Version,'Accept':'text/javascript, text/html, application/xml, text/xml, */*'};if(this.method=='post'){b['Content-type']=this.options.contentType+(this.options.encoding?'; charset='+this.options.encoding:'');if(this.transport.overrideMimeType&amp;&amp;(navigator.userAgent.match(/Gecko\/(\d{4})/)||[0,2005])&lt;2005)b['Connection']='close'}if(typeof this.options.requestHeaders=='object'){var c=this.options.requestHeaders;if(Object.isFunction(c.push))for(var i=0,length=c.length;i&lt;length;i+=2)b[c]=c[i+1];else $H(c).each(function(a){b[a.key]=a.value})}for(var d in b)this.transport.setRequestHeader(d,b)},success:function(){var a=this.getStatus();return!a||(a&gt;=200&amp;&amp;a&lt;300)},getStatus:function(){try{return this.transport.status||0}catch(e){return 0}},respondToReadyState:function(a){var b=Ajax.Request.Events,response=new Ajax.Response(this);if(b=='Complete'){try{this._complete=true;(this.options['on'+response.status]||this.options['on'+(this.success()?'Success':'Failure')]||Prototype.emptyFunction)(response,response.headerJSON)}catch(e){this.dispatchException(e)}var c=response.getHeader('Content-type');if(this.options.evalJS=='force'||(this.options.evalJS&amp;&amp;this.isSameOrigin()&amp;&amp;c&amp;&amp;c.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s*$/i)))this.evalResponse()}try{(this.options['on'+b]||Prototype.emptyFunction)(response,response.headerJSON);Ajax.Responders.dispatch('on'+b,this,response,response.headerJSON)}catch(e){this.dispatchException(e)}if(b=='Complete'){this.transport.onreadystatechange=Prototype.emptyFunction}},isSameOrigin:function(){var m=this.url.match(/^\s*https?:\/\/[^\/]*/);return!m||(m=='#{protocol}//#{domain}#{port}'.interpolate({protocol:location.protocol,domain:document.domain,port:location.port?':'+location.port:''}))},getHeader:function(a){try{return this.transport.getResponseHeader(a)||null}catch(e){return null}},evalResponse:function(){try{return eval((this.transport.responseText||'').unfilterJSON())}catch(e){this.dispatchException(e)}},dispatchException:function(a){(this.options.onException||Prototype.emptyFunction)(this,a);Ajax.Responders.dispatch('onException',this,a)}});Ajax.Request.Events=['Uninitialized','Loading','Loaded','Interactive','Complete'];Ajax.Response=Class.create({initialize:function(a){this.request=a;var b=this.transport=a.transport,readyState=this.readyState=b.readyState;if((readyState&gt;2&amp;&amp;!Prototype.Browser.IE)||readyState==4){this.status=this.getStatus();this.statusText=this.getStatusText();this.responseText=String.interpret(b.responseText);this.headerJSON=this._getHeaderJSON()}if(readyState==4){var c=b.responseXML;this.responseXML=Object.isUndefined(c)?null:c;this.responseJSON=this._getResponseJSON()}},status:0,statusText:'',getStatus:Ajax.Request.prototype.getStatus,getStatusText:function(){try{return this.transport.statusText||''}catch(e){return''}},getHeader:Ajax.Request.prototype.getHeader,getAllHeaders:function(){try{return this.getAllResponseHeaders()}catch(e){return null}},getResponseHeader:function(a){return this.transport.getResponseHeader(a)},getAllResponseHeaders:function(){return this.transport.getAllResponseHeaders()},_getHeaderJSON:function(){var a=this.getHeader('X-JSON');if(!a)return null;a=decodeURIComponent(escape(a));try{return a.evalJSON(this.request.options.sanitizeJSON||!this.request.isSameOrigin())}catch(e){this.request.dispatchException(e)}},_getResponseJSON:function(){var a=this.request.options;if(!a.evalJSON||(a.evalJSON!='force'&amp;&amp;!(this.getHeader('Content-type')||'').include('application/json'))||this.responseText.blank())return null;try{return this.responseText.evalJSON(a.sanitizeJSON||!this.request.isSameOrigin())}catch(e){this.request.dispatchException(e)}}});Ajax.Updater=Class.create(Ajax.Request,{initialize:function($super,d,e,f){this.container={success:(d.success||d),failure:(d.failure||(d.success?null:d))};f=Object.clone(f);var g=f.onComplete;f.onComplete=(function(a,b){this.updateContent(a.responseText);if(Object.isFunction(g))g(a,b)}).bind(this);$super(e,f)},updateContent:function(a){var b=this.container[this.success()?'success':'failure'],options=this.options;if(!options.evalScripts)a=a.stripScripts();if(b=$(b)){if(options.insertion){if(Object.isString(options.insertion)){var c={};c[options.insertion]=a;b.insert(c)}else options.insertion(b,a)}else b.update(a)}}});Ajax.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,b,c,d){$super(d);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.updater={};this.container=b;this.url=c;this.start()},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent()},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments)},updateComplete:function(a){if(this.options.decay){this.decay=(a.responseText==this.lastText?this.decay*this.options.decay:1);this.lastText=a.responseText}this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency)},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options)}});function $(a){if(arguments.length&gt;1){for(var i=0,elements=[],length=arguments.length;i&lt;length;i++)elements.push($(arguments));return elements}if(Object.isString(a))a=document.getElementById(a);return Element.extend(a)}if(Prototype.BrowserFeatures.XPath){document._getElementsByXPath=function(a,b){var c=[];var d=document.evaluate(a,$(b)||document,null,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null);for(var i=0,length=d.snapshotLength;i&lt;length;i++)c.push(Element.extend(d.snapshotItem(i)));return c}}if(!window.Node)var Node={};if(!Node.ELEMENT_NODE){Object.extend(Node,{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12})}(function(){var d=this.Element;this.Element=function(a,b){b=b||{};a=a.toLowerCase();var c=Element.cache;if(Prototype.Browser.IE&amp;&amp;b.name){a='&lt;'+a+' name=&quot;'+b.name+'&quot;&gt;';delete b.name;return Element.writeAttribute(document.createElement(a),b)}if(!c)c=Element.extend(document.createElement(a));return Element.writeAttribute(c.cloneNode(false),b)};Object.extend(this.Element,d||{})}).call(window);Element.cache={};Element.Methods={visible:function(a){return $(a).style.display!='none'},toggle:function(a){a=$(a);Element[Element.visible(a)?'hide':'show'](a);return a},hide:function(a){$(a).style.display='none';return a},show:function(a){$(a).style.display='';return a},remove:function(a){a=$(a);a.parentNode.removeChild(a);return a},update:function(a,b){a=$(a);if(b&amp;&amp;b.toElement)b=b.toElement();if(Object.isElement(b))return a.update().insert(b);b=Object.toHTML(b);a.innerHTML=b.stripScripts();b.evalScripts.bind(b).defer();return a},replace:function(a,b){a=$(a);if(b&amp;&amp;b.toElement)b=b.toElement();else if(!Object.isElement(b)){b=Object.toHTML(b);var c=a.ownerDocument.createRange();c.selectNode(a);b.evalScripts.bind(b).defer();b=c.createContextualFragment(b.stripScripts())}a.parentNode.replaceChild(b,a);return a},insert:function(a,b){a=$(a);if(Object.isString(b)||Object.isNumber(b)||Object.isElement(b)||(b&amp;&amp;(b.toElement||b.toHTML)))b={bottom:b};var c,insert,tagName,childNodes;for(var d in b){c=b;d=d.toLowerCase();insert=Element._insertionTranslations;if(c&amp;&amp;c.toElement)c=c.toElement();if(Object.isElement(c)){insert(a,c);continue}c=Object.toHTML(c);tagName=((d=='before'||d=='after')?a.parentNode:a).tagName.toUpperCase();childNodes=Element._getContentFromAnonymousElement(tagName,c.stripScripts());if(d=='top'||d=='after')childNodes.reverse();childNodes.each(insert.curry(a));c.evalScripts.bind(c).defer()}return a},wrap:function(a,b,c){a=$(a);if(Object.isElement(b))$(b).writeAttribute(c||{});else if(Object.isString(b))b=new Element(b,c);else b=new Element('div',b);if(a.parentNode)a.parentNode.replaceChild(b,a);b.appendChild(a);return b},inspect:function(d){d=$(d);var e='&lt;'+d.tagName.toLowerCase();$H({'id':'id','className':'class'}).each(function(a){var b=a.first(),attribute=a.last();var c=(d||'').toString();if(c)e+=' '+attribute+'='+c.inspect(true)});return e+'&gt;'},recursivelyCollect:function(a,b){a=$(a);var c=[];while(a=a)if(a.nodeType==1)c.push(Element.extend(a));return c},ancestors:function(a){return $(a).recursivelyCollect('parentNode')},descendants:function(a){return $(a).select(&quot;*&quot;)},firstDescendant:function(a){a=$(a).firstChild;while(a&amp;&amp;a.nodeType!=1)a=a.nextSibling;return $(a)},immediateDescendants:function(a){if(!(a=$(a).firstChild))return[];while(a&amp;&amp;a.nodeType!=1)a=a.nextSibling;if(a)return.concat($(a).nextSiblings());return[]},previousSiblings:function(a){return $(a).recursivelyCollect('previousSibling')},nextSiblings:function(a){return $(a).recursivelyCollect('nextSibling')},siblings:function(a){a=$(a);return a.previousSiblings().reverse().concat(a.nextSiblings())},match:function(a,b){if(Object.isString(b))b=new Selector(b);return b.match($(a))},up:function(a,b,c){a=$(a);if(arguments.length==1)return $(a.parentNode);var d=a.ancestors();return Object.isNumber(b)?d:Selector.findElement(d,b,c)},down:function(a,b,c){a=$(a);if(arguments.length==1)return a.firstDescendant();return Object.isNumber(b)?a.descendants():a.select(b)[c||0]},previous:function(a,b,c){a=$(a);if(arguments.length==1)return $(Selector.handlers.previousElementSibling(a));var d=a.previousSiblings();return Object.isNumber(b)?d:Selector.findElement(d,b,c)},next:function(a,b,c){a=$(a);if(arguments.length==1)return $(Selector.handlers.nextElementSibling(a));var d=a.nextSiblings();return Object.isNumber(b)?d:Selector.findElement(d,b,c)},select:function(){var a=$A(arguments),element=$(a.shift());return Selector.findChildElements(element,a)},adjacent:function(){var a=$A(arguments),element=$(a.shift());return Selector.findChildElements(element.parentNode,a).without(element)},identify:function(a){a=$(a);var b=a.readAttribute('id'),self=arguments.callee;if(b)return b;do{b='anonymous_element_'+self.counter++}while($(b));a.writeAttribute('id',b);return b},readAttribute:function(a,b){a=$(a);if(Prototype.Browser.IE){var t=Element._attributeTranslations.read;if(t.values)return t.values(a,b);if(t.names)b=t.names;if(b.include(':')){return(!a.attributes||!a.attributes)?null:a.attributes.value}}return a.getAttribute(b)},writeAttribute:function(a,b,c){a=$(a);var d={},t=Element._attributeTranslations.write;if(typeof b=='object')d=b;else d=Object.isUndefined(c)?true:c;for(var e in d){b=t.names||e;c=d;if(t.values)b=t.values(a,c);if(c===false||c===null)a.removeAttribute(b);else if(c===true)a.setAttribute(b,b);else a.setAttribute(b,c)}return a},getHeight:function(a){return $(a).getDimensions().height},getWidth:function(a){return $(a).getDimensions().width},classNames:function(a){return new Element.ClassNames(a)},hasClassName:function(a,b){if(!(a=$(a)))return;var c=a.className;return(c.length&gt;0&amp;&amp;(c==b||new RegExp(&quot;(^|\\s)&quot;+b+&quot;(\\s|$)&quot;).test(c)))},addClassName:function(a,b){if(!(a=$(a)))return;if(!a.hasClassName(b))a.className+=(a.className?' ':'')+b;return a},removeClassName:function(a,b){if(!(a=$(a)))return;a.className=a.className.replace(new RegExp(&quot;(^|\\s+)&quot;+b+&quot;(\\s+|$)&quot;),' ').strip();return a},toggleClassName:function(a,b){if(!(a=$(a)))return;return a[a.hasClassName(b)?'removeClassName':'addClassName'](b)},cleanWhitespace:function(a){a=$(a);var b=a.firstChild;while(b){var c=b.nextSibling;if(b.nodeType==3&amp;&amp;!/\S/.test(b.nodeValue))a.removeChild(b);b=c}return a},empty:function(a){return $(a).innerHTML.blank()},descendantOf:function(b,c){b=$(b),c=$(c);var d=c;if(b.compareDocumentPosition)return(b.compareDocumentPosition(c)&amp;8)===8;if(b.sourceIndex&amp;&amp;!Prototype.Browser.Opera){var e=b.sourceIndex,a=c.sourceIndex,nextAncestor=c.nextSibling;if(!nextAncestor){do{c=c.parentNode}while(!(nextAncestor=c.nextSibling)&amp;&amp;c.parentNode)}if(nextAncestor&amp;&amp;nextAncestor.sourceIndex)return(e&gt;a&amp;&amp;e&lt;nextAncestor.sourceIndex)}while(b=b.parentNode)if(b==d)return true;return false},scrollTo:function(a){a=$(a);var b=a.cumulativeOffset();window.scrollTo(b,b);return a},getStyle:function(a,b){a=$(a);b=b=='float'?'cssFloat':b.camelize();var c=a.style;if(!c){var d=document.defaultView.getComputedStyle(a,null);c=d?d:null}if(b=='opacity')return c?parseFloat(c):1.0;return c=='auto'?null:c},getOpacity:function(a){return $(a).getStyle('opacity')},setStyle:function(a,b){a=$(a);var c=a.style,match;if(Object.isString(b)){a.style.cssText+=';'+b;return b.include('opacity')?a.setOpacity(b.match(/opacity:\s*(\d?\.?\d*)/)):a}for(var d in b)if(d=='opacity')a.setOpacity(b);else c[(d=='float'||d=='cssFloat')?(Object.isUndefined(c.styleFloat)?'cssFloat':'styleFloat'):d]=b;return a},setOpacity:function(a,b){a=$(a);a.style.opacity=(b==1||b==='')?'':(b&lt;0.00001)?0:b;return a},getDimensions:function(a){a=$(a);var b=$(a).getStyle('display');if(b!='none'&amp;&amp;b!=null)return{width:a.offsetWidth,height:a.offsetHeight};var c=a.style;var d=c.visibility;var e=c.position;var f=c.display;c.visibility='hidden';c.position='absolute';c.display='block';var g=a.clientWidth;var h=a.clientHeight;c.display=f;c.position=e;c.visibility=d;return{width:g,height:h}},makePositioned:function(a){a=$(a);var b=Element.getStyle(a,'position');if(b=='static'||!b){a._madePositioned=true;a.style.position='relative';if(window.opera){a.style.top=0;a.style.left=0}}return a},undoPositioned:function(a){a=$(a);if(a._madePositioned){a._madePositioned=undefined;a.style.position=a.style.top=a.style.left=a.style.bottom=a.style.right=''}return a},makeClipping:function(a){a=$(a);if(a._overflow)return a;a._overflow=Element.getStyle(a,'overflow')||'auto';if(a._overflow!=='hidden')a.style.overflow='hidden';return a},undoClipping:function(a){a=$(a);if(!a._overflow)return a;a.style.overflow=a._overflow=='auto'?'':a._overflow;a._overflow=null;return a},cumulativeOffset:function(a){var b=0,valueL=0;do{b+=a.offsetTop||0;valueL+=a.offsetLeft||0;a=a.offsetParent}while(a);return Element._returnOffset(valueL,b)},positionedOffset:function(a){var b=0,valueL=0;do{b+=a.offsetTop||0;valueL+=a.offsetLeft||0;a=a.offsetParent;if(a){if(a.tagName=='BODY')break;var p=Element.getStyle(a,'position');if(p!=='static')break}}while(a);return Element._returnOffset(valueL,b)},absolutize:function(a){a=$(a);if(a.getStyle('position')=='absolute')return;var b=a.positionedOffset();var c=b;var d=b;var e=a.clientWidth;var f=a.clientHeight;a._originalLeft=d-parseFloat(a.style.left||0);a._originalTop=c-parseFloat(a.style.top||0);a._originalWidth=a.style.width;a._originalHeight=a.style.height;a.style.position='absolute';a.style.top=c+'px';a.style.left=d+'px';a.style.width=e+'px';a.style.height=f+'px';return a},relativize:function(a){a=$(a);if(a.getStyle('position')=='relative')return;a.style.position='relative';var b=parseFloat(a.style.top||0)-(a._originalTop||0);var c=parseFloat(a.style.left||0)-(a._originalLeft||0);a.style.top=b+'px';a.style.left=c+'px';a.style.height=a._originalHeight;a.style.width=a._originalWidth;return a},cumulativeScrollOffset:function(a){var b=0,valueL=0;do{b+=a.scrollTop||0;valueL+=a.scrollLeft||0;a=a.parentNode}while(a);return Element._returnOffset(valueL,b)},getOffsetParent:function(a){if(a.offsetParent)return $(a.offsetParent);if(a==document.body)return $(a);while((a=a.parentNode)&amp;&amp;a!=document.body)if(Element.getStyle(a,'position')!='static')return $(a);return $(document.body)},viewportOffset:function(a){var b=0,valueL=0;var c=a;do{b+=c.offsetTop||0;valueL+=c.offsetLeft||0;if(c.offsetParent==document.body&amp;&amp;Element.getStyle(c,'position')=='absolute')break}while(c=c.offsetParent);c=a;do{if(!Prototype.Browser.Opera||c.tagName=='BODY'){b-=c.scrollTop||0;valueL-=c.scrollLeft||0}}while(c=c.parentNode);return Element._returnOffset(valueL,b)},clonePosition:function(a,b){var c=Object.extend({setLeft:true,setTop:true,setWidth:true,setHeight:true,offsetTop:0,offsetLeft:0},arguments||{});b=$(b);var p=b.viewportOffset();a=$(a);var d=[0,0];var e=null;if(Element.getStyle(a,'position')=='absolute'){e=a.getOffsetParent();d=e.viewportOffset()}if(e==document.body){d-=document.body.offsetLeft;d-=document.body.offsetTop}if(c.setLeft)a.style.left=(p-d+c.offsetLeft)+'px';if(c.setTop)a.style.top=(p-d+c.offsetTop)+'px';if(c.setWidth)a.style.width=b.offsetWidth+'px';if(c.setHeight)a.style.height=b.offsetHeight+'px';return a}};Element.Methods.identify.counter=1;Object.extend(Element.Methods,{getElementsBySelector:Element.Methods.select,childElements:Element.Methods.immediateDescendants});Element._attributeTranslations={write:{names:{className:'class',htmlFor:'for'},values:{}}};if(Prototype.Browser.Opera){Element.Methods.getStyle=Element.Methods.getStyle.wrap(function(d,e,f){switch(f){case'left':case'top':case'right':case'bottom':if(d(e,'position')==='static')return null;case'height':case'width':if(!Element.visible(e))return null;var g=parseInt(d(e,f),10);if(g!==e['offset'+f.capitalize()])return g+'px';var h;if(f==='height'){h=['border-top-width','padding-top','padding-bottom','border-bottom-width']}else{h=['border-left-width','padding-left','padding-right','border-right-width']}return h.inject(g,function(a,b){var c=d(e,b);return c===null?a:a-parseInt(c,10)})+'px';default:return d(e,f)}});Element.Methods.readAttribute=Element.Methods.readAttribute.wrap(function(a,b,c){if(c==='title')return b.title;return a(b,c)})}else if(Prototype.Browser.IE){Element.Methods.getOffsetParent=Element.Methods.getOffsetParent.wrap(function(a,b){b=$(b);var c=b.getStyle('position');if(c!=='static')return a(b);b.setStyle({position:'relative'});var d=a(b);b.setStyle({position:c});return d});$w('positionedOffset viewportOffset').each(function(f){Element.Methods=Element.Methods.wrap(function(a,b){b=$(b);var c=b.getStyle('position');if(c!=='static')return a(b);var d=b.getOffsetParent();if(d&amp;&amp;d.getStyle('position')==='fixed')d.setStyle({zoom:1});b.setStyle({position:'relative'});var e=a(b);b.setStyle({position:c});return e})});Element.Methods.getStyle=function(a,b){a=$(a);b=(b=='float'||b=='cssFloat')?'styleFloat':b.camelize();var c=a.style;if(!c&amp;&amp;a.currentStyle)c=a.currentStyle;if(b=='opacity'){if(c=(a.getStyle('filter')||'').match(/alpha\(opacity=(.*)\)/))if(c)return parseFloat(c)/100;return 1.0}if(c=='auto'){if((b=='width'||b=='height')&amp;&amp;(a.getStyle('display')!='none'))return a['offset'+b.capitalize()]+'px';return null}return c};Element.Methods.setOpacity=function(b,c){function stripAlpha(a){return a.replace(/alpha\([^\)]*\)/gi,'')}b=$(b);var d=b.currentStyle;if((d&amp;&amp;!d.hasLayout)||(!d&amp;&amp;b.style.zoom=='normal'))b.style.zoom=1;var e=b.getStyle('filter'),style=b.style;if(c==1||c===''){(e=stripAlpha(e))?style.filter=e:style.removeAttribute('filter');return b}else if(c&lt;0.00001)c=0;style.filter=stripAlpha(e)+'alpha(opacity='+(c*100)+')';return b};Element._attributeTranslations={read:{names:{'class':'className','for':'htmlFor'},values:{_getAttr:function(a,b){return a.getAttribute(b,2)},_getAttrNode:function(a,b){var c=a.getAttributeNode(b);return c?c.value:&quot;&quot;},_getEv:function(a,b){b=a.getAttribute(b);return b?b.toString().slice(23,-2):null},_flag:function(a,b){return $(a).hasAttribute(b)?b:null},style:function(a){return a.style.cssText.toLowerCase()},title:function(a){return a.title}}}};Element._attributeTranslations.write={names:Object.extend({cellpadding:'cellPadding',cellspacing:'cellSpacing'},Element._attributeTranslations.read.names),values:{checked:function(a,b){a.checked=!!b},style:function(a,b){a.style.cssText=b?b:''}}};Element._attributeTranslations.has={};$w('colSpan rowSpan vAlign dateTime accessKey tabIndex '+'encType maxLength readOnly longDesc').each(function(a){Element._attributeTranslations.write.names[a.toLowerCase()]=a;Element._attributeTranslations.has[a.toLowerCase()]=a});(function(v){Object.extend(v,{href:v._getAttr,src:v._getAttr,type:v._getAttr,action:v._getAttrNode,disabled:v._flag,checked:v._flag,readonly:v._flag,multiple:v._flag,onload:v._getEv,onunload:v._getEv,onclick:v._getEv,ondblclick:v._getEv,onmousedown:v._getEv,onmouseup:v._getEv,onmouseover:v._getEv,onmousemove:v._getEv,onmouseout:v._getEv,onfocus:v._getEv,onblur:v._getEv,onkeypress:v._getEv,onkeydown:v._getEv,onkeyup:v._getEv,onsubmit:v._getEv,onreset:v._getEv,onselect:v._getEv,onchange:v._getEv})})(Element._attributeTranslations.read.values)}else if(Prototype.Browser.Gecko&amp;&amp;/rv:1\.8\.0/.test(navigator.userAgent)){Element.Methods.setOpacity=function(a,b){a=$(a);a.style.opacity=(b==1)?0.999999:(b==='')?'':(b&lt;0.00001)?0:b;return a}}else if(Prototype.Browser.WebKit){Element.Methods.setOpacity=function(a,b){a=$(a);a.style.opacity=(b==1||b==='')?'':(b&lt;0.00001)?0:b;if(b==1)if(a.tagName=='IMG'&amp;&amp;a.width){a.width++;a.width--}else try{var n=document.createTextNode(' ');a.appendChild(n);a.removeChild(n)}catch(e){}return a};Element.Methods.cumulativeOffset=function(a){var b=0,valueL=0;do{b+=a.offsetTop||0;valueL+=a.offsetLeft||0;if(a.offsetParent==document.body)if(Element.getStyle(a,'position')=='absolute')break;a=a.offsetParent}while(a);return Element._returnOffset(valueL,b)}}if(Prototype.Browser.IE||Prototype.Browser.Opera){Element.Methods.update=function(b,c){b=$(b);if(c&amp;&amp;c.toElement)c=c.toElement();if(Object.isElement(c))return b.update().insert(c);c=Object.toHTML(c);var d=b.tagName.toUpperCase();if(d in Element._insertionTranslations.tags){$A(b.childNodes).each(function(a){b.removeChild(a)});Element._getContentFromAnonymousElement(d,c.stripScripts()).each(function(a){b.appendChild(a)})}else b.innerHTML=c.stripScripts();c.evalScripts.bind(c).defer();return b}}if('outerHTML'in document.createElement('div')){Element.Methods.replace=function(b,c){b=$(b);if(c&amp;&amp;c.toElement)c=c.toElement();if(Object.isElement(c)){b.parentNode.replaceChild(c,b);return b}c=Object.toHTML(c);var d=b.parentNode,tagName=d.tagName.toUpperCase();if(Element._insertionTranslations.tags){var e=b.next();var f=Element._getContentFromAnonymousElement(tagName,c.stripScripts());d.removeChild(b);if(e)f.each(function(a){d.insertBefore(a,e)});else f.each(function(a){d.appendChild(a)})}else b.outerHTML=c.stripScripts();c.evalScripts.bind(c).defer();return b}}Element._returnOffset=function(l,t){var a=[l,t];a.left=l;a.top=t;return a};Element._getContentFromAnonymousElement=function(a,b){var c=new Element('div'),t=Element._insertionTranslations.tags;if(t){c.innerHTML=t+b+t;t.times(function(){c=c.firstChild})}else c.innerHTML=b;return $A(c.childNodes)};Element._insertionTranslations={before:function(a,b){a.parentNode.insertBefore(b,a)},top:function(a,b){a.insertBefore(b,a.firstChild)},bottom:function(a,b){a.appendChild(b)},after:function(a,b){a.parentNode.insertBefore(b,a.nextSibling)},tags:{TABLE:['&lt;table&gt;','&lt;/table&gt;',1],TBODY:['&lt;table&gt;&lt;tbody&gt;','&lt;/tbody&gt;&lt;/table&gt;',2],TR:['&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;','&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;',3],TD:['&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;','&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;',4],SELECT:['&lt;select&gt;','&lt;/select&gt;',1]}};(function(){Object.extend(this.tags,{THEAD:this.tags.TBODY,TFOOT:this.tags.TBODY,TH:this.tags.TD})}).call(Element._insertionTranslations);Element.Methods.Simulated={hasAttribute:function(a,b){b=Element._attributeTranslations.has||b;var c=$(a).getAttributeNode(b);return c&amp;&amp;c.specified}};Element.Methods.ByTag={};Object.extend(Element,Element.Methods);if(!Prototype.BrowserFeatures.ElementExtensions&amp;&amp;document.createElement('div').__proto__){window.HTMLElement={};window.HTMLElement.prototype=document.createElement('div').__proto__;Prototype.BrowserFeatures.ElementExtensions=true}Element.extend=(function(){if(Prototype.BrowserFeatures.SpecificElementExtensions)return Prototype.K;var c={},ByTag=Element.Methods.ByTag;var d=Object.extend(function(a){if(!a||a._extendedByPrototype||a.nodeType!=1||a==window)return a;var b=Object.clone(c),tagName=a.tagName,property,value;if(ByTag)Object.extend(b,ByTag);for(property in b){value=b;if(Object.isFunction(value)&amp;&amp;!(property in a))a=value.methodize()}a._extendedByPrototype=Prototype.emptyFunction;return a},{refresh:function(){if(!Prototype.BrowserFeatures.ElementExtensions){Object.extend(c,Element.Methods);Object.extend(c,Element.Methods.Simulated)}}});d.refresh();return d})();Element.hasAttribute=function(a,b){if(a.hasAttribute)return a.hasAttribute(b);return Element.Methods.Simulated.hasAttribute(a,b)};Element.addMethods=function(f){var F=Prototype.BrowserFeatures,T=Element.Methods.ByTag;if(!f){Object.extend(Form,Form.Methods);Object.extend(Form.Element,Form.Element.Methods);Object.extend(Element.Methods.ByTag,{&quot;FORM&quot;:Object.clone(Form.Methods),&quot;INPUT&quot;:Object.clone(Form.Element.Methods),&quot;SELECT&quot;:Object.clone(Form.Element.Methods),&quot;TEXTAREA&quot;:Object.clone(Form.Element.Methods)})}if(arguments.length==2){var g=f;f=arguments}if(!g)Object.extend(Element.Methods,f||{});else{if(Object.isArray(g))g.each(extend);else extend(g)}function extend(a){a=a.toUpperCase();if(!Element.Methods.ByTag)Element.Methods.ByTag={};Object.extend(Element.Methods.ByTag,f)}function copy(a,b,c){c=c||false;for(var d in a){var e=a;if(!Object.isFunction(e))continue;if(!c||!(d in b))b=e.methodize()}}function findDOMClass(a){var b;var c={&quot;OPTGROUP&quot;:&quot;OptGroup&quot;,&quot;TEXTAREA&quot;:&quot;TextArea&quot;,&quot;P&quot;:&quot;Paragraph&quot;,&quot;FIELDSET&quot;:&quot;FieldSet&quot;,&quot;UL&quot;:&quot;UList&quot;,&quot;OL&quot;:&quot;OList&quot;,&quot;DL&quot;:&quot;DList&quot;,&quot;DIR&quot;:&quot;Directory&quot;,&quot;H1&quot;:&quot;Heading&quot;,&quot;H2&quot;:&quot;Heading&quot;,&quot;H3&quot;:&quot;Heading&quot;,&quot;H4&quot;:&quot;Heading&quot;,&quot;H5&quot;:&quot;Heading&quot;,&quot;H6&quot;:&quot;Heading&quot;,&quot;Q&quot;:&quot;Quote&quot;,&quot;INS&quot;:&quot;Mod&quot;,&quot;DEL&quot;:&quot;Mod&quot;,&quot;A&quot;:&quot;Anchor&quot;,&quot;IMG&quot;:&quot;Image&quot;,&quot;CAPTION&quot;:&quot;TableCaption&quot;,&quot;COL&quot;:&quot;TableCol&quot;,&quot;COLGROUP&quot;:&quot;TableCol&quot;,&quot;THEAD&quot;:&quot;TableSection&quot;,&quot;TFOOT&quot;:&quot;TableSection&quot;,&quot;TBODY&quot;:&quot;TableSection&quot;,&quot;TR&quot;:&quot;TableRow&quot;,&quot;TH&quot;:&quot;TableCell&quot;,&quot;TD&quot;:&quot;TableCell&quot;,&quot;FRAMESET&quot;:&quot;FrameSet&quot;,&quot;IFRAME&quot;:&quot;IFrame&quot;};if(c)b='HTML'+c+'Element';if(window)return window;b='HTML'+a+'Element';if(window)return window;b='HTML'+a.capitalize()+'Element';if(window)return window;window={};window.prototype=document.createElement(a).__proto__;return window}if(F.ElementExtensions){copy(Element.Methods,HTMLElement.prototype);copy(Element.Methods.Simulated,HTMLElement.prototype,true)}if(F.SpecificElementExtensions){for(var h in Element.Methods.ByTag){var i=findDOMClass(h);if(Object.isUndefined(i))continue;copy(T,i.prototype)}}Object.extend(Element,Element.Methods);delete Element.ByTag;if(Element.extend.refresh)Element.extend.refresh();Element.cache={}};document.viewport={getDimensions:function(){var a={};var B=Prototype.Browser;$w('width height').each(function(d){var D=d.capitalize();a=(B.WebKit&amp;&amp;!document.evaluate)?self['inner'+D]:(B.Opera)?document.body['client'+D]:document.documentElement['client'+D]});return a},getWidth:function(){return this.getDimensions().width},getHeight:function(){return this.getDimensions().height},getScrollOffsets:function(){return Element._returnOffset(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)}};var Selector=Class.create({initialize:function(a){this.expression=a.strip();this.compileMatcher()},shouldUseXPath:function(){if(!Prototype.BrowserFeatures.XPath)return false;var e=this.expression;if(Prototype.Browser.WebKit&amp;&amp;(e.include(&quot;-of-type&quot;)||e.include(&quot;:empty&quot;)))return false;if((/(\[[\w-]*?:|:checked)/).test(this.expression))return false;return true},compileMatcher:function(){if(this.shouldUseXPath())return this.compileXPathMatcher();var e=this.expression,ps=Selector.patterns,h=Selector.handlers,c=Selector.criteria,le,p,m;if(Selector._cache){this.matcher=Selector._cache;return}this.matcher=[&quot;this.matcher = function(root) {&quot;,&quot;var r = root, h = Selector.handlers, c = false, n;&quot;];while(e&amp;&amp;le!=e&amp;&amp;(/\S/).test(e)){le=e;for(var i in ps){p=ps;if(m=e.match(p)){this.matcher.push(Object.isFunction(c)?c(m):new Template(c).evaluate(m));e=e.replace(m,'');break}}}this.matcher.push(&quot;return h.unique(n);\n}&quot;);eval(this.matcher.join('\n'));Selector._cache[this.expression]=this.matcher},compileXPathMatcher:function(){var e=this.expression,ps=Selector.patterns,x=Selector.xpath,le,m;if(Selector._cache){this.xpath=Selector._cache;return}this.matcher=['.//*'];while(e&amp;&amp;le!=e&amp;&amp;(/\S/).test(e)){le=e;for(var i in ps){if(m=e.match(ps)){this.matcher.push(Object.isFunction(x)?x(m):new Template(x).evaluate(m));e=e.replace(m,'');break}}}this.xpath=this.matcher.join('');Selector._cache[this.expression]=this.xpath},findElements:function(a){a=a||document;if(this.xpath)return document._getElementsByXPath(this.xpath,a);return this.matcher(a)},match:function(a){this.tokens=[];var e=this.expression,ps=Selector.patterns,as=Selector.assertions;var b,p,m;while(e&amp;&amp;b!==e&amp;&amp;(/\S/).test(e)){b=e;for(var i in ps){p=ps;if(m=e.match(p)){if(as){this.tokens.push([i,Object.clone(m)]);e=e.replace(m,'')}else{return this.findElements(document).include(a)}}}}var c=true,name,matches;for(var i=0,token;token=this.tokens;i++){name=token,matches=token;if(!Selector.assertions(a,matches)){c=false;break}}return c},toString:function(){return this.expression},inspect:function(){return&quot;#&lt;Selector:&quot;+this.expression.inspect()+&quot;&gt;&quot;}});Object.extend(Selector,{_cache:{},xpath:{descendant:&quot;//*&quot;,child:&quot;/*&quot;,adjacent:&quot;/following-sibling::*&quot;,laterSibling:'/following-sibling::*',tagName:function(m){if(m=='*')return'';return&quot;[local-name()='&quot;+m.toLowerCase()+&quot;' or local-name()='&quot;+m.toUpperCase()+&quot;']&quot;},className:&quot;[contains(concat(' ', @class, ' '), ' #{1} ')]&quot;,id:&quot;[@id='#{1}']&quot;,attrPresence:function(m){m=m.toLowerCase();return new Template(&quot;[@#{1}]&quot;).evaluate(m)},attr:function(m){m=m.toLowerCase();m=m||m;return new Template(Selector.xpath.operators[m]).evaluate(m)},pseudo:function(m){var h=Selector.xpath.pseudos[m];if(!h)return'';if(Object.isFunction(h))return h(m);return new Template(Selector.xpath.pseudos[m]).evaluate(m)},operators:{'=':&quot;[@#{1}='#{3}']&quot;,'!=':&quot;[@#{1}!='#{3}']&quot;,'^=':&quot;[starts-with(@#{1}, '#{3}')]&quot;,'$=':&quot;[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']&quot;,'*=':&quot;[contains(@#{1}, '#{3}')]&quot;,'~=':&quot;[contains(concat(' ', @#{1}, ' '), ' #{3} ')]&quot;,'|=':&quot;[contains(concat('-', @#{1}, '-'), '-#{3}-')]&quot;},pseudos:{'first-child':'[not(preceding-sibling::*)]','last-child':'[not(following-sibling::*)]','only-child':'[not(preceding-sibling::* or following-sibling::*)]','empty':&quot;[count(*) = 0 and (count(text()) = 0 or translate(text(), ' \t\r\n', '') = '')]&quot;,'checked':&quot;[@checked]&quot;,'disabled':&quot;[@disabled]&quot;,'enabled':&quot;[not(@disabled)]&quot;,'not':function(m){var e=m,p=Selector.patterns,x=Selector.xpath,le,v;var a=[];while(e&amp;&amp;le!=e&amp;&amp;(/\S/).test(e)){le=e;for(var i in p){if(m=e.match(p)){v=Object.isFunction(x)?x(m):new Template(x).evaluate(m);a.push(&quot;(&quot;+v.substring(1,v.length-1)+&quot;)&quot;);e=e.replace(m,'');break}}}return&quot;[not(&quot;+a.join(&quot; and &quot;)+&quot;)]&quot;},'nth-child':function(m){return Selector.xpath.pseudos.nth(&quot;(count(./preceding-sibling::*) + 1) &quot;,m)},'nth-last-child':function(m){return Selector.xpath.pseudos.nth(&quot;(count(./following-sibling::*) + 1) &quot;,m)},'nth-of-type':function(m){return Selector.xpath.pseudos.nth(&quot;position() &quot;,m)},'nth-last-of-type':function(m){return Selector.xpath.pseudos.nth(&quot;(last() + 1 - position()) &quot;,m)},'first-of-type':function(m){m=&quot;1&quot;;return Selector.xpath.pseudos['nth-of-type'](m)},'last-of-type':function(m){m=&quot;1&quot;;return Selector.xpath.pseudos['nth-last-of-type'](m)},'only-of-type':function(m){var p=Selector.xpath.pseudos;return p['first-of-type'](m)+p['last-of-type'](m)},nth:function(c,m){var d,formula=m,predicate;if(formula=='even')formula='2n+0';if(formula=='odd')formula='2n+1';if(d=formula.match(/^(\d+)$/))return'['+c+&quot;= &quot;+d+']';if(d=formula.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(d==&quot;-&quot;)d=-1;var a=d?Number(d):1;var b=d?Number(d):0;predicate=&quot;[((#{fragment} - #{b}) mod #{a} = 0) and &quot;+&quot;((#{fragment} - #{b}) div #{a} &gt;= 0)]&quot;;return new Template(predicate).evaluate({fragment:c,a:a,b:b})}}}},criteria:{tagName:'n = h.tagName(n, r, &quot;#{1}&quot;, c);      c = false;',className:'n = h.className(n, r, &quot;#{1}&quot;, c);    c = false;',id:'n = h.id(n, r, &quot;#{1}&quot;, c);           c = false;',attrPresence:'n = h.attrPresence(n, r, &quot;#{1}&quot;, c); c = false;',attr:function(m){m=(m||m);return new Template('n = h.attr(n, r, &quot;#{1}&quot;, &quot;#{3}&quot;, &quot;#{2}&quot;, c); c = false;').evaluate(m)},pseudo:function(m){if(m)m=m.replace(/&quot;/g,'\\&quot;');return new Template('n = h.pseudo(n, &quot;#{1}&quot;, &quot;#{6}&quot;, r, c); c = false;').evaluate(m)},descendant:'c = &quot;descendant&quot;;',child:'c = &quot;child&quot;;',adjacent:'c = &quot;adjacent&quot;;',laterSibling:'c = &quot;laterSibling&quot;;'},patterns:{laterSibling:/^\s*~\s*/,child:/^\s*&gt;\s*/,adjacent:/^\s*\+\s*/,descendant:/^\s/,tagName:/^\s*(\*|[\w\-]+)(\b|$)?/,id:/^#([\w\-\*]+)(\b|$)/,className:/^\.([\w\-\*]+)(\b|$)/,pseudo:/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\((.*?)\))?(\b|$|(?=\s|[:+~&gt;]))/,attrPresence:/^\[([\w]+)\]/,attr:/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=)\s*((['&quot;])([^\4]*?)\4|([^'&quot;][^\]]*?)))?\]/},assertions:{tagName:function(a,b){return b.toUpperCase()==a.tagName.toUpperCase()},className:function(a,b){return Element.hasClassName(a,b)},id:function(a,b){return a.id===b},attrPresence:function(a,b){return Element.hasAttribute(a,b)},attr:function(a,b){var c=Element.readAttribute(a,b);return c&amp;&amp;Selector.operators[b](c,b||b)}},handlers:{concat:function(a,b){for(var i=0,node;node=b;i++)a.push(node);return a},mark:function(a){var b=Prototype.emptyFunction;for(var i=0,node;node=a;i++)node._countedByPrototype=b;return a},unmark:function(a){for(var i=0,node;node=a;i++)node._countedByPrototype=undefined;return a},index:function(a,b,c){a._countedByPrototype=Prototype.emptyFunction;if(b){for(var d=a.childNodes,i=d.length-1,j=1;i&gt;=0;i--){var e=d;if(e.nodeType==1&amp;&amp;(!c||e._countedByPrototype))e.nodeIndex=j++}}else{for(var i=0,j=1,d=a.childNodes;e=d;i++)if(e.nodeType==1&amp;&amp;(!c||e._countedByPrototype))e.nodeIndex=j++}},unique:function(a){if(a.length==0)return a;var b=[],n;for(var i=0,l=a.length;i&lt;l;i++)if(!(n=a)._countedByPrototype){n._countedByPrototype=Prototype.emptyFunction;b.push(Element.extend(n))}return Selector.handlers.unmark(b)},descendant:function(a){var h=Selector.handlers;for(var i=0,results=[],node;node=a;i++)h.concat(results,node.getElementsByTagName('*'));return results},child:function(a){var h=Selector.handlers;for(var i=0,results=[],node;node=a;i++){for(var j=0,child;child=node.childNodes;j++)if(child.nodeType==1&amp;&amp;child.tagName!='!')results.push(child)}return results},adjacent:function(a){for(var i=0,results=[],node;node=a;i++){var b=this.nextElementSibling(node);if(b)results.push(b)}return results},laterSibling:function(a){var h=Selector.handlers;for(var i=0,results=[],node;node=a;i++)h.concat(results,Element.nextSiblings(node));return results},nextElementSibling:function(a){while(a=a.nextSibling)if(a.nodeType==1)return a;return null},previousElementSibling:function(a){while(a=a.previousSibling)if(a.nodeType==1)return a;return null},tagName:function(a,b,c,d){var e=c.toUpperCase();var f=[],h=Selector.handlers;if(a){if(d){if(d==&quot;descendant&quot;){for(var i=0,node;node=a;i++)h.concat(f,node.getElementsByTagName(c));return f}else a=this(a);if(c==&quot;*&quot;)return a}for(var i=0,node;node=a;i++)if(node.tagName.toUpperCase()===e)f.push(node);return f}else return b.getElementsByTagName(c)},id:function(a,b,c,d){var e=$(c),h=Selector.handlers;if(!e)return[];if(!a&amp;&amp;b==document)return;if(a){if(d){if(d=='child'){for(var i=0,node;node=a;i++)if(e.parentNode==node)return}else if(d=='descendant'){for(var i=0,node;node=a;i++)if(Element.descendantOf(e,node))return}else if(d=='adjacent'){for(var i=0,node;node=a;i++)if(Selector.handlers.previousElementSibling(e)==node)return}else a=h(a)}for(var i=0,node;node=a;i++)if(node==e)return;return[]}return(e&amp;&amp;Element.descendantOf(e,b))?:[]},className:function(a,b,c,d){if(a&amp;&amp;d)a=this(a);return Selector.handlers.byClassName(a,b,c)},byClassName:function(a,b,c){if(!a)a=Selector.handlers.descendant();var d=' '+c+' ';for(var i=0,results=[],node,nodeClassName;node=a;i++){nodeClassName=node.className;if(nodeClassName.length==0)continue;if(nodeClassName==c||(' '+nodeClassName+' ').include(d))results.push(node)}return results},attrPresence:function(a,b,c,d){if(!a)a=b.getElementsByTagName(&quot;*&quot;);if(a&amp;&amp;d)a=this(a);var e=[];for(var i=0,node;node=a;i++)if(Element.hasAttribute(node,c))e.push(node);return e},attr:function(a,b,c,d,e,f){if(!a)a=b.getElementsByTagName(&quot;*&quot;);if(a&amp;&amp;f)a=this(a);var g=Selector.operators,results=[];for(var i=0,node;node=a;i++){var h=Element.readAttribute(node,c);if(h===null)continue;if(g(h,d))results.push(node)}return results},pseudo:function(a,b,c,d,e){if(a&amp;&amp;e)a=this(a);if(!a)a=d.getElementsByTagName(&quot;*&quot;);return Selector.pseudos(a,c,d)}},pseudos:{'first-child':function(a,b,c){for(var i=0,results=[],node;node=a;i++){if(Selector.handlers.previousElementSibling(node))continue;results.push(node)}return results},'last-child':function(a,b,c){for(var i=0,results=[],node;node=a;i++){if(Selector.handlers.nextElementSibling(node))continue;results.push(node)}return results},'only-child':function(a,b,c){var h=Selector.handlers;for(var i=0,results=[],node;node=a;i++)if(!h.previousElementSibling(node)&amp;&amp;!h.nextElementSibling(node))results.push(node);return results},'nth-child':function(a,b,c){return Selector.pseudos.nth(a,b,c)},'nth-last-child':function(a,b,c){return Selector.pseudos.nth(a,b,c,true)},'nth-of-type':function(a,b,c){return Selector.pseudos.nth(a,b,c,false,true)},'nth-last-of-type':function(a,b,c){return Selector.pseudos.nth(a,b,c,true,true)},'first-of-type':function(a,b,c){return Selector.pseudos.nth(a,&quot;1&quot;,c,false,true)},'last-of-type':function(a,b,c){return Selector.pseudos.nth(a,&quot;1&quot;,c,true,true)},'only-of-type':function(a,b,c){var p=Selector.pseudos;return p['last-of-type'](p['first-of-type'](a,b,c),b,c)},getIndices:function(a,b,d){if(a==0)return b&gt;0?:[];return $R(1,d).inject([],function(c,i){if(0==(i-b)%a&amp;&amp;(i-b)/a&gt;=0)c.push(i);return c})},nth:function(c,d,e,f,g){if(c.length==0)return[];if(d=='even')d='2n+0';if(d=='odd')d='2n+1';var h=Selector.handlers,results=[],indexed=[],m;h.mark(c);for(var i=0,node;node=c;i++){if(!node.parentNode._countedByPrototype){h.index(node.parentNode,f,g);indexed.push(node.parentNode)}}if(d.match(/^\d+$/)){d=Number(d);for(var i=0,node;node=c;i++)if(node.nodeIndex==d)results.push(node)}else if(m=d.match(/^(-?\d*)?n(([+-])(\d+))?/)){if(m==&quot;-&quot;)m=-1;var a=m?Number(m):1;var b=m?Number(m):0;var k=Selector.pseudos.getIndices(a,b,c.length);for(var i=0,node,l=k.length;node=c;i++){for(var j=0;j&lt;l;j++)if(node.nodeIndex==k)results.push(node)}}h.unmark(c);h.unmark(indexed);return results},'empty':function(a,b,c){for(var i=0,results=[],node;node=a;i++){if(node.tagName=='!'||(node.firstChild&amp;&amp;!node.innerHTML.match(/^\s*$/)))continue;results.push(node)}return results},'not':function(a,b,c){var h=Selector.handlers,selectorType,m;var d=new Selector(b).findElements(c);h.mark(d);for(var i=0,results=[],node;node=a;i++)if(!node._countedByPrototype)results.push(node);h.unmark(d);return results},'enabled':function(a,b,c){for(var i=0,results=[],node;node=a;i++)if(!node.disabled)results.push(node);return results},'disabled':function(a,b,c){for(var i=0,results=[],node;node=a;i++)if(node.disabled)results.push(node);return results},'checked':function(a,b,c){for(var i=0,results=[],node;node=a;i++)if(node.checked)results.push(node);return results}},operators:{'=':function(a,v){return a==v},'!=':function(a,v){return a!=v},'^=':function(a,v){return a.startsWith(v)},'$=':function(a,v){return a.endsWith(v)},'*=':function(a,v){return a.include(v)},'~=':function(a,v){return(' '+a+' ').include(' '+v+' ')},'|=':function(a,v){return('-'+a.toUpperCase()+'-').include('-'+v.toUpperCase()+'-')}},split:function(a){var b=[];a.scan(/(([\w#:.~&gt;+()\s-]+|\*|\[.*?\])+)\s*(,|$)/,function(m){b.push(m.strip())});return b},matchElements:function(a,b){var c=$$(b),h=Selector.handlers;h.mark(c);for(var i=0,results=[],element;element=a;i++)if(element._countedByPrototype)results.push(element);h.unmark(c);return results},findElement:function(a,b,c){if(Object.isNumber(b)){c=b;b=false}return Selector.matchElements(a,b||'*')[c||0]},findChildElements:function(a,b){b=Selector.split(b.join(','));var c=[],h=Selector.handlers;for(var i=0,l=b.length,selector;i&lt;l;i++){selector=new Selector(b.strip());h.concat(c,selector.findElements(a))}return(l&gt;1)?h.unique(c):c}});if(Prototype.Browser.IE){Object.extend(Selector.handlers,{concat:function(a,b){for(var i=0,node;node=b;i++)if(node.tagName!==&quot;!&quot;)a.push(node);return a},unmark:function(a){for(var i=0,node;node=a;i++)node.removeAttribute('_countedByPrototype');return a}})}function $$(){return Selector.findChildElements(document,$A(arguments))}var Form={reset:function(a){$(a).reset();return a},serializeElements:function(c,d){if(typeof d!='object')d={hash:!!d};else if(Object.isUndefined(d.hash))d.hash=true;var e,value,submitted=false,submit=d.submit;var f=c.inject({},function(a,b){if(!b.disabled&amp;&amp;b.name){e=b.name;value=$(b).getValue();if(value!=null&amp;&amp;(b.type!='submit'||(!submitted&amp;&amp;submit!==false&amp;&amp;(!submit||e==submit)&amp;&amp;(submitted=true)))){if(e in a){if(!Object.isArray(a))a=[a];a.push(value)}else a=value}}return a});return d.hash?f:Object.toQueryString(f)}};Form.Methods={serialize:function(a,b){return Form.serializeElements(Form.getElements(a),b)},getElements:function(c){return $A($(c).getElementsByTagName('*')).inject([],function(a,b){if(Form.Element.Serializers[b.tagName.toLowerCase()])a.push(Element.extend(b));return a})},getInputs:function(a,b,c){a=$(a);var d=a.getElementsByTagName('input');if(!b&amp;&amp;!c)return $A(d).map(Element.extend);for(var i=0,matchingInputs=[],length=d.length;i&lt;length;i++){var e=d;if((b&amp;&amp;e.type!=b)||(c&amp;&amp;e.name!=c))continue;matchingInputs.push(Element.extend(e))}return matchingInputs},disable:function(a){a=$(a);Form.getElements(a).invoke('disable');return a},enable:function(a){a=$(a);Form.getElements(a).invoke('enable');return a},findFirstElement:function(b){var c=$(b).getElements().findAll(function(a){return'hidden'!=a.type&amp;&amp;!a.disabled});var d=c.findAll(function(a){return a.hasAttribute('tabIndex')&amp;&amp;a.tabIndex&gt;=0}).sortBy(function(a){return a.tabIndex}).first();return d?d:c.find(function(a){return['input','select','textarea'].include(a.tagName.toLowerCase())})},focusFirstElement:function(a){a=$(a);a.findFirstElement().activate();return a},request:function(a,b){a=$(a),b=Object.clone(b||{});var c=b.parameters,action=a.readAttribute('action')||'';if(action.blank())action=window.location.href;b.parameters=a.serialize(true);if(c){if(Object.isString(c))c=c.toQueryParams();Object.extend(b.parameters,c)}if(a.hasAttribute('method')&amp;&amp;!b.method)b.method=a.method;return new Ajax.Request(action,b)}};Form.Element={focus:function(a){$(a).focus();return a},select:function(a){$(a).select();return a}};Form.Element.Methods={serialize:function(a){a=$(a);if(!a.disabled&amp;&amp;a.name){var b=a.getValue();if(b!=undefined){var c={};c[a.name]=b;return Object.toQueryString(c)}}return''},getValue:function(a){a=$(a);var b=a.tagName.toLowerCase();return Form.Element.Serializers(a)},setValue:function(a,b){a=$(a);var c=a.tagName.toLowerCase();Form.Element.Serializers(a,b);return a},clear:function(a){$(a).value='';return a},present:function(a){return $(a).value!=''},activate:function(a){a=$(a);try{a.focus();if(a.select&amp;&amp;(a.tagName.toLowerCase()!='input'||!['button','reset','submit'].include(a.type)))a.select()}catch(e){}return a},disable:function(a){a=$(a);a.blur();a.disabled=true;return a},enable:function(a){a=$(a);a.disabled=false;return a}};var Field=Form.Element;var $F=Form.Element.Methods.getValue;Form.Element.Serializers={input:function(a,b){switch(a.type.toLowerCase()){case'checkbox':case'radio':return Form.Element.Serializers.inputSelector(a,b);default:return Form.Element.Serializers.textarea(a,b)}},inputSelector:function(a,b){if(Object.isUndefined(b))return a.checked?a.value:null;else a.checked=!!b},textarea:function(a,b){if(Object.isUndefined(b))return a.value;else a.value=b},select:function(a,b){if(Object.isUndefined(b))return this[a.type=='select-one'?'selectOne':'selectMany'](a);else{var c,value,single=!Object.isArray(b);for(var i=0,length=a.length;i&lt;length;i++){c=a.options;value=this.optionValue(c);if(single){if(value==b){c.selected=true;return}}else c.selected=b.include(value)}}},selectOne:function(a){var b=a.selectedIndex;return b&gt;=0?this.optionValue(a.options):null},selectMany:function(a){var b,length=a.length;if(!length)return null;for(var i=0,b=[];i&lt;length;i++){var c=a.options;if(c.selected)b.push(this.optionValue(c))}return b},optionValue:function(a){return Element.extend(a).hasAttribute('value')?a.value:a.text}};Abstract.TimedObserver=Class.create(PeriodicalExecuter,{initialize:function($super,b,c,d){$super(d,c);this.element=$(b);this.lastValue=this.getValue()},execute:function(){var a=this.getValue();if(Object.isString(this.lastValue)&amp;&amp;Object.isString(a)?this.lastValue!=a:String(this.lastValue)!=String(a)){this.callback(this.element,a);this.lastValue=a}}});Form.Element.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.Observer=Class.create(Abstract.TimedObserver,{getValue:function(){return Form.serialize(this.element)}});Abstract.EventObserver=Class.create({initialize:function(a,b){this.element=$(a);this.callback=b;this.lastValue=this.getValue();if(this.element.tagName.toLowerCase()=='form')this.registerFormCallbacks();else this.registerCallback(this.element)},onElementEvent:function(){var a=this.getValue();if(this.lastValue!=a){this.callback(this.element,a);this.lastValue=a}},registerFormCallbacks:function(){Form.getElements(this.element).each(this.registerCallback,this)},registerCallback:function(a){if(a.type){switch(a.type.toLowerCase()){case'checkbox':case'radio':Event.observe(a,'click',this.onElementEvent.bind(this));break;default:Event.observe(a,'change',this.onElementEvent.bind(this));break}}}});Form.Element.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.Element.getValue(this.element)}});Form.EventObserver=Class.create(Abstract.EventObserver,{getValue:function(){return Form.serialize(this.element)}});if(!window.Event)var Event={};Object.extend(Event,{KEY_BACKSPACE:8,KEY_TAB:9,KEY_RETURN:13,KEY_ESC:27,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_DELETE:46,KEY_HOME:36,KEY_END:35,KEY_PAGEUP:33,KEY_PAGEDOWN:34,KEY_INSERT:45,cache:{},relatedTarget:function(a){var b;switch(a.type){case'mouseover':b=a.fromElement;break;case'mouseout':b=a.toElement;break;default:return null}return Element.extend(b)}});Event.Methods=(function(){var e;if(Prototype.Browser.IE){var f={0:1,1:4,2:2};e=function(a,b){return a.button==f}}else if(Prototype.Browser.WebKit){e=function(a,b){switch(b){case 0:return a.which==1&amp;&amp;!a.metaKey;case 1:return a.which==1&amp;&amp;a.metaKey;default:return false}}}else{e=function(a,b){return a.which?(a.which===b+1):(a.button===b)}}return{isLeftClick:function(a){return e(a,0)},isMiddleClick:function(a){return e(a,1)},isRightClick:function(a){return e(a,2)},element:function(a){var b=Event.extend(a).target;return Element.extend(b.nodeType==Node.TEXT_NODE?b.parentNode:b)},findElement:function(a,b){var c=Event.element(a);if(!b)return c;var d=.concat(c.ancestors());return Selector.findElement(d,b,0)},pointer:function(a){return{x:a.pageX||(a.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft)),y:a.pageY||(a.clientY+(document.documentElement.scrollTop||document.body.scrollTop))}},pointerX:function(a){return Event.pointer(a).x},pointerY:function(a){return Event.pointer(a).y},stop:function(a){Event.extend(a);a.preventDefault();a.stopPropagation();a.stopped=true}}})();Event.extend=(function(){var c=Object.keys(Event.Methods).inject({},function(m,a){m=Event.Methods.methodize();return m});if(Prototype.Browser.IE){Object.extend(c,{stopPropagation:function(){this.cancelBubble=true},preventDefault:function(){this.returnValue=false},inspect:function(){return&quot;[object Event]&quot;}});return function(a){if(!a)return false;if(a._extendedByPrototype)return a;a._extendedByPrototype=Prototype.emptyFunction;var b=Event.pointer(a);Object.extend(a,{target:a.srcElement,relatedTarget:Event.relatedTarget(a),pageX:b.x,pageY:b.y});return Object.extend(a,c)}}else{Event.prototype=Event.prototype||document.createEvent(&quot;HTMLEvents&quot;).__proto__;Object.extend(Event.prototype,c);return Prototype.K}})();Object.extend(Event,(function(){var h=Event.cache;function getEventID(a){if(a._prototypeEventID)return a._prototypeEventID;arguments.callee.id=arguments.callee.id||1;return a._prototypeEventID=[++arguments.callee.id]}function getDOMEventName(a){if(a&amp;&amp;a.include(':'))return&quot;dataavailable&quot;;return a}function getCacheForID(a){return h=h||{}}function getWrappersForEventName(a,b){var c=getCacheForID(a);return c=c||[]}function createWrapper(b,d,e){var f=getEventID(b);var c=getWrappersForEventName(f,d);if(c.pluck(&quot;handler&quot;).include(e))return false;var g=function(a){if(!Event||!Event.extend||(a.eventName&amp;&amp;a.eventName!=d))return false;Event.extend(a);e.call(b,a)};g.handler=e;c.push(g);return g}function findWrapper(b,d,e){var c=getWrappersForEventName(b,d);return c.find(function(a){return a.handler==e})}function destroyWrapper(a,b,d){var c=getCacheForID(a);if(!c)return false;c=c.without(findWrapper(a,b,d))}function destroyCache(){for(var a in h)for(var b in h)h=null}if(window.attachEvent){window.attachEvent(&quot;onunload&quot;,destroyCache)}return{observe:function(a,b,c){a=$(a);var d=getDOMEventName(b);var e=createWrapper(a,b,c);if(!e)return a;if(a.addEventListener){a.addEventListener(d,e,false)}else{a.attachEvent(&quot;on&quot;+d,e)}return a},stopObserving:function(b,c,d){b=$(b);var e=getEventID(b),name=getDOMEventName(c);if(!d&amp;&amp;c){getWrappersForEventName(e,c).each(function(a){b.stopObserving(c,a.handler)});return b}else if(!c){Object.keys(getCacheForID(e)).each(function(a){b.stopObserving(a)});return b}var f=findWrapper(e,c,d);if(!f)return b;if(b.removeEventListener){b.removeEventListener(name,f,false)}else{b.detachEvent(&quot;on&quot;+name,f)}destroyWrapper(e,c,d);return b},fire:function(a,b,c){a=$(a);if(a==document&amp;&amp;document.createEvent&amp;&amp;!a.dispatchEvent)a=document.documentElement;var d;if(document.createEvent){d=document.createEvent(&quot;HTMLEvents&quot;);d.initEvent(&quot;dataavailable&quot;,true,true)}else{d=document.createEventObject();d.eventType=&quot;ondataavailable&quot;}d.eventName=b;d.memo=c||{};if(document.createEvent){a.dispatchEvent(d)}else{a.fireEvent(d.eventType,d)}return Event.extend(d)}}})());Object.extend(Event,Event.Methods);Element.addMethods({fire:Event.fire,observe:Event.observe,stopObserving:Event.stopObserving});Object.extend(document,{fire:Element.Methods.fire.methodize(),observe:Element.Methods.observe.methodize(),stopObserving:Element.Methods.stopObserving.methodize(),loaded:false});(function(){var a;function fireContentLoadedEvent(){if(document.loaded)return;if(a)window.clearInterval(a);document.fire(&quot;dom:loaded&quot;);document.loaded=true}if(document.addEventListener){if(Prototype.Browser.WebKit){a=window.setInterval(function(){if(/loaded|complete/.test(document.readyState))fireContentLoadedEvent()},0);Event.observe(window,&quot;load&quot;,fireContentLoadedEvent)}else{document.addEventListener(&quot;DOMContentLoaded&quot;,fireContentLoadedEvent,false)}}else{document.write(&quot;&lt;script id=__onDOMContentLoaded defer src=//:&gt;&lt;\/script&gt;&quot;);$(&quot;__onDOMContentLoaded&quot;).onreadystatechange=function(){if(this.readyState==&quot;complete&quot;){this.onreadystatechange=null;fireContentLoadedEvent()}}}})();Hash.toQueryString=Object.toQueryString;var Toggle={display:Element.toggle};Element.Methods.childOf=Element.Methods.descendantOf;var Insertion={Before:function(a,b){return Element.insert(a,{before:b})},Top:function(a,b){return Element.insert(a,{top:b})},Bottom:function(a,b){return Element.insert(a,{bottom:b})},After:function(a,b){return Element.insert(a,{after:b})}};var $continue=new Error('&quot;throw $continue&quot; is deprecated, use &quot;return&quot; instead');var Position={includeScrollOffsets:false,prepare:function(){this.deltaX=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;this.deltaY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},within:function(a,x,y){if(this.includeScrollOffsets)return this.withinIncludingScrolloffsets(a,x,y);this.xcomp=x;this.ycomp=y;this.offset=Element.cumulativeOffset(a);return(y&gt;=this.offset&amp;&amp;y&lt;this.offset+a.offsetHeight&amp;&amp;x&gt;=this.offset&amp;&amp;x&lt;this.offset+a.offsetWidth)},withinIncludingScrolloffsets:function(a,x,y){var b=Element.cumulativeScrollOffset(a);this.xcomp=x+b-this.deltaX;this.ycomp=y+b-this.deltaY;this.offset=Element.cumulativeOffset(a);return(this.ycomp&gt;=this.offset&amp;&amp;this.ycomp&lt;this.offset+a.offsetHeight&amp;&amp;this.xcomp&gt;=this.offset&amp;&amp;this.xcomp&lt;this.offset+a.offsetWidth)},overlap:function(a,b){if(!a)return 0;if(a=='vertical')return((this.offset+b.offsetHeight)-this.ycomp)/b.offsetHeight;if(a=='horizontal')return((this.offset+b.offsetWidth)-this.xcomp)/b.offsetWidth},cumulativeOffset:Element.Methods.cumulativeOffset,positionedOffset:Element.Methods.positionedOffset,absolutize:function(a){Position.prepare();return Element.absolutize(a)},relativize:function(a){Position.prepare();return Element.relativize(a)},realOffset:Element.Methods.cumulativeScrollOffset,offsetParent:Element.Methods.getOffsetParent,page:Element.Methods.viewportOffset,clone:function(a,b,c){c=c||{};return Element.clonePosition(b,a,c)}};if(!document.getElementsByClassName)document.getElementsByClassName=function(f){function iter(a){return a.blank()?null:&quot;[contains(concat(' ', @class, ' '), ' &quot;+a+&quot; ')]&quot;}f.getElementsByClassName=Prototype.BrowserFeatures.XPath?function(a,b){b=b.toString().strip();var c=/\s/.test(b)?$w(b).map(iter).join(''):iter(b);return c?document._getElementsByXPath('.//*'+c,a):[]}:function(b,c){c=c.toString().strip();var d=[],classNames=(/\s/.test(c)?$w(c):null);if(!classNames&amp;&amp;!c)return d;var e=$(b).getElementsByTagName('*');c=' '+c+' ';for(var i=0,child,cn;child=e;i++){if(child.className&amp;&amp;(cn=' '+child.className+' ')&amp;&amp;(cn.include(c)||(classNames&amp;&amp;classNames.all(function(a){return!a.toString().blank()&amp;&amp;cn.include(' '+a+' ')}))))d.push(Element.extend(child))}return d};return function(a,b){return $(b||document.body).getElementsByClassName(a)}}(Element.Methods);Element.ClassNames=Class.create();Element.ClassNames.prototype={initialize:function(a){this.element=$(a)},_each:function(b){this.element.className.split(/\s+/).select(function(a){return a.length&gt;0})._each(b)},set:function(a){this.element.className=a},add:function(a){if(this.include(a))return;this.set($A(this).concat(a).join(' '))},remove:function(a){if(!this.include(a))return;this.set($A(this).without(a).join(' '))},toString:function(){return $A(this).join(' ')}};Object.extend(Element.ClassNames.prototype,Enumerable);Element.addMethods();
//scriptaculous.js
var Scriptaculous={Version:'1.8.1',require:function(a){document.write('&lt;script type=&quot;text/javascript&quot; src=&quot;'+a+'&quot;&gt;&lt;\/script&gt;')},REQUIRED_PROTOTYPE:'1.6.0',load:function(){function convertVersionString(a){var r=a.split('.');return parseInt(r)*100000+parseInt(r)*1000+parseInt(r)}if((typeof Prototype=='undefined')||(typeof Element=='undefined')||(typeof Element.Methods=='undefined')||(convertVersionString(Prototype.Version)&lt;convertVersionString(Scriptaculous.REQUIRED_PROTOTYPE)))throw(&quot;script.aculo.us requires the Prototype JavaScript framework &gt;= &quot;+Scriptaculous.REQUIRED_PROTOTYPE);var d=/(proto|scripta)culous[a-z0-9._-]*\.js(\?.*)?$/;$A(document.getElementsByTagName(&quot;script&quot;)).findAll(function(s){return(s.src&amp;&amp;s.src.match(d))}).each(function(s){var b=s.src.replace(d,'');var c=(s.src.match(/\?.*load=([a-z,]*)/)||['','']);c.split(',').without('').each(function(a){Scriptaculous.require(b+a+'.js')})})}};
//effects.js
String.prototype.parseColor=function(){var a='#';if(this.slice(0,4)=='rgb('){var b=this.slice(4,this.length-1).split(',');var i=0;do{a+=parseInt(b).toColorPart()}while(++i&lt;3)}else{if(this.slice(0,1)=='#'){if(this.length==4)for(var i=1;i&lt;4;i++)a+=(this.charAt(i)+this.charAt(i)).toLowerCase();if(this.length==7)a=this.toLowerCase()}}return(a.length==7?a:(arguments||this))};Element.collectTextNodes=function(b){return $A($(b).childNodes).collect(function(a){return(a.nodeType==3?a.nodeValue:(a.hasChildNodes()?Element.collectTextNodes(a):''))}).flatten().join('')};Element.collectTextNodesIgnoreClass=function(b,c){return $A($(b).childNodes).collect(function(a){return(a.nodeType==3?a.nodeValue:((a.hasChildNodes()&amp;&amp;!Element.hasClassName(a,c))?Element.collectTextNodesIgnoreClass(a,c):''))}).flatten().join('')};Element.setContentZoom=function(a,b){a=$(a);a.setStyle({fontSize:(b/100)+'em'});if(Prototype.Browser.WebKit)window.scrollBy(0,0);return a};Element.getInlineOpacity=function(
a){return $(a).style.opacity||''};Element.forceRerendering=function(a){try{a=$(a);var n=document.createTextNode(' ');a.appendChild(n);a.removeChild(n)}catch(e){}};var Effect={_elementDoesNotExistError:{name:'ElementDoesNotExistError',message:'The specified DOM element does not exist, but is required for this effect to operate'},Transitions:{linear:Prototype.K,sinoidal:function(a){return(-Math.cos(a*Math.PI)/2)+0.5},reverse:function(a){return 1-a},flicker:function(a){var a=((-Math.cos(a*Math.PI)/4)+0.75)+Math.random()/4;return a&gt;1?1:a},wobble:function(a){return(-Math.cos(a*Math.PI*(9*a))/2)+0.5},pulse:function(a,b){b=b||5;return(((a%(1/b))*b).round()==0?((a*b*2)-(a*b*2).floor()):1-((a*b*2)-(a*b*2).floor()))},spring:function(a){return 1-(Math.cos(a*4.5*Math.PI)*Math.exp(-a*6))},none:function(a){return 0},full:function(a){return 1}},DefaultOptions:{duration:1.0,fps:100,sync:false,from:0.0,to:1.0,delay:0.0,queue:'parallel'},tagifyText:function(c){var d='position:relative';if(Prototype.Browser.IE)d+=';zoom:1';c=$(c);$A(c.childNodes).each(function(b){if(b.nodeType==3){b.nodeValue.toArray().each(function(a){c.insertBefore(new Element('span',{style:d}).update(a==' '?String.fromCharCode(160):a),b)});Element.remove(b)}})},multiple:function(c,d){var e;if(((typeof c=='object')||Object.isFunction(c))&amp;&amp;(c.length))e=c;else e=$(c).childNodes;var f=Object.extend({speed:0.1,delay:0.0},arguments||{});var g=f.delay;$A(e).each(function(a,b){new d(a,Object.extend(f,{delay:b*f.speed+g}))})},PAIRS:{'slide':['SlideDown','SlideUp'],'blind':['BlindDown','BlindUp'],'appear':['Appear','Fade']},toggle:function(a,b){a=$(a);b=(b||'appear').toLowerCase();var c=Object.extend({queue:{position:'end',scope:(a.id||'global'),limit:1}},arguments||{});Effect[a.visible()?Effect.PAIRS:Effect.PAIRS](a,c)}};Effect.DefaultOptions.transition=Effect.Transitions.sinoidal;Effect.ScopedQueue=Class.create(Enumerable,{initialize:function(){this.effects=[];this.interval=null},_each:function(a){this.effects._each(a)},add:function(a){var b=new Date().getTime();var c=Object.isString(a.options.queue)?a.options.queue:a.options.queue.position;switch(c){case'front':this.effects.findAll(function(e){return e.state=='idle'}).each(function(e){e.startOn+=a.finishOn;e.finishOn+=a.finishOn});break;case'with-last':b=this.effects.pluck('startOn').max()||b;break;case'end':b=this.effects.pluck('finishOn').max()||b;break}a.startOn+=b;a.finishOn+=b;if(!a.options.queue.limit||(this.effects.length&lt;a.options.queue.limit))this.effects.push(a);if(!this.interval)this.interval=setInterval(this.loop.bind(this),15)},remove:function(a){this.effects=this.effects.reject(function(e){return e==a});if(this.effects.length==0){clearInterval(this.interval);this.interval=null}},loop:function(){var a=new Date().getTime();for(var i=0,len=this.effects.length;i&lt;len;i++)this.effects&amp;&amp;this.effects.loop(a)}});Effect.Queues={instances:$H(),get:function(a){if(!Object.isString(a))return a;return this.instances.get(a)||this.instances.set(a,new Effect.ScopedQueue())}};Effect.Queue=Effect.Queues.get('global');Effect.Base=Class.create({position:null,start:function(c){function codeForEvent(a,b){return((a[b+'Internal']?'this.options.'+b+'Internal(this);':'')+(a?'this.options.'+b+'(this);':''))}if(c&amp;&amp;c.transition===false)c.transition=Effect.Transitions.linear;this.options=Object.extend(Object.extend({},Effect.DefaultOptions),c||{});this.currentFrame=0;this.state='idle';this.startOn=this.options.delay*1000;this.finishOn=this.startOn+(this.options.duration*1000);this.fromToDelta=this.options.to-this.options.from;this.totalTime=this.finishOn-this.startOn;this.totalFrames=this.options.fps*this.options.duration;eval('this.render = function(pos){ '+'if (this.state==&quot;idle&quot;){this.state=&quot;running&quot;;'+codeForEvent(this.options,'beforeSetup')+(this.setup?'this.setup();':'')+codeForEvent(this.options,'afterSetup')+'};if (this.state==&quot;running&quot;){'+'pos=this.options.transition(pos)*'+this.fromToDelta+'+'+this.options.from+';'+'this.position=pos;'+codeForEvent(this.options,'beforeUpdate')+(this.update?'this.update(pos);':'')+codeForEvent(this.options,'afterUpdate')+'}}');this.event('beforeStart');if(!this.options.sync)Effect.Queues.get(Object.isString(this.options.queue)?'global':this.options.queue.scope).add(this)},loop:function(a){if(a&gt;=this.startOn){if(a&gt;=this.finishOn){this.render(1.0);this.cancel();this.event('beforeFinish');if(this.finish)this.finish();this.event('afterFinish');return}var b=(a-this.startOn)/this.totalTime,frame=(b*this.totalFrames).round();if(frame&gt;this.currentFrame){this.render(b);this.currentFrame=frame}}},cancel:function(){if(!this.options.sync)Effect.Queues.get(Object.isString(this.options.queue)?'global':this.options.queue.scope).remove(this);this.state='finished'},event:function(a){if(this.options[a+'Internal'])this.options[a+'Internal'](this);if(this.options)this.options(this)},inspect:function(){var a=$H();for(property in this)if(!Object.isFunction(this))a.set(property,this);return'#&lt;Effect:'+a.inspect()+',options:'+$H(this.options).inspect()+'&gt;'}});Effect.Parallel=Class.create(Effect.Base,{initialize:function(a){this.effects=a||[];this.start(arguments)},update:function(a){this.effects.invoke('render',a)},finish:function(b){this.effects.each(function(a){a.render(1.0);a.cancel();a.event('beforeFinish');if(a.finish)a.finish(b);a.event('afterFinish')})}});Effect.Tween=Class.create(Effect.Base,{initialize:function(b,c,d){b=Object.isString(b)?$(b):b;var e=$A(arguments),method=e.last(),options=e.length==5?e:null;this.method=Object.isFunction(method)?method.bind(b):Object.isFunction(b)?b.bind(b):function(a){b=a};this.start(Object.extend({from:c,to:d},options||{}))},update:function(a){this.method(a)}});Effect.Event=Class.create(Effect.Base,{initialize:function(){this.start(Object.extend({duration:0},arguments||{}))},update:Prototype.emptyFunction});Effect.Opacity=Class.create(Effect.Base,{initialize:function(a){this.element=$(a);if(!this.element)throw(Effect._elementDoesNotExistError);if(Prototype.Browser.IE&amp;&amp;(!this.element.currentStyle.hasLayout))this.element.setStyle({zoom:1});var b=Object.extend({from:this.element.getOpacity()||0.0,to:1.0},arguments||{});this.start(b)},update:function(a){this.element.setOpacity(a)}});Effect.Move=Class.create(Effect.Base,{initialize:function(a){this.element=$(a);if(!this.element)throw(Effect._elementDoesNotExistError);var b=Object.extend({x:0,y:0,mode:'relative'},arguments||{});this.start(b)},setup:function(){this.element.makePositioned();this.originalLeft=parseFloat(this.element.getStyle('left')||'0');this.originalTop=parseFloat(this.element.getStyle('top')||'0');if(this.options.mode=='absolute'){this.options.x=this.options.x-this.originalLeft;this.options.y=this.options.y-this.originalTop}},update:function(a){this.element.setStyle({left:(this.options.x*a+this.originalLeft).round()+'px',top:(this.options.y*a+this.originalTop).round()+'px'})}});Effect.MoveBy=function(a,b,c){return new Effect.Move(a,Object.extend({x:c,y:b},arguments||{}))};Effect.Scale=Class.create(Effect.Base,{initialize:function(a,b){this.element=$(a);if(!this.element)throw(Effect._elementDoesNotExistError);var c=Object.extend({scaleX:true,scaleY:true,scaleContent:true,scaleFromCenter:false,scaleMode:'box',scaleFrom:100.0,scaleTo:b},arguments||{});this.start(c)},setup:function(){this.restoreAfterFinish=this.options.restoreAfterFinish||false;this.elementPositioning=this.element.getStyle('position');this.originalStyle={};['top','left','width','height','fontSize'].each(function(k){this.originalStyle=this.element.style}.bind(this));this.originalTop=this.element.offsetTop;this.originalLeft=this.element.offsetLeft;var b=this.element.getStyle('font-size')||'100%';['em','px','%','pt'].each(function(a){if(b.indexOf(a)&gt;0){this.fontSize=parseFloat(b);this.fontSizeType=a}}.bind(this));this.factor=(this.options.scaleTo-this.options.scaleFrom)/100;this.dims=null;if(this.options.scaleMode=='box')this.dims=[this.element.offsetHeight,this.element.offsetWidth];if(/^content/.test(this.options.scaleMode))this.dims=[this.element.scrollHeight,this.element.scrollWidth];if(!this.dims)this.dims=[this.options.scaleMode.originalHeight,this.options.scaleMode.originalWidth]},update:function(a){var b=(this.options.scaleFrom/100.0)+(this.factor*a);if(this.options.scaleContent&amp;&amp;this.fontSize)this.element.setStyle({fontSize:this.fontSize*b+this.fontSizeType});this.setDimensions(this.dims*b,this.dims*b)},finish:function(a){if(this.restoreAfterFinish)this.element.setStyle(this.originalStyle)},setDimensions:function(a,b){var d={};if(this.options.scaleX)d.width=b.round()+'px';if(this.options.scaleY)d.height=a.round()+'px';if(this.options.scaleFromCenter){var c=(a-this.dims)/2;var e=(b-this.dims)/2;if(this.elementPositioning=='absolute'){if(this.options.scaleY)d.top=this.originalTop-c+'px';if(this.options.scaleX)d.left=this.originalLeft-e+'px'}else{if(this.options.scaleY)d.top=-c+'px';if(this.options.scaleX)d.left=-e+'px'}}this.element.setStyle(d)}});Effect.Highlight=Class.create(Effect.Base,{initialize:function(a){this.element=$(a);if(!this.element)throw(Effect._elementDoesNotExistError);var b=Object.extend({startcolor:'#ffff99'},arguments||{});this.start(b)},setup:function(){if(this.element.getStyle('display')=='none'){this.cancel();return}this.oldStyle={};if(!this.options.keepBackgroundImage){this.oldStyle.backgroundImage=this.element.getStyle('background-image');this.element.setStyle({backgroundImage:'none'})}if(!this.options.endcolor)this.options.endcolor=this.element.getStyle('background-color').parseColor('#ffffff');if(!this.options.restorecolor)this.options.restorecolor=this.element.getStyle('background-color');this._base=$R(0,2).map(function(i){return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16)}.bind(this));this._delta=$R(0,2).map(function(i){return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base}.bind(this))},update:function(a){this.element.setStyle({backgroundColor:$R(0,2).inject('#',function(m,v,i){return m+((this._base+(this._delta*a)).round().toColorPart())}.bind(this))})},finish:function(){this.element.setStyle(Object.extend(this.oldStyle,{backgroundColor:this.options.restorecolor}))}});Effect.ScrollTo=function(a){var b=arguments||{},scrollOffsets=document.viewport.getScrollOffsets(),elementOffsets=$(a).cumulativeOffset(),max=document.viewport.getScrollOffsets-document.viewport.getHeight();if(b.offset)elementOffsets+=b.offset;return new Effect.Tween(null,scrollOffsets.top,elementOffsets&gt;max?max:elementOffsets,b,function(p){scrollTo(scrollOffsets.left,p.round())})};Effect.Fade=function(b){b=$(b);var c=b.getInlineOpacity();var d=Object.extend({from:b.getOpacity()||1.0,to:0.0,afterFinishInternal:function(a){if(a.options.to!=0)return;a.element.hide().setStyle({opacity:c})}},arguments||{});return new Effect.Opacity(b,d)};Effect.Appear=function(b){b=$(b);var c=Object.extend({from:(b.getStyle('display')=='none'?0.0:b.getOpacity()||0.0),to:1.0,afterFinishInternal:function(a){a.element.forceRerendering()},beforeSetup:function(a){a.element.setOpacity(a.options.from).show()}},arguments||{});return new Effect.Opacity(b,c)};Effect.Puff=function(b){b=$(b);var c={opacity:b.getInlineOpacity(),position:b.getStyle('position'),top:b.style.top,left:b.style.left,width:b.style.width,height:b.style.height};return new Effect.Parallel([new Effect.Scale(b,200,{sync:true,scaleFromCenter:true,scaleContent:true,restoreAfterFinish:true}),new Effect.Opacity(b,{sync:true,to:0.0})],Object.extend({duration:1.0,beforeSetupInternal:function(a){Position.absolutize(a.effects.element)},afterFinishInternal:function(a){a.effects.element.hide().setStyle(c)}},arguments||{}))};Effect.BlindUp=function(b){b=$(b);b.makeClipping();return new Effect.Scale(b,0,Object.extend({scaleContent:false,scaleX:false,restoreAfterFinish:true,afterFinishInternal:function(a){a.element.hide().undoClipping()}},arguments||{}))};Effect.BlindDown=function(b){b=$(b);var c=b.getDimensions();return new Effect.Scale(b,100,Object.extend({scaleContent:false,scaleX:false,scaleFrom:0,scaleMode:{originalHeight:c.height,originalWidth:c.width},restoreAfterFinish:true,afterSetup:function(a){a.element.makeClipping().setStyle({height:'0px'}).show()},afterFinishInternal:function(a){a.element.undoClipping()}},arguments||{}))};Effect.SwitchOff=function(c){c=$(c);var d=c.getInlineOpacity();return new Effect.Appear(c,Object.extend({duration:0.4,from:0,transition:Effect.Transitions.flicker,afterFinishInternal:function(b){new Effect.Scale(b.element,1,{duration:0.3,scaleFromCenter:true,scaleX:false,scaleContent:false,restoreAfterFinish:true,beforeSetup:function(a){a.element.makePositioned().makeClipping()},afterFinishInternal:function(a){a.element.hide().undoClipping().undoPositioned().setStyle({opacity:d})}})}},arguments||{}))};Effect.DropOut=function(b){b=$(b);var c={top:b.getStyle('top'),left:b.getStyle('left'),opacity:b.getInlineOpacity()};return new Effect.Parallel([new Effect.Move(b,{x:0,y:100,sync:true}),new Effect.Opacity(b,{sync:true,to:0.0})],Object.extend({duration:0.5,beforeSetup:function(a){a.effects.element.makePositioned()},afterFinishInternal:function(a){a.effects.element.hide().undoPositioned().setStyle(c)}},arguments||{}))};Effect.Shake=function(g){g=$(g);var h=Object.extend({distance:20,duration:0.5},arguments||{});var i=parseFloat(h.distance);var j=parseFloat(h.duration)/10.0;var k={top:g.getStyle('top'),left:g.getStyle('left')};return new Effect.Move(g,{x:i,y:0,duration:j,afterFinishInternal:function(f){new Effect.Move(f.element,{x:-i*2,y:0,duration:j*2,afterFinishInternal:function(e){new Effect.Move(e.element,{x:i*2,y:0,duration:j*2,afterFinishInternal:function(d){new Effect.Move(d.element,{x:-i*2,y:0,duration:j*2,afterFinishInternal:function(c){new Effect.Move(c.element,{x:i*2,y:0,duration:j*2,afterFinishInternal:function(b){new Effect.Move(b.element,{x:-i,y:0,duration:j,afterFinishInternal:function(a){a.element.undoPositioned().setStyle(k)}})}})}})}})}})}})};Effect.SlideDown=function(b){b=$(b).cleanWhitespace();var c=b.down().getStyle('bottom');var d=b.getDimensions();return new Effect.Scale(b,100,Object.extend({scaleContent:false,scaleX:false,scaleFrom:window.opera?0:1,scaleMode:{originalHeight:d.height,originalWidth:d.width},restoreAfterFinish:true,afterSetup:function(a){a.element.makePositioned();a.element.down().makePositioned();if(window.opera)a.element.setStyle({top:''});a.element.makeClipping().setStyle({height:'0px'}).show()},afterUpdateInternal:function(a){a.element.down().setStyle({bottom:(a.dims-a.element.clientHeight)+'px'})},afterFinishInternal:function(a){a.element.undoClipping().undoPositioned();a.element.down().undoPositioned().setStyle({bottom:c})}},arguments||{}))};Effect.SlideUp=function(b){b=$(b).cleanWhitespace();var c=b.down().getStyle('bottom');var d=b.getDimensions();return new Effect.Scale(b,window.opera?0:1,Object.extend({scaleContent:false,scaleX:false,scaleMode:'box',scaleFrom:100,scaleMode:{originalHeight:d.height,originalWidth:d.width},restoreAfterFinish:true,afterSetup:function(a){a.element.makePositioned();a.element.down().makePositioned();if(window.opera)a.element.setStyle({top:''});a.element.makeClipping().show()},afterUpdateInternal:function(a){a.element.down().setStyle({bottom:(a.dims-a.element.clientHeight)+'px'})},afterFinishInternal:function(a){a.element.hide().undoClipping().undoPositioned();a.element.down().undoPositioned().setStyle({bottom:c})}},arguments||{}))};Effect.Squish=function(b){return new Effect.Scale(b,window.opera?1:0,{restoreAfterFinish:true,beforeSetup:function(a){a.element.makeClipping()},afterFinishInternal:function(a){a.element.hide().undoClipping()}})};Effect.Grow=function(c){c=$(c);var d=Object.extend({direction:'center',moveTransition:Effect.Transitions.sinoidal,scaleTransition:Effect.Transitions.sinoidal,opacityTransition:Effect.Transitions.full},arguments||{});var e={top:c.style.top,left:c.style.left,height:c.style.height,width:c.style.width,opacity:c.getInlineOpacity()};var f=c.getDimensions();var g,initialMoveY;var h,moveY;switch(d.direction){case'top-left':g=initialMoveY=h=moveY=0;break;case'top-right':g=f.width;initialMoveY=moveY=0;h=-f.width;break;case'bottom-left':g=h=0;initialMoveY=f.height;moveY=-f.height;break;case'bottom-right':g=f.width;initialMoveY=f.height;h=-f.width;moveY=-f.height;break;case'center':g=f.width/2;initialMoveY=f.height/2;h=-f.width/2;moveY=-f.height/2;break}return new Effect.Move(c,{x:g,y:initialMoveY,duration:0.01,beforeSetup:function(a){a.element.hide().makeClipping().makePositioned()},afterFinishInternal:function(b){new Effect.Parallel([new Effect.Opacity(b.element,{sync:true,to:1.0,from:0.0,transition:d.opacityTransition}),new Effect.Move(b.element,{x:h,y:moveY,sync:true,transition:d.moveTransition}),new Effect.Scale(b.element,100,{scaleMode:{originalHeight:f.height,originalWidth:f.width},sync:true,scaleFrom:window.opera?1:0,transition:d.scaleTransition,restoreAfterFinish:true})],Object.extend({beforeSetup:function(a){a.effects.element.setStyle({height:'0px'}).show()},afterFinishInternal:function(a){a.effects.element.undoClipping().undoPositioned().setStyle(e)}},d))}})};Effect.Shrink=function(b){b=$(b);var c=Object.extend({direction:'center',moveTransition:Effect.Transitions.sinoidal,scaleTransition:Effect.Transitions.sinoidal,opacityTransition:Effect.Transitions.none},arguments||{});var d={top:b.style.top,left:b.style.left,height:b.style.height,width:b.style.width,opacity:b.getInlineOpacity()};var e=b.getDimensions();var f,moveY;switch(c.direction){case'top-left':f=moveY=0;break;case'top-right':f=e.width;moveY=0;break;case'bottom-left':f=0;moveY=e.height;break;case'bottom-right':f=e.width;moveY=e.height;break;case'center':f=e.width/2;moveY=e.height/2;break}return new Effect.Parallel([new Effect.Opacity(b,{sync:true,to:0.0,from:1.0,transition:c.opacityTransition}),new Effect.Scale(b,window.opera?1:0,{sync:true,transition:c.scaleTransition,restoreAfterFinish:true}),new Effect.Move(b,{x:f,y:moveY,sync:true,transition:c.moveTransition})],Object.extend({beforeStartInternal:function(a){a.effects.element.makePositioned().makeClipping()},afterFinishInternal:function(a){a.effects.element.hide().undoClipping().undoPositioned().setStyle(d)}},c))};Effect.Pulsate=function(b){b=$(b);var c=arguments||{};var d=b.getInlineOpacity();var e=c.transition||Effect.Transitions.sinoidal;var f=function(a){return e(1-Effect.Transitions.pulse(a,c.pulses))};f.bind(e);return new Effect.Opacity(b,Object.extend(Object.extend({duration:2.0,from:0,afterFinishInternal:function(a){a.element.setStyle({opacity:d})}},c),{transition:f}))};Effect.Fold=function(c){c=$(c);var d={top:c.style.top,left:c.style.left,width:c.style.width,height:c.style.height};c.makeClipping();return new Effect.Scale(c,5,Object.extend({scaleContent:false,scaleX:false,afterFinishInternal:function(b){new Effect.Scale(c,1,{scaleContent:false,scaleY:false,afterFinishInternal:function(a){a.element.hide().undoClipping().setStyle(d)}})}},arguments||{}))};Effect.Morph=Class.create(Effect.Base,{initialize:function(c){this.element=$(c);if(!this.element)throw(Effect._elementDoesNotExistError);var d=Object.extend({style:{}},arguments||{});if(!Object.isString(d.style))this.style=$H(d.style);else{if(d.style.include(':'))this.style=d.style.parseStyle();else{this.element.addClassName(d.style);this.style=$H(this.element.getStyles());this.element.removeClassName(d.style);var e=this.element.getStyles();this.style=this.style.reject(function(a){return a.value==e[a.key]});d.afterFinishInternal=function(b){b.element.addClassName(b.options.style);b.transforms.each(function(a){b.element.style[a.style]=''})}}}this.start(d)},setup:function(){function parseColor(a){if(!a||['rgba(0, 0, 0, 0)','transparent'].include(a))a='#ffffff';a=a.parseColor();return $R(0,2).map(function(i){return parseInt(a.slice(i*2+1,i*2+3),16)})}this.transforms=this.style.map(function(a){var b=a,value=a,unit=null;if(value.parseColor('#zzzzzz')!='#zzzzzz'){value=value.parseColor();unit='color'}else if(b=='opacity'){value=parseFloat(value);if(Prototype.Browser.IE&amp;&amp;(!this.element.currentStyle.hasLayout))this.element.setStyle({zoom:1})}else if(Element.CSS_LENGTH.test(value)){var c=value.match(/^([\+\-]?[0-9\.]+)(.*)$/);value=parseFloat(c);unit=(c.length==3)?c:null}var d=this.element.getStyle(b);return{style:b.camelize(),originalValue:unit=='color'?parseColor(d):parseFloat(d||0),targetValue:unit=='color'?parseColor(value):value,unit:unit}}.bind(this)).reject(function(a){return((a.originalValue==a.targetValue)||(a.unit!='color'&amp;&amp;(isNaN(a.originalValue)||isNaN(a.targetValue))))})},update:function(a){var b={},transform,i=this.transforms.length;while(i--)b[(transform=this.transforms).style]=transform.unit=='color'?'#'+(Math.round(transform.originalValue+(transform.targetValue-transform.originalValue)*a)).toColorPart()+(Math.round(transform.originalValue+(transform.targetValue-transform.originalValue)*a)).toColorPart()+(Math.round(transform.originalValue+(transform.targetValue-transform.originalValue)*a)).toColorPart():(transform.originalValue+(transform.targetValue-transform.originalValue)*a).toFixed(3)+(transform.unit===null?'':transform.unit);this.element.setStyle(b,true)}});Effect.Transform=Class.create({initialize:function(a){this.tracks=[];this.options=arguments||{};this.addTracks(a)},addTracks:function(c){c.each(function(a){a=$H(a);var b=a.values().first();this.tracks.push($H({ids:a.keys().first(),effect:Effect.Morph,options:{style:b}}))}.bind(this));return this},play:function(){return new Effect.Parallel(this.tracks.map(function(a){var b=a.get('ids'),effect=a.get('effect'),options=a.get('options');var c=[$(b)||$$(b)].flatten();return c.map(function(e){return new effect(e,Object.extend({sync:true},options))})}).flatten(),this.options)}});Element.CSS_PROPERTIES=$w('backgroundColor backgroundPosition borderBottomColor borderBottomStyle '+'borderBottomWidth borderLeftColor borderLeftStyle borderLeftWidth '+'borderRightColor borderRightStyle borderRightWidth borderSpacing '+'borderTopColor borderTopStyle borderTopWidth bottom clip color '+'fontSize fontWeight height left letterSpacing lineHeight '+'marginBottom marginLeft marginRight marginTop markerOffset maxHeight '+'maxWidth minHeight minWidth opacity outlineColor outlineOffset '+'outlineWidth paddingBottom paddingLeft paddingRight paddingTop '+'right textIndent top width wordSpacing zIndex');Element.CSS_LENGTH=/^(([\+\-]?[0-9\.]+)(em|ex|px|in|cm|mm|pt|pc|\%))|0$/;String.__parseStyleElement=document.createElement('div');String.prototype.parseStyle=function(){var b,styleRules=$H();if(Prototype.Browser.WebKit)b=new Element('div',{style:this}).style;else{String.__parseStyleElement.innerHTML='&lt;div style=&quot;'+this+'&quot;&gt;&lt;/div&gt;';b=String.__parseStyleElement.childNodes.style}Element.CSS_PROPERTIES.each(function(a){if(b)styleRules.set(a,b)});if(Prototype.Browser.IE&amp;&amp;this.include('opacity'))styleRules.set('opacity',this.match(/opacity:\s*((?:0|1)?(?:\.\d*)?)/));return styleRules};if(document.defaultView&amp;&amp;document.defaultView.getComputedStyle){Element.getStyles=function(c){var d=document.defaultView.getComputedStyle($(c),null);return Element.CSS_PROPERTIES.inject({},function(a,b){a=d;return a})}}else{Element.getStyles=function(c){c=$(c);var d=c.currentStyle,styles;styles=Element.CSS_PROPERTIES.inject({},function(a,b){a=d;return a});if(!styles.opacity)styles.opacity=c.getOpacity();return styles}}Effect.Methods={morph:function(a,b){a=$(a);new Effect.Morph(a,Object.extend({style:b},arguments||{}));return a},visualEffect:function(a,b,c){a=$(a);var s=b.dasherize().camelize(),klass=s.charAt(0).toUpperCase()+s.substring(1);new Effect(a,c);return a},highlight:function(a,b){a=$(a);new Effect.Highlight(a,b);return a}};$w('fade appear grow shrink fold blindUp blindDown slideUp slideDown '+'pulsate shake puff squish switchOff dropOut').each(function(c){Effect.Methods=function(a,b){a=$(a);Effect[c.charAt(0).toUpperCase()+c.substring(1)](a,b);return a}});$w('getInlineOpacity forceRerendering setContentZoom collectTextNodes collectTextNodesIgnoreClass getStyles').each(function(f){Effect.Methods=Element});Element.addMethods(Effect.Methods);
//load additional files
Scriptaculous.load();
// script.aculo.us slider.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008

// Copyright (c) 2005-2007 Marty Haught, Thomas Fuchs 
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
// For details, see the script.aculo.us web site: http://script.aculo.us/

if (!Control) var Control = { };

// options:
//  axis: 'vertical', or 'horizontal' (default)
//
// callbacks:
//  onChange(value)
//  onSlide(value)
Control.Slider = Class.create({
  initialize: function(handle, track, options) {
    var slider = this;
    
    if (Object.isArray(handle)) {
      this.handles = handle.collect( function(e) { return $(e) });
    } else {
      this.handles = [$(handle)];
    }
    
    this.track   = $(track);
    this.options = options || { };

    this.axis      = this.options.axis || 'horizontal';
    this.increment = this.options.increment || 1;
    this.step      = parseInt(this.options.step || '1');
    this.range     = this.options.range || $R(0,1);
    
    this.value     = 0; // assure backwards compat
    this.values    = this.handles.map( function() { return 0 });
    this.spans     = this.options.spans ? this.options.spans.map(function(s){ return $(s) }) : false;
    this.options.startSpan = $(this.options.startSpan || null);
    this.options.endSpan   = $(this.options.endSpan || null);

    this.restricted = this.options.restricted || false;

    this.maximum   = this.options.maximum || this.range.end;
    this.minimum   = this.options.minimum || this.range.start;

    // Will be used to align the handle onto the track, if necessary
    this.alignX = parseInt(this.options.alignX || '0');
    this.alignY = parseInt(this.options.alignY || '0');
    
    this.trackLength = this.maximumOffset() - this.minimumOffset();

    this.handleLength = this.isVertical() ? 
      (this.handles.offsetHeight != 0 ? 
        this.handles.offsetHeight : this.handles.style.height.replace(/px$/,&quot;&quot;)) : 
      (this.handles.offsetWidth != 0 ? this.handles.offsetWidth : 
        this.handles.style.width.replace(/px$/,&quot;&quot;));

    this.active   = false;
    this.dragging = false;
    this.disabled = false;

    if (this.options.disabled) this.setDisabled();

    // Allowed values array
    this.allowedValues = this.options.values ? this.options.values.sortBy(Prototype.K) : false;
    if (this.allowedValues) {
      this.minimum = this.allowedValues.min();
      this.maximum = this.allowedValues.max();
    }

    this.eventMouseDown = this.startDrag.bindAsEventListener(this);
    this.eventMouseUp   = this.endDrag.bindAsEventListener(this);
    this.eventMouseMove = this.update.bindAsEventListener(this);

    // Initialize handles in reverse (make sure first handle is active)
    this.handles.each( function(h,i) {
      i = slider.handles.length-1-i;
      slider.setValue(parseFloat(
        (Object.isArray(slider.options.sliderValue) ? 
          slider.options.sliderValue : slider.options.sliderValue) || 
         slider.range.start), i);
      h.makePositioned().observe(&quot;mousedown&quot;, slider.eventMouseDown);
    });
    
    this.track.observe(&quot;mousedown&quot;, this.eventMouseDown);
    document.observe(&quot;mouseup&quot;, this.eventMouseUp);
    document.observe(&quot;mousemove&quot;, this.eventMouseMove);
    
    this.initialized = true;
  },
  dispose: function() {
    var slider = this;    
    Event.stopObserving(this.track, &quot;mousedown&quot;, this.eventMouseDown);
    Event.stopObserving(document, &quot;mouseup&quot;, this.eventMouseUp);
    Event.stopObserving(document, &quot;mousemove&quot;, this.eventMouseMove);
    this.handles.each( function(h) {
      Event.stopObserving(h, &quot;mousedown&quot;, slider.eventMouseDown);
    });
  },
  setDisabled: function(){
    this.disabled = true;
  },
  setEnabled: function(){
    this.disabled = false;
  },  
  getNearestValue: function(value){
    if (this.allowedValues){
      if (value &gt;= this.allowedValues.max()) return(this.allowedValues.max());
      if (value &lt;= this.allowedValues.min()) return(this.allowedValues.min());
      
      var offset = Math.abs(this.allowedValues - value);
      var newValue = this.allowedValues;
      this.allowedValues.each( function(v) {
        var currentOffset = Math.abs(v - value);
        if (currentOffset &lt;= offset){
          newValue = v;
          offset = currentOffset;
        } 
      });
      return newValue;
    }
    if (value &gt; this.range.end) return this.range.end;
    if (value &lt; this.range.start) return this.range.start;
    return value;
  },
  setValue: function(sliderValue, handleIdx){
    if (!this.active) {
      this.activeHandleIdx = handleIdx || 0;
      this.activeHandle    = this.handles[this.activeHandleIdx];
      this.updateStyles();
    }
    handleIdx = handleIdx || this.activeHandleIdx || 0;
    if (this.initialized &amp;&amp; this.restricted) {
      if ((handleIdx&gt;0) &amp;&amp; (sliderValue&lt;this.values[handleIdx-1]))
        sliderValue = this.values[handleIdx-1];
      if ((handleIdx &lt; (this.handles.length-1)) &amp;&amp; (sliderValue&gt;this.values[handleIdx+1]))
        sliderValue = this.values[handleIdx+1];
    }
    sliderValue = this.getNearestValue(sliderValue);
    this.values = sliderValue;
    this.value = this.values; // assure backwards compat
    
    this.handles.style[this.isVertical() ? 'top' : 'left'] = 
      this.translateToPx(sliderValue);
    
    this.drawSpans();
    if (!this.dragging || !this.event) this.updateFinished();
  },
  setValueBy: function(delta, handleIdx) {
    this.setValue(this.values[handleIdx || this.activeHandleIdx || 0] + delta, 
      handleIdx || this.activeHandleIdx || 0);
  },
  translateToPx: function(value) {
    return Math.round(
      ((this.trackLength-this.handleLength)/(this.range.end-this.range.start)) * 
      (value - this.range.start)) + &quot;px&quot;;
  },
  translateToValue: function(offset) {
    return ((offset/(this.trackLength-this.handleLength) * 
      (this.range.end-this.range.start)) + this.range.start);
  },
  getRange: function(range) {
    var v = this.values.sortBy(Prototype.K); 
    range = range || 0;
    return $R(v,v[range+1]);
  },
  minimumOffset: function(){
    return(this.isVertical() ? this.alignY : this.alignX);
  },
  maximumOffset: function(){
    return(this.isVertical() ? 
      (this.track.offsetHeight != 0 ? this.track.offsetHeight :
        this.track.style.height.replace(/px$/,&quot;&quot;)) - this.alignY : 
      (this.track.offsetWidth != 0 ? this.track.offsetWidth : 
        this.track.style.width.replace(/px$/,&quot;&quot;)) - this.alignX);
  },  
  isVertical:  function(){
    return (this.axis == 'vertical');
  },
  drawSpans: function() {
    var slider = this;
    if (this.spans)
      $R(0, this.spans.length-1).each(function(r) { slider.setSpan(slider.spans, slider.getRange(r)) });
    if (this.options.startSpan)
      this.setSpan(this.options.startSpan,
        $R(0, this.values.length&gt;1 ? this.getRange(0).min() : this.value ));
    if (this.options.endSpan)
      this.setSpan(this.options.endSpan, 
        $R(this.values.length&gt;1 ? this.getRange(this.spans.length-1).max() : this.value, this.maximum));
  },
  setSpan: function(span, range) {
    if (this.isVertical()) {
      span.style.top = this.translateToPx(range.start);
      span.style.height = this.translateToPx(range.end - range.start + this.range.start);
    } else {
      span.style.left = this.translateToPx(range.start);
      span.style.width = this.translateToPx(range.end - range.start + this.range.start);
    }
  },
  updateStyles: function() {
    this.handles.each( function(h){ Element.removeClassName(h, 'selected') });
    Element.addClassName(this.activeHandle, 'selected');
  },
  startDrag: function(event) {
    if (Event.isLeftClick(event)) {
      if (!this.disabled){
        this.active = true;
        
        var handle = Event.element(event);
        var pointer  = [Event.pointerX(event), Event.pointerY(event)];
        var track = handle;
        if (track==this.track) {
          var offsets  = Position.cumulativeOffset(this.track); 
          this.event = event;
          this.setValue(this.translateToValue( 
           (this.isVertical() ? pointer-offsets : pointer-offsets)-(this.handleLength/2)
          ));
          var offsets  = Position.cumulativeOffset(this.activeHandle);
          this.offsetX = (pointer - offsets);
          this.offsetY = (pointer - offsets);
        } else {
          // find the handle (prevents issues with Safari)
          while((this.handles.indexOf(handle) == -1) &amp;&amp; handle.parentNode) 
            handle = handle.parentNode;
            
          if (this.handles.indexOf(handle)!=-1) {
            this.activeHandle    = handle;
            this.activeHandleIdx = this.handles.indexOf(this.activeHandle);
            this.updateStyles();
            
            var offsets  = Position.cumulativeOffset(this.activeHandle);
            this.offsetX = (pointer - offsets);
            this.offsetY = (pointer - offsets);
          }
        }
      }
      Event.stop(event);
    }
  },
  update: function(event) {
   if (this.active) {
      if (!this.dragging) this.dragging = true;
      this.draw(event);
      if (Prototype.Browser.WebKit) window.scrollBy(0,0);
      Event.stop(event);
   }
  },
  draw: function(event) {
    var pointer = [Event.pointerX(event), Event.pointerY(event)];
    var offsets = Position.cumulativeOffset(this.track);
    pointer -= this.offsetX + offsets;
    pointer -= this.offsetY + offsets;
    this.event = event;
    this.setValue(this.translateToValue( this.isVertical() ? pointer : pointer ));
    if (this.initialized &amp;&amp; this.options.onSlide)
      this.options.onSlide(this.values.length&gt;1 ? this.values : this.value, this);
  },
  endDrag: function(event) {
    if (this.active &amp;&amp; this.dragging) {
      this.finishDrag(event, true);
      Event.stop(event);
    }
    this.active = false;
    this.dragging = false;
  },  
  finishDrag: function(event, success) {
    this.active = false;
    this.dragging = false;
    this.updateFinished();
  },
  updateFinished: function() {
    if (this.initialized &amp;&amp; this.options.onChange) 
      this.options.onChange(this.values.length&gt;1 ? this.values : this.value, this);
    this.event = null;
  }
});

if(typeof dj==&quot;undefined&quot;){dj={};}
dj.lang=function(){var EventCache={listEvents:[],add:function(node,sEventName,fHandler){this.listEvents.push(arguments);},flush:function(){var i,item;for(i=this.listEvents.length-1;i&gt;=0;i=i-1){item=this.listEvents;if(item.removeEventListener){item.removeEventListener(item,item,item);}
if(item.substring(0,2)!=&quot;on&quot;){item=&quot;on&quot;+item;}
if(item.detachEvent){item.detachEvent(item,item);}
item[item]=null;}}};return{addEvent:function(obj,type,fn){if(obj.addEventListener){obj.addEventListener(type,fn,false);EventCache.add(obj,type,fn);}else if(obj.attachEvent){obj[&quot;e&quot;+type+fn]=fn;obj[type+fn]=function(){obj[&quot;e&quot;+type+fn](window.event);};obj.attachEvent(&quot;on&quot;+type,obj[type+fn]);EventCache.add(obj,type,fn);}else{obj[&quot;on&quot;+type]=obj[&quot;e&quot;+type+fn];}},removeEvent:function(obj,type,fn){if(obj.detachEvent){obj.detachEvent(&quot;on&quot;+type,obj[type+fn]);obj[type+fn]=null;}else{obj.removeEventListener(type,fn,false);}},stopEvent:function(ev){var e=(!ev)?window.event:ev;e.cancelBubble=true;e.returnValue=false;if(typeof e.stopPropagation===&quot;function&quot;){e.stopPropagation();}
if(typeof e.preventDefault===&quot;function&quot;){e.preventDefault();}
return false;},flushEventCache:function(){EventCache.flush();}};}();dj.lang.addEvent(window,'unload',dj.lang.flushEventCache);if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.lang==&quot;undefined&quot;){dj.lang={};}
dj.lang.hasClassName=function(el,cname){if(typeof cname!==&quot;string&quot;){throw new TypeError(&quot;dj.lang.hasClassName: 'cname' must be a string&quot;);}
if(cname===&quot;&quot;){return;}
el=this.byId(el);if(el===null){throw new TypeError(&quot;dj.lang.hasClassName: 'el' does not exist.&quot;);}
cname=cname.replace(/^\s+|\s+$/g,&quot;&quot;);return(el.className.indexOf(cname)&gt;-1);};dj.lang.addClassName=function(el,cname){if(typeof cname!==&quot;string&quot;){throw new TypeError(&quot;dj.lang.addClassName: 'cname' must be a string&quot;);}
if(cname===&quot;&quot;){return;}
el=this.byId(el);if(el===null){throw new TypeError(&quot;dj.lang.addClassName: 'el' does not exist.&quot;);}
cname=cname.replace(/^\s+|\s+$/g,&quot;&quot;);if(el.className.indexOf(cname)==-1){el.className+=(&quot; &quot;+cname);}};dj.lang.removeClassName=function(el,cname){if(typeof cname!==&quot;string&quot;){throw new TypeError(&quot;dj.lang.removeClassName: 'cname' must be a string&quot;);}
if(cname===&quot;&quot;){return;}
el=this.byId(el);if(el===null){throw new TypeError(&quot;dj.lang.removeClassName: 'el' does not exist.&quot;);}
cname=cname.replace(/^\s+|\s+$/g,&quot;&quot;);if(el.className.indexOf(cname)&gt;-1){var re=new RegExp(cname,'g');el.className=el.className.replace(re,'');}};(function(){var dojo={};dojo.doc=window.document||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName(&quot;body&quot;);};var d=dojo;var n=navigator;var dua=n.userAgent;var dav=n.appVersion;var tv=parseFloat(dav);dojo.isOpera=(dua.indexOf(&quot;Opera&quot;)&gt;=0)?tv:0;var idx=Math.max(dav.indexOf(&quot;WebKit&quot;),dav.indexOf(&quot;Safari&quot;),0);if(idx){dojo.isSafari=parseFloat(dav.split(&quot;Version/&quot;))||((parseFloat(dav.substr(idx+7))&gt;=419.3)?3:2)||2;}
dojo.isKhtml=(dav.indexOf(&quot;Konqueror&quot;)&gt;=0||dojo.isSafari)?tv:0;dojo.isMoz=(dua.indexOf(&quot;Gecko&quot;)&gt;=0&amp;&amp;!dojo.isKhtml)?tv:0;if(dojo.isMoz){dojo.isFF=parseFloat(dua.split(&quot;Firefox/&quot;))||0;}
if(document.all&amp;&amp;!dojo.isOpera){dojo.isIE=parseFloat(dav.split(&quot;MSIE &quot;))||0;}
dojo.body=function(){return(dojo.doc.body||dojo.doc.getElementsByTagName(&quot;body&quot;));};if(!d.isIE){dojo._toPixelValue=function(element,value){return parseFloat(value)||0;};}else{dojo._toPixelValue=function(element,avalue){if(!avalue){return 0;}
if(avalue==&quot;medium&quot;){return 4;}
if(avalue.slice&amp;&amp;(avalue.slice(-2)=='px')){return parseFloat(avalue);}
with(element){var sLeft=style.left;var rsLeft=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=avalue;avalue=style.pixelLeft;}catch(e){avalue=0;}
style.left=sLeft;runtimeStyle.left=rsLeft;}
return avalue;}}
var px=dojo._toPixelValue;dojo.coords=function(node,includeScroll){var n=dj.lang.byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d._abs(n,includeScroll);mb.x=abs.x;mb.y=abs.y;return mb;};var gcs;if(d.isSafari){gcs=function(node){var s;if(node instanceof HTMLElement){var dv=node.ownerDocument.defaultView;s=dv.getComputedStyle(node,null);if(!s&amp;&amp;node.style){node.style.display=&quot;&quot;;s=dv.getComputedStyle(node,null);}}
return s||{};};}else if(d.isIE){gcs=function(node){return node.nodeType==1?node.currentStyle:{};};}else{gcs=function(node){return node instanceof HTMLElement?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}
dojo.getComputedStyle=gcs;dojo._getMarginBox=function(node,computedStyle){var s=computedStyle||gcs(node),me=d._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode;if(d.isMoz){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&amp;&amp;!isNaN(st)){l=sl,t=st;}else{if(p&amp;&amp;p.style){var pcs=gcs(p);if(pcs.overflow!=&quot;visible&quot;){var be=d._getBorderExtents(p,pcs);l+=be.l,t+=be.t;}}}}else if(d.isOpera){if(p){var be=d._getBorderExtents(p);l-=be.l;t-=be.t;}}
return{l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getMarginExtents=function(n,computedStyle){var
s=computedStyle||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(d.isSafari&amp;&amp;(s.position!=&quot;absolute&quot;)){r=l;}
return{l:l,t:t,w:l+r,h:t+b};};var _sumAncestorProperties=function(node,prop){if(!(node=(node||0).parentNode)){return 0};var val,retVal=0,_b=d.body();while(node&amp;&amp;node.style){if(gcs(node).position==&quot;fixed&quot;){return 0;}
val=node;if(val){retVal+=val-0;if(node==_b){break;}}
node=node.parentNode;}
return retVal;};dojo._abs=function(node,includeScroll){var ownerDocument=node.ownerDocument;var ret={x:0,y:0};var db=d.body();if(d.isIE||(d.isFF&gt;=3)){var client=node.getBoundingClientRect();var cs;if(d.isFF){var dv=node.ownerDocument.defaultView;cs=dv.getComputedStyle(db.parentNode,null);}
var offset=(d.isIE)?d._getIeDocumentElementOffset():{x:px(db.parentNode,cs.marginLeft),y:px(db.parentNode,cs.marginTop)};ret.x=client.left-offset.x;ret.y=client.top-offset.y;}else{if(node[&quot;offsetParent&quot;]){var endNode;if(d.isSafari&amp;&amp;(gcs(node).position==&quot;absolute&quot;)&amp;&amp;(node.parentNode==db)){endNode=db;}else{endNode=db.parentNode;}
var cs=gcs(node);var n=node;if(d.isOpera&amp;&amp;cs.position!=&quot;absolute&quot;){n=n.offsetParent;}
ret.x-=_sumAncestorProperties(n,&quot;scrollLeft&quot;);ret.y-=_sumAncestorProperties(n,&quot;scrollTop&quot;);var curnode=node;do{var n=curnode.offsetLeft;if(!d.isOpera||n&gt;0){ret.x+=isNaN(n)?0:n;}
var t=curnode.offsetTop;ret.y+=isNaN(t)?0:t;var cs=gcs(curnode);if(curnode!=node){if(d.isSafari){ret.x+=px(curnode,cs.borderLeftWidth);ret.y+=px(curnode,cs.borderTopWidth);}else if(d.isFF){ret.x+=2*px(curnode,cs.borderLeftWidth);ret.y+=2*px(curnode,cs.borderTopWidth);}}
if(d.isFF&amp;&amp;cs.position==&quot;static&quot;){var parent=curnode.parentNode;while(parent!=curnode.offsetParent){var pcs=gcs(parent);if(pcs.position==&quot;static&quot;){ret.x+=px(curnode,pcs.borderLeftWidth);ret.y+=px(curnode,pcs.borderTopWidth);}
parent=parent.parentNode;}}
curnode=curnode.offsetParent;}while((curnode!=endNode)&amp;&amp;curnode);}else if(node.x&amp;&amp;node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}
if(includeScroll){var scroll=d._docScroll();ret.y+=scroll.y;ret.x+=scroll.x;}
return ret;};dojo._getIeDocumentElementOffset=function(){var de=d.doc.documentElement;return(d.isIE&gt;=7)?{x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top}:{x:d._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};};dojo._isBodyLtr=function(){return!(&quot;_bodyLtr&quot;in d)?d._bodyLtr=gcs(d.body()).direction==&quot;ltr&quot;:d._bodyLtr;};dj.lang.coords=dojo.coords;}());dj.lang.byId=function(id){return(typeof id==&quot;string&quot;)?document.getElementById(id):id;};(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]+\]|[^[\]]+)+\]|\\.|[^ &gt;+~,(\[]+)+|[&gt;+~])(\s*,\s*)?/g;var cache=null;var done=0;if(document.addEventListener&amp;&amp;!document.querySelectorAll){cache={};function invalidate(){cache={};}
document.addEventListener(&quot;DOMAttrModified&quot;,invalidate,false);document.addEventListener(&quot;DOMNodeInserted&quot;,invalidate,false);document.addEventListener(&quot;DOMNodeRemoved&quot;,invalidate,false);}
var Sizzle=function(selector,context,results,seed){var doCache=!results;results=results||[];context=context||document;if(context.nodeType!==1&amp;&amp;context.nodeType!==9){return[];}
if(!selector||typeof selector!==&quot;string&quot;){return results;}
if(cache&amp;&amp;context===document&amp;&amp;cache){results.push.apply(results,cache);return results;}
var parts=[],m,set,checkSet,check,mode,extra;chunker.lastIndex=0;while((m=chunker.exec(selector))!==null){parts.push(m);if(m){extra=RegExp.rightContext;break;}}
var ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),context);set=Sizzle.filter(ret.expr,ret.set);if(parts.length&gt;0){checkSet=makeArray(set);}
while(parts.length){var cur=parts.pop(),pop=cur;if(!Expr.relative){cur=&quot;&quot;;}else{pop=parts.pop();}
if(pop==null){pop=context;}
var later=&quot;&quot;,match;if(typeof pop===&quot;string&quot;){while((match=Expr.match.POS.exec(pop))){later+=match;pop=pop.replace(Expr.match.POS,&quot;&quot;);}}
Expr.relative(checkSet,pop);if(later){Sizzle.filter(later,checkSet,true);}}
if(!checkSet){checkSet=set;}
if(!checkSet){throw&quot;Syntax error, unrecognized expression: &quot;+(cur||selector);}
if(checkSet instanceof Array){if(context.nodeType===1){for(var i=0;checkSet!=null;i++){if(checkSet&amp;&amp;checkSet.nodeType===1&amp;&amp;contains(context,checkSet)){results.push(set);}}}else{for(var i=0;checkSet!=null;i++){if(checkSet&amp;&amp;checkSet.nodeType===1){results.push(set);}}}}else{makeArray(checkSet,results);}
if(extra){arguments.callee(extra,context,results);}
if(cache&amp;&amp;doCache){cache=results.slice(0);}
return results;};Sizzle.matches=function(expr,set){return Sizzle(expr,null,null,set);};Sizzle.find=function(expr,context){var set,match;if(!expr){return[];}
var later=&quot;&quot;,match;while((match=Expr.match.PSEUDO.exec(expr))){var left=RegExp.leftContext;if(left.substr(left.length-1)!==&quot;\\&quot;){later+=match;expr=expr.replace(Expr.match.PSEUDO,&quot;&quot;);}else{break;}}
for(var i=0,l=Expr.order.length;i&lt;l;i++){var type=Expr.order;if((match=Expr.match.exec(expr))){var left=RegExp.leftContext;if(left.substr(left.length-1)!==&quot;\\&quot;){match=(match||&quot;&quot;).replace(/\\/g,&quot;&quot;);set=Expr.find(match,context);if(set!=null){expr=expr.replace(Expr.match,&quot;&quot;);break;}}}}
if(!set){set=context.getElementsByTagName(&quot;*&quot;);}
expr+=later;return{set:set,expr:expr};};Sizzle.filter=function(expr,set,inplace){var old=expr,result=[],curLoop=set,match;while(expr&amp;&amp;set.length){for(var type in Expr.filter){if((match=Expr.match.exec(expr))!=null){var anyFound=false,filter=Expr.filter,goodArray=null;match=(match||&quot;&quot;).replace(/\\/g,&quot;&quot;);if(curLoop==result){result=[];}
if(Expr.preFilter){match=Expr.preFilter(match,curLoop);if(match===true){goodArray=[];var last=null,elem;for(var i=0;(elem=curLoop)!==undefined;i++){if(elem&amp;&amp;last!==elem){goodArray.push(elem);last=elem;}}}}
var goodPos=0,found,item;for(var i=0;(item=curLoop)!==undefined;i++){if(item){if(goodArray&amp;&amp;item!=goodArray){goodPos++;}
found=filter(item,match,goodPos,goodArray);if(inplace&amp;&amp;found!=null){curLoop=found?curLoop:false;}else if(found){result.push(item);anyFound=true;}}}
if(found!==undefined){if(!inplace){curLoop=result;}
expr=expr.replace(Expr.match,&quot;&quot;);if(!anyFound){return[];}
break;}}}
expr=expr.replace(/\s*,\s*/,&quot;&quot;);if(expr==old){throw&quot;Syntax error, unrecognized expression: &quot;+expr;}
old=expr;}
return curLoop;};var Expr=Sizzle.selectors={order:[&quot;ID&quot;,&quot;NAME&quot;,&quot;TAG&quot;],match:{ID:/#((?:[\w\u0128-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u0128-\uFFFF_-]|\\.)+)/,NAME:/\[name=((?:[\w\u0128-\uFFFF_-]|\\.)+)\]/,ATTR:/\[((?:[\w\u0128-\uFFFF_-]|\\.)+)\s*(?:(\S{0,1}=)\s*(['&quot;]*)(.*?)\3|)\]/,TAG:/^((?:[\w\u0128-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child\(?(even|odd|[\dn+-]*)\)?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)\(?(\d*)\)?(?:[^-]|$)/,PSEUDO:/:((?:[\w\u0128-\uFFFF_-]|\\.)+)(?:\((['&quot;]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{&quot;class&quot;:&quot;className&quot;},relative:{&quot;+&quot;:function(checkSet,part){for(var i=0,l=checkSet.length;i&lt;l;i++){var elem=checkSet;if(elem){var cur=elem.previousSibling;while(cur&amp;&amp;cur.nodeType!==1){cur=cur.previousSibling;}
checkSet=cur||false;}}
Sizzle.filter(part,checkSet,true);},&quot;&gt;&quot;:function(checkSet,part){if(typeof part===&quot;string&quot;&amp;&amp;!/\W/.test(part)){part=part.toUpperCase();for(var i=0,l=checkSet.length;i&lt;l;i++){var elem=checkSet;if(elem){var parent=elem.parentNode;checkSet=parent.nodeName===part?parent:false;}}}else{for(var i=0,l=checkSet.length;i&lt;l;i++){var elem=checkSet;if(elem){checkSet=elem.parentNode;if(typeof part!==&quot;string&quot;){checkSet=checkSet==part;}}}
if(typeof part===&quot;string&quot;){Sizzle.filter(part,checkSet,true);}}},&quot;&quot;:function(checkSet,part){var doneName=&quot;done&quot;+(done++),checkFn=dirCheck;if(!part.match(/\W/)){var nodeCheck=part=part.toUpperCase();checkFn=dirNodeCheck;}
checkFn(&quot;parentNode&quot;,part,doneName,checkSet,nodeCheck);},&quot;~&quot;:function(checkSet,part){var doneName=&quot;done&quot;+(done++),checkFn=dirCheck;if(!part.match(/\W/)){var nodeCheck=part=part.toUpperCase();checkFn=dirNodeCheck;}
checkFn(&quot;previousSibling&quot;,part,doneName,checkSet,nodeCheck);}},find:{ID:function(match,context){if(context.getElementById){var m=context.getElementById(match);return m?:[];}},NAME:function(match,context){return context.getElementsByName(match);},TAG:function(match,context){return context.getElementsByTagName(match);}},preFilter:{CLASS:function(match){return new RegExp(&quot;(?:^|\\s)&quot;+match+&quot;(?:\\s|$)&quot;);},ID:function(match){return match;},TAG:function(match){return match.toUpperCase();},CHILD:function(match){if(match==&quot;nth&quot;){var test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(match==&quot;even&quot;&amp;&amp;&quot;2n&quot;||match==&quot;odd&quot;&amp;&amp;&quot;2n+1&quot;||!/\D/.test(match)&amp;&amp;&quot;0n+&quot;+match||match);match=(test+(test||1))-0;match=test-0;}
match=typeof get_length==&quot;undefined&quot;?&quot;done&quot;+(done++):&quot;nodeCache&quot;;return match;},ATTR:function(match){var name=match;if(Expr.attrMap){match=Expr.attrMap;}
return match;},PSEUDO:function(match){if(match===&quot;not&quot;){match=match.split(/\s*,\s*/);}
return match;},POS:function(match){match.unshift(true);return match;}},filters:{enabled:function(elem){return elem.disabled===false&amp;&amp;elem.type!==&quot;hidden&quot;;},disabled:function(elem){return elem.disabled===true;},checked:function(elem){return elem.checked===true;},selected:function(elem){elem.parentNode.selectedIndex;return elem.selected===true;},parent:function(elem){return!!elem.firstChild;},empty:function(elem){return!elem.firstChild;},has:function(elem,i,match){return!!Sizzle(match,elem).length;},header:function(elem){return/h\d/i.test(elem.nodeName);},text:function(elem){return&quot;text&quot;===elem.type;},radio:function(elem){return&quot;radio&quot;===elem.type;},checkbox:function(elem){return&quot;checkbox&quot;===elem.type;},file:function(elem){return&quot;file&quot;===elem.type;},password:function(elem){return&quot;password&quot;===elem.type;},submit:function(elem){return&quot;submit&quot;===elem.type;},image:function(elem){return&quot;image&quot;===elem.type;},reset:function(elem){return&quot;reset&quot;===elem.type;},button:function(elem){ret
urn&quot;button&quot;===elem.type||elem.nodeName.toUpperCase()===&quot;BUTTON&quot;;},input:function(elem){return/input|select|textarea|button/i.test(elem.nodeName);}},setFilters:{first:function(elem,i){return i===0;},last:function(elem,i,match,array){return i===array.length-1;},even:function(elem,i){return i%2===0;},odd:function(elem,i){return i%2===1;},lt:function(elem,i,match){return i&lt;match-0;},gt:function(elem,i,match){return i&gt;match-0;},nth:function(elem,i,match){return match-0==i;},eq:function(elem,i,match){return match-0==i;}},filter:{CHILD:function(elem,match){var type=match,parent=elem.parentNode;var doneName=match;if(parent&amp;&amp;!parent){var count=1;for(var node=parent.firstChild;node;node=node.nextSibling){if(node.nodeType==1){node.nodeIndex=count++;}}
parent=count-1;}
if(type==&quot;first&quot;){return elem.nodeIndex==1;}else if(type==&quot;last&quot;){return elem.nodeIndex==parent;}else if(type==&quot;only&quot;){return parent==1;}else if(type==&quot;nth&quot;){var add=false,first=match,last=match;if(first==1&amp;&amp;last==0){return true;}
if(first==0){if(elem.nodeIndex==last){add=true;}}else if((elem.nodeIndex-last)%first==0&amp;&amp;(elem.nodeIndex-last)/first&gt;=0){add=true;}
return add;}},PSEUDO:function(elem,match,i,array){var name=match,filter=Expr.filters;if(filter){return filter(elem,i,match,array)}else if(name===&quot;contains&quot;){return(elem.textContent||elem.innerText||&quot;&quot;).indexOf(match)&gt;=0;}else if(name===&quot;not&quot;){var not=match;for(var i=0,l=not.length;i&lt;l;i++){if(Sizzle.filter(not,).length&gt;0){return false;}}
return true;}},ID:function(elem,match){return elem.nodeType===1&amp;&amp;elem.getAttribute(&quot;id&quot;)===match;},TAG:function(elem,match){return(match===&quot;*&quot;&amp;&amp;elem.nodeType===1)||elem.nodeName===match;},CLASS:function(elem,match){return match.test(elem.className);},ATTR:function(elem,match){var result=elem[match],value=result+&quot;&quot;,type=match,check=match;return result==null?false:type===&quot;=&quot;?value===check:type===&quot;*=&quot;||type===&quot;~=&quot;?value.indexOf(check)&gt;=0:!match?result:type===&quot;!=&quot;?value!=check:type===&quot;^=&quot;?value.indexOf(check)===0:type===&quot;$=&quot;?value.substr(value.length-check.length)===check:type===&quot;|=&quot;?value===check||value.substr(0,check.length+1)===check+&quot;-&quot;:false;},POS:function(elem,match,i,array){var name=match,filter=Expr.setFilters;if(filter){return filter(elem,i,match,array);}}}};function makeArray(array,results){array=Array.prototype.slice.call(array);if(results){results.push.apply(results,array);return results;}
return array;}
if(document.all&amp;&amp;!window.opera){function makeArray(array,results){if(array instanceof Array){return Array.prototype.slice.call(array);}
var ret=results||[];for(var i=0;array;i++){ret.push(array);}
return ret;}
Expr.find.ID=function(match,context){if(context.getElementById){var m=context.getElementById(match);return m?m.id===match||m.getAttributeNode&amp;&amp;m.getAttributeNode(&quot;id&quot;).nodeValue===match?:undefined:[];}};Expr.filter.ID=function(elem,match){var node=elem.getAttributeNode&amp;&amp;elem.getAttributeNode(&quot;id&quot;);return elem.nodeType===1&amp;&amp;node&amp;&amp;node.nodeValue===match;};}
if(document.querySelectorAll)(function(){var oldSizzle=Sizzle;window.Sizzle=Sizzle=function(query,context,extra){context=context||document;if(context.nodeType===9){try{return makeArray(context.querySelectorAll(query));}catch(e){}}
return oldSizzle(query,context,extra);};Sizzle.find=oldSizzle.find;Sizzle.filter=oldSizzle.filter;Sizzle.selectors=oldSizzle.selectors;})();if(document.documentElement.getElementsByClassName){Expr.order.splice(1,0,&quot;CLASS&quot;);Expr.find.CLASS=function(match,context){return context.getElementsByClassName(match);};}
function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck){for(var i=0,l=checkSet.length;i&lt;l;i++){var elem=checkSet;if(elem){elem=elem
var match=false;while(elem&amp;&amp;elem.nodeType){var done=elem;if(done){match=checkSet;break;}
if(elem.nodeType===1)
elem=i;if(elem.nodeName===cur){match=elem;break;}
elem=elem;}
checkSet=match;}}}
function dirCheck(dir,cur,doneName,checkSet,nodeCheck){for(var i=0,l=checkSet.length;i&lt;l;i++){var elem=checkSet;if(elem){elem=elem
var match=false;while(elem&amp;&amp;elem.nodeType){if(elem){match=checkSet[elem];break;}
if(elem.nodeType===1){elem=i;if(Sizzle.filter(cur,).length&gt;0){match=elem;break;}}
elem=elem;}
checkSet=match;}}}
if(document.compareDocumentPosition){function contains(a,b){return a.compareDocumentPosition(b)&amp;16;}}else{function contains(a,b){return a!==b&amp;&amp;a.contains(b);}}
dj.lang.query=Sizzle;})();if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.lang==&quot;undefined&quot;){dj.lang={};}
dj.lang.extend=function(subClass,superClass){var F=function(){};F.prototype=superClass.prototype;subClass.prototype=new F();subClass.prototype.constructor=subClass;subClass.superclass=superClass.prototype;if(superClass.prototype.constructor==Object.prototype.constructor){superClass.prototype.constructor=superClass;}};dj.lang.mixin=function(rc,gc){if(typeof rc===&quot;undefined&quot;){throw new TypeError(&quot;dj.lang.mixin: receiving object is undefined&quot;);}
if(typeof gc===&quot;undefined&quot;){return rc;}
for(var method in gc){var rcm=rc,gcm=gc;if((rcm!==null)&amp;&amp;(typeof rcm==&quot;object&quot;)&amp;&amp;(typeof gcm==&quot;object&quot;)){this.mixin(rcm,gcm);}else if(typeof gcm!==&quot;undefined&quot;&amp;&amp;(rcm!==gcm)){rc=gcm;}}};dj.lang.clone=function(obj){if(obj===null||typeof(obj)!='object'){return obj;}
var oClone=new obj.constructor();for(var key in obj){if(obj.hasOwnProperty(key)){oClone=this.clone(obj);}}
return oClone;};dj.lang.cloneMixin=function(rc,gc){var cl=this.clone(rc);this.mixin(cl,gc);return cl;};dj.lang.objectToString=function(obj,isRecursive){if(typeof obj!==&quot;object&quot;){return obj.toString();}
var out=[];var val=null;if(typeof obj.length==='number'&amp;&amp;!obj.propertyIsEnumerable('length')&amp;&amp;typeof obj.splice==='function'){return'['+obj.toString()+']';}
if(!obj.hasOwnProperty&amp;&amp;obj.childNodes){return(obj.id!==&quot;&quot;)?(&quot;[Element: '&quot;+obj.id+&quot;']&quot;):&quot;&quot;;}else if(!obj.hasOwnProperty){return&quot;&quot;;}
for(var o in obj){if(obj.hasOwnProperty(o)){val=null;if(typeof obj==&quot;object&quot;){val=((isRecursive)?this.objectToString(obj):&quot;&quot;);}
else if(typeof obj==&quot;function&quot;){val=&quot;&quot;;}
else if(typeof obj==&quot;string&quot;){val='&quot;'+obj+'&quot;';}
else{val=obj;}
out[out.length]=(o+&quot;: &quot;+val);}}
return'{'+out.join(&quot;, &quot;)+'}';};
if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.context==&quot;undefined&quot;){dj.context={};}
if(typeof dj.context.ads==&quot;undefined&quot;){dj.context.ads={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.module==&quot;undefined&quot;){dj.module={};}
if(!window.console){window.console={};var names=[&quot;log&quot;,&quot;debug&quot;,&quot;info&quot;,&quot;warn&quot;,&quot;error&quot;,&quot;assert&quot;,&quot;dir&quot;,&quot;dirxml&quot;,&quot;group&quot;,&quot;groupEnd&quot;,&quot;time&quot;,&quot;timeEnd&quot;,&quot;count&quot;,&quot;trace&quot;,&quot;profile&quot;,&quot;profileEnd&quot;];for(var i=0,len=names.length;i&lt;len;i++){window.console[names]=function(){};}}
if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
(dj.util.Observer=function(parent){this.parent=parent||null;this._subs=[];}).prototype={subscribe:function(callback,context){if(typeof callback!==&quot;function&quot;){throw new TypeError(&quot;Callback must be a function.&quot;);}
context=(context||this.parent);this._subs.push({name:null,cb:callback,ctx:context});},subscribeByName:function(name,callback,context){if(typeof name!==&quot;string&quot;){throw new TypeError(&quot;Name must be a string.&quot;);}
if(typeof callback!==&quot;function&quot;){throw new TypeError(&quot;Callback must be a function.&quot;);}
context=(context||this.parent);this._subs.push({name:name,cb:callback,ctx:context});},unsubscribe:function(cb){var newSubs=[];for(var i=0,len=this._subs.length,sub=null;i&lt;len;i++){sub=this._subs;if(sub.cb!==cb){newSubs.push(sub);}}
this._subs=newSubs;},fire:function(){for(var i=0,sub,len=this._subs.length;i&lt;len;i++){sub=this._subs;sub.cb.apply(sub.ctx,arguments);}},fireByName:function(name){if(typeof name!==&quot;string&quot;){throw new TypeError(&quot;Name must be a string.&quot;);}
var args=[];for(var i=1,arg,len=arguments.length;i&lt;len;i++){args.push(arguments);}
for(var j=0,sub,slen=this._subs.length;j&lt;slen;j++){sub=this._subs;if((sub.name===null)||(sub.name!==name)){continue;}
sub.cb.apply(sub.ctx,args);}}};if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.Config=Class.create({initialize:function(owner){this.setOwner(owner);this.cfg=new Hash();this.obs=new Hash();this.hasFired=new Hash();},getOwner:function(){return this.owner;},setOwner:function(owner){this.owner=owner;},addProperty:function(key,config){key=key.toLowerCase();if(typeof config==&quot;undefined&quot;){throw Error(&quot;Config {key: '_', value: '_'} must be set for key '&quot;+key+&quot;'.&quot;);}else if(typeof config.value==&quot;undefined&quot;){throw Error(&quot;Config value must be defined for key '&quot;+key+&quot;'.&quot;);}else if(typeof config.handler==&quot;undefined&quot;){this.setProperty(key,config.value,true);return;}
var ob=new dj.util.Observer();var own=this.getOwner();ob.subscribe(config.handler.bindAsEventListener(own));this.obs.set(key,ob);this.setProperty(key,config.value,true);},getProperty:function(key){key=key.toLowerCase();return this.cfg.get(key);},setProperty:function(key,value,silent){key=key.toLowerCase();this.cfg.set(key,value);var ob=null;if(!silent){ob=this.obs.get(key);ob.fire(value);}},applyConfig:function(config,init){for(key in config){this.setProperty(key,config,true);}},fireQueue:function(ignoreFired){ignoreFired=(typeof ignoreFired==&quot;undefined&quot;)?false:ignoreFired;var ob=null;var that=this;this.cfg.each(function(item){if(!ignoreFired&amp;&amp;that.hasFired.get(item.key)){return;}
ob=that.obs.get(item.key);if(typeof ob==&quot;undefined&quot;){return;}
ob.fire(item.value);that.hasFired.set(item.key,true);});}});if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.History=function(){var hHistory=null;var initted=false;var obs=null;function _init(){obs=new dj.util.Observer();hHistory=new Hash(dojo.back.getHash().toQueryParams());dojo.back.init();dojo.back.setInitialState({changeUrl:hHistory.toQueryString(),back:function(){obs.fireByName(&quot;_init&quot;,null);},forward:function(){obs.fireByName(&quot;_init&quot;,null);}});}
return{init:function(){if(initted){return;}initted=true;_init();},get:function(name){return hHistory.get(name);},set:function(name,value,suppressHistory){hHistory.set(name,value);var newUrl=hHistory.toQueryString();suppressHistory=(typeof suppressHistory===&quot;boolean&quot;)?suppressHistory:false;if(suppressHistory===false){dojo.back.addToHistory({changeUrl:newUrl,back:function(){obs.fireByName(name,value);},forward:function(){obs.fireByName(name,value);}});}else{dojo.back.setHash(newUrl);}},subscribe:function(name,callback,context){obs.subscribeByName(name,callback,context);}};}();if(typeof dojo==&quot;undefined&quot;){dojo={};}
if(typeof dojo.back==&quot;undefined&quot;){dojo.back={};}
(function(){dojo.doc=window.document||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName(&quot;body&quot;);};dojo.config={dojoIframeHistoryUrl:&quot;/static_html_files/iframe_history.html&quot;};var back=dojo.back;function getHash(){var h=window.location.hash;if(h.charAt(0)==&quot;#&quot;){h=h.substring(1);}
return Prototype.Browser.Gecko?h:decodeURIComponent(h);}
function setHash(h){if(!h){h=&quot;&quot;;}
window.location.hash=encodeURIComponent(h);historyCounter=history.length;}
back.getHash=getHash;back.setHash=setHash;var initialHref=(typeof(window)!==&quot;undefined&quot;)?window.location.href:&quot;&quot;;var initialHash=(typeof(window)!==&quot;undefined&quot;)?getHash():&quot;&quot;;var initialState=null;var locationTimer=null;var bookmarkAnchor=null;var historyIframe=null;var forwardStack=[];var historyStack=[];var moveForward=false;var changingUrl=false;var historyCounter;function handleBackButton(){var current=historyStack.pop();if(!current){return;}
var last=historyStack[historyStack.length-1];if(!last&amp;&amp;historyStack.length==0){last=initialState;}
if(last){if(last.kwArgs[&quot;back&quot;]){last.kwArgs[&quot;back&quot;]();}else if(last.kwArgs[&quot;backButton&quot;]){last.kwArgs[&quot;backButton&quot;]();}else if(last.kwArgs[&quot;handle&quot;]){last.kwArgs.handle(&quot;back&quot;);}}
forwardStack.push(current);}
back.goBack=handleBackButton;function handleForwardButton(){var last=forwardStack.pop();if(!last){return;}
if(last.kwArgs[&quot;forward&quot;]){last.kwArgs.forward();}else if(last.kwArgs[&quot;forwardButton&quot;]){last.kwArgs.forwardButton();}else if(last.kwArgs[&quot;handle&quot;]){last.kwArgs.handle(&quot;forward&quot;);}
historyStack.push(last);}
back.goForward=handleForwardButton;function createState(url,args,hash){return{&quot;url&quot;:url,&quot;kwArgs&quot;:args,&quot;urlHash&quot;:hash};}
function getUrlQuery(url){var segments=url.split(&quot;?&quot;);if(segments.length&lt;2){return null;}
else{return segments;}}
function loadIframeHistory(){var url=dojo.config[&quot;dojoIframeHistoryUrl&quot;]+&quot;?&quot;+(new Date()).getTime();moveForward=true;if(historyIframe){Prototype.Browser.WebKit?historyIframe.location=url:window.frames[historyIframe.name].location=url;}else{}
return url;}
function checkLocation(){if(!changingUrl){var hsl=historyStack.length;var hash=getHash();if((hash===initialHash||window.location.href==initialHref)&amp;&amp;(hsl==1)){handleBackButton();return;}
if(forwardStack.length&gt;0){if(forwardStack[forwardStack.length-1].urlHash===hash){handleForwardButton();return;}}
if((hsl&gt;=2)&amp;&amp;(historyStack[hsl-2])){if(historyStack[hsl-2].urlHash===hash){handleBackButton();return;}}}};back.init=function(){if(document.getElementById(&quot;dj_history&quot;)){return;}
var src=dojo.config[&quot;dojoIframeHistoryUrl&quot;];document.write('&lt;iframe style=&quot;border:0;width:1px;height:1px;position:absolute;visibility:hidden;bottom:0;right:0;&quot; name=&quot;dj_history&quot; id=&quot;dj_history&quot; src=&quot;'+src+'&quot;&gt;&lt;/iframe&gt;');};back.setInitialState=function(args){initialState=createState(initialHref,args,initialHash);};back.addToHistory=function(args){forwardStack=[];var hash=null;var url=null;if(!historyIframe){historyIframe=window.frames[&quot;dj_history&quot;];}
if(!bookmarkAnchor){bookmarkAnchor=document.createElement(&quot;a&quot;);dojo.body().appendChild(bookmarkAnchor);bookmarkAnchor.style.display=&quot;none&quot;;}
if(args[&quot;changeUrl&quot;]){hash=&quot;&quot;+((args[&quot;changeUrl&quot;]!==true)?args[&quot;changeUrl&quot;]:(new Date()).getTime());if(historyStack.length==0&amp;&amp;initialState.urlHash==hash){initialState=createState(url,args,hash);return;}else if(historyStack.length&gt;0&amp;&amp;historyStack[historyStack.length-1].urlHash==hash){historyStack[historyStack.length-1]=createState(url,args,hash);return;}
changingUrl=true;setTimeout(function(){setHash(hash);changingUrl=false;},1);bookmarkAnchor.href=hash;if(Prototype.Browser.IE){url=loadIframeHistory();var oldCB=args[&quot;back&quot;]||args[&quot;backButton&quot;]||args[&quot;handle&quot;];var tcb=function(handleName){if(getHash()!=&quot;&quot;){setTimeout(function(){setHash(hash);},1);}
oldCB.apply(this,);};if(args[&quot;back&quot;]){args.back=tcb;}else if(args[&quot;backButton&quot;]){args.backButton=tcb;}else if(args[&quot;handle&quot;]){args.handle=tcb;}
var oldFW=args[&quot;forward&quot;]||args[&quot;forwardButton&quot;]||args[&quot;handle&quot;];var tfw=function(handleName){if(getHash()!=&quot;&quot;){setHash(hash);}
if(oldFW){oldFW.apply(this,);}};if(args[&quot;forward&quot;]){args.forward=tfw;}else if(args[&quot;forwardButton&quot;]){args.forwardButton=tfw;}else if(args[&quot;handle&quot;]){args.handle=tfw;}}else if(!Prototype.Browser.IE){if(!locationTimer){locationTimer=setInterval(checkLocation,200);}}}else{url=loadIframeHistory();}
historyStack.push(createState(url,args,hash));};back._iframeLoaded=function(evt,ifrLoc){var query=getUrlQuery(ifrLoc.href);if(query==null){if(historyStack.length==1){handleBackButton();}
return;}
if(moveForward){moveForward=false;return;}
if(historyStack.length&gt;=2&amp;&amp;query==getUrlQuery(historyStack[historyStack.length-2].url)){handleBackButton();}else if(forwardStack.length&gt;0&amp;&amp;query==getUrlQuery(forwardStack[forwardStack.length-1].url)){handleForwardButton();}};})();if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.Page=function(){var hQuery=null;var aChips=null;return{isReferrer:function(uri){return document.referrer.include(uri);},getQuery:function(){hQuery=(hQuery===null)?new Hash(location.search.replace(/^\?/,&quot;&quot;).parseQuery()):hQuery;return hQuery;},hasQueryParam:function(paramName){if(hQuery===null){this.getQuery();}
return(typeof hQuery.get(paramName)!==&quot;undefined&quot;);},getQueryParam:function(paramName){if(hQuery===null){this.getQuery();}
return this.hasQueryParam(paramName)?hQuery.get(paramName):&quot;&quot;;},getHash:function(){return new Hash(location.hash.replace(/^#/,&quot;&quot;).parseQuery());},hasHashParam:function(paramName){var hHash=this.getHash();return(typeof hHash.get(paramName)!==&quot;undefined&quot;);},getHashParam:function(paramName){var hHash=this.getHash();return this.hasHashParam(paramName)?hHash.get(paramName):&quot;&quot;;},getChips:function(){if(null===aChips){var loc=document.location.toString();loc=loc.replace(/\.html$/,&quot;&quot;);loc=loc.replace(/\.js$/,&quot;&quot;);aChips=loc.split(&quot;-&quot;);aChips.shift();}
return aChips;},addStylesheet:function(stylesheet,callback){if(typeof stylesheet==&quot;undefined&quot;){return;}
var cssNode=document.createElement('link');cssNode.type='text/css';cssNode.rel='stylesheet';cssNode.href=stylesheet;cssNode.onLoad=(callback)?callback:'';cssNode.media='screen';if(document.getElementsByTagName(&quot;head&quot;).length===0){var headNode=document.createElement(&quot;head&quot;);document.getElementsByTagName(&quot;html&quot;).appendChild(headNode);}
document.getElementsByTagName(&quot;head&quot;).appendChild(cssNode);}};}();if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.Cookie=function(){var defSeparator=&quot;||&quot;;var defaultGroup=&quot;DJCOOKIE&quot;;var groups={};var _cookieDomain;var _doEncode=true;var _getDomain=function(){if(typeof this._cookieDomain==&quot;string&quot;){return this._cookieDomain;}
var aDomain=location.hostname.split('.');var aDomainLen=aDomain.length;this._cookieDomain=(aDomainLen&gt;2)?'.'+aDomain[aDomainLen-2]+'.'+aDomain[aDomainLen-1]:location.hostname;return this._cookieDomain;};var cookieObjToStr=function(obj){if(typeof obj!==&quot;object&quot;){return;}
var out=[];for(var o in obj){out[out.length]=(o+&quot;=&quot;+obj);}
out=out.join(defSeparator);return out;};var cookieStrToObj=function(str){if(typeof str!==&quot;string&quot;){return;}
var obj={};var aStr=str.split(defSeparator);for(var i=0,len=aStr.length;i&lt;len;i++){var spl=aStr.split(&quot;=&quot;);var name=spl.shift();obj=spl.join(&quot;=&quot;);}
return(obj!=={})?obj:null;};var _createCookieString=function(name,value,encodeValue,options){var text=encodeURIComponent(name)+&quot;=&quot;+(encodeValue?encodeURIComponent(value):value);if(typeof options!==&quot;object&quot;){return text;}
if(options.expires instanceof Date){text+=&quot;; expires=&quot;+options.expires.toGMTString();}
if((typeof options.path===&quot;string&quot;)&amp;&amp;options.path!==&quot;&quot;){text+=&quot;; path=&quot;+options.path;}
if((typeof options.domain===&quot;string&quot;)&amp;&amp;options.domain!==&quot;&quot;){text+=&quot;; domain=&quot;+options.domain;}
if(options.secure===true){text+=&quot;; secure&quot;;}
return text;};return{setCookie:function(name,value,days,group,doEncode){if((arguments.length&gt;3)&amp;&amp;((typeof group===&quot;string&quot;)||(typeof group===&quot;boolean&quot;)&amp;&amp;(group!==false))){return this.setGroupCookie(group,name,value,days);}
var exp=null;if(days){exp=new Date();exp.setTime(exp.getTime()+(days*24*60*60*1000));}
doEncode=((typeof doEncode==&quot;boolean&quot;)?doEncode:_doEncode);document.cookie=_createCookieString(name,value,doEncode,{expires:exp,path:'/',domain:_getDomain()});},getCookie:function(name,group,doDecode){if(arguments.length&gt;1){return this.getGroupCookie(group,name);}
doDecode=((typeof doDecode==&quot;boolean&quot;)?doDecode:_doEncode);var nameEQ=(doDecode?encodeURIComponent(name):name)+&quot;=&quot;;var ca=document.cookie.split(';');for(var i=0,len=ca.length;i&lt;len;i++){var c=ca.replace(/^\s+|\s+$/g,&quot;&quot;);if(c.indexOf(nameEQ)===0){var val=c.substring(nameEQ.length,c.length);return(doDecode?decodeURIComponent(val):val);}}
return null;},deleteCookie:function(name,group){if(arguments.length&gt;1){return this.deleteGroupCookie(group,name);}
this.setCookie(name,'',-1);},setGroupCookie:function(group,name,value,days){var isDelete=(days===-1);var isGroupDelete=false;var date=new Date();if(days){date.setTime(date.getTime()+(days*24*60*60*1000));}
var grp=(typeof group!==&quot;boolean&quot;)?group:defaultGroup;groups=groups||cookieStrToObj(this.getCookie(grp))||{};groups=value;if(isDelete){delete groups;var vcntr=0;for(var val in groups){if(groups.hasOwnProperty(val)){vcntr++;}}
if(vcntr&gt;0){date.setTime(date.getTime()+(365*24*60*60*1000));}else{groups={};isGroupDelete=true;}}
name=grp;value=cookieObjToStr(groups);document.cookie=_createCookieString(name,value,_doEncode,{expires:((isGroupDelete)?(new Date(-1)):date),path:'/',domain:_getDomain()});},getGroupCookie:function(group,name){var grp=(typeof group!==&quot;boolean&quot;)?group:defaultGroup;var grpEq=(encodeURIComponent(grp)+&quot;=&quot;);var nameEq=(name+&quot;=&quot;);var ca=document.cookie.split(&quot;;&quot;);var cookie=null;var oCookie=null;var cookieValue=null;var cookieName=null;for(var i=0,len=ca.length;i&lt;len;i++){cookie=ca.replace(/^\s+|\s+$/g,&quot;&quot;);if(cookie.indexOf(grpEq)===0){cookieValue=cookie.split(grpEq);oCookie=cookieStrToObj(decodeURIComponent(cookieValue));cookieName=oCookie;return(typeof cookieName!==&quot;undefined&quot;)?cookieName:null;}}
return null;},deleteGroupCookie:function(group,name){this.setGroupCookie(group,name,&quot; &quot;,-1);}};}();if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.Element={contains:function(element,clientX,clientY){var offset=element.cumulativeOffset();var dimensions=element.getDimensions();var lx=offset;var ly=offset;var rx=lx+dimensions.width;var ry=ly+dimensions.height;var mx=clientX;var my=clientY;if(((mx&gt;=lx)&amp;&amp;(mx&lt;=rx))&amp;&amp;((my&gt;=ly)&amp;&amp;(my&lt;=ry))){return true;}else{return false;}},adjustToLargest:function(container,domObj,onLoadCallback){var containerEls=container.getElementsByTagName(&quot;*&quot;);var resWidth=0;var resHeight=0;for(var i=0,elen=containerEls.length;i&lt;elen;i++){var el=containerEls;if((el.tagName==&quot;SCRIPT&quot;)||(el.tagName==&quot;NOSCRIPT&quot;)){continue;}
var dim=dj.util.Element.getDimensions(el);var width=dim;var height=dim;resWidth=(width&gt;=resWidth)?width:resWidth;resHeight=(height&gt;=resHeight)?height:resHeight;}
domObj.width=resWidth;domObj.height=resHeight;if(typeof onLoadCallback!=&quot;undefined&quot;){onLoadCallback(domObj);}},getDimensions:function(el){var width=0;var height=0;width=el.offsetWidth;height=el.offsetHeight;if(Prototype.Browser.IE){width=el.scrollWidth;height=el.scrollHeight;}
if(el.style.width!==&quot;&quot;){var tmpW=parseInt(el.style.width.split('px'),10);width=(width&gt;tmpW)?width:tmpW;}
if(el.style.height!==&quot;&quot;){var tmpH=parseInt(el.style.height.split('px'),10);height=(height&gt;tmpH)?height:tmpH;}
return[width,height];}};if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.Form={submitOnEvent:function(elm,formName,event){event=event||&quot;click&quot;;var el=$(elm);var frm=document;if(el===null||typeof frm===&quot;undefined&quot;||frm===null){throw new Error(&quot;Element and/or form not found&quot;);}
el.observe(event,function(ev){Event.stop(ev);frm.submit();});},clearValue:function(id,defaultText){var defTxt=[];var oEl=$(id);if(oEl===null){throw new Error(&quot;Element not found&quot;);}
var fv=oEl.getValue().strip();if(typeof defaultText==&quot;undefined&quot;){oEl.setValue(&quot; &quot;);}else if(!Object.isArray(defaultText)){defTxt.push(defaultText);}else{defTxt=defaultText;}
defTxt.each(function(dt){if(dt==fv){oEl.setValue(&quot;&quot;);}});},checkEmpty:function(id,errorMessage){var oEl=$(id);if(oEl===null){throw new Error(&quot;Element not found&quot;);}
return(oEl.getValue().strip()===&quot;&quot;);}};if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.Url={jsFrame:function(container,url,options){var oCnt=((typeof container===&quot;string&quot;)?document.getElementById(container):container);if(oCnt===null){throw new Error(&quot;{dj.util.jsFrame} container \&quot;&quot;+container+&quot;\&quot; not found&quot;);}else if(typeof url!==&quot;string&quot;){throw new TypeError(&quot;{dj.util.jsFrame} URL not found&quot;);}
var cfg={prefix:&quot;/static_html_files/jsframe.html?jsuri=&quot;,doPrefix:true,style:&quot;&quot;,doContainer:false,containerStyle:&quot;&quot;};var compat={};if(typeof options!==&quot;object&quot;){compat.doPrefix=(typeof options===&quot;boolean&quot;)?options:cfg.doPrefix;compat.prefix=arguments||cfg.prefix;compat.style=arguments||cfg.style;options=compat;}
Object.extend(cfg,options);var oIframe=new Element('iframe',{src:((cfg.doPrefix)?cfg.prefix+url:url),id:container+'iframe',scrolling:&quot;no&quot;,frameBorder:0,marginWidth:0,marginHeight:0,hspace:0,vspace:0,border:0,style:cfg.style}).observe(&quot;load&quot;,function(){try{var bd=this.contentWindow.document.body;if(!cfg.doPrefix||cfg.doContainer){bd.innerHTML=&quot;&lt;div style=\&quot;&quot;+cfg.containerStyle+&quot;\&quot;&gt;&quot;+bd.innerHTML+&quot;&lt;\/div&gt;&quot;;}
dj.util.Element.adjustToLargest(bd,this);}catch(e){console.error(&quot;Unable to access iframe body for url: %s&quot;,this.src);}});Element.insert(oCnt,oIframe);return oIframe;},addStylesheet:function(stylesheet,callback){console.warn(&quot;{Url} addStylesheet has been moved to Page.addStylesheet&quot;);},openWin:function(U,N,W,H,A,F,L,T,C){var WO=[];var WA=[];var a=[&quot;directories&quot;,&quot;location&quot;,&quot;menubar&quot;,&quot;resizable&quot;,&quot;scrollbars&quot;,&quot;status&quot;,&quot;titlebar&quot;,&quot;toolbar&quot;];A=(A)?(&quot;&quot;.concat(A)):&quot;on&quot;;for(i=0,len=a.length;i&lt;len;i++){if(a==&quot;resizable&quot;){WA[WA.length]=a+&quot;=&quot;+&quot;yes&quot;;}else{WA[WA.length]=a+&quot;=&quot;+((A.indexOf(a.substring(0,2))&gt;-1||A==&quot;on&quot;)?&quot;yes&quot;:&quot;no&quot;);}}
if(W){WA[WA.length]=&quot;width=&quot;+W;}
if(H){WA[WA.length]=&quot;height=&quot;+H;}
if(C&amp;&amp;W&amp;&amp;H){T=(screen.height-H)/2;L=(screen.width-W)/2;}
if(L){WA[WA.length]=&quot;left=&quot;+L;WA[WA.length]=&quot;screenX=&quot;+L;}
if(T){WA[WA.length]=&quot;top=&quot;+T;WA[WA.length]=&quot;screenY=&quot;+T;}
A=(WA.length)?WA.join(&quot;,&quot;):&quot;&quot;;WO=window.open(U,N,A);if(F&amp;&amp;WO){WO.focus();}},changeRoot:function(selector,newRoot,container){var urls=(typeof container!=&quot;undefined&quot;)?$(container).select(selector):$$(selector);var href=window.location.href;var base=href.substring(0,href.lastIndexOf('/')+1);for(var i=0,url,len=urls.length;i&lt;len;i++){url=urls;if(url.href.lastIndexOf(base)===0){url.href=newRoot+url.href.substring(base.length);}}}};if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.User={STATUS:{LOGGED_IN:1,LOGGED_OUT:0,NON_SUB:2},_currentStatus:null,getStatus:function(doClearCache){try{throw Error(&quot;{User.getStatus} deprecated method&quot;);}
catch(e){console.dir(e);}
return this.STATUS.LOGGED_IN;},hasRole:function(roleName,callback){epiton.runOnReady(function(){var hr=epiton.gui.Credentials.hasRole(roleName.toUpperCase());callback(hr);});},isLoggedIn:function(callback){epiton.runOnReady(function(){var isLoggedIn=epiton.gui.Credentials.isLoggedIn();callback(isLoggedIn);});},isSubLoggedIn:function(callback,roleName){roleName=(typeof roleName===&quot;string&quot;)?roleName.toUpperCase():&quot;WSJ&quot;;epiton.runOnReady(function(){var isLoggedIn=epiton.gui.Credentials.isLoggedIn();if(roleName!==&quot;WSJ&quot;){var hr=epiton.gui.Credentials.hasRole(roleName);callback(isLoggedIn&amp;&amp;hr);}else{var hr1=epiton.gui.Credentials.hasRole(&quot;WSJ&quot;);var hr2=epiton.gui.Credentials.hasRole(&quot;WSJ-TRANSIENT&quot;);callback(isLoggedIn&amp;&amp;(hr1||hr2));}});},isRegLoggedIn:function(callback,roleName){roleName=(typeof roleName===&quot;string&quot;)?roleName.toUpperCase():&quot;WSJ&quot;;epiton.runOnReady(function(){var isLoggedIn=epiton.gui.Credentials.isLoggedIn();if(roleName!==&quot;WSJ&quot;){var hr=epiton.gui.Credentials.hasRole(
roleName);callback(isLoggedIn&amp;&amp;!hr);}else{var hr1=epiton.gui.Credentials.hasRole(&quot;WSJ&quot;);var hr2=epiton.gui.Credentials.hasRole(&quot;WSJ-TRANSIENT&quot;);callback(isLoggedIn&amp;&amp;(!hr1&amp;&amp;!hr2));}});},renderCallsign:function(idOrElement){epiton.runOnReady(function(){epiton.gui.Callsign.renderIntoDiv(idOrElement);});},renderFirstName:function(idOrElement){epiton.runOnReady(function(){epiton.gui.FirstName.renderIntoDiv(idOrElement);});},renderLastName:function(idOrElement){epiton.runOnReady(function(){epiton.gui.LastName.renderIntoDiv(idOrElement);});},getUserId:function(callback){epiton.runOnReady(function(){var isLoggedIn=epiton.gui.Credentials.isLoggedIn();var userId=&quot;&quot;;if(isLoggedIn){userId=epiton.gui.Credentials.getUuid().toString();}
callback(userId);});}};if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.Region={getViewByRegion:function(){var cookie=document.cookie;var wsjregion=&quot;&quot;;var regionindex=cookie.indexOf(&quot;wsjregion&quot;);if(regionindex!=-1)
{var regioncookie=dj.util.Cookie.getCookie(&quot;wsjregion&quot;);if(regioncookie.indexOf(&quot;reset&quot;)!=-1){wsjregion=regioncookie.substring(0,regioncookie.indexOf(&quot;reset&quot;)-1);}else{wsjregion=regioncookie;}}
return wsjregion;},setViewByRegion:function(wsjregion){var cookie=document.cookie;var currentRegion=this.getViewByRegion();if(wsjregion!==&quot;&quot;&amp;&amp;wsjregion!==currentRegion){dj.util.Cookie.setCookie(&quot;wsjregion&quot;,wsjregion+&quot;,reset,&quot;+currentRegion,&quot;&quot;,false,true);}}};if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.Tracking={omniture:{_initd:false,init:function(){var localSuppressOmniture=false;this._delayFirePixel=false;this._firePixelCount=0;try{if(typeof s==='undefined'){return;}
this._s=s;if(typeof setMetaData!=='undefined'){this.setMetaData=setMetaData;}
if(typeof setSuppressOmniture!=='undefined'){localSuppressOmniture=setSuppressOmniture();}}
catch(e){console.info(&quot;{Tracking} could not suppress omniture.&quot;);console.dir(e);}
if(localSuppressOmniture){console.info(&quot;{Tracking} localSuppressOmniture = %s&quot;,localSuppressOmniture);return;}
this._s.channel=&quot;Online Journal&quot;;var refresh=(dj.util.Page.getQueryParam('refresh')||dj.util.Page.getHashParam('refresh'));var refdom=this._s.getQueryParam('refdom');this.reflink=(dj.util.Page.getQueryParam('reflink')||dj.util.Page.getHashParam('reflink'));this.link=(dj.util.Page.getQueryParam('mod')||dj.util.Page.getHashParam('mod'));var targeturl=this._s.getQueryParam('url');if(!refresh){refresh='off';}
if(refdom){this._s.referrer=refdom;}
if(this.reflink){this.link=&quot;&quot;;}
else
if(this.link){this.reflink=&quot;&quot;;}
var fullurl=document.location.href;var baseurl=document.location.protocol+'//'+document.location.host+document.location.pathname;var caccess=((typeof loggedIn!==&quot;undefined&quot;)&amp;&amp;(loggedIn===true))?&quot;subscriber&quot;:&quot;open&quot;;caccess=(fullurl.indexOf('/PA2VJBNA4R')!=-1)?&quot;ppv&quot;:caccess;caccess=(fullurl.indexOf('/services/')!=-1)?&quot;print&quot;:caccess;setMetaData('baseurl',baseurl);setMetaData('fullurl',fullurl);setMetaData('refresh',refresh);setMetaData('caccess',caccess);setMetaData('edition',editionToNameMap[dj.util.Region.getViewByRegion()]);if(this.link){setMetaData('link',this.link);}
if(this.reflink){setMetaData('reflink',this.reflink);}
if(targeturl){setMetaData('targeturl',targeturl);}
this.cookieTracking=dj.util.Cookie.getCookie(&quot;TR&quot;);this.cookieUserType=dj.util.Cookie.getCookie(&quot;user_type&quot;);this.cookieSpotlightSet=dj.util.Cookie.getCookie(&quot;spotlightSet&quot;);var that=this;dj.util.User.isLoggedIn(function(isLoggedIn){if(isLoggedIn){dj.util.User.isSubLoggedIn(function(subLoggedIn){if(subLoggedIn){setMetaData('asub','WSJ_sub_yes');}else{setMetaData('asub','WSJ_mem_yes');}});}else{if(that.cookieUserType===null||that.cookieUserType!==&quot;subscribed&quot;){setMetaData('asub','WSJ_free');}else{setMetaData('asub','WSJ_reg_yes');}}});if(typeof numads!==&quot;undefined&quot;){setMetaData('numads',numads.toString());}
if(this.cookieTracking!==null){setMetaData('userid',this.cookieTracking);}
this._initd=true;},delayFirePixel:function(){this._delayFirePixel=true;},resetPixel:function(){this._s.ios=0;},getMetaData:function(param_name){var prop=lookup;if(!prop){prop=param_name;}
return this._s;},firePixel:function(delayOverride){if(this._initd!==true){console.info(&quot;{Tracking} tracking not initd.&quot;);return;}
if(this._firePixelCount&gt;=1){console.warn(&quot;{Tracking} pixel fired %d times.&quot;,this._firePixelCount);}
if((typeof delayOverride===&quot;undefined&quot;||delayOverride===false)&amp;&amp;this._delayFirePixel===true){return;}
this._s.ios=0;var wsjPrefix='WSJ_';if(this._s.prop1=='Home')
{this._s.prop3=wsjPrefix+this._s.prop1+'_'+this._s.pageName;this._s.prop22=wsjPrefix+this._s.prop1+'_'+this._s.pageName;}
try{if(dj.context.ads&amp;&amp;dj.context.ads.adZone){this._s.prop13=dj.context.ads.adZone;}}catch(e){}
if(this._s.prop1=='Article')
{if(this._s.prop3&amp;&amp;this._s.prop3.indexOf(wsjPrefix)!==0){this._s.prop3=wsjPrefix+this._s.prop1+'_'+this._s.prop3;}
if(this._s.prop22&amp;&amp;this._s.prop22.indexOf(wsjPrefix)!==0){this._s.prop26=wsjPrefix+this._s.prop22;}
if(this._s.prop22&amp;&amp;this._s.prop22.indexOf(wsjPrefix)!==0){this._s.prop22=wsjPrefix+this._s.prop1+'_'+this._s.prop22;}
if(this._s.prop4&amp;&amp;this._s.prop4.indexOf('article_')!==0){this._s.prop4=&quot;article_&quot;+this._s.prop4;}}
if(this._s.prop1=='Summaries')
{this._s.prop3=wsjPrefix+this._s.prop1+'_'+this._s.pageName;this._s.prop22=wsjPrefix+this._s.prop1+'_'+this._s.pageName;}
if(this._s.prop3=='Video')
{if(this._s.prop3.indexOf(wsjPrefix)!==0){this._s.prop3=wsjPrefix+this._s.prop1+'_'+'Video'+'_'+this._s.prop24;}}
if(this._s.pageName.indexOf(wsjPrefix)!==0){this._s.pageName=wsjPrefix+this._s.pageName;}
if(this._s.prop2.indexOf(wsjPrefix)!==0){this._s.prop2=wsjPrefix+this._s.prop2;}
if(this._s.prop19=='article'){this._s.hier1=[this._s.channel,this._s.prop1,this._s.prop2,this._s.prop22,this._s.prop3,this._s.prop20,this._s.prop4,this._s.prop6].join(&quot;,&quot;);}else{this._s.hier1=[this._s.channel,this._s.prop1,this._s.prop2,this._s.pageName,this._s.prop6].join(&quot;,&quot;);}
this._s.hier2=[this._s.channel,this._s.prop19,this._s.prop2,this._s.prop3].join(&quot;,&quot;);this._s.hier3=[this._s.channel,this._s.prop2,this._s.prop26,this._s.pageName].join(&quot;,&quot;);this._s.hier4=[this._s.channel,this._s.prop2,this._s.prop1].join(&quot;,&quot;);this._s.hier5=[this._s.channel,this._s.prop24,this._s.prop1,this._s.prop2,this._s.prop26].join(&quot;,&quot;);if(!this._s.events){this._s.events=&quot;event12&quot;;}else{if(this._s.events.indexOf(&quot;event12&quot;)==-1){this._s.events=this._s.events?(this._s.events+&quot;,event12&quot;):&quot;event12&quot;;}}
if(this._s.prop19=='article'){if(this._s.events.indexOf(&quot;event18&quot;)==-1){this._s.events=this._s.events?(this._s.events+&quot;,event18&quot;):&quot;event18&quot;;}}
else{if(this._s.events.indexOf(&quot;event19&quot;)==-1){this._s.events=this._s.events?(this._s.events+&quot;,event19&quot;):&quot;event19&quot;;}}
this._s.prop49=this._s.getVisitNum();this._s.prop23=this._s.getDaysBeforeEvent();this._s.eVar3=&quot;&quot;;if(this.cookieUserType!==null){this._s.eVar3=this.cookieTracking;}
if(this._s.eVar3===null){console.info(&quot;{Tracking} could not get cookie 'TR'.&quot;);}
this._s.eVar4=this._s.pageName;this._s.eVar5=&quot;&quot;;this._s.eVar6=&quot;&quot;;if(this.link){this._s.eVar5=this.link;}
if(this.reflink){this._s.eVar6=this.reflink;}
this._s.eVar8=&quot;&quot;;if(this._s.prop18){this._s.eVar8=this._s.prop18;}
this._s.eVar11=this._s.channel;this._s.eVar25=this._s.prop2;var dt=new Date();if(!this.weekday){this.weekday=[];this.weekday=&quot;Sunday&quot;;this.weekday=&quot;Monday&quot;;this.weekday=&quot;Tuesday&quot;;this.weekday=&quot;Wednesday&quot;;this.weekday=&quot;Thursday&quot;;this.weekday=&quot;Friday&quot;;this.weekday=&quot;Saturday&quot;;}
this._s.eVar31=this.weekday[dt.getDay()];this._s.eVar32=dt.getHours()+&quot;:00&quot;;this._firePixelCount=this._firePixelCount+1;var s_code=this._s.t();if(s_code){this.generatePixel(s_code);}
this.generateSpotlightPixel();},generateSpotlightPixel:function(){if((this.cookieSpotlightSet===null)&amp;&amp;(this.cookieTracking!==null)){var cookieVal=this.cookieTracking;var randomNumber=Math.floor(Math.random()*1000000);var pixelSrc='http://ad.doubleclick.net/activity;src=1373310;type=rapta615;cat=track812;u='+cookieVal+';ord='+randomNumber+'?';var pixel=new Element(&quot;img&quot;,{&quot;src&quot;:pixelSrc,&quot;width&quot;:&quot;2&quot;,&quot;height&quot;:&quot;2&quot;,&quot;alt&quot;:&quot;&quot;,&quot;border&quot;:&quot;0&quot;});console.debug(&quot;{Tracking} writing spotlightTag:&quot;+pixelSrc);document.getElementsByTagName(&quot;body&quot;).appendChild(pixel);console.debug(&quot;{Tracking} end of writing spotlightTag.&quot;);dj.util.Cookie.setCookie('spotlightSet','true','90d+');}},generatePixel:function(pixelImg){if(!pixelImg){return;}
pixelImg=''+pixelImg;var srcBegin=pixelImg.indexOf(&quot;src=&quot;)+5;var pixelSrc=pixelImg.substring(srcBegin);var srcEnd=pixelSrc.indexOf('&quot;');this.pixelSrc=pixelSrc.substring(0,srcEnd);var piximg=document.getElementById('s_i_'+s.fun);if(piximg){piximg.src=this.pixelSrc;}},debugPixel:function(){window.open(&quot;&quot;,&quot;stats_debugger&quot;,&quot;width=600,height=600,location=0,menubar=0,status=1,toolbar=0,resizable=1,scrollbars=1&quot;).document.write(&quot;&lt;script type=\&quot;text/javascript\&quot; src=\&quot;/static_html_files/omniture/pixelDebug.html\&quot;&gt;&lt;/&quot;+&quot;script&gt;&quot;);}},rsi:{delayRsi:function(){this._delayRsi=true;},init:function(delayOverride){if((typeof delayOverride===&quot;undefined&quot;||delayOverride===false)&amp;&amp;this._delayRsi===true){return;}
if(typeof this._rsiInitted!==&quot;undefined&quot;){return;}else{this._rsiInitted=true;}
document.write(&quot;&lt;script type=\&quot;text\/javascript\&quot; src=\&quot;http://js.revsci.net/gateway/gw.js?csid=G07608\&quot;&gt;&lt;\/script&gt;&quot;);try{this.doRsi();}
catch(err){console.info(&quot;{Tracking} could not find 'DM_tab' and/or 'saveSegment'.&quot;);}},doRsi:function(){var that=this;document.observe('dom:loaded',function(){that.saversicookie();});},saversicookie:function(){try{if(s.prop19==='article'){DM_cat(s.channel+' &gt; '+s.prop1+' &gt; '+s.prop2+' &gt; '+s.prop3);}
else{DM_cat(s.channel+' &gt; '+s.prop1+' &gt; '+s.prop2+' &gt; '+s.pageName);}}catch(e){console.info(&quot;DM_CAT throws&quot;,e);}
try{DM_tag();}
catch(err){console.info(&quot;{Tracking} could not find 'DM_tab' and/or 'saveSegment'.&quot;);}}},interstitial:{init:function(){console.info(&quot;{Tracking} executing interstitial.&quot;);}}};if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.PeriodicalUpdater=Class.create(Ajax.Base,{initialize:function($super,container,url,options){$super(options);this.onComplete=this.options.onComplete;this.frequency=(this.options.frequency||2);this.decay=(this.options.decay||1);this.maxDecay=(this.options.maxDecay||10);this.updater={};this.container=container;this.url=url;this.start();},start:function(){this.options.onComplete=this.updateComplete.bind(this);this.onTimerEvent();},stop:function(){this.updater.options.onComplete=undefined;clearTimeout(this.timer);(this.onComplete||Prototype.emptyFunction).apply(this,arguments);},updateComplete:function(response){if(this.options.onUpdate){this.options.onUpdate.apply(this,$A(arguments));}
if(this.options.decay){this.decay=(response.responseText==this.lastText?this.decay*this.options.decay:1);this.decay=(this.decay&gt;this.maxDecay)?this.maxDecay:this.decay;this.lastText=response.responseText;}
this.timer=this.onTimerEvent.bind(this).delay(this.decay*this.frequency);},onTimerEvent:function(){this.updater=new Ajax.Updater(this.container,this.url,this.options);}});if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.RuntimeLogger={logUrl:&quot;/runtimeLogger&quot;,initted:false,sent:false,init:function(url){if(this.initted){return;}else{this.initted=true;}
this.logUrl=url||this.logUrl;if(typeof window.console===&quot;undefined&quot;){window.console={};}
window.console.stack=[];window.console.warn=function(msg,e){try{this.stack.push(&quot;{&quot;+msg.split(&quot;: %p&quot;)+&quot; &quot;+e.name+&quot;: \&quot;&quot;+e.message+&quot;\&quot;}&quot;);}catch(err){}};},send:function(){if(this.sent){return;}else{this.sent=true;}
var h=$H();var browser=&quot;&quot;;if(Prototype.Browser.IE){browser=&quot;IE&quot;;}
if(Prototype.Browser.Opera){browser=&quot;Opera&quot;;}
if(Prototype.Browser.WebKit){browser=&quot;WebKit&quot;;}
if(Prototype.Browser.Gecko){browser=&quot;Gecko&quot;;}
if(Prototype.Browser.MobileSafari){browser=&quot;MobileSafari&quot;;}
h.set(&quot;errors&quot;,&quot;[&quot;+new Date()+&quot; - &quot;+document.location.pathname+&quot; - &quot;+browser+&quot;] &quot;+window.console.stack.join(&quot;, &quot;));var that=this;var img=new Element(&quot;img&quot;,{src:that.logUrl+&quot;?&quot;+h.toQueryString()});$$(&quot;body&quot;).first().insert(img);}};function OpenG(url){dj.util.Url.openWin(url,&quot;&quot;,980,707,&quot;off&quot;,true,40,10);}
function OpenWin(){dj.util.Url.openWin.apply(null,arguments);}
function launchAudio(aFilePath){var whichis=aFilePath.split(&quot;/&quot;);var numArgs=whichis.length;var theFileName=whichis[numArgs-1];var theLaunchPath=&quot;http://s.wsj.net/public/resources/documents/WSJ_audioPlayer08.html?audioFile=&quot;+aFilePath+&quot;&amp;trackName=&quot;+theFileName;OpenG(theLaunchPath);}
if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.XSLT=function(){var processor=(typeof window.ActiveXObject!='undefined'?null:new XSLTProcessor());var result=null;var xsl=null;var xml=null;var success=function(){};var error=function(){};var setXsl=function(S){xsl=S;};var setXml=function(M){xml=M;};return{transform:function(O){if(O.onError){error=O.onError;}
if(typeof O.xslUrl=='undefined'||O.xslUrl===null||typeof O.feedUrl=='undefined'||O.feedUrl===null){error('error: need xslUrl and feedUrl to proceed');return;}
if(O.onSuccess){success=O.onSuccess;}
var that=this,xsl,xml;try{if(processor===null){xsl=new ActiveXObject(&quot;Msxml2.DOMDocument.5.0&quot;);xml=new ActiveXObject(&quot;Msxml2.DOMDocument.5.0&quot;);xsl.async=true;xsl.onreadystatechange=function(){if(xsl.readyState==4){setXsl(xsl);that.doTransform();}};xsl.load(O.xslUrl);xml.async=true;xml.onreadystatechange=function(){if(xml.readyState==4){setXml(xml);that.doTransform();}};xml.load(O.feedUrl);}
else{xsl=new XMLHttpRequest();xml=new XMLHttpRequest();xsl.overrideMimeType('text/xml');xsl.onreadystatechange=function(){if(xsl.readyState==4&amp;&amp;xsl.status=='200'){setXsl(xsl.responseXML);that.doTransform();}};xsl.open('GET',O.xslUrl,true);xsl.send(null);xml.overrideMimeType('text/xml');xml.onreadystatechange=function(){if(xml.readyState==4&amp;&amp;xml.status=='200'){setXml(xml.responseXML);that.doTransform();}};xml.open('GET',O.feedUrl,true);xml.send(null);}}catch(e){error(e);}},doTransform:function(){if(xsl===null||xml===null){return;}
try{if(processor===null){var y=xml.transformNode(xsl),i=y.indexOf('?&gt;');if(i!=-1){y=y.substring(i+2);}
var z=new Element('div');z.innerHTML=y;result=document.createDocumentFragment();while(z.childNodes.length&gt;0){result.appendChild(z.childNodes);}}
else{processor.importStylesheet(xsl);result=processor.transformToFragment(xml,document);processor.reset();}
success(result);}catch(e){error(e);}}};}();dj.util.Quote={isMutualFund:function(term)
{term=term.replace(/^\s+|\s+$/g,&quot;&quot;).toUpperCase();var match=term.match(/[X|Y]$/);return match!==null&amp;&amp;match.length&gt;0&amp;&amp;match.length&gt;0;},doExchangeTypeMap:function(exchange){var hashExchange={};hashExchange[&quot;US&quot;]=&quot;usstock usfund&quot;;hashExchange[&quot;SAO PAULO&quot;]=&quot;brsp&quot;;hashExchange[&quot;TOR&quot;]=&quot;tse&quot;;hashExchange[&quot;CSEC&quot;]=&quot;vecsec&quot;;hashExchange[&quot;ASX&quot;]=&quot;auasx&quot;;hashExchange[&quot;SHSE&quot;]=&quot;shse&quot;;hashExchange[&quot;SSE&quot;]=&quot;sse&quot;;hashExchange[&quot;HKSE&quot;]=&quot;hkse&quot;;hashExchange[&quot;TSE&quot;]=&quot;jptse&quot;;hashExchange[&quot;NZSE&quot;]=&quot;nzse&quot;;hashExchange[&quot;SES&quot;]=&quot;sgses&quot;;hashExchange[&quot;TWSE&quot;]=&quot;twtwse&quot;;hashExchange[&quot;BRUX&quot;]=&quot;bebrux&quot;;hashExchange[&quot;COPN&quot;]=&quot;copn&quot;;hashExchange[&quot;TALLINN&quot;]=&quot;tallinn&quot;;hashExchange[&quot;HELS&quot;]=&quot;hels&quot;;hashExchange[&quot;PARB&quot;]=&quot;frparb&quot;;hashExchange[&quot;FRNK&quot;]=&quot;defrnk&quot;;hashExchange[&quot;XETRA&quot;]=&quot;dexetra&quot;;hashExchange[&quot;REYKJAVIK&quot;]=&quot;reykjavik&quot;;hashExchange[&quot;DUBLIN&quot;]=&quot;iedublin&quot;;hashExchange[&quot;MILAN&quot;]=&quot;itmilan&quot;;hashExchange[&quot;RIGA&quot;]=&quot;riga&quot;;hashExchange[&quot;LITHUANIA&quot;]=&quot;lithuania&quot;;hashExchange[&quot;AMS&quot;]=&quot;nlams&quot;;hashExchange[&quot;OSLO&quot;]=&quot;nooslo&quot;;hashEx
change[&quot;CATS&quot;]=&quot;escats&quot;;hashExchange[&quot;STKM&quot;]=&quot;sestkm&quot;;hashExchange[&quot;ZSE&quot;]=&quot;chzse&quot;;hashExchange[&quot;LONDON&quot;]=&quot;lse&quot;;hashExchange[&quot;VTX&quot;]=&quot;virtx&quot;;var type=hashExchange;return type;}};isMutualFund=function(){console.error(&quot;{isMutualFund is deprecated} Please switch to dj.util.Quote.isMutualFund by 11/09/08&quot;);return dj.util.Quote.isMutualFund.apply(null,arguments);};doExchangeTypeMap=function(){console.error(&quot;{doExchangeTypeMap is deprecated} Please switch to dj.util.Quote.doExchangeTypeMap by 11/09/08&quot;);return dj.util.Quote.doExchangeTypeMap.apply(null,arguments);};dj.util.Search={baseDomain:((typeof window.nSP)=='undefined'||nSP===null)?'http://'+document.domain:nSP,validateQuoteSearchBox:function(el){var isTextEntered=false;if(el.value===null||el.value.length==0)
{alert(&quot;Please Enter a Symbol or Keyword.&quot;);}
else
{isTextEntered=true;}
return isTextEntered;},doViewQuote:function(symbol){dj.util.User.isLoggedIn(function(loggedIn){symbol=symbol.replace(/^\s+|\s+$/g,&quot;&quot;);symbol=symbol.replace(/,+/gi,&quot;,&quot;);symbol=symbol.replace(/,$|\.,$/,&quot;&quot;);if(symbol.match(&quot;,&quot;)){var symbolslist=symbol.split(&quot;,&quot;);var querySymbol='';var exchange='';for(i=0;i&lt;symbolslist.length;i++){tempSymb=symbolslist;tempEx='';if(symbolslist.indexOf('(')&gt;0){tempSymb=symbolslist.substring(0,symbolslist.indexOf('('));tempEx=symbolslist.substring(symbolslist.indexOf('(')+1,symbolslist.length-1);}
else{tempEx='US';}
tempSymb=tempSymb.replace(/^\s+|\s+$/g,&quot;&quot;);querySymbol=querySymbol+tempSymb+&quot;,&quot;;exchange=exchange+doExchangeTypeMap(tempEx)+&quot;,&quot;;}
querySymbol=querySymbol.substring(0,querySymbol.length-1);exchange=exchange.substring(0,exchange.length-1);querySymbol=querySymbol.replace(/\+/g,&quot;%2B&quot;);var quoteURL=dj.util.Search.baseDomain+'/public/quotes/main.html?symbol='+querySymbol+'&amp;type='+exchange+'&amp;mod=DNH_S';window.location=quoteURL;}
else{var exchange='US';var querySymbol=symbol;if(symbol.indexOf('(')&gt;0){querySymbol=symbol.substring(0,symbol.indexOf('('));exchange=symbol.substring(symbol.indexOf('(')+1,symbol.length-1);}
querySymbol=querySymbol.replace(&quot;+&quot;,&quot;%2B&quot;);var quoteURL=dj.util.Search.baseDomain+'/public/quotes/main.html?symbol='+querySymbol+'&amp;type='+doExchangeTypeMap(exchange)+'&amp;mod=DNH_S';window.location=quoteURL;}});},doKeyWordSearch:function(query){dj.util.User.isLoggedIn(function(loggedIn){query=query.replace(/^\s+|\s+$/g,&quot;&quot;).replace(/,$|\.,$/,&quot;&quot;);var searchURL=dj.util.Search.baseDomain+((loggedIn)?'/search':'/public/search/page/3_0466.html')+'?KEYWORDS='+escape(query)+'&amp;mod=DNH_S';window.location=searchURL;});}};validateQuoteSearchBox=function(){console.error(&quot;{validateQuoteSearchBox is deprecated} Please switch to dj.util.Search.validateQuoteSearchBox by 11/09/08&quot;);return dj.util.Search.validateQuoteSearchBox.apply(null,arguments);};doViewQuote=function(){console.error(&quot;{doViewQuote is deprecated} Please switch to dj.util.Search.doViewQuote by 11/09/08&quot;);return dj.util.Search.doViewQuote.apply(null,arguments);};doKeyWordSearch=function(){console.error(&quot;{doKeyWordSearch is depreca
ted} Please switch to dj.util.Search.doKeyWordSearch by 11/09/08&quot;);return dj.util.Search.doKeyWordSearch.apply(null,arguments);};if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.util.Date={simpleDateFormat:{nibbles:{},character:&quot;&quot;,output:&quot;&quot;,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&lt;0||x&gt;9?&quot;&quot;:&quot;0&quot;)+x;},format:function(date,f){f=f+&quot;&quot;;this.output=&quot;&quot;;this.index=0;var token=&quot;&quot;;var y=date.getYear()+&quot;&quot;;var M=date.getMonth()+1;var E=date.getDay();var H=date.getHours();var m=date.getMinutes();var s=date.getSeconds();y=&quot;&quot;.concat((y.length&lt;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;this.nibbles.H=H;this.nibbles.HH=this.doubleDigit(H);this.nibbles.h=(H==0)?12:((H&gt;12)?H-12:H);this.nibbles.hh=this.doubleDigit(this.nibbles[&quot;h&quot;]);this.nibbles.K=(H&gt;11)?(H-12):H;this.nibbles.k=H+1;this.nibbles.KK=this.doubleDigit(this.nibbles[&quot;K&quot;]);this.nibbles.kk=this.doubleDigit(this.nibbles[&quot;k&quot;]);this.nibbles.a=(H&gt;11)?&quot;PM&quot;:&quot;AM&quot;;this.nibbles.m=m;this.nibbles.mm=this.doubleDigit(m);this.nibbles.s=s;this.nibbles.ss=this.doubleDigit(s);while(this.index&lt;f.length){this.character=f.charAt(this.index);token=&quot;&quot;;while((f.charAt(this.index)==this.character)&amp;&amp;(this.index&lt;f.length)){token+=f.charAt(this.index++);}
this.output+=(typeof this.nibbles!==&quot;undefined&quot;)?this.nibbles:token;}
return this.output;}},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','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','Greenwich Mean Time':'GMT','Heure Avanc?e de l\',Atlantique':'HAA','Heure Avanc?e du Centre':'HAC','Hawaii-Aleut
ian 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'},getTimeZone:function(time){var tzs=time.toString().replace(/^.*\(|\)$/g,&quot;&quot;);var tz=this.timezones;if(typeof tz!==&quot;string&quot;&amp;&amp;(tzs.length&gt;=2)){for(var z in this.timezones){if(this.timezones===tzs){return tzs;}}}
if(typeof(tz)==&quot;undefined&quot;||!tz){var d=time.toString();tz=d.substr(d.length-8,3);}
if(typeof(tz)==&quot;undefined&quot;){tz=&quot;&quot;;}
return tz;},displayTime:function(time,dtGMT){var tzs=((new Date().getTimezoneOffset()/60)*(-1)).toString();if(tzs.indexOf('.')!==-1)
{var hr=tzs.substring(0,tzs.indexOf('.'));var min=(tzs.substring(tzs.indexOf('.'),tzs.length)==&quot;.75&quot;)?&quot;:45&quot;:&quot;:30&quot;;tzs=hr+min;}
if(time!==&quot;&quot;&amp;&amp;dtGMT!==&quot;&quot;){if(tzs==&quot;-4&quot;||tzs==&quot;-5&quot;||tzs==&quot;-6&quot;||tzs==&quot;-7&quot;||tzs==&quot;-8&quot;||tzs==&quot;-9&quot;||tzs==&quot;-10&quot;||tzs==&quot;-11&quot;){return time;}
else if(dtGMT.indexOf('GMT')!==-1){pgDate=dtGMT.substring(dtGMT.indexOf(',')+1,dtGMT.length);var dtt=new Date(pgDate);var p1=this.simpleDateFormat.format(dtt,&quot;EE, MMM d, y &quot;);var p2=&quot;As of &quot;+this.simpleDateFormat.format(dtt,&quot;h:mm a &quot;);var p3=&quot;(GMT &quot;+(tzs.indexOf('-')!==-1?tzs:&quot;+&quot;+tzs)+&quot; hours)&quot;;return p1+p2+p3;}
else{return dtGMT;}}}};if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
if(typeof dj.context.jsexec==&quot;undefined&quot;){dj.context.jsexec={};}
dj.util.JSExec=function(ctx){var djUtil=dj.util;var con=window.console;var emptyFunc=function(){};var djmark=(djUtil.Perf&amp;&amp;djUtil.Perf.mark)?djUtil.Perf.mark:emptyFunc;var djmeasure=(djUtil.Perf&amp;&amp;djUtil.Perf.measure)?djUtil.Perf.measure:emptyFunc;var warn=(con&amp;&amp;typeof con.warn==&quot;function&quot;)?con.warn:emptyFunc;return function(execIndex,djexecname,func){try{djmark(djexecname);func.apply(ctx);djmeasure(djexecname);}catch(e){warn(&quot;JSExec %d: %o&quot;,execIndex,e);}};};
if(typeof dj==&quot;undefined&quot;){var dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
if(typeof dj.widget.ad==&quot;undefined&quot;){dj.widget['ad']={};}
dj.widget.ad.isRemoved=false;dj.widget.ad.Ad=Class.create({adUriPrefix:'http://ad.doubleclick.net/',adIframeClass:'advIframe',adImgClass:'advImg',adType:'iframe',adUrl:{},initialize:function(id,adType,options){this.adId=id;this.adType=adType;this.gAdClass=this.adId;this.width=options.width;this.height=options.height;this.size=options.size;this.style=options.style;this.zone=options.zone;this.site=options.site;this.adClass=options.adClass;this.meta=options.meta;this.tile=options.tile;this.category=options.category;this.ordRecalculate=options.ordRecalculate;this.refreshInterval=options.refreshInterval;this.classEnabled=options.classEnabled;this.classValue=options.classValue;this.styleValue=options.styleValue;this.conditionType=options.conditionType;this.conditionValue=options.conditionValue;this.conditionalString=options.conditionalString;var utilObj=new dj.util.Ads();var wsjRegion=dj.util.Region.getViewByRegion();switch(wsjRegion){case&quot;europe&quot;:this.adUriPrefix=&quot;http://ad.uk.dou
bleclick.net/&quot;;break;case&quot;asia&quot;:this.adUriPrefix=&quot;http://ad.hk.doubleclick.net/&quot;;break;case&quot;asia,india&quot;:this.adUriPrefix=&quot;http://ad.in.doubleclick.net/&quot;;break;default:this.adUriPrefix=&quot;http://ad.doubleclick.net/&quot;;}
if(this.site=='bottom.wsj.com'){this.site='bottom.interactive.wsj.com';}
if(utilObj.isEmpty(this.site)){this.site='interactive.wsj.com';}
if(utilObj.isEmpty(this.zone)){this.zone='default';}
var adObj=new dj.util.Ads();var localAdID=this.adId;var intSiteValue=adObj.getAdInternationalSite(this.adId,this.site);var siteValuesToAvoid='asia,europe';var status=false;siteValuesToAvoid.split(',').each(function(item){var that=this;if(intSiteValue.indexOf(item)!=-1&amp;&amp;localAdID.indexOf('trading')!=-1)
{status=true;return status;}});if(status)
{var parent=$(localAdID).parentNode;if(parent!=null&amp;&amp;!dj.widget.ad.isRemoved)
{var grandParent=$(parent).parentNode;$(grandParent).remove();dj.widget.ad.isRemoved=true;return;}
return;}
if(this.adType=='iframe'){this.iframeAd();}
else{if(dj.context.ads.JSAdSwitch){this.jsAd();}
else{this.iframeAd();}}
if(this.adClass!=&quot;P&quot;&amp;&amp;this.classEnabled===&quot;true&quot;){$(this.adId).addClassName(this.classValue);}else if(this.styleValue!==undefined&amp;&amp;!this.styleValue.blank()){$(this.adId).setStyle(this.styleValue);}},iframeAd:function(){var adUriSuffix=this.calculateAdUrl(this.adType);var oAdCnt=$(this.adId);var oIframe=new Element('iframe',{src:this.adUriPrefix+'adi'+adUriSuffix,id:this.adId+dj.context.ads.iframe,width:this.width,height:this.height,scrolling:&quot;no&quot;,frameBorder:&quot;0&quot;,marginWidth:&quot;0&quot;,marginHeight:&quot;0&quot;,hspace:&quot;0&quot;,vspace:&quot;0&quot;,border:&quot;0&quot;,style:&quot;margin:0px; padding:0px&quot;});oAdCnt.appendChild(oIframe);},jsAd:function(){var etsFlag=dj.util.Cookie.getCookie('etsFlag');var adUriSuffix=this.calculateAdUrl(this.adType);var url=this.adUriPrefix+&quot;adj&quot;+adUriSuffix;var jsa=new dj.util.Url.jsFrame(this.adId,url);},pullAdUrl:function(iframeId){return this.adUrl;},pushAdUrl:function(iframeId,url){var urlSrc=this.adUriPrefix+&quot;adi&quot;;if(this.adUrl===undefined&amp;&amp;url!==''){urlSrc+=this.ca
lculateAdUrl(dj.context.ads.iframe);this.adUrl=urlSrc;}
else{this.adUrl=url;}},calculateAdUrl:function(adType){var adObj=new dj.util.Ads();this.tile=(this.tile&gt;0)?this.tile:adObj.getAdTile('oneForAll');var ordCalculated='';adObj.saveSegQS();if(this.adClass==='A'&amp;&amp;dj.context.ads.adZone===''){dj.context.ads.adZone=this.zone;}
if(this.ordRecalculate=='true'){ordCalculated=adObj.appendOrd(adObj.calculateOrd());}
else{ordCalculated=adObj.getAdOrd('oneForAll');}
var categ=(this.category===undefined)?'':this.category;var userCookie=adObj.getUserCookie(this.adClass);var lMsrc=adObj.getAdMsrc(this.adClass);var lMC=adObj.getMC(this.adClass);var lSegQS=adObj.getSegQS();var adUriSuffix='/'+
adObj.getAdInternationalSite(this.adId,adObj.getAdSite(this.adId,this.site))+'/'+
this.zone+
userCookie+';!category='+
categ+
lMsrc+';'+
lSegQS+
lMC+';tile='+
this.tile;if(adType==dj.context.ads.iframe){adUriSuffix=adUriSuffix+';sz='+this.width+'x'+this.height;}
else{adUriSuffix=adUriSuffix+';sz='+this.size;}
adUriSuffix+=';ord='+ordCalculated+';';return adUriSuffix;}});if(typeof dj==&quot;undefined&quot;){var dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
dj.context.ads.JSAdSwitch=true;dj.context.ads.rsinetsegs=&quot;&quot;;dj.context.ads.segQS=&quot;&quot;;dj.context.ads.isFirstDoubleClickAd=0;dj.context.ads.refCookieVal=&quot;&quot;;dj.context.ads.adZone='';dj.context.ads.iframe='iframe';dj.context.ads.isSafariRefreshEnabled=Prototype.Browser.WebKit;dj.context.ads.randomId4RollAd=Math.random();dj.util.Ads=Class.create({classAdOrd:{},registeredAd:{},adTile:{},adTracking:{},zone:'',storedAd:new Hash(),initialize:function(){},getAdOrd:function(classType){if(this.classAdOrd===undefined){var adOrd=this.calculateOrd();this.classAdOrd=this.appendOrd(adOrd);}
return this.classAdOrd;},removeCachedAd:function(){var ad=this.storedAd;var obj;ad.each(function(pair){obj=pair.value;});this.storedAd=new Hash();},calculateOrd:function(){var intOrd=Math.ceil(32768*Math.random());var adOrd=intOrd.toString();if(adOrd.length!==4){return this.calculateOrd();}
else{return adOrd;}},appendOrd:function(adOrd){return adOrd.times(4);},getArg:function(N){var i=0;var u=&quot;&quot;;u=&quot;&quot;.concat(window.location);u=(u.indexOf(&quot;?&quot;)&gt;-1)?u.split(&quot;?&quot;):&quot;&quot;;u=(u.indexOf(&quot;#&quot;)&gt;-1)?u.split(&quot;#&quot;):u;u=(u.charAt(u.length-1)===&quot;&amp;&quot;)?u.substring(0,u.length-1):u;N+=&quot;=&quot;;while(i&lt;u.length){var j=i+N.length;if(u.substring(i,j)===N){return unescape(u.substring(j,(u.indexOf(&quot;&amp;&quot;,j)==-1)?u.length:u.indexOf(&quot;&amp;&quot;,j)));}
i=u.indexOf(&quot;&amp;&quot;,i)+1;if(i===0){break;}}
return null;},getRandomId:function(){return dj.context.ads.randomId4RollAd;},getAdTile:function(classType){if(this.adTile===undefined){this.adTile=1;}
else{var intTile=this.adTile;this.adTile=++intTile;}
return this.adTile;},getCurrentTile:function(classType){return this.adTile;},getAdMsrc:function(classType){if(!this.isEmpty(this.adTracking.msrc)){return this.adTracking.msrc;}
this.adTracking.msrc=';msrc='+(dj.util.Cookie.getCookie('etsFlag')?dj.util.Cookie.getCookie('etsFlag'):this.getArg('mod'));var msrc=(this.adTracking.msrc===';msrc=null'?'':this.adTracking.msrc);this.adTracking.msrc=msrc;return msrc;},getUserCookie:function(classType){var userCookie=dj.util.Cookie.getCookie('TR');var userRsiCookieVal=dj.util.Cookie.getCookie('rsi_csl');var userValue=';u=';if(this.getCurrentTile('oneForAll')===1){if(userCookie!==null){userValue+=userCookie;}
if(userRsiCookieVal!==null){userValue+='^^'+userRsiCookieVal;}
return userValue;}
return'';},getMC:function(classType){var that=this;var mc=''
dj.util.User.isSubLoggedIn(function(subLoggedIn){if(!subLoggedIn){mc=that.adTracking.mc;if(that.isEmpty(mc)){var mcObj=new dj.util.MarketingZone();var mcCode=mcObj.getZone();mc=';mc='+mcCode;}}});return mc;},getAdInternationalSite:function(adId,site){var adsite=site;var brokerButtons=&quot;brokerbuttons.international.wsj.com&quot;;var wsjRegion=dj.util.Region.getViewByRegion();var intDomain=&quot;&quot;;intDomain=((wsjRegion.indexOf('europe')&gt;=0))?&quot;europe&quot;:intDomain;intDomain=((wsjRegion.indexOf('asia')&gt;=0))?&quot;asia&quot;:intDomain;if(intDomain.empty()){return adsite;}
adsite=adsite.replace(&quot;interactive&quot;,intDomain);if(site===&quot;brokerbuttons.wsj.com&quot;){adsite=brokerButtons.replace(&quot;international&quot;,intDomain);}
return adsite;},getAdSite:function(adId,site){var etsFlag=dj.util.Cookie.getCookie('etsFlag');var siteVal=&quot;&quot;;siteVal=(etsFlag)?&quot;ets.wsj.com&quot;:this.getAdDomainOverride(adId,site);return siteVal;},getAdDomainOverride:function(adId,site){var adsite=site;if(adId==='headerPromoContainer'||adId==='footerPromoContainer'){if(dj.context.ads.refCookieVal===&quot;&quot;){dj.context.ads.refCookieVal=this.getRefCookieVal();}
if((site.indexOf('.wsj.com')&gt;=0)&amp;&amp;!this.isEmpty(dj.context.ads.refCookieVal)){adsite=dj.context.ads.refCookieVal;if(adId==='footerPromoContainer'){adsite='bottom.'+adsite;}}}
return adsite;},getRefCookieVal:function(){var adDomain=dj.util.Cookie.getCookie('adDomain');if(adDomain===null||this.isEmpty(adDomain)){var d=document;var r=d.referrer;if(r&amp;&amp;r!==null&amp;&amp;r!==&quot;&quot;){adDomain='';var adDomains=new Hash({'www.yahoo.com':'yahoo.wsj.com','finance.yahoo.com':'yahoofi.wsj.com','cm.my.yahoo.com':'myyahoo.wsj.com','biz.yahoo.com':'yahoobiz.wsj.com','news.yahoo.com':'yahoonews.wsj.com','news.google.com':'google.wsj.com','moneycentral.msn.com':'msn.wsj.com','msnmoney.com':'msn.wsj.com','news.moneycentral.msn.com':'msn.wsj.com','www.comcast.net':'comcast.wsj.com','autoweek.com':'autoweek.wsj.com','buzz.yahoo.com':'yahoobuzz.wsj.com','www.myspace.com':'myspace.wsj.com','www.foxbusiness.com':'foxbusiness.wsj.com','news.myspace.com':'myspacenews.wsj.com','www.foxnews.com':'foxnews.wsj.com'});var domainSt=r.indexOf('//')+2;var refdom=r.substring(domainSt);var domainEnd=refdom.indexOf('/');refdom=refdom.substring(0,domainEnd);if(adDomains.get(refdom)){adDomain=adDo
mains.get(refdom);}
if(adDomain){dj.util.Cookie.setCookie('adDomain',adDomain);}}}
return adDomain;},saveSegQS:function(){if(!dj.context.ads.segQS.empty()){return;}
var rsiSegment=dj.util.Cookie.getCookie('rsi_segs');var rsiSeg=(rsiSegment)?rsiSegment.split(&quot;|&quot;):&quot;&quot;;rsiSeg.length=rsiSeg.length&lt;20?rsiSeg.length:20;var segQS=rsiSeg.length&gt;0?&quot;s=&quot;+rsiSeg:&quot;&quot;;for(var i=1;i&lt;rsiSeg.length;i++){segQS+=(&quot;;s&quot;+&quot;=&quot;+(rsiSeg?rsiSeg:&quot;&quot;));}
segQS=segQS.replace(/G07608/ig,'8');dj.context.ads.segQS=segQS;},getSegQS:function(){var lenSegQS=0;var that=this;var segQS=dj.context.ads.segQS;dj.util.User.isSubLoggedIn(function(subLoggedIn){var demoQS=null;if(subLoggedIn){try{demoQS=dj.util.ads.Demographics.getUserDemographics();if(demoQS!==null){lenSegQS=(segQS?segQS.length:0);if(lenSegQS&gt;0){segQS=segQS+&quot;;&quot;+(that.isEmpty(demoQS)?'':demoQS);}
else{segQS=demoQS+&quot;;&quot;;}
that.adTracking.segQS=segQS;}}
catch(errMsg){}}
else{}});that.adTracking.segQS=segQS;return this.adTracking.segQS;},registerAd:function(key,value){if(this.registeredAd===undefined){this.registeredAd=value;}
else{var fromRegistry=this.registeredAd;fromRegistry=fromRegistry+&quot;*&quot;+value;this.registeredAd=fromRegistry;}},loadAds:function(key,options){if(this.registeredAd===undefined){}
else{var fromRegistry=this.registeredAd;var adURL=fromRegistry.split(&quot;*&quot;);var utilAdObj=new dj.util.Ads();adURL.each(function(item){var newVal=item.split(&quot;;&quot;);var sepearated=item.toQueryParams(';');var i=0;try{dj.widget.ad.AdManager.deleteAd(newVal+dj.context.ads.iframe);}
catch(e){}
Object.extend(sepearated,options);var adObj=dj.widget.ad.AdManager.createAd(newVal,newVal[++i],{width:sepearated.width,height:sepearated.height,size:sepearated.size,site:sepearated.site,zone:sepearated.zone,adClass:sepearated.adclass,meta:sepearated.meta,frequency:sepearated.frequency,cacheId:sepearated.cacheId,classEnabled:sepearated.classEnabled,classValue:sepearated.classValue,styleValue:sepearated.styleValue,conditionType:sepearated.conditionType,conditionValue:sepearated.conditionValue,conditionalString:sepearated.conditionalString,ordRecalculate:'true'});});}},getRegisteredAdsZone:function(key){if(this.isEmpty(key)||this.isEmpty(this.registeredAd)){return dj.context.ads.adZone;}
else{var fromRegistry=this.registeredAd;var adURL=fromRegistry.split(&quot;*&quot;);adURL.each(function(item){var sepearated=item.toQueryParams(';');return sepearated.zone;});}},modifyAdUrlWithOrd:function(url){var subUrl=url.substring(0,url.indexOf('ord='));var adObj=new dj.util.Ads();var ord=adObj.appendOrd(adObj.calculateOrd());return(subUrl+'ord='+ord);},isEmpty:function(value){try{if(value===undefined){return true;}
if(value===null){return true;}
if(value.blank()){return true;}}
catch(excion){}
return false;}});if(typeof dj.widget.ad==&quot;undefined&quot;){dj.widget['ad']={};}
dj.widget.ad.AdManager=function(){return{createAd:function(id,adType,options){try{var validated=dj.widget.ad.AdManager.validateConditons(id,adType,options);if(validated===true){return;}
var adOb=new dj.widget.ad.Ad(id,adType,options);if(!dj.context.ads.isSafariRefreshEnabled){if(options.frequency!==undefined&amp;&amp;!options.frequency.blank()&amp;&amp;options.frequency&gt;0){options.ordRecalculate='true';dj.widget.ad.AdManager.updateAd(id,adType,options,id+dj.context.ads.iframe);}}
if(options.cacheId!==undefined&amp;&amp;!options.cacheId.blank()){dj.widget.ad.AdManager.storeAd(options.cacheId,{container:id,elementId:id+dj.context.ads.iframe,element:$(id+dj.context.ads.iframe),check:'saving'});}}
catch(e){}},validateConditons:function(id,adType,options){var conditionType=options.conditionType;var conditionValue=options.conditionValue;var status=false;var existingObject=&quot;&quot;;if(conditionType!==undefined&amp;&amp;!conditionType.blank()&amp;&amp;conditionValue!==undefined&amp;&amp;!conditionValue.blank()){if(conditionType===&quot;excludeids&quot;){conditionValue.scan(/\w+/,function(match){existingObject=$(match);if(existingObject!==null){status=true;return;}});}}
return status;},updateAd:function(containerId,adType,options,iframeId){var periodicExc=new PeriodicalExecuter(function(pe){dj.widget.ad.AdManager.deleteAllElementsInContainer(containerId);var adobj=new dj.widget.ad.Ad(containerId,adType,options);},options.frequency);},deleteAllElementsInContainer:function(containerId){try{$(containerId).update();}catch(e){}},deleteAd:function(iframeId){try{$(iframeId).remove();}
catch(e){}},testRefreshAd:function(idRefresh,id){dj.widget.ad.AdManager.deleteAllElementsInContainer(idRefresh);dj.widget.ad.AdManager.refreshAd(id);},refreshAd:function(id){try{var adUtil=new dj.util.Ads();var ad=adUtil.storedAd.get(id);ad.each(function(pair){var obj=pair.value;$(obj.get('container')).insert(obj.get('element'));obj=null;});ad=null;}
catch(e){}},storeAd:function(id,options){try{var adUtil=new dj.util.Ads();var rtrve=adUtil.storedAd.get(id);var hOb=$H({container:options.container,elementId:options.elementId,element:options.element,check:options.check});if(rtrve==undefined){var one=new Hash();one.set(1,hOb);adUtil.storedAd.set(id,one);one=null;}
else{var j=rtrve.keys().size();rtrve.set(++j,hOb);adUtil.storedAd.set(id,rtrve);}
hOb=null;rtrve=null;}
catch(storeEx){}},iframeRefreshOnLoad:function(){var f=document.getElementsByTagName('iframe');for(var i=0;i&lt;f.length;i++){f.src=f.src;}}};}
();if(typeof dj==&quot;undefined&quot;){var dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj['util']={};}
dj.util.MarketingZone=Class.create({mktg_zone:'',partners:['yahoo','google','msn','other'],mktgZone:'',init:function(){this.mktg_zone=$H({&quot;full_denial_bol&quot;:&quot;bol_fullfree&quot;,&quot;full_denial_other_bol&quot;:&quot;bol_fullfree&quot;,&quot;full_denial_yahoo_bol&quot;:&quot;yahoo_bolfullfree&quot;,&quot;full_denial_google_bol&quot;:&quot;google_bolfullfree&quot;,&quot;full_denial_msn_bol&quot;:&quot;msn_bolfullfree&quot;,&quot;full_denial_other&quot;:&quot;wsjexp_fullfree&quot;,&quot;full_denial_yahoo&quot;:&quot;yahoo_wsjexpfullfree&quot;,&quot;full_denial_google&quot;:&quot;google_wsjexpfullfree&quot;,&quot;full_denial_msn&quot;:&quot;msn_wsjexpfullfree&quot;,&quot;full_yahoo&quot;:&quot;yahoo_fullfree&quot;,&quot;full_google&quot;:&quot;google_fullfree&quot;,&quot;full_msn&quot;:&quot;msn_fullfree&quot;,&quot;full_other&quot;:&quot;wsjfreezone&quot;,&quot;denial_bol&quot;:&quot;bol_prev&quot;,&quot;denial_other_bol&quot;:&quot;bol_prev&quot;,&quot;denial_yahoo_bol&quot;:&quot;yahoo_bolprev&quot;,&quot;denial_google_bol&quot;:&quot;google_bolprev&quot;,&quot;denial_msn_bol&quot;:&quot;msn_bolprev&quot;,&quot;denial_other&quot;:&quot;wsjexp_prev&quot;,&quot;denial_yahoo&quot;:&quot;yahoo_wsjexpprev&quot;,&quot;denial_google&quot;:&quot;google_wsjexpprev&quot;,&quot;denial_msn&quot;:&quot;msn_wsjexpprev&quot;,&quot;yahoo&quot;:&quot;yahoo&quot;,&quot;google&quot;:&quot;google&quot;,&quot;msn&quot;:&quot;msn&quot;,&quot;other&quot;:&quot;b2pfreezone&quot;,&quot;other_super&quot;:&quot;b
2pfreezone_super&quot;,&quot;denial_other_super&quot;:&quot;wsjexp_prev_super&quot;,&quot;denial_bol_super&quot;:&quot;bol_prev_super&quot;,&quot;denial_bol_super&quot;:&quot;bol_prev_super&quot;,&quot;yahoo_super&quot;:&quot;yahoo_super&quot;,&quot;denial_yahoo_super&quot;:&quot;yahoo_wsjexpprev_super&quot;,&quot;denial_yahoo_bol_super&quot;:&quot;yahoo_bolprev_super&quot;,&quot;msn_super&quot;:&quot;msn_super&quot;,&quot;denial_msn_super&quot;:&quot;msn_wsjexpprev_super&quot;,&quot;denial_msn_bol&quot;:&quot;msn_bolprev_super&quot;,&quot;google_super&quot;:&quot;google_super&quot;,&quot;denial_google_super&quot;:&quot;google_wsjexpprev_super&quot;,&quot;denial_google_bol_super&quot;:&quot;google_bolprev_super&quot;});},getPartner:function(modparam){var localMod=&quot;&quot;;if(modparam!==null&amp;&amp;modparam.length&gt;0){for(var i=0;i&lt;this.partners.length;i++){if(modparam.indexOf(this.partners)&gt;-1){localMod=this.partners;break;}}}
return((localMod===null||localMod.length&lt;1)?&quot;other&quot;:localMod);},setZone:function(mod){this.mktgZone=this.mktg_zone.get(mod);},getZone:function(){this.setMktgZone();return this.mktgZone;},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 localSuperSnippet=(typeof isSuperSnippet)==='undefined'?false:isSuperSnippet;var modParam=new dj.util.Ads().getArg(&quot;mod&quot;);var whichMod=this.getPartner(modParam);var mod=&quot;&quot;;var localLaserBOL=false;var localLaserWSJ=false;var user=false;dj.util.User.isSubLoggedIn(function(subLoggedIn){if(subLoggedIn){user=true;}});dj.util.User.hasRole('Barrons',function(hasTheRole){if(hasTheRole){localLaserBOL=true;}});dj.util.User.hasRole('WSJ',function(hasTheRole){if(hasTheRole){localLaserWSJ=true;}});if(localDenial===true||localDenial===&quot;true&quot;){mod+=&quot;denial_&quot;;mod+=whichMod;if(localLaserBOL){mo
d+=&quot;_bol&quot;;}}
else{if(user&amp;&amp;!localLaserBOL&amp;&amp;!localLaserWSJ){mod+=&quot;denial_&quot;;mod+=whichMod;}
else{if(document.cookie.indexOf(&quot;reactivation=/myaccount/do/reactivate&quot;)!==-1){mod+=&quot;denial_&quot;;mod+=whichMod;}
else{mod+=whichMod;}}}
if(localFree===true||localFree==='true'||localTrial===true||localTrial==='true'){if(localSuperSnippet===true||localSuperSnippet==='true'){mod+='_super';}
else{mod=&quot;full_&quot;+mod;}}
this.setZone(mod);}});if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.util==&quot;undefined&quot;){dj.util={};}
if(typeof dj.util.ads==&quot;undefined&quot;){dj.util.ads={};}
dj.util.ads.Demographics=function(){var DEMO_COOKIE=&quot;djcs_demo&quot;;var END_OF_INPUT=-1;var base64Count=0;var base64Str=null;var base64Chars=[];var reverseBase64Chars=[];var cachedUserDemographics=null;function initBase64Chars(){base64Chars=['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','0','1','2','3','4','5','6','7','8','9','+','/'];for(var i=0,len=base64Chars.length;i&lt;len;i++){reverseBase64Chars[base64Chars]=i;}}
function readReverseBase64(){if(!base64Str){return END_OF_INPUT;}
while(true){if(base64Count&gt;=base64Str.length){return END_OF_INPUT;}
var nextCharacter=base64Str.charAt(base64Count);base64Count++;if(reverseBase64Chars){return reverseBase64Chars;}
if(nextCharacter=='A'){return 0;}}
return END_OF_INPUT;}
function ntos(n){n=n.toString(16);n=(n.length==1)?(&quot;0&quot;+n):n;n=&quot;%&quot;+n;return unescape(n);}
function parseDemoCookie(cv){if(cv.search(/^V1:/)==-1||cv.length&lt;4){return null;}
return cv.substring(3);}
function demoReadCookie(cookieName){var theCookie=&quot;&quot;+document.cookie;var ind=theCookie.indexOf(cookieName);if(ind===-1||cookieName===&quot;&quot;){return&quot;&quot;;}
var ind1=theCookie.indexOf(';',ind);if(ind1===-1){ind1=theCookie.length;}
return unescape(theCookie.substring(ind+cookieName.length+1,ind1));}
function demoDeleteCookie(name,path,domain){if(demoReadCookie(name)){document.cookie=name+&quot;=&quot;+((path)?&quot;;path=&quot;+path:&quot;&quot;)+((domain)?&quot;;domain=&quot;+domain:&quot;&quot;)+&quot;;expires=Thu, 01-Jan-1970 00:00:01 GMT&quot;;}}
function demoTrimString(sInString){sInString=sInString.replace(/^\s+/g,&quot;&quot;);return sInString.replace(/\s+$/g,&quot;&quot;);}
function base64Decode(str){base64Str=str;base64Count=0;var result=&quot;&quot;;var inBuffer=[];var done=false;while(!done&amp;&amp;(inBuffer=readReverseBase64())!=END_OF_INPUT&amp;&amp;(inBuffer=readReverseBase64())!=END_OF_INPUT){inBuffer=readReverseBase64();inBuffer=readReverseBase64();result+=ntos((((inBuffer&lt;&lt;2)&amp;0xff)|inBuffer&gt;&gt;4));if(inBuffer!=END_OF_INPUT){result+=ntos((((inBuffer&lt;&lt;4)&amp;0xff)|inBuffer&gt;&gt;2));if(inBuffer!=END_OF_INPUT){result+=ntos((((inBuffer&lt;&lt;6)&amp;0xff)|inBuffer));}
else{done=true;}}
else{done=true;}}
return result;}
return{getUserDemographics:function(noCache){noCache=(typeof noCache!==&quot;boolean&quot;)?false:noCache;if(noCache===false&amp;&amp;cachedUserDemographics!==null){return cachedUserDemographics;}
var val=demoReadCookie(DEMO_COOKIE);initBase64Chars();if(!val){return;}
val=demoTrimString(val);if(val.length&lt;0){return null;}
val=base64Decode(val);val=parseDemoCookie(val);if(!val){demoDeleteCookie(DEMO_COOKIE);}
if(val!='!'){cachedUserDemographics=val;return val;}
return null;}};}
();
if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.tree==&quot;undefined&quot;){dj.widget.tree={};}
dj.widget.ProgressBar=Class.create({TYPES:[&quot;horizontal&quot;],initialize:function(container,config){var that=this;this.cfg={indicator:&quot;div&quot;,fps:100,timer:4,type:&quot;horizontal&quot;};Object.extend(this.cfg,(config||{}));this.oCnt=$(container);this.oInd=new Element(this.cfg.indicator);this.oCnt.update(this.oInd);this._pcToPixCache={};this._pba=null;},play:function(){if(this._pba!==null){this._pba.start(this._pba.options);return;}
var that=this;var len=this._pcToPix(100);this._pba=new Effect.Move(this.oInd,{x:len,y:0,fps:1,transition:Effect.Transitions.linear,duration:that.cfg.timer,beforeStart:that.cfg.beforeStart,beforeUpdate:that.cfg.beforeUpdate,afterUpdate:that.cfg.afterUpdate,afterFinish:that.cfg.afterFinish});},pause:function(){if(this._pba===null){return;}
this._pba.cancel();},stop:function(){if(this._pba===null){return;}
this.pause();this._pba.originalLeft=0;this._pba.update(0);},_pcToPix:function(pc,noCache){var cached=this._pcToPixCache;if(!noCache&amp;&amp;typeof cached!==&quot;undefined&quot;){return cached;}
var max=this.oCnt.getWidth();pc=(pc&lt;=100)?pc:100;pc=(pc&gt;=0)?pc:0;var px=(max/100*pc);px=(px&gt;=0)?px:0;this._pcToPixCache=px;return px;}});
if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.panels==&quot;undefined&quot;){dj.widget.panels={};}
if(typeof dj.widget.panels.view==&quot;undefined&quot;){dj.widget.panels.view={};}
if(typeof dj.widget.panels.controller==&quot;undefined&quot;){dj.widget.panels.controller={};}
dj.widget.panels.PanelsFactory={_CONFIG:{core:{panelGroup:&quot;.newsItem&quot;,panel:&quot;&gt; li&quot;,panelPrefix:&quot;panelsPanel_&quot;,panels:undefined,panelToggleStyle:&quot;hidden&quot;,activePanel:undefined,disabledPanels:undefined,panelIncrement:1,viewArea:undefined,paginationContainer:&quot;.pagination&quot;,controller:undefined,enableBrowserHistory:false,animationDuration:0.3},tabs:{tabPrefix:&quot;panelsTab_&quot;,tabGroup:&quot;.newsItem&quot;,tab:&quot;&gt; li&quot;,navContainer:&quot;.nav-inline&quot;,prevButton:&quot;.prev&quot;,nextButton:&quot;.next&quot;,navButtonEnabledStyle:&quot;enabled&quot;,tabOnEvent:&quot;click&quot;,tabOnStyle:&quot;active&quot;,tabOffStyle:&quot;deselected&quot;},carousel:{orientation:&quot;horizontal&quot;,navContainer:&quot;.nav-inline&quot;,prevButton:&quot;.prev&quot;,nextButton:&quot;.next&quot;,prevButtonEnabledStyle:&quot;enabledPrev&quot;,nextButtonEnabledStyle:&quot;enabledNext&quot;},rotator:{rotateTime:8,rotateIterations:3,pauseOnMouseOver:false,pauseButton:&quot;.nav-inline .pause&quot;,pauseButtonEnabledStyle:&quot;enabledPause&quot;,progressBar:&quot;.progressbarBox&quot;}},_panelsType:{NONE:0,SLIDE:1,SWITCH:2},_lookupType:{NONE:0,SELECTOR:1,PREFIX:2},crea
te:function(container,cfg,doIgnoreOptCache){if(!container||(typeof cfg!==&quot;object&quot;)){console.warn(&quot;{Panels} no container or config specified.&quot;);return;}
container=dj.lang.byId(container);if(container&amp;&amp;!doIgnoreOptCache){var optCache=['{',container.id,': ',dj.lang.objectToString(cfg,true),'}'].join('');var cntOpt=container.getAttribute(&quot;djw_optcache&quot;);if(cntOpt){var opts=cntOpt.split(&quot;_&quot;);for(var i=0,len=opts.length;i&lt;len;i++){if(opts==optCache){console.warn(&quot;{Panels} prevented attempt to reinitialize \&quot;&quot;+container.id+&quot;\&quot;.&quot;);return;}}}
if(cntOpt){container.setAttribute(&quot;djw_optcache&quot;,[optCache,cntOpt].join(&quot;_&quot;));}else{container.setAttribute(&quot;djw_optcache&quot;,optCache);}}
try{var mvc=this._setupMvc(container,cfg);this._addCompatibilityMethods(mvc,container,cfg);return mvc.model;}catch(ex){console.warn(ex);return;}},createPanels:function(userCfg){var djwp=dj.widget.panels;var _lookupType=this._lookupType;var _panType=this._panelsType;var model=null,views={},controllers={};var config=dj.lang.clone(this._CONFIG.core);config.container=&quot;&quot;;config.doAddChangeListeners=true;config.panelsType=_panType.SWITCH;config.panelsLookupType=_lookupType.SELECTOR;dj.lang.mixin(config,userCfg);var panels=null;switch(config.panelsLookupType){case _lookupType.PREFIX:panels=this._lookupByPrefix(config.panelPrefix,config.panels);break;case _lookupType.SELECTOR:panels=this._lookupBySelector(config.container,config.panelGroup,config.panel);break;default:return;}
var rotType=(((config.type==djwp.PanelModel.prototype.ROTATION_TYPE.CIRCULAR)||(config.type==&quot;circular&quot;))?djwp.PanelModel.prototype.ROTATION_TYPE.CIRCULAR:djwp.PanelModel.prototype.ROTATION_TYPE.LINEAR);model=new djwp.PanelModel(this._panelsToPanelsDTO(panels),{rotationType:rotType});model.setActiveByPosition(1);var view=null;switch(config.panelsType){case _panType.SLIDE:view=new djwp.view.SlidePanel(model,panels,{animationDuration:config.animationDuration,viewArea:config.viewArea});break;case _panType.SWITCH:view=new djwp.view.Panel(model,panels,{selectedClass:config.selectedPanelClass,deselectedClass:config.deselectedPanelClass});break;}
views.panels=view;if(config.doAddChangeListeners){model.addChangeListener(&quot;success&quot;,view.displayActiveSuccess,view);}
return{&quot;model&quot;:model,&quot;views&quot;:views,&quot;controllers&quot;:controllers};},addModuleNavArrows:function(mvc,userCfg){var _lookupType=this._lookupType;var model=mvc.model;var views=mvc.views;var controllers=mvc.controllers;var config=dj.lang.clone(this._CONFIG.carousel);config.container=&quot;&quot;;config.doAddEvents=true;config.doAddChangeListeners=true;config.doHide=false;dj.lang.mixin(config,userCfg);if(!config.container&amp;&amp;views.panels&amp;&amp;views.panels.getContainer){config.container=views.panels.getContainer();}
var navArrowsLookupType=_lookupType.NONE;if(!config.lookupType){navArrowsLookupType=(config)?_lookupType.SELECTOR:navArrowsLookupType;}else{navArrowsLookupType=config.lookupType;}
var navArrows={},lng=dj.lang;if(navArrowsLookupType==_lookupType.SELECTOR){navArrows.navContainer=lng.query(config.navContainer,config.container);if(navArrows.navContainer){navArrows.prevButton=lng.query(config.prevButton,navArrows.navContainer);navArrows.nextButton=lng.query(config.nextButton,navArrows.navContainer);}else{return;}}else{return;}
if(config.doHide){navArrows.navContainer.style.visibility=&quot;hidden&quot;;return;}
var controller=new dj.widget.panels.controller.NavArrows(model,navArrows);controllers.navArrows=controller;var view=new dj.widget.panels.view.NavArrows(model,navArrows);view.displayActiveSuccess();views.navArrows=view;if(config.doAddEvents){controller.addEvents();}
if(config.doAddChangeListeners){model.addChangeListener(&quot;success&quot;,view.displayActiveSuccess,view);}},addModuleNavTabs:function(mvc,userCfg){var _lookupType=this._lookupType;var model=mvc.model;var views=mvc.views;var controllers=mvc.controllers;var config=dj.lang.clone(this._CONFIG.tabs);config.container=&quot;&quot;;config.panels=this._CONFIG.core.panels;config.doAddEvents=true;config.doAddChangeListeners=true;dj.lang.mixin(config,userCfg);if(!config.container&amp;&amp;views.panels&amp;&amp;views.panels.getContainer){config.container=views.panels.getContainer();}
var navTabsLookupType=_lookupType.NONE;if(!config.lookupType){navTabsLookupType=(userCfg)?_lookupType.SELECTOR:navTabsLookupType;navTabsLookupType=(userCfg&amp;&amp;userCfg.tabPrefix)?_lookupType.PREFIX:navTabsLookupType;}else{navTabsLookupType=config.lookupType;}
var navTabs=null;switch(navTabsLookupType){case _lookupType.PREFIX:navTabs=this._lookupByPrefix(config.tabPrefix,config.panels);break;case _lookupType.SELECTOR:navTabs=this._lookupBySelector(config.container,config.tabGroup,config.tab);break;default:return;}
var view=new dj.widget.panels.view.Panel(model,navTabs,{selectedClass:config.tabOnStyle,deselectedClass:config.tabOffStyle});var controller=new dj.widget.panels.controller.NavTabs(model,navTabs,{activeEvent:config.tabOnEvent});views.navTabs=view;controllers.navTabs=controller;if(config.doAddEvents){controller.addEvents();}
if(config.doAddChangeListeners){model.addChangeListener(&quot;success&quot;,view.displayActiveSuccess,view);}},addModulePagination:function(mvc,userCfg){var config={},djLang=dj.lang;var model=mvc.model,views=mvc.views;dj.lang.mixin((config={container:&quot;&quot;,doAddChangeListeners:true,paginationContainer:this._CONFIG.core.paginationContainer,doHide:false}),userCfg);if(!config.container&amp;&amp;views.panels&amp;&amp;views.panels.getContainer){config.container=views.panels.getContainer();}
var oPaginationCnt=djLang.query(config.paginationContainer,config.container);if(!oPaginationCnt){return;}
if(config.doHide){oPaginationCnt.style.visibility=&quot;hidden&quot;;return;}
var view=new dj.widget.panels.view.Pagination(model,oPaginationCnt);view.displayActiveSuccess();views.pagination=view;if(config.doAddChangeListeners){model.addChangeListener(&quot;success&quot;,view.displayActiveSuccess,view);}},addModuleTimer:function(mvc,userCfg){var config=dj.lang.clone(this._CONFIG.rotator);config.container=&quot;&quot;;config.doAddEvents=true;dj.lang.mixin(config,userCfg);var controllers=mvc.controllers;controllers.timer=new dj.widget.panels.controller.Timer(mvc.model,config);if(config.doAddEvents){controllers.timer.addEvents();}},addModuleBrowserHistory:function(mvc,userCfg){var config={};dj.lang.mixin((config={doAddEvents:true}),userCfg);var controllers=mvc.controllers;controllers.browserHistory=new dj.widget.panels.controller.History(mvc.model,config);if(config.doAddEvents){controllers.browserHistory.addEvents();}},addController:function(mvc,cMvc){if(!cMvc||!cMvc.model||!cMvc.model.addChangeListener||!mvc||!mvc.model){throw new Error(&quot;{Panels.addController} mvc and/or co
ntroller is invalid.&quot;);}
var model=mvc.model;var controller=cMvc.model;controller.addChangeListener(&quot;success&quot;,function(panel){model.setActive(panel);});},_setupMvc:function(container,userConfig){var oCnt=dj.lang.byId(container);container=(oCnt.id||container);var config=dj.lang.clone(this._CONFIG);dj.lang.mixin(config,userConfig);var _panType=this._panelsType;var _lookType=this._lookupType;var typeCfg={};typeCfg.panelsType=_panType.NONE;typeCfg.panelsType=(userConfig.core)?_panType.SWITCH:typeCfg.panelsType;typeCfg.panelsType=(userConfig.carousel)?_panType.SLIDE:typeCfg.panelsType;typeCfg.panelsLookupType=_lookType.SELECTOR;typeCfg.panelsLookupType=(userConfig.core&amp;&amp;userConfig.core.panelPrefix)?_lookType.PREFIX:typeCfg.panelsLookupType;typeCfg.navTabsLookupType=_lookType.NONE;typeCfg.navTabsLookupType=(userConfig.tabs)?_lookType.SELECTOR:typeCfg.navTabsLookupType;typeCfg.navTabsLookupType=(userConfig.tabs&amp;&amp;userConfig.tabs.tabPrefix)?_lookType.PREFIX:typeCfg.navTabsLookupType;typeCfg.navArrowsLookupTyp
e=_lookType.NONE;typeCfg.navArrowsLookupType=(userConfig.carousel)?_lookType.SELECTOR:typeCfg.navArrowsLookupType;typeCfg.navArrowsLookupType=(userConfig.tab&amp;&amp;userConfig.tab.navContainer)?_lookType.SELECTOR:typeCfg.navArrowsLookupType;typeCfg.hasController=(userConfig.core&amp;&amp;(typeof userConfig.core.controller==&quot;object&quot;));typeCfg.hasNavArrows=(typeCfg.navArrowsLookupType!==_lookType.NONE);typeCfg.hasNavTabs=(typeCfg.navTabsLookupType!==_lookType.NONE);typeCfg.hasTimer=(typeof userConfig.rotator==&quot;object&quot;&amp;&amp;userConfig.rotator.rotateTime&gt;0);typeCfg.hasBrowserHistory=(config.core.enableBrowserHistory);var panelsCfg={container:oCnt,doAddChangeListeners:false,panelsType:typeCfg.panelsType,panelsLookupType:typeCfg.panelsLookupType};dj.lang.mixin(panelsCfg,config.core);if(typeCfg.panelsType==_panType.SWITCH){dj.lang.mixin(panelsCfg,config.tabs);}else if(typeCfg.panelsType==_panType.SLIDE){dj.lang.mixin(panelsCfg,config.carousel);}
var mvc=this.createPanels(panelsCfg);var model=mvc.model;var views=mvc.views;var controllers=mvc.controllers;if(model.getNumberOfPanels()==-1){throw new Error(&quot;{Panels} container \&quot;&quot;+container+&quot;\&quot; has no panels.&quot;);}
if(typeCfg.hasNavTabs){var navTabCfg=config.tabs;navTabCfg.container=oCnt;navTabCfg.panels=config.core.panels;navTabCfg.doAddEvents=false;navTabCfg.doAddChangeListeners=false;navTabCfg.lookupType=typeCfg.navTabsLookupType;this.addModuleNavTabs(mvc,navTabCfg);}
if(typeCfg.hasNavArrows){var navArrCfg=config.carousel;navArrCfg.container=oCnt;navArrCfg.doAddEvents=false;navArrCfg.doAddChangeListeners=false;navArrCfg.lookupType=typeCfg.navArrowsLookupType;navArrCfg.doHide=((typeCfg.panelsType==_panType.SLIDE)&amp;&amp;(views.panels.getViewArea()&gt;=model.getNumberOfPanels()));this.addModuleNavArrows(mvc,navArrCfg);}
if(typeCfg.panelsType==_panType.SLIDE&amp;&amp;(views.panels.getViewArea()==1)){var paginCfg={container:oCnt,paginationContainer:config.core.paginationContainer,doAddEvents:false,doAddChangeListeners:false,doHide:(views.panels.getViewArea()!==1)};this.addModulePagination(mvc,paginCfg);}
if(typeCfg.hasTimer){var timerCfg=config.rotator;timerCfg.container=oCnt;timerCfg.doAddEvents=false;this.addModuleTimer(mvc,timerCfg);}
if(typeCfg.hasBrowserHistory){var histConf={container:(typeCfg.panelsLookupType==_lookType.SELECTOR)?oCnt.id:container,doAddEvents:false};this.addModuleBrowserHistory(mvc,histConf);}
if(typeCfg.hasController){this.addController(mvc,config.core.controller);}
var view=null;for(var viewName in views){if(views.hasOwnProperty(viewName)){view=views;if(view.displayActiveSuccess){model.addChangeListener(&quot;success&quot;,view.displayActiveSuccess,view);}
if(view.displayActiveFailure){model.addChangeListener(&quot;failure&quot;,view.displayActiveFailure,view);}}}
var controller=null;for(var controllerName in controllers){if(controllers.hasOwnProperty(controllerName)){controller=controllers;controller.addEvents();}}
if(!typeCfg.hasBrowserHistory&amp;&amp;typeCfg.panelsType==_panType.SWITCH){model.setActiveByPosition(1);}
return mvc;},_addCompatibilityMethods:function(mvc,container,config){if(typeof mvc.model.update===&quot;undefined&quot;){var that=this;mvc.model.update=function(){for(var i=0,len=mvc.controllers.length;i&lt;len;i++){mvc.controllers.removeEvents();}
return that.create((container.id||container),config,true);};}
if(mvc.controllers&amp;&amp;mvc.controllers.navTabs){var tabs=mvc.controllers.navTabs._tabs,djLang=dj.lang;mvc.model.observeTabs=function(callback,eventType){var cbBridge=function(ev){var tid=(ev.srcElement||ev.target).getAttribute(&quot;djw_tabId&quot;);if(mvc.controllers.navTabs._cfg.doStopEvent===true){djLang.stopEvent(ev);}
tid=(isNaN(parseInt(tid,10)))?tid:(mvc.model.getById(tid).getPosition()+&quot;&quot;);callback.call(null,tid,mvc.model);};for(var tid in tabs){if(tabs.hasOwnProperty(tid)){djLang.addEvent((tabs).getElement(),eventType,cbBridge);}}};}
mvc.model.model=mvc.model;mvc.model.views=mvc.views;mvc.model.controllers=mvc.controllers;},_panelsToPanelsDTO:function(panels){var elms={};for(var panId in panels){if(panels.hasOwnProperty(panId)){var pan=panels;elms=new dj.widget.panels.PanelDTO(pan.getId(),pan.getPosition());}}
return elms;},_lookupByPrefix:function(prefix,names){var elms={};for(var i=0,len=names.length,id=null,el=null,pos=1;i&lt;len;i++){id=names;el=dj.lang.byId(prefix+id);if(el===null||el.firstChild===null){continue;}
elms=new dj.widget.panels.Panel(id,pos++,el);}
return elms;},_lookupBySelector:function(container,group,node){if(!container||container===null){throw new Error('{dj.util.Panels} container for group: &quot;'+group+'&quot; is undefined.');}
var oCnt=dj.lang.byId(container);var oPanels=dj.lang.query((group+' '+node),oCnt);var elms={};for(var i=0,len=oPanels.length,el=null,pos=1;i&lt;len;i++){el=oPanels;if(el===null||(el.tagName!==&quot;IMG&quot;&amp;&amp;el.firstChild===null)){continue;}
elms[pos-1]=new dj.widget.panels.Panel(pos-1,pos++,el);}
return elms;}};(function(){var _dwp=dj.widget.panels;(_dwp.PanelDTO=function(id,position){this._id=null;this._position=null;if(typeof id!==&quot;undefined&quot;){this.setId(id);}
if(typeof position!==&quot;undefined&quot;){this.setPosition(position);}}).prototype={getId:function(){return this._id;},setId:function(id){if(typeof id===&quot;undefined&quot;){throw new Error(&quot;ID must be defined.&quot;);}
this._id=id;},getPosition:function(){return this._position;},setPosition:function(position){if(typeof position!==&quot;number&quot;){throw new TypeError(&quot;Position must be a number.&quot;);}
this._position=position;}};_dwp.Panel=function(id,position,element){dj.widget.panels.PanelDTO.call(this,id,position);this._element=null;if(typeof element!==&quot;undefined&quot;){this.setElement(element);}};dj.lang.extend(_dwp.Panel,_dwp.PanelDTO);dj.lang.mixin(_dwp.Panel.prototype,{getElement:function(){return this._element;},setElement:function(element){if(typeof element!==&quot;object&quot;){throw new TypeError(&quot;Element must be an object.&quot;);}
this._element=element;}});}());(dj.widget.panels.PanelModel=function(panels,cfg){this._cfg=dj.lang.cloneMixin(this.DEFAULT_CONFIG,cfg);this._hPanels={};this._panelIds=[];this._prevInHistory=null;this._lastPosition=1;this._activePanel=null;this._activePanelObserver=new dj.util.Observer();this._direction=this.DIRECTION.NEXT;this._isLocked=false;this._lockObserver=0;if(panels){this.addPanels(panels);}}).prototype={ROTATION_TYPE:{LINEAR:0,CIRCULAR:1},DIRECTION:{PREVIOUS:0,NEXT:1},DEFAULT_CONFIG:{rotationType:0},addPanel:function(panelId){var panel=new dj.widget.panels.Panel(panelId,this._lastPosition);this._panelIds[this._lastPosition]=panel.getId();this._hPanels=panel;this._lastPosition++;},addPanels:function(panels){var that=this;for(var pid in panels){if(panels.hasOwnProperty(pid)){var panel=panels;var panelId=panel.getId();that._panelIds[that._lastPosition]=panelId;that._hPanels=panel;that._lastPosition++;}}},hasId:function(panelId){return(typeof this._
hPanels!==&quot;undefined&quot;);},hasPosition:function(panelPosition){return((panelPosition&gt;0)&amp;&amp;(panelPosition&lt;this._panelIds.length));},getById:function(panelId){if(!this.hasId(panelId)){throw new Error(&quot;NoSuchElementException&quot;);}
return this._hPanels;},getByPosition:function(panelPosition){if(!this.hasPosition(panelPosition)){if(this._cfg.rotationType===this.ROTATION_TYPE.CIRCULAR){var numOfPan=this.getNumberOfPanels();panelPosition=(panelPosition%numOfPan);panelPosition=(panelPosition===0)?numOfPan:panelPosition;}else{return;}}
var pid=this._panelIds;return this._hPanels;},getActive:function(){return this._activePanel;},getPrevInHistory:function(){return this._prevInHistory;},getAll:function(){var values=[];for(var value in this._hPanels){if(this._hPanels.hasOwnProperty(value)){values.push(this._hPanels);}}
return values;},getNumberOfPanels:function(){return(this._panelIds.length-1);},getDirection:function(){return this._direction;},setDirection:function(dir){if(dir&lt;0||dir&gt;1){throw new Error(&quot;IndexOutOfBoundsException&quot;);}
this._direction=dir;},getRotationType:function(){return this._cfg.rotationType;},setActive:function(panel){if(panel&amp;&amp;panel.getId){this.setActiveById(panel.getId());}},setActiveById:function(panelId){if(!this.hasId(panelId)){this._activePanelObserver.fireByName(&quot;failure&quot;,panelId);return;}
var panel=this.getById(panelId);this._prevInHistory=this._activePanel;this._activePanel=panel;this._activePanelObserver.fireByName(&quot;success&quot;,panel);},setActiveByPosition:function(panelPosition){if(!this.hasPosition(panelPosition)){if(this._cfg.rotationType===this.ROTATION_TYPE.CIRCULAR){var numOfPan=this.getNumberOfPanels();panelPosition=(panelPosition%numOfPan);panelPosition=(panelPosition===0)?numOfPan:panelPosition;}else{this._activePanelObserver.fireByName(&quot;failure&quot;,panelPosition);return;}}
var pid=this._panelIds;this.setActiveById(pid);},addChangeListener:function(event,listener,context){if(arguments.length&lt;3&amp;&amp;(typeof event===&quot;function&quot;)){context=listener;listener=event;event=&quot;success&quot;;}
context=(typeof context!==&quot;undefined&quot;)?context:this;this._activePanelObserver.subscribeByName(event,listener,context);},isLocked:function(){return this._isLocked;},addLockListener:function(obs,context){this._lockObserver={cb:obs,ctx:context};},doLock:function(){this._isLocked=true;},releaseLock:function(){this._isLocked=false;if(this._lockObserver&amp;&amp;typeof this._lockObserver.cb==&quot;function&quot;){this._lockObserver.cb.call(this._lockObserver.ctx);}},getViewArea:function(){return this._viewArea;},setViewArea:function(va){this._viewArea=va;},getActivePanel:function(){return this.getActive().getId();},setActivePanel:function(pid){var meth=(typeof pid==&quot;string&quot;)?this.setActiveById:this.setActiveByPosition;return meth.call(this,pid);},hasPanel:function(panel){var pid=(panel.getId)?panel.getId():panel;return this.hasId(pid);},observePanels:function(callback){this.addChangeListener(function(panel){callback.apply(this,[panel.getId(),panel.getId()]);},this);}};(dj.widget.panels.view.Panel=fu
nction(model,panels,cfg){this._cfg=dj.lang.cloneMixin(this.DEFAULT_CONFIG,cfg);this._model=model;this._oPanels=panels;}).prototype={DEFAULT_CONFIG:{selectedClass:&quot;&quot;,deselectedClass:&quot;hidden&quot;},displayActiveSuccess:function(panel){this._deselectAllExcept(panel);this._select(panel);},getContainer:function(){if(this._oCnt){return this._oCnt;}
if(this._cfg.container&amp;&amp;this._cfg.container!==&quot;&quot;){this._oCnt=dj.lang.byId(this._cfg.container);return this._oCnt;}
if(this._oPanelGroup){this._oCnt=this._oPanelGroup.parentNode;return this._oCnt;}
var ap=this._model.getByPosition(1);var el=this._oPanels[ap.getId()];if(!el.parentNode||!el.parentNode.parentNode){return null;}
var grp=el.parentNode;this._oCnt=grp.parentNode;return this._oCnt;},_deselectAllExcept:function(panelNotToHide){var panel=null;for(var pid in this._oPanels){if(this._oPanels.hasOwnProperty(pid)){panel=this._oPanels;if(panelNotToHide.getId()==pid){continue;}
dj.lang.removeClassName(panel.getElement(),this._cfg.selectedClass);dj.lang.addClassName(panel.getElement(),this._cfg.deselectedClass);}}},_select:function(panel){var pid=panel.getId();var oPan=this._oPanels;if(!oPan){return;}
dj.lang.removeClassName(oPan.getElement(),this._cfg.deselectedClass);dj.lang.addClassName(oPan.getElement(),this._cfg.selectedClass);}};(dj.widget.panels.view.SlidePanel=function(model,panels,cfg){this._cfg=dj.lang.cloneMixin(this.DEFAULT_CONFIG,cfg);this._model=model;this._panels=panels;this._isSetupDone=false;this._animation=null;this._deltaMap=[];}).prototype={DEFAULT_CONFIG:{animationDuration:0.3,animationType:&quot;slide&quot;},_getDelta:function(prevPanel,currPanel){var x=this._deltaMap[prevPanel.getPosition()];if(x){var y=x[currPanel.getPosition()];if(y){return y;}}
var pp=prevPanel.getPosition();var cp=currPanel.getPosition();var isInc=((cp-pp)&gt;0);var ppl=this._panels[prevPanel.getId()].getElement().offsetLeft;var cpl=this._panels[currPanel.getId()].getElement().offsetLeft;var delta=isInc?(cpl-ppl):(ppl-cpl);delta*=((isInc)?-1:1);this._deltaMap=(this._deltaMap||[]);this._deltaMap=delta;return delta;},displayActiveSuccess:function(activePanel){var model=this._model;model.doLock();if(!this._isSetupDone){this._setCoreValues();if(this._isRotationCircular){this._circularLoopSetup();}
this._isSetupDone=true;}
var prevPanel=model.getPrevInHistory();var prvPos=prevPanel.getPosition(),avePos=activePanel.getPosition();var afterFin=function(){model.releaseLock();},beforeStr=function(){};var isIncreasing=(model.getDirection()==model.DIRECTION.NEXT);var delta=0;var that=this;if(this._isRotationCircular){var isIncFlip=false;var isDecrFlip=false;if(isIncreasing&amp;&amp;(prvPos==this._numberOfPanels)&amp;&amp;(avePos==1)){isIncFlip=true;delta=-this._panelWidth;}else if(!isIncreasing&amp;&amp;(prvPos==1)&amp;&amp;(avePos==this._numberOfPanels)){isDecrFlip=true;delta=this._panelWidth;}else{delta=this._getDelta(prevPanel,activePanel);}
afterFin=function(){if(isIncFlip){that._oPanelGroup.style.left=&quot;0px&quot;;}
model.releaseLock();};beforeStr=function(){if(isDecrFlip){var mv=-that._getDelta(activePanel,prevPanel)-that._panelWidth;that._oPanelGroup.style.left=mv+&quot;px&quot;;}};}else{delta=this._getDelta(prevPanel,activePanel);}
var animCfg={x:delta,y:0,duration:that._cfg.animationDuration,afterFinish:afterFin,beforeStart:beforeStr};if(this._animation===null){this._animation=new Effect.Move(this._oPanelGroup,animCfg);}
else{this._animation.start(animCfg);}},getContainer:function(){if(this._oCnt){return this._oCnt;}
if(this._cfg.container&amp;&amp;this._cfg.container!==&quot;&quot;){this._oCnt=dj.lang.byId(this._cfg.container);return this._oCnt;}
if(this._oPanelGroup){this._oCnt=this._oPanelGroup.parentNode;return this._oCnt;}
var ap=this._model.getByPosition(1);var el=ap.getElement();if(!el.parentNode||!el.parentNode.parentNode){return null;}
var grp=el.parentNode;this._oCnt=grp.parentNode;return this._oCnt;},getViewArea:function(){if(!this._viewArea){if(typeof this._cfg.viewArea==&quot;number&quot;){this._viewArea=this._cfg.viewArea;}else{var djL=dj.lang;var el=(this._panels[this._model.getByPosition(1).getId()]).getElement();var cnt=el.parentNode.parentNode;this._viewArea=Math.round(djL.coords(cnt).w/djL.coords(el).w);this._model.setViewArea(this._viewArea);}}
return this._viewArea;},_setCoreValues:function(){if(this._isCoreValuesSet){return;}
var model=this._model,ap=this._panels[model.getByPosition(1).getId()];this._oPanelGroup=ap.getElement().parentNode;this._numberOfPanels=model.getNumberOfPanels();this._isRotationCircular=(model.getRotationType()==model.ROTATION_TYPE.CIRCULAR);this._panelWidth=dj.lang.coords(ap.getElement()).w;this._isCoreValuesSet=true;},_circularLoopSetup:function(){for(var i=1,element=null,clone=null,len=this.getViewArea();i&lt;=len;i++){element=this._panels[this._model.getByPosition(i).getId()].getElement();clone=element.cloneNode(true);this._oPanelGroup.appendChild(clone);}}};(dj.widget.panels.view.Pagination=function(model,pagCnt){this._model=model;this._pagCnt=pagCnt;}).prototype={displayActiveSuccess:function(){var ap=this._model.getActive();var num=this._model.getNumberOfPanels();this._pagCnt.innerHTML=ap.getPosition()+&quot;/&quot;+num;}};(dj.widget.panels.view.NavArrows=function(model,nav,cfg){this._cfg=dj.lang.cloneMixin(this.DEFAULT_CONFIG,cfg);this._model=model;this._nav=nav;}).prototype={DEF
AULT_CONFIG:{prevButtonEnabledStyle:&quot;enabledPrev&quot;,nextButtonEnabledStyle:&quot;enabledNext&quot;},displayActiveSuccess:function(panel){var mod=this._model,lng=dj.lang;var pp=mod.getByPosition(mod.getActive().getPosition()-1);if(!pp){lng.removeClassName(this._nav.prevButton,this._cfg.prevButtonEnabledStyle);}
else{lng.addClassName(this._nav.prevButton,this._cfg.prevButtonEnabledStyle);}
var np=mod.getByPosition(mod.getActive().getPosition()+mod.getViewArea());if(!np){lng.removeClassName(this._nav.nextButton,this._cfg.nextButtonEnabledStyle);}
else{lng.addClassName(this._nav.nextButton,this._cfg.nextButtonEnabledStyle);}}};(dj.widget.panels.controller.NavTabs=function(model,tabs,cfg){this._model=model;this._tabs=tabs;dj.lang.mixin((this._cfg={activeEvent:&quot;click&quot;,doStopEvent:true}),cfg);}).prototype={setActive:function(tid){this._model.setActiveById(tid);},addEvents:function(doRemoveEvents){var tidAttName=&quot;djw_tabId&quot;;var evm=(doRemoveEvents)?dj.lang.removeEvent:dj.lang.addEvent;var that=this;this._eventBridge=this._eventBridge||function(ev){var tid=(ev.srcElement||ev.target).getAttribute(tidAttName);if(that._cfg.doStopEvent===true){dj.lang.stopEvent(ev);}
that.setActive(tid);};for(var tid in this._tabs){if(this._tabs.hasOwnProperty(tid)){var tab=this._tabs;var oTab=tab.getElement();oTab.setAttribute(tidAttName,tab.getId());for(var i=0,len=oTab.childNodes.length;i&lt;len;i++){var node=oTab.childNodes;if(node.nodeType!=1){continue;}
node.setAttribute(tidAttName,tab.getId());}
evm(tab.getElement(),that._cfg.activeEvent,this._eventBridge);}}},removeEvents:function(){this._addEvents(true);}};(dj.widget.panels.controller.NavArrows=function(model,nav,cfg){this._cfg=dj.lang.cloneMixin(this.DEFAULT_CONFIG,cfg);this._model=model;this._nav=nav;this._procs=[];}).prototype={DEFAULT_CONFIG:{prevButtonEnabledStyle:&quot;enabledPrev&quot;,nextButtonEnabledStyle:&quot;enabledNext&quot;,doStopEvent:true,panelIncrement:1},setPreviousActive:function(){if(this._model.isLocked()){this._enqueueProc(this.setPreviousActive);return;}
this._model.setDirection(this._model.DIRECTION.PREVIOUS);this._model.setActiveByPosition(this._model.getActive().getPosition()-this._cfg.panelIncrement);},setNextActive:function(){var mdl=this._model;if(mdl.isLocked()){this._enqueueProc(this.setNextActive);return;}
var nxt=mdl.getByPosition(this._model.getActive().getPosition()+this._cfg.panelIncrement);if(mdl.getRotationType()==mdl.ROTATION_TYPE.LINEAR){var hasMore=(((mdl.getNumberOfPanels()-mdl.getViewArea())-mdl.getActive().getPosition())&gt;=0);if(hasMore===false){return;}}
mdl.setDirection(mdl.DIRECTION.NEXT);mdl.setActiveByPosition(nxt.getPosition());},addEvents:function(){this._addEvent(this._nav.prevButton,&quot;prev&quot;);this._addEvent(this._nav.nextButton,&quot;next&quot;);},removeEvents:function(){this._removeEvent(this._nav.prevButton,&quot;prev&quot;);this._removeEvent(this._nav.nextButton,&quot;next&quot;);},_enqueueProc:function(proc){this._procs.push(proc);this._model.addLockListener(function(){var pr=this._procs.shift();if(pr){pr.call(this);}},this);},_setActiveByType:function(type){var proc=(type==&quot;prev&quot;)?this.setPreviousActive:this.setNextActive;proc.call(this);},_removeEvent:function(oBtn,btnType){this._addEvent(oBtn,btnType,true);},_addEvent:function(oBtn,btnType,doRemoveEvent){var btnTypeAttName=&quot;djw_btnType&quot;;var evm=(doRemoveEvent)?dj.lang.removeEvent:dj.lang.addEvent;var that=this;this._beginEventBridge=this._eventBridge||function(ev){var type=(ev.srcElement||ev.target).getAttribute(btnTypeAttName);if(that._cfg.doStopEvent===true){dj.lang.stopEvent(ev);}
if(!that._nextInterval||that._nextInterval===null){that._setActiveByType(type);}
that._nextInterval=setInterval(function(){that._setActiveByType(type);},400);};this._endEventBridge=this._endEventBridge||function(ev){clearInterval(that._nextInterval);that._nextInterval=null;};this._stopEventBridge=this._stopEventBridge||function(ev){if(that._cfg.doStopEvent===true){dj.lang.stopEvent(ev);}};oBtn.setAttribute(btnTypeAttName,btnType);for(var i=0,len=oBtn.childNodes.length,node=null;i&lt;len;i++){node=oBtn.childNodes;if(node.nodeType!=1){continue;}
node.setAttribute(btnTypeAttName,btnType);}
evm(oBtn,&quot;click&quot;,this._stopEventBridge);evm(oBtn,'mousedown',this._beginEventBridge);evm(oBtn,'mouseup',this._endEventBridge);evm(oBtn,'mouseout',this._endEventBridge);}};(dj.widget.panels.controller.History=function(model,cfg){this._isEnabled=false;this._model=model;this._cfg=cfg||{};this._container=cfg.container;this._cfg.doSetActive=(typeof this._cfg.doSetActive===&quot;boolean&quot;)?this._cfg.doSetActive:true;}).prototype={isEnabled:function(){return this._isEnabled;},addEvents:function(){if(this._isEnabled){console.warn(&quot;{Panels} browser-history has already been enabled for \&quot;&quot;+this._container+&quot;\&quot;&quot;);return;}else{console.info(&quot;{Panels} browser-history enabled for \&quot;&quot;+this._container+&quot;\&quot;&quot;);this._isEnabled=true;}
var hist=dj.util.History;hist.init();var model=this._model;var pid=hist.get(this._container);var panelId=&quot;&quot;;if((typeof pid===&quot;string&quot;)&amp;&amp;model.hasId(pid)){panelId=pid;}else if(model.hasPosition(1)){panelId=model.getByPosition(1).getId();}else{console.warn(&quot;{Panels} browser-history failed. No panels found.&quot;);return;}
if(this._cfg.doSetActive){model.setActiveById(panelId);}
var fromHist=false;hist.subscribe(&quot;_init&quot;,function(){fromHist=true;model.setActiveById(panelId);});hist.subscribe(this._container,function(tid){fromHist=true;model.setActiveById(tid);});var that=this;model.addChangeListener(function(panel){if(fromHist){fromHist=false;return;}
hist.set(that._container,panel.getId());});}};(dj.widget.panels.controller.Timer=function(model,cfg){this._model=model;dj.lang.mixin((this._cfg={rotateTime:4,rotateIterations:3,progressBar:&quot;.progressbarBox&quot;}),cfg);}).prototype={addEvents:function(){this._setupProgressBars();this._startTimer(this._cfg.rotateTime);this._addEvents();},removeEvents:function(){this._addEvents(true);},_setupProgressBars:function(){var progressBar=this._cfg.progressBar;var rotateTime=this._cfg.rotateTime;var pbs=[];var oPb=dj.lang.query(progressBar,this._cfg.container);for(var i=0,len=oPb.length;i&lt;len;i++){pbs.push(new dj.widget.ProgressBar(oPb,{timer:rotateTime}));}
this._pbState=&quot;mt&quot;;this._pbIrupt=false;this._progressBars=pbs;var activePos=this._model.getActive().getPosition()-1;var ipb=this._progressBars;if(ipb){ipb.play();}},_startTimer:function(seconds){if(((typeof this._intervalId!=&quot;undefined&quot;)&amp;&amp;(this._intervalId!==null))||(typeof seconds==&quot;undefined&quot;)||(seconds===0)){return;}
var model=this._model;var nextPanel=null;this._maxIter=this._maxIter||(this._cfg.rotateIterations*model.getNumberOfPanels());this._iteration=(this._iteration||1);var that=this;this._intervalId=setInterval(function(){if(that._iteration&gt;that._maxIter){that._intervalId=null;return;}
nextPanel=(model.getByPosition(model.getActive().getPosition()+1)||model.getByPosition(1));model.setActive(nextPanel);var pb=that._progressBars[nextPanel.getPosition()-1];if(typeof pb!==&quot;undefined&quot;){if(that._pbIrupt===false){pb.stop();pb.play();}else{pb.pause();}}
that._iteration++;},seconds*1000);},_addEvents:function(doRemoveEvents){var addEvent=(doRemoveEvents)?dj.lang.removeEvent:dj.lang.addEvent;var that=this;addEvent(this._cfg.container,&quot;mouseover&quot;,function(){var tid=that._model.getActive().getPosition();that._pause(tid);});addEvent(this._cfg.container,&quot;mouseout&quot;,function(){var tid=that._model.getActive().getPosition();that._play(tid);});},_play:function(tabNum){if(this._pbState===&quot;mt&quot;){return;}else{this._pbState=&quot;mt&quot;;}
this._pbIrupt=true;this._startTimer(this._cfg.rotateTime);this._pbIrupt=false;var pb=this._progressBars[tabNum-1];if(pb){pb.play();}},_pause:function(tabNum){if(this._pbState===&quot;mr&quot;){return;}else{this._pbState=&quot;mr&quot;;}
if(this._intervalId){clearInterval(this._intervalId);this._intervalId=null;}
var pb=this._progressBars[tabNum-1];if(pb){pb.pause();}}};
if(typeof dj===&quot;undefined&quot;){dj={};}
if(typeof dj.widget===&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.panel===&quot;undefined&quot;){dj.widget.panel={};}
dj.widget.panel.ModalPanel=Class.create({DEFAULT_CONFIG:{OPEN_MODAL_PANEL_EVENT_OPTION:{key:&quot;openModalPanelEvent&quot;,value:&quot;mouseover&quot;},CLOSE_MODAL_PANEL_EVENT_OPTION:{key:&quot;closeModalPanelEvent&quot;,value:&quot;mouseout&quot;},CLOSE_MODAL_PANEL_BUTTON_SELECTOR:{key:&quot;closeModalPanelButtonSelector&quot;,value:null},CLOSE_MODAL_PANEL_EVENT_FOR_BUTTON_SELECTOR:{key:&quot;closeModalPanelEventForButtonSelector&quot;,value:null}},initialize:function(modalId,modalContainer,config){this.oModalId=$(modalId);this.oModalContainer=$(modalContainer);this.observeOpenModalPanel=new dj.util.Observer();this.observeCloseModalPanel=new dj.util.Observer();this.cfg=new dj.util.Config(this);this._setupConfig();if(config){this.cfg.applyConfig(config,true);}
this.cfg.fireQueue();if(this.oModalId===null){this._setupTargetlessModalPanel(this.oModalContainer);}else{this._setupModalPanel(this.oModalId,this.oModalContainer);}},_setupModalPanel:function(oModalId,oModalContainer){oModalContainer.setStyle({visibility:&quot;hidden&quot;});var modalOpenEvent=this.cfg.getProperty(this.DEFAULT_CONFIG.OPEN_MODAL_PANEL_EVENT_OPTION.key);var modalCloseEvent=this.cfg.getProperty(this.DEFAULT_CONFIG.CLOSE_MODAL_PANEL_EVENT_OPTION.key);var that=this;oModalId.observe(modalOpenEvent,function(event){Event.stop(event);that.openModalPanel();}.bindAsEventListener(oModalId));var closeModalPanelSelector=this.cfg.getProperty(this.DEFAULT_CONFIG.CLOSE_MODAL_PANEL_BUTTON_SELECTOR.key);if(closeModalPanelSelector!==null){var closeModalPanelButtons=oModalContainer.getElementsBySelector(closeModalPanelSelector);var modalCloseEventForButtonSelector=(this.cfg.getProperty(this.DEFAULT_CONFIG.CLOSE_MODAL_PANEL_EVENT_FOR_BUTTON_SELECTOR.key)!==null)?this.cfg.getProperty(this.D
EFAULT_CONFIG.CLOSE_MODAL_PANEL_EVENT_FOR_BUTTON_SELECTOR.key):modalCloseEvent;closeModalPanelButtons.each(function(oCloseModalPanelButton){oCloseModalPanelButton.observe(modalCloseEventForButtonSelector,function(event){Event.stop(event);that.closeModalPanel();}.bindAsEventListener(oCloseModalPanelButton));});}else
{oModalContainer.observe(&quot;mouseover&quot;,function(event){that.openModalPanel();}.bindAsEventListener(oModalContainer));oModalContainer.observe(modalCloseEvent,function(){that.closeModalPanel();}.bindAsEventListener(oModalContainer));}
if(modalCloseEvent=='blur'){document.observe(&quot;click&quot;,function(event){var isMousePointerinModalContainer=dj.util.Element.contains(oModalContainer,event.clientX,event.clientY);if(isMousePointerinModalContainer===false){that.closeModalPanel();}});}},_setupTargetlessModalPanel:function(oModalContainer){var modalCloseEvent=this.cfg.getProperty(this.DEFAULT_CONFIG.CLOSE_MODAL_PANEL_EVENT_OPTION.key);var closeModalPanelSelector=this.cfg.getProperty(this.DEFAULT_CONFIG.CLOSE_MODAL_PANEL_BUTTON_SELECTOR.key);this.openModalPanel();var that=this;if(closeModalPanelSelector!==null){var closeModalPanelButtons=oModalContainer.getElementsBySelector(closeModalPanelSelector);closeModalPanelButtons.each(function(oCloseModalPanelButton){oCloseModalPanelButton.observe(modalCloseEvent,function(event){Event.stop(event);that.closeModalPanel();}.bindAsEventListener(oCloseModalPanelButton));});}else{oCloseModalPanelButton.observe(modalCloseEvent,function(){that.closeModalPanel();}.bindAsEventListener(
oCloseModalPanelButton));}},openModalPanel:function(){this.oModalContainer.setStyle({visibility:&quot;visible&quot;});},closeModalPanel:function(){this.oModalContainer.setStyle({visibility:&quot;hidden&quot;});},_setupConfig:function(config){var cfg=this.cfg;var defCfg=this.DEFAULT_CONFIG;cfg.addProperty(defCfg.OPEN_MODAL_PANEL_EVENT_OPTION.key,{value:defCfg.OPEN_MODAL_PANEL_EVENT_OPTION.value});cfg.addProperty(defCfg.CLOSE_MODAL_PANEL_EVENT_OPTION.key,{value:defCfg.CLOSE_MODAL_PANEL_EVENT_OPTION.value});cfg.addProperty(defCfg.CLOSE_MODAL_PANEL_BUTTON_SELECTOR.key,{value:defCfg.CLOSE_MODAL_PANEL_BUTTON_SELECTOR.value});cfg.addProperty(defCfg.CLOSE_MODAL_PANEL_EVENT_FOR_BUTTON_SELECTOR.key,{value:defCfg.CLOSE_MODAL_PANEL_EVENT_FOR_BUTTON_SELECTOR.value});}});if(typeof dj==&quot;undefined&quot;){var dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.panel==&quot;undefined&quot;){dj.widget.panel={};}
dj.widget.panel.SelectDropdownPanel=Class.create({DEFAULT_CONFIG:{SCROLL_CONTAINER_CLASS:{key:&quot;scrollContainerClass&quot;,value:&quot;.scroll_container&quot;},SCROLL_BAR_OPTION:{key:&quot;scrollBarClass&quot;,value:&quot;.scrollbar&quot;},SCROLL_TRACK_OPTION:{key:&quot;scrollTrackClass&quot;,value:&quot;.scrollbar_container&quot;},SCROLL_VALUES_CONTAINER_OPTION:{key:&quot;scrollValuesContainerClass&quot;,value:&quot;.scroll_values_container&quot;},DROPDOWN_COLLAPSED_CLASSNAME:{key:&quot;dropdownCollapsedClassName&quot;,value:&quot;dropdown_collapsed&quot;},DROPDOWN_EXPANDED_CLASSNAME:{key:&quot;dropdownExpandedClassName&quot;,value:&quot;dropdown_open&quot;},SCROLL_CONTAINER_COLLAPSED_CLASSNAME:{key:&quot;scrollContainerCollapsedClassName&quot;,value:&quot;collapsed&quot;},SCROLL_CONTAINER_EXPANDED_CLASSNAME:{key:&quot;scrollContainerExpandedClassName&quot;,value:&quot;expanded&quot;},SELECTED_CLASSNAME:{key:&quot;selectedClassName&quot;,value:&quot;.selected&quot;},SCROLLTRACK_CONTAINER_CLASSNAME:{key:&quot;scrollTrackContainerClassName&quot;,value:&quot;.scroll_track&quot;},DROPDOWN_SCROLLUP_ARROW_CLASSNAME:{key:&quot;dropdownScrollUpArrow&quot;,value:&quot;.scroll_up&quot;},DROPDOWN_
SCROLLDOWN_ARROW_CLASSNAME:{key:&quot;dropdownScrollDownArrow&quot;,value:&quot;.scroll_down&quot;},SCROLL_TRACK_HEIGHT:{key:&quot;scrollTrackHeight&quot;,value:&quot;154&quot;},SCROLL_VALUES_DISPLAY_HEIGHT:{key:&quot;scrollValuesDisplayHeight&quot;,value:&quot;190&quot;},SCROLLBAR_ARROW_SHIFT_VALUE:{key:&quot;scrollBarArrowShiftValue&quot;,value:&quot;2&quot;}},_setupConfig:function(config){var cfg=this.cfg;var defCfg=this.DEFAULT_CONFIG;cfg.addProperty(defCfg.SCROLL_CONTAINER_CLASS.key,{value:defCfg.SCROLL_CONTAINER_CLASS.value});cfg.addProperty(defCfg.SCROLL_BAR_OPTION.key,{value:defCfg.SCROLL_BAR_OPTION.value});cfg.addProperty(defCfg.SCROLL_TRACK_OPTION.key,{value:defCfg.SCROLL_TRACK_OPTION.value});cfg.addProperty(defCfg.SCROLL_VALUES_CONTAINER_OPTION.key,{value:defCfg.SCROLL_VALUES_CONTAINER_OPTION.value});cfg.addProperty(defCfg.DROPDOWN_COLLAPSED_CLASSNAME.key,{value:defCfg.DROPDOWN_COLLAPSED_CLASSNAME.value});cfg.addProperty(defCfg.DROPDOWN_EXPANDED_CLASSNAME.key,{value:defCfg.DROPDOWN_EXPANDED_CLASSNAME.value});cfg.addProperty(defCfg.SCROLL_CONTAINER_COLLAPSED_CLASSNAME.key,{value:defCfg.SCROLL_CONTAINER_COLLAPSED_CLASSNAME.value});cfg.addProperty(defCfg.SCROLL_CONTAINER_EXPANDED_CLASSNAME.key,{value:defCfg.SCROLL_CONTAINER_EXPANDED_CLASSNAME.value});cfg.addProperty(defCfg.SELECTED_CLASSNAME.key,{value:defCfg.SELECTED_CLASSNAME.value});cfg.addProperty(defCfg.SCROLLTRACK_CONTAINER_CLASSNAME.key,{value:defCfg.SCROLLTRACK_CONTAINER_CLASSNAME.value});cfg.addProperty(defCfg.DROPDOWN_SCROLLUP_ARROW_CLASSNAME.key,{value:defCfg.DROPDOWN_SCROLLUP_ARROW_CLASSNAME.value});cfg.addProperty(defCfg.DROPDOWN_SCROLLDOWN_ARROW_CLASSNAME.key,{value:defCfg.DROPDOWN_SCROLLDOWN_ARROW_CLASSNAME.value});cfg.addProperty(defCfg.SCROLL_TRACK_HEIGHT.key,{value:defCfg.SCROLL_TRACK_HEIGHT.value});cfg.addProperty(defCfg.SCROLL_VALUES_DISPLAY_HEIGHT.key,{value:defCfg.SCROLL_VALUES_DISPLAY_HEIGHT.value});cfg.addProperty(defCfg.SCROLLBAR_ARROW_SHIFT_VALUE.key,{value:defCfg.SCROLLBAR_ARROW_SHIFT_VALUE.value});},initialize:function(selectDropdownContainer,config){this.cfg=new dj.util.Config(this);this._setupConfig();if(config){this.cfg.applyConfig(config,true);}
this.cfg.fireQueue();var scrollBarClass=this.cfg.getProperty(this.DEFAULT_CONFIG.SCROLL_BAR_OPTION.key);var scrollTrackClass=this.cfg.getProperty(this.DEFAULT_CONFIG.SCROLL_TRACK_OPTION.key);var scrollContainerClass=this.cfg.getProperty(this.DEFAULT_CONFIG.SCROLL_CONTAINER_CLASS.key);var scrollValuesContainerClass=this.cfg.getProperty(this.DEFAULT_CONFIG.SCROLL_VALUES_CONTAINER_OPTION.key);this.oSelectDropDownContainer=$(selectDropdownContainer);if(this.oSelectDropDownContainer!==null){this.oScrollBar=this.oSelectDropDownContainer.down(scrollBarClass);this.oScrollTrack=this.oSelectDropDownContainer.down(scrollTrackClass);this.oScrollContainer=this.oSelectDropDownContainer.down(scrollContainerClass);this.oScrollValuesContainer=this.oSelectDropDownContainer.down(scrollValuesContainerClass);this._setupSelectDropdown(this.oSelectDropDownContainer,this.oScrollContainer,this.oScrollValuesContainer,this.oScrollBar,this.oScrollTrack);}},_setupSelectDropdown:function(oSelectDropdownCo
ntainer,oScrollContainer,oScrollValuesContainer,oScrollBar,oScrollTrack){var selectDropdownCollapsedClassName=this.cfg.getProperty(this.DEFAULT_CONFIG.DROPDOWN_COLLAPSED_CLASSNAME.key);var selectDropdownExpandedClassName=this.cfg.getProperty(this.DEFAULT_CONFIG.DROPDOWN_EXPANDED_CLASSNAME.key);var scrollContainerCollapsedClassName=this.cfg.getProperty(this.DEFAULT_CONFIG.SCROLL_CONTAINER_COLLAPSED_CLASSNAME.key);var scrollContainerExpandedClassName=this.cfg.getProperty(this.DEFAULT_CONFIG.SCROLL_CONTAINER_EXPANDED_CLASSNAME.key);var selectedClassName=this.cfg.getProperty(this.DEFAULT_CONFIG.SELECTED_CLASSNAME.key);this.oSelected=oSelectDropdownContainer.down(selectedClassName);var toggleDropdownClass=function(){if(oSelectDropdownContainer.hasClassName(selectDropdownCollapsedClassName)){oSelectDropdownContainer.removeClassName(selectDropdownCollapsedClassName);oSelectDropdownContainer.addClassName(selectDropdownExpandedClassName);}else
if(oSelectDropdownContainer.hasClassName(selectDropdownExpandedClassName)){oSelectDropdownContainer.removeClassName(selectDropdownExpandedClassName);oSelectDropdownContainer.addClassName(selectDropdownCollapsedClassName);}
if(oScrollContainer.hasClassName(scrollContainerCollapsedClassName)){oScrollContainer.removeClassName(scrollContainerCollapsedClassName);oScrollContainer.addClassName(scrollContainerExpandedClassName);}else
if(oScrollContainer.hasClassName(scrollContainerExpandedClassName)){oScrollContainer.removeClassName(scrollContainerExpandedClassName);oScrollContainer.addClassName(scrollContainerCollapsedClassName);}};this.oSelected.observe(&quot;click&quot;,function(event){toggleDropdownClass();}.bindAsEventListener(this.oDropdownIndicator));oScrollValuesContainer.observe(&quot;click&quot;,function(event){toggleDropdownClass();}.bindAsEventListener(oScrollValuesContainer));document.observe(&quot;click&quot;,function(event){var isMousePointerinModalContainer=dj.util.Element.contains(oScrollContainer,event.clientX,event.clientY);if(isMousePointerinModalContainer==false){if(oSelectDropdownContainer.hasClassName(selectDropdownExpandedClassName)){oSelectDropdownContainer.removeClassName(selectDropdownExpandedClassName);oSelectDropdownContainer.addClassName(selectDropdownCollapsedClassName);}
if(oScrollContainer.hasClassName(scrollContainerExpandedClassName)){oScrollContainer.removeClassName(scrollContainerExpandedClassName);oScrollContainer.addClassName(scrollContainerCollapsedClassName);}}});if(oScrollBar&amp;&amp;oScrollBar!==null&amp;&amp;oScrollTrack&amp;&amp;oScrollTrack!==null){var noOfValues=oScrollValuesContainer.childElements().length;var scrollTrackHeight=parseInt(this.cfg.getProperty(this.DEFAULT_CONFIG.SCROLL_TRACK_HEIGHT.key),10);var scrollValuesDisplayHeight=parseInt(this.cfg.getProperty(this.DEFAULT_CONFIG.SCROLL_VALUES_DISPLAY_HEIGHT.key),10);var scrollBarHeight=parseInt((scrollTrackHeight/(noOfValues/10)),10);oScrollBar.setStyle({height:scrollBarHeight+&quot;px&quot;});var scrollValuesTopShiftFactor=(scrollValuesDisplayHeight/scrollTrackHeight)*(noOfValues/10);var moveDropDown=function(value){var sliderPx=slider.translateToPx(value);var sliderPxValue=sliderPx.replace(&quot;px&quot;,&quot;&quot;);oScrollValuesContainer.setStyle({top:&quot;-&quot;+sliderPxValue*scrollValuesTopShiftFactor+&quot;px&quot;});};var slider=new
 Control.Slider(oScrollBar,oScrollTrack,{onSlide:moveDropDown,onChange:moveDropDown,axis:'vertical'});var scrollTrackContainerClass=this.cfg.getProperty(this.DEFAULT_CONFIG.SCROLLTRACK_CONTAINER_CLASSNAME.key);this.oScrollTrackContainer=oSelectDropdownContainer.down(scrollTrackContainerClass);var scrollUpArrowClass=this.cfg.getProperty(this.DEFAULT_CONFIG.DROPDOWN_SCROLLUP_ARROW_CLASSNAME.key);var scrollDownArrowClass=this.cfg.getProperty(this.DEFAULT_CONFIG.DROPDOWN_SCROLLDOWN_ARROW_CLASSNAME.key);this.oScrollUpArrow=this.oScrollTrackContainer.down(scrollUpArrowClass);this.oScrollDownArrow=this.oScrollTrackContainer.down(scrollDownArrowClass);var scrollArrowShiftValue=parseInt(this.cfg.getProperty(this.DEFAULT_CONFIG.SCROLLBAR_ARROW_SHIFT_VALUE.key),10);var scrollBarTopPx;var scrollBarTop;var sliderValue;this.oScrollUpArrow.observe(&quot;click&quot;,function(event){scrollBarTopPx=oScrollBar.getStyle(&quot;top&quot;);scrollBarTop=parseInt(scrollBarTopPx.replace(&quot;px&quot;,&quot;&quot;),10);sliderValue=slider.translateToValue(scrollBarTop-scrollArrowShiftValue);if(scrollBarTop&gt;0){slider.setValue(sliderValue);}});this.oScrollDownArrow.observe(&quot;click&quot;,function(event){scrollBarTopPx=oScrollBar.getStyle(&quot;top&quot;);scrollBarTop=parseInt(scrollBarTopPx.replace(&quot;px&quot;,&quot;&quot;),10);sliderValue=slider.translateToValue(scrollBarTop+scrollArrowShiftValue);if(scrollBarTop&lt;(scrollTrackHeight-scrollBarHeight)){slider.setValue(sliderValue);}});}}});if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.panel==&quot;undefined&quot;){dj.widget.panel={};}
dj.widget.panel.Tooltip=Class.create({initialize:function(tooltipContainerClass,tooltipElementsContainerClass,tooltipTargetClass,tooltipClass,container,hideTooltipDelay){var oContainer=$(container);if((typeof oContainer!=='undefined')&amp;&amp;(oContainer!==null)){this.oTooltipContainers=oContainer.select(tooltipContainerClass);}else{this.oTooltipContainers=$$(tooltipContainerClass);}
this.tooltipContainerClass=tooltipContainerClass;this.tooltipElementsContainerClass=tooltipElementsContainerClass;this.tooltipTargetClass=tooltipTargetClass;this.tooltipClass=tooltipClass;var tooltipDelay=((typeof hideTooltipDelay!=='undefined')&amp;&amp;(hideTooltipDelay!==null))?hideTooltipDelay:100;this._setupTooltips(this.oTooltipContainers,this.tooltipElementsContainerClass,this.tooltipTargetClass,this.tooltipClass,tooltipDelay);},_setupTooltips:function(oTooltipContainers,tooltipElementsContainerClass,tooltipTargetClass,tooltipClass,tooltipDelay){var that=this;oTooltipContainers.each(function(oTooltipContainer){var oTooltipElementsContainer=oTooltipContainer.down(tooltipElementsContainerClass);var oTooltipTarget=oTooltipContainer.down(tooltipTargetClass);var oTooltip=oTooltipContainer.down(tooltipClass);if((typeof oTooltipElementsContainer!=='undefined')&amp;&amp;(oTooltipElementsContainer!==null)&amp;&amp;(typeof oTooltipTarget!=='undefined')&amp;&amp;(oTooltipTarget!==null)&amp;&amp;(typeof oTooltip!=='unde
fined')&amp;&amp;(oTooltip!==null)){var tipTarget=oTooltipElementsContainer.down(tooltipTargetClass);if((typeof tipTarget==='undefined')||(tipTarget===null)){Element.remove(oTooltipElementsContainer);Element.insert(oTooltipTarget,{'before':oTooltipElementsContainer});Element.remove(oTooltipTarget);Element.insert(oTooltip,{'before':oTooltipTarget});}
if(this.showTooltipOnTipTargetOverListener!==null){Event.stopObserving(oTooltipTarget,&quot;mouseover&quot;,this.showTooltipOnTipTargetOverListener);}
if(this.hideTooltipOnTipTargetOutListener!==null){Event.stopObserving(oTooltipTarget,&quot;mouseout&quot;,this.hideTooltipOnTipTargetOutListener);}
if(this.showTooltipOnTooltipOverListener!==null){Event.stopObserving(oTooltipTarget,&quot;mouseout&quot;,this.showTooltipOnTooltipOverListener);}
if(this.hideTooltipOnTooltipOutListener!==null){Event.stopObserving(oTooltipTarget,&quot;mouseout&quot;,this.hideTooltipOnTooltipOutListener);}
var tooltipVisibleFlag=false;var showTooltipListener=function(){tooltipVisibleFlag=true;tooltipVisibleFlag=true;that.showTooltip(oTooltip);};var hideTooltipListener=function(){tooltipVisibleFlag=false;;setTimeout(function(){if(tooltipVisibleFlag===false){that.hideTooltip(oTooltip);}},tooltipDelay);}
this.showTooltipOnTipTargetOverListener=function(event){showTooltipListener();}.bindAsEventListener(oTooltipTarget);this.hideTooltipOnTipTargetOutListener=function(){hideTooltipListener();}.bindAsEventListener(oTooltipTarget);this.showTooltipOnTooltipOverListener=function(event){showTooltipListener();}.bindAsEventListener(oTooltip);this.hideTooltipOnTooltipOutListener=function(event){hideTooltipListener();}.bindAsEventListener(oTooltip);oTooltipTarget.observe(&quot;mouseover&quot;,this.showTooltipOnTipTargetOverListener);oTooltipTarget.observe(&quot;mouseout&quot;,this.hideTooltipOnTipTargetOutListener);oTooltip.observe(&quot;mouseover&quot;,this.showTooltipOnTooltipOverListener);oTooltip.observe(&quot;mouseout&quot;,this.hideTooltipOnTooltipOutListener);}else{console.log(&quot;oTooltipTarget or oTooltip is not defined for tooltip container&quot;);}});},showTooltip:function(oTooltip){oTooltip.setStyle({display:&quot;block&quot;});},hideTooltip:function(oTooltip){oTooltip.setStyle({display:&quot;none&quot;});},refreshTooltips:function(container)
{this.initialize(this.tooltipContainerClass,this.tooltipElementsContainerClass,this.tooltipTargetClass,this.tooltipClass,container);}});
if(typeof dj==&quot;undefined&quot;){var dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.video==&quot;undefined&quot;){dj.widget.video={};}
if(typeof dj.context==&quot;undefined&quot;){dj.context={};}
if(typeof dj.context.video==&quot;undefined&quot;){dj.context.video={};}
if(!console){var console={};console.log=function(){}}
dj.widget.video.video=Class.create({initialize:function(args,objName){this.version=&quot;1.0.2&quot;;this.usrActnHash={'':this.handleResponse,'toBrowse':this.handleBrowsingResults,'toSearch':this.handleSearchResults,'current':this.handleCurrent,'next':this.handleNext};this.emailURL='http:\u002F\u002Fwww.emailthis.clickability.com\u002Fet\u002FemailThis?clickMap=create&amp;fb=Y&amp;url=@VIDEO_LINK_URL&amp;title=@VIDEO_TITLE&amp;random=@RANDOM_NUMBER&amp;partnerID=@EMAIL_PARTNER_ID&amp;image=@VIDEO_STILL_URL&amp;expire=&amp;summary=@VIDEO_DESCRIPTION';this.domainName='wsj';var siteFrmUrl=this.getUrlParam(window.location.href,'site');var siteFrmContxt='';try{siteFrmContxt=dj.context.videoCenter.host;}
catch(e){console.error(&quot;Error while getting site value from context. &quot;+e.message);}
this.site=this.isNotBlankOrNull(siteFrmUrl)?siteFrmUrl:siteFrmContxt;this.msrc=this.getUrlParam(window.location.href,'msrc');this.embedConfigURL=&quot;http://wsj.vo.llnwd.net/o28/players/&quot;;this.microPlayers=[];this.microPlayersObjects={};this.videoIdMicroPlayerIdMap={};this.popUpWindow='';this.flashPlayerPath=cdnDomain+&quot;/media/swf/&quot;;this.collectionsXMLPath=&quot;/static_html_files/&quot;;this.videoCenterPageUrl=&quot;/video-center&quot;;this.popUpPageUrl='/public/page/0_0_WP_3001.html';this.objName=objName;this.videoPlayerDivId='video_player';this.sideNavUlId='video_sidenav';this.topNavUlId='video_topnav';this.nextVideoDivId='next_video';this.videoResultsDivId='video_results';this.searchDivId='video_search';this.advertisementDivId='advertisement';this.collectionsSelectId='collectionsSelectId';this.videoSummaryDivId='video_headline';this.registeredVideosDivId='registered_videos';if(this.isNotBlankOrNull(args)){this.videoPlayerDivId=args.videoPlayerDivId?args.videoPlayerDivId:'video_player';this.sideNa
vUlId=args.sideNavUlId?args.sideNavUlId:'video_sidenav';this.topNavUlId=args.topNavUlId?args.topNavUlId:'video_topnav';this.nextVideoDivId=args.nextVideoDivId?args.nextVideoDivId:'next_video';this.videoResultsDivId=args.videoResultsDivId?args.videoResultsDivId:'video_results';this.searchDivId=args.searchDivId?args.searchDivId:'video_search';this.advertisementDivId=args.advertisementDivId?args.advertisementDivId:'advertisement';this.videoSummaryDivId=args.videoSummaryDivId?args.videoSummaryDivId:'video_headline';this.registeredVideosDivId=args.registeredVideosDivId?args.registeredVideosDivId:'';}
this.xmlDoc='';this.defaultCollectionName='News';this.rssUrlsObject={};this.contentUrlsObject={};this.collectionNamesArray=[];this.subcollectionsObject={};this.urlKeysCollectionMap=new Hash();this.urlKeysSubCollectionMap=new Hash();this.currentlyPlayingVideoId='';this.currentlyPlayingVideoIds=[];this.currentlyPlayingCollection='';this.currentlyPlayingSubCollection='';this.nextVideoId='';this.visibleCollectionId='';this.visibleSubCollectionId='';this.sortOrder='relevancy';this.currentSearchText='';this.isVideoResultsInSideNav=false;this.currentPlayingJsonObject={};this.currentBrowsingJsonObject={};this.currentSearchJsonObject={};this.currentVideoDetailsJsonObject={};this.nextVideoDetailsJsonObject={};this.registeredVideos=[];this.registeredVideosIds=[];this.playFromRegisteredVideos=false;this.relatedVideosCollection='';this.pageSize=12;this.userAction='';this.sourceApplicationName='';this.browsingGroup=&quot;collection&quot;;this.playingGroup=&quot;collection&quot;;this.skipCollection=true;this.b
ookMarkedId='';this.bookMarkedLocation='';this.prop24='';this.prop25='';this.prop27='';this.cookieUserType='';try{this.prop24=editionToNameMap[dj.util.Region.getViewByRegion()];}
catch(e){console.error(&quot;cookie read error while fetching prop24&quot;);}
try{this.prop25=dj.util.Cookie.getCookie('TR');}
catch(e){console.error(&quot;cookie read error while fetching prop25&quot;);}
try{this.cookieUserType=dj.util.Cookie.getCookie(&quot;user_type&quot;);}
catch(e){console.error(&quot;cookie read error while fetching cookieUserType&quot;);}
try{var that=this;dj.util.User.isLoggedIn(function(isLoggedIn){if(isLoggedIn){dj.util.User.isSubLoggedIn(function(subLoggedIn){if(subLoggedIn){that.prop27='WSJ_sub_yes';}
else{that.prop27='WSJ_mem_yes';}});}
else{if(that.cookieUserType===null||that.cookieUserType!==&quot;subscribed&quot;){that.prop27='WSJ_free';}
else{that.prop27='WSJ_reg_yes';}}});}
catch(e){console.error(&quot;cookie read error while fetching prop27&quot;);}},loadVideo:function(id,sourceApplicationName,domainName){console.info(&quot;video.js v&quot;+this.version);if(this.isNotBlankOrNull(domainName)){this.domainName=domainName;}
this.sourceApplicationName=sourceApplicationName;if(this.isNotBlankOrNull(id)){if(id.indexOf('{')==-1){this.currentlyPlayingVideoId='{'+id+'}';}
else{this.currentlyPlayingVideoId=id;}}
if(swfobject.getFlashPlayerVersion().major&gt;=9){this.createFlashPlayer();}
else{this.nonSupportingFlashPlayer(this.videoPlayerDivId);}},continueLoadVideo:function(){this.loadCollectionsDoc();this.parseInformationFromXmlDoc();if(this.sourceApplicationName=='articlePage'){this.visibleCollectionId='';var vObj='';if(this.isNotBlankOrNull(this.currentlyPlayingVideoId)){vObj=this.registeredVideos[this.registeredVideosIds.indexOf(this.currentlyPlayingVideoId)];this.playVideoByParam(vObj);}
else
if(this.isNotBlankOrNull(this.bookMarkedId)){this.currentlyPlayingVideoId=this.bookMarkedId;vObj=this.registeredVideos[this.registeredVideosIds.indexOf(this.currentlyPlayingVideoId)];vObj.seekTime=this.bookMarkedLocation;this.playVideoByParam(vObj);}
else{vObj=this.registeredVideos;this.currentlyPlayingVideoId=vObj.id;this.playVideoByParam(vObj);}
this.relatedVideosCollection=this.isNotBlankOrNull(this.registeredVideos['wsj-section'])?this.registeredVideos['wsj-section']:this.defaultCollectionName;this.currentlyPlayingCollection=this.registeredVideos['wsj-section'];if(this.currentlyPlayingCollection=='Lifestyle'){this.currentlyPlayingCollection='Life &amp; Style';}
this.getVideos(this.validateContentUrl(this.contentUrlsObject[this.currentlyPlayingCollection])+'&amp;count=60','',false);}
else{if(typeof AT_VARS!='undefined'&amp;&amp;AT_VARS.baseDocId){this.currentlyPlayingVideoId='{'+AT_VARS.baseDocId+'}';}
if(this.isNotBlankOrNull(this.currentlyPlayingVideoId)){this.playVideoByVideoId(this.currentlyPlayingVideoId);this.currentlyPlayingCollection=this.currentVideoDetailsJsonObject['wsj-section'];this.currentlyPlayingSubCollection=this.currentVideoDetailsJsonObject['wsj-subsection'];if(this.isNotBlankOrNull(this.currentlyPlayingSubCollection)){this.visibleCollectionId=this.collectionNameForSubcollection(this.currentlyPlayingSubCollection);this.currentlyPlayingCollection=this.visibleCollectionId;this.getVideos(this.validateContentUrl(this.contentUrlsObject[this.currentlyPlayingSubCollection])+'&amp;count=60','',false);}
else{if(!this.isNotBlankOrNull(this.currentlyPlayingCollection)){this.currentlyPlayingCollection=this.defaultCollectionName;}
this.getVideos(this.validateContentUrl(this.contentUrlsObject[this.currentlyPlayingCollection])+'&amp;count=60','',false);}}
else{var browserUrl=window.location.pathname;this.currentlyPlayingCollection=this.defaultCollectionName;if(browserUrl.indexOf(&quot;.&quot;)!=-1){var urlKey=(browserUrl).split(&quot;.&quot;).split('/').last();if(this.urlKeysCollectionMap.get(urlKey)){this.currentlyPlayingCollection=this.urlKeysCollectionMap.get(urlKey);}
if(this.urlKeysSubCollectionMap.get(urlKey)){this.currentlyPlayingSubCollection=this.urlKeysSubCollectionMap.get(urlKey);this.visibleCollectionId=this.collectionNameForSubcollection(this.currentlyPlayingSubCollection);this.currentlyPlayingCollection=this.visibleCollectionId;}}
if(this.isNotBlankOrNull(this.currentlyPlayingSubCollection)){this.getVideos(this.validateContentUrl(this.contentUrlsObject[this.currentlyPlayingSubCollection])+'&amp;count=60','',false);}
else{this.getVideos(this.validateContentUrl(this.contentUrlsObject[this.currentlyPlayingCollection])+'&amp;count=60','',false);}
this.currentlyPlayingVideoId=this.currentPlayingJsonObject.items.id;this.playVideoByVideoId(this.currentlyPlayingVideoId);}}
this.populateSideNav();this.populateTopNav();if(this.isNotBlankOrNull(this.currentlyPlayingSubCollection)){this.updateSideNavAppearance('subcollection',this.currentlyPlayingSubCollection);this.visibleSubCollectionId=this.currentlyPlayingSubCollection;this.browsingGroup=&quot;subcollection&quot;;this.playingGroup=&quot;subcollection&quot;;}
else{this.updateSideNavAppearance('collection',this.currentlyPlayingCollection);this.visibleCollectionId=this.currentlyPlayingCollection;}
this.currentBrowsingJsonObject=this.currentPlayingJsonObject;if(this.sourceApplicationName=='articlePage'&amp;&amp;this.registeredVideosIds.length&gt;0){this.createRegisteredVideosThumbnails();this.updateVideoThumbnailVisual('','reg'+this.currentlyPlayingVideoId);}
this.updateTopNavAppearance('',this.currentlyPlayingCollection);this.createNextVideo();this.createSearch();this.createAdvertisementFramework();this.populateMoreVideos(1);this.loadPagination(1);this.updateRssFeed((this.visibleSubCollectionId!=='')?this.visibleSubCollectionId:this.visibleCollectionId);},validateContentUrl:function(contentUrl){if(this.isNotBlankOrNull(contentUrl)){return contentUrl;}
else{this.currentlyPlayingCollection=this.defaultCollectionName;return this.contentUrlsObject[this.defaultCollectionName];}},createAdvertisementFramework:function(){if(this.advertisementDivId){if(swfobject.getFlashPlayerVersion().major&gt;=9){swfobject.embedSWF(this.flashPlayerPath+&quot;adPlayer.swf&quot;,this.advertisementDivId,&quot;336&quot;,&quot;280&quot;,&quot;9.0.0&quot;,&quot;&quot;,{'objName':this.getName()},{allowscriptaccess:&quot;always&quot;,wmode:&quot;opaque&quot;},{});}
else{this.nonSupportingFlashPlayer(this.advertisementDivId);}}},nonSupportingFlashPlayer:function(divId){var str='';str+='&lt;table width=&quot;75%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;2&quot; bordercolor=&quot;#336699&quot; border=&quot;2&quot;&gt;';str+='&lt;tbody&gt;';str+='&lt;tr&gt;';str+='&lt;/tr&gt;';str+='&lt;tr&gt;';str+='&lt;td align=&quot;left&quot;&gt;';str+='&lt;span style=&quot;font-size: 12px;&quot;&gt;';str+='The version of Adobe Flash Player required to view this interactive has not been found.';str+='&lt;br/&gt;';str+='To enjoy our complete interactive experience, please download a free copy of the latest version of Adobe Flash Player ';str+='&lt;b&gt;';str+='&lt;a target=&quot;_blank&quot; href=&quot;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&quot;&gt;here.&lt;/a&gt;';str+='&lt;/b&gt;';str+='&lt;/span&gt;';str+='&lt;/td&gt;';str+='&lt;/tr&gt;';str+='&lt;/tbody&gt;';str+='&lt;/table&gt;';$(divId).innerHTML=str;},collectionNameForSubcollection:function(subCol){for(var index=0,len=this.collectionNamesArray.length;index&lt;len;++index){if(this.subcollectionsObject[(this.collectionNamesArray)]
.indexOf(subCol)!=-1){return this.collectionNamesArray;}}},pauseMicroPlayers:function(){try{for(var index=0,len=this.microPlayers.length;index&lt;len;++index){swfobject.getObjectById(this.microPlayers).pauseVideo();}}
catch(e){console.error(&quot;Error while pausing microPlayers. &quot;+e.message);}},setBookMark:function(){try{this.bookMarkedId=this.currentlyPlayingVideoId;this.bookMarkedLocation=Math.floor(swfobject.getObjectById(&quot;flashPlayer&quot;).getSeek());swfobject.getObjectById(&quot;flashPlayer&quot;).pauseVideo();}
catch(e){console.error(&quot;Error while setting the bookmark. &quot;+e.message);}},getUrlParam:function(srcUrl,name){name=name.replace(/[\[]/,&quot;\\\[&quot;).replace(/[\]]/,&quot;\\\]&quot;);var regexS=&quot;[\\?&amp;]&quot;+name+&quot;=([^&amp;#]*)&quot;;var regex=new RegExp(regexS);var results=regex.exec(srcUrl);if(results===null){return&quot;&quot;;}
else{return results;}},updateVideoThumbnailVisual:function(cleanId,applyId){if(cleanId!==''&amp;&amp;$(&quot;li_&quot;+cleanId)){$(&quot;li_&quot;+cleanId).className=&quot;&quot;;}
if(applyId!==''&amp;&amp;$(&quot;li_&quot;+applyId)){$(&quot;li_&quot;+applyId).className=&quot;nowPlaying&quot;;}},isNotBlankOrNull:function(strVar){return(strVar!==''&amp;&amp;strVar!==null&amp;&amp;typeof strVar!='undefined');},parseInformationFromXmlDoc:function(){var collectionArray=this.xmlDoc.getElementsByTagName(&quot;collection&quot;);for(var index=0,len=collectionArray.length;index&lt;len;++index){var item=collectionArray;this.urlKeysCollectionMap.set(item.getAttribute(&quot;urlkey&quot;),item.getAttribute(&quot;name&quot;));this.contentUrlsObject[item.getAttribute(&quot;name&quot;)]=item.getAttribute(&quot;contenturl&quot;);this.rssUrlsObject[item.getAttribute(&quot;name&quot;)]=item.getAttribute(&quot;rssurl&quot;);this.collectionNamesArray[this.collectionNamesArray.length]=item.getAttribute(&quot;name&quot;);var subCollectionArray=item.getElementsByTagName(&quot;subcollection&quot;);var subCollectionArrayLength=subCollectionArray.length;var subCollNamesAr=[];for(var sindex=0,slen=subCollectionArray.length;sindex&lt;slen;++sindex){var sitem=subCollectionArray;this.urlKeysSubCollectionMap.set(site
m.getAttribute(&quot;urlkey&quot;),sitem.getAttribute(&quot;name&quot;));this.contentUrlsObject[sitem.getAttribute(&quot;name&quot;)]=sitem.getAttribute(&quot;contenturl&quot;);this.rssUrlsObject[sitem.getAttribute(&quot;name&quot;)]=sitem.getAttribute(&quot;rssurl&quot;);subCollNamesAr=sitem.getAttribute(&quot;name&quot;);}
this.subcollectionsObject[item.getAttribute(&quot;name&quot;)]=subCollNamesAr;}},createFlashPlayer:function(){if($(this.videoPlayerDivId)){try{swfobject.embedSWF(this.flashPlayerPath+&quot;main.swf&quot;,this.videoPlayerDivId,&quot;512&quot;,&quot;363&quot;,&quot;9.0.0&quot;,&quot;&quot;,{'objName':this.getName(),'allowPlayerPopup':'1','plyMediaEnabled':'1'},{allowscriptaccess:&quot;always&quot;,wmode:&quot;opaque&quot;},{id:&quot;flashPlayer&quot;});}
catch(e){console.error(&quot;Error occured createFlashPlayer..&quot;+e.message);$(this.videoPlayerDivId).innerHTML='Couldn\'t load the flash player. \n Error message is: '+e.message;}}},convertCurrentPlayingJsonToIdsArray:function(){this.currentlyPlayingVideoIds=[];if(this.currentPlayingJsonObject.items.length&gt;0){for(var index=0,len=this.currentPlayingJsonObject.items.length;index&lt;len;++index){this.currentlyPlayingVideoIds=this.currentPlayingJsonObject.items.id;}}},populateVideoSummary:function(name,description,formattedCreationDate){if($(this.videoSummaryDivId)){var str='';try{str+='&lt;h2&gt;'+name+' &lt;small&gt;'+formattedCreationDate.split(' ')+'&lt;/small&gt;';str+='&lt;/h2&gt;';str+='&lt;p&gt;'+description+'&lt;/p&gt;';}
catch(e){console.error(&quot;Error occured in populateVideoSummary.&quot;+e.message);str+='Couldn\'t get video summary.';}
$(this.videoSummaryDivId).innerHTML=str;}},createAdvertisement:function(imgUrl,link){try{swfobject.getObjectById(this.advertisementDivId).loadAd(imgUrl,link);}
catch(e){console.error(&quot;Error while loading ad in createAdvertisement : &quot;+e);}},createNextVideo:function(){var str='Loading...';try{this.nextVideoId=this.getNextVideoId();if(this.nextVideoId!==''){var url='/api-video/get_video_info.asp?guid='+this.nextVideoId+'&amp;fields=all';this.getVideos(url,'next',true);}
else{str='No more videos.';}}
catch(e){console.error(&quot;Error occured while executing createNextVideo() - &quot;+e.message);str+='Couldn\'t determine next video details.';}
if($(this.nextVideoDivId)){$(this.nextVideoDivId).innerHTML=str;}},populateNextVideo:function(){var str='';try{var nameToDisplay=this.isNotBlankOrNull(this.currentlyPlayingSubCollection)?this.currentlyPlayingSubCollection:this.currentlyPlayingCollection;if(this.currentlyPlayingCollection=='Search Results'){str+='&lt;h3&gt;Next in Video '+this.currentlyPlayingCollection+'&lt;/h3&gt;';}
else{str+='&lt;h3&gt;Next in '+nameToDisplay+' Video&lt;/h3&gt;';}
str+='&lt;ul class=&quot;newsItem video&quot;&gt;';str+='&lt;li&gt;';str+='&lt;a href=&quot;javascript:'+this.getName()+'.nextVideoThumbnailClicked(\''+this.nextVideoDetailsJsonObject.id+'\')&quot; style=&quot;background-image: url('+this.nextVideoDetailsJsonObject.thumbnailURL+')&quot; class=&quot;preview&quot;&gt;&lt;span&gt;&amp;#160;&lt;/span&gt;&lt;/a&gt;';str+='&lt;h2&gt;&lt;a href=&quot;javascript:'+this.getName()+'.nextVideoThumbnailClicked(\''+this.nextVideoDetailsJsonObject.id+'\')&quot;&gt;'+this.nextVideoDetailsJsonObject.name+'&lt;/a&gt;&lt;/h2&gt;';var minutes=Math.floor(this.nextVideoDetailsJsonObject.duration/60);var seconds=this.nextVideoDetailsJsonObject.duration%60;if(seconds&lt;10){seconds='0'+seconds;}
str+='&lt;small&gt;'+minutes+':'+seconds+'&lt;/small&gt;';str+='&lt;p&gt;'+this.nextVideoDetailsJsonObject.description+'&lt;/p&gt;';str+='&lt;/li&gt;';str+='&lt;/ul&gt;';}
catch(e){console.error(&quot;Error occured while executing populateNextVideo() - &quot;+e.message);str+='Couldn\'t populate next video details.';}
if($(this.nextVideoDivId)){$(this.nextVideoDivId).innerHTML=str;}},nextVideoThumbnailClicked:function(videoId){this.userAction='';this.populateMoreVideos(1);this.loadPagination(1);this.updateVideoThumbnailVisual(this.currentlyPlayingVideoId,videoId);this.currentlyPlayingVideoId=videoId;this.playVideoByVideoId(videoId);this.createNextVideo();if(this.isNotBlankOrNull(this.currentlyPlayingSubCollection)){this.updateSideNavAppearance('subcollection',this.currentlyPlayingSubCollection);}
else{this.updateSideNavAppearance('collection',this.currentlyPlayingCollection);}},createSearch:function(){var str='';str+='&lt;form id=&quot;searchForm&quot; onSubmit=&quot;javascript:'+this.getName()+'.searchButtonClicked();return false;&quot; class=&quot;&quot; method=&quot;post&quot; accept-charset=&quot;utf-8&quot;&gt;';str+='&lt;fieldset&gt;';str+='&lt;legend&gt;Search Videos&lt;/legend&gt;';str+='&lt;div class=&quot;ctl&quot;&gt;';str+='&lt;label for=&quot;frmSearchSectCtl01&quot;&gt;Search Videos&lt;/label&gt;';str+='&lt;input type=&quot;text&quot; name=&quot;frmSearchSectCtl01&quot; value=&quot;Search Video&quot; id=&quot;frmSearchSectCtl01&quot; class=&quot;text&quot; onFocus=&quot;'+this.getName()+'.searchInputBoxFocused();&quot;/&gt;';str+='&lt;/div&gt;';str+='&lt;div class=&quot;ctl&quot;&gt;';str+='&lt;label for=&quot;frmSearchSectSub&quot;&gt;Search&lt;/label&gt;';str+='&lt;button id=&quot;searchButton&quot; type=&quot;submit&quot;&gt;Search&lt;/button&gt;';str+='&lt;/div&gt;';str+='&lt;/fieldset&gt;';str+='&lt;/form&gt;';if($(this.searchDivId)){$(this.searchDivId).innerHTML=str;}},searchInputBoxFocused:function(){$(&quot;frmSearchSectCtl01&quot;).value=&quot;&quot;;$(&quot;searchForm&quot;).className=&quot;&quot;;},searchButtonClicked:function(){var searchTxt=$F(&quot;fr
mSearchSectCtl01&quot;).replace(/^\s+|\s+$/,'');if(searchTxt===''){$(&quot;searchForm&quot;).className=&quot;search_error&quot;;$(&quot;frmSearchSectCtl01&quot;).value=&quot;Please enter search terms&quot;;$(&quot;searchButton&quot;).focus();return false;}
this.currentSearchText=searchTxt;this.sortOrder='relevancy';if(!this.isVideoResultsInSideNav){this.insertVideoResultsInSideNav();this.isVideoResultsInSideNav=true;}
this.updateVideoResultsInSideNav(this.currentSearchText);this.updateSideNavAppearance('collection','Search Results');var searchUrl='/api-video/find_all_videos.asp?type=wsj-fulltext&amp;query='+searchTxt;this.performSearch(searchUrl);$(&quot;searchButton&quot;).focus();},insertVideoResultsInSideNav:function(){var str='';str+='&lt;li id=&quot;Search Results&quot; class=&quot;noSubCollection&quot;&gt;';str+='&lt;/li&gt;';str+=$(this.sideNavUlId).innerHTML;$(this.sideNavUlId).innerHTML=str;},updateVideoResultsInSideNav:function(srchText){var fields='id,name,description,duration,thumbnailURL,videoURL,formattedCreationDate,wsj-section,wsj-subsection';var srchContentUrl='/api-video/find_all_videos.asp?type=wsj-fulltext&amp;query='+srchText+'&amp;fields='+fields;this.contentUrlsObject['Search Results']=srchContentUrl;var str='';str+='&lt;a id=&quot;a_Search Results&quot; class=&quot;&quot; href=&quot;javascript:'+this.getName()+'.sideNavClicked(\'collection\',\'Search Results\');&quot;&gt;';str+='Search Results&lt;/a&gt;';$(&quot;Search Results&quot;).innerHTML=str;},performSearch:functi
on(searchUrl){this.userAction='toSearch';var fields='id,name,description,duration,thumbnailURL,videoURL,formattedCreationDate,wsj-section,wsj-subsection';$(this.videoResultsDivId).innerHTML='&lt;p class=&quot;noResults&quot;&gt; Loading ... &lt;/p&gt;';this.getVideos(searchUrl+'&amp;fields='+fields+'&amp;count=60',this.userAction,true);},loadPagination:function(pageNumber){var varToDisplay='';if(this.userAction=='toBrowse'){if(typeof this.currentBrowsingJsonObject!=&quot;undefined&quot;){varToDisplay=this.currentBrowsingJsonObject.items;}}
else
if(this.userAction=='toSearch'){if(typeof this.currentSearchJsonObject!=&quot;undefined&quot;){varToDisplay=this.currentSearchJsonObject.items;}}
else{varToDisplay=this.currentPlayingJsonObject.items;}
var currentPageNumber=Number(pageNumber);var flr=Math.floor(varToDisplay.length/this.pageSize);var cl=Math.ceil(varToDisplay.length/this.pageSize);var lastPageNumber=Math.max(flr,cl);var str='';if(currentPageNumber==1){str+='&lt;li id=&quot;previous&quot; class=&quot;listFirst&quot;&gt;&lt;span&gt;Previous&lt;/span&gt;&lt;/li&gt;';}
else{str+='&lt;li id=&quot;previous&quot; class=&quot;listFirst&quot;&gt;&lt;a href=&quot;javascript:'+this.getName()+'.paginationClicked(\''+(currentPageNumber-1)+'\')&quot;&gt;Previous&lt;/a&gt;&lt;/li&gt;';}
for(var index=1;index&lt;=lastPageNumber;index++){if(currentPageNumber==index){str+='&lt;li&gt;&lt;span&gt;'+index+'&lt;/span&gt;&lt;/li&gt;';}
else{str+='&lt;li&gt;&lt;a href=&quot;javascript:'+this.getName()+'.paginationClicked(\''+index+'\')&quot; &gt;'+index+'&lt;/a&gt;&lt;/li&gt;';}}
if(currentPageNumber&gt;=lastPageNumber){str+='&lt;li id=&quot;next&quot;&gt;&lt;span&gt;Next&lt;/span&gt;&lt;/li&gt;';}
else{str+='&lt;li id=&quot;next&quot;&gt;&lt;a href=&quot;javascript:'+this.getName()+'.paginationClicked(\''+(currentPageNumber+1)+'\')&quot;&gt;Next&lt;/a&gt;&lt;/li&gt;';}
$(&quot;pagination&quot;).innerHTML=str;},paginationClicked:function(pageNumber){this.populateMoreVideos(pageNumber);this.loadPagination(pageNumber);this.updateRssFeed((this.visibleSubCollectionId!=='')?this.visibleSubCollectionId:this.visibleCollectionId);},getVideos:function(url,userAction,async){var fun=this.usrActnHash;this.ajax=new Ajax.Request(url,{method:'get',asynchronous:async,requestHeaders:{Accept:'application/json'},onSuccess:fun.bindAsEventListener(this),onFailure:this.handleFailure.bindAsEventListener(this,url,userAction,async)});},handleFailure:function(obj,url,userAction,async){setTimeout(&quot;&quot;+this.getName()+&quot;.getVideos('&quot;+url+&quot;','&quot;+userAction+&quot;','&quot;+async+&quot;')&quot;,10000);},handleResponse:function(json){this.currentPlayingJsonObject=json.responseText.evalJSON(true);this.convertCurrentPlayingJsonToIdsArray();},handleBrowsingResults:function(json){this.currentBrowsingJsonObject=json.responseText.evalJSON(true);this.populateMoreVideos(1);this.loadPagination(1);this.up
dateRssFeed((this.visibleSubCollectionId!=='')?this.visibleSubCollectionId:this.visibleCollectionId);},handleSearchResults:function(json){this.currentSearchJsonObject=json.responseText.evalJSON(true);this.populateMoreVideos(1);this.loadPagination(1);},handleCurrent:function(json){this.currentVideoDetailsJsonObject=json.responseText.evalJSON(true);this.currentlyPlayingCollection=this.currentVideoDetailsJsonObject['wsj-section'];this.currentlyPlayingSubCollection=this.currentVideoDetailsJsonObject['wsj-subsection'];this.playVideoByParam(this.currentVideoDetailsJsonObject);this.populateVideoSummary(this.currentVideoDetailsJsonObject.name,this.currentVideoDetailsJsonObject.description,this.currentVideoDetailsJsonObject.formattedCreationDate);},handleNext:function(json){this.nextVideoDetailsJsonObject=json.responseText.evalJSON(true);this.populateNextVideo();},populateSideNav:function(){var src='';var collectionArray=this.xmlDoc.getElementsByTagName(&quot;collection&quot;);for(var index=0,len=collectionArray.length;index&lt;len;++index){var item=collectionArray;var subCollectionArray=item.getElementsByTagName(&quot;subcollection&quot;);var subCollectionArrayLength=subCollectionArray.length;if(subCollectionArrayLength&gt;0){src+='&lt;li class=&quot;expand&quot; id=&quot;'+item.getAttribute(&quot;name&quot;)+'&quot;&gt;&lt;a id=&quot;a_'+item.getAttribute(&quot;name&quot;)+'&quot; class=&quot;&quot; href=&quot;javascript:'+this.getName()+'.sideNavClicked(\''+item.nodeName+'\',\''+item.getAttribute(&quot;name&quot;)+'\');&quot;&gt;'+item.getAttribute(&quot;name&quot;)+'&lt;/a&gt;';}
else{src+='&lt;li class=&quot;noSubCollection&quot; id=&quot;'+item.getAttribute(&quot;name&quot;)+'&quot;&gt;&lt;a id=&quot;a_'+item.getAttribute(&quot;name&quot;)+'&quot; class=&quot;&quot; href=&quot;javascript:'+this.getName()+'.sideNavClicked(\''+item.nodeName+'\',\''+item.getAttribute(&quot;name&quot;)+'\');&quot;&gt;'+item.getAttribute(&quot;name&quot;)+'&lt;/a&gt;';}
if(subCollectionArrayLength&gt;0){src+='&lt;ul id=Sub'+item.getAttribute(&quot;name&quot;)+'&gt;';for(var sindex=0,slen=subCollectionArray.length;sindex&lt;slen;++sindex){var sitem=subCollectionArray;src+='&lt;li&gt;&lt;a id=&quot;a_'+sitem.getAttribute(&quot;name&quot;)+'&quot; class=&quot;current&quot; href=&quot;javascript:'+this.getName()+'.sideNavClicked(\''+sitem.nodeName+'\',\''+sitem.getAttribute(&quot;name&quot;)+'\');&quot;&gt;'+sitem.getAttribute(&quot;name&quot;)+'&lt;/a&gt;&lt;/li&gt;';}
src+='&lt;/ul&gt;';}
src+='&lt;/li&gt;';}
$(this.sideNavUlId).innerHTML=src;},populateTopNav:function(){if($(this.topNavUlId)){var src='';var collectionArray=this.xmlDoc.getElementsByTagName(&quot;collection&quot;);for(var index=0,len=collectionArray.length;index&lt;len;++index){var item=collectionArray;var itemName=item.getAttribute(&quot;name&quot;);if(itemName!='Most Popular Today'&amp;&amp;itemName!='Special Packages'){var className=itemName;className='navlink_'+className.toLowerCase().replace(/\s+/g,'_');if(index=='1'){src+='&lt;li class=&quot;listFirst&quot;&gt;';}
else{src+='&lt;li&gt;';}
src+='&lt;a class='+className+' id=&quot;a_topnav_'+itemName+'&quot; href=&quot;javascript:'+this.getName()+'.topNavClicked(\''+item.nodeName+'\',\''+itemName+'\');&quot;&gt;'+itemName+'&lt;/a&gt;';src+='&lt;/li&gt;';}}
$(this.topNavUlId).innerHTML=src;}},topNavClicked:function(strType,strName){this.userAction='';this.updateSideNavAppearance(strType,strName);this.updateTopNavAppearance(strType,strName);this.currentlyPlayingCollection=strName;this.getVideos(this.validateContentUrl(this.contentUrlsObject[this.currentlyPlayingCollection])+'&amp;count=60','',false);this.visibleCollectionId=this.currentlyPlayingCollection;this.currentBrowsingJsonObject=this.currentPlayingJsonObject;this.currentlyPlayingVideoId=this.currentPlayingJsonObject.items.id;this.playVideoByVideoId(this.currentlyPlayingVideoId);this.populateMoreVideos(1);this.loadPagination(1);this.browsingGroup=&quot;collection&quot;;this.playingGroup=&quot;collection&quot;;this.createNextVideo();},updateTopNavAppearance:function(strType,strName){var removeFrom=this.currentlyPlayingCollection;if(removeFrom=='Lifestyle'){removeFrom='Life &amp; Style';}
if($('a_topnav_'+removeFrom)){var playingCollectionClassName=$('a_topnav_'+removeFrom).className;var newPlayingCollectionClassName=playingCollectionClassName.replace('selected ','');$('a_topnav_'+removeFrom).className=newPlayingCollectionClassName;}
if($('a_topnav_'+strName)){var classNameToApply='selected '+'navlink_'+strName.toLowerCase().replace(/\s+/g,'_');$('a_topnav_'+strName).className=classNameToApply;}},sideNavClicked:function(strType,strName){this.userAction='';if(this.isNotBlankOrNull(this.contentUrlsObject)){this.browsingGroup=strType;if(strName=='Search Results'){this.userAction='toSearch';this.sortOrder='relevancy';}
else
if(((strType=='subcollection')&amp;&amp;(strName!=this.currentlyPlayingSubCollection))||((strType=='collection')&amp;&amp;(strName!=this.currentlyPlayingCollection))){this.userAction='toBrowse';}
this.updateSideNavAppearance(strType,strName);$(this.videoResultsDivId).innerHTML='&lt;p class=&quot;noResults&quot;&gt; Loading ... &lt;/p&gt;';if(this.isNotBlankOrNull(this.userAction)){this.getVideos(this.contentUrlsObject+'&amp;count=60',this.userAction,true);}
else{this.populateMoreVideos(1);this.loadPagination(1);}}
else{this.updateSideNavAppearance(strType,strName);}},searchLinkClicked:function(searchUrl,sortParam){this.sortOrder=sortParam;this.performSearch(searchUrl);},populateMoreVideos:function(pageNumber){var varToDisplay='';if(this.userAction=='toBrowse'){if(typeof this.currentBrowsingJsonObject!=&quot;undefined&quot;){varToDisplay=this.currentBrowsingJsonObject.items;}}
else
if(this.userAction=='toSearch'){if(typeof this.currentSearchJsonObject!=&quot;undefined&quot;){varToDisplay=this.currentSearchJsonObject.items;}}
else{varToDisplay=this.currentPlayingJsonObject.items;}
var startIndex=(pageNumber-1)*12;var endIndex=Math.min(pageNumber*12-1,varToDisplay.length-1);var str='';if(this.userAction=='toSearch'&amp;&amp;varToDisplay.length&gt;0){str+='&lt;ul class=&quot;sort&quot;&gt;&lt;li class=&quot;listFirst&quot;&gt;Sort by:&lt;/li&gt;';var sUrl='/api-video/find_all_videos.asp?type=wsj-fulltext&amp;query='+this.currentSearchText;if(this.sortOrder=='relevancy'){str+='&lt;li class=&quot;selected&quot;&gt;&lt;span&gt;relevance&lt;/span&gt;&lt;/li&gt;';str+='&lt;li class=&quot;listLast&quot;&gt;&lt;a href=&quot;javascript:'+this.getName()+'.searchLinkClicked(\''+sUrl+'&amp;sort=date+desc\',\'date\')&quot;&gt;Date&lt;/a&gt;&lt;/li&gt;';}
else{str+='&lt;li&gt;&lt;a href=&quot;javascript:'+this.getName()+'.searchLinkClicked(\''+sUrl+'&amp;sort=relevancy\',\'relevancy\')&quot;&gt;Relevance&lt;/a&gt;&lt;/li&gt;';str+='&lt;li class=&quot;listLast selected&quot;&gt;&lt;span&gt;Date&lt;/span&gt;&lt;/li&gt;';}
str+='&lt;/ul&gt;';str+='&lt;p class=&quot;resultsLabel&quot;&gt;'+(startIndex+1)+' - '+(endIndex+1)+' results out of '+varToDisplay.length+' for: '+this.currentSearchText+'&lt;/p&gt;';}
if(this.userAction=='toSearch'&amp;&amp;varToDisplay.length===0){str+='&lt;p class=&quot;noResults&quot;&gt; No content matches your search terms. Please try again. &lt;/p&gt;';$(this.videoResultsDivId).innerHTML=str;return false;}
str+='&lt;ul class=&quot;newsItem video videoListMed&quot;&gt;';for(var i=startIndex;i&lt;endIndex+1;i++){var title=varToDisplay;str+='&lt;li id=&quot;li_'+title.id+'&quot; class=&quot;&quot;&gt;';str+='&lt;a href=&quot;javascript:'+this.getName()+'.videoThumbnailClicked(\''+title.id+'\')&quot; id=&quot;'+title.id+'&quot; style=&quot;background-image: url('+unescape(title.thumbnailURL)+');&quot; class=&quot;preview&quot;&gt;&lt;span&gt;&amp;#160;&lt;/span&gt;&lt;/a&gt;';str+='&lt;h2&gt;&lt;a href=&quot;javascript:'+this.getName()+'.videoThumbnailClicked(\''+title.id+'\')&quot;&gt;'+title.name+'&lt;/a&gt;&lt;/h2&gt;';var minutes=Math.floor(title.duration/60);var seconds=title.duration%60;if(seconds&lt;10){seconds='0'+seconds;}
str+='&lt;small&gt;'+minutes+':'+seconds+'&lt;/small&gt;';if(this.isNotBlankOrNull(title.formattedCreationDate)){str+='&lt;small&gt; '+title.formattedCreationDate.split(' ')+'&lt;/small&gt;';}
str+='&lt;/li&gt;';if(((i+1)%4)===0){str+='&lt;li class=&quot;rowEnd&quot;&gt;&lt;/li&gt;';}}
str+='&lt;/ul&gt;';str+='&lt;ul id=&quot;pagination&quot; class=&quot;pagination&quot;&gt;';str+='&lt;/ul&gt;';if(this.userAction!='toSearch'){var nameToDisplay=this.isNotBlankOrNull(this.visibleSubCollectionId)?this.visibleSubCollectionId:this.visibleCollectionId;str+='&lt;a target=&quot;_blank&quot; id=&quot;rssFeed&quot; class=&quot;rss&quot; href=&quot;&quot;&gt;'+nameToDisplay+' Video Feed&lt;/a&gt;';}
$(this.videoResultsDivId).innerHTML=str;if(!this.playFromRegisteredVideos){this.updateVideoThumbnailVisual('',this.currentlyPlayingVideoId);}},updateRssFeed:function(str){if($(&quot;rssFeed&quot;)){$(&quot;rssFeed&quot;).href=this.rssUrlsObject;}},videoThumbnailClicked:function(videoId){var videoDetails='';if(this.sourceApplicationName=='articlePage'){this.playFromRegisteredVideos=false;this.updateVideoThumbnailVisual('reg'+this.currentlyPlayingVideoId,'');videoDetails=this.getVideoDetails({'id':videoId,'fields':'linkRelativeURL,wsj-section'});}
if(videoDetails!==''&amp;&amp;(this.relatedVideosCollection!=videoDetails['wsj-section']||this.visibleCollectionId=='Search Results')){window.location.href=videoDetails.linkRelativeURL;}
else{this.playingGroup=this.browsingGroup;if(this.userAction=='toSearch'){this.currentPlayingJsonObject=this.currentSearchJsonObject;}
else
if(this.userAction=='toBrowse'){this.currentPlayingJsonObject=this.currentBrowsingJsonObject;}
this.convertCurrentPlayingJsonToIdsArray();this.updateTopNavAppearance('',this.visibleCollectionId);this.currentlyPlayingCollection=this.visibleCollectionId;this.currentlyPlayingSubCollection=this.visibleSubCollectionId;this.updateVideoThumbnailVisual(this.currentlyPlayingVideoId,videoId);this.currentlyPlayingVideoId=videoId;this.playVideoByVideoId(videoId);this.createNextVideo();}
if($(&quot;flashPlayer&quot;)){$(&quot;flashPlayer&quot;).scrollTo();}},playNextVideo:function(){if(this.nextVideoId!==''){this.updateVideoThumbnailVisual('reg'+this.currentlyPlayingVideoId,'reg'+this.nextVideoDetailsJsonObject.id);this.updateVideoThumbnailVisual(this.currentlyPlayingVideoId,this.nextVideoDetailsJsonObject.id);this.currentlyPlayingVideoId=this.nextVideoDetailsJsonObject.id;this.playVideoByParam(this.nextVideoDetailsJsonObject);this.populateVideoSummary(this.nextVideoDetailsJsonObject.name,this.nextVideoDetailsJsonObject.description,this.nextVideoDetailsJsonObject.formattedCreationDate);this.createNextVideo();}},getNextVideoId:function(){if(this.sourceApplicationName=='articlePage'){if(this.playFromRegisteredVideos&amp;&amp;this.registeredVideosIds.indexOf(this.currentlyPlayingVideoId)&lt;this.registeredVideosIds.length-1){return this.registeredVideosIds[this.registeredVideosIds.indexOf(this.currentlyPlayingVideoId)+1];}
if(this.playFromRegisteredVideos&amp;&amp;this.registeredVideosIds.indexOf(this.currentlyPlayingVideoId)==this.registeredVideosIds.length-1){this.playFromRegisteredVideos=false;return this.currentlyPlayingVideoIds;}
if(this.currentlyPlayingVideoIds.indexOf(this.currentlyPlayingVideoId)&lt;(this.currentlyPlayingVideoIds.length-1)){return this.currentlyPlayingVideoIds[this.currentlyPlayingVideoIds.indexOf(this.currentlyPlayingVideoId)+1];}
if(this.currentlyPlayingVideoIds.indexOf(this.currentlyPlayingVideoId)==(this.currentlyPlayingVideoIds.length-1)){return'';}}
else{if(this.currentlyPlayingVideoIds.indexOf(this.currentlyPlayingVideoId)==-1){return this.currentlyPlayingVideoIds;}
if(this.currentlyPlayingVideoIds.indexOf(this.currentlyPlayingVideoId)&lt;(this.currentlyPlayingVideoIds.length-1)){return this.currentlyPlayingVideoIds[this.currentlyPlayingVideoIds.indexOf(this.currentlyPlayingVideoId)+1];}
if(this.currentlyPlayingVideoIds.indexOf(this.currentlyPlayingVideoId)==(this.currentlyPlayingVideoIds.length-1)){if(this.currentlyPlayingCollection=='Search Results'){return'';}
if(this.playingGroup!==&quot;&quot;&amp;&amp;this.playingGroup=='collection'){return this.getVideoIdFromNextCollection();}
if(this.playingGroup!==&quot;&quot;&amp;&amp;this.playingGroup=='subcollection'){return this.getVideoIdFromNextSubCollection();}}}},getVideoIdFromNextSubCollection:function(){var subColAr=this.subcollectionsObject[this.currentlyPlayingCollection];if(subColAr.indexOf(this.currentlyPlayingSubCollection)!=subColAr.length-1){this.currentlyPlayingSubCollection=subColAr[subColAr.indexOf(this.currentlyPlayingSubCollection)+1];this.getVideos(this.contentUrlsObject[this.currentlyPlayingSubCollection]+'&amp;count=60','',false);if(this.currentPlayingJsonObject.items.length===0){return this.getVideoIdFromNextSubCollection();}
else{return this.currentPlayingJsonObject.items.id;}}
else{this.currentlyPlayingSubCollection='';return this.getVideoIdFromNextCollection();}},getVideoIdFromNextCollection:function(){if(this.collectionNamesArray.indexOf(this.currentlyPlayingCollection)!=this.collectionNamesArray.length-1){if(this.skipCollection){this.currentlyPlayingCollection=this.collectionNamesArray[this.collectionNamesArray.indexOf(this.currentlyPlayingCollection)+1];}
this.skipCollection=true;this.getVideos(this.contentUrlsObject[this.currentlyPlayingCollection]+'&amp;count=60','',false);if(this.currentPlayingJsonObject.items.length===0){return this.getVideoIdFromNextCollection();}
else{return this.currentPlayingJsonObject.items.id;}}
else{this.currentlyPlayingCollection=this.defaultCollectionName;this.skipCollection=false;return this.getVideoIdFromNextCollection();}},loadCollectionsDoc:function(){this.ajax=new Ajax.Request(this.collectionsXMLPath+&quot;video-collections.xml&quot;,{method:'get',asynchronous:false,onSuccess:this.handleLoadCollectionsDoc.bindAsEventListener(this),onFailure:function(){alert('Failure while loading xml.');}});return this.xmlDoc;},handleLoadCollectionsDoc:function(transport){this.xmlDoc=transport.responseXML.documentElement;},updateSideNavAppearance:function(strType,id){if(this.visibleSubCollectionId!==''){if($('a_'+this.visibleSubCollectionId)){if($('a_'+this.visibleSubCollectionId).className=='subcollection-selected'){$('a_'+this.visibleSubCollectionId).className='current';}}}
if(strType=='collection'){if(this.visibleCollectionId!==''){if($(this.visibleCollectionId).className=='expanded'){$(this.visibleCollectionId).className='expand';$('a_'+this.visibleCollectionId).className='';}
else{$(this.visibleCollectionId).className='noSubCollection';$('a_'+this.visibleCollectionId).className='';}}
if($(id).className=='expand'){$(id).className='expanded';$('a_'+id).className='collection-selected';}
else{$(id).className='noSubCollection-expanded';$('a_'+id).className='selected';}
this.visibleCollectionId=id;this.visibleSubCollectionId='';}
if(strType=='subcollection'){if(this.isNotBlankOrNull($('a_'+id))){$('a_'+id).className='subcollection-selected';}
if(this.isNotBlankOrNull($(this.visibleCollectionId))){$(this.visibleCollectionId).className='expanded';}
if(this.isNotBlankOrNull($('a_'+this.visibleCollectionId))){$('a_'+this.visibleCollectionId).className='';}
this.visibleSubCollectionId=id;}},getName:function(){return this.objName;},playVideoByVideoId:function(videoId){var url='/api-video/get_video_info.asp?guid='+videoId+'&amp;fields=all';this.getVideos(url,'current',false);},playVideoByParam:function(params){var adZone=new dj.util.Ads().getRegisteredAdsZone('');var lineup=this.isNotBlankOrNull(this.currentlyPlayingSubCollection)?this.currentlyPlayingSubCollection:this.currentlyPlayingCollection;if(adZone!='default'&amp;&amp;adZone!=''){params.adZone=adZone;}
params.lineup=lineup;params.emailPartnerID=110626;params.site=this.site;params.msrc=this.msrc;params.adFrmt=&quot;frmt=2;&quot;;params.playerName=(this.sourceApplicationName=='articlePage')?&quot;video_articletab&quot;:&quot;video_videocenter&quot;;params.embedPlayerURL=this.flashPlayerPath+&quot;main.swf&quot;;params.embedConfigURL=this.embedConfigURL;params.embedPlayerID=&quot;1000&quot;;params.embedName=&quot;flashPlayer&quot;;params.embedBaseURL=this.flashPlayerPath;params.embedHeight=363;params.embedWidth=512;params.larsID=91;params.larsAdTrackingID=1259;params.prop5=window.location.href.split('?');params.prop6=window.location.href;params.prop10=this.getUrlParam(window.location.href,'mod');params.prop11=this.getUrlParam(window.location.href,'reflink');params.prop19=(this.sourceApplicationName=='articlePage')?&quot;video_tab&quot;:&quot;video&quot;;params.prop24=this.prop24;params.prop25=this.prop25;params.prop27=this.prop27;var subSecComponent=this.omnitureEncoding(this.currentlyPlayingCollection,this.currentlyPlayingSubCollection,'s');var secCom
ponent=this.omnitureEncoding(this.currentlyPlayingCollection,this.currentlyPlayingSubCollection,'c');params.prop2=&quot;WSJ_&quot;+secComponent;params.prop3=&quot;WSJ_Video_Video_&quot;+secComponent;params.prop22=&quot;WSJ_Video_Video_&quot;+subSecComponent;params.prop26=&quot;WSJ_&quot;+subSecComponent;params.emailURL=this.emailURL;swfobject.getObjectById(&quot;flashPlayer&quot;).playVideo($H(params).toJSON());},omnitureEncoding:function(col,subcol,type){if(col=='News'){if(subcol=='Politics'&amp;&amp;type=='s'){return'Politics &amp; Campaign';}
if((!this.isNotBlankOrNull(subcol))&amp;&amp;type=='c'){return'US';}
if((!this.isNotBlankOrNull(subcol))&amp;&amp;type=='s'){return'US';}}
if(col=='Management'){if((!this.isNotBlankOrNull(subcol))&amp;&amp;type=='c'){return'Business';}
if((!this.isNotBlankOrNull(subcol))&amp;&amp;type=='s'){return'Management';}
if(subcol=='Business Insight'&amp;&amp;type=='c'){return'Business';}
if(subcol=='Business Insight'&amp;&amp;type=='s'){return'Business Insight';}
return'Business';}
if(col=='Lifestyle'){return'Life &amp; Style';}
if(col=='Special Packages'){if(subcol=='Journal Reports'&amp;&amp;type=='c'){return'Special';}
if(subcol=='Journal Reports'&amp;&amp;type=='s'){return'In-Depth Reports';}
if(subcol=='Journal Women'&amp;&amp;type=='c'){return'Careers';}
if(subcol=='Journal Women'&amp;&amp;type=='s'){return'Journal Women';}}
if(type=='s'&amp;&amp;!(this.isNotBlankOrNull(subcol))){return col;}
if(type=='s'){return subcol;}
if(type=='c'){return col;}},openPopUpPlayer:function(){var currentPlayingLocation=Math.floor(swfobject.getObjectById(&quot;flashPlayer&quot;).getSeek());var width='512';var height='660';var currentlyPlayingCollection=this.currentlyPlayingCollection;if((currentlyPlayingCollection=='Special Packages')||(currentlyPlayingCollection=='Search Results')){currentlyPlayingCollection=this.currentVideoDetailsJsonObject['wsj-section'];}
this.popUpWindow=window.open(this.popUpPageUrl+'?currentPlayingLocation='+currentPlayingLocation+'&amp;currentlyPlayingCollection='+escape(currentlyPlayingCollection)+'&amp;currentlyPlayingVideoId='+this.currentlyPlayingVideoId,'popUpPlayer','height='+height+',width='+width+',left='+((screen.width-Number(width))/2)+',top='+(screen.height-Number(height))/2+',resizable=yes,scrollbars=no,toolbar=no,status=no');},openMicroPopUpPlayer:function(id){var currentPlayingLocation=Math.floor(swfobject.getObjectById(this.videoIdMicroPlayerIdMap).getSeek());var currentlyPlayingCollection=this.microPlayersObjects['wsj-section'];if(currentlyPlayingCollection=='Lifestyle'){currentlyPlayingCollection='Life &amp; Style';}
var currentlyPlayingVideoId=id;var width='512';var height='660';this.popUpWindow=window.open(this.popUpPageUrl+'?currentPlayingLocation='+currentPlayingLocation+'&amp;currentlyPlayingCollection='+escape(currentlyPlayingCollection)+'&amp;currentlyPlayingVideoId='+currentlyPlayingVideoId,'popUpPlayer','height='+height+',width='+width+',left='+((screen.width-Number(width))/2)+',top='+(screen.height-Number(height))/2+',resizable=yes,scrollbars=no,toolbar=no,status=no');},focusPopUp:function(){if(this.popUpWindow){this.popUpWindow.focus();}},createRegisteredVideosThumbnails:function(){if(this.registeredVideosIds.length&gt;0){var str='';for(var index=0,len=this.registeredVideosIds.length;index&lt;len;++index){var title=this.registeredVideos;str+='&lt;li id=&quot;li_reg'+title.id+'&quot; class=&quot;&quot;&gt;';str+='&lt;a href=&quot;javascript:'+this.getName()+'.regVideoThumbnailClicked(\''+title.id+'\',\''+unescape(title.videoURL)+'\')&quot; id=&quot;'+title.id+'&quot; style=&quot;background-image: url('+unescape(title.thumbnailURL)+');&quot; cl
ass=&quot;preview&quot;&gt;&lt;span&gt;&amp;#160;&lt;/span&gt;&lt;/a&gt;';str+='&lt;h2&gt;&lt;a href=&quot;javascript:'+this.getName()+'.regVideoThumbnailClicked(\''+title.id+'\',\''+unescape(title.videoURL)+'\')&quot;&gt;'+title.name+'&lt;/a&gt;&lt;/h2&gt;';var minutes=Math.floor(title.duration/60);var seconds=title.duration%60;if(seconds&lt;10){seconds='0'+seconds;}
str+='&lt;small&gt;'+minutes+':'+seconds+'&lt;/small&gt;';str+='&lt;/li&gt;';if(((index+1)%4)===0){str+='&lt;li class=&quot;rowEnd&quot;&gt;&lt;/li&gt;';}}
$(this.registeredVideosDivId).innerHTML=str;}},regVideoThumbnailClicked:function(videoId){this.playFromRegisteredVideos=true;this.updateVideoThumbnailVisual('reg'+this.currentlyPlayingVideoId,'reg'+videoId);this.updateVideoThumbnailVisual(this.currentlyPlayingVideoId,'');this.currentlyPlayingVideoId=videoId;this.playVideoByVideoId(videoId);this.createNextVideo();},registerVideo:function(videoId){this.playFromRegisteredVideos=true;if(videoId.indexOf('{')==-1){videoId='{'+videoId+'}';}
if(this.registeredVideosIds.indexOf(videoId)==-1){this.registeredVideosIds[this.registeredVideosIds.length]=videoId;this.registeredVideos[this.registeredVideos.length]=this.getVideoDetails({'id':videoId,'fields':'all'});}},loadSoloVideo:function(videoId,divId){if(videoId.indexOf('{')==-1){videoId='{'+videoId+'}';}
var microPlayerId=&quot;MicroPlayer_&quot;+Math.floor(Math.random()*1000000);this.microPlayers[this.microPlayers.length]=microPlayerId;this.videoIdMicroPlayerIdMap=microPlayerId;if(!dj.context.video){dj.context.video={};}
if(!dj.context.video.soloVideos){dj.context.video.soloVideos=[];}
dj.context.video.soloVideos=this;if(swfobject.getFlashPlayerVersion().major&gt;=9){swfobject.embedSWF(this.flashPlayerPath+&quot;microPlayer.swf&quot;,divId,&quot;272&quot;,&quot;180&quot;,&quot;9.0.0&quot;,&quot;&quot;,{'objName':&quot;dummy&quot;,'videoGUID':videoId,'allowPlayerPopup':'1','plyMediaEnabled':'1'},{allowscriptaccess:&quot;always&quot;,wmode:&quot;opaque&quot;},{id:microPlayerId});}
else{this.nonSupportingFlashPlayer(divId);}},getJSON:function(id){var url='/api-video/get_video_info.asp?guid='+id;url+='&amp;fields=all';this.ajax=new Ajax.Request(url,{method:'get',asynchronous:false,requestHeaders:{Accept:'application/json'},onSuccess:this.handleGetJSON.bindAsEventListener(this),onFailure:function(){console.error(&quot;Failed while executing getJSON.&quot;);}});this.microPlayersObjects=this.jsonData;return $H(this.jsonData).toJSON();},handleGetJSON:function(json){this.jsonData=json.responseText.evalJSON(true);var adZone=new dj.util.Ads().getRegisteredAdsZone('');if(adZone!='default'&amp;&amp;adZone!=''){this.jsonData.adZone=adZone;}
this.jsonData.emailPartnerID=110626;this.jsonData.site=this.site;this.jsonData.msrc=this.msrc;this.jsonData.adFrmt=&quot;frmt=0;&quot;;this.jsonData.playerName=&quot;video_articleembed&quot;;this.jsonData.videoCenterURL=&quot;http://&quot;+window.location.host+&quot;/video-center&quot;;this.jsonData.embedPlayerURL=this.flashPlayerPath+&quot;microPlayer.swf&quot;;this.jsonData.embedConfigURL=this.embedConfigURL;this.jsonData.embedPlayerID=&quot;1000&quot;;this.jsonData.embedName=&quot;microflashPlayer&quot;;this.jsonData.embedBaseURL=this.flashPlayerPath;this.jsonData.embedHeight=180;this.jsonData.embedWidth=272;this.jsonData.larsID=91;this.jsonData.larsAdTrackingID=1259;this.jsonData.prop5=window.location.href.split('?');this.jsonData.prop6=window.location.href;this.jsonData.prop10=this.getUrlParam(window.location.href,'mod');this.jsonData.prop11=this.getUrlParam(window.location.href,'reflink');this.jsonData.prop19=&quot;video_emb&quot;;this.jsonData.prop24=this.prop24;this.jsonData.prop25=this.prop25;this.jsonData.prop27=this.prop27;var subSecCompone
nt=this.omnitureEncoding(this.jsonData['wsj-section'],this.jsonData['wsj-subsection'],'s');var secComponent=this.omnitureEncoding(this.jsonData['wsj-section'],this.jsonData['wsj-subsection'],'c');this.jsonData.prop2=&quot;WSJ_&quot;+secComponent;this.jsonData.prop3=&quot;WSJ_Video_Video_&quot;+secComponent;this.jsonData.prop22=&quot;WSJ_Video_Video_&quot;+subSecComponent;this.jsonData.prop26=&quot;WSJ_&quot;+subSecComponent;this.jsonData.emailURL=this.emailURL;var suprsAd='0';try{if(pID.indexOf('0_0_WH')!=-1){suprsAd='1';}}
catch(e){console.error(&quot;pID read error&quot;);}
this.jsonData.suppressAds=suprsAd;},getVideoDetails:function(args){if(!args.id){return&quot;No Id.&quot;;}
var url='/api-video/get_video_info.asp?guid='+args.id;if(args.fields){url+='&amp;fields='+args.fields;}
else{url+='&amp;fields=all';}
this.ajax=new Ajax.Request(url,{method:'get',asynchronous:false,requestHeaders:{Accept:'application/json'},onSuccess:this.handleGetVideoDetails.bindAsEventListener(this),onFailure:function(){console.error(&quot;Failed while executing getVideoDetails.&quot;);}});return this.jsonData;},handleGetVideoDetails:function(json){this.jsonData=json.responseText.evalJSON(true);}});dj.widget.video.popupvideo=Class.create({initialize:function(objName){this.objName=objName;this.currentlyPlayingVideoIds=[];this.videoResultsDivId='video_results';this.defaultCollectionName='News';this.currentPlayingJsonObject={};this.currentBrowsingJsonObject={};this.visibleCollectionId='';this.currentlyPlayingCollection='';this.videoPlayerDivId='video_player';this.currentPlayingLocation='';this.currentlyPlayingCollection='';this.currentlyPlayingVideoId='';this.urlKeysCollectionMap=new Hash();this.contentUrlsObject={};this.rssUrlsObject={};this.collectionNamesArray=[];this.xmlDoc='';this.utilVideoObj=new dj.widget.vide
o.video('','utilVideoObj');this.nextVideoId='';this.nextVideoDetailsJsonObject={};this.skipCollection=true;},getName:function(){return this.objName;},loadVideo:function(){this.createFlashPlayer();},continueLoadVideo:function(){var srcUrl=window.location.href;this.currentPlayingLocation=this.utilVideoObj.getUrlParam(srcUrl,'currentPlayingLocation');this.currentlyPlayingCollection=unescape(this.utilVideoObj.getUrlParam(srcUrl,'currentlyPlayingCollection'));this.currentlyPlayingVideoId=this.utilVideoObj.getUrlParam(srcUrl,'currentlyPlayingVideoId');if(this.currentlyPlayingCollection=='Lifestyle'){this.currentlyPlayingCollection='Life &amp; Style';}
this.xmlDoc=this.utilVideoObj.loadCollectionsDoc();this.parseInformationFromXmlDoc();this.createPopUpFramework();this.popPopulateSelect();this.playVideoByVideoId(this.currentlyPlayingVideoId,this.currentPlayingLocation);this.getVideos(this.contentUrlsObject[this.currentlyPlayingCollection]+'&amp;count=15','',false);this.popPopulateVideos(1);this.popPopulatePagination(1);this.utilVideoObj.updateVideoThumbnailVisual('',this.currentlyPlayingVideoId);this.updateSelect(this.currentlyPlayingCollection);this.createNextVideoParams();this.currentBrowsingJsonObject=this.currentPlayingJsonObject;this.visibleCollectionId=this.currentlyPlayingCollection;},createNextVideoParams:function(){this.nextVideoId=this.getNextVideoId();var url='/api-video/get_video_info.asp?guid='+this.nextVideoId+'&amp;fields=all';this.getVideos(url,'next',true);},popThumbnailClicked:function(videoId){this.utilVideoObj.updateVideoThumbnailVisual(this.currentlyPlayingVideoId,videoId);this.currentPlayingJsonObject=this.curr
entBrowsingJsonObject;this.convertCurrentPlayingJsonToIdsArray();this.currentlyPlayingCollection=this.visibleCollectionId;this.currentlyPlayingVideoId=videoId;this.playVideoByVideoId(videoId);this.createNextVideoParams();},updateSelect:function(collName){$(collName).selected='true';},createPopUpFramework:function(){if($(this.videoResultsDivId)){var str='';str+='&lt;ul id=&quot;popPagination&quot; class=&quot;arrows&quot;&gt;';str+='&lt;/ul&gt;';str+='&lt;h3&gt;More Video in&lt;/h3&gt;';str+='&lt;form  id=&quot;selForm&quot;  action=&quot;http://online.wsj.com/article/SB123681860305802821.html&quot; method=&quot;&quot;&gt;';str+='&lt;/form&gt;';str+='&lt;ul id=&quot;popVideoList&quot; class=&quot;video videoPlaylist&quot;&gt;';str+='&lt;/ul&gt;';$(this.videoResultsDivId).innerHTML=str;}},playVideoByParam:function(params){var adZone=new dj.util.Ads().getRegisteredAdsZone('');var lineup=this.currentlyPlayingCollection;if(adZone!='default'&amp;&amp;adZone!=''){params.adZone=adZone;}
params.lineup=lineup;params.emailPartnerID=110626;params.site=this.utilVideoObj.site;params.msrc=this.utilVideoObj.msrc;params.adFrmt=&quot;frmt=0;&quot;;params.playerName=&quot;video_popup&quot;;params.embedPlayerURL=this.utilVideoObj.flashPlayerPath+&quot;main.swf&quot;;params.embedConfigURL=this.utilVideoObj.embedConfigURL;params.embedPlayerID=&quot;1000&quot;;params.embedName=&quot;popupflashPlayer&quot;;params.embedBaseURL=this.utilVideoObj.flashPlayerPath;params.embedHeight=363;params.embedWidth=512;params.larsID=91;params.larsAdTrackingID=1259;params.prop5=window.location.href.split('?');params.prop6=window.location.href;params.prop10=this.utilVideoObj.getUrlParam(window.location.href,'mod');params.prop11=this.utilVideoObj.getUrlParam(window.location.href,'reflink');params.prop19=&quot;video_popup&quot;;params.prop24=this.utilVideoObj.prop24;params.prop25=this.utilVideoObj.prop25;params.prop27=this.utilVideoObj.prop27;var subSecComponent=this.utilVideoObj.omnitureEncoding(this.currentlyPlayingCollection,'','s');var secCompon
ent=this.utilVideoObj.omnitureEncoding(this.currentlyPlayingCollection,'','c');params.prop2=&quot;WSJ_&quot;+secComponent;params.prop3=&quot;WSJ_Video_Video_&quot;+secComponent;params.prop22=&quot;WSJ_Video_Video_&quot;+subSecComponent;params.prop26=&quot;WSJ_&quot;+subSecComponent;params.emailURL=this.utilVideoObj.emailURL;swfobject.getObjectById(&quot;popupflashPlayer&quot;).playVideo($H(params).toJSON());},getVideos:function(url,userAction,async){var fun=this.handleResponse;if(userAction=='toBrowse'){fun=this.handleBrowsingResults;}
if(userAction=='next'){fun=this.handleNext;}
this.ajax=new Ajax.Request(url,{method:'get',asynchronous:async,requestHeaders:{Accept:'application/json'},onSuccess:fun.bindAsEventListener(this),onFailure:this.handleFailure.bindAsEventListener(this,url,userAction,async)});},handleFailure:function(obj,url,userAction,async){setTimeout(&quot;&quot;+this.getName()+&quot;.getVideos('&quot;+url+&quot;','&quot;+userAction+&quot;','&quot;+async+&quot;')&quot;,10000);},handleResponse:function(json){this.currentPlayingJsonObject=json.responseText.evalJSON(true);this.convertCurrentPlayingJsonToIdsArray();},handleBrowsingResults:function(json){this.currentBrowsingJsonObject=json.responseText.evalJSON(true);this.popPopulateVideos(1);this.popPopulatePagination(1);},handleNext:function(json){this.nextVideoDetailsJsonObject=json.responseText.evalJSON(true);},convertCurrentPlayingJsonToIdsArray:function(){if(this.currentPlayingJsonObject.items.length&gt;0){for(var index=0,len=this.currentPlayingJsonObject.items.length;index&lt;len;++index){this.currentlyPlayingVideoIds=this.currentPlayin
gJsonObject.items.id;}}},playVideoByVideoId:function(videoId,duration){this.currentVideoDetailsJsonObject=this.utilVideoObj.getVideoDetails({'id':videoId,'fields':'all'});this.currentVideoDetailsJsonObject.seekTime=duration;this.playVideoByParam(this.currentVideoDetailsJsonObject);},popPopulateVideos:function(pageNumber){var varToDisplay='';if(this.userAction=='toBrowse'){if(typeof this.currentBrowsingJsonObject!=&quot;undefined&quot;){varToDisplay=this.currentBrowsingJsonObject.items;}}
else{varToDisplay=this.currentPlayingJsonObject.items;}
var startIndex=(pageNumber-1);var endIndex=Math.min(startIndex+3,varToDisplay.length-1);var str='';for(var i=startIndex;i&lt;endIndex+1;i++){var title=varToDisplay;str+='&lt;li class=&quot;&quot; id=&quot;li_'+title.id+'&quot;&gt;';str+='&lt;a href=&quot;#&quot; onClick=&quot;'+this.getName()+'.popThumbnailClicked(\''+title.id+'\')&quot; id=&quot;'+title.id+'&quot; style=&quot;background-image: url('+unescape(title.thumbnailURL)+');&quot; class=&quot;preview&quot;&gt;&lt;span&gt;&amp;#160;&lt;/span&gt;&lt;/a&gt;';str+='&lt;h2&gt;&lt;a href=&quot;#&quot; onClick=&quot;'+this.getName()+'.popThumbnailClicked(\''+title.id+'\')&quot;&gt;'+title.name+'&lt;/a&gt;&lt;/h2&gt;';var minutes=Math.floor(title.duration/60);var seconds=title.duration%60;if(seconds&lt;10){seconds='0'+seconds;}
str+='&lt;small&gt;'+minutes+':'+seconds+'&lt;/small&gt;';str+='&lt;/li&gt;';}
$(&quot;popVideoList&quot;).innerHTML=str;},popPopulatePagination:function(pageNumber){var varToDisplay='';if(this.userAction=='toBrowse'){if(typeof this.currentBrowsingJsonObject!=&quot;undefined&quot;){varToDisplay=this.currentBrowsingJsonObject.items;}}
else{varToDisplay=this.currentPlayingJsonObject.items;}
var lastPageNumber=Math.max(varToDisplay.length-3,1);var str='';if(pageNumber==1){str+='&lt;li class=&quot;prev&quot;&gt;&lt;a&gt;&lt;span&gt;previous&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;';}
else{str+='&lt;li class=&quot;prev&quot;&gt;&lt;a href=&quot;javascript:'+this.getName()+'.popPaginationClicked('+(Number(pageNumber)-1)+')&quot;&gt;&lt;span&gt;previous&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;';}
if(pageNumber==lastPageNumber){str+='&lt;li class=&quot;next&quot;&gt;&lt;a&gt;&lt;span&gt;next&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;';}
else{str+='&lt;li class=&quot;next&quot;&gt;&lt;a href=&quot;javascript:'+this.getName()+'.popPaginationClicked('+(Number(pageNumber)+1)+')&quot;&gt;&lt;span&gt;next&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;';}
$(&quot;popPagination&quot;).innerHTML=str;},popPaginationClicked:function(pageNumber){this.popPopulatePagination(pageNumber);this.popPopulateVideos(pageNumber);this.utilVideoObj.updateVideoThumbnailVisual('',this.currentlyPlayingVideoId);},popPopulateSelect:function(){var str='';str+='&lt;select id=&quot;popSelect&quot; onChange=&quot;javascript:'+this.getName()+'.popSelectChanged(this.value)&quot;&gt;';var collectionArray=this.xmlDoc.getElementsByTagName(&quot;collection&quot;);for(var index=0,len=collectionArray.length;index&lt;len;++index){var item=collectionArray;if(item.getAttribute(&quot;name&quot;)!=&quot;Special Packages&quot;){str+='&lt;option value=&quot;'+item.getAttribute(&quot;name&quot;)+'&quot; id=&quot;'+item.getAttribute(&quot;name&quot;)+'&quot;&gt;'+item.getAttribute(&quot;name&quot;)+'&lt;/option&gt;';}}
str+='&lt;option value=&quot;See More Video&quot; id=&quot;See More Video&quot;&gt;See More Video&lt;/option&gt;';str+='&lt;/select&gt;';$(&quot;selForm&quot;).innerHTML=str;},popSelectChanged:function(collectionName){this.visibleCollectionId=collectionName;if(collectionName=='See More Video'){window.open(this.utilVideoObj.videoCenterPageUrl);return;}
if(collectionName!=this.currentlyPlayingCollection){this.userAction='toBrowse';$(&quot;popVideoList&quot;).innerHTML='&lt;p class=&quot;noResults&quot;&gt; Loading ... &lt;/p&gt;';this.getVideos(this.contentUrlsObject+'&amp;count=15',this.userAction,true);this.popPopulateVideos(1);this.popPopulatePagination(1);}
else{this.userAction='';this.popPopulateVideos(1);this.popPopulatePagination(1);this.utilVideoObj.updateVideoThumbnailVisual('',this.currentlyPlayingVideoId);}},createFlashPlayer:function(){if($(this.videoPlayerDivId)){swfobject.embedSWF(this.utilVideoObj.flashPlayerPath+&quot;main.swf&quot;,this.videoPlayerDivId,&quot;512&quot;,&quot;363&quot;,&quot;9.0.0&quot;,&quot;&quot;,{'objName':this.getName(),'plyMediaEnabled':'1'},{allowscriptaccess:&quot;always&quot;,wmode:&quot;opaque&quot;},{id:&quot;popupflashPlayer&quot;});}},parseInformationFromXmlDoc:function(){var collectionArray=this.xmlDoc.getElementsByTagName(&quot;collection&quot;);for(var index=0,len=collectionArray.length;index&lt;len;++index){var item=collectionArray;this.urlKeysCollectionMap.set(item.getAttribute(&quot;urlkey&quot;),item.getAttribute(&quot;name&quot;));this.contentUrlsObject[item.getAttribute(&quot;name&quot;)]=item.getAttribute(&quot;contenturl&quot;);this.rssUrlsObject[item.getAttribute(&quot;name&quot;)]=item.getAttribute(&quot;rssurl&quot;);this.collectionNamesArray[this.collectionNamesArray.length]=item.getAttribute(&quot;name&quot;);var subCollecti
onArray=item.getElementsByTagName(&quot;subcollection&quot;);var subCollectionArrayLength=subCollectionArray.length;for(var sindex=0,slen=subCollectionArray.length;sindex&lt;slen;++sindex){var sitem=subCollectionArray;this.urlKeysCollectionMap.set(sitem.getAttribute(&quot;urlkey&quot;),sitem.getAttribute(&quot;name&quot;));this.contentUrlsObject[sitem.getAttribute(&quot;name&quot;)]=sitem.getAttribute(&quot;contenturl&quot;);}}},playNextVideo:function(){if(this.nextVideoId!==''){this.utilVideoObj.updateVideoThumbnailVisual(this.currentlyPlayingVideoId,this.nextVideoDetailsJsonObject.id);this.currentlyPlayingVideoId=this.nextVideoDetailsJsonObject.id;this.playVideoByParam(this.nextVideoDetailsJsonObject);this.createNextVideoParams();}},getNextVideoId:function(){if(this.currentlyPlayingVideoIds.indexOf(this.currentlyPlayingVideoId)==-1){return this.currentlyPlayingVideoIds;}
if(this.currentlyPlayingVideoIds.indexOf(this.currentlyPlayingVideoId)&lt;(this.currentlyPlayingVideoIds.length-1)){return this.currentlyPlayingVideoIds[this.currentlyPlayingVideoIds.indexOf(this.currentlyPlayingVideoId)+1];}
if(this.currentlyPlayingVideoIds.indexOf(this.currentlyPlayingVideoId)==(this.currentlyPlayingVideoIds.length-1)){return this.getVideoIdFromNextCollection();}},getVideoIdFromNextCollection:function(){if(this.collectionNamesArray.indexOf(this.currentlyPlayingCollection)!=this.collectionNamesArray.length-1){if(this.skipCollection){this.currentlyPlayingCollection=this.collectionNamesArray[this.collectionNamesArray.indexOf(this.currentlyPlayingCollection)+1];}
this.skipCollection=true;this.getVideos(this.contentUrlsObject[this.currentlyPlayingCollection]+'&amp;count=15','',false);if(this.currentPlayingJsonObject.items.length===0){this.getVideoIdFromNextCollection();}
else{return this.currentPlayingJsonObject.items.id;}}
else{this.currentlyPlayingCollection=this.defaultCollectionName;this.skipCollection=false;return this.getVideoIdFromNextCollection();}}});
if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.video==&quot;undefined&quot;){dj.widget.video={};}
dj.widget.video.Video=Class.create({config:{thumbnail:{divclass:&quot;headlineSummary video&quot;,onclickprefix:&quot;dj.module.articleVideoPlayer.tabplay(&quot;,onclicksuffix:&quot;);&quot;,hrefprefix:&quot;#articleTabs_video-&quot;},bc:{src:&quot;http://wsj.vo.llnwd.net/o28/plymedia/SWF/BrightPLYembed.swf&quot;,flashVars:&quot;playerId=452319854&amp;viewerSecureGatewayURL=https://services.brightcove.com/services/amfgateway&amp;servicesURL=http://services.brightcove.com/services&amp;cdnURL=http://admin.brightcove.com&amp;domain=embed&amp;autoStart=false&amp;showTicker=true&amp;flashId=flashObj&amp;videoId=&quot;,base:&quot;http://wsj.vo.llnwd.net/o28/plymedia/SWF&quot;,bgcolor:&quot;#000000&quot;,name:&quot;BrightPLYembed&quot;,pluginspage:&quot;http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot;,flashversion:&quot;8&quot;}},initialize:function(id,v,w,h,c){if(!id){return;}
this.parentid=id;this.parent=$(id);if(!this.parent){console.log('id '+id+' not found');return;}
this.v=v;w=264;this.w=w;h=254;this.h=h;this.c=c;if(v){this.load(v,w,h,c);}},createwrapper:function(v,w,h){this.div=new Element('div',{'id':this.vidid});if(w&amp;&amp;!this.isguid(v)){this.tryw=''+w+'px';this.div.style.width=this.tryw;}
this.parent.appendChild(this.div);},createvideobc:function(v,w,h,c){this.so=new SWFObject(this.config.bc.src,v,w,h,this.config.bc.flashversion,this.config.bc.bgcolor);this.so.setAttribute('id','video_'+this.vidid);this.so.addParam('base',this.config.bc.base);this.so.addParam(&quot;flashVars&quot;,this.config.bc.flashVars+v+'&amp;');this.so.addParam(&quot;seamlesstabbing&quot;,&quot;false&quot;);this.so.addParam(&quot;swLiveConnect&quot;,&quot;true&quot;);this.so.addParam(&quot;name&quot;,this.config.bc.name);this.so.addParam(&quot;pluginspage&quot;,this.config.bc.pluginspage);this.so.addParam(&quot;wmode&quot;,&quot;opaque&quot;);this.so.write(this.div);if(c){var caption=new Element('p',{'class':'targetCaption'}).update(c);this.div.appendChild(caption);}},createvideoguid:function(v){this.guidvideo=new dj.widget.video.video();this.guidvideo.loadSoloVideo(v,this.vidid);if(this.c){var caption=new Element('p',{'class':'targetCaption'}).update(this.c);this.parent.appendChild(caption);}},createvideo:function(v,w,h,c){if(this.isguid(v))
{this.createvideoguid(v);}else{this.createvideobc(v,w,h,c);}},load:function(v,w,h,c){if(!this.div){this.newId();this.createwrapper(v,w,h);this.createvideo(v,w,h,c);}},createthumbnail:function(playObserver){if(!this.guidvideo){console.error('no guidvideo');return;}
if(!this.guidvideo.details){console.error('no guidvideo.details');return;}
if(!playObserver){console.warn('no playObserver');}
var vtdiv=new Element('div',{'class':'videoTree'});this.div.appendChild(vtdiv);var vfdiv=new Element('div',{'class':'videoFrame'});vtdiv.appendChild(vfdiv);var aimg=new Element('a',{'href':&quot;#&quot;});var that=this;Event.observe(aimg,'click',function(){playObserver.fire(that.v);return false;});vfdiv.appendChild(aimg);var img=new Element('img',{'src':this.guidvideo.details.thumbnailURLSmall,'width':'115','height':'65','alt':'video'});aimg.appendChild(img);var spannbsp=new Element('span',{'class':'videoBug'});spannbsp.update('&amp;#160;');aimg.appendChild(spannbsp);var title=new Element('h3',{'class':'first'});this.div.appendChild(title);var ah3=new Element('a',{&quot;href&quot;:&quot;#&quot;}).update(this.guidvideo.details.name);var that2=this;Event.observe(ah3,'click',function(){playObserver.fire(that2.v);return false;});title.appendChild(ah3);var duration=new Element('small').update(this.formatduration(this.guidvideo.details.duration));this.div.appendChild(duration);var desc=new Element('p',{'class':'tar
getCaption'}).update(this.guidvideo.details.description);this.div.appendChild(desc);},loadthumbnail:function(v,w,h,playObserver){this.v=v;if(!this.isguid(v)){console.error('cannot create tumbnail to old video');return;}
this.getvideodetails();this.newId();this.createwrapper(v,w,h);this.createthumbnail(playObserver);},getvideodetails:function(){this.guidvideo=new dj.widget.video.video();this.guidvideo.details=this.guidvideo.getVideoDetails({'id':this.v,'fields':'name,id,duration,description,thumbnailURL,thumbnailURLSmall'});},setBookMark:function(){if(this.guidvideo){this.guidvideo.setBookMark();}},pauseMicroPlayer:function(){if(this.guidvideo){this.guidvideo.pauseMicroPlayers();}},isguid:function(g){g=''+g;if(g.substring(0,1)!='{'){g='{'+g;}
if(g.substring(0,1)=='{'&amp;&amp;g.substring(9,10)=='-'&amp;&amp;g.substring(14,15)=='-'&amp;&amp;g.substring(19,20)=='-'){return true;}else{return false;}},newId:function(){this.vidid=&quot;videodiv_&quot;+Math.floor(Math.random()*999999);},formatduration:function(d){var minutes=Math.floor(d/60);var seconds=d%60;if(seconds&lt;10){seconds='0'+seconds;}
return''+minutes+':'+seconds;}});
if(typeof dj===&quot;undefined&quot;){dj={};}
if(typeof dj.module===&quot;undefined&quot;){dj.module={};}
if(typeof dj.widget.videoModule===&quot;undefined&quot;){dj.widget.videoModule={};}
dj.module.videoModule={init:function(config){var djL=dj.lang;this.cfg=djL.mixin({videoModuleContainerId:&quot;videoModule&quot;,autonomyVideoClassName:&quot;autonomy_video&quot;},config);var oVidMod=djL.byId(this.cfg.videoModuleContainerId);if(oVidMod===null){console.log(&quot;{VideoModule} is undefined.&quot;);return;}
if(djL.hasClassName(oVidMod,this.cfg.autonomyVideoClassName)){this._setupAutonomyVideo(oVidMod);}
this._setupVideo(oVidMod);},_setupVideo:function(oVidMod){this.panels=dj.widget.panels.PanelsFactory.create(oVidMod,{core:{},carousel:{}});},_setupAutonomyVideo:function(oVidMod){var djL=dj.lang;var oVideoElements=djL.query('.preview',oVidMod);var oVideoElId=null;for(var i=0,len=oVideoElements.length;i&lt;len;i++){var oVideoEl=oVideoElements;oVideoElId=oVideoEl.id;var tempGUID=oVideoElId.split(':');var getImgGuid=tempGUID.replace(/_/g,'-');this.guidvideo=new dj.widget.video.video();var guidVideoDetails=this.guidvideo.getVideoDetails({'id':getImgGuid,'fields':'thumbnailURLSmall'});if(guidVideoDetails!==&quot;undefined&quot;){var getSmallThumnailURL='url('+guidVideoDetails.thumbnailURLSmall+')';if(getSmallThumnailURL!==null){oVideoEl.style.backgroundImage=getSmallThumnailURL;}}else{console.log('getSmallThumnailURL is '+getSmallThumnailURL);oVideoEl.style.backgroundImage='/img/bb/BB_DBlogo.gif';}}}};/* SWFObject v2.1 &lt;http://code.google.com/p/swfobject/&gt;
	Copyright (c) 2007-2008 Geoff Stearns, Michael Williams, and Bobby van der Sluis
	This software is released under the MIT License &lt;http://www.opensource.org/licenses/mit-license.php&gt;
*/
var swfobject=function(){var b=&quot;undefined&quot;,Q=&quot;object&quot;,n=&quot;Shockwave Flash&quot;,p=&quot;ShockwaveFlash.ShockwaveFlash&quot;,P=&quot;application/x-shockwave-flash&quot;,m=&quot;SWFObjectExprInst&quot;,j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&amp;&amp;typeof K.getElementsByTagName!=b&amp;&amp;typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&amp;&amp;typeof T.plugins==Q){x=T.plugins.description;if(x&amp;&amp;!(typeof T.mimeTypes!=b&amp;&amp;T.mimeTypes&amp;&amp;!T.mimeTypes.enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,&quot;$1&quot;);AC=parseInt(x.replace(/^(.*)\..*$/,&quot;$1&quot;),10);AC=parseInt(x.replace(/^.*\.(.*)\s.*$/,&quot;$1&quot;),10);AC=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,&quot;$1&quot;),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+&quot;.7&quot;)}catch(t){try{y=new ActiveXObject(p+&quot;.6&quot;);AC=[6,0,21];y.AllowScriptAccess=&quot;always&quot;}catch(t){if(AC==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!
AB&amp;&amp;y){try{x=y.GetVariable(&quot;$version&quot;);if(x){x=x.split(&quot; &quot;).split(&quot;,&quot;);AC=[parseInt(x,10),parseInt(x,10),parseInt(x,10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,&quot;$1&quot;)):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return }f(H);if(h.ie&amp;&amp;h.win){try{K.write(&quot;&lt;script id=__ie_ondomload defer=true src=//:&gt;&lt;\/script&gt;&quot;);J=C(&quot;__ie_ondomload&quot;);if(J){I(J,&quot;onreadystatechange&quot;,S)}}catch(q){}}if(h.webkit&amp;&amp;typeof K.readyState!=b){Z=setInterval(function(){if(/loaded|complete/.test(K.readyState)){E()}},10)}if(typeof K.addEventListener!=b){K.addEventListener(&quot;DOMContentLoaded&quot;,E,null)}R(E)}();function S(){if(J.readyState==&quot;complete&quot;){J.parentNode.removeChild(J);E()}}function E(){if(e){return }if(h.ie&amp;&amp;h.win){var v=a(&quot;span&quot;);try{var u=K.getElementsByTagName(&quot;body&quot;).appendChild(v);u.parentNode.removeChild(u)}catch(w){return }}e=true;if(Z){clearInterval(Z);Z=null}var q=o.length;for(var r=0;r&lt;q;r++){o()}}function f(q){if(e){q()}else{o[o.length]=q}}function R(r){if(typeof j.addEventListener!=b){j.addEventListener(&quot;load&quot;,r,false)}else{if(typeof K.addEventListener!=b){K.addEventListener(&quot;load&quot;,r,false)}else{if(typeof j.attachEvent!=b){I(j,&quot;onload&quot;,r)}else{if(typeof j.onload==&quot;function&quot;){var q=j.onload;j.onload=function(){q();r()}}else{j.onload=r}}}}}function H(){var t=N.length;for(var q=0;q&lt;t;q++){var u=N.id;if(h.pv&gt;0){var r=C(u);if(r){N.width=r.getAttribute(&quot;width&quot;)?r.getAttribute(&quot;width&quot;):&quot;0&quot;;N.height=r.getAttribute(&quot;height&quot;)?r.getAttribute(&quot;height&quot;):&quot;0&quot;;if(c(N.swfVersion)){if(h.webkit&amp;&amp;h.webkit&lt;312){Y(r)}W(u,true)}else{if(N.expressInstall&amp;&amp;!A&amp;&amp;c(&quot;6.0.65&quot;)&amp;&amp;(h.win||h.mac)){k(N)}else{O(r)}}}}else{W(u,true)}}}function Y(t){var q=t.getElementsByTagName(Q);if(q){var w=a(&quot;embed&quot;),y=q.attributes;if(y){var v=y.length;for(var u=0;u&lt;v;u++){if(y.nodeName==&quot;DATA&quot;){w.setAttribute(&quot;src&quot;,y.nodeValue)}else{w.setAttribute(y.nodeName,y.nodeValue)}}}var x=q.childNodes;if(x){var z=x.length;for(var r=0;r&lt;z;r++){if(x.nodeType==1&amp;&amp;x.nodeName==&quot;PARAM&quot;){w.setAttribute(x.getAttribute(&quot;name&quot;),x.getAttribute(&quot;value&quot;))}}}t.parentNode.replaceChild(w,t)}}function k(w){A=true;var u=C(w.id);if(u){if(w.altContentId){var y=C(w.altContentId);if(y){M=y;l=w.altContentId}}else{M=G(u)}if(!(/%$/.test(w.width))&amp;&amp;parseInt(w.width,10)&lt;310){w.width=&quot;310&quot;}if(!(/%$/.test(w.height))&amp;&amp;parseInt(w.height,10)&lt;137){w.height=&quot;137&quot;}K.title=K.title.slice(0,47)+&quot; - Flash Player Installation&quot;;var z=h.ie&amp;&amp;h.win?&quot;ActiveX&quot;:&quot;PlugIn&quot;,q=K.title,r=&quot;MMredirectURL=&quot;+j.location+&quot;&amp;MMplayerType=&quot;+z+&quot;&amp;MMdoctitle=&quot;+q,x=w.id;if(h.ie&amp;&amp;h.win&amp;&amp;u.readyState!=4){var t=a(&quot;div&quot;);x+=&quot;SWFObjectNew&quot;;t.setAttribute(&quot;id&quot;,x);u.parentNode.insertBefore(t,u);u.style.display=&quot;none&quot;;var v=function(){u.parentNode.removeChild(u)};I(j,&quot;onload&quot;,v)}U({data:w.expressInstall,id:m,width:w.width,height:w.height},{flashvars:r},x)}}function O(t){if(h.ie&amp;&amp;h.win&amp;&amp;t.readyState!=4){var r=a(&quot;div&quot;);t.parentNode.insertBefore(r,t);r.parentNode.replaceChild(G(t),r);t.style.display=&quot;none&quot;;var q=function(){t.parentNode.removeChild(t)};I(j,&quot;onload&quot;,q)}else{t.parentNode.replaceChild(G(t),t)}}function G(v){var u=a(&quot;div&quot;);if(h.win&amp;&amp;h.ie){u.innerHTML=v.innerHTML}else{var r=v.getElementsByTagName(Q);if(r){var w=r.childNodes;if(w){var q=w.length;for(var t=0;t&lt;q;t++){if(!(w.nodeType==1&amp;&amp;w.nodeName==&quot;PARAM&quot;)&amp;&amp;!(w.nodeType==8)){u.appendChild(w.cloneNode(true))}}}}}return u}function U(AG,AE,t){var q,v=C(t);if(v){if(typeof AG.id==b){AG.id=t}if(h.ie&amp;&amp;h.win){var AF=&quot;&quot;;for(var AB in AG){if(AG!=Object.prototype){if(AB.toLowerCase()==&quot;data&quot;){AE.movie=AG}else{if(AB.toLowerCase()==&quot;styleclass&quot;){AF+=' class=&quot;'+AG+'&quot;'}else{if(AB.toLowerCase()!=&quot;classid&quot;){AF+=&quot; &quot;+AB+'=&quot;'+AG+'&quot;'}}}}}var AD=&quot;&quot;;for(var AA in AE){if(AE!=Object.prototype){AD+='&lt;param name=&quot;'+AA+'&quot; value=&quot;'+AE+'&quot; /&gt;'}}v.outerHTML='&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;'+AF+&quot;&gt;&quot;+AD+&quot;&lt;/object&gt;&quot;;i[i.length]=AG.id;q=C(AG.id)}else{if(h.webkit&amp;&amp;h.webkit&lt;312){var AC=a(&quot;embed&quot;);AC.setAttribute(&quot;type&quot;,P);for(var z in AG){if(AG!=Object.prototype){if(z.toLowerCase()==&quot;data&quot;){AC.setAttribute(&quot;src&quot;,AG)}else{if(z.toLowerCase()==&quot;styleclass&quot;){AC.setAttribute(&quot;class&quot;,AG)}else{if(z.toLowerCase()!=&quot;classid&quot;){AC.setAttribute(z,AG)}}}}}for(var y in AE){if(AE!=Object.prototype){if(y.toLowerCase()!=&quot;movie&quot;){AC.setAttribute(y,AE)}}}v.parentNode.replaceChild(AC,v);q=AC}else{var u=a(Q);u.setAttribute(&quot;type&quot;,P);for(var x in AG){if(AG!=Object.prototype){if(x.toLowerCase()==&quot;styleclass&quot;){u.setAttribute(&quot;class&quot;,AG)}else{if(x.toLowerCase()!=&quot;classid&quot;){u.setAttribute(x,AG)}}}}for(var w in AE){if(AE!=Object.prototype&amp;&amp;w.toLowerCase()!=&quot;movie&quot;){F(u,w,AE)}}v.parentNode.replaceChild(u,v);q=u}}}return q}function F(t,q,r){var u=a(&quot;param&quot;);u.setAttribute(&quot;name&quot;,q);u.setAttribute(&quot;value&quot;,r);t.appendChild(u)}function X(r){var q=C(r);if(q&amp;&amp;(q.nodeName==&quot;OBJECT&quot;||q.nodeName==&quot;EMBED&quot;)){if(h.ie&amp;&amp;h.win){if(q.readyState==4){B(r)}else{j.attachEvent(&quot;onload&quot;,function(){B(r)})}}else{q.parentNode.removeChild(q)}}}function B(t){var r=C(t);if(r){for(var q in r){if(typeof r==&quot;function&quot;){r=null}}r.parentNode.removeChild(r)}}function C(t){var q=null;try{q=K.getElementById(t)}catch(r){}return q}function a(q){return K.createElement(q)}function I(t,q,r){t.attachEvent(q,r);d[d.length]=[t,q,r]}function c(t){var r=h.pv,q=t.split(&quot;.&quot;);q=parseInt(q,10);q=parseInt(q,10)||0;q=parseInt(q,10)||0;return(r&gt;q||(r==q&amp;&amp;r&gt;q)||(r==q&amp;&amp;r==q&amp;&amp;r&gt;=q))?true:false}function V(v,r){if(h.ie&amp;&amp;h.mac){return }var u=K.getElementsByTagName(&quot;head&quot;),t=a(&quot;style&quot;);t.setAttribute(&quot;type&quot;,&quot;text/css&quot;);t.setAttribute(&quot;media&quot;,&quot;screen&quot;);if(!(h.ie&amp;&amp;h.win)&amp;&amp;typeof K.createTextNode!=b){t.appendChild(K.createTextNode(v+&quot; {&quot;+r+&quot;}&quot;))}u.appendChild(t);if(h.ie&amp;&amp;h.win&amp;&amp;typeof K.styleSheets!=b&amp;&amp;K.styleSheets.length&gt;0){var q=K.styleSheets[K.styleSheets.length-1];if(typeof q.addRule==Q){q.addRule(v,r)}}}function W(t,q){var r=q?&quot;visible&quot;:&quot;hidden&quot;;if(e&amp;&amp;C(t)){C(t).style.visibility=r}else{V(&quot;#&quot;+t,&quot;visibility:&quot;+r)}}function g(s){var r=/[\\\&quot;&lt;&gt;\.;]/;var q=r.exec(s)!=null;return q?encodeURIComponent(s):s}var D=function(){if(h.ie&amp;&amp;h.win){window.attachEvent(&quot;onunload&quot;,function(){var w=d.length;for(var v=0;v&lt;w;v++){d.detachEvent(d,d)}var t=i.length;for(var u=0;u&lt;t;u++){X(i)}for(var r in h){h=null}h=null;for(var q in swfobject){swfobject=null}swfobject=null})}}();return{registerObject:function(u,q,t){if(!h.w3cdom||!u||!q){return }var r={};r.id=u;r.swfVersion=q;r.expressInstall=t?t:false;N[N.length]=r;W(u,false)},getObjectById:function(v){var q=null;if(h.w3cdom){var t=C(v);if(t){var u=t.getElementsByTagName(Q);if(!u||(u&amp;&amp;typeof t.SetVariable!=b)){q=t}else{if(typeof u.SetVariable!=b){q=u}}}}return q},embedSWF:function(x,AE,AB,AD,q,w,r,z,AC){if(!h.w3cdom||!x||!AE||!AB||!AD||!q){return }AB+=&quot;&quot;;AD+=&quot;&quot;;if(c(q)){W(AE,false);var AA={};if(AC&amp;&amp;typeof AC===Q){for(var v in AC){if(AC!=Object.prototype){AA=AC}}}AA.data=x;AA.width=AB;AA.height=AD;var y={};if(z&amp;&amp;typeof z===Q){for(var u in z){if(z!=Object.prototype){y=z}}}if(r&amp;&amp;typeof r===Q){for(var t in r){if(r!=Object.prototype){if(typeof y.flashvars!=b){y.flashvars+=&quot;&amp;&quot;+t+&quot;=&quot;+r}else{y.flashvars=t+&quot;=&quot;+r}}}}f(function(){U(AA,y,AE);if(AA.id==AE){W(AE,true)}})}else{if(w&amp;&amp;!A&amp;&amp;c(&quot;6.0.65&quot;)&amp;&amp;(h.win||h.mac)){A=true;W(AE,false);f(function(){var AF={};AF.id=AF.altContentId=AE;AF.width=AB;AF.height=AD;AF.expressInstall=w;k(AF)})}}},getFlashPlayerVersion:function(){return{major:h.pv,minor:h.pv,release:h.pv}},hasFlashPlayerVersion:c,createSWF:function(t,r,q){if(h.w3cdom){return U(t,r,q)}else{return undefined}},removeSWF:function(q){if(h.w3cdom){X(q)}},createCSS:function(r,q){if(h.w3cdom){V(r,q)}},addDomLoadEvent:f,addLoadEvent:R,getQueryParamValue:function(v){var u=K.location.search||K.location.hash;if(v==null){return g(u)}if(u){var t=u.substring(1).split(&quot;&amp;&quot;);for(var r=0;r&lt;t.length;r++){if(t.substring(0,t.indexOf(&quot;=&quot;))==v){return g(t.substring((t.indexOf(&quot;=&quot;)+1)))}}}return&quot;&quot;},expressInstallCallback:function(){if(A&amp;&amp;M){var q=C(m);if(q){q.parentNode.replaceChild(M,q);if(l){W(l,true);if(h.ie&amp;&amp;h.win){M.style.display=&quot;block&quot;}}M=null;l=null;A=false}}}}}();
/**
 * SWFObject v1.4.1: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept==&quot;undefined&quot;){var deconcept=new Object();}
if(typeof deconcept.util==&quot;undefined&quot;){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil==&quot;undefined&quot;){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){
if(!document.createElement||!document.getElementById){return;}
this.DETECT_KEY=_b?_b:&quot;detectflash&quot;;
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute(&quot;swf&quot;,_1);}
if(id){this.setAttribute(&quot;id&quot;,id);}
if(w){this.setAttribute(&quot;width&quot;,w);}
if(h){this.setAttribute(&quot;height&quot;,h);}
if(_5){this.setAttribute(&quot;version&quot;,new deconcept.PlayerVersion(_5.toString().split(&quot;.&quot;)));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute(&quot;version&quot;),_7);
if(c){this.addParam(&quot;bgcolor&quot;,c);}
var q=_8?_8:&quot;high&quot;;
this.addParam(&quot;quality&quot;,q);
this.setAttribute(&quot;useExpressInstall&quot;,_7);
this.setAttribute(&quot;doExpressInstall&quot;,false);
var _d=(_9)?_9:window.location;
this.setAttribute(&quot;xiRedirectUrl&quot;,_d);
this.setAttribute(&quot;redirectUrl&quot;,&quot;&quot;);
if(_a){this.setAttribute(&quot;redirectUrl&quot;,_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes=_f;
},getAttribute:function(_10){
return this.attributes;
},addParam:function(_11,_12){
this.params=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables=_14;
},getVariable:function(_15){
return this.variables;
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){_16.push(key+&quot;=&quot;+_18);}
return _16;
},getSWFHTML:function(){
var _19=&quot;&quot;;
if(navigator.plugins&amp;&amp;navigator.mimeTypes&amp;&amp;navigator.mimeTypes.length){
if(this.getAttribute(&quot;doExpressInstall&quot;)){this.addVariable(&quot;MMplayerType&quot;,&quot;PlugIn&quot;);}
_19=&quot;&lt;embed type=\&quot;application/x-shockwave-flash\&quot; src=\&quot;&quot;+this.getAttribute(&quot;swf&quot;)+&quot;\&quot; width=\&quot;&quot;+this.getAttribute(&quot;width&quot;)+&quot;\&quot; height=\&quot;&quot;+this.getAttribute(&quot;height&quot;)+&quot;\&quot;&quot;;
_19+=&quot; id=\&quot;&quot;+this.getAttribute(&quot;id&quot;)+&quot;\&quot; name=\&quot;&quot;+this.getAttribute(&quot;id&quot;)+&quot;\&quot; &quot;;
var _1a=this.getParams();
for(var key in _1a){_19+=+&quot;=\&quot;&quot;+_1a+&quot;\&quot; &quot;;}
var _1c=this.getVariablePairs().join(&quot;&amp;&quot;);
if(_1c.length&gt;0){_19+=&quot;flashvars=\&quot;&quot;+_1c+&quot;\&quot;&quot;;}
_19+=&quot;/&gt;&quot;;}else{if(this.getAttribute(&quot;doExpressInstall&quot;)){this.addVariable(&quot;MMplayerType&quot;,&quot;ActiveX&quot;);}
_19=&quot;&lt;object id=\&quot;&quot;+this.getAttribute(&quot;id&quot;)+&quot;\&quot; classid=\&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\&quot; width=\&quot;&quot;+this.getAttribute(&quot;width&quot;)+&quot;\&quot; height=\&quot;&quot;+this.getAttribute(&quot;height&quot;)+&quot;\&quot;&gt;&quot;;
_19+=&quot;&lt;param name=\&quot;movie\&quot; value=\&quot;&quot;+this.getAttribute(&quot;swf&quot;)+&quot;\&quot; /&gt;&quot;;
var _1d=this.getParams();
for(var key in _1d){_19+=&quot;&lt;param name=\&quot;&quot;+key+&quot;\&quot; value=\&quot;&quot;+_1d+&quot;\&quot; /&gt;&quot;;}
var _1f=this.getVariablePairs().join(&quot;&amp;&quot;);
if(_1f.length&gt;0){_19+=&quot;&lt;param name=\&quot;flashvars\&quot; value=\&quot;&quot;+_1f+&quot;\&quot; /&gt;&quot;;}_19+=&quot;&lt;/object&gt;&quot;;}
return _19;},write:function(_20){
if(this.getAttribute(&quot;useExpressInstall&quot;)){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&amp;&amp;!this.installedVer.versionIsValid(this.getAttribute(&quot;version&quot;))){
this.setAttribute(&quot;doExpressInstall&quot;,true);
this.addVariable(&quot;MMredirectURL&quot;,escape(this.getAttribute(&quot;xiRedirectUrl&quot;)));
document.title=document.title.slice(0,47)+&quot; - Flash Player Installation&quot;;
this.addVariable(&quot;MMdoctitle&quot;,document.title);}}
if(this.skipDetect||this.getAttribute(&quot;doExpressInstall&quot;)||this.installedVer.versionIsValid(this.getAttribute(&quot;version&quot;))){
var n=(typeof _20==&quot;string&quot;)?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();return true;
}else{if(this.getAttribute(&quot;redirectUrl&quot;)!=&quot;&quot;){document.location.replace(this.getAttribute(&quot;redirectUrl&quot;));}}return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(_23,_24){
var _25=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&amp;&amp;navigator.mimeTypes.length){
var x=navigator.plugins[&quot;Shockwave Flash&quot;];
if(x&amp;&amp;x.description){_25=new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,&quot;&quot;).replace(/(\s+r|\s+b[0-9]+)/,&quot;.&quot;).split(&quot;.&quot;));}
}else{try{var axo=new ActiveXObject(&quot;ShockwaveFlash.ShockwaveFlash&quot;);
for(var i=3;axo!=null;i++){axo=new ActiveXObject(&quot;ShockwaveFlash.ShockwaveFlash.&quot;+i);_25=new deconcept.PlayerVersion([i,0,0]);}}
catch(e){}
if(_23&amp;&amp;_25.major&gt;_23.major){return _25;}
if(!_23||((_23.minor!=0||_23.rev!=0)&amp;&amp;_25.major==_23.major)||_25.major!=6||_24){
try{_25=new deconcept.PlayerVersion(axo.GetVariable(&quot;$version&quot;).split(&quot; &quot;).split(&quot;,&quot;));}
catch(e){}}}return _25;};
deconcept.PlayerVersion=function(_29){
this.major=parseInt(_29)!=null?parseInt(_29):0;
this.minor=parseInt(_29)||0;
this.rev=parseInt(_29)||0;};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major&lt;fv.major){return false;}
if(this.major&gt;fv.major){return true;}
if(this.minor&lt;fv.minor){return false;}
if(this.minor&gt;fv.minor){return true;}
if(this.rev&lt;fv.rev){return false;}return true;};
deconcept.util={getRequestParameter:function(_2b){
var q=document.location.search||document.location.hash;
if(q){var _2d=q.indexOf(_2b+&quot;=&quot;);
var _2e=(q.indexOf(&quot;&amp;&quot;,_2d)&gt;-1)?q.indexOf(&quot;&amp;&quot;,_2d):q.length;
if(q.length&gt;1&amp;&amp;_2d&gt;-1){return q.substring(q.indexOf(&quot;=&quot;,_2d)+1,_2e);}}
return &quot;&quot;;}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){
var _2f=document.getElementsByTagName(&quot;OBJECT&quot;);
for(var i=0;i&lt;_2f.length;i++){
for(var x in _2f){if(typeof _2f==&quot;function&quot;){_2f=null;}}}};
if(typeof window.onunload==&quot;function&quot;){
var oldunload=window.onunload;
window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();oldunload();};
}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;}
if(Array.prototype.push==null){
Array.prototype.push=function(_32){
this[this.length]=_32;
return this.length;};}

var getQueryParamValue = deconcept.util.getRequestParameter;
var FlashObject = deconcept.SWFObject; // for backwards compatibility
var SWFObject = deconcept.SWFObject;


if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.flash==&quot;undefined&quot;){dj.widget.flash={};}
dj.widget.flash.Flash=Class.create({initialize:function(id,p,s,params){this.parent=$(id);if(typeof params==&quot;undefined&quot;){params={&quot;noload&quot;:false};}
if(!params.noload){params.noload=false;}
this.config={};this.config.myMovie='/public/resources/documents/info-flash08-preloader.swf';this.p=p;this.s=s;this.getSettings=true;this.swfPrefix='info-';this.params=params;this.settingsObserver=new dj.util.Observer();if(p&amp;&amp;!params.noload){this.load(p,s);}},newId:function(){this.flid=&quot;flashdiv_&quot;+Math.floor(Math.random()*999999);},loadsettings:function(p,s){this.p=p;this.s=s;if(!this.getSettings){this.swfsettings={};return;}
this.settingfile='/public/resources/documents/'+this.swfPrefix+p+'-settings.js';if(!this.swfsettings){this.swfsettings=null;var that=this;this.ajax=new Ajax.Request(this.settingfile,{method:'get',onSuccess:function(transport){that.raw_response=transport.responseText;if(that.raw_response){var json_start=that.raw_response.indexOf('{');var json_end=that.raw_response.lastIndexOf('}');if(json_start&gt;-1){that.raw_response=that.raw_response.substring(json_start,json_end+1);}
that.raw_json=that.raw_response.evalJSON();that.finishsettings(transport);}}});}},finishsettings:function(){this.swfsettings=this.raw_json.swfsettings;this.swfpreloader=this.swfsettings.requiredSettings.preloader;this.swfwidth=this.swfsettings.requiredSettings.swfwidth;this.swfheight=this.swfsettings.requiredSettings.swfheight;this.settingsObserver.fire(this.p,this.s);},createwrapper:function(){this.newId();this.div=document.createElement('div');this.div.setAttribute('id',this.flid);this.parent.appendChild(this.div);},createflash:function(){if(this.so){return;}
if(this.swfpreloader){if(this.swfpreloader.substring(0,5)==&quot;http:&quot;){this.myMovie=this.swfpreloader;}else{this.myMovie='/public/resources/documents/'+this.swfpreloader+'?'+this.p;}}else{this.myMovie=this.config.myMovie+'?'+this.p;}
this.so=new SWFObject(this.myMovie,this.p,this.swfwidth,this.swfheight,&quot;9.0.28&quot;,&quot;#FFFFFF&quot;);this.preload='info-'+this.p+'-preload.xml';this.so.addParam('allowScriptAccess','always');this.so.addParam(&quot;wmode&quot;,&quot;opaque&quot;);this.so.addParam('base','/public/resources/documents');this.so.addParam(&quot;menu&quot;,&quot;false&quot;);if(this.swfsettings&amp;&amp;this.swfsettings.optionalParameters){for(param in this.swfsettings.optionalParameters){this.so.addParam(param,this.swfsettings.optionalParameters);}}
if(this.swfsettings&amp;&amp;this.swfsettings.optionalSettings){for(setting in this.swfsettings.optionalSettings){this.so.addVariable(setting,this.swfsettings.optionalSettings);}}
if(this.params&amp;&amp;this.params.flashVars){for(param in this.params.flashvars){this.so.addVariable(setting,this.params.flashvars);}}
this.so.addVariable(&quot;SlugName&quot;,this.p);this.so.addVariable(&quot;placement&quot;,&quot;tab&quot;);this.so.addVariable(&quot;PreloaderURL&quot;,this.preload);this.so.addVariable(&quot;MovieWidth&quot;,this.swfwidth);this.so.addVariable(&quot;MovieHeight&quot;,this.swfheight);this.so.addVariable(&quot;asub&quot;,dj.util.Cookie.getCookie(&quot;user_type&quot;));this.so.addVariable(&quot;basePath&quot;,'/public/resources/documents');this.so.addVariable(&quot;cdnDomain&quot;,cdnDomain);this.so.addVariable(&quot;serverDomain&quot;,uP);this.so.addVariable(&quot;id&quot;,this.s);this.so.write(this.div);},load:function(p,s){var that=this;this.settingsObserver.subscribe(function(){that.create();});this.newId();this.loadsettings(p,s);if(this.swfsettings){this.create(p,s);}},create:function(p,s){this.createwrapper();this.createflash();this.settingsObserver.unsubscribe(this.create);}});dj.widget.flash.SlideshowFlash=Class.create(dj.widget.flash.Flash,{initialize:function($super,id,p,s,noload){$super(id,p,s,noload);this.config.myMovie='/public/resources/documents/info-slideshow08-preloader.swf';wi
ndow.getContent=this.getContent;},getContent:function(){return null;}});
dj.module.globalHeader=function(){var cfg=new dj.util.Config(this);var DEFAULT_CONFIG={HEADER_CONTAINER_CLASS:{key:&quot;headerContainerClass&quot;,value:&quot;.header&quot;},TIMESTAMP_CLASS:{key:&quot;timestamp&quot;,value:&quot;.date&quot;},WSJ_LOGO_ID:{key:&quot;wsjLogoId&quot;,value:&quot;wsjLogo&quot;},WSJ_LARGE_LOGO_CLASSNAME:{key:&quot;wsjLargeLogoClassName&quot;,value:&quot;logo_large&quot;},WSJ_SMALL_LOGO_CLASSNAME:{key:&quot;wsjSmallLogoClassName&quot;,value:&quot;logo_small&quot;},CURRENT_SUBSECTION_DISPLAY_CLASS:{key:&quot;currentSubSectionDisplayClass&quot;,value:&quot;.currentSubSection&quot;},GLOBALNAV_SUBSECTION_ELEMENT_ID:{key:&quot;globalNavSubSectionElementId&quot;,value:&quot;currentGlobalNavSubSection&quot;},SUBSCRIBER_LOGIN_CLASS:{key:&quot;subscriberLoginClass&quot;,value:&quot;.login&quot;},HEADER_PROMO_CLASS:{key:&quot;headerPromoClass&quot;,value:&quot;.promo&quot;},SUBSCRIBER_DETAILS_ELEMENT_ID:{key:&quot;subscriberDetailsElementId&quot;,value:&quot;subscribedUserDetailsId&quot;},COMMUNITY_FORUMS_LINK_CLASS:{key:&quot;communityForumsLinkClass&quot;,value:&quot;.communityForumsLink&quot;},TODAYS_PAPER_LINK_CLASS:{key:&quot;todaysPaperLinkClass&quot;,value:&quot;.todaysPaperLink&quot;},
MOJ_LINK_CLASS:{key:&quot;mojLinkClass&quot;,value:&quot;.myOnlineJournalLink&quot;},MESSAGE_CENTER_LINK_CLASS:{key:&quot;messageCenterLink&quot;,value:&quot;.messageCenterLink&quot;},MESSAGE_COUNT_CLASS:{key:&quot;messageCountClass&quot;,value:&quot;.messageCount&quot;},LOGIN_USERNAME_ELEMENT_ID:{key:&quot;loginUserElementId&quot;,value:&quot;login_username&quot;},LOGIN_PASSWORD_ELEMENT_ID:{key:&quot;loginPasswordElementId&quot;,value:&quot;login_password&quot;},LOGIN_FORM_ID:{key:&quot;loginFormId&quot;,value:&quot;login_form&quot;},PAGE_URL_ELEMENT_ID:{key:&quot;pageUrlElementId&quot;,value:&quot;page_url&quot;},LOGOUT_LINK_ELEMENT_ID:{key:&quot;logoutLinkElementId&quot;,value:&quot;logoutLink&quot;},USER_NAME_ELEMENT_ID:{key:&quot;userNameElementId&quot;,value:&quot;userName&quot;},WSJ_LOGO_FADE_APPEAR_DURATION:{key:&quot;wsjLogoFadeAppearDuration&quot;,value:&quot;1.0&quot;},WSJ_LOGO_DELAY_DURATION:{key:&quot;wsjLogoDelayDuration&quot;,value:&quot;2000&quot;},LOGGED_IN_COMMUNITY_URL:{key:&quot;loggedInCommunityUrl&quot;,value:&quot;/community&quot;},LOGGED_IN_TODAYS_PAPER_URL:{key:&quot;loggedInTodaysPaperUrl&quot;,value:&quot;/page/us_in_todays_paper.html&quot;},MESSAGE_CENTER_POST_URL:{key:&quot;messageCenterPostUrl&quot;,value:&quot;/community/integration/messagescount.html&quot;},LOGOUT_URL:{key:&quot;logoutUrl&quot;,value:&quot;/static_html_files/logout_confirmation.htm&quot;},SUBSCRIBER_HOMEPAGE_PID:{key:&quot;subscriberHomepagePid&quot;,value:&quot;0_0_WH_0001&quot;},NONSUBSCRIBER_HOMEPAGE_PID:{key:&quot;nonSubscriberHomepagePid&quot;,value:&quot;0_0_WH_0001_public&quot;},ASIA_PAGE_PID:{key:&quot;asiaPagePid&quot;,value:&quot;0_0_WP_2103&quot;},EUROPE_PAGE_PID:{key:&quot;europePagePid&quot;,value:&quot;0_0_WP_2104&quot;},NONSUBSCRIBER_NEWSLETTERS_ALERTS_PAGE_PID:{key:&quot;nonSubNewslettersAlertsPagePid&quot;,value:&quot;5_6007&quot;},NONSUBSCRIBER_SEARCH_PAGE_PID:{key:&quot;nonSubscriberSearchPagePid&quot;,value:&quot;3_0466&quot;},HOMEPAGE_SUBSCRIBER_URL:{key:&quot;homePageSubscriberUrl&quot;,value:&quot;/&quot;},SEARCH_PAGE_SUBSCRIBER_URL:{key:&quot;searchPageSubscriberUrl&quot;,value:&quot;/search&quot;},TODAYS_PAPER_LINK_CONTAINER_CLASS:{key:&quot;todaysPaperLinkContainerClass&quot;,value:&quot;.todaysPaperLinkContainer&quot;},VIDEO_LINK_CONTAINER_CLASS:{key:&quot;videoLinkClass&quot;,value:&quot;.videoLinkContainer&quot;},COLUMNS_LINK_CONTAINER_CLASS:{key:&quot;columnsLinkClass&quot;,value:&quot;.columnsLinkContainer&quot;},BLOGS_LINK_CONTAINER_CLASS:{key:&quot;blogsLinkClass&quot;,value:&quot;.blogsLinkContainer&quot;},INTERACTIVE_GRAPHICS_LINK_CONTAINER_CLASS:{key:&quot;interactiveGraphicsLinkContainerClass&quot;,value:&quot;.interactiveGraphicsLinkContainer&quot;},COMMUNITY_FORUMS_LINK_CONTAINER_CLASS:{key:&quot;communityForumsLinkContainerClass&quot;,value:&quot;.communityForumsLinkContainer&quot;},TODAYS_PAPER_US_NONSUB_PID:{key:&quot;todaysPaperUsNonSubPid&quot;,value:&quot;2_0433&quot;},TODAYS_PAPER_EUROPE_NONSUB_PID:{key:&quot;todaysPaperEuropeNonSubPid&quot;,value:&quot;2_0434&quot;},TODAYS_PAPER_ASIA_NONSUB_PID:{key:&quot;todaysPaperAsiaNonSubPid&quot;,value:&quot;2_0435&quot;},TODAYS_PAPER_US_PID:{key:&quot;todaysPaperUsPid&quot;,value:&quot;2_0133&quot;},TODAYS_PAPER_EUROPE_PID:{key:&quot;todaysPaperEuropePid&quot;,value:&quot;2_0134&quot;},TODAYS_PAPER_ASIA_PID:{key:&quot;todaysPaperAsiaPid&quot;,value:&quot;2_0135&quot;},TODAYS_PAPER_PAST_EDITIONS_PID:{key:&quot;todaysPaperPastEditionsPid&quot;,value:&quot;2_0233&quot;},TODAYS_PAPER_INDEX_BIZ_PID:{key:&quot;todaysPaperIndexBizPid&quot;,value:&quot;2_0156&quot;},TODAYS_PAPER_INDEX_PEOPLE_PID:{key:&quot;todaysPaperIndexPeoplePid&quot;,value:&quot;2_0155&quot;},TODAYS_PAPER_CORRECTIONS_PID:{key:&quot;todaysPaperCorrectionsPid&quot;,value:&quot;Corrections&quot;},VIDEO_PID:{key:&quot;videoPid&quot;,value:&quot;0_0_WP_3000&quot;},BLOGS_PID:{key:&quot;blogsPid&quot;,value:&quot;8_0019&quot;},COLUMNS_PID:{key:&quot;columnsPid&quot;,value:&quot;2_0140&quot;},INTERACTIVE_GRAPHICS_PID:{key:&quot;interactiveGraphicsPid&quot;,value:&quot;0_0_WP_2003&quot;},NEWSLETTERS_ALERTS_SUB_PID:{key:&quot;newslettersAlertsSubPid&quot;,value:&quot;5_6001&quot;},NEWSLETTERS_ALERTS_PUB_PID:{key:&quot;newslettersAlertsSubPid&quot;,value:&quot;5_6003&quot;},MOJ_LINK_URL:{key:&quot;mojLinkUrl&quot;,value:&quot;/myonlinejournal&quot;},MDC_LINK_URL:{key:&quot;mdcLinkUrl&quot;,value:&quot;/mdc/page/marketsdata.html&quot;},MDC_PAGE_PID:{key:&quot;mdcPagePid&quot;,value:&quot;2_3000&quot;},COMMUNITY_HIGHLIGHT_COMPARE_URL:{key:&quot;communityHighlightCompareUrl&quot;,value:&quot;/community&quot;},FORUMS_HIGHLIGHT_COMPARE_URL:{key:&quot;forumnsHighlightCompareUrl&quot;,value:&quot;forums.wsj.com&quot;},FREE_REG_CLASS:{key:&quot;freeregClass&quot;,value:&quot;.freereg&quot;},LOCATION_NAV_CLASS:{key:&quot;locationNavClass&quot;,value:&quot;.location_nav&quot;},LOCATION_NAV_COLLAPSED_CLASSNAME:{key:&quot;locDrpdwnCollapsedClassName&quot;,value:&quot;location_collapsed&quot;},LOCATION_NAV_EXPANDED_CLASSNAME:{key:&quot;locDrpdwnExpandedClassName&quot;,value:&quot;location_expanded&quot;},US_EDITION_LINK_CLASS:{key:&quot;usEditionLinkClass&quot;,value:&quot;.map_us&quot;},EU_EDITION_LINK_CLASS:{key:&quot;euEditionLinkClass&quot;,value:&quot;.map_europe&quot;},ASIA_EDITION_LINK_CLASS:{key:&quot;asiaEditionLinkClass&quot;,value:&quot;.map_asia&quot;},IN_EDITION_LINK_CLASS:{key:&quot;inEditionLinkClass&quot;,value:&quot;.map_india&quot;},LOGGED_IN_TODAYS_PAPER_URL_ASIA:{key:&quot;loggedInTodaysPaperUrlAsia&quot;,value:&quot;/page/asia_in_todays_paper.html&quot;},LOGGED_IN_TODAYS_PAPER_URL_EUROPE:{key:&quot;loggedInTodaysPaperUrlEurope&quot;,value:&quot;/page/europe_in_todays_paper.html&quot;},US_EDITION_MDC_URL:{key:&quot;usEditionMDCUrl&quot;,value:&quot;/marketsdata&quot;},EU_EDITION_MDC_URL:{key:&quot;euEditionMDCUrl&quot;,value:&quot;/mdc/public/page/marketsdata_europe.html&quot;},ASIA_EDITION_MDC_URL:{key:&quot;asiaEditionMDCUrl&quot;,value:&quot;/mdc/public/page/marketsdata_asia.html&quot;},IN_EDITION_MDC_URL:{key:&quot;inEditionMDCUrl&quot;,value:&quot;/mdc/public/page/marketsdata_asia.html&quot;},MDC_COMPARE_URL:{key:&quot;mdcCompareUrl&quot;,value:&quot;/mdc/&quot;}};var setupConfig=function(config){var defCfg=DEFAULT_CONFIG;cfg.addProperty(defCfg.HEADER_CONTAINER_CLASS.key,{value:defCfg.HEADER_CONTAINER_CLASS.value});cfg.addProperty(defCfg.TIMESTAMP_CLASS.key,{value:defCfg.TIMESTAMP_CLASS.value});cfg.addProperty(defCfg.WSJ_LOGO_ID.key,{value:defCfg.WSJ_LOGO_ID.value});cfg.addProperty(defCfg.WSJ_LARGE_LOGO_CLASSNAME.key,{value:defCfg.WSJ_LARGE_LOGO_CLASSNAME.value});cfg.addProperty(defCfg.WSJ_SMALL_LOGO_CLASSNAME.key,{value:defCfg.WSJ_SMALL_LOGO_CLASSNAME.value});cfg.addProperty(defCfg.CURRENT_SUBSECTION_DISPLAY_CLASS.key,{value:defCfg.CURRENT_SUBSECTION_DISPLAY_CLASS.value});cfg.addProperty(defCfg.GLOBALNAV_SUBSECTION_ELEMENT_ID.key,{value:defCfg.GLOBALNAV_SUBSECTION_ELEMENT_ID.value});cfg.addProperty(defCfg.SUBSCRIBER_LOGIN_CLASS.key,{value:defCfg.SUBSCRIBER_LOGIN_CLASS.value});cfg.addProperty(defCfg.HEADER_PROMO_CLASS.key,{value:defCfg.HEADER_PROMO_CLASS.value});cfg.addProperty(defCfg.SUBSCRIBER_DETAILS_ELEMENT_ID.key,{value:defCfg.SUBSCRIBER_DETAILS_ELEMENT_ID.value});cfg.addProperty(defCfg.COMMUNITY_FORUMS_LINK_CLASS.key,{value:defCfg.COMMUNITY_FORUMS_LINK_CLASS.value});cfg.addProperty(defCfg.TODAYS_PAPER_LINK_CLASS.key,{value:defCfg.TODAYS_PAPER_LINK_CLASS.value});cfg.addProperty(defCfg.MOJ_LINK_CLASS.key,{value:defCfg.MOJ_LINK_CLASS.value});cfg.addProperty(defCfg.MESSAGE_CENTER_LINK_CLASS.key,{value:defCfg.MESSAGE_CENTER_LINK_CLASS.value});cfg.addProperty(defCfg.MESSAGE_COUNT_CLASS.key,{value:defCfg.MESSAGE_COUNT_CLASS.value});cfg.addProperty(defCfg.LOGIN_USERNAME_ELEMENT_ID.key,{value:defCfg.LOGIN_USERNAME_ELEMENT_ID.value});cfg.addProperty(defCfg.LOGIN_PASSWORD_ELEMENT_ID.key,{value:defCfg.LOGIN_PASSWORD_ELEMENT_ID.value});cfg.addProperty(defCfg.PAGE_URL_ELEMENT_ID.key,{value:defCfg.PAGE_URL_ELEMENT_ID.value});cfg.addProperty(defCfg.LOGOUT_LINK_ELEMENT_ID.key,{value:defCfg.LOGOUT_LINK_ELEMENT_ID.value});cfg.addProperty(defCfg.USER_NAME_ELEMENT_ID.key,{value:defCfg.USER_NAME_ELEMENT_ID.value});cfg.addProperty(defCfg.WSJ_LOGO_FADE_APPEAR_DURATION.key,{value:defCfg.WSJ_LOGO_FADE_APPEAR_DURATION.value});cfg.addProperty(defCfg.WSJ_LOGO_DELAY_DURATION.key,{value:defCfg.WSJ_LOGO_DELAY_DURATION.value});cfg.addProperty(defCfg.LOGGED_IN_COMMUNITY_URL.key,{value:defCfg.LOGGED_IN_COMMUNITY_URL.value});cfg.addProperty(defCfg.LOGGED_IN_TODAYS_PAPER_URL.key,{value:defCfg.LOGGED_IN_TODAYS_PAPER_URL.value});cfg.addProperty(defCfg.MESSAGE_CENTER_POST_URL.key,{value:defCfg.MESSAGE_CENTER_POST_URL.value});cfg.addProperty(defCfg.LOGOUT_URL.key,{value:defCfg.LOGOUT_URL.value});cfg.addProperty(defCfg.HOMEPAGE_SUBSCRIBER_URL.key,{value:defCfg.HOMEPAGE_SUBSCRIBER_URL.value});cfg.addProperty(defCfg.SEARCH_PAGE_SUBSCRIBER_URL.key,{value:defCfg.SEARCH_PAGE_SUBSCRIBER_URL.value});cfg.addProperty(defCfg.NONSUBSCRIBER_HOMEPAGE_PID.key,{value:defCfg.NONSUBSCRIBER_HOMEPAGE_PID.value});cfg.addProperty(defCfg.NONSUBSCRIBER_NEWSLETTERS_ALERTS_PAGE_PID.key,{value:defCfg.NONSUBSCRIBER_NEWSLETTERS_ALERTS_PAGE_PID.value});cfg.addProperty(defCfg.NONSUBSCRIBER_SEARCH_PAGE_PID.key,{value:defCfg.NONSUBSCRIBER_SEARCH_PAGE_PID.value});cfg.addProperty(defCfg.SUBSCRIBER_HOMEPAGE_PID.key,{value:defCfg.SUBSCRIBER_HOMEPAGE_PID.value});cfg.addProperty(defCfg.EUROPE_PAGE_PID.key,{value:defCfg.EUROPE_PAGE_PID.value});cfg.addProperty(defCfg.ASIA_PAGE_PID.key,{value:defCfg.ASIA_PAGE_PID.value});cfg.addProperty(defCfg.MOJ_LINK_URL.key,{value:defCfg.MOJ_LINK_URL.value});cfg.addProperty(defCfg.TODAYS_PAPER_LINK_CONTAINER_CLASS.key,{value:defCfg.TODAYS_PAPER_LINK_CONTAINER_CLASS.value});cfg.addProperty(defCfg.VIDEO_LINK_CONTAINER_CLASS.key,{value:defCfg.VIDEO_LINK_CONTAINER_CLASS.value});cfg.addProperty(defCfg.BLOGS_LINK_CONTAINER_CLASS.key,{value:defCfg.BLOGS_LINK_CONTAINER_CLASS.value});cfg.addProperty(defCfg.COLUMNS_LINK_CONTAINER_CLASS.key,{value:defCfg.COLUMNS_LINK_CONTAINER_CLASS.value});cfg.addProperty(defCfg.INTERACTIVE_GRAPHICS_LINK_CONTAINER_CLASS.key,{value:defCfg.INTERACTIVE_GRAPHICS_LINK_CONTAINER_CLASS.value});cfg.addProperty(defCfg.COMMUNITY_FORUMS_LINK_CONTAINER_CLASS.key,{value:defCfg.COMMUNITY_FORUMS_LINK_CONTAINER_CLASS.value});cfg.addProperty(defCfg.TODAYS_PAPER_US_NONSUB_PID.key,{value:defCfg.TODAYS_PAPER_US_NONSUB_PID.value});cfg.addProperty(defCfg.TODAYS_PAPER_EUROPE_NONSUB_PID.key,{value:defCfg.TODAYS_PAPER_EUROPE_NONSUB_PID.value});cfg.addProperty(defCfg.TODAYS_PAPER_ASIA_NONSUB_PID.key,{value:defCfg.TODAYS_PAPER_ASIA_NONSUB_PID.value});cfg.addProperty(defCfg.TODAYS_PAPER_US_PID.key,{value:defCfg.TODAYS_PAPER_US_PID.value});cfg.addProperty(defCfg.TODAYS_PAPER_EUROPE_PID.key,{value:defCfg.TODAYS_PAPER_EUROPE_PID.value});cfg.addProperty(defCfg.TODAYS_PAPER_ASIA_PID.key,{value:defCfg.TODAYS_PAPER_ASIA_PID.value});cfg.addProperty(defCfg.TODAYS_PAPER_PAST_EDITIONS_PID.key,{value:defCfg.TODAYS_PAPER_PAST_EDITIONS_PID.value});cfg.addProperty(defCfg.TODAYS_PAPER_INDEX_BIZ_PID.key,{value:defCfg.TODAYS_PAPER_INDEX_BIZ_PID.value});cfg.addProperty(defCfg.TODAYS_PAPER_INDEX_PEOPLE_PID.key,{value:defCfg.TODAYS_PAPER_INDEX_PEOPLE_PID.value});cfg.addProperty(defCfg.TODAYS_PAPER_CORRECTIONS_PID.key,{value:defCfg.TODAYS_PAPER_CORRECTIONS_PID.value});cfg.addProperty(defCfg.VIDEO_PID.key,{value:defCfg.VIDEO_PID.value});cfg.addProperty(defCfg.COLUMNS_PID.key,{value:defCfg.COLUMNS_PID.value});cfg.addProperty(defCfg.BLOGS_PID.key,{value:defCfg.BLOGS_PID.value});cfg.addProperty(defCfg.INTERACTIVE_GRAPHICS_PID.key,{value:defCfg.INTERACTIVE_GRAPHICS_PID.value});cfg.addProperty(defCfg.NEWSLETTERS_ALERTS_SUB_PID.key,{value:defCfg.NEWSLETTERS_ALERTS_SUB_PID.value});cfg.addProperty(defCfg.NEWSLETTERS_ALERTS_PUB_PID.key,{value:defCfg.NEWSLETTERS_ALERTS_PUB_PID.value});cfg.addProperty(defCfg.LOGIN_FORM_ID.key,{value:defCfg.LOGIN_FORM_ID.value});cfg.addProperty(defCfg.MDC_LINK_URL.key,{value:defCfg.MDC_LINK_URL.value});cfg.addProperty(defCfg.MDC_PAGE_PID.key,{value:defCfg.MDC_PAGE_PID.value});cfg.addProperty(defCfg.COMMUNITY_HIGHLIGHT_COMPARE_URL.key,{value:defCfg.COMMUNITY_HIGHLIGHT_COMPARE_URL.value});cfg.addProperty(defCfg.FORUMS_HIGHLIGHT_COMPARE_URL.key,{value:defCfg.FORUMS_HIGHLIGHT_COMPARE_URL.value});cfg.addProperty(defCfg.FREE_REG_CLASS.key,{value:defCfg.FREE_REG_CLASS.value});cfg.addProperty(defCfg.LOCATION_NAV_CLASS.key,{value:defCfg.LOCATION_NAV_CLASS.value});cfg.addProperty(defCfg.LOCATION_NAV_COLLAPSED_CLASSNAME.key,{value:defCfg.LOCATION_NAV_COLLAPSED_CLASSNAME.value});cfg.addProperty(defCfg.LOCATION_NAV_EXPANDED_CLASSNAME.key,{value:defCfg.LOCATION_NAV_EXPANDED_CLASSNAME.value});cfg.addProperty(defCfg.US_EDITION_LINK_CLASS.key,{value:defCfg.US_EDITION_LINK_CLASS.value});cfg.addProperty(defCfg.EU_EDITION_LINK_CLASS.key,{value:defCfg.EU_EDITION_LINK_CLASS.value});cfg.addProperty(defCfg.ASIA_EDITION_LINK_CLASS.key,{value:defCfg.ASIA_EDITION_LINK_CLASS.value});cfg.addProperty(defCfg.IN_EDITION_LINK_CLASS.key,{value:defCfg.IN_EDITION_LINK_CLASS.value});cfg.addProperty(defCfg.LOGGED_IN_TODAYS_PAPER_URL_ASIA.key,{value:defCfg.LOGGED_IN_TODAYS_PAPER_URL_ASIA.value});cfg.addProperty(defCfg.LOGGED_IN_TODAYS_PAPER_URL_EUROPE.key,{value:defCfg.LOGGED_IN_TODAYS_PAPER_URL_EUROPE.value});cfg.addProperty(defCfg.US_EDITION_MDC_URL.key,{value:defCfg.US_EDITION_MDC_URL.value});cfg.addProperty(defCfg.EU_EDITION_MDC_URL.key,{value:defCfg.EU_EDITION_MDC_URL.value});cfg.addProperty(defCfg.ASIA_EDITION_MDC_URL.key,{value:defCfg.ASIA_EDITION_MDC_URL.value});cfg.addProperty(defCfg.IN_EDITION_MDC_URL.key,{value:defCfg.IN_EDITION_MDC_URL.value});cfg.addProperty(defCfg.MDC_COMPARE_URL.key,{value:defCfg.MDC_COMPARE_URL.value});if(config){cfg.applyConfig(config,true);}
cfg.fireQueue();};return{initialize:function(config){setupConfig(config);var headerContainerClass=cfg.getProperty(DEFAULT_CONFIG.HEADER_CONTAINER_CLASS.key);this.oHeader=$(document.body).down(headerContainerClass);this.editionDropdownSetUp();this.displaySubSection();this.displayTimeStamp();var that=this;this.currRegion=dj.util.Region.getViewByRegion();this.concatURL='';if((typeof gcDomain!=='undefined')&amp;&amp;(gcDomain!==null)&amp;&amp;(gcDomain!==&quot;&quot;)){this.concatURL=&quot;http://&quot;+gcDomain;}else{this.concatURL=&quot;http://&quot;+document.domain;}
dj.util.User.isLoggedIn(function(isLoggedIn){if(isLoggedIn){that.displaySubscriberDetails();that.setupLogout();}else{that.setupLogin();var freeregClass=cfg.getProperty(DEFAULT_CONFIG.FREE_REG_CLASS.key);that.ofreereg=that.oHeader.down(freeregClass);that.ofreereg.setStyle({display:&quot;block&quot;});var subscriberLoginClass=cfg.getProperty(DEFAULT_CONFIG.SUBSCRIBER_LOGIN_CLASS.key);that.oSubscriberLogin=that.oHeader.down(subscriberLoginClass);that.oSubscriberLogin.setStyle({display:&quot;block&quot;});var headerPromoClass=cfg.getProperty(DEFAULT_CONFIG.HEADER_PROMO_CLASS.key);that.oHeaderPromo=that.oHeader.down(headerPromoClass);that.oHeaderPromo.setStyle({display:&quot;block&quot;});}});this.highlightFormFactorLinks();var todaysPaperLinkClass=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_LINK_CLASS.key);this.oTodaysPaperLink=this.oHeader.down(todaysPaperLinkClass);var loggedInTodaysPaperUrl=cfg.getProperty(DEFAULT_CONFIG.LOGGED_IN_TODAYS_PAPER_URL.key);var loggedInTodaysPaperUrlAsia=cfg.getProperty(DEFAULT
_CONFIG.LOGGED_IN_TODAYS_PAPER_URL_ASIA.key);var loggedInTodaysPaperUrlEurope=cfg.getProperty(DEFAULT_CONFIG.LOGGED_IN_TODAYS_PAPER_URL_EUROPE.key);var currEdition=&quot;&quot;;if(this.currRegion==&quot;asia&quot;||this.currRegion==&quot;asia,india&quot;){loggedInTodaysPaperUrl=loggedInTodaysPaperUrlAsia;}else if(this.currRegion==&quot;europe&quot;){loggedInTodaysPaperUrl=loggedInTodaysPaperUrlEurope;}
if((typeof gcDomain!=='undefined')&amp;&amp;(gcDomain!==null)&amp;&amp;(gcDomain!==&quot;&quot;)){this.oTodaysPaperLink.href=&quot;http://&quot;+gcDomain+loggedInTodaysPaperUrl;}else{this.oTodaysPaperLink.href=loggedInTodaysPaperUrl;}
var that=this;dj.util.User.isSubLoggedIn(function(subLoggedIn){if(!subLoggedIn){if((typeof gcDomain!=='undefined')&amp;&amp;(gcDomain!==null)&amp;&amp;(gcDomain!==&quot;&quot;)){that.oTodaysPaperLink.href=&quot;http://&quot;+gcDomain+&quot;/public&quot;+loggedInTodaysPaperUrl;}else{that.oTodaysPaperLink.href=&quot;/public&quot;+loggedInTodaysPaperUrl;}}});},editionDropdownSetUp:function(){var locationNavClass=cfg.getProperty(DEFAULT_CONFIG.LOCATION_NAV_CLASS.key);this.oLocationNav=this.oHeader.down(locationNavClass);var selLocDrpdwnCollapsedClassName=cfg.getProperty(DEFAULT_CONFIG.LOCATION_NAV_COLLAPSED_CLASSNAME.key);var selLocDrpdwnExpandedClassName=cfg.getProperty(DEFAULT_CONFIG.LOCATION_NAV_EXPANDED_CLASSNAME.key);var usEditionLinkClassName=cfg.getProperty(DEFAULT_CONFIG.US_EDITION_LINK_CLASS.key);var euEditionLinkClassName=cfg.getProperty(DEFAULT_CONFIG.EU_EDITION_LINK_CLASS.key);var inEditionLinkClassName=cfg.getProperty(DEFAULT_CONFIG.IN_EDITION_LINK_CLASS.key);var asiaEditionLinkClassName=cfg.getProperty(DEFAULT_CONFIG.ASI
A_EDITION_LINK_CLASS.key);this.usEditionMDCUrl=cfg.getProperty(DEFAULT_CONFIG.US_EDITION_MDC_URL.key);this.euEditionMDCUrl=cfg.getProperty(DEFAULT_CONFIG.EU_EDITION_MDC_URL.key);this.inEditionMDCUrl=cfg.getProperty(DEFAULT_CONFIG.IN_EDITION_MDC_URL.key);this.asiaEditionMDCUrl=cfg.getProperty(DEFAULT_CONFIG.ASIA_EDITION_MDC_URL.key);var mdcCompareUrl=cfg.getProperty(DEFAULT_CONFIG.MDC_COMPARE_URL.key);this.oCurrentEdition=$(&quot;currentEdition&quot;);this.oUsEdition=$(&quot;usEdition&quot;);this.oEuEdition=$(&quot;europeEdition&quot;);this.oInEdition=$(&quot;indiaEdition&quot;);this.oAsiaEdition=$(&quot;asiaEdition&quot;);this.oChiEdition=$(&quot;chiEdition&quot;);this.oSpaEdition=$(&quot;spaEdition&quot;);this.oPorEdition=$(&quot;porEdition&quot;);this.osectionFooterSub=$(&quot;hrefNonSubId&quot;);this.osectionFooterNonSub=$(&quot;hrefSubId&quot;);this.oUsEditionFooter=$(&quot;usEditionFooter&quot;);this.currRegion=dj.util.Region.getViewByRegion();var currEdition=&quot;&quot;;if((typeof gcDomain!=='undefined')&amp;&amp;(gcDomain!==null)&amp;&amp;(gcDomain!==&quot;&quot;)){this.tempConcatURL=&quot;http://&quot;+gcDomain;}else{this.tempConcatURL=&quot;http://&quot;+document.domain;}
this.isMDCPageFlag=((document.location.href!==null)&amp;&amp;(document.location.href!==&quot;&quot;)&amp;&amp;(document.location.href.indexOf(mdcCompareUrl)!==-1));var that=this;if(this.oUsEdition!==null){this.oUsEdition.observe(&quot;click&quot;,function(ev){Event.stop(ev);dj.util.Region.setViewByRegion('na,us');dj.util.Cookie.setGroupCookie(&quot;DJCOOKIE&quot;,&quot;HOMEPAGE&quot;,&quot;/home/us&quot;,365);window.location=(that.isMDCPageFlag)?that.tempConcatURL+that.usEditionMDCUrl:that.oUsEdition.href;}.bindAsEventListener(this.oUsEdition));}
if(this.oUsEditionFooter!==null){this.oUsEditionFooter.observe(&quot;click&quot;,function(ev){Event.stop(ev);dj.util.Region.setViewByRegion('na,us');dj.util.Cookie.setGroupCookie(&quot;DJCOOKIE&quot;,&quot;HOMEPAGE&quot;,&quot;/home/us&quot;,365);window.location=(that.isMDCPageFlag)?that.tempConcatURL+that.usEditionMDCUrl:that.oUsEditionFooter.href;}.bindAsEventListener(this.oUsEditionFooter));}
if(this.oEuEdition!==null){this.oEuEdition.observe(&quot;click&quot;,function(ev){Event.stop(ev);window.location=(that.isMDCPageFlag)?that.tempConcatURL+that.euEditionMDCUrl:that.oEuEdition.href;if(that.isMDCPageFlag){dj.util.Region.setViewByRegion('europe');dj.util.Cookie.setGroupCookie(&quot;DJCOOKIE&quot;,&quot;HOMEPAGE&quot;,&quot;/home/europe&quot;,365);}}.bindAsEventListener(this.oEuEdition));}
if(this.oInEdition!==null){this.oInEdition.observe(&quot;click&quot;,function(ev){Event.stop(ev);window.location=(that.isMDCPageFlag)?that.tempConcatURL+that.inEditionMDCUrl:that.oInEdition.href;if(that.isMDCPageFlag){dj.util.Region.setViewByRegion('asia,india');dj.util.Cookie.setGroupCookie(&quot;DJCOOKIE&quot;,&quot;HOMEPAGE&quot;,&quot;/home/india&quot;,365);}}.bindAsEventListener(this.oInEdition));}
if(this.oAsiaEdition!==null){this.oAsiaEdition.observe(&quot;click&quot;,function(ev){Event.stop(ev);window.location=(that.isMDCPageFlag)?that.tempConcatURL+that.asiaEditionMDCUrl:that.oAsiaEdition.href;if(that.isMDCPageFlag){dj.util.Region.setViewByRegion('asia');dj.util.Cookie.setGroupCookie(&quot;DJCOOKIE&quot;,&quot;HOMEPAGE&quot;,&quot;/home/asia&quot;,365);}}.bindAsEventListener(this.oAsiaEdition));}
if(this.oChiEdition!==null){this.oChiEdition.observe(&quot;click&quot;,function(ev){Event.stop(ev);window.open(that.oChiEdition.href);}.bindAsEventListener(this.oChiEdition));}
if(this.oSpaEdition!==null){this.oSpaEdition.observe(&quot;click&quot;,function(ev){Event.stop(ev);window.location=that.oSpaEdition.href;}.bindAsEventListener(this.oSpaEdition));}
if(this.oPorEdition!==null){this.oPorEdition.observe(&quot;click&quot;,function(ev){Event.stop(ev);window.location=that.oPorEdition.href;}.bindAsEventListener(this.oPorEdition));}
if(this.osectionFooterSub!==null){this.osectionFooterSub.observe(&quot;click&quot;,function(ev){Event.stop(ev);window.location=that.osectionFooterSub.href;}.bindAsEventListener(this.osectionFooterSub));}
if(this.osectionFooterNonSub!==null){this.osectionFooterNonSub.observe(&quot;click&quot;,function(ev){Event.stop(ev);window.location=that.osectionFooterNonSub.href;}.bindAsEventListener(this.osectionFooterNonSub));}
if(this.currRegion==&quot;asia&quot;){currEdition=&quot;Asia Edition&quot;;this.oSelectedEdition=this.oHeader.down(asiaEditionLinkClassName);}
else
if(this.currRegion==&quot;asia,india&quot;){currEdition=&quot;Asia Edition&quot;;this.oSelectedEdition=this.oHeader.down(inEditionLinkClassName);}
else
if(this.currRegion==&quot;europe&quot;){currEdition=&quot;Europe Edition&quot;;this.oSelectedEdition=this.oHeader.down(euEditionLinkClassName);}
else{currEdition=&quot;U.S. Edition&quot;;this.oSelectedEdition=this.oHeader.down(usEditionLinkClassName);}
this.oSelectedEdition.addClassName(&quot;selected&quot;);this.oCurrentEdition.innerHTML=currEdition;this.oFormFactorContainer=$(&quot;formFactorContainer&quot;);this.oFormFactorContainer.show();this.oLocDropDownContainer=$(&quot;locNavContainer&quot;);this.oLocDropDownContainer.show();if(this.oLocDropDownContainer!==null){var toggleDropdownClass=function(){if(that.oLocDropDownContainer.hasClassName(selLocDrpdwnCollapsedClassName)){that.oLocDropDownContainer.removeClassName(selLocDrpdwnCollapsedClassName);that.oLocDropDownContainer.addClassName(selLocDrpdwnExpandedClassName);}
else if(that.oLocDropDownContainer.hasClassName(selLocDrpdwnExpandedClassName)){that.oLocDropDownContainer.removeClassName(selLocDrpdwnExpandedClassName);that.oLocDropDownContainer.addClassName(selLocDrpdwnCollapsedClassName);}};this.oLocationNav.observe(&quot;click&quot;,function(event){Event.stop(event);toggleDropdownClass();}.bindAsEventListener(this.oLocationNav));document.observe(&quot;click&quot;,function(event){var isMousePointerinModalContainer=dj.util.Element.contains(that.oLocDropDownContainer,event.clientX,event.clientY);if(isMousePointerinModalContainer==false){if(that.oLocDropDownContainer.hasClassName(selLocDrpdwnExpandedClassName)){that.oLocDropDownContainer.removeClassName(selLocDrpdwnExpandedClassName);that.oLocDropDownContainer.addClassName(selLocDrpdwnCollapsedClassName);}}});this.oSectionFooterNonSub=$(&quot;sectionFooterNonSub&quot;);this.oSectionFooterSub=$(&quot;sectionFooterSub&quot;);dj.util.User.isLoggedIn(function(isLoggedIn){if(isLoggedIn){that.oSectionFooterNonSub.hide();that.oSectionFo
oterSub.show();}
else{that.oSectionFooterNonSub.show();that.oSectionFooterSub.hide();}});}},displayTimeStamp:function(){var timestampClass=cfg.getProperty(DEFAULT_CONFIG.TIMESTAMP_CLASS.key);this.oTimestamp=this.oHeader.down(timestampClass);if((typeof pDate!=='undefined')&amp;&amp;(this.oTimestamp!==null)){if(window.pStl==&quot;renovation&quot;){var dateUtil=dj.util.Date;var pubDate=dateUtil.displayTime(pDate,pDateinGMT);this.oTimestamp.update(pubDate);}
else{this.oTimestamp.update(pDate);}}},displaySubSection:function(){var currentSubSectionClass=cfg.getProperty(DEFAULT_CONFIG.CURRENT_SUBSECTION_DISPLAY_CLASS.key);this.oCurrentSubSection=this.oHeader.down(currentSubSectionClass);var wsjLogoFadeAppearDuration=cfg.getProperty(DEFAULT_CONFIG.WSJ_LOGO_FADE_APPEAR_DURATION.key);var wsjLogoDelayDuration=cfg.getProperty(DEFAULT_CONFIG.WSJ_LOGO_DELAY_DURATION.key);if((typeof globalHeaderPageTitle!=='undefined')&amp;&amp;(globalHeaderPageTitle!==null)&amp;&amp;(globalHeaderPageTitle!==&quot;&quot;)){this.oCurrentSubSection.innerHTML=globalHeaderPageTitle;var that=this;setTimeout(function(){that.oCurrentSubSection.appear({duration:wsjLogoFadeAppearDuration});},wsjLogoDelayDuration);}},displaySubscriberDetails:function(){var userNameElementId=cfg.getProperty(DEFAULT_CONFIG.USER_NAME_ELEMENT_ID.key);dj.util.User.renderCallsign(userNameElementId);this.setupSubscriberLinks();var messageCenterLinkClass=cfg.getProperty(DEFAULT_CONFIG.MESSAGE_CENTER_LINK_CLASS.key);t
his.oMessageCenterLink=this.oHeader.down(messageCenterLinkClass);var that=this;dj.util.User.isSubLoggedIn(function(subLoggedIn){if(subLoggedIn){that.setupMessageCenter();}
else{that.oMessageCenterLink.hide();}});var subscriberDetailsElementId=cfg.getProperty(DEFAULT_CONFIG.SUBSCRIBER_DETAILS_ELEMENT_ID.key);this.oSubscriberDetails=$(subscriberDetailsElementId);this.oSubscriberDetails.removeClassName(&quot;hidden&quot;);},setupSubscriberLinks:function(){this.setupSubscriberMOJLinks();var todaysPaperLinkClass=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_LINK_CLASS.key);this.oTodaysPaperLink=this.oHeader.down(todaysPaperLinkClass);var loggedInTodaysPaperUrl=cfg.getProperty(DEFAULT_CONFIG.LOGGED_IN_TODAYS_PAPER_URL.key);var that=this;dj.util.User.isSubLoggedIn(function(subLoggedIn){if(subLoggedIn){if((typeof gcDomain!=='undefined')&amp;&amp;(gcDomain!==null)&amp;&amp;(gcDomain!==&quot;&quot;)){that.oTodaysPaperLink.href=&quot;http://&quot;+gcDomain+loggedInTodaysPaperUrl;}else{that.oTodaysPaperLink.href=loggedInTodaysPaperUrl;}}});},setupSubscriberMOJLinks:function(){var europePagePid=cfg.getProperty(DEFAULT_CONFIG.EUROPE_PAGE_PID.key);var asiaPagePid=cfg.getProperty(DEFAULT_CONFIG.ASIA_PAGE_PI
D.key);var subscriberHomepagePid=cfg.getProperty(DEFAULT_CONFIG.SUBSCRIBER_HOMEPAGE_PID.key);var mojLinkUrl=cfg.getProperty(DEFAULT_CONFIG.MOJ_LINK_URL.key);var editionType=&quot;us&quot;;var that=this;var currRegion=dj.util.Region.getViewByRegion();if(currRegion==&quot;asia&quot;||currRegion==&quot;asia,india&quot;){editionType=&quot;asia&quot;;}else if(currRegion==&quot;europe&quot;){editionType=&quot;europe&quot;;}else if(currRegion!==&quot;&quot;){editionType=&quot;us&quot;;}
var mojLinkClass=cfg.getProperty(DEFAULT_CONFIG.MOJ_LINK_CLASS.key);that.oMojLink=that.oHeader.down(mojLinkClass);if((typeof gcDomain!=='undefined')&amp;&amp;(gcDomain!==null)&amp;&amp;(gcDomain!==&quot;&quot;)){that.oMojLink.href=&quot;http://&quot;+gcDomain+mojLinkUrl+&quot;/&quot;+editionType;}},setupMessageCenter:function(){var messageCenterLinkClass=cfg.getProperty(DEFAULT_CONFIG.MESSAGE_CENTER_LINK_CLASS.key);this.oMessageCenterLink=this.oHeader.down(messageCenterLinkClass);var messageCountClass=cfg.getProperty(DEFAULT_CONFIG.MESSAGE_COUNT_CLASS.key);this.oMessageCount=this.oHeader.down(messageCountClass);var that=this;var setupMsgCenterLink=function(noOfMessages){if(noOfMessages==='-1'){that.oMessageCenterLink.hide();}else{that.oMessageCount.innerHTML=noOfMessages;}};var noOfMessages=dj.util.Cookie.getCookie(&quot;msgCount&quot;);if(noOfMessages===null){var messageCenterPostUrl=cfg.getProperty(DEFAULT_CONFIG.MESSAGE_CENTER_POST_URL.key);var messageCountReq=new Ajax.Request(messageCenterPostUrl,{method:'post',onException:fun
ction(transport,exception){console.error('Exception occured while posting posting Ajax Request: %s',exception);},onSuccess:function(transport){noOfMessages=transport.responseText;dj.util.Cookie.setCookie(&quot;msgCount&quot;,noOfMessages,(5/24/60));setupMsgCenterLink(noOfMessages);}});}else{setupMsgCenterLink(noOfMessages);}},setupLogin:function(){var loginUserElementId=cfg.getProperty(DEFAULT_CONFIG.LOGIN_USERNAME_ELEMENT_ID.key);this.oUserName=$(loginUserElementId);var loginPasswordElementId=cfg.getProperty(DEFAULT_CONFIG.LOGIN_PASSWORD_ELEMENT_ID.key);this.oPassword=$(loginPasswordElementId);var loginFormId=cfg.getProperty(DEFAULT_CONFIG.LOGIN_FORM_ID.key);this.oLoginForm=$(loginFormId);this.oLoginForm.reset();var pageUrlId=cfg.getProperty(DEFAULT_CONFIG.PAGE_URL_ELEMENT_ID.key);this.oPageUrl=$(pageUrlId);var that=this;if(this.oUserName!==null){this.oUserName.observe(&quot;focus&quot;,function(event){dj.util.Form.clearValue(that.oUserName,'User Name');}.bindAsEventListener(this.oUserName));this.oUserName.observe(&quot;click&quot;,function(event){dj.util.Form.clearValue(that.oUserName,'User Name');}.bindAsEventListener(this.oUserName));}
if(this.oPassword!==null){this.oPassword.observe(&quot;focus&quot;,function(event){dj.util.Form.clearValue(that.oPassword,'Password');that.oPassword.type=&quot;password&quot;;}.bindAsEventListener(that.oPassword));this.oPassword.observe(&quot;keypress&quot;,function(e){var cKeyCode=e.keyCode||e.which;if(Prototype.Browser.IE){if(cKeyCode==Event.KEY_RETURN){that.oLoginForm.submit();}}}.bindAsEventListener(this.oPassword));this.oPassword.observe(&quot;click&quot;,function(event){dj.util.Form.clearValue(that.oPassword,'Password');}.bindAsEventListener(that.oPassword));this.oPassword.observe(&quot;change&quot;,function(event){dj.util.Form.clearValue(that.oPassword,'Password');}.bindAsEventListener(that.oPassword));}
if(this.oPageUrl!==null){var nonSubscriberHomepagePid=cfg.getProperty(DEFAULT_CONFIG.NONSUBSCRIBER_HOMEPAGE_PID.key);var nonSubscriberSearchPagePid=cfg.getProperty(DEFAULT_CONFIG.NONSUBSCRIBER_SEARCH_PAGE_PID.key);var nonSubNewslettersAlertsPagePid=cfg.getProperty(DEFAULT_CONFIG.NONSUBSCRIBER_NEWSLETTERS_ALERTS_PAGE_PID.key);var mdcPagePid=cfg.getProperty(DEFAULT_CONFIG.MDC_PAGE_PID.key);var concatURL;if((typeof gcDomain!=='undefined')&amp;&amp;(gcDomain!==null)&amp;&amp;(gcDomain!==&quot;&quot;)){concatURL=&quot;http://&quot;+gcDomain;}else{concatURL=&quot;http://&quot;+document.domain;}
var oCurrentUrl=document.location.href;if(typeof pID!=='undefined'){if(pID===nonSubscriberHomepagePid){this.oPageUrl.value=concatURL+cfg.getProperty(DEFAULT_CONFIG.HOMEPAGE_SUBSCRIBER_URL.key);}
else
if(pID===nonSubNewslettersAlertsPagePid){this.oPageUrl.value=concatURL+'/email';}
else
if(pID===nonSubscriberSearchPagePid){this.oPageUrl.value=concatURL+cfg.getProperty(DEFAULT_CONFIG.SEARCH_PAGE_SUBSCRIBER_URL.key);}
else
if(pID===mdcPagePid){this.oPageUrl.value=concatURL+cfg.getProperty(DEFAULT_CONFIG.MDC_LINK_URL.key);}
else{this.oPageUrl.value=oCurrentUrl;}}}},setupLogout:function(){var logoutLinkElementId=cfg.getProperty(DEFAULT_CONFIG.LOGOUT_LINK_ELEMENT_ID.key);this.oLogout=$(logoutLinkElementId);if(this.oLogout!==null){this.oLogout.observe(&quot;click&quot;,function(ev){Event.stop(ev);dj.util.Cookie.deleteCookie(&quot;msgCount&quot;);dj.util.Cookie.deleteCookie(&quot;HOMEPAGE&quot;,true);document.cookie=&quot;HOMEPAGE&quot;+&quot;=&quot;+&quot;;path=/&quot;+&quot;;domain=.wsj.com&quot;+&quot;;expires=Thu, 01-Jan-1970 00:00:01 GMT&quot;;if((typeof gcDomain!=='undefined')&amp;&amp;(gcDomain!==null)&amp;&amp;(gcDomain!==&quot;&quot;)){window.location=&quot;/logout?url=http://&quot;+gcDomain;}else{window.location=&quot;/logout&quot;;}}.bindAsEventListener(this.oLogout));}},highlightFormFactorLinks:function(){var todaysPaperLinkContainerClass=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_LINK_CONTAINER_CLASS.key);this.oTodaysPaperLinkContainer=this.oHeader.down(todaysPaperLinkContainerClass);var videoLinkContainerClass=cfg.getProperty(DEFAULT_CONFIG.VIDEO_LINK_CONTAINER_CLASS.key);this.oVideoLinkContainer=this.oHeade
r.down(videoLinkContainerClass);var blogsLinkContainerClass=cfg.getProperty(DEFAULT_CONFIG.BLOGS_LINK_CONTAINER_CLASS.key);this.oBlogsLinkContainer=this.oHeader.down(blogsLinkContainerClass);var columnsLinkContainerClass=cfg.getProperty(DEFAULT_CONFIG.COLUMNS_LINK_CONTAINER_CLASS.key);this.oColumnsLinkContainer=this.oHeader.down(columnsLinkContainerClass);var interactiveGraphicsLinkContainerClass=cfg.getProperty(DEFAULT_CONFIG.INTERACTIVE_GRAPHICS_LINK_CONTAINER_CLASS.key);this.oInteractiveGraphicsLinkContainer=this.oHeader.down(interactiveGraphicsLinkContainerClass);var communityForumsLinkContainerClass=cfg.getProperty(DEFAULT_CONFIG.COMMUNITY_FORUMS_LINK_CONTAINER_CLASS.key);this.oCommunityForumsLinkContainer=this.oHeader.down(communityForumsLinkContainerClass);var todaysPaperUsNonSubPid=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_US_NONSUB_PID.key);var todaysPaperEuropeNonSubPid=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_EUROPE_NONSUB_PID.key);var todaysPaperAsiaNonSubPid=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_ASIA_NONSUB_PID.key);var todaysPaperUsPid=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_US_PID.key);var todaysPaperEuropePid=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_EUROPE_PID.key);var todaysPaperAsiaPid=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_ASIA_PID.key);var todaysPaperPastEditionsPid=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_PAST_EDITIONS_PID.key);var todaysPaperIndexBizPid=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_INDEX_BIZ_PID.key);var todaysPaperIndexPeoplePid=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_INDEX_PEOPLE_PID.key);var todaysPaperCorrectionsPid=cfg.getProperty(DEFAULT_CONFIG.TODAYS_PAPER_CORRECTIONS_PID.key);var videoPid=cfg.getProperty(DEFAULT_CONFIG.VIDEO_PID.key);var interactiveGraphicsPid=cfg.getProperty(DEFAULT_CONFIG.INTERACTIVE_GRAPHICS_PID.key);var newslettersAlertsPubPid=cfg.getProperty(DEFAULT_CONFIG.NEWSLETTERS_ALERTS_PUB_PID.key);var newslettersAlertsSubPid=cfg.getProperty(DEFAULT_CONFIG.NEWSLETTERS_ALERTS_SUB_PID.key);var columnsPid=cfg.getProperty(DEFAULT_CONFIG.COLUMNS_PID.key);var blogsPid=cfg.getProperty(DEFAULT_CONFIG.BLOGS_PID.key);var hostUrl=document.location.host;var communityUrl=hostUrl+cfg.getProperty(DEFAULT_CONFIG.COMMUNITY_HIGHLIGHT_COMPARE_URL.key);var compareForumsUrl=cfg.getProperty(DEFAULT_CONFIG.FORUMS_HIGHLIGHT_COMPARE_URL.key);if(typeof pID!=='undefined'){if((pID===todaysPaperUsNonSubPid)||(pID===todaysPaperEuropeNonSubPid)||(pID===todaysPaperAsiaNonSubPid)||(pID===todaysPaperUsPid)||(pID===todaysPaperEuropePid)||(pID===todaysPaperAsiaPid)||(pID===todaysPaperPastEditionsPid)||(pID===todaysPaperIndexBizPid)||(pID===todaysPaperIndexPeoplePid)||(pID===todaysPaperCorrectionsPid)){this.oTodaysPaperLinkContainer.addClassName(&quot;selected&quot;);}else
if(pID===videoPid){this.oVideoLinkContainer.addClassName(&quot;selected&quot;);}else
if(pID===interactiveGraphicsPid){this.oInteractiveGraphicsLinkContainer.addClassName(&quot;selected&quot;);}else
if(pID===columnsPid){this.oColumnsLinkContainer.addClassName(&quot;selected&quot;);}else
if(pID===blogsPid){this.oBlogsLinkContainer.addClassName(&quot;selected&quot;);}}
if((document.location.href!==null)&amp;&amp;(document.location.href!==&quot;&quot;)&amp;&amp;(document.location.href.indexOf(communityUrl)!==-1)||(document.location.href.indexOf(compareForumsUrl)!==-1)){this.oCommunityForumsLinkContainer.addClassName(&quot;selected&quot;);}}};}();
dj.module.globalNav={setupQuicklinks:function(globalSubNavId,quicklinksContainerId){this.oHideQuickLinks=$(document.body).down('.hideQuickLinks');this.oGlobalSubNav=$(globalSubNavId);this.oQuicklinksContainer=$(quicklinksContainerId);if(typeof this.oHideQuickLinks==='undefined'){if(this.oGlobalSubNav===null){if(this.oQuicklinksContainer!=null){this.oQuicklinksContainer.removeClassName(&quot;subnav_hide&quot;);this.oQuicklinksContainer.addClassName(&quot;subnav_show&quot;);}}}}};
dj.module.newsReel={REEL_STATE:{FULL:0,COLLAPSED:1,SMALL:2},reelState:0,reelHeight:0,isAnimation:false,cfg:{reelOpenClass:&quot;reelState-open&quot;,reelClosedClass:&quot;reelState-closed&quot;,btnSelectedClass:&quot;selected&quot;,stateCookieName:&quot;newsReel_state&quot;,currentArticleClass:&quot;currentArticle&quot;,currentPointerClass:&quot;current&quot;,newsReelPointerClass:&quot;.newsreelPointer&quot;,reelLoadedClass:&quot;reelState-loaded&quot;},oCnt:null,cntId:null,init:function(newsreelContainer){this.oCnt=$(newsreelContainer);if(this.oCnt===null){throw new Error(&quot;{NewsReel} container is not located.&quot;);}
this.oCnt.addClassName(this.cfg.reelLoadedClass);this.currentArticle=null;var defState=this.REEL_STATE;this.reelState=defState.FULL;this.reel=this.initReel(this.oCnt);},setId:function(newsreelContainer){this.cntId=newsreelContainer;},update:function(){this.init(this.cntId);return this;},initReel:function(cnt){var vid=this._setCurrentPanelActive(cnt);var reel=dj.widget.panels.PanelsFactory.create(cnt,{core:{panelGroup:&quot;#newsReelContent &gt; .reelContentTree .unitList&quot;,panel:&quot;li&quot;,viewArea:4},carousel:{navContainer:&quot;.reelNav&quot;,prevButton:&quot;.newsreel_prev&quot;,nextButton:&quot;.newsreel_next&quot;,type:&quot;circular&quot;}});if(vid===null){return reel;}
this.reelPtrCnt=cnt.down(this.cfg.newsReelPointerClass);var pans=this.reelPtrCnt.select(&quot;.newsreel_pointer_container li&quot;);if(cnt.down(&quot;.unit.sponsor&quot;)){var element=pans;var grp=element.parentNode;var clone=new Element(element.tagName);element.classNames().each(function(cn){clone.addClassName(cn);});clone.update(element.innerHTML);grp.appendChild(clone);}
pans.addClassName(this.cfg.currentPointerClass);var reelPtr=dj.widget.panels.PanelsFactory.create(this.reelPtrCnt,{core:{panelGroup:&quot;.newsreel_pointer_container&quot;,panel:&quot;li&quot;,viewArea:4,controller:reel},carousel:{type:&quot;circular&quot;}});if(reel.getNumberOfPanels()&gt;3){reel.setActiveById(vid);}
return reel;},_setCurrentPanelActive:function(cnt){var artCurrent=((typeof AT_VARS===&quot;object&quot;&amp;&amp;AT_VARS.baseDocId)?AT_VARS.baseDocId:dj.util.Page.getQueryParam('baseDocId'));var vid=null;var that=this;cnt.select(&quot;#newsReelContent &gt; .reelContentTree .unitList li h2&quot;).each(function(el,pos){var anch=el.down(&quot;a&quot;);if((typeof anch!=='undefined')&amp;&amp;(anch.href!==null)&amp;&amp;(anch.href.indexOf(artCurrent)!==-1)){vid=pos;$(el.parentNode).addClassName(that.cfg.currentPointerClass);}});return vid;}};function CommunityIntegration(siteroot,fullsiteroot)
{
    this._siteroot = siteroot;
    this.fullsiteroot = fullsiteroot;
    
}

//for the ask a question module.
document.observe(&quot;dom:loaded&quot;, function() {
   if( document.getElementById('hdnValues') != null )
	{
		fillSubCategoryJS();
	}
});

 function postQuestion(siteroot,fullsiteroot)
 {
		//Overriding temporarily till the fullsiteroot value is fixed in
		//the community app
		var fullsiteroot = &quot;http://online.wsj.com/community&quot;;

      if(document.getElementById('message') != null)
        document.getElementById('message').innerHTML = &quot;&quot;;
        var sDescText = document.getElementById('AskQDescription').value;
        if (sDescText == 'Enter your question*')
        {
            sDescText = '';
            document.getElementById('AskQDescription').value = '';
        }   
        var strimmedDesc = sDescText.replace(/^\s+|\s+$/g, '') ;
        
        var objErrorQstMandatory = document.getElementById('errorQstMandatory');
        var objErrorCatMandatory = document.getElementById('errorCatMandatory');
        var objErrorDefault = document.getElementById('errorDefault');
        var objErrorComplyPolicy = document.getElementById('errorComplyPolicy');
        var objDescription = document.getElementById('AskQDescription');
        var objErrorQuesLabel = document.getElementById('errorQuesLabel')
        var objCategory = document.getElementById('Category');
        var objSubCategoryId = document.getElementById('SubCategoryId');
        var objErrorSubCatMandatory = document.getElementById('errorSubCatMandatory');
        
        if(strimmedDesc.length == 0 &amp;&amp; objCategory.value == &quot;-1&quot; &amp;&amp; objSubCategoryId.value == &quot;-1&quot;)
        {
            objErrorQuesLabel.style.display     = 'none';
            objErrorCatMandatory.style.display = 'none';
            objErrorDefault.style.display  = 'block';
            objErrorComplyPolicy.style.display = 'none';
            objErrorQstMandatory.style.display  = 'none';
            return;
        }        
        if(strimmedDesc.length == 0)
        {
            objErrorQstMandatory.style.display  = 'block';
            objErrorCatMandatory.style.display = 'none';
            objErrorSubCatMandatory.style.display = 'none';
            objErrorDefault.style.display  = 'none';
            objErrorComplyPolicy.style.display = 'none';
            objDescription.value = strimmedDesc;
            objDescription.focus();
            return;
        }
        if(strimmedDesc.length &gt; 2000)
        {
            objErrorQuesLabel.style.display     = 'block';
            objErrorDefault.style.display  = 'none';
            objErrorComplyPolicy.style.display = 'none';
            objErrorQstMandatory.style.display  = 'none';
            objErrorCatMandatory.style.display = 'none';
            objErrorSubCatMandatory.style.display = 'none';
            objDescription.focus();
            return;
        }
        objDescription.value = strimmedDesc;
        if(objCategory.value == &quot;-1&quot;)
        {
            objErrorQstMandatory.style.display  = 'none';
            objErrorDefault.style.display  = 'none';
            objErrorComplyPolicy.style.display = 'none';
            objErrorCatMandatory.style.display = 'block';
            objErrorSubCatMandatory.style.display = 'none';
            objCategory.focus();
            return;
        }
        if(objSubCategoryId.value == &quot;-1&quot;)
        {
            objErrorQstMandatory.style.display  = 'none';
            objErrorCatMandatory.style.display = 'none';
            objErrorDefault.style.display  = 'none';
            objErrorComplyPolicy.style.display = 'none';
            objErrorSubCatMandatory.style.display = 'block';
            objSubCategoryId.focus();
            return;
        }
        
        var subCategoryvar = objSubCategoryId.value;
        var selectedCategoryIdvar = objCategory.value;
        var strimmedDesc = objDescription.value;
        var notifyMebool = document.getElementById('chkEmail').checked;
      
        var args = $H({mode : 0,
                        firstName : null,
						lastName : null,
                        subCategory: subCategoryvar,
						strDescription: strimmedDesc,
						notifyMe : notifyMebool						
				    });
	  
         dj.module.communityUser.ajaxPost(fullsiteroot + &quot;/public/SaveQuestion.html&quot;, args, function(transport,json){
			
			//User is a community user and hence, successful post
			if (transport.status == 200) {
	                  document.location.href = fullsiteroot + &quot;/answer/#identifier&quot;;
	      	} 
	      	else if( transport.status == 305 )
	      	{
	      	    objErrorQstMandatory.style.display  = 'none';
                objErrorCatMandatory.style.display = 'none';
                objErrorDefault.style.display  = 'none';
                objErrorSubCatMandatory.style.display = 'none';
                objErrorComplyPolicy.style.display = 'block';
                return false;
	      	}
	      	else
	      	{
			  //User is not a community user
			  if(transport.status == 300){
					dj.module.communityUser.handleError300(fullsiteroot + &quot;/public/SaveQuestion.html&quot;, args,  json.FirstName, json.LastName, function(transport,json){
						if(transport.status == 200){
							 document.location.href = fullsiteroot + &quot;/answer/#identifier&quot;;
			          	}
			          	else if( transport.status == 305 )
	      	            {
	      	                objErrorQstMandatory.style.display  = 'none';
                            objErrorCatMandatory.style.display = 'none';
                            objErrorDefault.style.display  = 'none';
                            objErrorSubCatMandatory.style.display = 'none';
                            objErrorComplyPolicy.style.display = 'block';
                            return false;
	      	            }
					});
			  }else if(transport.status == 301){
			    dj.module.communityUser.handleError301(json.FirstName, json.LastName);
			  }
		   }
	   });
	   
	   
      /*new Ajax.Request(fullsiteroot + &quot;/answer/AskAQuestion.sync&quot;,{
		method : 'post',
		parameters: $H({subCategory:subCategoryvar,strDescription:strimmedDesc,notifyMe:notifyMebool}).toQueryString(),
		onException : function(transport, exception){
			alert(&quot;exception&quot; + exception);
		},
		onSuccess : function(transport){
			document.location.href = fullsiteroot + &quot;/answer/&quot;;
		}
		}); */
 }
 
function answerQuestion(siteroot,fullsiteroot)
{
	//Overriding temporarily till the fullsiteroot value is fixed in
	//the community app
	var fullsiteroot = &quot;http://online.wsj.com/community&quot;;

    var  answerText = $('AnsDescription').value;
    if (answerText == 'Enter your answer')
    {
        answerText = '';
        $('AnsDescription').value = '';
    }  
    answerText = answerText.replace(/^\s+|\s+$/g, '') ;
    var questionId = $('hdnQuestionId').value;
    if(answerText.length == 0)
    {
        $('errorAnsDefault').show();
        $('errorAnsComplyPolicy').hide();
        $('errorAnsDefault').innerHTML = 'Please fill out the answer field.';
        return;
    } 
    if(answerText.length &gt; 2000)
    {
        $('errorAnsDefault').show();
        $('errorAnsComplyPolicy').hide();
        $('errorAnsDefault').innerHTML = 'The Answer should not be more than 2000 characters';            
        return;
    }
    
    var args = $H({mode : 0,
                        firstName : null,
						lastName : null,
                        questionId: questionId,
						strDescription: answerText				
				    });
				    
	dj.module.communityUser.ajaxPost(fullsiteroot + &quot;/public/SaveSectionAnswer.html&quot;, args, function(transport,json){
	
	    //User is a community member and successful post
        if(transport.status == 200) {
            document.location.href = fullsiteroot + &quot;/answer/questions/&quot; + questionId;
        }
        else if(transport.status == 305){
            $('errorAnsComplyPolicy').show();
            $('errorAnsDefault').hide();
            return false;
        }
        else{
            //User is not a community user
            if(transport.status == 300){
                dj.module.communityUser.handleError300(fullsiteroot + &quot;/public/SaveSectionAnswer.html&quot;, args, json.FirstName, json.LastName, function(transport,json){
                    if(transport.status == 200){
                        document.location.href = fullsiteroot + &quot;/answer/questions/&quot; + questionId;
                    }
                    else if(transport.status == 305){
                        $('errorAnsComplyPolicy').show();
                        $('errorAnsDefault').hide();
                        return false;
                    }
                });
            }else if (transport.status == 301){
                dj.module.communityUser.handleError301(json.FirstName, json.LastName);
            }
        }		
    }); 
}
 

function fnOpenMessageBox(targetElement,URI,rowKey){
    if(document.getElementById('hdnLastShownId').value != &quot;&quot;){
        document.getElementById(document.getElementById('hdnLastShownId').value).style.display  = &quot;none&quot;;
    }
    if(targetElement == 1){
        targetElement = 'dvMessage' + rowKey;
    }else{
        targetElement = 'dvConnect' + rowKey;
    }
    var subject = 'msgsubject' + rowKey;
    var message = 'msgeditor' + rowKey;
    var connectMessage = 'txtMessage' + rowKey;
    document.getElementById(targetElement).style.display  = 'block';
    document.getElementById('hdnMemberUri' + rowKey).value = URI;   
    document.getElementById('hdnLastShownId').value = targetElement;
    document.getElementById(subject).value = &quot;Subject&quot;;
    document.getElementById(message).value = &quot;Type your personal message.&quot;;
    
    subjectGotFocus = function subject_GotFocus(){
        if (document.getElementById(subject).value == &quot;Subject&quot;){
            document.getElementById(subject).value = &quot;&quot;;
        }
    }
    subjectLostFocus = function subject_LostFocus(){
        if (document.getElementById(subject).value == &quot;&quot;){
            document.getElementById(subject).value = &quot;Subject&quot;;
        }
    }
    messageGotFocus = function message_GotFocus(){
        if (document.getElementById(message).value == &quot;Type your personal message.&quot;){
            document.getElementById(message).value = &quot;&quot;;
        }
    }
    messageLostFocus = function message_LostFocus(){
        if (document.getElementById(message).value == &quot;&quot;){
            document.getElementById(message).value = &quot;Type your personal message.&quot;;
        }
    }   
    messageConnectGotFocus = function messageConnect_GotFocus(){
        if (document.getElementById(connectMessage).value == &quot;Type your personal message.&quot;){
            document.getElementById(connectMessage).value = &quot;&quot;;
        }
    }
    messageConnectLostFocus = function messageConnect_LostFocus(){
        if (document.getElementById(connectMessage).value == &quot;&quot;){
            document.getElementById(connectMessage).value = &quot;Type your personal message.&quot;;
        }
    }     
    Event.observe(document.getElementById(subject), 'focus', subjectGotFocus);
    Event.observe(document.getElementById(subject), 'blur', subjectLostFocus);    
    Event.observe(document.getElementById(message), 'focus', messageGotFocus);
    Event.observe(document.getElementById(message), 'blur', messageLostFocus); 
    Event.observe(document.getElementById(connectMessage), 'focus', messageConnectGotFocus);
    Event.observe(document.getElementById(connectMessage), 'blur', messageConnectLostFocus); 
}
 
function SetCommentFocus()
{
    if( $('commentBody') != null &amp;&amp; $('commentBody') != 'undefined' )
    {
        $('commentBody').focus();
    }
}

function SetMostFocus()
{
    if( $('commentBody') != null &amp;&amp; $('commentBody') != 'undefined' )
    {
        $('commentBody').focus();
		$('commentBody').blur();
    }
}


function ReportTopic1(ajaxFunction)
{
  new Ajax.Request(
  ajaxFunction,
  {
  onComplete: function(transport, json)
  {
  var reported = $H(json)[&quot;reported&quot;];
  var alreadyreported = $H(json)[&quot;alreadyreported&quot;];
  if (reported)
  {
  $('reporttopic').update(&quot;Topic Reported&quot;);
  }
  if (alreadyreported)
  {
  $('reporttopic').update(&quot;Topic is already reported&quot;);
  }
  }
  }
  );
}

function fnCloseMessage(Rowkey){
    document.getElementById('dvMessage' + Rowkey).style.display  = 'none';
}

function fnCloseMessageSent(Rowkey){
    document.getElementById('dvMessageSent' + Rowkey).style.display  = 'none';
}

function fnCloseConnectionSent(Rowkey){
    document.getElementById('dvConnectionSent' + Rowkey).style.display  = 'none';
}
  
function ReportComment(siteroot,CommentId)
{ 
      var args = $H({commentid: CommentId,
						mode : 0,
						firstName : null,
						lastName : null
				    });
      
      dj.module.communityUser.ajaxPost(siteroot + &quot;/comments/report.sync&quot;, args, function(transport,json){
			
			//User is a community user and hence, successful post
			if (transport.status == 200)
			{
	             document.getElementById('reportcomment'+CommentId).innerHTML = transport.responseText;
	      	} 
	      	//User is not a community user
	      	else if(transport.status == 300)
			{
					
					dj.module.communityUser.handleError300(siteroot + &quot;/comments/report.sync&quot;, args,  json.FirstName, json.LastName, function(transport,json){
						if(transport.status == 200)
						{
							 document.getElementById('reportcomment'+CommentId).innerHTML = transport.responseText;
			          	}
					});
			  }
			  else if(transport.status == 301)
			  {
			    dj.module.communityUser.handleError301(json.FirstName, json.LastName);
			  }
	   }); 
 }
  
  function fnSendMessage(siteroot,Rowkey)
  {
      var recipients    = trim($F('hdnMemberUri' + Rowkey));
      var subject       = trim($F('msgsubject' + Rowkey));
      var content       = trim($F('msgeditor' + Rowkey));
      
      if(subject.length &lt;= 0 || subject == 'Subject'){
        document.getElementById('errorMsg' + Rowkey).style.display = &quot;block&quot;;
        document.getElementById('errorMsg' + Rowkey).innerHTML = &quot;Please enter valid subject.&quot;;
        return false;
      }
      if(content.length &lt;= 0 || content == 'Type your personal message.'){
        document.getElementById('errorMsg' + Rowkey).style.display = &quot;block&quot;;
        document.getElementById('errorMsg' + Rowkey).innerHTML = &quot;Please enter valid message.&quot;;
        return false;
      }
      
      subject = fnReplaceHTMLTags(subject);
      content = fnReplaceHTMLTags(content);
      
      var targetElement = 'dvMessage' + Rowkey;
      var messageSent = 'dvMessageSent' + Rowkey;
      
      var args = $H({recipients: recipients,
						subject: subject,
						content: content,
						mode : 0,
						firstName : null,
						lastName : null
				    });
      dj.module.communityUser.ajaxPost(siteroot + &quot;/member/sendmessage.sync&quot;, args, function(transport,json){
			//User is a community user and hence, successful post
			if (transport.status == 200) 
			{
	                  document.getElementById('errorMsg' + Rowkey).innerHTML = json['errorMsg'];  
	                  document.getElementById(targetElement).style.display  = 'none';
                      document.getElementById(messageSent).style.display  = 'block';
	      	}
	      	//User is not a community user
	      	else if(transport.status == 300)
	      	{
				dj.module.communityUser.handleError300(siteroot + &quot;/member/sendmessage.sync&quot;, args,  json.FirstName, json.LastName, function(transport,json){
						if(transport.status == 200)
						{
							 document.getElementById('errorMsg' + Rowkey).innerHTML = json['errorMsg'];  
							 document.getElementById(targetElement).style.display  = 'none';
                             document.getElementById(messageSent).style.display  = 'block';
			          	}
					});
			 }else if(transport.status == 301)
			 {
			    dj.module.communityUser.handleError301(json.FirstName, json.LastName);
			 }			
	   });     
  }
  
  function fnCloseConnect(Rowkey){
  document.getElementById('dvConnect' + Rowkey).style.display  = 'none';
  }
  
  function fnSendInvite(siteroot,rowKey)
  {
      var name = trim(document.getElementById('hdnMemberUri' + rowKey).value);
      var message = trim(document.getElementById('txtMessage' + rowKey).value);
      
      message = fnReplaceHTMLTags(message);
      if(message.length &lt;= 0 || message == 'Type your personal message.'){
        document.getElementById('errorMsgInvite' + rowKey).style.display = &quot;block&quot;;
        document.getElementById('errorMsgInvite' + rowKey).innerHTML = &quot;Please enter valid message.&quot;;
        return false;
      }
      
      var targetElement = 'dvConnect' + rowKey;
      var messageSent = 'dvConnectionSent' + rowKey;
      
      
      var args = $H({name: name,
						message: message,
					    mode : 0,
						firstName : null,
						lastName : null
				    });
      
      dj.module.communityUser.ajaxPost(siteroot + &quot;/member/InviteFriend.sync&quot;, args, function(transport,json){
			
			//User is a community user and hence, successful post
			if (transport.status == 200) 
			{
	                  document.getElementById('errorMsgInvite' + rowKey).innerHTML = json['errorMsg']; 
	                  document.getElementById(targetElement).style.display  = 'none';
                      document.getElementById(messageSent).style.display  = 'block';  
	      	} else
				//User is not a community user
				if(transport.status == 300){
					
					dj.module.communityUser.handleError300(siteroot + &quot;/member/InviteFriend.sync&quot;, args,  json.FirstName, json.LastName, function(transport,json){
						if(transport.status == 200){
							 document.getElementById('errorMsgInvite' + rowKey).innerHTML = json['errorMsg'];
							 document.getElementById(targetElement).style.display  = 'none';
                             document.getElementById(messageSent).style.display  = 'block';    
			          	}
					});
			  }else if(transport.status == 301){
			    dj.module.communityUser.handleError301(json.FirstName, json.LastName);
			  }			  
	   });
  }
  
  function PostArticleComment(siteroot,commentBodyValue)
  {
        showInlineMessage(&quot;errorOnPost&quot;, &quot;&quot;);
        if (commentBodyValue.length == 0)
        {
            showInlineMessage(&quot;errorOnPost&quot;, &quot;Please enter your comment and then click post.&quot;);
            return false;
        }
      var args = $H({   mode : 0,
						firstName : null,
						lastName : null
				    });
      dj.module.communityUser.ajaxPost(siteroot + &quot;/member/CheckUser.sync&quot;, args, function(transport,json){
			//User is a community user and hence, successful post
			if (json.proceedfurther == true) 
			{
	                theTopic.PostArticleComment(commentBodyValue);
	      	} 
			else
			{
				//User is not a community user
				if(json.proceedfurther == false){
					dj.module.communityUser.handleError300(siteroot + &quot;/member/CheckUser.sync&quot;, args,  json.FirstName, json.LastName, function(transport,json){
						if (json.proceedfurther == true) {
							 theTopic.PostArticleComment(commentBodyValue);
						}
					});
			  }			
			}
	   });
	   $('commentBody').value = &quot;&quot;;
  }
  
  function showInlineMessage(eltId, msg)
  {
		document.getElementById(eltId).innerHTML = msg;
		if (msg != &quot;&quot;)
		{
			document.getElementById(eltId).style.visibility = 'visible'; 
		}
		else
		{
			document.getElementById(eltId).style.visibility = 'hidden';
		}
   }
  
  function PostEditComment(siteroot,obj,commentEntryId)
  {
        var args = $H({   mode : 0,
						firstName : null,
						lastName : null
				    });
      dj.module.communityUser.ajaxPost(siteroot + &quot;/member/CheckUser.sync&quot;, args, function(transport,json){
			//User is a community user and hence, successful post
			if (json.proceedfurther == true) 
			{
	                theTopic.PostEditComment(obj,commentEntryId);
	      	} else
				//User is not a community user
				if(json.proceedfurther == false){
					
					dj.module.communityUser.handleError300(siteroot + &quot;/member/CheckUser.sync&quot;, args,  json.FirstName, json.LastName, function(transport,json){
						if (json.proceedfurther == true) {
							 theTopic.PostEditComment(obj,commentEntryId);
			          	}
					});
			  }			
	   });
  }
  
  function EditComment(siteroot,commentEntryId)
  {
        theTopic.EditComment(commentEntryId);
//      var args = $H({   mode : 0,
//						firstName : null,
//						lastName : null
//				    });
//      dj.module.communityUser.ajaxPost(siteroot + &quot;/member/CheckUser.sync&quot;, args, function(transport,json){
//			//User is a community user and hence, successful post
//			if (json.proceedfurther == true) 
//			{
//	                theTopic.EditComment(commentEntryId);
//	      	} else
//				//User is not a community user
//				if(json.proceedfurther == false){
//					
//					dj.module.communityUser.handleError300(siteroot + &quot;/member/CheckUser.sync&quot;, args,  json.FirstName, json.LastName, function(transport,json){
//						if (json.proceedfurther == true) {
//							 theTopic.EditComment(commentEntryId);
//			          	}
//					});
//			  }			
//	   });
  }
  
  function OpenReplyBox(siteroot,replycommentEntryControl,commentEntryId,name)
  {     
  theTopic.ReplyBox(replycommentEntryControl,commentEntryId,name);
//     var args = $H({   mode : 0,
//						firstName : null,
//						lastName : null
//				    });
//      dj.module.communityUser.ajaxPost(siteroot + &quot;/member/CheckUser.sync&quot;, args, function(transport,json){
//			//User is a community user and hence, successful post
//			if (json.proceedfurther == true) 
//			{
//	                theTopic.ReplyBox(replycommentEntryControl,commentEntryId,name);
//	      	} else
//				//User is not a community user
//				if(json.proceedfurther == false)
//				{
//					dj.module.communityUser.handleError300(siteroot + &quot;/member/CheckUser.sync&quot;, args, json.FirstName, json.LastName, function(transport,json){
//						if (json.proceedfurther == true) {
//							 theTopic.ReplyBox(replycommentEntryControl,commentEntryId,name);
//			          	}
//					});
//			  }			
//	   });     
  }  

  GotFocus = function Connect_GotFocus()
  {
    if (document.getElementById('txtMessage${Rowkey}').value == &quot;Type your personal message&quot;)
    {
      document.getElementById('txtMessage${Rowkey}').value = &quot;&quot;;
    }
  }

  LostFocus = function Connect_LostFocus()
  {
      if (document.getElementById('txtMessage${Rowkey}').value == &quot;&quot;)
      {
        document.getElementById('txtMessage${Rowkey}').value = &quot;Type your personal message&quot;;
      }
  }
  
  function fillSubCategoryJS()
  {
      var parentCategoryId = document.getElementById('Category').value;
      
      if(parentCategoryId == '-1')
      {
          document.getElementById('SubCategoryId').options.length = 0;
          document.getElementById('SubCategoryId').options = new Option('Sub-category','-1');
          return;
      }  
      var values = document.getElementById('hdnValues').value;
      var categories = values.split(&quot;~&quot;);
      document.getElementById('SubCategoryId').options.length = 0;
      var SelectedSubCategoryId =  document.getElementById('hdnSubCategoryId').value;
      
      for( i = 0; i &lt; categories.length; i++ ){
          var subCatInfo = categories;
          var subCategories = subCatInfo.split(&quot;^&quot;);
          var categoryId = subCategories;
          if( categoryId == parentCategoryId )
          {
              for( j = 1; j &lt; subCategories.length; j++ ){
                    var subCatValues = subCategories.split(&quot;=&quot;);
                    var subCategoryText = subCatValues;
                    var subCategoryId = subCatValues;
                    document.getElementById('SubCategoryId').options[j-1]=new Option(subCategoryText, subCategoryId);
                    if( SelectedSubCategoryId == subCategoryId )
                    {
                        document.getElementById('SubCategoryId').options[j-1].selected = true;
                    }
              }
          }
      }

	  if(SelectedSubCategoryId == -1)
	  {
		 document.getElementById('SubCategoryId').options[j-1] = new Option('Sub-category','-1');
         document.getElementById('SubCategoryId').options[j-1].selected = true;
	  }
  }
  
    function setCategorySubcategory(categoryId, subCategoryId)
	{
		var categoryDropDown = document.getElementById('Category');
			
		for(i=0; i &lt; categoryDropDown.options.length ; i++)
		 {
			 if (categoryDropDown.options.value == categoryId )
			   {      
				  categoryDropDown.options.selected = true;     
			   }
		 }    
		
		if (subCategoryId == null) {
			subCategoryId = -1;
		}
		
		document.getElementById('hdnSubCategoryId').value = subCategoryId ;		
		fillSubCategoryJS();
		
	  }

  function SortArticleComments(SBNumber,siteRoot,index,sortId)
  {
    document.getElementById('sortId').value = sortId;
    new Ajax.Updater(document.getElementById('Commentsblock'),
    siteRoot + &quot;/public/ArticleComments.html&quot;,
        {
            method: 'post',
            parameters: $H({SBNumber: SBNumber,index:index,sortIndex:sortId}).toQueryString()
        });    
  }
 
//************** Remove HTML tags ************** 
function fnReplaceHTMLTags(strValue){
    strValue = strValue.replace(/&lt;/g,'&amp;#60;');
    strValue = strValue.replace(/&gt;/g,'&amp;#62;');
    return strValue;
}

function trim(str)
{
    return str.replace(/^\s+|\s+$/, '');
}

dj.module.freeReg={init:function(){this.oAnyUserLoggedIn=false;var that=this;dj.util.User.isLoggedIn(function(isLoggedIn){if(isLoggedIn){that.oAnyUserLoggedIn=true;}});if(!that.oAnyUserLoggedIn){this.inlineReg=new dj.widget.panel.ModalPanel('register','register_module',{openModalPanelEvent:&quot;click&quot;,closeModalPanelEvent:&quot;blur&quot;,closeModalPanelButtonSelector:&quot;.closeFreereg&quot;,closeModalPanelEventForButtonSelector:&quot;click&quot;});this.oRegister_module=this.inlineReg.oModalContainer;this.inlineLogin=new dj.widget.panel.ModalPanel('login','login_module',{openModalPanelEvent:&quot;click&quot;,closeModalPanelEvent:&quot;blur&quot;,closeModalPanelButtonSelector:&quot;.closeLogin&quot;,closeModalPanelEventForButtonSelector:&quot;click&quot;});this.logindiv=this.inlineLogin.oModalContainer;this.ologin_form=this.logindiv.down('#login_form');this.ologinMod=this.inlineLogin.oModalId;this.osublogin=this.logindiv.up('#subscriberLogin');this.ofreereg=this.oRegister_module.up('#freereg');this.oFree_reg=this.inlineReg.oModalId;this.oErrorCoun
t=0;this.http_request=false;this.oRegFieldErrorMsgsValue=&quot;&quot;;this.oregFieldErrorMsg=this.oRegister_module.down('#oregFieldErrorMsg');this.oFr_confirm=this.oRegister_module.down('#fr_confirm');this.oFr_content=this.oRegister_module.down('#fr_content');this.oFreeRegistration_form=this.oRegister_module.down('#freeRegistration_form');this.oFreeregemailerrormsg=this.oRegister_module.down('#freeregemailerrormsg');this.oFreeregusererrormsg=this.oRegister_module.down('#freeregusererrormsg');this.oFreeRegServiceErrorMsg=this.oRegister_module.down('#freeRegServiceErrorMsg');this.oFreeRegSubButton=this.oRegister_module.down('#freeRegSubButton');this.oRegEmailErrorMsg=this.oRegister_module.down('#regEmailErrorMsg');this.oFreeRegEmail=this.oRegister_module.down('#regemail');this.oFreeRegWhyReason=this.oRegister_module.down('#whyreasons');this.ofreewhyregister=this.oRegister_module.down('#ofreewhyregister');this.regErrorCode=['userName-exists','userName-required','userName-invalid','firstName-required','firstName-invalid','lastName-required','lastName-invalid','emailAddress-exists','emailAddress-required','emailAddress-invalid','password-required','password-invalid','passwordConfirmation-invalid','userName-unique','emailAddress-unique'];this.regErrorValue=['Please enter your First Name.','Please enter your Last Name.','Please enter a valid Email Address.','Please create a Password.','Please confirm Password.','Please create a User Name.','Passwords do not match.'];this.regFieldName=['firstNameReg','lastNameReg','emailAddressReg','passwordReg','passwordConfirmationReg','userNameReg','sendEmailsReg','jcommunityReg'];this.attachEvents();this.freeRegResetForm();}},attachEvents:function(){var that=this;var textFields=this.oFreeRegistration_form.select(&quot;input[type=text]&quot;);var passfields=this.oFreeRegistration_form.select(&quot;input[type=password]&quot;);textFields.each(function(ipt){Element.observe(ipt,&quot;focus&quot;,function(ev){that.checkFreeRegFocus(ipt.name);});});textFields.each(function(ipt){Element.observe(ipt,&quot;blur&quot;,function(ev){that.checkFreeRegFieldBlur(ipt.name);});});passfields.each(function(ipt){Element.observe(ipt,&quot;focus&quot;,function(ev){that.checkFreeRegFocus(ipt.name);});});passfields.each(function(ipt){Element.observe(ipt,&quot;blur&quot;,function(ev){that.checkFreeRegFieldBlur(ipt.name);});});this.oimagefields=this.oFreeRegistration_form.select(&quot;input[type=image]&quot;);this.oimagefields.each(function(ipt){Element.observe(ipt,&quot;click&quot;,function(ev){that.submitregForm();});});this.okButtonClicked=this.oRegister_module.select(&quot;input[class=okButton]&quot;);this.okButtonClicked.each(function(ipt){Element.observe(ipt,&quot;click&quot;,function(ev){that.closeRegSuccessBlock();});});this.oFreewhyReasons=this.oRegister_module.select(&quot;a[class=ofreewhyReasons]&quot;);this.oFreewhyReasons.each(function(ipt){Element.observe(ipt,&quot;click&quot;,function(ev){that.oFreeRegWhyReason.style.display=(that.oFreeRegWhyReason.style.display=='block')?'none':'block';if(that.oFreeRegWhyReason.style.display==='block'){that.ofreewhyregister.className=&quot;why&quot;;}
else{that.ofreewhyregister.className=&quot;whynot&quot;;}});});this.oFreeTermsConditions=this.oRegister_module.select(&quot;a[class=ofreeTermsConditions]&quot;);this.oFreeTermsConditions.each(function(ipt){Element.observe(ipt,&quot;click&quot;,function(ev){dj.util.Url.openWin('http://online.wsj.com/public/page/subscriber_agreement.html','TermAndConditions',800,800,'scrollbars',1,300,100);});});this.oFreeEmailNewLetter=this.oRegister_module.select(&quot;a[class=ofreeEmailNewLetter]&quot;);this.oFreeEmailNewLetter.each(function(ipt){Element.observe(ipt,&quot;click&quot;,function(ev){dj.util.Url.openWin('http://online.wsj.com/email','EmailNewLetterLink');});});this.oprivacyPolicy=this.oRegister_module.select(&quot;a[class=oprivacyPolicy]&quot;);this.oprivacyPolicy.each(function(ipt){Element.observe(ipt,&quot;click&quot;,function(ev){dj.util.Url.openWin('http://online.wsj.com/public/page/privacy_policy.html','FreeRegPrivacyPolicy',800,800,'scrollbars',1,300,100);});});this.ologinMod.observe('click',function(ev){Event.stop(ev);that.closeRegOtherBloc
k(2);that.ologin_form.reset();});},freeRegResetForm:function(){var that=this;this.oFree_reg.observe('click',function(ev){Event.stop(ev);that.closeRegOtherBlock(1);that.oFreeRegistration_form.reset();that.oregFieldErrorMsg.hide();that.oRegFieldErrorMsgsValue=&quot;&quot;;that.oRegEmailErrorMsg.hide();that.oFreeRegSubButton.disabled=false;that.oFreeregemailerrormsg.hide();that.oFreeRegServiceErrorMsg.hide();that.oFreeregusererrormsg.hide();that.ofreewhyregister.className=&quot;whynot&quot;;that.oFreeRegistration_form[that.regFieldName].style.backgroundColor='#ffffff';that.oFreeRegistration_form[that.regFieldName].style.backgroundColor='#ffffff';that.oFreeRegistration_form[that.regFieldName].style.backgroundColor='#ffffff';that.oFreeRegistration_form[that.regFieldName].style.backgroundColor='#ffffff';that.oFreeRegistration_form[that.regFieldName].style.backgroundColor='#ffffff';that.oFreeRegistration_form[that.regFieldName].style.backgroundColor='#ffffff';});},closeRegSuccessBlock:function(){this.oFreeRegEmail.innerHTML=&quot;&quot;;this.oFr_confirm.hide();this.oFr_content.show();this.oRegister_module.hide();this.oFreeRegSubButton.disabled=false;this.oFreeRegistration_form.reset();},closeRegOtherBlock:function(val){if(val===1){this.ofreereg.className=&quot;freereg&quot;;this.osublogin.className+=&quot; login_hidden&quot;;this.logindiv.hide();this.oRegister_module.show();this.oFreeRegWhyReason.style.display='block';this.oFreeRegWhyReason.style.display='none';}
if(val===2){this.osublogin.className=&quot;login&quot;;this.ofreereg.className+=&quot; freereg_hidden&quot;;this.logindiv.show();this.oRegister_module.hide();}},checkFreeRegFieldBlur:function(oregFieldname){this.ofieldName=this.oFreeRegistration_form;this.ofieldValue=this.ofieldName.value;var ovalid=this.ofieldValue.blank();if(ovalid){this.oErrorCount=1;this.oFreeRegSubButton.disabled=false;}else{this.ofieldName.style.color='#000000';this.ofieldName.style.backgroundColor='#ffffff';this.ofieldName.value=this.ofieldValue.strip();}},checkFreeRegBlur:function(oregFieldnumber){this.ofieldName=this.oFreeRegistration_form[this.regFieldName];this.ofieldValue=this.ofieldName.value;var ovalid=this.ofieldValue.blank();if(ovalid){this.changeFieldValue(oregFieldnumber);this.oErrorCount=1;this.oFreeRegSubButton.disabled=false;}else{this.ofieldName.style.color='#000000';this.ofieldName.style.backgroundColor='#ffffff';this.ofieldName.value=this.ofieldValue.strip();}},checkFreeReg
Focus:function(oregFieldname){this.ofieldName=this.oFreeRegistration_form;this.ofieldName.style.color='#000000';this.ofieldName.style.backgroundColor='#ffffff';},checkFreeRegEmail:function(email){var invalidEmailChars=&quot; ?!#$%&amp;*()\&quot;||&lt;&gt;=+;:][{}/\\&quot;;for(var count=0,len=invalidEmailChars.length;count&lt;len;count++){var badChar=invalidEmailChars.charAt(count);if(email.indexOf(badChar,0)&gt;-1){this.oErrorCount=1;this.changeFieldValue(2);this.oFreeRegSubButton.disabled=false;return;}}
this.lastAtSign=email.lastIndexOf(&quot;@&quot;);this.firstAtSign=email.indexOf(&quot;@&quot;);this.lastPeriod=email.lastIndexOf(&quot;.&quot;);if(!(this.firstAtSign&gt;0&amp;&amp;this.firstAtSign===this.lastAtSign&amp;&amp;this.lastPeriod&gt;=(this.firstAtSign+2)&amp;&amp;this.lastPeriod&lt;=(email.length-3)&amp;&amp;email.charAt(this.firstAtSign+1)!==&quot;.&quot;)){this.changeFieldValue(2);this.oFreeRegSubButton.disabled=false;this.oErrorCount=1;return;}},compareFreeRegPassword:function(){this.oPassfieldValue=this.oFreeRegistration_form[this.regFieldName].value;this.oCPassfieldValue=this.oFreeRegistration_form[this.regFieldName].value;if(this.oPassfieldValue!==this.oCPassfieldValue){this.changeFieldValue(6);this.oFreeRegSubButton.disabled=false;this.oErrorCount=1;}},changeFieldValue:function(oregFieldnumber){this.oregFieldErrorMsg.show();this.ofieldName=this.oFreeRegistration_form[this.regFieldName];this.oRegFieldErrorMsgsValue+=&quot; &quot;+this.regErrorValue;this.ofieldName.style.color='#ff0000';this.ofieldName.style.ba
ckgroundColor='#fff28d';},responseErrorData:function(responseData){var that=this;var oshow=0;var profileErrors=responseData.profile.errors;var emailAddressVal=profileErrors.emailAddress;var userNameVal=profileErrors.userName;var firstNameVal=profileErrors.firstName;var lastNameVal=profileErrors.lastName;var passwordVal=profileErrors.password;var compasswordVal=profileErrors.passwordConfirmation;if(emailAddressVal!==null&amp;&amp;emailAddressVal!==undefined){if(that.regErrorCode===emailAddressVal||that.regErrorCode===emailAddressVal){that.oFreeregemailerrormsg.show();that.ofieldName=that.oFreeRegistration_form[that.regFieldName];that.ofieldName.style.backgroundColor='#fff28d';}else{that.changeFieldValue(2);oshow=1;}}
if(userNameVal!==null&amp;&amp;userNameVal!==undefined){if(that.regErrorCode===userNameVal||that.regErrorCode===userNameVal){that.oFreeregusererrormsg.show();that.ofieldName=that.oFreeRegistration_form[that.regFieldName];that.ofieldName.style.backgroundColor='#fff28d';}else{that.changeFieldValue(5);oshow=1;}}
if(firstNameVal!==null&amp;&amp;firstNameVal!==undefined){that.changeFieldValue(0);oshow=1;}
if(lastNameVal!==null&amp;&amp;lastNameVal!==undefined){that.changeFieldValue(1);oshow=1;}
if(passwordVal!==null&amp;&amp;passwordVal!==undefined){that.changeFieldValue(3);oshow=1;}
if(compasswordVal!==null&amp;&amp;compasswordVal!==undefined){that.changeFieldValue(4);oshow=1;}
if(oshow===1){that.oregFieldErrorMsg.show();that.oregFieldErrorMsg.innerHTML=&quot;&lt;p&gt;&quot;+that.oRegFieldErrorMsgsValue+&quot;&lt;/p&gt;&quot;;}},freeRegRequest:function(){this.ofirstName=this.oFreeRegistration_form[this.regFieldName].value;this.olastName=this.oFreeRegistration_form[this.regFieldName].value;this.oemailName=this.oFreeRegistration_form[this.regFieldName].value;this.opassName=this.oFreeRegistration_form[this.regFieldName].value;this.ocpassName=this.oFreeRegistration_form[this.regFieldName].value;this.ouserName=this.oFreeRegistration_form[this.regFieldName].value;this.oFeatureEmail=this.oFreeRegistration_form[this.regFieldName].checked;this.oCommunityProfile=this.oFreeRegistration_form[this.regFieldName].checked;this.data={'profile.userName':this.ouserName,'profile.firstName':this.ofirstName,'profile.lastName':this.olastName,'profile.emailAddress':this.oemailName,'profile.password':this.opassName,'profile.passwordConfirmation':this.ocpassName,'profile.options.cre
ateCommunityProfile':this.oCommunityProfile,'profile.options.featureEmailOptIn':this.oFeatureEmail,'profile.options.returnLink':window.location.href};var that=this;var request=new Ajax.Request('/epiton/registration/v1/profile',{method:'post',requestHeaders:{Accept:'application/json'},parameters:this.data,onComplete:function(transport){var responseData=eval('('+transport.responseText+')');if(transport.status===200){that.oFreeRegEmail.innerHTML=that.oemailName;that.oFr_content.hide();that.oFr_confirm.show();that.oFreeRegistration_form.reset();}
else if(transport.status===412){that.oFreeRegSubButton.disabled=false;that.responseErrorData(responseData);}
else if(transport.status===500){that.oFreeRegSubButton.disabled=false;that.oFreeRegServiceErrorMsg.show();}
else{that.oFreeRegSubButton.disabled=false;that.oFreeRegServiceErrorMsg.show();}}});},checkEmailInEmailCenter:function(){this.oemailName=this.oFreeRegistration_form[this.regFieldName].value;var that=this;this.request=new Ajax.Request('/emailcheck/'+this.oemailName,{method:'get',onComplete:function(transport){if(transport.responseText!==null||transport.responseText!==undefined){if('false'===transport.responseText.strip()){that.freeRegRequest();}
else if('true'===transport.responseText.strip()){that.oFreeRegSubButton.disabled=false;that.oRegEmailErrorMsg.show();}
else{that.oFreeRegSubButton.disabled=false;that.oFreeRegServiceErrorMsg.show();}}else{that.oFreeRegSubButton.disabled=false;that.oFreeRegServiceErrorMsg.show();}},onException:function(transport){that.oFreeRegSubButton.disabled=false;that.oFreeRegServiceErrorMsg.show();}});},submitregForm:function(){this.oErrorCount=0;this.oRegFieldErrorMsgsValue=&quot;&quot;;this.oFreeregemailerrormsg.hide();this.oFreeregusererrormsg.hide();this.oRegEmailErrorMsg.hide();this.oFreeRegServiceErrorMsg.hide();this.oFreeRegSubButton.disabled=true;this.checkFreeRegBlur(0);this.checkFreeRegBlur(1);this.checkFreeRegBlur(2);this.checkFreeRegBlur(5);this.checkFreeRegBlur(3);this.checkFreeRegBlur(4);if(this.oErrorCount===0){this.oRegFieldErrorMsgsValue=&quot;&quot;;this.compareFreeRegPassword();this.checkFreeRegEmail(this.oFreeRegistration_form[this.regFieldName].value);}
if(this.oErrorCount&gt;0){this.oregFieldErrorMsg.innerHTML=&quot;&lt;p&gt;&quot;+this.oRegFieldErrorMsgsValue+&quot;&lt;/p&gt;&quot;;this.oregFieldErrorMsg.show();this.oFreeRegSubButton.disabled=false;return false;}
else{this.oFreeRegSubButton.disabled=true;this.oregFieldErrorMsg.hide();this.oRegFieldErrorMsgsValue=&quot;&quot;;this.oregFieldErrorMsg.innerHTML=&quot;&quot;;this.checkEmailInEmailCenter();return false;}
return false;}};
dj.module.rssBlogTimes={init:function(getClasses){var timeStamps=$$(getClasses);if(timeStamps.length===0){console.log(&quot;{dj.module.xslTimestamp} no timestamps found.&quot;);return;}
for(var i=0,timeStamp;timeStamp=timeStamps[i++];){timeStamp=timeStamp.cleanWhitespace();var dur=this.calculateDuration(timeStamp.innerHTML.strip());timeStamp.update(dur);}},calculateDuration:function(getPubDate){var today=new Date();var newDate=new Date(getPubDate);var getTimeDIff=Math.ceil(today.getTime()-newDate.getTime());var one_min=1000*60;var getMins=Math.ceil(getTimeDIff/one_min);var getOutput='';if(getMins&lt;1){getOutput=&quot;1 min ago&quot;;}else if(getMins&lt;59){getOutput=&quot;6 mins ago&quot;;}else if(getMins&gt;60&amp;&amp;getMins&lt;240){var getHrs=newDate.getHours();var getAMPM=&quot;&quot;;if(getHrs&lt;=12){getAMPM=&quot; am&quot;;}else{getHrs=(getHrs-12);getAMPM=&quot; pm&quot;;}
getOutput=newDate.getHours()+&quot;:&quot;+newDate.getMinutes()+getAMPM;}
return(getOutput==='')?null:getOutput;}};
dj.module.assasinModule={init:function(flashNamespace){if(typeof flashNamespace=='undefined'){flashNamespace='';}
var cnt=$$('.viModule [id^=assasinMedia]');if(cnt===null){return;}
for(var index=0,length=cnt.length;index&lt;length;++index){var t=cnt.className.split('::');if(t&amp;&amp;t!=='undefined'){var source=t.first();var id=t;var caption=t;if(source===flashNamespace+'VIDEO'){this.videoPlayer=new dj.widget.video.Video(cnt.identify(),id,'','',caption);}
else if(source===flashNamespace+'FLASH'){this.flashPlayer=new dj.widget.flash.Flash(cnt.identify(),id,caption);}}}}};
dj.module.emailSignUpNonSub={init:function(){this.isPartner=document.getElementsByTagName(&quot;div&quot;).hasClassName('subType-partner');if(this.isPartner){this.oEmailSignUpNonSub=$('emailSignUpNonSub');this.oEmailSignUpNonSub.getElementsByTagName('a').href='/pznsetup/pub/email/setup.html';}},initializeContainer:function(oContainer){if(oContainer!==null){this.setUpControllers(oContainer);}},setUpControllers:function(oContainer){this.oemailSignUpNonSubSubmit=oContainer.down(&quot;.emailSignUpNonSubSubmit&quot;);var that=this;this.oemailSignUpNonSubSubmit.observe(&quot;click&quot;,function(ev){Event.stop(ev);that.signUp(oContainer);});oContainer.down(&quot;.txtEmail&quot;).observe(&quot;click&quot;,function(ev){Event.stop(ev);if(this.value===&quot;Please enter your email&quot;||this.value===&quot;Enter Your Email Address&quot;||this.value===&quot;Please enter a valid email address&quot;){this.value=&quot;&quot;;}});},signUp:function(oContainer){this.oContent=oContainer.down(&quot;.mainContentNonSub&quot;);this.oContentForm=this.oContent.down(&quot;form&quot;);this.oMessageSucce
ss=oContainer.down(&quot;.successMessageNonSub&quot;);this.oMessageError=this.oContent.down(&quot;.errorMessageNonSub&quot;);this.txtEmail=oContainer.down(&quot;.txtEmail&quot;);this.hiddenClass=&quot;hidden&quot;;this.signUpUrl=&quot;/emailservice/email-signup&quot;;this.userLoginName=&quot;null&quot;;this.userEmail=&quot;&quot;;this.displayNames=&quot;&quot;;var oForm=$H(this.oContentForm.serialize().parseQuery());var oFormLength=oForm.size();if(this.txtEmail.value===&quot;&quot;||this.txtEmail.value===&quot;Please enter your email&quot;||this.txtEmail.value===&quot;Enter Your Email Address&quot;||this.txtEmail.value===&quot;Enter Your Email Address&quot;){this.txtEmail.value=&quot;Please enter your email&quot;;return;}
if(!this.validateEmail(this.txtEmail.value)){this.txtEmail.value=&quot;Please enter a valid email address&quot;;return;}
this.postBody=this.buildPostBody(oContainer);if(this.displayNames===&quot;&quot;){return;}
this.displayNames=this.displayNames+&quot;&amp;#160;&quot;;this.oContainer=oContainer;var that=this;this.request=new Ajax.Request(this.signUpUrl,{method:'post',postBody:that.postBody,contentType:'text/xml',onComplete:function(transport,exception){if(200==transport.status){that.showSuccess();}else if(409==transport.status){that.showError();}else if(500==transport.status){that.showContent();console.error(&quot;{emailSignUpNonSub} error %s - server error&quot;,transport.status);}
that.oContainer.select(&quot;.userEmail&quot;).each(function(el){el.innerHTML=that.userEmail;});that.oContainer.select(&quot;.displayNames&quot;).each(function(el){el.innerHTML=that.displayNames;});}});},buildPostBody:function(oContainer){this.userEmail=oContainer.down(&quot;.txtEmail&quot;).value;var x=[];x[x.length]=&quot;&lt;customer&gt;&quot;;x[x.length]=&quot;&lt;login-name&gt;&lt;/login-name&gt;&quot;;x[x.length]=&quot;&lt;contacts class=\&quot;java.util.ArrayList\&quot;&gt;&quot;;x[x.length]=&quot;&lt;contact&gt;&lt;last-modified-by&gt;&quot;+this.userEmail+&quot;&lt;/last-modified-by&gt;&lt;contact-address&gt;&quot;+this.userEmail+&quot;&lt;/contact-address&gt;&lt;contact-status&gt;V&lt;/contact-status&gt;&quot;;x[x.length]=&quot;&lt;bulk-emails class=\&quot;java.util.ArrayList\&quot;&gt;&quot;;var that=this;var oForm=$H(this.oContentForm.serialize().parseQuery());oForm.each(function(el){if(el.startsWith(&quot;checkbox&quot;)){x[x.length]=&quot;&lt;bulk-email&gt;&lt;opt-in-flag&gt;1&lt;/opt-in-flag&gt;&lt;email-type-id&gt;&quot;+el+&quot;&lt;/email-type-id&gt;&lt;/bulk-email&gt;&quot;;var temp=oForm.get(&quot;displayName&quot;+el);if(temp!==&quot;&quot;){if(that.displayNames===&quot;&quot;){that.displayNames=temp;}else{that.displayNames=that
.displayNames+&quot; and &quot;+temp;}}}});x[x.length]=&quot;&lt;/bulk-emails&gt;&quot;;x[x.length]=&quot;&lt;/contact&gt;&quot;;x[x.length]=&quot;&lt;/contacts&gt;&quot;;x[x.length]=&quot;&lt;products class=\&quot;java.util.ArrayList\&quot;&gt;&quot;;x[x.length]=&quot;&lt;product&gt;&lt;id&gt;2&lt;/id&gt;&lt;name&gt;WSJ&lt;/name&gt;&lt;description&gt;WSJ Email Product&lt;/description&gt;&lt;/product&gt;&quot;;x[x.length]=&quot;&lt;/products&gt;&quot;;x[x.length]=&quot;&lt;/customer&gt;&quot;;x=x.join('\n');return x;},showSuccess:function(){this.oContent.addClassName(this.hiddenClass);this.oMessageError.addClassName(this.hiddenClass);this.oMessageSuccess.removeClassName(this.hiddenClass);},showError:function(){this.oContent.removeClassName(this.hiddenClass);this.oMessageSuccess.addClassName(this.hiddenClass);this.oMessageError.removeClassName(this.hiddenClass);},showContent:function(){this.oMessageSuccess.addClassName(this.hiddenClass);this.oMessageError.addClassName(this.hiddenClass);this.oContent.removeClassName(this.hiddenClass);},validateEmail:function(email){this.invalidEmailChars=&quot; ?!#$%&amp;*()\&quot;||&lt;&gt;=+;:][{}/\\&quot;;if(email==&quot;&quot;){return false;}
for(count=0;count&lt;this.invalidEmailChars.length;count++){this.badChar=this.invalidEmailChars.charAt(count);if(email.indexOf(this.badChar,0)&gt;-1){return false;}}
this.lastAtSign=email.lastIndexOf(&quot;@&quot;);this.firstAtSign=email.indexOf(&quot;@&quot;);this.lastPeriod=email.lastIndexOf(&quot;.&quot;);return(this.firstAtSign&gt;0&amp;&amp;this.firstAtSign==this.lastAtSign&amp;&amp;this.lastPeriod&gt;=this.firstAtSign+2&amp;&amp;this.lastPeriod&lt;=email.length-3&amp;&amp;email.charAt(this.firstAtSign+1)!=&quot;.&quot;);}};
dj.module.emailSignUp={init:function(){this.isPartner=document.getElementsByTagName(&quot;div&quot;).hasClassName('subType-partner');if(this.isPartner){this.oEmailSignUpNonSub=$('emailSignUpNonSub');this.oEmailSignUpNonSub.getElementsByTagName('a').href='/pznsetup/pub/email/setup.html';}
this.oContainers=$$(&quot;div.emailSignUp&quot;);var that=this;this.oContainers.each(function(el){that.initializeContainer(el);});},initializeContainer:function(oContainer){if(oContainer!==null){this.setUpControllers(oContainer);}},setUpControllers:function(oContainer){this.oemailSignUpSubmit=oContainer.down(&quot;.emailSignUpSubmit&quot;);var that=this;this.oemailSignUpSubmit.observe(&quot;click&quot;,function(ev){Event.stop(ev);that.signUp(oContainer);});oContainer.down(&quot;.txtEmail&quot;).observe(&quot;click&quot;,function(ev){this.value=&quot;&quot;;});},signUp:function(oContainer){this.oContent=oContainer.down(&quot;.mainContent&quot;);this.oContentForm=this.oContent.down(&quot;form&quot;);this.oMessageSuccess=oContainer.down(&quot;.successMessage&quot;);this.oMessageError=this.oContent.down(&quot;.errorMessage&quot;);this.oemailSignUpSubmit=oContainer.down(&quot;.emailSignUpSubmit&quot;);this.txtEmail=oContainer.down(&quot;.txtEmail&quot;);this.hiddenClass=&quot;hidden&quot;;this.signUpUrl=&quot;/emailservice/email-signup&quot;;this.userLoginName=userName;this.userEmail=oContainer.down(&quot;.userEmail&quot;).inne
rHTML;this.displayNames=&quot;&quot;;var oForm=$H(this.oContentForm.serialize().parseQuery());var oFormLength=oForm.size();if(this.txtEmail.value===''||this.txtEmail.value===&quot;Please enter your email&quot;){this.txtEmail.value=&quot;Please enter your email&quot;;return;}
this.postBody=this.buildPostBody();if(this.displayNames===&quot;&quot;){return;}
this.displayNames=this.displayNames+&quot;&amp;#160;&quot;;var that=this;this.request=new Ajax.Request(this.signUpUrl,{method:'post',postBody:that.postBody,contentType:'text/xml',onComplete:function(transport,exception){if(200==transport.status){that.showSuccess(oContainer);}else if(409==transport.status){that.showError();}else if(500==transport.status){that.showContent();console.error(&quot;{emailSignUp} error %s - server error&quot;,transport.status);}}});},buildPostBody:function(){if(this.txtEmail.value!==&quot;Enter Your Email Address&quot;){this.userEmail=this.txtEmail.value;}
var isReg=false;dj.util.User.isLoggedIn(function(isLoggedIn){if(isLoggedIn){dj.util.User.isSubLoggedIn(function(subLoggedIn){if(!subLoggedIn){isReg=true;}});}});var region=dj.util.Region.getViewByRegion();var x=[];x[x.length]=&quot;&lt;customer&gt;&quot;;x[x.length]=&quot;&lt;login-name&gt;&quot;+this.userLoginName+&quot;&lt;/login-name&gt;&quot;;x[x.length]=&quot;&lt;contacts class=\&quot;java.util.ArrayList\&quot;&gt;&quot;;x[x.length]=&quot;&lt;contact&gt;&lt;last-modified-by&gt;&quot;+this.userLoginName+&quot;&lt;/last-modified-by&gt;&lt;contact-address&gt;&quot;+this.userEmail+&quot;&lt;/contact-address&gt;&lt;contact-status&gt;V&lt;/contact-status&gt;&quot;;x[x.length]=&quot;&lt;bulk-emails class=\&quot;java.util.ArrayList\&quot;&gt;&quot;;var that=this;var oForm=$H(this.oContentForm.serialize().parseQuery());oForm.each(function(el){if(el.startsWith(&quot;checkbox&quot;)){var id=el;if(el===&quot;88&quot;){if(region===&quot;europe&quot;){id=&quot;169&quot;;}else if(region===&quot;asia&quot;){id=&quot;167&quot;;}else if(region===&quot;asia,india&quot;){id=&quot;172&quot;;}else{}}else if(el===&quot;89&quot;){if(region===&quot;europe&quot;){id=&quot;170&quot;;}else if(region===&quot;asia&quot;){id=&quot;168&quot;;}else if(region===&quot;asia,india&quot;){id=&quot;173&quot;;}els
e{}}
x[x.length]=&quot;&lt;bulk-email&gt;&lt;opt-in-flag&gt;1&lt;/opt-in-flag&gt;&lt;email-type-id&gt;&quot;+id+&quot;&lt;/email-type-id&gt;&lt;/bulk-email&gt;&quot;;var temp=oForm.get(&quot;displayName&quot;+el);if(temp!==&quot;&quot;){if(that.displayNames===&quot;&quot;){that.displayNames=temp;}else{that.displayNames=that.displayNames+&quot; and &quot;+temp;}}}});x[x.length]=&quot;&lt;/bulk-emails&gt;&quot;;x[x.length]=&quot;&lt;/contact&gt;&quot;;x[x.length]=&quot;&lt;/contacts&gt;&quot;;x[x.length]=&quot;&lt;products class=\&quot;java.util.ArrayList\&quot;&gt;&quot;;if(isReg){x[x.length]=&quot;&lt;product&gt;&lt;id&gt;281&lt;/id&gt;&lt;name&gt;WSJ&lt;/name&gt;&lt;description&gt;WSJ Email Product&lt;/description&gt;&lt;/product&gt;&quot;;}else{x[x.length]=&quot;&lt;product&gt;&lt;id&gt;2&lt;/id&gt;&lt;name&gt;WSJ&lt;/name&gt;&lt;description&gt;WSJ Email Product&lt;/description&gt;&lt;/product&gt;&quot;;}
x[x.length]=&quot;&lt;/products&gt;&quot;;x[x.length]=&quot;&lt;/customer&gt;&quot;;x=x.join('\n');return x;},showSuccess:function(oContainer){var that=this;oContainer.select(&quot;.userLoginName&quot;).each(function(el){el.innerHTML=that.userLoginName;});oContainer.select(&quot;.displayNames&quot;).each(function(el){el.innerHTML=that.displayNames;});this.oContent.addClassName(this.hiddenClass);this.oMessageError.addClassName(this.hiddenClass);this.oMessageSuccess.removeClassName(this.hiddenClass);},showError:function(){this.userEmail=&quot;&quot;;this.oContent.removeClassName(this.hiddenClass);this.oMessageSuccess.addClassName(this.hiddenClass);this.oMessageError.removeClassName(this.hiddenClass);},showContent:function(){this.oMessageSuccess.addClassName(this.hiddenClass);this.oMessageError.addClassName(this.hiddenClass);this.oContent.removeClassName(this.hiddenClass);}};
dj.module.communityUser={ajaxPost:function(postUrl,args,callback){var req=new Ajax.Request(postUrl,{method:'post',parameters:args.toQueryString(),onException:function(transport,exception){console.error('Exception occured while posting posting Ajax Request : '+exception);},onComplete:function(transport,json){callback(transport,json);}});},ajaxUpdate:function(oElement,postUrl,args,callback){var req=new Ajax.Updater(oElement,postUrl,{method:'post',parameters:args.toQueryString(),onException:function(transport,exception){console.error('Exception occured during Ajax Request :'+exception);},onComplete:function(transport,json){callback(transport,json);}});},handleError300:function(postUrl,args,uFirstName,uLastName,callback){this.initializeCommunityUserPopup(postUrl,args,uFirstName,uLastName,300,callback);this._openCommunityUserPopup();},handleError301:function(uFirstName,uLastName){this.initializeCommunityUserPopup(&quot;&quot;,&quot;&quot;,uFirstName,uLastName,301);this._openCommunityUserPopup();},_op
enCommunityUserPopup:function(){this.oPopup.absolutize();var dOffsets=document.viewport.getScrollOffsets();var dOffsetTop=dOffsets.top;var popupOffset=dOffsetTop+200;this.oPopup.setStyle({top:popupOffset+&quot;px&quot;});var panel=new dj.widget.panel.ModalPanel(null,$$(&quot;div.communityUserPopup&quot;).first(),{closeModalPanelEvent:&quot;click&quot;,closeModalPanelButtonSelector:&quot;.popupClose&quot;});},initializeCommunityUserPopup:function(postUrl,args,uFirstName,uLastName,errorCode,callback){this.oPopup=$$(&quot;div.communityUserPopup&quot;).first();this.oUnblockedUserContainer=this.oPopup.down(&quot;.unblockedUser&quot;);this.oBlockedUserContainer=this.oPopup.down(&quot;.blockedUser&quot;);this.oCommentsText=this.oPopup.down(&quot;.commentsText&quot;);this.oAskQuestionText=this.oPopup.down(&quot;.askQuestionText&quot;);this.oUserFirstName=this.oPopup.getElementsBySelector(&quot;.userFirstName&quot;);this.oUserLastName=this.oPopup.getElementsBySelector(&quot;.userLastName&quot;);if((postUrl!==null)&amp;&amp;(postUrl.indexOf('SaveQuestion')!==-1)){this.oAskQuestionText.show();this.oCommentsText.hide();}else{this.oAskQuestionText.hide();this.oCommentsText.show();}
var that=this;var isUserFirstLastNamePresent=true;if(((uFirstName===null)||(uFirstName===''))&amp;&amp;((uLastName===null)||(uLastName===''))){isUserFirstLastNamePresent=false;}
if(errorCode===300){this.oBlockedUserContainer.setStyle({display:&quot;none&quot;});this.oUnblockedUserContainer.setStyle({display:&quot;block&quot;});this.oPost=this.oPopup.down(&quot;.post&quot;);this.oChkBox=this.oPopup.down(&quot;.chkBox&quot;);this.oWhyLink=this.oPopup.down(&quot;.whyLink&quot;);this.oWhyLinkPara=this.oPopup.down(&quot;.whyLinkPara&quot;);this.oFirstNameText=this.oPopup.down(&quot;.firstNameText&quot;);this.oLastNameText=this.oPopup.down(&quot;.lastNameText&quot;);this.oUserNameInfoContainer=this.oPopup.down(&quot;.userNameInfoContainer&quot;);this.oErrorMessage=this.oPopup.down(&quot;.errorMessage&quot;);this.oCommunityLink=this.oPopup.down(&quot;.communityLink&quot;);this.oPrivacyLink=this.oPopup.down(&quot;.privacyLink&quot;);this.oTermsLink=this.oPopup.down(&quot;.termsLink&quot;);if(isUserFirstLastNamePresent===false){this.oUserNameInfoContainer.show();}else{this.oUserNameInfoContainer.hide();this.oUserFirstName.each(function(oFirstName){oFirstName.innerHTML=&quot;, &quot;+uFirstName;});this.oUserLastName.each(function(oLastName){oLastName.innerHTML=uLastName+&quot;,&quot;;});}
if(this.whyLinkListener!==null){Event.stopObserving(this.oWhyLink,&quot;click&quot;,this.whyLinkListener);}
if(this.communityLinkListener!==null){Event.stopObserving(this.oCommunityLink,&quot;click&quot;,this.communityLinkListener);}
if(this.privacyLinkListener!==null){Event.stopObserving(this.oPrivacyLink,&quot;click&quot;,this.privacyLinkListener);}
if(this.termsLinkListener!==null){Event.stopObserving(this.oTermsLink,&quot;click&quot;,this.termsLinkListener);}
if(this.postListener!==null){Event.stopObserving(this.oPost,&quot;click&quot;,this.postListener);}
this.whyLinkListener=function(event){that.oWhyLinkPara.show();that.oWhyLink.hide();}.bindAsEventListener(this.oWhyLink);this.communityLinkListener=function(event){Event.stop(event);dj.util.Url.openWin(&quot;/community&quot;);}.bindAsEventListener(this.oCommunityLink);this.privacyLinkListener=function(event){Event.stop(event);dj.util.Url.openWin(&quot;/public/page/privacy_policy.html&quot;);}.bindAsEventListener(this.oPrivacyLink);this.termsLinkListener=function(event){Event.stop(event);dj.util.Url.openWin(&quot;/public/page/subscriber_agreement.html&quot;);}.bindAsEventListener(this.oTermsLink);this.postListener=function(event){if(that.oChkBox.checked===true){args.set('mode',2);}else
if(that.oChkBox.checked===false){args.set('mode',1);}
if(isUserFirstLastNamePresent===false){if(((that.oFirstNameText.value===null)||(that.oFirstNameText.value===''))&amp;&amp;((that.oLastNameText.value===null)||(that.oLastNameText.value===''))){Event.stop(event);that.oErrorMessage.show();that._openCommunityUserPopup();}else{args.set('firstName',that.oFirstNameText.value);args.set('lastName',that.oLastNameText.value);that.ajaxPost(postUrl,args,callback);}}else{args.set('firstName',uFirstName);args.set('lastName',uLastName);that.ajaxPost(postUrl,args,callback);}}.bindAsEventListener(this.oPost);this.oWhyLink.observe(&quot;click&quot;,this.whyLinkListener);this.oCommunityLink.observe(&quot;click&quot;,this.communityLinkListener);this.oPrivacyLink.observe(&quot;click&quot;,this.privacyLinkListener);this.oTermsLink.observe(&quot;click&quot;,this.termsLinkListener);this.oPost.observe(&quot;click&quot;,this.postListener);}else
if(errorCode===301){this.oBlockedUserContainer.setStyle({display:&quot;block&quot;});this.oUnblockedUserContainer.setStyle({display:&quot;none&quot;});if(isUserFirstLastNamePresent===true){this.oUserFirstName.each(function(oFirstName){oFirstName.innerHTML=uFirstName;});this.oUserLastName.each(function(oLastName){oLastName.innerHTML=uLastName;});}}}};/*
  networkHat object...loads scripts needed for autocomplete only when user interacts
  with the search box.  Traps mouseover and focus events, and then loads and initializes
  the infocomplete for the
*/
if (typeof dj == &quot;undefined&quot;) { dj = {}; }
if (typeof dj.widget == &quot;undefined&quot;) { dj.widget = {}; }
if (typeof dj.widget.networkHat == &quot;undefined&quot;) { dj.widget.networkHat = {}; }
if (typeof dj.context.networkHat == &quot;undefined&quot;) { dj.context.networkHat = {}; }

dj.widget.networkHat.AutoComplete=Class.create({
    initialize: function() {

        this.d=document;

        if (typeof cdnDomain != 'undefined') {
            this.cdnDomain=cdnDomain;
        }
        this.uP=&quot;&quot;;
        if (typeof uP != 'undefined') {
            this.uP=uP;
        }

        var dt = new Date();
        var dtStamp=&quot;&quot;+dt.getFullYear()+dt.getMonth()+dt.getDay();

        if (this.d.location.host.indexOf('s.dev') != -1 || this.d.location.host.indexOf('idev') != -1) {
            //  A hack until cdnDomain for SAT/IDEV actually wil serve up /djscript URLs
            this.jScript = this.uP + &quot;/djscript/j_networkHat-&quot;+dtStamp+&quot;.js&quot;;
        } else {
            this.jScript = this.cdnDomain + &quot;/djscript/j_networkHat-&quot;+dtStamp+&quot;.js&quot;;
        }

        // Set the required globals
        var fw = this.d.getElementsByTagName(&quot;div&quot;);
        var loggedIn = (fw.className.indexOf(&quot;subType-subscribed&quot;) !== -1);

        //loggedIn = (typeof loggedIn !== &quot;undefined&quot;) ? loggedIn : false;
        var searchBoxID = 'hat_input_auto';
        this.inputDefaultText=&quot;News, Quotes, Companies, Videos&quot;;

        // Retrieve the needed dom-elements
        var oHat = $(&quot;hat_div&quot;);
        this.oHatInput = $(&quot;hat_input_auto&quot;);
        var oHatSelect = oHat.select(&quot;.hat_select&quot;);
        var oHatSelectItems = oHat.select(&quot;.hat_drop_item&quot;);
        var oHatTabs = oHat.select(&quot;.hat_tab&quot;).reject(function(n) { return n.hasClassName(&quot;hat_select&quot;); });
        var oHatMenu = $(&quot;hat_more_menu&quot;);

        // Set default style
        if (Prototype.Browser.IE &amp;&amp; (this.d.domain.indexOf('ds.sat.wsj.com') != -1 ||this.d.domain.indexOf('ds.wsj.com') != -1)) {
            dj.util.Url.addStylesheet(&quot;http://s.wsj.net/css/hatIEPortfolio.css&quot;);
        }
        oHat.setStyle({
            &quot;width&quot;: &quot;989px&quot;,
            &quot;height&quot;: &quot;28px&quot;,
            &quot;position&quot;: &quot;relative&quot;,
            &quot;zIndex&quot;: 501
        });

        oHatMenu.setStyle({
            width: &quot;155px&quot;
        });

        // attach event handlers to menu buttons/tabs at top
        oHatTabs.invoke(&quot;observe&quot;, &quot;mouseover&quot;, function(ev){
            hat.tabover(this);
        });
        oHatTabs.invoke(&quot;observe&quot;, &quot;mouseout&quot;, function(ev){
            hat.tabout(this);
        });

        oHatSelect.invoke(&quot;observe&quot;, &quot;mouseover&quot;, function(ev){
            hat.moremenu();
        });
        oHatSelect.invoke(&quot;observe&quot;, &quot;mouseout&quot;, function(ev){
            hat.moremenuhide();
        });

        oHatSelectItems.invoke(&quot;observe&quot;, &quot;mouseover&quot;, function(ev){
            hat.menuover(this);
        });
        oHatSelectItems.invoke(&quot;observe&quot;, &quot;mouseout&quot;, function(ev){
            hat.menuout(this);
        });

        var that=this;
        //  Instead of loading /djscript/j_networkHat.js up-front, load it on certain events in the search box:
        this.eventProxy = {
            bload: function(event) {
                that.onHatLoad();
            },
            bclearField: function(event) {
                that.clearField();
                return true;
            }
        };
        this.eventProxy.bload = this.eventProxy.bload.bindAsEventListener(this.eventProxy);
        this.eventProxy.bclearField = this.eventProxy.bclearField.bindAsEventListener(this.eventProxy);

        this.oHatInput.observe(&quot;focus&quot;, this.eventProxy.bload );
        this.oHatInput.observe(&quot;mouseover&quot;, this.eventProxy.bload );
        this.oHatInput.observe(&quot;click&quot;, this.eventProxy.bclearField );
        this.oHatInput.observe(&quot;keydown&quot;, this.eventProxy.bclearField );

        if ( this.oHatInput.value !== &quot;&quot; &amp;&amp; this.oHatInput.value != this.inputDefaultText ||
                dj.context.networkHat.jnetworkHatJsLoaded ) {
            //if text already in field, initialize hat.  User got focus or clicked before the hanlder was attached
            this.onHatLoad();
        }
        this.setFieldDefault();
    },
    setFieldDefault: function() {
        // Add &quot;prompt&quot; text to oHatInput if it's blank, if user has not typed
        if (this.oHatInput.value === &quot;&quot;) {
            this.oHatInput.value=this.inputDefaultText;
            this.oHatInput.addClassName(&quot;unUsed&quot;);
        }

    },
    clearField: function(){
        this.stopObservingClick();
        var unUsed = this.oHatInput.hasClassName(&quot;unUsed&quot;);
        if (unUsed)
        {
            this.oHatInput.value=&quot;&quot;;
        }
        this.oHatInput.removeClassName(&quot;unUsed&quot;);
    },
    stopObservingClick: function() {
        this.oHatInput.stopObserving(&quot;click&quot;, this.eventProxy.bclearField );
        this.oHatInput.stopObserving(&quot;keydown&quot;, this.eventProxy.bclearField );
    },
    onHatLoad: function() {

        this.oHatInput.stopObserving(&quot;focus&quot;, this.eventProxy.bload );
        this.oHatInput.stopObserving(&quot;mouseover&quot;, this.eventProxy.bload);

        // if j_networkHat.js already loaded, skip to init
        if ( dj.context.networkHat.jnetworkHatJsLoaded ) {
            this.initInfoComplete();
            return;
        }

        //load j_networkhat.js
        var hds=this.d.getElementsByTagName('head');
        var hd;
        if (!hds) {
            hd = new Element('head');
            this.d.getElementsByTagName('body').appendChild(hd);
        } else {
            hd = hds;
        }
        this.jsNode=this.loadAutoCompleteScript(this.jScript);

    },
    loadAutoCompleteScript: function(jScript) {

        var jsNode = this.d.createElement(&quot;script&quot;);
        jsNode.type = &quot;text/javascript&quot;;
        jsNode.src = jScript;

        if (this.d.getElementsByTagName(&quot;head&quot;).length === 0) {
            var headNode = this.d.createElement(&quot;head&quot;);
            this.d.getElementsByTagName(&quot;html&quot;).appendChild(headNode);
        }

        this.d.getElementsByTagName(&quot;head&quot;).appendChild(jsNode);
        return jsNode;
    },
    initInfoComplete: function() {

        // Set default style
        if (Prototype.Browser.IE &amp;&amp; (this.d.domain.indexOf('ds.sat.wsj.com') != -1 || this.d.domain.indexOf('ds.wsj.com') != -1)) {
            dj.util.Url.addStylesheet(&quot;http://s.wsj.net/css/hatIEPortfolio.css&quot;);
        }

        initInfoComplete();
        this.stopObservingClick();

        // Set-up event listeners
        this.oHatInput.observe(&quot;focus&quot;, function(ev){
            searchFieldOnFocus(this);
            setFocused(this);
        });

        this.oHatInput.observe(&quot;keypress&quot;, showHideCRDrpdwn, 'hide');
        this.oHatInput.observe(&quot;blur&quot;, showHideCRDrpdwn, 'show');

        var textValue =this.oHatInput.value;

        if (textValue &amp;&amp; textValue != this.inputDefaultText) {
            InfoComplete.autoComplete.sendQuery(textValue);
        }
    }
});


if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.uberHat==&quot;undefined&quot;){dj.widget.uberHat={};}
(function(){var _du=dj.util;var _dwu=dj.widget.uberHat;(_dwu.UberHat=function(cfg){this._cfg=dj.lang.clone(this.DEFAULT_CONFIG);dj.lang.mixin(this._cfg,cfg);this.matchingHat=&quot;&quot;;if(this._cfg.divExists){this.loadPartnerDiv();}else{this.getUserInfo();}}).prototype={DEFAULT_CONFIG:{partnerDivExists:false,partnerDivId:&quot;partnerHat&quot;,partnerClassPrefix:&quot;uberHatPartner-&quot;,hatInfo:{&quot;HILTON&quot;:{&quot;id&quot;:&quot;hiltonHat&quot;,&quot;className&quot;:&quot;wsj_partnerhat&quot;,&quot;CSSFILE&quot;:&quot;hilton.css&quot;,&quot;content&quot;:'&lt;div class=&quot;partnerhat_container&quot;&gt;&lt;div class=&quot;partnerhat_content&quot;&gt;'+'&lt;div class=&quot;partnerhat_col1&quot;&gt;&lt;/div&gt;&lt;div class=&quot;partnerhat_col2&quot;&gt;'+'&lt;ul class=&quot;inlineNav&quot;&gt;&lt;li class=&quot;listFirst&quot;&gt;&lt;a href=&quot;http://www.hilton.com/&quot;&gt;Hilton.com&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.weather.com/&quot;&gt;Weather&lt;/a&gt;&lt;/li&gt;'+'&lt;li class=&quot;listLast&quot;&gt;&lt;a href=&quot;http://www.foxsports.com/&quot;&gt;Fox Sports&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;'+'&lt;span class=&quot;partnerhat_subscribe&quot;&gt;&lt;a href=&quot;https://order.wsj.com/sub/xdef/027/6BCWNM_OOT&quot;&gt;Subscribe to The Wall Street Journal&lt;/a&gt;&lt;/span&gt;'+'&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class=&quot;partnerhat_shadow&quot;&gt; &lt;/div&gt;'}}},getUserInfo:function(){var hatInfo=this._cfg.hatInfo;for(var key in hatInfo){if(hatInfo.hasOwnProperty(key)){this.localCallbackWrapper(key);}}},localCallbackWrapper:function(roleName){var that=this;var role=roleName;dj.util.User.hasRole(roleName,function(userHasRole){that.userCallback(userHasRole,role);});},userCallback:function(userHasRole,role){if(userHasRole){this.renderHat(this._cfg.hatInfo);}},renderHat:function(hatInfo){var reallywide=dj.lang.query(&quot;div.fullwide&quot;);var hat=document.createElement('div');hat.className=(hatInfo.className)||&quot;uberHat&quot;;hat.id=(hatInfo.id)||&quot;uberHat&quot;;reallywide.insertBefore(hat,reallywide.firstChild);hat.innerHTML=hatInfo.content;},loadPartnerDiv:function(){var div=dj.lang.byId(this._cfg.partnerDivId);if(div){var divClasses=div.className;var classArray=divClasses.split(' ');var pcPrefix=this._cfg.partnerClassPrefix;var partner=&quot;&quot;;for(var i=0,caLength=classArray.length;i&lt;caLength;i++){var className=classArray;if(className.indexOf(pcPrefix)===0){partner=className.substring(pcPrefix.length);}}
if(partner){var hatInfo=this._cfg.hatInfo;this.insertHat(div,hatInfo);}
var isIE6=(window.external&amp;&amp;typeof window.XMLHttpRequest==&quot;undefined&quot;);if(isIE6){var iframe=document.createElement('iframe');iframe.className=&quot;wsj_partnerhat_iframe&quot;;iframe.setAttribute(&quot;id&quot;,&quot;partnerhat_iframe&quot;);iframe.setAttribute(&quot;src&quot;,&quot;javascript:'';&quot;);iframe.setAttribute(&quot;marginHeight&quot;,&quot;0&quot;);iframe.setAttribute(&quot;marginWidth&quot;,&quot;0&quot;);iframe.setAttribute(&quot;scrolling&quot;,&quot;no&quot;);iframe.setAttribute(&quot;frameBorder&quot;,&quot;0&quot;);div.parentNode.appendChild(iframe);var thehat=document.getElementById(&quot;partnerhat&quot;);var thehat_iframe=document.getElementById(&quot;partnerhat_iframe&quot;);var d=document;window.onscroll=function(){var iebody=(d.compatMode&amp;&amp;d.compatMode!=&quot;BackCompat&quot;)?d.documentElement:d.body;var thisy=iebody.scrollTop;thehat.style.top=thisy+&quot;px&quot;;thehat_iframe.style.top=thisy+&quot;px&quot;;};}}},insertHat:function(div,hatInfo){if(hatInfo){div.innerHTML=hatInfo.content;}}};}());
if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.survey==&quot;undefined&quot;){dj.widget.survey={};}
(function(){var _du=dj.util;var _dws=dj.widget.survey;(_dws.SurveyPopup=function(cfg){this._cfg=dj.lang.cloneMixin(this.DEFAULT_CONFIG,cfg);this._duu=dj.util.Url;this._duc=dj.util.Cookie;try{if(this._cfg.userHasRole){var that=this;dj.util.User.hasRole(this._cfg.userHasRole,function(userHasRole){if(userHasRole){that.popup();}});}else{this.popup();}}catch(e){throw e;}}).prototype={DEFAULT_CONFIG:{&quot;url&quot;:&quot;&quot;,&quot;width&quot;:740,&quot;height&quot;:425,&quot;bottom&quot;:&quot;15px&quot;,&quot;left&quot;:&quot;10%&quot;,&quot;cookieName&quot;:&quot;survey&quot;,&quot;windowName&quot;:&quot;survey&quot;,&quot;userHasRole&quot;:&quot;&quot;,&quot;enableInterval&quot;:&quot;&quot;,&quot;noRepeatInterval&quot;:&quot;7d+&quot;,&quot;frequencyPercent&quot;:100,&quot;cookieGroupExpirationDays&quot;:90,&quot;divId&quot;:&quot;sd1Scrim&quot;,&quot;iframeId&quot;:&quot;sw1&quot;,&quot;closeUrlSuffix&quot;:&quot;?closeDomain=&quot;+window.location.host,&quot;newsReelMatch&quot;:&quot;NewsReel&quot;},popup:function(){var Cookie=this._duc;var Url=this._duu;if(this._canShowPopup()){this._setNoRepeatCookie(this._cfg.noRepeatInterval);this.insertIframe();this.showIframe();}},insertIframe:function(){this.body=document.body;var body=this.body;if(body){v
ar surveyDiv=document.createElement('div');this.surveyDiv=surveyDiv;surveyDiv.id=this._cfg.divId;surveyDiv.name=this._cfg.divId;surveyDiv.style.zIndex=&quot;9999&quot;;surveyDiv.innerHTML=['&lt;div id=&quot;sd1Frame&quot;&gt;','&lt;div id=&quot;sd1&quot;&gt;','&lt;iframe name=&quot;',this._cfg.iframeId,'&quot; id=&quot;',this._cfg.iframeId,'&quot; src=&quot;about:blank&quot; height=&quot;',this._cfg.height,'&quot; width=&quot;',this._cfg.width,'&quot;&gt;','&lt;/div&gt;','&lt;/div&gt;'].join('');body.appendChild(surveyDiv);this.surveyIframe=dj.lang.byId(this._cfg.iframeId);}},showIframe:function(){this.surveyIframe.src=this._cfg.url+this._cfg.closeUrlSuffix;this.surveyDiv.style.display=&quot;&quot;;var that=this;window.CloseSurvey=function(){that.hideIframe();};},hideIframe:function(){this.surveyDiv.style.display=&quot;none&quot;;},showIframeDelay:function(){var that=this;setTimeout(function(){that.showIframe();},this._calcMilliseconds(this._cfg.enableInterval));},_canShowPopup:function(){if(document.location.href.indexOf(this._cfg.newsReelMatch)&gt;-1){return false;}
var showPopup=true;var noRepeatCookie=this._duc.getGroupCookie(&quot;DJCOOKIE&quot;,this._cfg.cookieName+&quot;NoRepeat&quot;);var now=new Date();if(noRepeatCookie){var noRepeatDate=new Date(noRepeatCookie);if((noRepeatDate-now)&gt;0){showPopup=false;}else{this._setEnableIntervalCookie(this._cfg.enableInterval);this._duc.deleteGroupCookie(&quot;DJCOOKIE&quot;,this._cfg.cookieName+&quot;NoRepeat&quot;);}}
if(this._cfg.enableInterval){var enableCookie=this._duc.getGroupCookie(&quot;DJCOOKIE&quot;,this._cfg.cookieName+&quot;Enable&quot;);if(enableCookie){var enableDate=new Date(enableCookie);if((enableDate-now)&gt;0){showPopup=false;}}else{this._setEnableIntervalCookie(this._cfg.enableInterval);showPopup=false;var that=this;setTimeout(function(){that.popup();},this._calcMilliseconds(this._cfg.enableInterval));}}
if(showPopup&amp;&amp;this._cfg.frequencyPercent){var dice=Math.floor(Math.random()*100);if(dice&gt;=this._cfg.frequencyPercent){showPopup=false;}}
return showPopup;},_setNoRepeatCookie:function(interval){var noRepeatDate=this._calcDate(interval);this._duc.setGroupCookie(&quot;DJCOOKIE&quot;,this._cfg.cookieName+&quot;NoRepeat&quot;,noRepeatDate,this._cfg.cookieGroupExpirationDays);},_setEnableIntervalCookie:function(interval){var enableDate=this._calcDate(interval);this._duc.setGroupCookie(&quot;DJCOOKIE&quot;,this._cfg.cookieName+&quot;Enable&quot;,enableDate,this._cfg.cookieGroupExpirationDays);},_calcDate:function(D){var MS=this._calcMilliseconds(D),dO=new Date();dO.setTime((D.substring(D.length-1,D.length)==&quot;+&quot;)?dO.getTime()+MS:dO.getTime()-MS);return dO.toGMTString();},_calcMilliseconds:function(D){var TD=D.substring(0,D.length-2),TC=D.substring(D.length-2,D.length-1).toLowerCase(),MS=0;MS=(TC==&quot;m&quot;)?TD*((24*60*60*1000)*30):MS;MS=(TC==&quot;d&quot;)?TD*(24*60*60*1000):MS;MS=(TC==&quot;s&quot;)?TD*1000:MS;return MS;}};}());&lt;!-- fastdynapage - sbkj2kapachep02 - Sat 03/14/09 - 09:01:58 EDT --&gt;

--&gt;
&lt;/script&gt;
&lt;/script&gt;

&lt;!-- http://s.wsj.net/djscript/j_article-20090218193220.js --&gt;
&lt;script  type=&quot;text/javascript&quot; &gt;
&lt;!--

dj.module.articleTabs={init:function(){var at_container=&quot;articleTabs&quot;;var at_config={core:{panelPrefix:&quot;articleTabs_panel_&quot;,panels:[&quot;article&quot;,&quot;video&quot;,&quot;slideshow&quot;,&quot;interactive&quot;,&quot;map&quot;,&quot;comments&quot;],enableBrowserHistory:true},tabs:{tabPrefix:&quot;articleTabs_tab_&quot;,tabOnStyle:&quot;selected&quot;,tabOffStyle:&quot;deselected&quot;}};this.panels=dj.widget.panels.PanelsFactory.create(at_container,at_config);}};
if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.article==&quot;undefined&quot;){dj.widget.article={};}
if(typeof dj.widget.article.flash==&quot;undefined&quot;){dj.widget.article.flash={};}
dj.widget.article.flash.ArticleTabFlash=Class.create({initialize:function(id,tabModule){this.parent=$(id);this.id=id;this.tabModule=tabModule;this.omniture={};this.omniture.ctype='flash';var apn=tabModule;var that=this;apn.observePanels(function(panelId,prevPanelId){if(!apn.hasPanel(panelId)){}else if(panelId==that.tabName){that.play();}else if(prevPanelId==that.tabName){if(dj.util.History.get(&quot;project&quot;)){dj.util.History.set(&quot;project&quot;,&quot;&quot;,false);}
if(dj.util.History.get(&quot;s&quot;)){dj.util.History.set(&quot;s&quot;,&quot;&quot;,false);}}});},clear:function(flash){if(flash){flash.so=null;}
while(this.parent.firstChild){this.parent.removeChild(this.parent.firstChild);}
this.player=null;},makeid:function(p,s){if(p&amp;&amp;s){return p+'|'+s;}
if(p){return p;}},redraw:function(flash){this.clear(this.flash);this.flash=flash;this.flash.load(flash.p,flash.s);},register:function(p,s){if(!this.flashes){this.flashes={};}
var flash={};flash=this.newflash(this.id,p,s,true);flash.swfPrefix=this.swfPrefix;this.flashes[this.makeid(p,s)]=flash;},setdefault:function(p,s){this.flash=this.findflashbyids(p,s);if(!this.flash){this.flash=this.newflash(this.id,p,s,true);this.flash.swfPrefix=this.swfPrefix;this.flashes[this.makeid(p,s)]=this.flash;}},findflashbyids:function(p,s){if(!this.flashes){this.flashes={};}
var fid=this.makeid(p,s);if(this.flashes){return this.flashes;}else{return null;}},playbyid:function(p,s){this.p=p;this.s=s;this.flash=this.findflashbyids(this.p,this.s);if(this.flash){this.redraw(this.flash);return true;}else{return false;}},playdefault:function(){if(!this.flashes){return;}
if(!this.flash){for(var f in this.flashes){if(this.flashes){this.flash=this.flashes;}
break;}}
this.redraw(this.flash);},play:function(){var headlineDiv=$$('div.articleHeadlineBox');if(headlineDiv&amp;&amp;headlineDiv){var parentOffset=headlineDiv.cumulativeOffset();var parentTop=parentOffset;var viewOffset=document.viewport.getScrollOffsets();var viewTop=viewOffset;if(parentTop&lt;viewTop){headlineDiv.scrollTo();}}
if(this.flash){this.playdefault();}else{var p=dj.util.History.get(&quot;project&quot;);var s=dj.util.History.get(&quot;s&quot;);if(!s||!this.playbyid(p,s)){this.playdefault();}}
this.reloadads();},reloadads:function(){if(!this.ads){this.ads=new dj.util.Ads();}
if(this.ads){this.ads.loadAds(this.tabName);}},tabplay:function(p,s){this.setdefault(p,s);dj.util.History.set(&quot;project&quot;,p,false);if(s){dj.util.History.set(&quot;s&quot;,s,false);}
this.tabModule.setActivePanel(this.tabName);},playbookmark:function(){if(this.tabModule.getActivePanel()==this.tabName){this.play();}},newflash:function(id,p,s,noload){return new dj.widget.flash.Flash(id,p,s,{&quot;noload&quot;:noload});}});dj.widget.article.flash.ArticleFlashSlideshow=Class.create(dj.widget.article.flash.ArticleTabFlash,{initialize:function($super,id,tabModule){$super(id,tabModule);this.swfPrefix='info-';this.tabName='slideshow';this.omniture.ctype='slideshow_tab';},newflash:function(id,p,s,noload){return new dj.widget.flash.SlideshowFlash(id,p,s,noload);}});dj.widget.article.flash.ArticleFlashInteractive=Class.create(dj.widget.article.flash.ArticleTabFlash,{initialize:function($super,id,tabModule){$super(id,tabModule);this.swfPrefix='info-';this.tabName='interactive';this.omniture.ctype='interactives_tab';}});dj.widget.article.flash.ArticleFlashMap=Class.create(dj.widget.article.flash.ArticleTabFlash,{initialize:function($super,id,tabModule){$super(id,tabModule);this
.swfPrefix='info-';this.tabName='map';this.omniture.ctype='maps_tab';}});if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.article==&quot;undefined&quot;){dj.widget.article={};}
if(typeof dj.widget.article.text==&quot;undefined&quot;){dj.widget.article.text={};}
dj.widget.article.text.ArticleTabText=Class.create({initialize:function(tabModule,playObserver){this.tabModule=tabModule;this.playObserver=playObserver;this.tabName='article';this.videos={};this.videothumbs={};this.flashes={};this.omniture={};this.omniture.saveVars=[&quot;pageName&quot;,&quot;section&quot;,&quot;aheadline&quot;,&quot;abasedocid&quot;,&quot;author&quot;];this.omniture.saveValues=[];if(dj.module.sphere){this.sphere=new dj.module.sphere.Initializer();}
var apn=tabModule;var that=this;apn.observePanels(function(panelId,prevPanelId){if(!apn.hasPanel(panelId)){}else if(panelId==that.tabName){that.play();}else if(prevPanelId==that.tabName){that.pausevideos();}});},registervideo:function(id,v,w,h,c){this.videos={'v':v,'w':w,'h':h,'c':c};},registerflash:function(id,p,s){this.flashes={'p':p,'s':s};if(!this.fixthumbhref){var z=$(&quot;article_story_body&quot;);if(z){z.observe(&quot;click&quot;,function(ev){var el=ev.element();if((typeof el.href!==&quot;undefined&quot;)&amp;&amp;(el.href.indexOf(&quot;#&quot;)&gt;-1)&amp;&amp;(el.href.split(&quot;#&quot;).indexOf(&quot;articleTabs_&quot;)&gt;-1)){ev.stop();}});}
this.fixthumbhref=true;}},registervideothumbnail:function(id,v){this.videothumbs={'v':v};},playflashes:function(){for(var id in this.flashes){if(this.flashes.flash){continue;}
this.flashes.flash=new dj.widget.flash.Flash(id,this.flashes.p,this.flashes.s);}},playvideos:function(){for(var id in this.videos){if(this.videos.video){continue;}
this.videos.video=new dj.widget.video.Video(id,this.videos.v,this.videos.w,this.videos.h,this.videos.c);}},playvideothumbs:function(){for(var id in this.videothumbs){if(this.videothumbs.videothumb){continue;}
this.videothumbs.videothumb=new dj.widget.video.Video(id);this.videothumbs.videothumb.loadthumbnail(this.videothumbs.v,200,120,this.playObserver);}},pausevideos:function(){if(this.videos){for(var id in this.videos){try{this.videos.video.pauseMicroPlayer();}catch(e){}}}},play:function(dontscroll){if(!dontscroll){var headlineDiv=$$('div.articleHeadlineBox');if(headlineDiv&amp;&amp;headlineDiv){var parentOffset=headlineDiv.cumulativeOffset();var parentTop=parentOffset;var viewOffset=document.viewport.getScrollOffsets();var viewTop=viewOffset;if(parentTop&lt;viewTop){headlineDiv.scrollTo();}}}
this.playflashes();this.playvideos();this.playvideothumbs();if(!this.ads){this.ads=new dj.util.Ads();}
if(this.ads){try{this.ads.loadAds('article');}
catch(e){}}
if(this.sphere){try{this.sphere.init();}catch(e2){}}
this.omniturefirepixel();},tabplay:function(){this.setdefault();this.tabModule.setActivePanel(this.tabName);},playbookmark:function(){if(this.tabModule.getActivePanel()==this.tabName){this.play(true);}},omnituresavepixel:function(){var svlen=this.omniture.saveVars.length;for(var f=0;f&lt;svlen;f++){this.omniture.saveValues=this.omniture.pixel.getMetaData(this.omniture.saveVars);}},omniturerestorepixel:function(){var svlen=this.omniture.saveVars.length;for(var f=0;f&lt;svlen;f++){this.omniture.pixel.setMetaData(this.omniture.saveVars,this.omniture.saveValues);}},omniturefirepixel:function(){if(!this.omniture.pixel){this.omniture.pixel=dj.util.Tracking.omniture;}
this.omniture.pixel.resetPixel();this.omnituresavepixel();this.omniture.pixel.setMetaData('ctype','article');this.omniture.pixel.firePixel(true);this.omniturerestorepixel();}});if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.article==&quot;undefined&quot;){dj.widget.article={};}
if(typeof dj.widget.article.video==&quot;undefined&quot;){dj.widget.article.video={};}
dj.widget.article.video.ArticleTabVideo=Class.create({guidconfig:{&quot;videoPlayerDivId&quot;:&quot;videoPlayer&quot;,&quot;videoSummaryDivId&quot;:&quot;videoSummary&quot;,&quot;registeredVideosDivId&quot;:&quot;videoRelated&quot;,&quot;advertisementDivId&quot;:&quot;videoAd&quot;,&quot;sideNavUlId&quot;:&quot;videoSideNav&quot;,&quot;videoResultsDivId&quot;:&quot;videoSearchResults&quot;,&quot;searchDivId&quot;:&quot;videoSearchForm&quot;},initialize:function(tabModule,tabPlayObserver){this.tabModule=tabModule;this.tabPlayObserver=tabPlayObserver;this.tabName='video';if(tabModule){var apn=tabModule;var that=this;apn.observePanels(function(panelId,prevPanelId){if(!apn.hasPanel(panelId)){}else if(panelId==that.tabName){that.play();}else if(prevPanelId==that.tabName){if(that.player){that.player.setBookMark();}
if(dj.util.History.get(&quot;video&quot;)){dj.util.History.set(&quot;video&quot;,&quot;&quot;,false);}}});}
if(this.tabPlayObserver){this.tabPlayObserver.subscribe(this.tabplay.bindAsEventListener(this));}},register:function(v){if(this.isguid(v)){if(!this.guidvideos){this.guidvideos=[];}
this.guidvideos.push(v);}},setdefault:function(v){this.defaultvid=v;},playbyid:function(v){if(v&amp;&amp;this.isguid(v)){this.player.loadVideo(v,'articlePage');return true;}else{return false;}},playdefault:function(){if(this.defaultvid){if(this.isguid(this.defaultvid)){this.player.loadVideo(this.defaultvid,'articlePage');}else{this.player.loadVideo('','articlePage');}
this.defaultvid=null;}else{this.player.loadVideo('','articlePage');}},play:function(){if(!this.player){this.player=new dj.widget.video.video(this.guidconfig,'dj.module.articleVideoPlayer.player');if(this.guidvideos){var gvl=this.guidvideos.length;for(var gvi=0;gvi&lt;gvl;gvi++){this.player.registerVideo(this.guidvideos);}}}
var hashVideo=dj.util.History.get(&quot;video&quot;);if(hashVideo){this.playbyid(hashVideo);}else{this.playdefault();}
var headlineDiv=$$('div.articleHeadlineBox');if(headlineDiv&amp;&amp;headlineDiv){var parentOffset=headlineDiv.cumulativeOffset();var parentTop=parentOffset;var viewOffset=document.viewport.getScrollOffsets();var viewTop=viewOffset;if(parentTop&lt;viewTop){headlineDiv.scrollTo();}}},tabplay:function(v){this.setdefault(v);dj.util.History.set(&quot;video&quot;,v);this.tabModule.setActivePanel('video');},playbookmark:function(){if(this.tabModule.getActivePanel()=='video'){this.play();}},popupvideo:function(){this.player.openPopUpPlayer();},isguid:function(g){g=''+g;if(g.substring(0,1)!='{'){g='{'+g;}
if(g.substring(0,1)=='{'&amp;&amp;g.substring(9,10)=='-'&amp;&amp;g.substring(14,15)=='-'&amp;&amp;g.substring(19,20)=='-'){return true;}else{return false;}}});if(typeof dj==&quot;undefined&quot;){dj={};}
if(typeof dj.widget==&quot;undefined&quot;){dj.widget={};}
if(typeof dj.widget.article==&quot;undefined&quot;){dj.widget.article={};}
if(typeof dj.widget.article.comments==&quot;undefined&quot;){dj.widget.article.comments={};}
dj.widget.article.comments.ArticleComments=Class.create({initialize:function(tabModule){this.tabModule=tabModule;this.tabName='comments';this.omniture={};this.omniture.saveVars=[&quot;pageName&quot;,&quot;section&quot;,&quot;aheadline&quot;,&quot;abasedocid&quot;,&quot;author&quot;];this.omniture.saveValues=[];this.omniture.ctype=&quot;comments_tab&quot;;this.omniture.section=&quot;Community&quot;;this.omniture.abasedocid=&quot;&quot;;this.omniture.aheadline=&quot;&quot;;this.omniture.author=&quot;&quot;;this.omniture.pageNameSuffix=&quot;_comments&quot;;var apn=tabModule;var that=this;apn.observePanels(function(panelId){if(!apn.hasPanel(panelId)){}else if(panelId==that.tabName){that.play();}});},play:function(){if(!this.ads){this.ads=new dj.util.Ads();}
if(this.ads){this.ads.loadAds(this.tabName);}
dj.module.comments.showComments($('discussionThreadBox'));this.omniturefirepixel();},tabplay:function(){},playbookmark:function(){if(this.tabModule.getActivePanel()==this.tabName){this.play();}},omnituresavepixel:function(){var svlen=this.omniture.saveVars.length;for(var f=0;f&lt;svlen;f++){this.omniture.saveValues=this.omniture.pixel.getMetaData(this.omniture.saveVars);}},omniturerestorepixel:function(){var svlen=this.omniture.saveVars.length;for(var f=0;f&lt;svlen;f++){this.omniture.pixel.setMetaData(this.omniture.saveVars,this.omniture.saveValues);}},omniturefirepixel:function(){if(!this.omniture.pixel){this.omniture.pixel=dj.util.Tracking.omniture;}
this.omniture.pixel.resetPixel();this.omnituresavepixel();this.omniture.pixel.setMetaData('ctype',this.omniture.ctype);this.omniture.pixel.setMetaData('section',this.omniture.section);this.omniture.pixel.setMetaData('aheadline',this.omniture.aheadline);this.omniture.pixel.setMetaData('abasedocid',this.omniture.abasedocid);this.omniture.pixel.setMetaData('author',this.omniture.author);this.omniture.pixel.setMetaData('pageName',this.omniture.pixel.getMetaData('pageName')+this.omniture.pageNameSuffix);this.omniture.pixel.firePixel(true);this.omniturerestorepixel();}});
var L_VARS={};L_VARS.publisher_key=6563391702;L_VARS.guid=(typeof s!='undefined')?s.prop20:&quot;&quot;;L_VARS.anchor=&quot;_loomia_si_anchor&quot;;L_VARS.zone=999;function _loomia_addScript(url,script_anchor){$(script_anchor).appendChild(new Element('script',{'src':url}));}
var _loomia_scripts_loaded=0;function _loomia_addCS(){if(!_loomia_scripts_loaded){_loomia_addScript(&quot;http://assets.loomia.com/js/clixdom.js&quot;,&quot;_loomia_cs_script_anchor&quot;);_loomia_addScript(&quot;http://assets.loomia.com/js/simitems.js&quot;,&quot;_loomia_si_script_anchor&quot;);}
_loomia_scripts_loaded=1;}
if(typeof dj==&quot;undefined&quot;){var dj={};}
if(typeof dj.module==&quot;undefined&quot;){dj.module={};}
if(typeof dj.module.loomia==&quot;undefined&quot;){dj.module.loomia={};}
dj.module.loomia.Initilizer=Class.create({initialize:function(){if(!Prototype.Browser.IE){_loomia_addCS();}}});
var suppressReprints=0;var digg_url=AT_VARS.articleUrl,clickURL=digg_url+'?mod=mostpop',emailURL=AT_VARS.articleEmailUrl;var digg_title=AT_VARS.clickTitle,clickTitle=digg_title;var digg_bodytext=AT_VARS.bodyText;var digg_topic='';if(typeof dj==&quot;undefined&quot;){var dj={};}
if(typeof dj.module==&quot;undefined&quot;){dj['module']={};}
if(typeof dj.module.articleTools==&quot;undefined&quot;){dj.module['articleTools']={};}
function CopyrightPopUp(){var art=AT_VARS;var reprintUrl=&quot;https://s100.copyright.com/Clients/wsj_com/FairUse.jsp?&quot;;var params=[];params.push(&quot;PublisherName=&quot;+escape(art.publicationName));params.push(&quot;ContentID=&quot;+escape(art.baseDocId+art.baseDocExtension));params.push(&quot;orderReset=true&quot;);params.push(&quot;Title=&quot;+escape(art.articleHeadline));params.push(&quot;Author=&quot;+escape(art.authors));params.push(&quot;CreditLine=&quot;+escape(art.byLine||&quot;&quot;));params.push(&quot;PublicationDate=&quot;+escape(art.publicationDate));params.push(&quot;ArticleType=&quot;+escape(art.articleType));params.push(&quot;DJType=&quot;+escape(art.djType));params.push(&quot;orderSource=wsj.com&quot;);dj.util.Url.openWin((reprintUrl+params.join(&quot;&amp;&quot;)),&quot;reprints&quot;,515,440,&quot;scroll,resizable&quot;,true);}
dj.module.articleTools.Initilizer=Class.create({initialize:function(P,T,B,S){var isLink=false;new dj.module.articleTools.Button(P+'.at.emailthis',function(){ET();},isLink).init();new dj.module.articleTools.Button(P+'.at.print',function(){var l=''.concat(document.location),x=l.indexOf('#');if(x!=-1){l=l.substring(0,x);}
dj.util.Url.openWin(l+'#printMode',&quot;printFriendly&quot;,760,600,&quot;&quot;,true);},isLink).init();if(!T){new dj.module.articleTools.Button(P+'.at.reprint',function(){CopyrightPopUp();},isLink).init();}
else{var menuButton=new dj.module.articleTools.MenuButton(P+'.share.arrow',P+'.share.ddc').init();new dj.module.articleTools.TextBuddy(P+'.at.tbl',P+'.at.tbs',P+'.at.tbm',menuButton).init(B);}
new dj.module.articleTools.ShareButton(P+'.share.facebook',function(){var targetUrl='http://www.facebook.com/share.php?'+'u='+encodeURIComponent(digg_url)+'&amp;t='+encodeURIComponent(digg_title);window.open(targetUrl);},isLink).init();new dj.module.articleTools.ShareButton(P+'.share.delicios',function(){var targetUrl='http://del.icio.us/post?v=4&amp;partner=wsj&amp;noui&amp;jump=close'+'url='+encodeURIComponent(digg_url)+'&amp;title='+encodeURIComponent(digg_title)+'&amp;bodytext='+encodeURIComponent(digg_bodytext);window.open(targetUrl);},isLink).init();new dj.module.articleTools.ShareButton(P+'.share.newsvine',function(){var targetUrl='http://www.newsvine.com/_wine/save?popoff=1'+'&amp;u='+encodeURIComponent(digg_url);window.open(targetUrl);},isLink).init();new dj.module.articleTools.ShareButton(P+'.share.stumble',function(){var targetUrl='http://www.stumbleupon.com/submit?'+'&amp;url='+encodeURIComponent(digg_url)+'&amp;title='+encodeURIComponent(digg_title);window.open(targetUrl);},isLink).init();new dj.mo
dule.articleTools.ShareButton(P+'.share.mixx',function(){var targetUrl='http://www.mixx.com/submit/story?'+'&amp;page_url='+encodeURIComponent(digg_url)+'&amp;title='+encodeURIComponent(digg_title)+'&amp;description='+encodeURIComponent(digg_bodytext)+'&amp;partner=WSJ';window.open(targetUrl);},isLink).init();new dj.module.articleTools.ShareButton(P+'.share.linkedin',function(){var targetUrl='http://www.linkedin.com/shareArticle?mini=true'+'&amp;url='+encodeURIComponent(digg_url)+'&amp;title='+encodeURIComponent(digg_title)+'&amp;summary='+encodeURIComponent(digg_bodytext)+'&amp;source=WSJ';window.open(targetUrl);},isLink).init();new dj.module.articleTools.ShareButton(P+'.share.digg',function(){Digg.remoteSubmit(digg_url,digg_title,digg_bodytext,digg_topic);},isLink).init();new dj.module.articleTools.ShareButton(P+'.share.myspace',function(){var targetUrl='http://www.myspace.com/Modules/PostTo/Pages/?'+'t='+encodeURIComponent(digg_title)+'&amp;c='+encodeURIComponent(digg_bodytext)+'&amp;u='+encodeURIComponent(digg_url)+'&amp;l=3';window.open(targetUrl);},isLink).init();isLink=true;new dj.module.articleTools.ShareButton(P+'.share.ybuzz',function(){var ybl=$(this.id);ybl.href+=digg_url;},isLink).init();if(S){$(P+'.at.sponsor').removeClassName('hidden');}}});dj.module.articleTools.Button=Class.create({initialize:function(I,H,L){this.id=I;this.clickHandler=H;if(H!=null){this.clickHandler.bind(this);}
this.isLink=L;return this;},init:function(){if(this.isLink){this.clickHandler();}
else{$(this.id).observe('click',function(e){this.clickHandler();}.bind(this));}
document.observe('click',function(e){this.handleDocClick(e);}.bind(this));return this;},handleDocClick:function(e){var x=getParentByNodeName(e.target,'a');if(x.id==this.id&amp;&amp;!this.isLink){Event.stop(e);}}});function getParentByNodeName(O,N){if(O.nodeName.toLowerCase()==N||O.parentNode==null){return O;}
return getParentByNodeName(O.parentNode,N);}
dj.module.articleTools.ShareButton=Class.create(dj.module.articleTools.Button,{init:function($super){if(this.clickHandler==null){$(this.id).up().addClassName('hidden');return;}
$super();return this;}});dj.module.articleTools.MenuButton=Class.create({initialize:function(I,M){this.id=I;this.menuItem=$(M);return this;},init:function(){$(this.id).observe('click',function(e){this.toggleMenu();Event.stop(e);}.bind(this));document.observe('click',function(e){if(e.target!=$(this.id)){this.closeMenu();}}.bind(this));return this;},toggleMenu:function(){this.menuItem.toggleClassName('collapsed');},closeMenu:function(){if(!this.menuItem.hasClassName('collapsed')){this.menuItem.addClassName('collapsed')}}});function isFloat(N){return/\d+\.\d+/.test(N);}
dj.module.articleTools.TextBuddy=Class.create({initialize:function(L,S,M,B){this.idLarge=L;this.idSmall=S;this.idMiddle=M;this.targetElements=$$('.article.story p');var T=$$('div.articlePage p');if(T&amp;&amp;T.length&gt;0){this.targetElements=$$('div.articlePage p');}
this.initialState=new Array();this.refFontSize;this.increment=1;this.max=-1;this.min=4;this.menuButton=B;this.unit={'em':0.1,'px':1};return this;},init:function(B){if(B){$(this.idLarge).observe('click',function(e){this.makeItSo(true);Event.stop(e);this.menuButton.closeMenu();}.bind(this));$(this.idSmall).observe('click',function(e){this.makeItSo(false);Event.stop(e);this.menuButton.closeMenu();}.bind(this));this.targetElements.each(function(el,i){var fs=el.getStyle('fontSize');this.initialState=fs;if(i==0){fs=fs.substring(0,fs.length-2);if(isFloat(fs)){this.refFontSize=parseFloat(fs);}
else{this.refFontSize=parseInt(fs);}}}.bind(this));$(this.idMiddle).observe('click',function(e){this.clickHandlerMiddle();Event.stop(e);this.menuButton.closeMenu();}.bind(this));}
else{this.hideIt();}},clickHandlerMiddle:function(){var x=this.initialState;this.targetElements.each(function(el,i){el.setStyle({'fontSize':''.concat(x)});});},makeItSo:function(larger){if(this.targetElements&amp;&amp;this.targetElements.length&gt;0){var CF=this.targetElements.getStyle('fontSize'),CU=CF.substring(CF.length-2),F=this.unit;CF=CF.substring(0,CF.length-2);var isf=isFloat(CF);if(isf){CF=parseFloat(CF);}
else{CF=parseInt(CF);}
var fsDiff=(CF-this.refFontSize);if(isf){fsDiff=fsDiff.toPrecision(2);}
if((larger&amp;&amp;this.max!=-1&amp;&amp;fsDiff&gt;=(this.max*F))||(!larger&amp;&amp;this.min!=-1&amp;&amp;fsDiff&lt;=-(this.min*F))){return;}
var inc=(larger?this.increment:-this.increment)*F;this.targetElements.each(function(el){var FS=el.getStyle('fontSize'),idx=FS.indexOf(CU);if(idx!=-1){FS=FS.substring(0,idx);if(isFloat(FS)){FS=parseFloat(FS);}
else{FS=parseInt(FS);}
el.setStyle({'fontSize':(FS+inc)+CU});}});}},hideIt:function(){$(this.idLarge).up().addClassName('hidden');}});
dj.module.comments={sbNumber:AT_VARS.baseDocId,postCommentUrl:'/community/public/leaveacomment.html',getCommentsUrl:'/community/public/ArticleComments.html',tabName:'comments',articleName:AT_VARS.articleHeadline,ajaxPost:function(postUrl,args,callback){this.ajaxRequest=new Ajax.Request(postUrl,{method:'post',parameters:args.toQueryString(),onException:function(transport,exception){console.error('Exception occured while posting posting Ajax Request : '+exception);},onComplete:function(transport,json){callback(transport,json);}});},ajaxUpdate:function(oElement,postUrl,args,callback){this.ajaxUpdater=new Ajax.Updater(oElement,postUrl,{method:'post',parameters:args.toQueryString(),onException:function(transport,exception){console.error('Exception occured during Ajax Request :'+exception);},onComplete:function(transport,json){callback(transport,json);}});},showComments:function(oContainer){var args=$H({sbNumber:this.sbNumber,index:'',sortIndex:1});dj.module.communityUser.ajaxUpdat
e(oContainer,this.getCommentsUrl,args,function(transport){if(transport.status==200){oContainer.show();var oElement=$('newcommentarea0');if(oElement!==null){var parentOffset=oElement.cumulativeOffset();var parentTop=parentOffset;var viewOffset=document.viewport.getScrollOffsets();var viewTop=viewOffset;if(parentTop&lt;viewTop){window.scrollTo(0,oElement.offsetTop-200);}}}else{console.error(&quot;Exception occured in showComments&quot;);}});},setupPostComment:function(postCommentContainerId,commentsContainerId){this.oPostCommentContainer=$(postCommentContainerId);this.oPostCommentsCommentsContainer=$(commentsContainerId);this.oComment=this.oPostCommentContainer.down(&quot;.enterComment&quot;);this.oPostButton=this.oPostCommentContainer.down(&quot;.postBtn&quot;);this.oClearButton=this.oPostCommentContainer.down(&quot;.clearBtn&quot;);this.oErrorMessage=this.oPostCommentContainer.down(&quot;.alertMessage&quot;);this.oSeeAllComments=this.oPostCommentContainer.down(&quot;.seeAllComments&quot;);this._setupObservers(this.oComment,this.oPostButton,this.oClearButton,this.oErrorMessage,this.oSeeAllComments,this.oPostCommentsCommentsContainer);},_setupObservers:function(oComment,oPostButton,oClearButton,oErrorMessage,oSeeAllComments,oCommentsContainer){var that=this;if(oPostButton!==null){oPostButton.observe(&quot;click&quot;,function(event){Event.stop(event);that.postComment(oComment,oErrorMessage,oCommentsContainer);}.bindAsEventListener(oPostButton));}
if(oClearButton!==null){oClearButton.observe(&quot;click&quot;,function(event){Event.stop(event);that.clearComment(oComment);}.bindAsEventListener(oClearButton));}
if(oSeeAllComments!==null){oSeeAllComments.observe(&quot;click&quot;,function(event){that.activateCommentsPanel();}.bindAsEventListener(oSeeAllComments));}},clearComment:function(oComment){oComment.value=&quot;&quot;;},postComment:function(oComment,oErrorMessage,oCommentsContainer){var commentValue=oComment.value;if(commentValue.strip()===''){oErrorMessage.innerHTML='Please enter your comment and then click post.';oErrorMessage.setStyle(&quot;display:block&quot;);oErrorMessage.focus();return false;}
commentValue=this.replaceHTMLTags(commentValue);commentValue=commentValue.replace(/\n/g,&quot;&lt;br /&gt;&quot;);var args=$H({sbNumber:this.sbNumber,articleName:this.articleName,content:commentValue,replyToId:0,mode:0,firstName:null,lastName:null});this.clearComment(oComment);var that=this;dj.module.communityUser.ajaxPost(this.postCommentUrl,args,function(transport,json){if(transport.status==200){that.activateCommentsPanel();}else
if(transport.status==305){oErrorMessage.innerHTML='The language you used does not comply with community standards. Please re-enter.';oErrorMessage.setStyle(&quot;display:block&quot;);oErrorMessage.focus();return false;}else
if(transport.status==300){dj.module.communityUser.handleError300(that.postCommentUrl,args,json.FirstName,json.LastName,function(transport){if(transport.status==200){that.activateCommentsPanel();}else{console.error(&quot;Exception in callback of handle300&quot;);}});}else
if(transport.status==301){dj.module.communityUser.handleError301(json.FirstName,json.LastName);}});},activateCommentsPanel:function(){var activePanel=dj.module.articleTabs.panels.getActivePanel();if(activePanel!==this.tabName){dj.module.articleTabs.panels.setActivePanel(this.tabName);}},replaceHTMLTags:function(strValue){strValue=strValue.replace(/&lt;/g,'&amp;#60;');strValue=strValue.replace(/&gt;/g,'&amp;#62;');return strValue;},showCommentCount:function(config){var hasCommentCount=config=='off'?false:true;if(hasCommentCount){this.cElement=$$('#articleTabs_tab_comments a').first();var artId=&quot;/community/public/ArticleCommentsTotalCount.html?sbNumber=&quot;+AT_VARS.baseDocId;var that=this;new Ajax.Request(artId,{method:'get',onSuccess:function(transport){var noc=parseInt(transport.responseText,10);if(!isNaN(noc)&amp;&amp;(noc&gt;0)){that.cElement.update(&quot;Comments (&quot;+transport.responseText+&quot;)&quot;);}}});}}};
function Mailbox(ajaxPath)
{this._ajaxPath=ajaxPath;}
Mailbox.prototype.__DeleteInboxMessage=function Mailbox_DeleteInboxMessage(idObject)
{if(typeof(idObject)=='string'){this._idArray=new Array();this._idArray.push(idObject);}else{this._idArray=idObject;}
var decreaseCnt=0;for(var cnt=0;cnt&lt;this._idArray.length;cnt++){if(document.getElementById('status'+this._idArray).className.indexOf('Unread')&gt;-1){decreaseCnt=decreaseCnt+1;}}
var args=$H({messageThreadIds:this._idArray})
var siteroot='${siteroot}';new Ajax.Request(this._ajaxPath+'/member/deletemessages.sync',{parameters:args.toQueryString(),onSuccess:this.__DropOutMessages.bind(this)});var totDecreaseCnt=0;for(var cnt=0;cnt&lt;this._idArray.length;cnt++){totDecreaseCnt=totDecreaseCnt+1;}
var totCnt=parseInt(document.getElementById('totCount').value)-totDecreaseCnt;document.getElementById('totCount').value=totCnt;if(totCnt==0){document.getElementById('ulDeleteSelected').style.display='none';document.getElementById('Inboxempty').style.display='block';}
if(decreaseCnt&gt;0)
{this.__DecreaseMailboxCnt(decreaseCnt);}}
Mailbox.prototype.__DeleteInboxSelected=function Mailbox_DeleteInboxSelected(totalMsgCount,form)
{var idArr=this.__GetCheckedMessages(form);if(idArr.length&gt;0)
{this.__DeleteInboxMessage(idArr);}
if(totalMsgCount==idArr.length)
{document.getElementById(&quot;ulDeleteSelected&quot;).style.display='none';}}
Mailbox.prototype.__InboxBlockMember=function Mailbox_InboxBlockMember(name,form)
{if(!IgnoreSender())
return;var args=$H({name:name})
new Ajax.Request(this._ajaxPath+'/member/blockmembersilently.sync',{parameters:args.toQueryString()});var idArr=new Array();idArr=this.__GetMessagesByName(name);if(idArr.length&gt;0)
{this.__DeleteInboxMessage(idArr);}}
Mailbox.prototype.__AcceptFriendInvite=function Mailbox_AcceptFriendInvite(idObject)
{if(typeof(idObject)=='number')
{this._idArray=new Array();this._idArray.push(idObject);}
else
{this._idArray=idObject;}
var args=$H({friendInviteIds:this._idArray})
new Ajax.Request(this._ajaxPath+'/member/acceptfriendinvite.sync',{parameters:args.toQueryString(),onSuccess:this.__DropOutMessages.bind(this)});this.__DecreaseFriendListCnt(this._idArray.length);}
Mailbox.prototype.__AcceptFriendInviteSelected=function Mailbox_AcceptFriendInviteSelected(form)
{var idArr=this.__GetCheckedMessages(form);if(idArr.length&gt;0)
{this.__AcceptFriendInvite(idArr);}}
Mailbox.prototype.__DeclineFriendInvite=function Mailbox_DeclineFriendInvite(idObject)
{if(typeof(idObject)=='number')
{this._idArray=new Array();this._idArray.push(idObject);}
else
{this._idArray=idObject;}
var args=$H({friendInviteIds:this._idArray})
new Ajax.Request(this._ajaxPath+'/member/declinefriendinvite.sync',{parameters:args.toQueryString(),onSuccess:this.__DropOutMessages.bind(this)});this.__DecreaseFriendListCnt(this._idArray.length);}
Mailbox.prototype.__DeclineFriendInviteSelected=function Mailbox_DeclineFriendInviteSelected(form)
{var idArr=this.__GetCheckedMessages(form);if(idArr.length&gt;0)
{this.__DeclineFriendInvite(idArr);}}
Mailbox.prototype.__AcceptGroupInvite=function Mailbox_AcceptGroupInvite(idObject)
{if(typeof(idObject)=='number')
{this._idArray=new Array();this._idArray.push(idObject);}
else
{this._idArray=idObject;}
var args=$H({groupInviteIds:this._idArray})
new Ajax.Request(this._ajaxPath+'/member/acceptgroupinvite.sync',{parameters:args.toQueryString(),onSuccess:this.__DropOutMessages.bind(this)});this.__DecreaseGroupListCnt(this._idArray.length);}
Mailbox.prototype.__AcceptGroupInviteSelected=function Mailbox_AcceptGroupInviteSelected(form)
{var idArr=this.__GetCheckedMessages(form);if(idArr.length&gt;0)
{this.__AcceptGroupInvite(idArr);}}
Mailbox.prototype.__DeclineGroupInvite=function Mailbox_DeclineGroupInvite(idObject)
{if(typeof(idObject)=='number')
{this._idArray=new Array();this._idArray.push(idObject);}
else
{this._idArray=idObject;}
var args=$H({groupInviteIds:this._idArray})
new Ajax.Request(this._ajaxPath+'/member/declinegroupinvite.sync',{parameters:args.toQueryString(),onSuccess:this.__DropOutMessages.bind(this)});this.__DecreaseGroupListCnt(this._idArray.length);}
Mailbox.prototype.__DeclineGroupInviteSelected=function Mailbox_DeclineGroupInviteSelected(form)
{var idArr=this.__GetCheckedMessages(form);if(idArr.length&gt;0)
{this.__DeclineGroupInvite(idArr);}}
Mailbox.prototype.__GetCheckedMessages=function Mailbox_GetCheckedMessages(form)
{var idArr=new Array();$(form).getElementsBySelector('input[type=&quot;checkbox&quot;]').each(function(checkBoxElt){if(checkBoxElt.checked){if(checkBoxElt.id.indexOf('check')!=-1){if(trim(checkBoxElt.id.substr(5))!=&quot;&quot;&amp;&amp;trim(checkBoxElt.id.substr(5))!='all'){idArr.push(parseInt(checkBoxElt.id.substr(5)));}}}});return idArr;}
Mailbox.prototype.__GetMessagesByName=function Mailbox_GetMessagesByName(name)
{var idArr=new Array();var nameLength=name.length;elements=document.getElementsByClassName(name);for(i=0;i&lt;elements.length;i++){idArr.push(parseInt(elements.id.substr(nameLength)));}
return idArr;}
Mailbox.prototype.__DropOutMessages=function Mailbox_DropOutMessages()
{this._dropOutCnt=0;for(var cnt=0;cnt&lt;this._idArray.length;cnt=cnt+1)
{new Effect.Fade('message'+this._idArray,{duration:0.5,afterFinish:this.__OneDropOutFinished.bind(this)});}}
Mailbox.prototype.__OneDropOutFinished=function Mailbox__OneDropOutFinished()
{var dropOutCnt=this._dropOutCnt++;var rows=document.getElementById('message'+this._idArray).remove();var rowCount=document.getElementById('rowsCount').value;rowCount=rowCount-1;if(rowCount==0){document.getElementById('ulDeleteSelected').style.display='none';document.getElementById('Inboxempty').style.display='block';}
if(rows==1)
{$('ulDeleteSelected').hide();$('Inboxempty').show();$('checkall').checked=false;}}
Mailbox.prototype.__FriendRequestBlockMember=function Mailbox_FriendRequestBlockMember(messageId)
{if(!IgnoreSender(name))
return;this._idArray=new Array();this._idArray.push(messageId);var args=$H({messageId:messageId})
new Ajax.Request(this._ajaxPath+'/member/friendrequestblockmember.sync',{parameters:args.toQueryString(),onSuccess:this.__DropOutMessages.bind(this)});this.__DecreaseFriendListCnt(this._idArray.length);}
Mailbox.prototype.__GroupRequestBlockMember=function Mailbox_GroupRequestBlockMember(messageId)
{if(!IgnoreSender(name))
return;this._idArray=new Array();this._idArray.push(messageId);var args=$H({messageId:messageId})
new Ajax.Request(this._ajaxPath+'/member/grouprequestblockmember.sync',{parameters:args.toQueryString(),onSuccess:this.__DropOutMessages.bind(this)});this.__DecreaseFriendListCnt(this._idArray.length);}
Mailbox.prototype.__CheckAll=function Mailbox_CheckAll(form,e){$(form).getElementsBySelector('input[type=&quot;checkbox&quot;]').each(function(checkBoxElt){checkBoxElt.checked=Event.element(e).checked;});}
Mailbox.prototype.__CheckBoxClicked=function Mailbox_CheckBoxClicked(form)
{var allChecked=true;$(form).getElementsBySelector('input[type=&quot;checkbox&quot;]').each(function(checkBoxElt)
{allChecked&amp;=checkBoxElt.checked;});$('checkall').checked=allChecked;}
Mailbox.prototype.__DecreaseMailboxCnt=function Mailbox_DecreaseMailboxCnt(decreaseCnt){var newCnt=0;newCnt=parseInt(document.getElementById('inboxcnt').innerHTML)-decreaseCnt;if(newCnt&lt;=0){document.getElementById('inboxcnt').innerHTML=0;document.getElementById('profileinboxcnt').innerHTML=0;}else{document.getElementById('inboxcnt').innerHTML=newCnt;document.getElementById('profileinboxcnt').innerHTML=newCnt;}
$('checkall').checked=false;}
Mailbox.prototype.__DecreaseFriendListCnt=function Mailbox_DecreaseFriendListCnt(decreaseCnt){var newCnt=0;newCnt=parseInt(document.getElementById('friendreqcnt').innerHTML)-decreaseCnt;if(newCnt&lt;0){document.getElementById('friendreqcnt').innerHTML=0;document.getElementById('profilefriendreqcnt').innerHTML=0;}else{document.getElementById('friendreqcnt').innerHTML=newCnt;document.getElementById('profilefriendreqcnt').innerHTML=newCnt;}
if(newCnt==0){document.getElementById('friendButtons').style.display='none';document.getElementById('mailboxempty').style.display='block';}
$('checkall').checked=false;}
Mailbox.prototype.__DecreaseGroupListCnt=function Mailbox_DecreaseGroupListCnt(decreaseCnt){var newCnt=0;newCnt=parseInt(document.getElementById('groupreqcnt').innerHTML)-decreaseCnt;document.getElementById('groupreqcnt').innerHTML=newCnt;document.getElementById('profilegroupreqcnt').innerHTML=newCnt;if(newCnt==0){document.getElementById('groupButtons').style.display='none';document.getElementById('groupMessage').style.display='block';}
$('checkall').checked=false;}
function SendMessage(recipients,subject,content,ajaxRequest,redirectLocation)
{var errorMsg=&quot;&quot;;if(recipients==&quot;Start typing a community member's name&quot;||trim(recipients)==&quot;&quot;)
{$('memberautocomplete').value=&quot;Start typing a community member's name&quot;;document.getElementById('errorRecipient').style.display='block';document.getElementById('errorSubject').style.display='none';document.getElementById('errorContent').style.display='none';return;}else{document.getElementById('errorRecipient').style.display='none';}
if(trim(subject)==&quot;&quot;||trim(subject)==&quot;Subject&quot;)
{$('msgsubject').value='Subject';document.getElementById('errorRecipient').style.display='none';document.getElementById('errorSubject').style.display='block';document.getElementById('errorContent').style.display='none';return;}else{document.getElementById('errorSubject').style.display='none';}
if(trim(content)==&quot;&quot;||trim(content)==&quot;Type your personal message.&quot;)
{$('msgeditor').value='Type your personal message.';document.getElementById('errorRecipient').style.display='none';document.getElementById('errorSubject').style.display='none';document.getElementById('errorContent').style.display='block';return;}else{document.getElementById('errorContent').style.display='none';}
var recipientArr=new Array();recipientArr=recipients.split(',');subject=fnReplaceHTMLTags(subject);content=fnReplaceHTMLTags(content);var params=$H({recipients:recipientArr,subject:subject,content:content});new Ajax.Request(ajaxRequest,{parameters:params.toQueryString(),onComplete:function(transport,json)
{var messageThreadId=json.messageThreadId;var errorMsg=json.errorMsg;if(messageThreadId&gt;0&amp;&amp;errorMsg.indexOf('valid user')==-1){errorMsg=&quot;Message sent successfully&quot;;$('errorMsg').update(errorMsg);new Effect.Appear($('errorMsg'),{duration:0.7});setTimeout(HideSendMessageError,7000);fnClearMessageFields();}else{if($('errorMsg')&amp;&amp;errorMsg){$('errorMsg').update(errorMsg);$('errorRecipient').style.display='none';$('errorSubject').style.display='none';$('errorContent').style.display='none';new Effect.Appear($('errorMsg'),{duration:0.7});setTimeout(HideSendMessageError,7000);}}}});}
function HideSendMessageError()
{new Effect.Fade($('errorMsg'),{duration:0.7});}
function Conversation(textAreaId,confirmCtrl,messageThreadId,lastMsgMemberId,messagesElt,ajaxPath)
{this._textAreaId=textAreaId;this._messageThreadId=messageThreadId;this._lastMsgMemberId=lastMsgMemberId;this._messagesElt=messagesElt;this._ajaxPath=ajaxPath;this._confirmCtrl=confirmCtrl;}
Conversation.prototype.__Reply=function Conversation_Reply()
{if(trim($F(this._textAreaId))==&quot;&quot;)
{$('msgeditor').value=&quot;Type your personal message.&quot;;document.getElementById('errorContent').style.display='block';return;}
var replyContent=fnReplaceHTMLTags($F(this._textAreaId));document.getElementById('errorContent').style.display='none';var args=$H({content:replyContent,messageThreadId:this._messageThreadId,lastMsgMemberId:this._lastMsgMemberId})
new Ajax.Updater({success:this._messagesElt},this._ajaxPath+'/member/conversationreply.sync',{method:'post',insertion:Insertion.Bottom,parameters:args.toQueryString(),evalScripts:true,onComplete:this.__OnComplete.bind(this)});}
Conversation.prototype.__OnComplete=function Conversation_OnComplete(transport,json)
{document.getElementById('msgsent').style.display='block';document.getElementById('msgsent').innerHTML=json.errorMsg;if(json.success=='True'){$(this._textAreaId).value=&quot;&quot;;}
new Effect.Appear(this._confirmCtrl,{duration:1.0});setTimeout(this.__MessageTimerFired.bind(this),3000);}
Conversation.prototype.__MessageTimerFired=function Conversation_MessageTimerFired()
{if($(this._confirmCtrl).visible())
{new Effect.Fade(this._confirmCtrl,{duration:0.7});}}
Conversation.prototype.__Delete=function Conversation_Delete(redirectPath)
{var idArray=new Array();idArray.push(this._messageThreadId);var args=$H({messageThreadIds:idArray})
new Ajax.Request(this._ajaxPath+'/member/deletemessages.sync',{parameters:args.toQueryString(),onSuccess:function(){window.location=redirectPath;}});}
function IgnoreSender()
{return window.confirm(&quot;Are you sure you want to Ignore this user? Clicking OK will prevent this user from contacting you in the WSJ Journal Community. To allow contact from this user again, click the 'Allow' button on the user's profile.&quot;)}
var mwSubject='';var theTopic='';function Init(sbNumber,fullsiteroot,contentroot)
{var articleName='';if(typeof(theTopic)=='object')return;if(document.getElementById('hdCommentType')==null||document.getElementById('hdCommentType').value=='story')
{if(sbNumber==null||sbNumber=='')
sbNumber=AT_VARS.baseDocId;articleName=AT_VARS.articleHeadline;mwSubject=new Subject(sbNumber,articleName,'','story');theTopic=new Topic('synccomments',mwSubject,fullsiteroot,contentroot,document.getElementById('topicreplyarea'))}}
GetYourPage = function(indx)
{
new Ajax.Updater(document.getElementById('dvAllMyGroups'),
vw_siteroot + &quot;/group/YourGroups.sync&quot;,
{
method: 'post',
parameters: $H({pageIndex:indx}).toQueryString()
});
}

GetGroupsPage = function(indx,sortId){
	//var sortId = document.getElementById('selectedsortorder').value;
	new Ajax.Updater(document.getElementById('browsegroups'),
	vw_siteroot + &quot;/group/browse.sync&quot;,
	{
		method: 'post',
		parameters: $H({category: document.getElementById('hdnCategoryId').value,type:sortId,pageIndex:indx}).toQueryString()
	});
}
//This function is for loading different tabs(Browse,My Groups and Search)


function clearSearchTab()
{
document.getElementById('searchresults').innerHTML = &quot;&quot;;
}


function loadmyGroups()
{
  //var LastKnownTime = '$!{commentLastKnownTime}';
  new Ajax.Updater(document.getElementById('dvAllMyGroups'),
  vw_siteroot + &quot;/group/yourgroups.sync&quot;,
  {
  method: 'post',
  parameters: $H({pageIndex:0}).toQueryString()
  });
}


function SetCriteria(elm, linkText)
{
    if (linkText == 'name')
    {
        document.getElementById('liNameLink').style.display = 'none';
        document.getElementById('liNameText').style.display = 'block';
        document.getElementById('liNewestLink').style.display = 'block';
        document.getElementById('liNewestText').style.display = 'none';
        document.getElementById('liPopularLink').style.display = 'block';
        document.getElementById('liPopularText').style.display = 'none';
        document.getElementById('liActiveLink').style.display = 'block';
        document.getElementById('liActiveText').style.display = 'none';
    }
    else if (linkText == 'newest' || linkText === '')
    {
        document.getElementById('liNameLink').style.display = 'block';
        document.getElementById('liNameText').style.display = 'none';
        document.getElementById('liNewestLink').style.display = 'none';
        document.getElementById('liNewestText').style.display = 'block';
        document.getElementById('liPopularLink').style.display = 'block';
        document.getElementById('liPopularText').style.display = 'none';
        document.getElementById('liActiveLink').style.display = 'block';
        document.getElementById('liActiveText').style.display = 'none';
    }
    else if (linkText == 'popular')
    {
        document.getElementById('liNameLink').style.display = 'block';
        document.getElementById('liNameText').style.display = 'none';
        document.getElementById('liNewestLink').style.display = 'block';
        document.getElementById('liNewestText').style.display = 'none';
        document.getElementById('liPopularLink').style.display = 'none';
        document.getElementById('liPopularText').style.display = 'block';
        document.getElementById('liActiveLink').style.display = 'block';
        document.getElementById('liActiveText').style.display = 'none';
    } else
    {
        document.getElementById('liNameLink').style.display = 'block';
        document.getElementById('liNameText').style.display = 'none';
        document.getElementById('liNewestLink').style.display = 'block';
        document.getElementById('liNewestText').style.display = 'none';
        document.getElementById('liPopularLink').style.display = 'block';
        document.getElementById('liPopularText').style.display = 'none';
        document.getElementById('liActiveLink').style.display = 'none';
        document.getElementById('liActiveText').style.display = 'block';
    }
    $('selectedsortorder').value = $(elm).id;
    var categoryId = document.getElementById('hdnCategoryId').value;
    GroupBrowse(document.getElementById('browsegroups'), categoryId, document.getElementById('selectedsortorder').value, 1, vw_siteroot);
}


function ShowAllGroup()
{
    document.getElementById('hdnCategoryId').value = -1;
    var categoryId = document.getElementById('hdnCategoryId').value;
    GroupBrowse(document.getElementById('browsegroups'), categoryId, document.getElementById('selectedsortorder').value, 1, vw_siteroot);
}


function showSubmitError(msg)
{
    $(&quot;popuperrorbody&quot;).innerHTML = msg;
    var dummy = $(&quot;popuperror&quot;).getElementsByClassName(&quot;popuperrordummybody&quot;);
    var body = $(&quot;popuperror&quot;).getElementsByClassName(&quot;popuperrorbody&quot;);

    $(&quot;popuperror&quot;).show();
    if (dummy)
    {
	    dummy.setStyle({height: Element.getHeight(body) + &quot;px&quot;});
    }
}

function Subject(uri, display, href, typeName)
{
    this['s.uri'] = uri;
    this['s.name'] = display;
    this['s.href'] = href;
    this['s.typeName'] = typeName;
}

function ScrollFriends(scrollamount, friendcount)
{
    var topvalue = Element.getStyle('friendcontainer', 'margin-top');
    var newmargin = parseInt(topvalue.split('px'), 10);
    newmargin += parseInt(scrollamount, 10);

    if (newmargin &gt; 0 || newmargin &lt;= (friendcount / 8) * -220)
    {
        return false;
    }          
    $('friendcontainer').setStyle({'display': 'none'});
    $('friendcontainer').setStyle({marginTop: newmargin + 'px'});

    new Effect.Appear($('friendcontainer'), { duration: 0.5 });

}


//--------------------------------------------XXXXXXXXXXXXXX--------------------------------------------//
//--------------------------------------------Invite To Join--------------------------------------------//
//--------------------------------------------XXXXXXXXXXXXXX--------------------------------------------//
//To add from the autocompete textbox.
function AddMembersToList(contentroot)
{
    showInlineMessage(&quot;errorInviteeName&quot;, &quot;&quot;);

    var memberlist = document.getElementById(&quot;invitelist&quot;);
    var input = document.getElementById(&quot;memberautocomplete&quot;);

    var member_names_array = input.value.split(',');
    if (member_names_array == &quot;Start typing a community member's name&quot;)//same text is in autocomplete/default.vm
    {
        return;
    }
    //memberlist.setAttribute('class', 'inviteesListUnit');
    member_names_array.each(function (member_name_wt)
    {
        var member_name = trim(member_name_wt);
        var memberinlist = IsAlreadyExist(member_name);
        if (member_name !== &quot;&quot; &amp;&amp; memberinlist === false)
        {
            var contentDiv = document.createElement(&quot;ul&quot;);
            Element.extend(contentDiv);
            contentDiv.setAttribute('id', member_name + 'Invite');
            //contentDiv.addClassName(&quot;inviterow&quot;);
            AddToHiddenInput(member_name);
            contentDiv.innerHTML = '&lt;li&gt;&lt;span class=&quot;inviteeName&quot;&gt;' + member_name + '&lt;/span&gt; &lt;a href=&quot;#stop&quot; onclick=&quot;RemoveInvite(\'' + member_name + 'Invite\'); return false;&quot;&gt;remove&lt;/a&gt;&lt;/li&gt;';
            memberlist.appendChild(contentDiv);
        }
        else
        {
            if (member_name !== &quot;&quot; &amp;&amp; memberinlist === true)
            {
                showInlineMessage(&quot;errorInviteeName&quot;, &quot;Can not enter duplicate user name.&quot;);
            }
            return;
        }
        document.getElementById(&quot;memberautocomplete&quot;).value = &quot;&quot;;
    }.bind(memberlist));
}

//To add from the connections list
function AddFriendToList(frienduri, friendname, contentroot)
{
    showInlineMessage(&quot;errorInviteeName&quot;, &quot;&quot;);

    var memberlist = document.getElementById(&quot;invitelist&quot;);

    var member_name = trim(friendname);

    if (IsAlreadyExist(member_name))
    {
        showInlineMessage(&quot;errorInviteeName&quot;, &quot;Can not enter duplicate user name.&quot;);
        return;
    }

    memberlist.setAttribute('class', 'inviteesListUnit');
    var memberinlist = IsAlreadyExist(member_name);    
    if (member_name !== &quot;&quot; &amp;&amp; memberinlist === false)
    {
        var contentDiv = document.createElement(&quot;ul&quot;);
        Element.extend(contentDiv);
        contentDiv.setAttribute('id', member_name + 'Invite');
        //contentDiv.addClassName(&quot;inviterow&quot;);
        AddToHiddenInput(member_name);
        contentDiv.innerHTML = '&lt;li&gt;&lt;span class=&quot;inviteeName&quot;&gt;' + member_name + '&lt;/span&gt; &lt;a href=&quot;#stop&quot; onclick=&quot;RemoveInvite(\'' + member_name + 'Invite\'); return false;&quot;&gt;remove&lt;/a&gt;&lt;/li&gt;';
        memberlist.appendChild(contentDiv);
    }
}

//adds invitee name to the hidden input box
function AddToHiddenInput(nm)
{
    var inputName = document.getElementById(&quot;hdnMemberNameList&quot;);
    if (inputName.value.length === 0)
    {
        inputName.value = nm;
    }
    else
    {
        inputName.value = inputName.value  + ',' + nm;
    }
}

//checks whether name already exists in hidden list
function IsAlreadyExist(newnm)
{
    var res = false;
    var inputName = document.getElementById(&quot;hdnMemberNameList&quot;);
    var member_names_array = inputName.value.split(',');
    member_names_array.each(function(member_name)
    {
        var nm = trim(member_name);
        if (newnm == nm)
        {
            res = true;
        }
    });
    return res;
}

//To sent invite messages
function SendInvites(groupname, sender, ajaxroot)
{
    showInlineMessage(&quot;errorInviteeName&quot;, &quot;&quot;);

    var invitees = new Array();

    var inputName = document.getElementById(&quot;hdnMemberNameList&quot;);
    var member_names_array = inputName.value.split(',');
    member_names_array.each(function (member_name)
    {
        invitees.push(trim(member_name));
    });

    if (trim(inputName.value) === &quot;&quot;)
    {
        showInlineMessage(&quot;errorInviteeName&quot;, &quot;Please add some people to the invite list.&quot;);
        return;
    }
    var args = $H({groupname: groupname, sender: sender, invitees:invitees});
    new Ajax.Request(
        ajaxroot + &quot;/group/sendinvites.sync&quot;, 
        {
            parameters: args.toQueryString(),
            onComplete: function(transport, json){
                if(json != null)
                {
                    this.SendInvitesCompleteWithInvalidUser(json.errorMsg);
                }else
                {
                    this.SendInvitesComplete()
                }
            }
            
        });
}

//After completion of sentinvite message function
function SendInvitesComplete()
{
    var msg = 'Your invitation has been sent successfully.';
    showInlineMessage(&quot;errorInviteeName&quot;, msg);
    //showInlineMessage(&quot;errorInviteeName&quot;, strInviteMessage);
    RemoveAllinvitees();
    var autoinput = document.getElementById(&quot;memberautocomplete&quot;);
    autoinput.value = &quot;Start typing a community member's name&quot;;
    //    var senttext = document.getElementById(&quot;senttext&quot;);
    //    senttext.textContent = 'Your Invitations have been sent.';
    //    new Effect.Appear(senttext,{duration:0.1});
    //    new Effect.Fade(senttext, {duration:5.0});
}

//After completion of sentinvite message function
function SendInvitesCompleteWithInvalidUser(msg)
{
    showInlineMessage(&quot;errorInviteeName&quot;, msg);
    RemoveAllinvitees();
    var autoinput = document.getElementById(&quot;memberautocomplete&quot;);
    autoinput.value = &quot;Start typing a community member's name&quot;;
}

//To remove specified name from invitee list
function RemoveInvite(givenid)
{
    var memberlist = document.getElementById(&quot;invitelist&quot;);
    var deletedInvite = document.getElementById(givenid);
    for(var i = 0; i &lt; memberlist.childNodes.length; i++)
    {
        var invite = memberlist.childNodes;
        if (invite == deletedInvite)
        {
            memberlist.removeChild(invite);
            i--;
        }
    }

    var inputName = document.getElementById(&quot;hdnMemberNameList&quot;);
    var member_names_array = inputName.value.split(',');
    inputName.value = &quot;&quot;;
    member_names_array.each(function(member_name)
    {   
        var nm = trim(member_name);
        var id = nm + 'Invite';
        
        if(id != givenid){
            AddToHiddenInput(nm);
        }
    });
}

//removes all invitees
function RemoveAllinvitees()
{
    var inputName = document.getElementById(&quot;hdnMemberNameList&quot;);
    var memberlist = document.getElementById(&quot;invitelist&quot;);
    for(var i = 0; i &lt; memberlist.childNodes.length; i++)
    {
        var invite = memberlist.childNodes;
        memberlist.removeChild(invite);
        i--;
    }
    inputName.value = &quot;&quot;;
}

//--------------------------------------------XXXXXXXXXXXXXX--------------------------------------------//
//--------------------------------------------Invite To Join--------------------------------------------//
//--------------------------------------------XXXXXXXXXXXXXX--------------------------------------------//


function cancelComment(commentEntryId,ajaxRoot)
{ 
    var args = $H({commentEntryId:commentEntryId});

    var commentEntryElt = $('commententry' + commentEntryId);
    var commentEntryAnchor = $('comment' + commentEntryId);
    if (commentEntryElt)
    {
        commentEntryElt.remove();
    }

    new Ajax.Updater(
        { success: commentEntryAnchor },
        ajaxRoot + &quot;/group/canceleditcomment.sync&quot;, 
        {
            parameters: args.toQueryString(),
            evalScripts: true,
            insertion: Insertion.After,
            onComplete: this.PostEditCommentComplete
        });
}
////////////////////////////////////////////////////////
// Topic: single object created to manager the comment on the page
////////////////////////////////////////////////////////
function Topic(elt, subject, ajaxRoot, contentRoot, replyContainer)
{
this.ShowCommentsFancily = this.__ShowCommentsFancily.bind(this);
this.HelpfulComplete = this.__HelpfulComplete.bind(this);

this._commentsList = document.createElement(&quot;div&quot;);
Element.extend(this._commentsList);

this._replyContainer = null;

this._state = $H();
this._ajaxRoot = ajaxRoot;
this._contentRoot = contentRoot;
this._subject = subject;
this._reply2Id = 0;
this._replyContainer = replyContainer;
}

Topic.prototype.Post = function Topic_Post(comment)
{

showInlineMessage(&quot;errorOnPost&quot;, &quot;&quot;);
if (comment.length == 0)
{
    showInlineMessage(&quot;errorOnPost&quot;, strResourceMsg);
    return false;
}
if ( comment.length &gt;= 10000 )
{
    showInlineMessage(&quot;errorOnPost&quot;, strResourceMsg);
	return false;
}

comment = fnReplaceHTMLTags(comment);
comment = comment.replace(/\n/g, &quot;&lt;br /&gt;&quot;);
var args = $H({content:comment,reply2id:this._reply2Id}).merge(this._subject);


if ( this._reply2Id &gt;1 )
{
    new Ajax.Updater(
    { success: this._commentsList }, 
    this._ajaxRoot + &quot;/group/postcomment.sync&quot;, 
    {
        parameters: args.toQueryString(), 
        evalScripts: true, 
        onComplete: this.ShowCommentsFancily
    });	
}
else
{
    new Ajax.Updater(
    { success: document.getElementById('topiccomments') }, 
    this._ajaxRoot + &quot;/group/postcomment.sync&quot;, 
    {
        parameters: args.toQueryString(), 
        evalScripts: true,
        onComplete: function(transport, json){
            if(json.success == &quot;False&quot;){
                document.getElementById('commentBody').value = comment;
                showInlineMessage(&quot;errorOnPost&quot;, json.errorMsg);
            }
        }
    });	

}
}


Topic.prototype.PostArticleComment = function Topic_PostArticleComment(comment)
{
showInlineMessage(&quot;errorOnPost&quot;, &quot;&quot;);
if (comment.length == 0)
{
    showInlineMessage(&quot;errorOnPost&quot;, &quot;Please enter your comment and then click post.&quot;);
    return false;
}
if ( comment.length &gt;= 10000 )
{
    comment = comment.substring(0, 9999);
    //showInlineMessage(&quot;errorOnPost&quot;, &quot;Description cannot exceed beyond 1000 chars.&quot;);
	//return false;
}

comment = fnReplaceHTMLTags(comment);
comment = comment.replace(/\n/g, &quot;&lt;br /&gt;&quot;);
var args = $H({content:comment,reply2id:this._reply2Id}).merge(this._subject);
if ( this._reply2Id &gt;1 )
{
    new Ajax.Updater(
    { success: this._commentsList }, 
    this._ajaxRoot + &quot;/group/postarticlecomment.sync&quot;, 
    {
        parameters: args.toQueryString(), 
        evalScripts: true, 
        onComplete: this.ShowCommentsFancily
    });	
}
else
{
        new Ajax.Updater(
    { success: document.getElementById('Commentsblock') }, 
    this._ajaxRoot + &quot;/group/postarticlecomment.sync&quot;, 
    {
        parameters: args.toQueryString(), 
        evalScripts: true,
        onComplete: function(transport,json){
            if(json != null){
                showInlineMessage(&quot;errorOnPost&quot;, json.errorMsg);
				var anchor_node = document.getElementById('newcommentarea0');
				if( anchor_node != null )
				{
					window.scrollTo(0, anchor_node.offsetTop - 200);
				}
            }                
        }
    });	

}
}

Topic.prototype.__ShowCommentsFancily = function Comments_ShowCommentsFancily(transport, json)
{
if(json.success == &quot;False&quot;){ 
    showInlineMessage(&quot;errorOnPost&quot;, json.errorMsg);                    
}else{
    $('newcommentarea'+this._reply2Id).innerHTML += this._commentsList.innerHTML.replace('wrote:','replied:');
    $($('newcommentarea'+this._reply2Id).parentNode).show();
    
    //hide the old container
    if(this._replyContainer != null)
        this._replyContainer.hide();
    //remember the new one
    this._replyContainer = $('topicreplyarea');

    this._replyContainer.appendChild($('newcomment'));
    if($('commentBody'))
    {
        $('commentBody').value = '';
    }    
    
    this._replyContainer.show();
        $('newcommenttitle').innerHTML = &quot;Add a Comment&quot;;
          this._reply2Id = 0;
}
}

Topic.prototype.OpenReplyBox = function Topic_OpenReplyBox(targetElement, commentEntryId, reply2Name)
{
if(ismember == &quot;False&quot;){
    document.getElementById('ProfileWizard').style.display = &quot;block&quot;;
    document.getElementById('hdnCommentId').value = commentEntryId;
    document.getElementById('hdnCalledMethod').value = &quot;ReplyComment&quot;;
    window.scroll(0,0);
    return false;
}else{
    if($('isGroupMember').value != 'Active'){
        document.getElementById('joinGroup'+ commentEntryId).style.display = 'block';
        return false;
    }

    showInlineMessage(&quot;errorOnPost&quot;, &quot;&quot;);
    this._reply2Id = commentEntryId;
    Topic.prototype.ReplyBox(targetElement, commentEntryId, reply2Name);
}
}

Topic.prototype.ReplyBox = function Topic_ReplyBox(targetElement, commentEntryId, reply2Name)
{
showInlineMessage(&quot;errorOnPost&quot;, &quot;&quot;);
this._reply2Id = commentEntryId;

//hide the old container
//if(this._replyContainer != null)
   // this._replyContainer.hide();
    
//remember the new one
this._replyContainer = targetElement;

this._replyContainer.appendChild($('newcomment'));
if($('commentBody'))
{
    $('commentBody').value = '';
}    
this._replyContainer.show();



if(reply2Name){
    $('newcommenttitle').innerHTML = &quot;Reply to &quot; + reply2Name + &quot;'s comment&quot;;
}else{
    $('newcommenttitle').innerHTML = &quot;Add a Comment&quot;;
}
if($('commentBody'))
    $('commentBody').focus();
else
    $('newcomment').scrollTo();
}

Topic.prototype.OpenMessageBox = function Topic_OpenMessageBox(targetElement, reply2Name)
{
if(this._replyContainer != null)
    this._replyContainer.hide();
    
//remember the new one
this._replyContainer = targetElement;
this._replyContainer.show();
}

Topic.prototype.EditTopic = function Topic_EditTopic(groupName, topicName)
{
var args = $H({groupName: groupName, topicName: topicName});

$('editTopic').hide();

new Ajax.Updater(
    { success: $('topicBodyContainer') },
    this._ajaxRoot + &quot;/group/edittopic.sync&quot;, 
    {
        parameters: args.toQueryString(),
        evalScripts: true
    });
}

Topic.prototype.PostEditTopic = function Topic_PostEditTopic(groupName, topicName, topicBody)
{
    document.getElementById('errEditTopic').style.display = 'none';
	if ($(&quot;topicbody1120&quot;).value.length &gt; 1000){
	   	document.getElementById('errEditTopic').style.display = 'block';
	   	showInlineMessage(&quot;errEditTopic&quot;, &quot;Please limit your comments to each topic to 1000 characters.&quot;);
        return false;
	}
var args = $H({groupName: groupName, topicName: topicName, topicBody: topicBody});



new Ajax.Updater(
    { success: $('topicBodyContainer') },
    this._ajaxRoot + &quot;/group/postedittopic.sync&quot;, 
    {
        parameters: args.toQueryString(),
        evalScripts: true,
        onComplete : function(transport, json){
            if(json.success == 'False'){
                document.getElementById('errEditTopic').style.display   = 'block';
                document.getElementById('errEditTopic').innerHTML       = json.errorMsg;
                document.getElementById('topicbody1120').value          = json.topicBody;
                return false;
            }else{
                $('editTopic').show();
            }
        }
    });
}


Topic.prototype.CancelEditTopic = function Topic_CancelEditTopic(groupName, topicName)
{
var args = $H({groupName: groupName, topicName: topicName});

$('editTopic').show();

new Ajax.Updater(
    { success: $('topicBodyContainer') },
    this._ajaxRoot + &quot;/group/canceledittopic.sync&quot;, 
    {
        parameters: args.toQueryString(),
        evalScripts: true
    });
}

Topic.prototype.EditComment = function Topic_EditComment(commentEntryId)
{
var args = $H({commentEntryId: commentEntryId});
var PrevEditcomment = $('commentarea');
if (PrevEditcomment)
{
   var EditcommentEntryId = document.getElementById('EditcommentEntryId').value;
       cancelComment(EditcommentEntryId,this._ajaxRoot);
}
$('newcomment').style.display = 'none';
var commentEntryElt = $('commententry' + commentEntryId);
var bodyElt;
if (commentEntryElt)
{
    bodyElt = commentEntryElt;
    //commentEntryElt.getElementsByClassName('body');
}
if (bodyElt)
{
    $('editcomment' + commentEntryId).style.display = 'none';
    this._bubbleContentHeight = bodyElt.offsetHeight;
    new Ajax.Updater(
        { success: bodyElt },
        this._ajaxRoot + &quot;/group/editcomment.sync&quot;, 
        {
            parameters: args.toQueryString(),
            evalScripts: true
        });
}
}


Topic.prototype.PostEditComment = function Topic_PostEditComment(comment, commentEntryId)
{

comment = fnReplaceHTMLTags(comment);
comment = comment.replace(/\n/g, &quot;&lt;br /&gt;&quot;);

if ( comment == '' ){
    showInlineMessage(&quot;errorOnEditPost&quot;, 'Please enter your comment and then click post.');
	return false;
}else if ( comment.length &gt;= 10000 ){
    showInlineMessage(&quot;errorOnEditPost&quot;, 'Comment should not be more than 10000 chars');
	return false;
}
var args = $H({content:comment}).merge(this._subject).merge({commentEntryId:commentEntryId});

var commentEntryElt = $('commententry' + commentEntryId);
var commentEntryAnchor = $('comment' + commentEntryId);
new Ajax.Updater(
    { success: commentEntryAnchor },
    this._ajaxRoot + &quot;/group/posteditcomment.sync&quot;, 
    {
        parameters: args.toQueryString(),
        evalScripts: true,
        insertion: Insertion.After,
        onComplete: function(transport,json){
            if(json.success == &quot;False&quot;){
                showInlineMessage(&quot;errorOnEditPost&quot;, json.errorMsg);
            }else{
                if (commentEntryElt){
                    commentEntryElt.remove();
                }
                 $('newcomment').style.display = '';
                //hide the old container
                if(this._replyContainer != null)
                   this._replyContainer.hide();
                //remember the new one
                this._replyContainer = $('topicreplyarea');
                this._replyContainer.appendChild($('newcomment'));
                if($('commentBody')){
                    $('commentBody').value = '';
                }    
                
                this._replyContainer.show();
                $('newcommenttitle').innerHTML = &quot;Add a Comment&quot;;
                this._reply2Id = 0;                
            }
        }//this.PostEditCommentComplete
    });
}
function sortComments(groupName,topicName,index,sortId)
{
document.getElementById('sortId').value = sortId;
new Ajax.Updater(document.getElementById('discussionThreadBox'),
vw_siteroot + &quot;/group/sortComment.sync&quot;,
    {
        method: 'post',
        parameters: $H({groupname: groupName,topicname:topicName,index:index,sortIndex:sortId}).toQueryString()
    });    
}


Topic.prototype.__PostEditCommentComplete = function Topic_PostEditCommentComplete(transport, json)
{
    // Update the &quot;TimeAgo&quot; and &quot;EditComment&quot; spans with their new elts
    var editCommentId = json.commentEntryId;

    var editSpanContext = this._editSpanManager.Find(editCommentId);
    if (editSpanContext)
    {
        editSpanContext._elt = $(&quot;editcomment&quot; + editCommentId);
    }

    var timeAgoContext = this._agoSpanManager.Find(editCommentId);
    if (timeAgoContext)
    {
        timeAgoContext._elt = $(&quot;timeago&quot; + editCommentId);
        $(&quot;timeago&quot; + editCommentId).removeClassName(&quot;timeago&quot;);
    }

    this._editSpanManager.Sweep();
    this._agoSpanManager.Sweep();
    this._editCommentEditor = null;

    this.BeginUpdating();
}

Topic.prototype.CancelEditComment = function Topic_CancelEditComment(commentEntryId)
{
    var args = $H({commentEntryId:commentEntryId});

    var commentEntryElt = $('commententry' + commentEntryId);
    var commentEntryAnchor = $('comment' + commentEntryId);

    if (commentEntryElt)
    {
        commentEntryElt.remove();
    }
        
        
     $('newcomment').style.display = ''
    //hide the old container
	if(this._replyContainer != null &amp;&amp; this._replyContainer != 'undefined')
	{
		this._replyContainer.style.display = 'none';
		//this._replyContainer.hide();
	}       
    //remember the new one
    this._replyContainer = $('topicreplyarea');

    this._replyContainer.appendChild($('newcomment'));
    if($('commentBody'))
    {
        $('commentBody').value = '';
    }    
	this._replyContainer.style.display = 'block';
    //this._replyContainer.show();
        $('newcommenttitle').innerHTML = &quot;Add a Comment&quot;;
          this._reply2Id = 0;
          

    new Ajax.Updater(
        { success: commentEntryAnchor },
        this._ajaxRoot + &quot;/group/canceleditcomment.sync&quot;, 
        {
            parameters: args.toQueryString(),
            evalScripts: true,
            insertion: Insertion.After,
            onComplete: this.PostEditCommentComplete
        });
}

Topic.prototype.HelpfulComment = function Comments_HelpfulComment(commentEntryId)
{
    var args = $H({commentEntryId: commentEntryId});
    var elt = $('numhelpful' + commentEntryId);

    new Ajax.Updater(
        { success: elt },
        this._ajaxRoot + &quot;/group/helpfulcomment.sync&quot;, 
        {
            parameters: args.toQueryString(),
            evalScripts: true,
            onComplete: this.HelpfulComplete(commentEntryId)
        });

}

Topic.prototype.__HelpfulComplete = function Comments_HelpfulCompleteComplete(commentEntryId)
{   
    var numhelpfulElt = $('numhelpful' + commentEntryId);
    numhelpfulElt.show();

    var washelpfulElt = $('washelpful' + commentEntryId);
    washelpfulElt.hide();
}

function GroupSwitchMembersTabs(tab, ajaxFunction)
{
    var localAjaxFunction = '';
    switch(tab)
    {
        case 'tabbrowse':
            if ($('invitepeople'))                   
                $('invitepeople').hide();
            $('browsepeople').show();
            break;
            
        case 'tabinvite':
            if ($('browsepeople'))                   
                $('browsepeople').hide();
            if ($('invitepeople'))
                $('invitepeople').show();
            else
                localAjaxFunction += ajaxFunction;
            break;
    }
    
    if (localAjaxFunction != '')
    {
        new Ajax.Updater('peopleview', localAjaxFunction,
            {
                insertion: Insertion.Bottom,
                evalScripts: true
            }
        );
    } 
}


function GroupSwitchBrowseTabs(tab, ajaxFunction)
{
//if ($('groupnav').getElementsByClassName('selected').length &gt; 0)
//    $('groupnav').getElementsByClassName('selected').removeClassName('selected');

//$(tab).addClassName('selected');

var localAjaxFunction = '';
switch(tab)
{
    case 'tabbrowse':
        $('browsegroups').show();
        if ($('searchgroups'))
            $('searchgroups').hide();
        break;
        
    case 'tabsearch':
        if ($('browsegroups'))                   
            $('browsegroups').hide();
        if ($('searchgroups'))
            $('searchgroups').show();
        else
            localAjaxFunction += ajaxFunction;
        break;
}

if (localAjaxFunction != '')
{
    new Ajax.Updater('groupsview', localAjaxFunction,
        {
            insertion: Insertion.Bottom,
            evalScripts: true
        }
    );
} 
}

function GroupBrowse(resultsElt, category, type,index, ajaxRoot)
{
var args = $H({category:category,type:type,pageIndex:index})
new Ajax.Updater(
    { success: resultsElt }, 
    ajaxRoot + &quot;/group/browse.sync&quot;, 
    {
        parameters: args.toQueryString(),
        evalScripts: true 
    });
}

function SearchGroups(q, ajaxFunction)
{
    if (q == 'Search For Groups')
    {
        q = '';
    }
        
    if ($('groupnav').getElementsByClassName('selected').length &gt; 0)
    {
        $('groupnav').getElementsByClassName('selected').removeClassName('selected');
    }

    $('tabsearch').addClassName('selected');

    if ($('browsegroups'))                   
    {
        $('browsegroups').hide();
    }
    if ($('searchgroups'))
    {
        $('searchgroups').remove();
    }

    var args = {};
    args = $H(args);
    args['q'] = q;
    new Ajax.Updater('groupsview', ajaxFunction,
        {
            parameters : args.toQueryString(),
            insertion: Insertion.Bottom,
            evalScripts: true
        }
    );
}

function ReportAvatar(ajaxFunction)
{
    if( ismember == &quot;False&quot;)
    {
      document.getElementById('ProfileWizard').style.display = &quot;block&quot;;
      document.getElementById('hdnCalledMethod').value = &quot;reportAvatar&quot;;
      document.getElementById('hdnAjaxFunction').value = ajaxFunction;
      window.scroll(0,0);
      return false;
    }
    else
    {
    new Ajax.Request(
        ajaxFunction,
        {
            onComplete: function(transport, json)
            {
                var reported = json.reported;
                if (reported)
                {
                    //$('reportpicture').update(&quot;Picture Reported&quot;);
				    document.getElementById(&quot;reportpicture&quot;).innerHTML = '&lt;b&gt;Image&amp;#160;Reported&lt;/b&gt;';
                }
                var alreadyreported = json.alreadyreported;
                if (alreadyreported)
                {
                    document.getElementById(&quot;reportpicture&quot;).innerHTML= '&lt;b&gt;Image&amp;#160;is&amp;#160;already reported&lt;/b&gt;';
                }
            }
        }
    );
    }
}

function ReportDescription(ajaxFunction)
{
    if( ismember == &quot;False&quot;)
    {
      document.getElementById('ProfileWizard').style.display = &quot;block&quot;;
      document.getElementById('hdnCalledMethod').value = &quot;ReportDescription&quot;;
      document.getElementById('hdnAjaxFunction').value = ajaxFunction;
      window.scroll(0,0);
      return false;
    }
    else
    {

      new Ajax.Request(
        ajaxFunction,
        {
            onComplete: function(transport, json)
            {
               
                var reported = json.reported;
                
                if (reported)
                {
                    document.getElementById(&quot;reportdescription&quot;).innerHTML= '&lt;B&gt;Description Reported&lt;/B&gt;';
                }
                 var alreadyreported = json.alreadyreported;
                if (alreadyreported)
                {
                    document.getElementById(&quot;reportdescription&quot;).innerHTML= '&lt;B&gt;Description is already reported&lt;B&gt;';
                }
            }
        }
    );
    }
}

//HMTSWR2008100301
function ReportGroup(ajaxFunction)
{
    if( ismember == &quot;False&quot;)
    {
      document.getElementById('ProfileWizard').style.display = &quot;block&quot;;
      document.getElementById('hdnCalledMethod').value = &quot;ReportGroup&quot;;
      document.getElementById('hdnAjaxFunction').value = ajaxFunction;
      window.scroll(0,0);
      return false;
    }
    else
    {

      new Ajax.Request(
        ajaxFunction,
        {
            onComplete: function(transport, json)
            {
               
                var reported = json.reported;
                
                if (reported)
                {
                    document.getElementById(&quot;reportgroup&quot;).innerHTML= '&lt;B&gt;Group Reported&lt;/B&gt;';
                }
                 var alreadyreported = json.alreadyreported;
                if (alreadyreported)
                {
                    document.getElementById(&quot;reportgroup&quot;).innerHTML= '&lt;B&gt;Group is already reported&lt;B&gt;';
                }
            }
        }
    );
    }
}

function ReportTopic(ajaxFunction)
{
    if(ismember == &quot;False&quot;)
    {
      document.getElementById('ProfileWizard').style.display = &quot;block&quot;;
      document.getElementById('hdnCalledMethod').value = &quot;ReportTopic&quot;;
      document.getElementById('hdnAjaxFunction').value = ajaxFunction;
      window.scroll(0,0);
      return false;
    }
    else
    {new Ajax.Request(
        ajaxFunction,
        {
            onComplete: function(transport, json)
            {
                var reported = json.reported;
                var alreadyreported = json.alreadyreported;
                if (reported)
                {
                    document.getElementById(&quot;reporttopic&quot;).innerHTML = &quot;Topic Reported&quot;;
                }
                if (alreadyreported)
                {
                    document.getElementById(&quot;reporttopic&quot;).innerHTML = &quot;Topic is already reported&quot;;
                }
            }
        }
    );
    }
}


function GetSearchGroupPage(q,pageIndex)
{
    document.getElementById('searchresults').innerHTML = &quot;&quot;;
    if( q === '')
    {
      document.getElementById('message').style.display  = 'block';
      document.getElementById('message').innerHTML = validSearch;
      return false;
    }
    else if( q.length &gt; 256)
    {
      document.getElementById('message').style.display  = 'block';
      document.getElementById('message').innerHTML = MoreThan256Char;
      return false;
    }
    else
    {
      document.getElementById('message').style.display  = 'none';
      document.getElementById('message').innerHTML = &quot;&quot;;
    }

    if(fnValidateString(q) == 'true')
    {
      document.getElementById('message').style.display  = 'block';
      document.getElementById('message').innerHTML = &quot;Input text has special characters. \nThese are not allowed.\n Please remove them and try again.&quot;;
      return false;
    }

    var reg = new RegExp(&quot;/community?/[\\._A-Za-z0-9-]+&quot;, &quot;i&quot;);
    var ar = reg.exec(document.URL);

    if(document.URL.indexOf(&quot;group&quot;) != -1 )
    {
        document.frmSearchGroup.action = siteroot + &quot;/groups/SearchGroups?searchtxt=&quot;+q+&quot;&amp;requestedPage=&quot;+pageIndex + &quot;#identifier&quot;;     
    } 
    else
    {
        document.frmSearchGroup.action = siteroot + &quot;/home/SearchGroups?searchtxt=&quot;+q+&quot;&amp;requestedPage=&quot;+pageIndex + &quot;#identifier&quot;;
    }

    document.frmSearchGroup.submit();
}



//This method is for highlighting a sub category in the selected category.
function HighLightSubCategory(parentElement,childElement)
{
    if (document.getElementById(parentElement) !== null &amp;&amp; document.getElementById(parentElement) != 'undefined')
    {
        var objArray = document.getElementById(parentElement).getElementsByTagName(&quot;li&quot;);
        var childObj = document.getElementById(childElement);
        for(var i = 0; i&lt;objArray.length; i++)
        {
	        if ( childObj !== null &amp;&amp; objArray.id == childObj.id )
	        {
		        objArray.className = &quot;selectedSubNav&quot;;
	        }
	        else
	        {
		        objArray.className = &quot;&quot;;
	        }
            }
     }
}

//This method is for show/hide of a category.
function ShowHideSubCategory(dvelement)
{
    if( dvelement !== null )
    {
        //to make the selected div visible.
        var obj = document.getElementById(dvelement);
        if(obj.style.display == 'none')
        {
            obj.style.display = 'block';
        }
        else
        {
            obj.style.display = 'none';
        }
    }

    //for hiding the other uls.
    for(var i = 0;i&lt;emptyArray.length;i++)
    {
        var objEle = document.getElementById(emptyArray);

        if( objEle !== null &amp;&amp; emptyArray != dvelement )
        {
          objEle.style.display = 'none';
        }
        if( dvelement === null &amp;&amp; dvelement != 'undefined') //Set the highlight color to default color
        {
            HighLightSubCategory(emptyArray,null);
        }
    }
    if( dvelement !== null ) //Set the highlight color to default color
    {
        HighLightSubCategory(dvelement,null);
    }
}

function GetMemberGroupsPage(name, pageindex)
{
    new Ajax.Updater(document.getElementById('dvMemberGroups'),
    vw_siteroot + &quot;/member/groupspage.sync&quot;,
    {
        method: 'post',
        parameters: $H({name:name,pageindex:pageindex}).toQueryString()
    });
}

Topic.prototype.GetArticlecommentsPage = function Topic_GetArticlecommentsPage(sbnumber,indx)
{
    var siteroot = this._ajaxRoot;
    var sortIndex = document.getElementById('sortId').value;
    if( sortIndex == null || sortIndex == '')
    {
        sortIndex = 1;
    }
    
    new Ajax.Updater(document.getElementById('discussionThreadBox'),
    siteroot + &quot;/public/ArticleComments.html&quot;,
    {
      method: 'post',
      parameters: $H({SBNumber: sbnumber,index:indx,sortIndex:sortIndex}).toQueryString()
    });
}

//This method takes the cursor to the most recently added comment.
Topic.prototype.GoToMostRecentComment = function Topic_GoToMostRecentComment(sbnumber,indx)
{
    var siteroot = this._ajaxRoot;
    var sortIndex = document.getElementById('sortId').value;
    if( sortIndex == null || sortIndex == '')
    {
        sortIndex = 1;
    }
    var iIndex = 0;
    //If the sort order is oldest
    if( sortIndex == 1 )
    {
        iIndex = indx;
    }
    else if( sortIndex == 2 )//If the sort order is newest
    {
        iIndex = 1;
    }
    
    new Ajax.Updater(document.getElementById('Commentsblock'),
    siteroot + &quot;/public/ArticleComments.html&quot;,
    {
      method: 'post',
      parameters: $H({SBNumber: sbnumber,index:iIndex,sortIndex:sortIndex}).toQueryString(),
      onComplete: function(transport,json){
            if( sortIndex == 1 || sortIndex == '1' )
            {
                var anchor_node = document.getElementById('newcommentarea0');
			    if( anchor_node != null &amp;&amp; anchor_node != 'undefined')
			    {
				    window.scrollTo(0, anchor_node.offsetTop - 200);
			    }
			}
        }
    });
}
var DISPLAYNAME_ERROR=false;var DISPLAYNAME_INUSE=false;var GROUP_DESCRIPTION_ERROR=false;var GROUP_CATEGORY_ERROR=false;var GROUP_PICTURE_ERROR=false;function checkDisplayNameInUse()
{if($(&quot;groupname&quot;).value.strip()!==&quot;&quot;)
{var GroupName=fnReplaceHTMLTags($(&quot;groupname&quot;).value);var args=$H({groupName:GroupName});new Ajax.Updater({success:$(&quot;errorGroupNameAvailable&quot;)},vw_siteroot+&quot;/group/checkgroupnameinuse.sync&quot;,{method:'post',parameters:args.toQueryString(),evalScripts:true,onComplete:checkDisplayNameInUseCompleted});}}
function checkDisplayNameInUseCompleted(transport,json)
{showInlineMessage(&quot;errorGroupName&quot;,&quot;&quot;);DISPLAYNAME_INUSE=json[&quot;DISPLAYNAME_INUSE&quot;];$(&quot;errorGroupNameAvailable&quot;).show();}
function displayNameModified(e)
{if(e.keyCode!=9&amp;&amp;e.keyCode!=16)
{var displayName=$(&quot;groupname&quot;).value.strip();if(displayName.length&gt;0)
{DISPLAYNAME_ERROR=true;if(displayName.search(/\.(?:rails|sync|png|css|js|aspx|svc|axd)$/)&gt;=0)
{showInlineMessage(&quot;errorGroupName&quot;,&quot;This is a reserved name and cannot be used.&quot;);}
else
{showInlineMessage(&quot;errorGroupName&quot;,&quot;&quot;);DISPLAYNAME_ERROR=false;}}
else
{DISPLAYNAME_ERROR=false;}}}
function checkDisplayNameValidity()
{var displayName=$(&quot;groupname&quot;).value.strip();if(displayName==&quot;.&quot;||displayName==&quot;-&quot;||displayName[displayName.length-1]==&quot;.&quot;||displayName[displayName.length-1]==&quot;-&quot;)
{DISPLAYNAME_ERROR=true;showInlineMessage(&quot;errorGroupNameAvailable&quot;,strResourceMsg);}
else if(displayName.length&gt;=50)
{DISPLAYNAME_ERROR=true;showInlineMessage(&quot;errorGroupNameAvailable&quot;,strResourceMsg);}
else if(displayName.length===0)
{DISPLAYNAME_ERROR=true;showInlineMessage(&quot;errorGroupNameAvailable&quot;,strResourceMsg);}
else
{DISPLAYNAME_ERROR=false;}}
function checkGroupDescriptionNameValidity()
{var groupName=$(&quot;description&quot;).value.strip();groupName=fnReplaceHTMLTags(groupName);if(groupName.length&gt;1000)
{GROUP_DESCRIPTION_ERROR=true;showInlineMessage(&quot;errorGroupDescription&quot;,strResourceMsg);}
else if(groupName.length===0)
{GROUP_DESCRIPTION_ERROR=true;showInlineMessage(&quot;errorGroupDescription&quot;,strResourceMsg);}
else
{GROUP_DESCRIPTION_ERROR=false;}}
function checkDisplayDescriptionCompleted(transport,json)
{if(json[&quot;ErrorMessage&quot;]!==&quot;&quot;)
{showInlineMessage(&quot;errorGroupDescription&quot;,&quot;&quot;);showInlineMessage(&quot;errorGroupDescription2&quot;,json[&quot;ErrorMessage&quot;]);GROUP_DESCRIPTION_ERROR=true;}
else
{showInlineMessage(&quot;errorGroupDescription2&quot;,&quot;&quot;);GROUP_DESCRIPTION_ERROR=false;}}
function checkDisplayDescriptionForStopWords()
{if(trim($(&quot;description&quot;).value)!=&quot;&quot;)
{var args=$H({groupDescription:$(&quot;description&quot;).value});new Ajax.Updater({success:$(&quot;errorGroupDescription2&quot;)},vw_siteroot+&quot;/group/CheckGroupDescription.sync&quot;,{method:'post',parameters:args.toQueryString(),evalScripts:true,onComplete:function(transport,json){if(json.ErrorMessage!==&quot;&quot;){showInlineMessage(&quot;errorGroupDescription&quot;,&quot;&quot;);showInlineMessage(&quot;errorGroupDescription2&quot;,json.ErrorMessage);return false;}else{showInlineMessage(&quot;errorGroupDescription2&quot;,&quot;&quot;);}}});}}
function showInlineMessage(eltId,msg)
{document.getElementById(eltId).innerHTML=msg;if(msg!==&quot;&quot;)
{document.getElementById(eltId).style.visibility='visible';}
else
{document.getElementById(eltId).style.visibility='hidden';}}
function clearInlineMessages()
{showInlineMessage(&quot;errorGroupCategories&quot;,&quot;&quot;);showInlineMessage(&quot;errorGroupPicture&quot;,&quot;&quot;);showInlineMessage(&quot;errorGroupDescription&quot;,&quot;&quot;);showInlineMessage(&quot;errorGroupDescription2&quot;,&quot;&quot;);showInlineMessage(&quot;errorGroupName&quot;,&quot;&quot;);}
function clearEditInlineMessages()
{showInlineMessage(&quot;errorEditGroupPicture&quot;,&quot;&quot;);showInlineMessage(&quot;errorGroupDescription&quot;,&quot;&quot;);}
function validateCreateGroup(evt)
{checkDisplayNameValidity();if(!DISPLAYNAME_ERROR)
{checkDisplayNameInUse();}
checkDisplayDescriptionForStopWords();checkGroupDescriptionNameValidity();if(evt)
{Event.stop(evt);}
var avatar=$(&quot;avatar&quot;).value;var avatarext=avatar.substring(avatar.indexOf('.'),avatar.length).toLowerCase();if($(&quot;Category&quot;).value==&quot;-1&quot;||$(&quot;SubCategoryId&quot;).value==&quot;-1&quot;)
{showInlineMessage(&quot;errorGroupCategories&quot;,strResourceMsg);GROUP_CATEGORY_ERROR=true;}
else
{GROUP_CATEGORY_ERROR=false;}
if(avatarext!==&quot;&quot;&amp;&amp;avatarext!=&quot;.png&quot;&amp;&amp;avatarext!=&quot;.jpg&quot;&amp;&amp;avatarext!=&quot;.gif&quot;)
{showInlineMessage(&quot;errorGroupPicture&quot;,strResourceMsg);GROUP_PICTURE_ERROR=true;}
else
{GROUP_PICTURE_ERROR=false;}
if(DISPLAYNAME_ERROR||DISPLAYNAME_INUSE||GROUP_DESCRIPTION_ERROR||GROUP_PICTURE_ERROR||GROUP_CATEGORY_ERROR)
{return false;}
else
{$(&quot;frmnewgroup&quot;).submit();}}
function validateEditGroup(evt)
{var groupName=$('groupName').value.strip();var description=$(&quot;description&quot;).value.strip();if(description.length&gt;1000){showInlineMessage(&quot;errorGroupDescription&quot;,strResourceMsg);GROUP_DESCRIPTION_ERROR=true;}else if(description.length===0){showInlineMessage(&quot;errorGroupDescription&quot;,strResourceMsg);GROUP_DESCRIPTION_ERROR=true;}
var avatar=$(&quot;avatar&quot;).value;var avatarext=avatar.substring(avatar.indexOf('.'),avatar.length).toLowerCase();if(avatarext!==&quot;&quot;&amp;&amp;avatarext!=&quot;.png&quot;&amp;&amp;avatarext!=&quot;.jpg&quot;&amp;&amp;avatarext!=&quot;.gif&quot;){showInlineMessage(&quot;errorEditGroupPicture&quot;,strResourceMsg);GROUP_PICTURE_ERROR=true;}
if(GROUP_DESCRIPTION_ERROR||GROUP_PICTURE_ERROR){return false;}else{$(&quot;frmmanagegroup&quot;).submit();}}
function create_group()
{if(ismember==&quot;False&quot;)
{document.getElementById('ProfileWizard').style.display=&quot;block&quot;;document.getElementById('hdnCalledMethod').value=&quot;group&quot;;window.scroll(0,0);return false;}
else
{document.location=vw_siteroot+'/groups/create';}}
function join_group()
{if(ismember==&quot;False&quot;)
{document.getElementById('ProfileWizard').style.display=&quot;block&quot;;document.getElementById('hdnCalledMethod').value=&quot;joingroup&quot;;window.scroll(0,0);return false;}
else
{document.frmJoinGroup.submit();}}
function CreateTopic()
{var groupName=$('groupName').value;var topicName=$(&quot;topicName&quot;).value;var topicBody=$(&quot;topicBody&quot;).value;document.getElementById('errorMessageTitle').style.display='none';document.getElementById('errorMessageBody').style.display='none';if($(&quot;topicName&quot;).value.length===0){showInlineMessage(&quot;errorTopicName&quot;,&quot;The Topic name cannot be blank. Please enter a valid value and try again.&quot;);return false;}
if($(&quot;topicName&quot;).value.length&gt;256){showInlineMessage(&quot;errorTopicName&quot;,&quot;Please limit your topic to 256 characters.&quot;);return false;}
if($(&quot;topicBody&quot;).value.length&gt;1000){showInlineMessage(&quot;errorTopicBody&quot;,&quot;Please limit your comments to each topic to 1000 characters.&quot;);return false;}
new Ajax.Updater(document.getElementById('dvCreateNewTopic'),vw_siteroot+&quot;/group/createnewtopic.sync&quot;,{method:'post',parameters:$H({groupName:groupName,topicName:topicName,topicBody:topicBody}).toQueryString(),onComplete:function(transport,json){if(json.success=='False'){if(json.errorIn=='Name'){document.getElementById('errorMessageTitle').style.display='block';document.getElementById('errorMessageTitle').innerHTML=json.errorMsg;document.getElementById('newtopic').style.display='block';document.getElementById('topicName').value=json.topicName;document.getElementById('topicBody').value=json.topicBody;}else if(json.errorIn=='Body'){document.getElementById('errorMessageBody').style.display='block';document.getElementById('errorMessageBody').innerHTML=json.errorMsg;document.getElementById('newtopic').style.display='block';document.getElementById('topicBody').value=json.topicBody;document.getElementById('topicName').value=json.topicName;}else{document.getElementById('errSaveTopic'
).style.display='block';document.getElementById('errSaveTopic').innerHTML=json.errorMsg;document.getElementById('newtopic').style.display='block';}
return false;}else{document.getElementById('errSaveTopic').style.display='block';document.getElementById('errSaveTopic').innerHTML=json.errorMsg;document.location.href=vw_siteroot+&quot;/groups/&quot;+groupName+&quot;/topics/&quot;+json.SeoName;}}});}
function ToggleNewTopic()
{showInlineMessage(&quot;errorTopicName&quot;,&quot;&quot;);showInlineMessage(&quot;errorTopicBody&quot;,&quot;&quot;);document.getElementById('topicName').value=&quot;&quot;;document.getElementById('topicBody').value=&quot;&quot;;if(document.getElementById('newtopic').style.display=='none')
{document.getElementById('newtopic').style.display='block';document.getElementById('liCreateTopic').className='button selectedTab';}
else
{document.getElementById('newtopic').style.display='none';document.getElementById('liCreateTopic').className='button buttonStyle-secondary';}}
function SubmitFeedback(siteRoot)
{var formInValid;showInlineMessage(&quot;errorFeedbackSenderName&quot;,&quot;&quot;);showInlineMessage(&quot;errorFeedbackEmailID&quot;,&quot;&quot;);showInlineMessage(&quot;errorFeedbackComments&quot;,&quot;&quot;);if(trim($(&quot;f.name&quot;).value)==&quot;&quot;||trim($(&quot;f.name&quot;).value)==&quot;Your Name&quot;){showInlineMessage(&quot;errorFeedbackSenderName&quot;,strResourceMsg);$(&quot;f.name&quot;).value=&quot;Your Name&quot;;formInValid=true;}
if(trim($(&quot;f.email&quot;).value)==&quot;&quot;||trim($(&quot;f.email&quot;).value)==&quot;Your Email Address&quot;){showInlineMessage(&quot;errorFeedbackEmailID&quot;,strResourceMsg);formInValid=true;$(&quot;f.email&quot;).value=&quot;Your Email Address&quot;;}else if(trim($(&quot;f.email&quot;).value)!=&quot;&quot;){var email=$(&quot;f.email&quot;).value;var filter=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9])+\.)+([a-zA-Z0-9])+$/;if(!filter.test(email)){showInlineMessage(&quot;errorFeedbackEmailID&quot;,strResourceMsg);formInValid=true;}}
if(trim($(&quot;f.message&quot;).value)==&quot;&quot;||trim($(&quot;f.message&quot;).value)==&quot;Type your personal message.&quot;){showInlineMessage(&quot;errorFeedbackComments&quot;,strResourceMsg);formInValid=true;$(&quot;f.message&quot;).value=&quot;Type your personal message.&quot;;}
if(formInValid){return false;}else{$(&quot;submitFeedbackForm&quot;).action=siteRoot+&quot;/submitfeedback&quot;;$(&quot;submitFeedbackForm&quot;).submit();}}
function showSubmitError(msg)
{$(&quot;popuperrorbody&quot;).innerHTML=msg;var dummy=$(&quot;popuperror&quot;).getElementsByClassName(&quot;popuperrordummybody&quot;);var body=$(&quot;popuperror&quot;).getElementsByClassName(&quot;popuperrorbody&quot;);var myWidth=document.documentElement.clientWidth;var myHeight=document.documentElement.clientHeight;$(&quot;popuperror&quot;).show();if(dummy)
{dummy.setStyle({height:Element.getHeight(body)+&quot;px&quot;});}
var scrolledX,scrolledY;if(self.pageYoffset)
{scrolledX=self.pageXoffset;scrolledY=self.pageYoffset;}else if(document.documentElement&amp;&amp;document.documentElement.scrollTop)
{scrolledX=document.documentElement.scrollLeft;scrolledY=document.documentElement.scrollTop;}else if(document.body)
{scrolledX=document.body.scrollLeft;scrolledY=document.body.scrollTop;}
var centerX,centerY;if(self.innerHeight)
{centerX=self.innerWidth;centerY=self.innerHeight;}else if(document.documentElement&amp;&amp;document.documentElement.clientHeight)
{centerX=document.documentElement.clientWidth;centerY=document.documentElement.clientHeight;}else if(document.body)
{centerX=document.body.clientWidth;centerY=document.body.clientHeight;}
var leftoffset=scrolledX+(centerX-document.getElementById(&quot;popuperror&quot;).clientWidth)/2;var topoffset=scrolledY+(centerY-document.getElementById(&quot;popuperror&quot;).clientHeight)/2;var o=document.getElementById(&quot;popuperror&quot;);var r=o.style;r.position='absolute';r.top=topoffset+'px';r.left=leftoffset+'px';r.display=&quot;block&quot;;}
function $RF(el,radioGroup)
{if($(el).type&amp;&amp;$(el).type.toLowerCase()=='radio')
{radioGroup=$(el).name;var el=$(el).form;}
else if($(el).tagName.toLowerCase()!='form')
{return false;}
var checked=$(el).getInputs('radio',radioGroup).find(function(re){return re.checked;});return(checked)?$F(checked):'';}/*eval(function(p,a,c,k,e,d){while(c--){if(k){p=p.replace(new RegExp('\\b'+c+'\\b','g'),k)}}return p}('36={7:9(6,4,5,3){35(!6)34;4=4||\'\';5=5||\'\';3=3||\'\';33.32(\'31://30.29/28-27?26=2&amp;6=\'+6+\'&amp;4=\'+4+\'&amp;5=\'+5+\'&amp;3=\'+3,20 19().17(),\'21=1,22=1,15=0,13=1,25=1,11=1,18=23,14=12,10 = 24,8 =16\')}}',10,37,'|||topic|title|bodytext|url|remoteSubmit|top|function|left|resizable|360|statusbar|height|location|0|getTime|width|Date|new|toolbar|scrollbars|600|0|menubar|phase|submit|remote|com|digg|http|open|window|return|if|Digg'.split('|')))*/


Digg = {
      remoteSubmit: function(url, title, bodytext, topic) {
        if(!url) return; 
        title = title || ''; 
        bodytext = bodytext || ''; 
        topic = topic || '';
        window.open('http://digg.com/remote-submit?phase=2&amp;url='+url+'&amp;title='+title+'&amp;bodytext='+bodytext+'&amp;topic='+topic+'&amp;s=d797e79292867d0b9369ab247c9fac9b', new Date().getTime(),'toolbar=1,scrollbars=1,location=0,statusbar=1,menubar=1,resizable=1,width=650,height=450');
      }
  }


/* Copyright 2000-2004 Clickability Inc.  */
/* Clickability ButtonServer v4.01        */                                  

/*Functions*/
function getRegionpartnerID(TrackType)
{
  var regionCookie = dj.util.Cookie.getCookie('wsjregion');
  var defaultETRegion = 398944;
  var defaultPVRegion = 399154;

  if (typeof regionCookie !== &quot;string&quot; || regionCookie.length === 0)
  {
    return ((TrackType == &quot;ET&quot;) ? defaultETRegion : defaultPVRegion);
  }
  var regionid = regionCookie.split(',');
  var ET = {};
  var PV = {};

  if (TrackType == 'ET')
  {
    ET.na = defaultETRegion;
    ET.europe = 398949;
    ET.asia = 398954;
	ET.india = 398959;
    //  console.log(ET[regionid]);
	if(typeof regionid!== &quot;string&quot;)
	{
	return ET[regionid];
	}
	else
	{
	 return ((regionid.toLowerCase()==&quot;india&quot;) ? ET[regionid] : ET[regionid]);
	} 
  }
  else
  {
   PV.na = defaultPVRegion;
   PV.europe = 399159;
   PV.asia = 399164;
   PV.india = 399169;
   //  console.log(PV[regionid]);
   if(typeof regionid!== &quot;string&quot;)
	{
    return PV[regionid]; 
	}
	else 
	{ 
     return ((regionid.toLowerCase()==&quot;india&quot;) ? PV[regionid] : PV[regionid]);
    }
  }
}


function ST () {
	window.open('http://www.savethis.clickability.com/st/saveThisApp?clickMap=saveThis'+commonLoc,'click',popWin);
	return false;
}

function STMouseOver () {
	window.status='SAVE THIS';
	return true;
}

function STMouseOut () {
	window.status='';
	return true;
}

function ET () {
    	var _c=new Image();
     	var _qc='http://s.clickability.com/s?';
    	_qc+=&quot;&amp;7=&quot;+regionpartnerID;
    	_qc+=&quot;&amp;8=&quot;+escape(getEmailURL());
    	_qc+=&quot;&amp;10=&quot;+escape(getClickTitle());
    	_qc+=&quot;&amp;19=40003&quot;;
    	_qc+=&quot;&amp;21=1&quot;;
    	_qc+=&quot;&amp;18=&quot;+Math.random();
    	_c.src=_qc;

	window.open('http://www.emailthis.clickability.com/et/emailThis?clickMap=create'+commonLoc,'click',popWin);
	return false;
}

function ETMouseOver () {
	window.status='EMAIL THIS';
	return true;
}

function ETMouseOut () {
	window.status='';
	return true;
}

function MP () {
	window.open('http://at.wsj.com/mostpopular','click',popWin);
	return false;
}

function MPMouseOver () {
	window.status='MOST POPULAR';
	return true;
}

function MPMouseOut () {
	window.status='';
	return true;
}

function getClickURL() {
        if (self.clickURL) return clickURL;
        return document.location.href;
}

function getEmailURL() {
	if (self.emailURL)  return emailURL;
	return getClickURL();
}

function getClickTitle() {
	if (self.clickTitle) return clickTitle;
	return document.title;
}
function getClickExpire() {
	if (self.clickExpire) return clickExpire; 
	return &quot;&quot;;
}

//document.write('&lt;script language=&quot;JavaScript&quot;&gt; \n');
//document.write('window.onerror=function(){clickURL=document.location.href;return true;} \n');
//document.write('if(!self.clickURL) clickURL=parent.location.href; \n');
//document.write('&lt;\/script&gt; \n');

if(!self.clickURL)
{
 clickURL=parent.location.href;
}

/* WSJ.com Clickability Default Section Id/PV Id */
var PVpartnerID=&quot;59941&quot;,partnerID=&quot;150&quot;;
var regionpartnerID  = getRegionpartnerID('ET');
var PVregionpartnerID = getRegionpartnerID('PV');
/* WSJ.com Clickbility Section Id and PV Id mapping */

var section_pv = new Array(20);

section_pv[&quot;Technology&quot;]=&quot;110636&quot;;
section_pv[&quot;Tech&quot;]=&quot;110636&quot;;
section_pv[&quot;Markets&quot;]=&quot;110641&quot;;
section_pv[&quot;Market News&quot;]=&quot;110641&quot;;
section_pv[&quot;Personal Journal&quot;]=&quot;110651&quot;;
section_pv[&quot;Personal Finance&quot;]=&quot;110651&quot;;
section_pv[&quot;Opinion&quot;]=&quot;110646&quot;;
section_pv[&quot;Leisure/Weekend&quot;]=&quot;110656&quot;;
section_pv[&quot;Lifestyle&quot;]=&quot;110656&quot;;
section_pv[&quot;Life &amp; Style&quot;]=&quot;110656&quot;;
section_pv[&quot;Life &amp;#38; Style&quot;]=&quot;110656&quot;;
section_pv[&quot;Health&quot;]=&quot;110676&quot;;
section_pv[&quot;Media&quot;]=&quot;110671&quot;;

var section = new Array(20);

section[&quot;Technology&quot;]=&quot;110591&quot;;
section[&quot;Tech&quot;]=&quot;110591&quot;;
section[&quot;Markets&quot;]=&quot;110596&quot;;
section[&quot;Market News&quot;]=&quot;110596&quot;;
section[&quot;Personal Journal&quot;]=&quot;110606&quot;;
section[&quot;Personal Finance&quot;]=&quot;110606&quot;;
section[&quot;Opinion&quot;]=&quot;110601&quot;;
section[&quot;Leisure/Weekend&quot;]=&quot;110611&quot;;
section[&quot;Lifestyle&quot;]=&quot;110611&quot;;
section[&quot;Life &amp; Style&quot;]=&quot;110611&quot;;
section[&quot;Life &amp;#38; Style&quot;]=&quot;110611&quot;;
section[&quot;Health&quot;]=&quot;110631&quot;;
section[&quot;Media&quot;]=&quot;110626&quot;;

try {
  if(window.mpsection){
	  if(section_pv){
	  	PVpartnerID = section_pv;	
	  }
	  if(section){
	  	partnerID = section;	
	  }
	}
}catch(err){
  txt=&quot;ERROR.\n\n&quot;
  txt+=&quot;Error description: &quot; + err.description + &quot;\n\n&quot;
  txt+=&quot;Click OK to continue.\n\n&quot;
  console.error(txt);
}

var popWin=&quot;width=510,height=480,resizable=1,scrollbars=1&quot;;
var commonLoc=&quot;&amp;fb=Y&amp;url=&quot;+escape(getEmailURL())+&quot;&amp;title=&quot;+escape(getClickTitle())+&quot;&amp;random=&quot;+Math.random()+&quot;&amp;partnerID=&quot;+partnerID+&quot;&amp;expire=&quot;+escape(getClickExpire());

var inpop  = ( (document.domain.indexOf(&quot;printthis.clickability.com&quot;)&gt;-1)?true:false);
var _a=new Image();
var _b=new Image();
var clickRan=Math.random();
var clickFac = 10;
if(clickFac==0)clickFac=1;
if(!inpop &amp;&amp; clickRan&gt;(1-(1/clickFac))){
var _ti=900;
    var _qa=&quot;&quot;;
    var _qb=&quot;&quot;;
    

    // PAGE VIEW TRACKING
    var _qa='http://s.clickability.com/s?';
    _qa+=&quot;&amp;7=&quot;+PVpartnerID;
    _qa+=&quot;&amp;8=&quot;+escape(getClickURL());
    _qa+=&quot;&amp;10=&quot;+escape(getClickTitle());
    _qa+=&quot;&amp;19=&quot;+_ti;
    _qa+=&quot;&amp;21=&quot;+clickFac;
    _qa+=&quot;&amp;18=&quot;+Math.random();
    _a.src=_qa;
    // ET PAGEVIEW TRACKING
     var _qb='http://s.clickability.com/s?';
    _qb+=&quot;&amp;7=&quot;+partnerID;
    _qb+=&quot;&amp;8=&quot;+escape(getEmailURL());
    _qb+=&quot;&amp;10=&quot;+escape(getClickTitle());
    _qb+=&quot;&amp;19=&quot;+_ti;
    _qb+=&quot;&amp;21=&quot;+clickFac;
    _qb+=&quot;&amp;18=&quot;+Math.random();
    _b.src=_qb;


	 // PAGE VIEW REGION TRACKING
    var _qa='http://s.clickability.com/s?';
    _qa+=&quot;&amp;7=&quot;+PVregionpartnerID;
    _qa+=&quot;&amp;8=&quot;+escape(getClickURL());
    _qa+=&quot;&amp;10=&quot;+escape(getClickTitle());
    _qa+=&quot;&amp;19=&quot;+_ti;
    _qa+=&quot;&amp;21=&quot;+clickFac;
    _qa+=&quot;&amp;18=&quot;+Math.random();
    _a.src=_qa;

	
    // ET PAGEVIEW REGION TRACKING
     var _qb='http://s.clickability.com/s?';
    _qb+=&quot;&amp;7=&quot;+regionpartnerID;
    _qb+=&quot;&amp;8=&quot;+escape(getEmailURL());
    _qb+=&quot;&amp;10=&quot;+escape(getClickTitle());
    _qb+=&quot;&amp;19=&quot;+_ti;
    _qb+=&quot;&amp;21=&quot;+clickFac;
    _qb+=&quot;&amp;18=&quot;+Math.random();
    _b.src=_qb;
}

window.onresize = function () {
    for (var i=0; i&lt;document.links.length; i++) {
        document.links.onclick = document.links.onclick;
    }
}
dj.module.articleVisitHistory={_cookieName:&quot;articleVisitHistory&quot;,_maxNumberOfIds:30,init:function(){dj.util.Cookie.deleteGroupCookie(true,this._cookieName);this._deleteCookie(&quot;DJCOOKIE&quot;);},_setCookie:function(name,value,days){var expires=&quot;&quot;;if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));expires=&quot;; expires=&quot;+date.toGMTString();}
document.cookie=name+&quot;=&quot;+value+expires+&quot;; path=/; domain=online.wsj.com&quot;;},_deleteCookie:function(name){this._setCookie(name,&quot;&quot;,-1);}};
dj.module.articlePagination={init:function(){dj.util.History.init();this.oPages=$$(&quot;#articleTabs_panel_article .articlePage&quot;);if(typeof this.oPages==&quot;undefined&quot;||this.oPages===null){return;}
this.oPages.invoke(&quot;removeClassName&quot;,&quot;hidden&quot;);this.panelsName=&quot;articleTabs_panel_article&quot;;var numOfPages=this.oPages.length;this.paginationModel.setNumberOfPages(numOfPages);if(numOfPages&lt;2){return;}
var that=this;var page=1;dj.util.History.subscribe(that.panelsName,function(idx){that.paginationModel.setCurrent(idx-1);});this.paginationModel.subscribe(&quot;current&quot;,function(idx,arg){page=that.oPages;if(typeof page==&quot;undefined&quot;){return;}
that.oPages.invoke(&quot;setStyle&quot;,{display:&quot;none&quot;});page.setStyle({display:&quot;block&quot;});});this.paginationModel.subscribe(&quot;next&quot;,function(pg){that.paginationModel.setCurrent(that.paginationModel.getNext());});this.paginationModel.subscribe(&quot;prev&quot;,function(pg){that.paginationModel.setCurrent(that.paginationModel.getPrev());});this.paginationModel.subscribe(&quot;all&quot;,function(pg){that.oPages.invoke(&quot;setStyle&quot;,{display:&quot;block&quot;});});this.insertPagination(numOfPages,&quot;article_pagination_top&quot;,&quot;article_pagination_bottom&quot;);var currPid=dj.util.History.get(that.panelsName)||null;currPid=(currPid!==null&amp;&amp;currPid&lt;=numOfPages&amp;&amp;currPid&gt;0)?currPid:1;that.paginationModel.setCurrent(currPid-1);dj.util.History.set(this.panelsName,currPid);},paginationModel:function(){var currentPage=null;var numberOfPages=0;var obs=new dj.util.Observer(this);return{getPrev:function(){return(0&lt;=currentPage-1)?currentPage-1:currentPage;},getNext:function(){return(numberOfPages&gt;currentPage+1)?currentPage+1:currentPage;},getC
urrent:function(){return currentPage;},setNumberOfPages:function(num){numberOfPages=num;},getNumberOfPages:function(){return numberOfPages;},setCurrent:function(curr,arg){currentPage=curr;obs.fireByName(&quot;current&quot;,curr,arg);},doNext:function(arg){obs.fireByName(&quot;next&quot;,arg);},doPrev:function(arg){obs.fireByName(&quot;prev&quot;,arg);},doAll:function(arg){obs.fireByName(&quot;all&quot;,arg);},subscribe:function(name,callback){if(arguments.length==1){callback=name;name=&quot;current&quot;;}
obs.subscribeByName(name,callback);}};}(),insertPagination:function(){var aPagContainers=$A(arguments);var numOfPages=aPagContainers.shift();var model=this.paginationModel;var pgs=[];var that=this;aPagContainers.each(function(el,i){var oEl=$(el);var pg=that.buildPagination(numOfPages);model.subscribe(&quot;current&quot;,function(curr){if(!isNaN(curr)&amp;&amp;typeof pg.pgs!==&quot;undefined&quot;){if(curr===0){pg.prv.addClassName(&quot;disabled&quot;);}
else{pg.prv.removeClassName(&quot;disabled&quot;);}
if(curr==numOfPages-1){pg.nxt.addClassName(&quot;disabled&quot;);}
else{pg.nxt.removeClassName(&quot;disabled&quot;);}
pg.all.setStyle({display:&quot;block&quot;});pg.pgs.invoke(&quot;removeClassName&quot;,&quot;current&quot;);pg.pgs.addClassName(&quot;current&quot;);window.scrollTo(0,0);}});model.subscribe(&quot;all&quot;,function(){pg.all.setStyle({display:&quot;none&quot;});pg.pgs.invoke(&quot;removeClassName&quot;,&quot;current&quot;);window.scrollTo(0,0);});pg.pgs.each(function(page,idx){page.observe(&quot;click&quot;,function(ev){ev.stop();model.setCurrent(idx,page);dj.util.History.set(that.panelsName,idx+1);});});pg.nxt.observe(&quot;click&quot;,function(ev){ev.stop();model.doNext(pg);dj.util.History.set(that.panelsName,model.getCurrent()+1);});pg.prv.observe(&quot;click&quot;,function(ev){ev.stop();model.doPrev(pg);dj.util.History.set(that.panelsName,model.getCurrent()+1);});pg.all.observe(&quot;click&quot;,function(ev){ev.stop();model.doAll(pg);});oEl.insert(pg.cnt);});},buildPagination:function(numOfPages){var pCnt=new Element(&quot;div&quot;,{&quot;class&quot;:&quot;pagination&quot;});var pageGroup=new Element(&quot;ul&quot;,{&quot;class&quot;:&quot;listPages&quot;});pCnt.insert(pageGroup);var prevCnt=new Element(&quot;li&quot;,{&quot;class&quot;:&quot;listFirst&quot;});var prev=ne
w Element(&quot;a&quot;,{href:&quot;#articleTabs_panel_article=prev&quot;}).update(&quot;&amp;#171; Previous&quot;);prevCnt.insert(prev);pageGroup.insert(prevCnt);var pages=[],page=null;for(var i=1;i&lt;=numOfPages;i++){page=new Element(&quot;li&quot;,{&quot;class&quot;:((i!==1)?&quot;page&quot;:&quot;page current&quot;)});page.insert(new Element(&quot;a&quot;,{&quot;href&quot;:&quot;#articleTabs_panel_article=&quot;+i}).update(i));pageGroup.insert(page);pages.push(page);}
var nextCnt=new Element(&quot;li&quot;);var next=new Element(&quot;a&quot;,{href:&quot;#articleTabs_panel_article=next&quot;}).update(&quot;Next &amp;#187;&quot;);nextCnt.insert(next);pageGroup.insert(nextCnt);var allArt=new Element(&quot;a&quot;,{href:&quot;#articleTabs_panel_article=all&quot;,&quot;class&quot;:&quot;articleOnePage&quot;}).update(&quot;All On One Page&quot;);pCnt.insert(allArt);return{cnt:pCnt,pgs:pages,prv:prev,nxt:next,all:allArt};}};&lt;!-- fastdynapage - sbkj2kapachep06 - Sat 03/14/09 - 09:17:55 EDT --&gt;

--&gt;
&lt;/script&gt;
&lt;/script&gt;

&lt;!-- http://s.wsj.net/javascript/hat.js --&gt;
&lt;script  type=&quot;text/javascript&quot; &gt;
&lt;!--
/* hat js version 19 */
var hat = {

	search_keypress :function(e)
	{
		var key;
		if(window.event) key = window.event.keyCode;     //IE      
		else key = e.which;     //firefox

		if(key == 13) 
		{
			if (e.preventDefault)
			{ //firefox
				e.preventDefault();
				e.stopPropagation();
			}
			else
			{ //IE
				e.cancelBubble = true;
				e.returnValue = false;
			}
			this.search();                             
		}
	},

	search : function()	
	{	
	    try
	    {
	        var hatinput= document.getElementById(&quot;hat_input&quot;);
		    var query = hatinput.value;
		    
		    var site = this.thisSite();
		    if(site == &quot;MW&quot;)
			{
				// handled in global js
			}		   
		    else if(site == &quot;MWC&quot; || site == &quot;VSE&quot; || site == &quot;BC&quot;)	        
	        {
	            query = query.replace(/^\s+|\s+$/g,&quot;&quot;).replace(/,$|\.,$/, &quot;&quot;); //Trim and remove trailing periods/commas
	            query = query.replace(&quot;Enter Keyword\(s\)&quot;,&quot;&quot;);
	            if(query)
					window.location = 'http://www.marketwatch.com/search/?value='+query;
				else
					window.location = 'http://www.marketwatch.com/search';
	        }
	        else
	        {
	            // wsj
	            var baseDomain = 'http://'+document.domain;		        
		        query = query.replace(/^\s+|\s+$/g,&quot;&quot;).replace(/,$|\.,$/, &quot;&quot;); //Trim and remove trailing periods/commas
		        var searchURL = baseDomain + ((loggedIn)?'/search':'/public/search/page/3_0466.html') + '?KEYWORDS='+escape(query);
		        window.location = searchURL;
		    }
		}
		catch(ex){}
	},
		
	search_form : function()
	{
		var hat_searchform = document.getElementById(&quot;hat_searchform&quot;);
		if(hat_searchform) hat_searchform.submit();
	},

    hideEl : function(id)
    {
        var el = document.getElementById(id);
        if(el &amp;&amp; el.style) 
        {
            el.olddisplay = el.style.display;
            el.style.display = &quot;none&quot;;
        }
    },

    showEl : function(id)
    {
        var el = document.getElementById(id);
        if(el &amp;&amp; el.style) 
        {
            el.style.display = el.olddisplay || &quot;block&quot;;
        }
    },
    
	moremenu : function()
	{
	    try
	    {
			if(this.moreTimeout)
			{
				clearTimeout(this.moreTimeout);
				this.moreTimeout = null;
				return;
			}
	    
		    this.showEl(&quot;hat_more_menu&quot;);		
    		
		    var moretab = document.getElementById(&quot;hat_tab5&quot;);
		    moretab.className = &quot;hat_tab hat_more_sel&quot;;
    		
		    if(document.all) 
		    {
				var el = document.getElementById(&quot;wsjCRSelectDrpdwn&quot;);		    
				if(el &amp;&amp; el.style) 
				{				
					el.style.visibility = &quot;hidden&quot;;
				}		      
			}
		}
		catch(ex) {}
	},	

	moreTimeout : null,

	moremenuhide : function()
	{
		if(!this.moreTimeout)		
			this.moreTimeout = setTimeout(this.moremenuhidedelayed, 100);
	},
	
	moremenuhidedelayed : function()
	{
	    try
	    {	    
			hat.moreTimeout = null;
		    hat.hideEl(&quot;hat_more_menu&quot;);

		    var moretab = document.getElementById(&quot;hat_tab5&quot;);
		    moretab.className =&quot;hat_tab&quot;;		
    		
		    if(document.all) 
		    {
				var el = document.getElementById(&quot;wsjCRSelectDrpdwn&quot;);		   		        
		        if(el &amp;&amp; el.style) 
				{				
					el.style.visibility = &quot;visible&quot;;
				}	
		    }
		}
		catch(ex) {}	
	},
	
	tabover : function(el)
	{	
	    try
	    {
		    if(el.className != &quot;hat_tabsel&quot;)
			{
                if (el.srcElement) //IE
                {
                    if (el.srcElement.parentNode.tagName == &quot;LI&quot;) {
                        el = el.srcElement.parentNode;
                    }
                }
                el.className = &quot;hat_tab hat_tab_over&quot;;
            }
        }
		catch(ex) {}			    
	},

	tabout : function(el)
	{
	    try
	    {
            if(el.className != &quot;hat_tabsel&quot;)
	        {
                if (el.srcElement) //IE
                {
                    if (el.srcElement.parentNode.tagName == &quot;LI&quot;) {
                        el = el.srcElement.parentNode;
                    }
                }
                el.className = &quot;hat_tab&quot;;
            }
		}
        catch(ex){}	     
	},
		
	menuover : function(el)
	{
	    if(el.srcElement)  // IE added element
	    {			
			el = el.srcElement;
			if(el.tagName == &quot;A&quot;) el = el.parentNode;
		}
        if(el) el.className = &quot;hat_drop_item hat_drop_item_sel&quot;;
	},
	
	menuout : function(el)
	{
	    if(el.srcElement)  
	    {
			el = el.srcElement;
			if(el.tagName == &quot;A&quot;) el = el.parentNode;
		}
		if(el) el.className = &quot;hat_drop_item&quot;;
	},
	
	inputfocus : function(searchField)
	{
	    try
	    {
            var index = searchField.className.indexOf(&quot;hat_unused&quot;);
            if (index &gt;= 0)
            {
                searchField.value = &quot;&quot;;
                searchField.className = &quot;hat_input&quot;;
            }
		}
        catch(ex){}	                
	},
	
	updateAnchorText : function(anchor, text)
	{
	    if(anchor.innerHTML != text)
	    {
		    // needed for IE - innerHTML breaks things
		    if(anchor.firstChild) 
		    {
				anchor.removeChild(anchor.firstChild);
			}
		    anchor.appendChild(document.createTextNode(text));
        }
	},
	
	updateAnchorHref : function(anchor, href)
	{
	    if(anchor.href != href) 
	    {
	        anchor.href = href;
	    }
	},
	
	updateChangeTab : function(tabnumber, text, url, linkTo, newId )
	{
	    {
	        var anchor = document.getElementById(&quot;hat_link&quot;+tabnumber);
	        if(anchor)
	        {
	            if (text != null) hat.updateAnchorText(anchor, text);
	            if (url) hat.updateAnchorHref(anchor, url);
	            if (linkTo) hat.updateAddTrackingOnclick(anchor, linkTo);
	        }
            else 
            {
                hat.updateAddChangeTab(tabnumber, text, url, linkTo);
            }
	        
	        if(newId)
	        {
	              var tab = document.getElementById(&quot;hat_tab&quot; + tabnumber);
	              tab.id = newId;
	        }
        }   
	},

    updateAddChangeTab: function(tabnumber, text, url, linkTo) {

        var hat_div = document.getElementById(&quot;hat_div&quot;);
        var hat_tab5 = document.getElementById(&quot;hat_tab5&quot;); // the &quot;More&quot; tab
        var hat_tabs;

        // get the tabs list element
        for (var i = 0; i &lt; hat_div.childNodes.length; i++) {
            if (hat_div.childNodes.className == &quot;hat_tabs&quot;) {
                hat_tabs = hat_div.childNodes;
            }
        }

        var newItem = document.createElement(&quot;li&quot;);
        var anchor = document.createElement(&quot;a&quot;);
        newItem.appendChild(anchor);

        newItem.className = &quot;hat_tab&quot;;
        newItem.setAttribute(&quot;id&quot;, &quot;hat_tab&quot; + tabnumber);

        if (newItem.attachEvent) //IE
        {
            newItem.attachEvent(&quot;onmouseover&quot;, hat.tabover);
            newItem.attachEvent(&quot;onmouseout&quot;, hat.tabout);
        }
        else {
            newItem.setAttribute(&quot;onmouseover&quot;, &quot;hat.tabover(this)&quot;);
            newItem.setAttribute(&quot;onmouseout&quot;, &quot;hat.tabout(this)&quot;);
        }

        anchor.href = url;
        anchor.setAttribute(&quot;id&quot;, &quot;hat_link&quot; + tabnumber);

        if (hat_tabs) hat_tabs.insertBefore(newItem, hat_tab5);

    },
	
	updateChangeMoreItem : function(morenumber, text, url, linkTo)
	{
	    var moreli = document.getElementById(&quot;hat_more&quot;+morenumber);
	    if(moreli &amp;&amp; moreli.childNodes)
	    {
	        for(var i=0;i&lt;moreli.childNodes.length;i++)
	        {
	            var node = moreli.childNodes;
	            var tag = node.tagName;
	            if(tag &amp;&amp; tag.toLowerCase() == &quot;a&quot;)
	            {
					if (text != null) hat.updateAnchorText(node, text);
	                if (url) hat.updateAnchorHref(node, url);
	                if (linkTo) hat.updateAddTrackingOnclick(node, linkTo);
	                break;
	            }
	        }     
	    }
	    else
	    {
			hat.updateAddMoreItem(morenumber, text, url, linkTo);
		}
	},
	
	updateRemoveMoreItem : function(morenumber)
	{
	    var moreli = document.getElementById(&quot;hat_more&quot;+morenumber);
	    var hat_more_menu = document.getElementById(&quot;hat_more_menu&quot;);
	    if(moreli &amp;&amp; hat_more_menu)
	    {
	        hat_more_menu.removeChild(moreli);
	    }
	},
	
	updateAddTrackingOnclick : function(anchor, linkTo)
	{
		if(anchor.attributes[&quot;onclick&quot;])
		{
			if(anchor.attributes[&quot;onclick&quot;].nodeValue == (&quot;hat.track('&quot; + linkTo + &quot;')&quot;)) 
				return;
			anchor.removeAttribute(&quot;onclick&quot;);
		}
		
		if(anchor.attachEvent) // IE
	    {	
			anchor.attachEvent(&quot;onclick&quot;, hat.track);
		}
		else
		{
			anchor.addEventListener(&quot;click&quot;, hat.track, false);
		}
		anchor.linkTo = linkTo;
	},
	
	updateAddMoreItem : function(morenumber, text, url, linkTo)
	{
	    var hat_more_menu = document.getElementById(&quot;hat_more_menu&quot;);
	    var newItem = document.createElement(&quot;li&quot;);
	    var anchor = document.createElement(&quot;a&quot;);
	    newItem.appendChild(anchor);	
	    
	    newItem.className = &quot;hat_drop_item&quot;;
	    newItem.setAttribute(&quot;id&quot;,&quot;hat_more&quot; + morenumber);
	    	    
	    if(newItem.attachEvent) // IE
	    {	    
	        newItem.attachEvent(&quot;onmouseover&quot;, hat.menuover);
	        newItem.attachEvent(&quot;onmouseout&quot;, hat.menuout);
	    }
	    else	    
	    {
	        newItem.setAttribute(&quot;onmouseout&quot;, &quot;hat.menuout(this)&quot;);
	        newItem.setAttribute(&quot;onmouseover&quot;, &quot;hat.menuover(this)&quot;);	
	    }
	    
		
		anchor.href = url;
		anchor.appendChild(document.createTextNode(text));
		
		hat.updateAddTrackingOnclick(anchor,linkTo);			
	    
	    if(hat_more_menu) hat_more_menu.appendChild(newItem);
	},
	
	track : function(evt)
	{
		try		
		{
			var linkTo;
			if(evt[&quot;target&quot;]) 
			{
				linkTo = evt[&quot;target&quot;][&quot;linkTo&quot;];
			}
			else if(evt[&quot;srcElement&quot;]) 
			{
				linkTo = evt[&quot;srcElement&quot;][&quot;linkTo&quot;];
			}
			else
			{
				linkTo = evt;
			}
						
			var link = &quot;dnh_&quot; + hat.thisSite() +'2' + linkTo;
			link = link.toLowerCase();

			if(s) s.tl(true, 'o', link);
		}
		catch(ex){}
	},		
	
	updateSelectTab : function(tabnumber)
	{
	    for(var i=1;i&lt;=4;i++)
	    {
	        var tab = document.getElementById(&quot;hat_tab&quot; + i);
	        if(tab) tab.className = (i == tabnumber ? &quot;hat_tabsel&quot; : &quot;hat_tab&quot;);
	    }
	},	
	
	// get the current site
	thisSite : function()
	{
	    var hat_div = document.getElementById(&quot;hat_div&quot;);
	    if(hat_div)
	    {
			var cl = hat_div.className;
			if(cl.match(/hat_eur/)) return &quot;EUR&quot;;
			if(cl.match(/hat_spa/)) return &quot;SPA&quot;;
			if(cl.match(/hat_por/)) return &quot;POR&quot;;
			if(cl.match(/hat_chi/)) return &quot;CHI&quot;;
			if(cl.match(/hat_asia/)) return &quot;ASIA&quot;;
			if(cl.match(/hat_wsj/)) return &quot;WSJ&quot;;			
			if(cl.match(/hat_mwc/)) return &quot;MWC&quot;;
			if(cl.match(/hat_mw/))  return &quot;MW&quot;;			
			if(cl.match(/hat_bol/)) return &quot;BOL&quot;;
			if(cl.match(/hat_atd/)) return &quot;ATD&quot;;
			if(cl.match(/hat_vse/)) return &quot;VSE&quot;;
			if(cl.match(/hat_bc/))  return &quot;BC&quot;;
	    }
	    return &quot;&quot;;
	},
	
	// make a link to a site	
	updateBuildLink : function(url)
	{
		var site = hat.thisSite();
		var query = &quot;?reflink=&quot;;
		
		switch(site)
		{
			case &quot;WSJ&quot;: 
				if(url.match(/wsj/i))  query = &quot;?MOD=&quot;;
				break;
			case &quot;BOL&quot;:
				if(url.match(/barrons/i)) query = &quot;?MOD=&quot;;
				break;		
			case &quot;ATD&quot;:
				if(url.match(/allthingsd/i)) query = &quot;?link=&quot;;
				break
			case &quot;VSE&quot;:
				if(url.match(/vse/i)) query = &quot;?dist=&quot;;			
				break;
			case &quot;BC&quot;:	
				if(url.match(/bigcharts/i)) query = &quot;?dist=&quot;;			
				break;
			case &quot;MWC&quot;:
				if(url.match(/community/i)) query = &quot;?dist=&quot;;			
				break;
			case &quot;MW&quot;:
				if(url.match(/marketwatch/i) &amp;&amp; !url.match(/vse/i) &amp;&amp; !url.match(/bigcharts/i) &amp;&amp; !url.match(/community/i)) 
					query = &quot;?dist=&quot;;
				break;
		}
		return url + query + &quot;DNH_&quot; + site;
	},
	
	updateBuildMODLink : function(url)
	{
		return url + &quot;?MOD=DNH_&quot; + hat.thisSite();
	},
		
	updateShowHat : function()
	{
		var hat_div = document.getElementById(&quot;hat_div&quot;);
	    if(hat_div)
	    {
	        hat_div.className += &quot; hat_visible&quot;;
		}
	
	},
	
	
	// call this function after hat_div is rendered to execute any updates
	update : function()
	{
	    try
	    {
	        var cookie = document.cookie;	
	        var wsjregion;
	        var regionindex = cookie.indexOf(&quot;wsjregion&quot;);
	        var WSJRenoApp = true;
	        if(regionindex != -1)
	        {
		    // For WSJ Renovated apps	
	            if((typeof window.currentRegion)=='undefined') {		
	            	var regioncookie = dj.util.Region.getViewByRegion();
	            	if(regioncookie != &quot;na,us&quot; ) wsjregion = regioncookie;
	            }else{
	            	WSJRenoApp = false;
	            	// For rest of WSJ apps
	                if(currentRegion != ''){
	            		var regioncookie = currentRegion;
	            		if(regioncookie != &quot;na,us&quot; ) wsjregion = regioncookie;
	                }else{
				var regioncookie = GetCookie(&quot;wsjregion&quot;);
				if (regioncookie.indexOf(&quot;reset&quot;) != -1) {
					currentRegion = regioncookie.substring(0,regioncookie.indexOf(&quot;reset&quot;) - 1);
				}else{
					currentRegion = regioncookie;
				}
				if(currentRegion != &quot;na,us&quot; ) wsjregion = currentRegion;
		        }
	            }
	            
	        }
	        
	        if((typeof window.overrideWSJRenoApp) !=='undefined'){
				WSJRenoApp = false;
			}
	       		       	    
	        if(!wsjregion)
	        {
		    
			    if(!WSJRenoApp){
				    hat.updateChangeTab(1,&quot;&quot;,&quot;http://online.wsj.com/home&quot;,&quot;WSJ&quot;);
				    hat.updateChangeTab(2,&quot;&quot;,&quot;http://www.marketwatch.com/&quot;,&quot;MW&quot;);
				    hat.updateChangeTab(3,&quot;&quot;,&quot;http://online.barrons.com/home&quot;,&quot;BOL&quot;);
				    hat.updateChangeTab(4,&quot;&quot;,&quot;http://allthingsd.com/&quot;,&quot;ATD&quot;);
                    /* Tab with index 5 is reserved for the More tab.  Resulting tabs will be inserted before the More tab */
                    hat.updateChangeTab(6, &quot;&quot;, &quot;http://www.smartmoney.com&quot;, &quot;SM&quot;);
		        }
	            hat.updateChangeMoreItem(1,&quot;BigCharts&quot;,&quot;http://bigcharts.marketwatch.com/&quot;,&quot;BC&quot;);
	            hat.updateChangeMoreItem(2,&quot;Virtual Stock Exchange&quot;,&quot;http://vse.marketwatch.com/Game/Homepage.aspx&quot;,&quot;VSE&quot;);
	            hat.updateChangeMoreItem(3,&quot;FiLife.com&quot;,&quot;http://www.filife.com&quot;,&quot;FLF&quot;);
	            hat.updateChangeMoreItem(4,&quot;WSJ Asia&quot;,&quot;http://asia.wsj.com/&quot;,&quot;ASIA&quot;);
	            hat.updateChangeMoreItem(5,&quot;WSJ Europe&quot;,&quot;http://europe.wsj.com/&quot;,&quot;EUR&quot;);
	            hat.updateChangeMoreItem(6,&quot;WSJ Portuguese&quot;,&quot;http://online.wsj.com/portuguese&quot;,&quot;POR&quot;);	        
	            hat.updateChangeMoreItem(7,&quot;WSJ Spanish&quot;,&quot;http://online.wsj.com/americas&quot;,&quot;SPA&quot;);	        
	            hat.updateChangeMoreItem(8,&quot;WSJ Chinese&quot;,&quot;http://chinese.wsj.com/gb/index.asp&quot;,&quot;CHI&quot;);
				hat.updateChangeMoreItem(9,&quot;Financial News Online&quot;,&quot;http://www.efinancialnews.com/&quot;,&quot;FNO&quot;);
				hat.updateChangeMoreItem(10,&quot;Far Eastern Economic Review&quot;,&quot;http://www.feer.com/&quot;,&quot;FEER&quot;);             
			}	
			else if(wsjregion == &quot;asia&quot; || wsjregion == &quot;asia,india&quot;) 
	        {
			    if(!WSJRenoApp){	        
			            hat.updateChangeTab(1,&quot;&quot;,&quot;http://online.wsj.com/home&quot;,&quot;WSJ&quot;);
				    hat.updateChangeTab(2,&quot;&quot;,&quot;http://chinese.wsj.com/gb/index.asp&quot;,&quot;CHI&quot;,&quot;hat_tabchi&quot;);
				    hat.updateChangeTab(3,&quot;&quot;,&quot;http://www.feer.com&quot;,&quot;FEER&quot;,&quot;hat_tabfeer&quot;);
				    hat.updateChangeTab(4,&quot;&quot;,&quot;http://www.marketwatch.com/&quot;,&quot;MW&quot;,&quot;hat_tab2&quot;);
			    }	
		    
				hat.updateChangeMoreItem(1,&quot;SmartMoney.com&quot;,&quot;http://www.smartmoney.com/&quot;,&quot;SM&quot;);
                hat.updateChangeMoreItem(2,&quot;BigCharts&quot;,&quot;http://bigcharts.marketwatch.com/&quot;,&quot;BC&quot;);
	            hat.updateChangeMoreItem(3,&quot;Virtual Stock Exchange&quot;,&quot;http://vse.marketwatch.com/Game/Homepage.aspx&quot;,&quot;VSE&quot;);	            
	            hat.updateChangeMoreItem(4,&quot;All Things D&quot;,&quot;http://allthingsd.com/&quot;,&quot;ATD&quot;);
	            hat.updateChangeMoreItem(5,&quot;Barron's&quot;,&quot;http://online.barrons.com/home&quot;,&quot;BOL&quot;);	            
	            hat.updateChangeMoreItem(6,&quot;Financial News Online&quot;,&quot;http://www.efinancialnews.com/&quot;,&quot;FNO&quot;);			    
	            hat.updateChangeMoreItem(7,&quot;FiLife.com&quot;,&quot;http://www.filife.com&quot;,&quot;FLF&quot;);
	            hat.updateChangeMoreItem(8,&quot;WSJ Portuguese&quot;,&quot;http://online.wsj.com/portuguese&quot;,&quot;POR&quot;);	        
	            hat.updateChangeMoreItem(9,&quot;WSJ Spanish&quot;,&quot;http://online.wsj.com/americas&quot;,&quot;SPA&quot;);	        	            
	        }
            else if(wsjregion == &quot;europe&quot;)
	        {
			    if(!WSJRenoApp){
		            hat.updateChangeTab(1,&quot;&quot;,&quot;http://online.wsj.com/home&quot;,&quot;WSJ&quot;);
				    hat.updateChangeTab(2,&quot;&quot;,&quot;http://www.marketwatch.com/&quot;,&quot;MW&quot;);
		            hat.updateChangeTab(3,&quot;&quot;,&quot;http://online.barrons.com/home&quot;,&quot;BOL&quot;);
				    hat.updateChangeTab(4,&quot;&quot;,&quot;http://www.efinancialnews.com/&quot;,&quot;FNO&quot;,&quot;hat_tabfno&quot;);
			    }  		    
			    hat.updateChangeMoreItem(1,&quot;SmartMoney.com&quot;,&quot;http://www.smartmoney.com/&quot;,&quot;SM&quot;);
			    hat.updateChangeMoreItem(2,&quot;BigCharts&quot;,&quot;http://bigcharts.marketwatch.com/&quot;,&quot;BC&quot;);
			    hat.updateChangeMoreItem(3,&quot;All Things D&quot;,&quot;http://allthingsd.com/&quot;,&quot;ATD&quot;);
	            hat.updateChangeMoreItem(4,&quot;Virtual Stock Exchange&quot;,&quot;http://vse.marketwatch.com/Game/Homepage.aspx&quot;,&quot;VSE&quot;);	            	            
	            hat.updateChangeMoreItem(5,&quot;WSJ India&quot;,&quot;http://india.wsj.com&quot;,&quot;IND&quot;);	            
	            hat.updateChangeMoreItem(6,&quot;WSJ Portuguese&quot;,&quot;http://online.wsj.com/portuguese&quot;,&quot;POR&quot;);
	            hat.updateChangeMoreItem(7,&quot;WSJ Spanish&quot;,&quot;http://online.wsj.com/americas&quot;,&quot;SPA&quot;);
	            hat.updateChangeMoreItem(8,&quot;WSJ Chinese&quot;,&quot;http://chinese.wsj.com/gb/index.asp&quot;,&quot;CHI&quot;);
	            hat.updateChangeMoreItem(9,&quot;FiLife.com&quot;,&quot;http://www.filife.com&quot;,&quot;FLF&quot;);
	        }	        
	        
	        hat.updateShowHat();
	    }
	    catch(ex)	    
	    {
	    }
	},
	
	hatMaxInitPolling : 200,
	
	init : function()
    {
	    try
	    {
		    var el = document.getElementById(&quot;hat_div&quot;);		
		    if (el &amp;&amp; hat &amp;&amp; hat.update &amp;&amp; typeof(hat.update) === &quot;function&quot;)
		    {
			    hat.update();
		    }
		    else
		    {
		        hat.hatMaxInitPolling--;
			    if (hat.hatMaxInitPolling &gt; 0)
				    setTimeout(hat.init, 50);
		    }
	    }
	    catch(ex)
	    {
	    }
    }	
};

hat.init();

--&gt;
&lt;/script&gt;
&lt;/script&gt;

&lt;!-- http://s.wsj.net/javascript/package/dj/module/mostPopularTab.js --&gt;
&lt;script  type=&quot;text/javascript&quot; &gt;
&lt;!--
dj.module.mostPopularTab = {
  init: function() {
    var _tabIds = [&quot;mostRead&quot;, &quot;mostEmailed&quot;, &quot;mostPopularVideo&quot;, &quot;mostCommented&quot;];
    
    this.pnl = dj.widget.panels.PanelsFactory.create(&quot;mostPopularTab&quot;, {
      core: {
        panelPrefix: &quot;mostPopularTab_panel_&quot;,
        panels: _tabIds
      },
      tabs: {
        tabPrefix: &quot;mostPopularTab_tab_&quot;,
        tabOnStyle: &quot;selectedTab&quot;,
        tabOffStyle: &quot;deselected&quot;
      }
    });

    var that = this;
    this.pnlRss = dj.widget.panels.PanelsFactory.create(&quot;mostPopularTab&quot;, {
      core: {
        panelPrefix: &quot;mostPopularTab_rssPanel_&quot;,
        panels: _tabIds,
        controller: that.pnl
      }
    });
  }
};

--&gt;
&lt;/script&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
/* &lt;![CDATA[ */
var jsexec = dj.util.JSExec(dj.context.jsexec);
try { console.group(&quot;DJ JSExec:&quot;); console.info(&quot;[ begin jsexec ]&quot;); }
catch (e) { var djp=djperf; var _fnc = function(){}; console = {log: _fnc, info: _fnc, error: _fnc, dir: _fnc, group: _fnc, groupEnd: _fnc}; }
//------------------------------


jsexec(0,&quot;dj.util.Tracking.omniture.init&quot;,function(){dj.util.Tracking.omniture.init();}); 
jsexec(1,&quot;djPerf.mark&quot;,function(){djPerf.mark('JSEXEC: 0-to-9');}); 
jsexec(2,&quot;dj.module.networkHatLoader&quot;,function(){dj.module.networkHatLoader = new dj.widget.networkHat.AutoComplete();dj.module.globalHeader.initialize();}); 
jsexec(3,&quot;dj.util.Tracking.omniture.delayFirePixel&quot;,function(){dj.util.Tracking.omniture.delayFirePixel();}); 
jsexec(4,&quot;dj.module.inlineLogin&quot;,function(){dj.module.inlineLogin = new dj.widget.panel.ModalPanel('login','login_module',{openModalPanelEvent : &quot;click&quot;, closeModalPanelEvent : &quot;blur&quot;, closeModalPanelButtonSelector : &quot;.closeLogin&quot;,closeModalPanelEventForButtonSelector : &quot;click&quot;});}); 
jsexec(5,&quot;setMetaData&quot;,function(){setMetaData('atype','Wonder Land');setMetaData('csource','WSJ Print');setMetaData('aheadline','The Obama Rosetta Stone');setMetaData('abasedocid','SB123681860305802821');setMetaData('subsection','Opinion');setMetaData('sitedomain','online.wsj.com');setMetaData('pagename','Wonder Land_SB123681860305802821');setMetaData('displayname','Default Article Layout');setMetaData('primaryproduct','Online Journal');setMetaData('section','Article');setMetaData('apage','Opinion');setMetaData('ctype','article');setMetaData('caccess','free');setMetaData('author','Daniel Henninger');setMetaData('apublished','2009-03-12T00:01:00');}); 
jsexec(6,&quot;dj.util.Tracking.omniture.firePixel&quot;,function(){dj.util.Tracking.omniture.firePixel();}); 
jsexec(7,&quot;dj.module.freeReg.init&quot;,function(){dj.module.freeReg.init();}); 
jsexec(8,&quot;dj.module.articleTabs.init&quot;,function(){dj.module.articleTabs.init(dj.module.articleTabs)}); 
jsexec(9,&quot;dj.module.mostPopularTab.init&quot;,function(){dj.module.mostPopularTab.init();}); 
jsexec(10,&quot;dj.context.article&quot;,function(){dj.context.article={};dj.context.article.videoTabPlayObserver=new dj.util.Observer(); dj.module.articleVisitHistory.init();dj.module.articlePagination.init();dj.util.User.isSubLoggedIn( function(loggedIn) {if (!loggedIn) {dj.context.article.tips=new dj.widget.panel.Tooltip('.tipTree','.tipTargetBox','.tipTarget','.tooltipBox');}});}); 
jsexec(11,&quot;dj.widget.panel.SelectDropdownPanel&quot;,function(){new dj.widget.panel.SelectDropdownPanel('MoreIndustries_Container');}); 
jsexec(12,&quot;dj.module.articleTextTab&quot;,function(){dj.module.articleTextTab=new dj.widget.article.text.ArticleTabText(dj.module.articleTabs.panels,dj.context.article.videoTabPlayObserver);}); 
jsexec(13,&quot;dj.module.articleTools.Initilizer&quot;,function(){new dj.module.articleTools.Initilizer('abtt',true,true);}); 
jsexec(14,&quot;dj.module.articleTextTab.registervideo&quot;,function(){
dj.module.articleTextTab.registervideo('articlevideo_1','D7685BA6-5E9B-432C-8DC6-06DF7DCB217B','','','Wonder Land Columnist Daniel Henninger on the latest autobiographical work from Barack Obama.');
}); 
jsexec(15,&quot;dj.module.articleTools.Initilizer&quot;,function(){new dj.module.articleTools.Initilizer('abt',false,false,true);}); 
jsexec(16,&quot;if&quot;,function(){if(document.referrer.include('yahoo.com') || dj.util.Page.getQueryParam('mod').include('yahoo')){$('yahooLinkback').removeClassName('hidden');}}); 
jsexec(17,&quot;if&quot;,function(){if(document.referrer.include('msn.com') || (dj.util.Page.hasQueryParam('mod')&amp;&amp;dj.util.Page.getQueryParam('mod').include('msn'))){$('msnLinkback').removeClassName('hidden');}}); 
jsexec(18,&quot;dj.module.emailSignUpNonSub.init&quot;,function(){dj.module.emailSignUpNonSub.init();}); 
jsexec(19,&quot;dj.module.emailSignUp.init&quot;,function(){dj.module.emailSignUp.init();}); 
jsexec(20,&quot;dj.module.emailSignUp.init&quot;,function(){dj.module.emailSignUp.init();}); 
jsexec(21,&quot;dj.module.loom&quot;,function(){dj.module.loom = new dj.module.loomia.Initilizer();}); 
jsexec(22,&quot;dj.module.videoModule.init&quot;,function(){dj.module.videoModule.init();}); 
jsexec(23,&quot;dj.module.carouselHighlightsLeft&quot;,function(){dj.module.carouselHighlightsLeft = function() {  var pnls = dj.widget.panels.PanelsFactory.create(&quot;carouselHighlightsLeft&quot;, {    core: {panelIncrement: 1}, carousel: {}, rotator: {rotateTime: 0}  });    var flashLinePanel = dj.widget.panels.PanelsFactory.create(&quot;carouselHighlightsLeft&quot;, {    core: {panelGroup: &quot; &quot;, panel: &quot;.dynamic&quot;, controller: pnls}  });    return {panels: pnls, flashLine: flashLinePanel};}();}); 
jsexec(24,&quot;dj.module.articleVideoPlayer&quot;,function(){dj.module.articleVideoPlayer = new dj.widget.article.video.ArticleTabVideo(dj.module.articleTabs.panels,dj.context.article.videoTabPlayObserver);}); 
jsexec(25,&quot;dj.module.articleVideoPlayer.register&quot;,function(){
dj.module.articleVideoPlayer.register('D7685BA6-5E9B-432C-8DC6-06DF7DCB217B');
}); 
jsexec(26,&quot;dj.module.uberHat&quot;,function(){dj.module.uberHat = new dj.widget.uberHat.UberHat({&quot;divExists&quot;:true}); dj.module.survey = new dj.widget.survey.SurveyPopup({&quot;url&quot;:&quot;http://survey.confirmit.com/wix2/p770001175.aspx&quot;, &quot;width&quot;:550, &quot;height&quot;:525, &quot;cookieName&quot;:&quot;hiltonSurvey&quot;, &quot;windowName&quot;:&quot;hiltonSurvey&quot;, &quot;userHasRole&quot;:&quot;HILTON&quot;, &quot;enableInterval&quot;:&quot;60s+&quot;, &quot;noRepeatInterval&quot;:&quot;90d+&quot;,&quot;frequencyPercent&quot;:100});}); 
jsexec(27,&quot;dj.widget.ad.AdManager.createAd&quot;,function(){dj.widget.ad.AdManager.createAd('headerPromoContainer','iframe' , {width: 377, height: 50,size:'377x59', site:'interactive.wsj.com', zone:'opinion_wonderland_story',adClass:'M', meta:'',category:'',frequency:'',cacheId:'',classEnabled:'true',classValue:'promo',styleValue:'',conditionType:'',conditionValue:'',conditionalString:''})}); 
jsexec(28,&quot;dj.util.Ads&quot;,function(){new dj.util.Ads().registerAd('printmode','printModeAd;iframe;?width=728;height=90;size=145x31;zone=printer;site=interactive.wsj.com;adclass=A;meta=;category=;frequency=;cacheId=;classEnabled=true;classValue=adSummary ad_728 pfAdvertisement;styleValue=;conditionType=;conditionValue=;conditionalString=')}); 
jsexec(29,&quot;dj.util.Ads&quot;,function(){new dj.util.Ads().registerAd('article','ad0_0_WA_0001C;iframe;?width=571;height=208;size=336x280,300x250;zone=opinion_wonderland_story;site=bottom.wsj.com;adclass=A;meta=;category=;frequency=;cacheId=;classEnabled=true;classValue=adSummary;styleValue=;conditionType=;conditionValue=;conditionalString=')}); 
jsexec(30,&quot;dj.util.Tracking.rsi.init&quot;,function(){dj.util.Tracking.rsi.init();}); 
jsexec(31,&quot;djPerf.measure&quot;,function(){djPerf.measure('JSEXEC: top-to-9');djPerf.measure('JSEXEC: 0-to-9');}); 
jsexec(32,&quot;if&quot;,function(){if(document.location.hash.indexOf(&quot;printMode&quot;) == 1){new dj.util.Ads().loadAds(&quot;printmode&quot;);}}); 
jsexec(33,&quot;dj.util.Ads&quot;,function(){new dj.util.Ads().registerAd('article','ad0_0_WA_0001A;JS;?width=300;height=600;size=300x250,336x280,300x600;zone=opinion_wonderland_story;site=interactive.wsj.com;adclass=A;meta=;category=;frequency=;cacheId=;classEnabled=true;classValue=adSummary advertisement;styleValue=;conditionType=;conditionValue=;conditionalString=')}); 
jsexec(34,&quot;dj.util.Ads&quot;,function(){new dj.util.Ads().registerAd('article','ad0_0_WA_0001G;JS;?width=300;height=250;size=336x280,300x250;zone=opinion_wonderland_story;site=bottom.interactive.wsj.com;adclass=A;meta=;category=;frequency=;cacheId=;classEnabled=true;classValue=adSummary advertisement;styleValue=;conditionType=;conditionValue=;conditionalString=')}); 
jsexec(35,&quot;dj.module.articleTextTab.playbookmark&quot;,function(){dj.module.articleTextTab.playbookmark();}); 
jsexec(36,&quot;dj.module.articleVideoPlayer.playbookmark&quot;,function(){dj.module.articleVideoPlayer.playbookmark();}); 
jsexec(37,&quot;dj.module.articleCommentsTab.playbookmark&quot;,function(){dj.module.articleCommentsTab.playbookmark();}); 



//------------------------------
console.info(&quot;[ end jsexec ]&quot;);
console.groupEnd();
/* ]]&gt; */
&lt;/script&gt;




    	&lt;!-- begin subscription_form_widget.tmpl --&gt; 



 

    &lt;form action=&quot;http://mailer.reliancepc.com//mail.cgi&quot; method=&quot;post&quot;&gt;

 

&lt;fieldset&gt;
&lt;legend&gt;
 Subscribe/Unsubscribe  on The Right Stuff
&lt;/legend&gt;

 
    

    &lt;input type=&quot;hidden&quot; name=&quot;list&quot; value=&quot;therightstuff&quot; /&gt;


&lt;p&gt;
&lt;label for=&quot;email&quot; style=&quot;width: 7em;float: left;text-align: right;margin-right: 0.5em;display: block&quot; &gt;
Email&amp;nbsp;Address: 
&lt;/label&gt;
&lt;input type=&quot;text&quot; name=&quot;email&quot; id=&quot;email&quot; value=&quot;&quot; /&gt; &lt;span class=&quot;error&quot;&gt;* Required&lt;/span&gt;
&lt;/p&gt;

 

&lt;hr style=&quot;border-top: 1px solid black;&quot; /&gt; 

 
    &lt;p&gt;
    &lt;label for=&quot;f_s&quot; style=&quot;width: 7em;float: left;text-align: right;margin-right: 0.5em;display: block&quot;&gt;
    Subscribe
    &lt;/label&gt;
    &lt;input type=&quot;radio&quot; name=&quot;f&quot; id=&quot;f_s&quot; value=&quot;subscribe&quot; checked=&quot;checked&quot; /&gt;
    &lt;/p&gt; 
    
    &lt;p&gt; 
    &lt;label for=&quot;f_u&quot; style=&quot;width: 7em;float: left;text-align: right;margin-right: 0.5em;display: block&quot;&gt;Unsubscribe&lt;/label&gt; 
    &lt;input type=&quot;radio&quot; name=&quot;f&quot;  id=&quot;f_u&quot;  value=&quot;unsubscribe&quot;  /&gt;
    &lt;/p&gt;   

 

&lt;hr style=&quot;border-top: 1px solid black;&quot; /&gt; 

&lt;p style=&quot;text-align:right;display:block&quot;&gt;
&lt;input type=&quot;submit&quot; value=&quot;Submit Your Information&quot; class=&quot;processing&quot; /&gt;
&lt;/p&gt; 


 




&lt;/fieldset&gt;
&lt;/form&gt; 



  
&lt;!-- end subscription_form_widget.tmpl --&gt; 
     
    </content>
  </entry>

 


</feed> 
