bplist00i_WebSubframeArchives_WebSubresources_WebMainResource#CKV _WebResourceMIMEType^WebResourceURL_WebResourceFrameName_WebResourceTextEncodingName_WebResourceDataYtext/html[about:blank_aptureIf01305062840220UUTF-8O' _WebResourceResponseYimage/png_5http://platform0.twitter.com/widgets/images/tweet.pngO CPNG  IHDR7=+%rsBITO"PLTEỻzSлzSn޽մ߳׮֮ۤנޮ՝֠ӬͦΞϧɏܝ˅{ݡ̛̏ƒƔzߍv׆{ōcxǃ|kʌzU|tv~Inh\hS|pkutkFsY:[Qahsm[cm3aDe"-"T[!,BL[cJY I*R[y@F}Ry;yCv|Mo1txCp/ns'nDg}q#k-h?bw#h=ax"cd!`}3Yp ^{ZuVp(OhQiC]>X:U 7R.ftRNS"""" pHYs  ~tEXtSoftwareAdobe Fireworks CS4ӠIDATh[F림҄I\Q n-u0(:Wu:qleZ\U|+cӰ 1-vז.Dّi=NaaA(F$22b& gf-|`%슌[</_{A^_4h :ݮzzIG+Hk? ʫ3@m:j+h[KjkvUkڱR 4ߪp:6y [}kk G/΄P'Kz5̍nPO Rbp@H;4u0'펌 6|hphh[XtF-5C}ЀM*nd GGz S:@OH{"p'OG_^ty)k٢#AoHF9jaV80͋4JhZb(cڠ#->pƮN7 gHl"Z+`Rɯ$sM;jk;wrMT xUD>&UW*^ūx#77ۧ>](Ie?_O$ѰH!L[-5.lj~~i\ø*^ūxU e-O#'\ H$ѰH!L{6eϒރ|vEV"xGaD9D/:#|n#[udu^ނ"x.2@!Dx>7B-:7 >mIENDB`Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver &,-345IJKLMNOPQRSTUVW[\U$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1 '()$+WNS.base[NS.relative_5http://platform0.twitter.com/widgets/images/tweet.png./01X$classesZ$classname12UNSURLXNSObject#AxU 6789AWNS.keysZNS.objects:;<=>?@ BCDEFGH]Accept-Ranges\Content-Type^Content-LengthTDateTEtagZConnection]Last-ModifiedTnoneYimage/pngT2371_Mon, 09 May 2011 17:03:57 GMT_""fb7050303f85fef2271cf317cbcbce6d"Zkeep-alive_Mon, 02 May 2011 18:39:14 GMT./XYYZ2_NSMutableDictionary\NSDictionary C./]^^_2_NSHTTPURLResponse]NSURLResponse)27:PRd@ENY\bktv} ?do` _application/json_http://urls.api.twitter.com/1/urls/count.json?url=http%3A%2F%2Fwww.economist.com%2Fnode%2F13745782%2Fprint%3Fstory_id%3D13745782&callback=twttr.receiveCountUutf-8Ogtwttr.receiveCount({"count":0,"url":"http://www.economist.com/node/13745782/print/?story_id=13745782"})Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver &,-345OPQRSTUVWXYZ[\]^_`a`bfgU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1 '()$+WNS.base[NS.relative_http://urls.api.twitter.com/1/urls/count.json?url=http%3A%2F%2Fwww.economist.com%2Fnode%2F13745782%2Fprint%3Fstory_id%3D13745782&callback=twttr.receiveCount./01X$classesZ$classname12UNSURLXNSObject#Ay7(p 6789DWNS.keysZNS.objects:;<=>?@ABC EFGHIJKLMNTVary]Cache-ControlWExpires_Content-EncodingVServer\Content-Type^Content-LengthTDateZConnection]Last-Modified_Accept-Encoding_must-revalidate, max-age=900_Tue, 10 May 2011 21:42:19 GMTTgzipRhi_application/json; charset=utf-8S114_Tue, 10 May 2011 21:27:19 GMTZkeep-alive./cdde2_NSMutableDictionary\NSDictionaryg./hiij2_NSHTTPURLResponse]NSURLResponse)27:PRd    )+-/13579;=BPXkr'+KV[_uk !"_"http://platform0.twitter.com/widgets/tweet_button.html?_=1305062838598&count=horizontal&lang=en&text=Cities%20and%20their%20deficits%3A%20Staring%20into%20the%20abyss%20%7C%20The%20Economist&url=http%3A%2F%2Fwww.economist.com%2Fnode%2F13745782%2Fprint%3Fstory_id%3D13745782&via=theeconomist_ -->O.xTwitter For Websites: Tweet ButtonTweet0

Share http://www.economist.com/node/13745782/print?story_id=13745782 on Twitter

The URL http://www.economist.com/node/13745782/print?story_id=13745782 has been shared 0 times.View these Tweets.

$?%*.27; &'()Xtext/css_;http://static.ak.fbcdn.net/rsrc.php/v1/y0/r/7NS4A3NTFw2.cssO~a/*1304366359,169776319*/ .DOMControl_placeholder{color:#777} .no_js .DOMControl_placeholder{color:#000} .DOMControl_shadow{left:-10000px;position:absolute;top:-10000px;white-space:pre-wrap} body{background:#fff;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-size: 11px;color:#333;margin:0;padding:0;text-align:left;direction:ltr;unicode-bidi:embed;overflow-y:scroll} .mini_iframe,.serverfbml_iframe{overflow-y:visible} .auto_resize_iframe{height:auto} h1,h2,h3,h4,h5,h6{font-size: 13px;color:#333;margin:0;padding:0} h1{font-size: 14px} h4,h5{font-size: 11px} p{font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-size: 11px;text-align:left;margin:1em 0} a{cursor:pointer;color:#3b5998;text-decoration:none} a:hover{text-decoration:underline} img{border:0} select{border:1px solid #bdc7d8;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-size: 11px;padding:2px} td,td.label{font-size: 11px;text-align:left} dd{color:#000} dt{color:#777} ul{list-style-type:none;margin:0;padding:0} abbr{border-bottom:none} hr{background:#d9d9d9;border-width:0;color:#d9d9d9;height:1px} .pipe{color:#808080;padding:0 3px} .column{float:left} .center{margin-left:auto;margin-right:auto} #facebook .hidden_elem{display:none !important} #facebook .invisible_elem{visibility:hidden} #content{width:auto;padding:0;margin:0} .profile #content,.home #content,.search #content{min-height:600px} .UIStandardFrame_Container{width:960px;padding:0;margin:20px auto 0} .UIStandardFrame_Content{width:760px;float:left;margin:0;padding:0} .UIStandardFrame_SidebarAds{width:200px;padding:0;margin:0;float:right} .UIFullPage_Container{width:940px;padding:0 12px;margin:20px auto 0} .empty_message{font-size: 13px;line-height:17px;padding:20px 20px 50px 20px;text-align:center;background:#f7f7f7} .clearfix:after{clear:both;content:".";display:block;font-size:0;height:0;line-height:0;visibility:hidden} .clearfix{display:block;zoom:1} form{margin:0;padding:0} label{cursor:pointer;color:#666;font-weight:bold;vertical-align:middle} label input{font-weight:normal} textarea,.inputtext,.inputpassword{border:1px solid #bdc7d8;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-size: 11px;padding:3px;-webkit-appearance:none;-webkit-border-radius:0} .inputtext,.inputpassword{margin:0;padding-bottom:4px} .inputradio{padding:0;margin:0 5px 0 0;vertical-align:middle} .inputcheckbox{border:0;vertical-align:middle} .inputbutton,.inputsubmit{border-style:solid;border-width:1px;border-color:#d9dfea #0e1f5b #0e1f5b #d9dfea;background-color:#3b5998;color:#fff;padding:2px 15px 3px 15px;text-align:center} .inputsubmit_disabled{background-color:#999;border-bottom:1px solid #000;border-right:1px solid #666;color:#fff} .inputaux{background:#f0f0f0;border-color:#e7e7e7 #666 #666 #e7e7e7;color:#000} .inputaux_disabled{color:#999} .inputsearch{background:#fff url(http://static.ak.fbcdn.net/rsrc.php/v1/zV/r/IJYgcESal33.png) no-repeat left 4px;padding-left:17px} .datawrap{word-wrap:break-word} .word_break{display:block;float:left;margin-left:-10px;padding:0} .img_loading{position:absolute;left:-100000px;top:-100000px} .see_all{text-align:right} .standard_status_element{visibility:hidden} .standard_status_element.async_saving{visibility:visible} .aero{opacity:.5} img.tracking_pixel{height:1px;position:absolute;visibility:hidden;width:1px} #dropmenu_container{display:block;height:0;margin:0 auto;padding:0;position:absolute;width:964px;z-index:300} .direction_ltr{direction:ltr} .direction_rtl{direction:rtl} .text_align_ltr{text-align:left} .text_align_rtl{text-align:right} .connect_comment_widget{margin:0 4px;padding:5px 0;position:relative} .connect_comment_widget .nub{background:transparent url(http://static.ak.fbcdn.net/rsrc.php/v1/zv/r/agyQHs6yLID.gif) no-repeat 8px 0;height:6px;width:20px;padding:0;margin:0;left:0;line-height:0;position:absolute;z-index:2;top:0} .connect_comment_widget .side_nub{background:transparent url(http://static.ak.fbcdn.net/rsrc.php/v1/zn/r/vAOEfR4cWQM.gif) no-repeat 0 0;height:20px;width:6px;padding:0;margin:0;left:-5px;line-height:0;position:absolute;z-index:2;top:14px} .connect_comment_widget_rtl .side_nub{background:transparent url(http://static.ak.fbcdn.net/rsrc.php/v1/zK/r/R95msRfVr6a.gif) no-repeat 0 0} .connect_comment_widget .comment_content{background:white;border-color:#333333 #333333 #283e6c;border-style:solid;border-width:1px 1px 2px;zoom:1} .connect_comment_widget .connect_comment_widget_text{padding:8px 8px 4px} .connect_comment_widget .connect_comment_widget_placeholder_input{width:304px;color:#808080;line-height:16px;height:20px} .connect_comment_widget .connect_comment_widget_placeholder_input_region{padding:8px 8px 5px} .connect_comment_widget .connect_comment_widget_user_pic{display:block;float:left;height:auto;padding:0 5px 0 0;width:50px} .connect_comment_widget .connect_comment_widget_full_input_textarea{height:50px;width:319px} .connect_comment_widget .connect_comment_widget_full_input_region{padding:8px 8px 5px} .connect_comment_widget textarea.connect_comment_widget_disabled{color:#808080} .connect_comment_widget.like_button_dark textarea.connect_comment_widget_disabled{color:#dedede} .connect_comment_widget div.connect_comment_share_preview{padding-left:55px;padding-top:6px} .connect_comment_widget div.connect_comment_widget_button_region{padding:8px 8px 5px;text-align:right;background-color:#f2f2f2;border-top:1px solid #bdc7d8} .connect_comment_widget.like_button_dark div.connect_comment_widget_button_region{background-color:#333;border-top:1px solid #666} .like_button_dark .nub,.like_button_dark .connect_widget_comment_box_upward_nub{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zL/r/7vbl1usLlV8.gif)} .like_button_dark .side_nub{background:transparent url(http://static.ak.fbcdn.net/rsrc.php/v1/zB/r/Gvy8rtIdNBK.gif) no-repeat 0 0;left:-4px} .connect_comment_widget_rtl.like_button_dark .side_nub{background:transparent url(http://static.ak.fbcdn.net/rsrc.php/v1/zp/r/E-2vs4qfO7d.gif) no-repeat 0 0} .like_button_dark .comment_content{background:#111;border:1px solid #666;border-bottom:2px solid #ccc;color:#ccc} .like_button_dark .connect_comment_widget_placeholder_input{border:1px solid #505050;background:1px solid #505050;color:#fff} .like_button_dark .connect_comment_widget_full_input_textarea,.like_button_dark .connect_comment_widget_placeholder_input{background-color:#000;border-color:#434343;color:#fff} .like_button_dark .connect_comment_widget_full_input_textarea{color:#fff} .like_button_dark a{color:#fff} .connect_comment_widget .connect_comment_widget_title{font-size: 12px;margin-top:-2px} .connect_comment_widget.like_button_dark .connect_comment_widget_title{color:#ccc} .connect_comment_widget .connect_comment_widget_description,.connect_comment_widget .connect_comment_widget_href{font-size: 11px;margin-bottom:6px} .connect_comment_widget .connect_comment_widget_description{color:#000} .connect_comment_widget.like_button_dark .connect_comment_widget_description{color:#ccc} body.transparent_widget{background-color:transparent;overflow:hidden} body.plugin.transparent_widget{overflow-y:hidden} .connect_widget{background-color:transparent} .connect_widget .connect_widget_facebook_favicon{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png) no-repeat -1px -47px transparent;display:block;height:14px;padding:0 0 0 0;width:14px;position:absolute;left:-1px} .connect_widget .connect_widget_interactive_area{border-collapse:collapse} .connect_widget td.connect_widget_vertical_center{border-spacing:0;font-size: 11px;line-height:normal;padding:0} .connect_widget td.connect_widget_button_cell{vertical-align:top} .connect_widget td.connect_widget_confirm_cell{padding-top:4px} .connect_widget .connect_button_slider{position:relative;zoom:1} .connect_widget .connect_widget_button_cell .connect_slide_hide_content{overflow:hidden;width:1px;margin-right:0} .connect_widget .connect_slide_hide_content .connect_button_container{margin-left:1px} .button_count .connect_widget_interactive_area .connect_widget_facebook_favicon,.button_count .connect_widget_interactive_area .connect_widget_text{float:left;position:static} body.ie7 .connect_widget a.connect_widget_like_button{float:none} a.connect_widget_like_button{display:block;float:left;-webkit-border-radius:3px;-webkit-border-radius:3px;padding:4px 5px;border:1px solid #000} .button_count a.connect_widget_like_button{padding:2px 4px} a.connect_widget_like_button span{line-height:14px} a.connect_widget_like_button:hover{text-decoration:none} .connect_widget_number_cloud{position:relative;background:#f3f3f3;border:1px solid #d3d3d3;height:24px;padding-top:6px;text-align:center} .like_widget_dark div.connect_widget_number_cloud{background-color:#c7c7c7;border-color:#c7c7c7} div.connect_widget_number_cloud table.connect_widget_number_cloud_summary{margin-left:auto;margin-right:auto} div.connect_widget_number_cloud table.connect_widget_number_cloud_summary td{font-size: 13px} .thumbs_up_icon{width:15px;height:15px;margin-right:2px;background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png) -1px -32px no-repeat} .like_widget_dark .thumbs_up_icon{background-position:-1px -2px} .like_widget_dark div.connect_widget_number_cloud_extension a{color:#333} div.connect_widget_number_cloud .connect_widget_text{padding-left:0} .connect_widget_number_cloud_nub{position:absolute;z-index:2;height:7px;width:0;bottom:-7px;left:5px} .connect_widget_number_cloud_nub s,.connect_widget_number_cloud_nub i{border:solid transparent;border-left-color:#d3d3d3;border-width:0 0 7px 7px;display:block;position:relative} .connect_widget_number_cloud_nub i{left:1px;top:-9px;border-left-color:#f3f3f3} .like_widget_dark .connect_widget_number_cloud_nub s{border-left-color:#c7c7c7} .like_widget_dark .connect_widget_number_cloud_nub i{display:none} .connect_widget_offscreen{position:absolute;top:-10000px} div.connect_widget_number_cloud_extension{font-size: 11px;height:30px;margin-left:4px;margin-right:4px;margin-top:6px} div.connect_widget_number_cloud_extension_icon{margin-left:2px;margin-top:3px} div.connect_widget_number_cloud_extension_text{border-color:#dedede;border-width:1px 0 0 0;border-style:solid;line-height:11px;margin-top:1px;text-align:center} div.connect_widget_number_cloud_extension_text table{width:100%} div.connect_widget_number_cloud_extension_text td{height:30px;text-align:center;vertical-align:middle} div.connect_widget_number_cloud_extension span.like_reminder{color:#777;font-size: 9px} .like_widget_dark div.connect_widget_number_cloud_extension span.like_reminder{color:#333;font-size: 9px} table.connect_widget_button_count_summary,table.connect_widget_simple_summary{background-color:#eceef5;color:#000;font-size: 11px;height:21px} table.connect_widget_button_count_summary div.thumbs_up{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png) no-repeat 3px -32px #eceef5;height:15px;width:18px} td.connect_widget_simple_including div.simple_liked{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png) no-repeat 3px -47px #eceef5;height:15px;width:18px} .like_button_simple .connect_widget_like_button .liketext{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png) no-repeat 0 -47px #eceef5} .connect_widget_rtl table.connect_widget_button_count_summary div.thumbs_up{background-position:-1px 0} table.connect_widget_button_count_summary div.undo{background-color:#eceef5;height:21px;width:18px} .like_button_dark table.connect_widget_button_count_summary div.undo{background-color:#c7c7c7} table.connect_widget_button_count_summary label.undo_button{margin-left:6px;margin-top:4px} table.connect_widget_button_count_summary div.summary_text{padding-left:3px;padding-right:6px;white-space:nowrap} table.connect_widget_simple_summary div.summary_text{padding-left:3px;padding-right:6px;white-space:nowrap;color:#ccc} .like_button_dark table.connect_widget_button_count_summary,.like_button_dark table.connect_widget_simple_summary{background-color:#c7c7c7} .like_button_dark table.connect_widget_button_count_summary div.thumbs_up{background:transparent url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png) no-repeat 3px -3px} .connect_widget_rtl .like_button_dark table.connect_widget_button_count_summary div.thumbs_up{background-position:-1px -3px} .connect_widget_button_count_count{background:#efefef;border:1px solid #c1c1c1;float:left;font-weight:normal;height:14px;margin-left:1px;min-width:15px;padding:1px 2px 1px 2px;text-align:center} .like_button_dark div.connect_widget_button_count_count{background-color:#c7c7c7;border-color:#c7c7c7} .connect_widget_button_count_nub{float:left;position:relative;z-index:2;height:0;width:5px;top:-5px;left:2px} .connect_widget_button_count_nub s,.connect_widget_button_count_nub i{border:solid transparent;border-right-color:#c7c7c7;border-width:5px 5px 0 0;display:block;position:relative} .connect_widget_button_count_nub i{left:2px;top:-6px;border-right-color:#efefef} .like_button_dark .connect_widget_button_count_nub i{display:none} td.connect_widget_button_count_excluding{padding:0} td.connect_widget_button_count_including,td.connect_widget_simple_including{padding:0} td.connect_widget_button_count_including .connect_widget_button_count_count.noGrayOut{background:transparent url(http://static.ak.fbcdn.net/rsrc.php/v1/zp/r/qDH1xoDhFBF.gif) no-repeat 4px 2px;padding-left:22px;padding-right:4px} .connect_widget_rtl td.connect_widget_button_count_including .connect_widget_button_count.noGrayOut{background:transparent url(http://static.ak.fbcdn.net/rsrc.php/v1/zp/r/qDH1xoDhFBF.gif) no-repeat 4px 2px;padding-right:22px;padding-left:4px} .connect_widget_like_button .vertical{display:block;top:-6px;left:0;margin:0 3px -6px 0;position:relative;padding:3px 4px 4px 3px;border-top:solid 1px;border-bottom:solid 1px} .button_count .connect_widget_like_button .vertical{padding:2px 3px 3px 2px} .connect_widget_like_button .horizontal{height:100%;width:100%;position:absolute;display:block;top:-3px;left:-3px;padding-left:1px;border-left:solid 1px;border-right:solid 1px} .connect_widget_like_button .corner_mask{overflow:hidden;width:3px;height:3px;position:absolute;display:block} .connect_widget_like_button .corner{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png);height:6px;width:6px;display:block} .connect_widget_like_button .topleft{top:-6px;left:-3px} .connect_widget_like_button .topleft .corner{margin:0 0} .connect_widget_like_button .topright{top:-6px;right:0} .connect_widget_like_button .topright .corner{margin:0 0 0 -3px} .connect_widget_like_button .bottomright{bottom:0;right:0} .connect_widget_like_button .bottomright .corner{margin:-3px 0 0 -3px} .connect_widget_like_button .bottomleft{bottom:0;left:-3px} .connect_widget_like_button .bottomleft .corner{margin:-3px 0 0 0} .connect_widget_like_button .liketext{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png) -1px -33px no-repeat;color:#3b5998;display:block;padding-left:17px;white-space:nowrap} .connect_widget_rtl .connect_button_container .liketext{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png) 34px -33px no-repeat} .connect_widget_like_button .liketextwithimage img{margin-bottom:-2px;margin-right:4px;width:13px} .hidden .connect_widget_like_button .liketextwithimage img{height:0;margin:0;padding:0;width:0} .connect_widget_like_button .fbLikeButtonTrackingPixel{display:inline;height:0;width:0} .button_count .like_button_dark .like_button_no_like .liketext,.button_count .connect_widget_like_button .liketext{background-position:-1px -47px} .connect_widget .like_button_no_like .piece,.connect_widget .like_button_no_like{background-color:#eceef5;border-color:#cad4e7} .connect_widget .like_button_no_like .corner{background-position:10px -89px} .connect_widget a.like_button_no_like:hover .piece,.connect_widget a.like_button_no_like:hover{background-color:#ebedf4;border-color:#9dacce} .connect_widget .like_button_no_like:hover .corner{background-position:10px -95px} .connect_widget .like_button_pressed,.connect_widget .like_button_pressed .piece{background-color:#ced4e6;border-color:#94a5ca} .connect_widget .like_button_pressed .corner{background-position:10px 55px} .connect_widget .like_button_like .corner{background-position:10px 49px} .connect_widget .like_button_dark .like_button_no_like,.connect_widget .like_button_dark .like_button_no_like .piece{background-color:#c7c7c7;border-color:#e2e2e2} .connect_widget .like_button_dark .like_button_no_like .corner{background-position:10px -217px} .connect_widget .like_button_dark .liketext{color:#333;background-position:-1px -3px} .connect_widget .like_button_dark .like_button_no_like:hover,.connect_widget .like_button_dark .like_button_no_like:hover .piece{background-color:#d9d9d9;border-color:#e9e9e9} .connect_widget .like_button_dark .like_button_no_like:hover .corner{background-position:10px -217px} .connect_widget .like_button_dark .like_button_no_like_pressed,.connect_widget .like_button_dark .like_button_no_like_pressed .piece{background-color:#a8a8a8;border-color:#a8a8a8;border-top-color:#8f8f8f} .connect_widget .like_button_dark .like_button_no_like_pressed .corner{background-position:10px 80px} .connect_widget .like_button_dark .like_button_like .corner{background-position:10px 74px} .connect_widget .connect_text_wrapper{position:relative} .connect_widget div.connect_confirmation_cell{padding:0;margin:0} .connect_widget div.connect_confirmation_cell_like{padding-left:0;position:relative;left:-1px} .connect_widget div.connect_confirmation_cell_no_like{padding-left:7px} .connect_widget .vertical_centering{padding-top:5px} .connect_widget .connect_widget_text{display:block;padding-left:17px} .button_count .connect_widget_interactive_area .connect_widget_text{padding-left:0;font-weight:bold} .connect_widget .like_button_dark .connect_widget_text,.connect_widget .like_button_dark .connect_widget_confirmation{color:#808080} .connect_widget .like_button_dark .connect_widget_text a{color:#fff} .connect_widget .connect_widget_connect_button{float:left} .connect_widget .connect_bar_widget_interactive_area{float:left} .connect_widget .connect_bar_widget_text_cell{width:400px} .connect_widget .connect_widget_icon{padding:4px 0 4px 4px;vertical-align:middle} .connect_widget a.connect_widget_link_inactive{color:#808080;text-decoration:none;cursor:default} .connect_widget a.connect_widget_error_text{color:#a00;font-weight:bold} div.connect_widget_comment_box_nub{background:transparent url(http://static.ak.fbcdn.net/rsrc.php/v1/zn/r/vAOEfR4cWQM.gif) no-repeat 0 0;height:12px;left:-6px;position:absolute;top:6px;width:20px;z-index:3} div.connect_widget_comment_box_upward_nub{background:transparent url(http://static.ak.fbcdn.net/rsrc.php/v1/zv/r/agyQHs6yLID.gif) no-repeat 0 0;height:12px;left:5px;position:absolute;top:-6px;width:20px;z-index:3} .connect_widget_rtl div.connect_widget_comment_box_nub{background:transparent url(http://static.ak.fbcdn.net/rsrc.php/v1/zK/r/R95msRfVr6a.gif) no-repeat 0 0;left:-20px} .connect_widget div.connect_widget_comment_box{background-color:#fff;border-color:#000;border-style:solid;border-width:1px 1px 2px 1px;position:relative;z-index:100} .connect_widget div.connect_widget_comment_box.like_button_dark{background-color:#111;color:#ccc;border-color:#666} .connect_widget div.like_button_dark input.connect_widget_comment_textinput{background-color:#666;border-color:#666;color:#dedede} .connect_widget div.connect_widget_header_text{float:left;height:20;overflow:hidden;padding-left:7px;padding-top:3px;width:200} .connect_widget div.connect_widget_cancel_button{cursor:pointer;float:right;padding-right:7px;padding-top:3px} .connect_widget div.connect_widget_comment_text_area_div{padding-left:7px;padding-top:2px} .connect_widget div.connect_widget_comment_area{padding:8px} .connect_widget .connect_widget_comment_textinput{width:325px} .connect_widget .connect_widget_comment_summary{padding:7px 5px 7px 5px} .connect_widget .connect_widget_comment_button{margin-left:-1px} .connect_widget .connect_widget_comment_close_button{margin-left:2px} .connect_widget .like_button_dark .connect_widget_comment_close_button{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zE/r/htZktl244wt.png);background-repeat:none;opacity:.7} .connect_widget .like_button_dark .connect_widget_comment_close_button:hover{opacity:1} .connect_widget textarea.connect_widget_comment_text_area{height:30px;width:476px} .connect_widget .connect_widget_image{height:30px;width:30px;padding-top:3px;vertical-align:bottom} .connect_widget a.name_tooltip_link{display:block} .connect_widget a.name_tooltip_link .uiTooltipWrap:hover{display:none} .connect_widget .connect_widget_name{text-align:center} .connect_widget .connect_widget_sample_connection{float:left;padding-right:3px;width:30px;padding-top:5px} .connect_widget .connect_widget_user_not_connected{display:none} .connect_widget .connect_bar_widget_sample_connections{float:right} .connect_widget .connect_widget_whats_this{color:#999;font-size: 9px;padding-top:4px} .connect_widget .connect_widget_whats_this a:hover{color:#3b5998;text-decoration:none} .connect_widget .page_stream img{max-width:120px} body.ie7 .connect_widget a.connect_widget_like_button, body.ie8 .connect_widget a.connect_widget_like_button, body.ie9 .connect_widget a.connect_widget_like_button{position:relative;margin:6px 0 0 3px;border:0;background-color:transparent !important;padding:0;overflow:visible} .connect_widget_like_button .liketext{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png) -1px -33px no-repeat} .connect_widget a.like_button_no_like:hover .piece, .connect_widget a.like_button_no_like:hover{background-color:#eceef5;border-color:#9dacce} .connect_widget .like_button_like , .connect_widget .like_button_like .piece{background-color:#eee;border-color:#ddd;cursor:default} .connect_widget .like_button_dark .like_button_like , .connect_widget .like_button_dark .like_button_like .piece{background-color:#444;border-color:#555;cursor:default} .connect_widget .like_button_like .corner{background-position:10px -229px} .connect_widget .like_button_dark .like_button_like .corner{background-position:10px -223px} .connect_widget .like_button_like .liketext{background-image:none;clear:right;color:#aaa} .connect_widget .tombstone_cross{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png) no-repeat 0 -128px;display:block;float:left;height:12px;margin-right:3px;width:14px;z-index:99} .like_button_no_like .tombstone_cross{display:none} .like_button_like .tombstone_cross{display:block} .connect_widget .like_button_dark .like_button_like .tombstone_cross{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png) no-repeat 0 -156px} .connect_widget .like_button_like .tombstone_cross:hover{background-position:0 -235px;cursor:pointer} .connect_widget .like_button_simple .like_button_like .tombstone_cross:hover{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png);background-position:0 -128px;cursor:auto;height:12px;margin-left:0;margin-right:3px;margin-top:0;width:14px} .connect_widget .like_button_dark .like_button_like .tombstone_cross:hover{background-position:0 -247px} .connect_widget .connect_button_container .like_button_like .liketext, .connect_widget .connect_widget_connect_button .like_button_like .liketext{padding-left:17px} .connect_widget_comment_box div.connect_widget_comment_box_nub{background:none} .connect_widget .like_button_dark .like_button_like .liketext{color:#666} div.connect_widget div.connect_confirmation_cell_like{padding-left:7px} body.plugin{background:transparent;overflow-y:visible} .uiButton,.uiButtonSuppressed:active,.uiButtonSuppressed:focus,.uiButtonSuppressed:hover{background:#eee url(http://static.ak.fbcdn.net/rsrc.php/v1/zD/r/B4K_BWwP7P5.png) repeat 0 0;border:1px solid #999;border-bottom-color:#888;box-shadow:0 1px 0 rgba(0, 0, 0, .1);-webkit-box-shadow:0 1px 0 rgba(0, 0, 0, .1);cursor:pointer;display:-moz-inline-box;display:inline-block;font-size: 11px;font-weight:bold;line-height:normal !important;padding:2px 6px;text-align:center;text-decoration:none;vertical-align:top;white-space:nowrap} .uiButton + .uiButton{margin-left:4px} .uiButton:hover{text-decoration:none} .uiButton:active,.uiButtonDepressed{background:#ddd;border-bottom-color:#999;box-shadow:0 1px 0 rgba(0, 0, 0, .05);-webkit-box-shadow:0 1px 0 rgba(0, 0, 0, .05)} .uiButton .img{margin-top:2px;vertical-align:top} .uiButtonLarge .img{margin-top:4px} .uiButton .customimg{margin-top:0} .uiButton .uiButtonText,.uiButton input{background:none;border:0;color:#333;cursor:pointer;display:-moz-inline-box;display:inline-block;font-family:'Lucida Grande', Tahoma, Verdana, Arial, sans-serif;font-size: 11px;font-weight:bold;margin:0;outline:none;padding:1px 0 2px;white-space:nowrap} .uiButtonSpecial{background-color:#69a74e;background-position:0 -96px;border-color:#3b6e22 #3b6e22 #2c5115} .uiButtonSpecial:active{background:#609946;border-bottom-color:#3b6e22} .uiButtonSpecial.uiButtonDisabled,.uiButtonSpecial.uiButtonDisabled:active,.uiButtonSpecial.uiButtonDisabled:focus,.uiButtonSpecial.uiButtonDisabled:hover{background:#b4d3a7;border-color:#9db791} .uiButtonConfirm{background-color:#5b74a8;background-position:0 -48px;border-color:#29447e #29447e #1a356e} .uiButtonConfirm:active{background:#4f6aa3;border-bottom-color:#29447e} .uiButtonConfirm.uiButtonDisabled,.uiButtonConfirm.uiButtonDisabled:active,.uiButtonConfirm.uiButtonDisabled:focus,.uiButtonConfirm.uiButtonDisabled:hover{background:#adbad4;border-color:#94a2bf} .uiButtonSpecial .uiButtonText,.uiButtonSpecial input,.uiButtonSpecial.uiButtonDisabled .uiButtonText,.uiButtonSpecial.uiButtonDisabled input,.uiButtonConfirm .uiButtonText,.uiButtonConfirm input,.uiButtonConfirm.uiButtonDisabled .uiButtonText,.uiButtonConfirm.uiButtonDisabled input{color:#fff} .uiButtonDisabled,.uiButtonDisabled:active,.uiButtonDisabled:focus,.uiButtonDisabled:hover{background:#f2f2f2;border-color:#c8c8c8;box-shadow:none;-webkit-box-shadow:none} .uiButtonDisabled .img{opacity:.5} .uiButtonDisabled .uiButtonText,.uiButtonDisabled input{color:#b8b8b8} .uiButtonDepressed,.uiButtonDepressed .uiButtonText,.uiButtonDepressed input,.uiButtonDisabled,.uiButtonDisabled .uiButtonText,.uiButtonDisabled input{cursor:default} .uiButtonLarge,.uiButtonLarge .uiButtonText,.uiButtonLarge input{font-size: 13px} .uiButtonSuppressed{background:none;border-color:transparent;box-shadow:none;-webkit-box-shadow:none} .uiButtonNoText .img{margin-left:-1px;margin-right:-1px} .android .uiButton .uiButtonText,.android .uiButton input{padding:3px 0 1px 1px} .uiCloseButton{cursor:pointer;display:-moz-inline-box;display:inline-block;margin:0;padding:0;zoom:1} label.uiCloseButton{overflow:hidden} .uiCloseButton input{cursor:pointer;opacity:0;outline:none;padding:18px} .uiCloseButton{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/z5/r/Yz_2RL5XOEG.png);height:15px;width:15px} .uiCloseButtonSmall{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/za/r/1Be-brvKO2y.png);height:11px;margin-top:1px;width:11px} .uiCloseButtonDark{background-position:left -15px} .uiCloseButtonInverted{background-position:left -15px;background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zp/r/vQK-sxr3HG0.png)} .uiCloseButton:hover,.uiCloseButton:focus{background-position:left -30px} .uiCloseButton:active{background-position:left -45px} .uiCloseButtonSmallDark{background-position:left -11px} .uiCloseButtonSmallInverted{background-position:left -11px;background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zn/r/WSQ2wnhSG-F.png)} .uiCloseButtonSmall:hover,.uiCloseButtonSmall:focus{background-position:left -22px} .uiCloseButtonSmall:active{background-position:left -33px} .uiGrid{border:0;border-collapse:collapse;border-spacing:0} .uiGridCalc{width:100%} .uiGrid .vTop{vertical-align:top} .uiGrid .vMid{vertical-align:middle} .uiGrid .vBot{vertical-align:bottom} .uiGrid .hLeft{text-align:left} .uiGrid .hCent{text-align:center} .uiGrid .hRght{text-align:right} .pas{padding:5px} .pam{padding:10px} .pal{padding:20px} .pts{padding-top:5px} .ptm{padding-top:10px} .ptl{padding-top:20px} .prs{padding-right:5px} .prm{padding-right:10px} .prl{padding-right:20px} .pbs{padding-bottom:5px} .pbm{padding-bottom:10px} .pbl{padding-bottom:20px} .pls{padding-left:5px} .plm{padding-left:10px} .pll{padding-left:20px} .phs{padding-left:5px;padding-right:5px} .phm{padding-left:10px;padding-right:10px} .phl{padding-left:20px;padding-right:20px} .pvs{padding-top:5px;padding-bottom:5px} .pvm{padding-top:10px;padding-bottom:10px} .pvl{padding-top:20px;padding-bottom:20px} .mas{margin:5px} .mam{margin:10px} .mal{margin:20px} .mts{margin-top:5px} .mtm{margin-top:10px} .mtl{margin-top:20px} .mrs{margin-right:5px} .mrm{margin-right:10px} .mrl{margin-right:20px} .mbs{margin-bottom:5px} .mbm{margin-bottom:10px} .mbl{margin-bottom:20px} .mls{margin-left:5px} .mlm{margin-left:10px} .mll{margin-left:20px} .mhs{margin-left:5px;margin-right:5px} .mhm{margin-left:10px;margin-right:10px} .mhl{margin-left:20px;margin-right:20px} .mvs{margin-top:5px;margin-bottom:5px} .mvm{margin-top:10px;margin-bottom:10px} .mvl{margin-top:20px;margin-bottom:20px} .fss{font-size: 9px} .fsm{font-size: 11px} .fsl{font-size: 13px} .fsxl{font-size: 16px} .fsxxl{font-size: 18px} .fwn{font-weight:normal} .fwb{font-weight:bold} .fcb{color:#333} .fcg{color:#808080} .uiTooltip{position:relative} .uiTooltipActive,.uiTooltip:active,.uiTooltip:focus,.uiTooltip:hover{outline:none;text-decoration:none;z-index:2} .uiTooltipWrap{display:none} .uiTooltipWrap:hover{visibility:hidden} .uiTooltipActive .uiTooltipWrap:hover{visibility:visible} .uiTooltipText{background-color:#282828;color:#fff !important;display:block;font-size: 11px;line-height:14px;padding:4px 8px;text-align:left;white-space:nowrap} .uiTooltipActive .uiTooltipWrap,.uiTooltip:active .uiTooltipWrap,.uiTooltip:focus .uiTooltipWrap,.uiTooltip:hover .uiTooltipWrap{background:url(http://static.ak.fbcdn.net/rsrc.php/v1/z1/r/uVR6w3wRHEJ.gif) left bottom no-repeat;bottom:100%;display:block;left:0;padding:0 0 4px;position:absolute} .uiTooltipActive .center,.uiTooltip:active .center,.uiTooltip:focus .center,.uiTooltip:hover .center{left:50%;margin-left:-10px;padding-left:10px} .uiTooltip .center .uiTooltipText{left:-50%;position:relative} .uiTooltip .centerbottom .uiTooltipText{margin-left:18px} .uiTooltipActive .right,.uiTooltip:active .right,.uiTooltip:focus .right,.uiTooltip:hover .right{background-position:right bottom;left:auto;right:0} .uiTooltipActive .middle,.uiTooltip:active .middle,.uiTooltip:focus .middle,.uiTooltip:hover .middle{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zR/r/kPCE0g_tKJs.gif);background-position:right top;left:auto;margin:-4px 4px 0 0;right:100%;padding:4px;top:50%} .uiTooltip .middle .uiTooltipText{margin-top:-10px} .uiTooltipActive .rightmiddle,.uiTooltip:active .rightmiddle,.uiTooltip:focus .rightmiddle,.uiTooltip:hover .rightmiddle{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zY/r/_ZWZupdaAgS.gif);background-position:left top;left:100%;margin:-4px 0 0 4px;right:auto} .uiTooltipActive .bottom,.uiTooltip:active .bottom,.uiTooltip:focus .bottom,.uiTooltip:hover .bottom{background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zX/r/k2R_CZuPy2I.png);background-position:left top;bottom:auto;padding:4px 0 0;top:100%} .uiTooltipActive .rightbottom,.uiTooltip:active .rightbottom,.uiTooltip:focus .rightbottom,.uiTooltip:hover .rightbottom{background-position:right top} .uiTooltipDisabled:active .uiTooltipWrap,.uiTooltipDisabled:focus .uiTooltipWrap,.uiTooltipDisabled:hover .uiTooltipWrap,.openToggler > .uiTooltip:active .uiTooltipWrap,.openToggler > .uiTooltip:focus .uiTooltipWrap,.openToggler > .uiTooltip:hover .uiTooltipWrap{display:none} .uiProfilePhotoHuge{background-position:center 25%;width:100px;height:100px} .uiProfilePhotoLarge{width:50px;height:50px} .uiProfilePhotoMedium{width:32px;height:32px} .uiProfilePhotoSmall{width:24px;height:24px} #bootloader_J324q { height: 42px; }Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver" &,-345QRSTUVWXYZ[\]^_`abcdefgklU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1!  '()$+WNS.base[NS.relative_;http://static.ak.fbcdn.net/rsrc.php/v1/y0/r/7NS4A3NTFw2.css./01X$classesZ$classname12UNSURLXNSObject#Aq|v 6789EWNS.keysZNS.objects:;<=>?@ABCD FGHIJKLMNOPTVary]Cache-ControlWExpires[X-Fb-Server_Content-Encoding\Content-Type^Content-LengthTDateZX-CnectionZConnection]Last-Modified_Accept-Encoding_public, max-age=31378019_Tue, 01 May 2012 19:58:23 GMT]10.30.148.191Tgzip_text/css; charset=utf-8T6246_Wed, 04 May 2011 15:51:24 GMTUcloseZkeep-alive_Mon, 02 May 2011 02:09:02 GMT./hiij2_NSMutableDictionary\NSDictionary~a./mnno2_NSHTTPURLResponse]NSURLResponse)27:PRd  NS\gjpy +:?JUcu38<R_bgkp +,-_;http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.pngOPNG  IHDR tPLTE444l6XfffDDDsddd𞞞QlE`x;YUUUMMM覦bwu~~~ˮ{Xjcx呑h⍠OjUq9Upiiiې^wJhܴWjR3tRNS@fIDATx^Ւ0D%fff\fZ+Mr$&}v/#VB6x!dK()gAb!)ۿشm,*K{bA(XZ$`F눅"}3" O ATE(GЊ^^ lV =l"įCmd@L T4ӴD= t+:-Z"^0>Fb!x :c"ǚ瀈]"8Pq0tY } ]k >1O- L_ gA{V@sAD@a$5jb_>J 5,{:5alj_ԓ6:aWeayx?f~1 T ,pE׹ yE)/>ōT k'_y^sqLVVc~ƈÊ?^jLe3@pO4g<O߭!DT\Q3\)H#+UM"[2MFr<92 Q5 $%GIoTaig牚_3 ˛&5/P; WWmh(cƲ/M)~H?ra aoW Jt4NB~@*0|KK ]0mIENDB`O.bplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver &,-345MNOPQRSTUVWXYZ[\]^_cdU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1 '()$+WNS.base[NS.relative_;http://static.ak.fbcdn.net/rsrc.php/v1/zk/r/QSupuIwbSa4.png./01X$classesZ$classname12UNSURLXNSObject#Aq$0m 6789CWNS.keysZNS.objects:;<=>?@AB DEFGHIJKL]Cache-ControlWExpires[X-Fb-Server\Content-Type^Content-LengthTDateZX-CnectionZConnection]Last-Modified_public, max-age=31381499_Tue, 01 May 2012 19:59:27 GMT]10.30.145.198Yimage/pngT1004_Wed, 04 May 2011 14:54:28 GMTUcloseZkeep-alive_Mon, 02 May 2011 01:57:45 GMT./`aab2_NSMutableDictionary\NSDictionary./effg2_NSHTTPURLResponse]NSURLResponse)27:PRd  JOXcflu~"-;Vv0h> /01_;http://static.ak.fbcdn.net/rsrc.php/v1/zD/r/B4K_BWwP7P5.pngOPNG  IHDRl`oPLTE{pcyh~Jdڤͷ߳ⱼoUkPiMZt\tYs]vu[_x[tXrc{pVrXsYhLu\nTjOYr\ubzmRhLaz^wgK`y†qWiNlQYrtZ<@tRNS@fIDATx^Ŏ\ID(hf633T\HmKb}*^,!+uZ2_,!ujrR!u:d]!uQ2SܪCꐥ:d[!:\舎.:#:#:#:#:#:#:#:#:yR_|gFәO??@ABCDE GHIJKLMNOPQR \X-Powered-By]Cache-ControlWExpires]Last-Modified[X-Fb-Server_Content-Encoding\Content-TypeZX-Cnection^Content-LengthTDateZConnectionTVaryTHPHP_public, max-age=26608724_Tue, 13 Mar 2012 19:49:37 GMT_Sun, 14 Mar 2010 12:49:56 -0700]10.30.147.196TgzipYimage/pngUcloseS853_Tue, 10 May 2011 20:30:53 GMTZkeep-alive_Accept-Encoding./lmmn2_NSMutableDictionary\NSDictionary./qrrs2_NSHTTPURLResponse]NSURLResponse)27:PRd PU^ilr{)<ITchsx}!,>CG]jmrvt 3456_application/x-javascript_:http://static.ak.fbcdn.net/rsrc.php/v1/yV/r/ecpCmrvFebs.jsO/*1304415635,169776065*/ if (window.CavalryLogger) { CavalryLogger.start_js(["lIKWr"]); } if(!window.skipDomainLower&&navigator&&navigator.userAgent&&document.domain.toLowerCase().match(/(^|\.)facebook\..*/)&&!(parseInt((/Gecko\/([0-9]+)/.exec(navigator.userAgent)||[]).pop(),10)<=20060508))document.domain=window.location.hostname.replace(/^.*(facebook\..*)$/i,'$1');window.onloadhooks=window.onloadhooks||[];window.onloadRegister=window.onloadRegister||function(a){onloadhooks.push(a);};window.onafterloadhooks=window.onafterloadhooks||[];window.onafterloadRegister=window.onafterloadRegister||function(a){onafterloadhooks.push(a);};function run_if_loaded(a,b){return window.loaded&&b.call(a);}function run_with(b,a,c){Bootloader.loadComponents(a,bind(b,c));return false;}function wait_for_load(c,b,e){e=bind(c,e,b);if(window.loaded)return e();switch((b||event).type){case 'load':case 'focus':onafterloadRegister(e);return;case 'click':var d=c.style,a=document.body.style;d.cursor=a.cursor='progress';onafterloadRegister(function(){d.cursor=a.cursor='';if(c.tagName.toLowerCase()=='a'){if(false!==e()&&c.href)window.location.href=c.href;}else if(c.click)c.click();});break;}return false;}function bind(c,b){var a=Array.prototype.slice.call(arguments,2);return function(){var e=c||(this==window?false:this),d=a.concat(Array.prototype.slice.call(arguments));if(typeof(b)=="string"){if(e[b])return e[b].apply(e,d);}else return b.apply(e,d);};}var curry=bind(null,bind,null);function env_get(a){return window.Env&&Env[a];}window.__DEV__=window.__DEV__||0;window.__rm={};document.documentElement.className=document.documentElement.className.replace('no_js',''); function hasArrayNature(a){return (!!a&&(typeof a=='object'||typeof a=='function')&&('length' in a)&&!('setInterval' in a)&&(Object.prototype.toString.call(a)==="[object Array]"||('callee' in a)||('item' in a)));}function $A(b){if(!hasArrayNature(b))return [b];if(b.item){var a=b.length,c=new Array(a);while(a--)c[a]=b[a];return c;}return Array.prototype.slice.call(b);} function eval_global(c){if('string'!=typeof(c)){throw new Error('JS sent to eval_global is not a string. Only strings '+'are permitted.');}else if(''==c)return;var d=document.createElement('script');d.type='text/javascript';try{d.appendChild(document.createTextNode(c));}catch(a){d.text=c;}var b=(document.getElementsByTagName("head")[0]||document.documentElement);b.appendChild(d);b.removeChild(d);} function copy_properties(b,c){b=b||{};c=c||{};for(var a in c)b[a]=c[a];if(c.hasOwnProperty&&c.hasOwnProperty('toString')&&(typeof c.toString!='undefined')&&(b.toString!==c.toString))b.toString=c.toString;return b;}function add_properties(a,b){return copy_properties(window[a]||(window[a]={}),b);}function is_empty(b){if(b instanceof Array){return b.length==0;}else if(b instanceof Object){for(var a in b)return false;return true;}else return !b;} if(!window.async_callback)window.async_callback=function(a,b){return a;};function Arbiter(){copy_properties(this,{_listeners:[],_events:{},_callbacks:{},_last_id:1,_listen:{},_index:{}});copy_properties(this,Arbiter);}copy_properties(Arbiter,{SUBSCRIBE_NEW:'new',SUBSCRIBE_ALL:'all',BEHAVIOR_EVENT:'event',BEHAVIOR_PERSISTENT:'persistent',BEHAVIOR_STATE:'state',LIVEMESSAGE:'livemessage',BOOTLOAD:'bootload',FUNCTION_EXTENSION:'function_ext',CONTEXT_CHANGE:'ui/context-change',PAGECACHE_INVALIDATE:'pagecache/invalidate',NEW_NOTIFICATIONS:'chat/new_notifications',LIST_EDITOR_LISTS_CHANGED:'listeditor/friend_lists_changed',subscribe:function(k,b,i){if(!k||k.length==0)return null;k=$A(k);var a=Arbiter._getInstance(this);a._listeners.push({callback:b,types:k});var h=a._listeners.length-1;for(var d=0;d=h){i&&i();}else return;d&&clearInterval(d);e(f);};d=setInterval(c,20,b);return d;};var Bootloader=window.Bootloader=(window.Bootloader&&window.Bootloader.realBootloader)?window.Bootloader:(function(a){return {realBootloader:true,configurePage:function(b){var h={};var g=this.resolveResources(b);for(var c=0;c=this._expireTime){if(window.send_error_signal)if(Math.random()<.01)send_error_signal('js_timeout_and_exception','00001:error:CSS timeout.');var d=[];for(var f in this._activeCSSPolls)d.push(f);Bootloader.done(d,true);this._activeCSSPolls={};}else{var e=Bootloader._CSS_EXPECTED_HEIGHT;var b;var d=[];for(var f in this._activeCSSPolls){var c=this._activeCSSPolls[f];var h=c.offsetHeight==e||c.currentStyle&&c.currentStyle.height==e+'px'||window.getComputedStyle&&(b=document.defaultView.getComputedStyle(c,null))&&b.getPropertyValue('height')==e+'px';if(h){d.push(f);c.parentNode.removeChild(c);delete this._activeCSSPolls[f];}}if(!is_empty(d)){Bootloader.done(d,true);this._expireTime=g+Bootloader._CSS_POLL_EXPIRATION;}}return is_empty(this._activeCSSPolls);},_startCSSPoll:function(d){var c='bootloader_'+d.replace(/[^a-z0-9]/ig,'_');var b=bagofholding;bind(this,function(){var e=document.createElement('div');e.id=c;document.body.appendChild(e);this._expireTime=(+new Date())+Bootloader._CSS_POLL_EXPIRATION;var g=is_empty(this._activeCSSPolls);this._activeCSSPolls[d]=e;if(g)var f=setInterval(bind(this,function(){if(this._runCSSPolls())f&&clearInterval(f);}),20,false);}).deferUntil(function(){return document.body;},5000,false,b.curry("Still no DOM"));},done:function(f,c){var g=(a&&a._preloaded)||[];(a||{})._preloaded=[];f=f.concat(g);this.requested(f);if(!c){var e={sender:this};Arbiter.inform(Arbiter.BOOTLOAD,e,Arbiter.BEHAVIOR_EVENT);}for(var b=0;b=0;while(i.length>0){var q=b(i[0]);if(p&&((document.cookie.length+q.length)>3500||document.cookie.split(';').length>19))break;document.cookie=q;p=true;i.shift();}if(!!o||!g&&p&&((document.cookie.length>2500||document.cookie.split(';').length>15))&&(l||(window.Arbiter&&window.OnloadEvent&&Arbiter.query(OnloadEvent.ONLOAD)))){var n=new Image();g=true;n.onload=function(){g=false;a();};var m=window._EagleEyeDomain||(window.Env&&Env.tracking_domain)||'';n.src=m+'/ajax/nectar.php?asyncSignal='+(Math.floor(Math.random()*10000)+1)+'&'+(!o?'':'s=')+(+new Date());}}window.EagleEye={log:function(o,m,n){var p=[k,+new Date(),o].concat(m);p.push(p.length);Bootloader.loadComponents('json',function(){var q=JSON.stringify(p);if(!n){i.push(q);}else document.cookie=b(q);a(n);});},createLogger:function(o,m){m=m==undefined?100:m;var n=function(p,q){if(n.enabled)EagleEye.log(o,p,q);};n.enabled=false;Bootloader.loadComponents('string-extensions',function(){n._key=((window.Env&&Env.user)||Math.random())+o;n.enabled=(n._key.hash32()%65535/65535)<=m;});return n;},loaded:function(){l=true;}};})(); function set_ue_cookie(a){document.cookie="act="+encodeURIComponent(a)+"; path=/; domain="+window.location.hostname.replace(/^.*(\.facebook\..*)$/i,'$1');}var user_action=(function(){var l=(!window.ArbiterMonitor)?'r':'a',n=0,m,e,f,o=0,k,i,b,c,h=[0,0,0,0],d=function(){if(!!i){var q={profile_minifeed:1,info_tab:1,gb_content_and_toolbar:1,gb_muffin_area:1,ego:1,bookmarks_menu:1,jewelBoxNotif:1,jewelNotif:1,BeeperBox:1,navSearch:1};for(var p=i;p&&p!=document.body;p=p.parentNode){if(!p.id||typeof p.id!=='string')continue;if(p.id.substr(0,8)=='pagelet_')return p.id.substr(8);if(p.id.substr(0,8)=='box_app_')return p.id;if(q[p.id])return p.id;}}return '-';},g=function(q){if(!ge('content'))return [0,0,0,0];var p=$('content');var r=window.Vector2?Vector2.getEventPosition(q):{x:0,y:0};return [r.x,r.y,p.offsetLeft,p.clientWidth];},j=function(){n++;var q=o+'/'+n;set_ue_cookie(q);var p={};if(window.collect_data_attribs){p=collect_data_attribs(i,['ft','gt']);copy_properties(p.ft,c.ft||{});copy_properties(p.gt,c.gt||{});}if(l=='a'){ArbiterMonitor.initUE(q);f=ArbiterMonitor.getInternRef(i);}window.EagleEye&&EagleEye.log('act',[o,n,e||'-',b,m||'-',f||d(i),l,window.URI?URI.getRequestURI(true,true).getUnqualifiedURI().toString():location.pathname+location.search+location.hash,p].concat(h));k=true;},a=function(t,p,r,s,q){if(!!r){m=r.type;if(m=='click'&&ge('content'))h=g(r);var s=0;r.ctrlKey&&(s+=1);r.shiftKey&&(s+=2);r.altKey&&(s+=4);r.metaKey&&(s+=8);if(s)m+=s;}if(!t&&r)t=r.getTarget();if(!!t){e=(t.getAttribute&&t.getAttribute('ajaxify')||t.action||t.href||t.name);i=t;}if(!!p&&!b)b=p;if(!!q)c=q;if(s=='FORCE'||e)j();};return function(t,p,r,s,q){var u=(+new Date());Bootloader.loadComponents('dom-collect',function(){if(u-o<10){!k&&a(t,p,r,s,q);return;}if(s=='INDIRECT')return;m=e=f=i=b=null;c={};k=false;o=u;a(t,p,r,s,q);});};})(); ge=$=function(a){return typeof a=='string'?document.getElementById(a):a;}; CSS=window.CSS||{hasClass:function(b,a){b=$(b);return (' '+b.className+' ').indexOf(' '+a+' ')>-1;},addClass:function(b,a){b=$(b);if(a&&!CSS.hasClass(b,a))b.className=b.className+' '+a;return b;},removeClass:function(b,a){b=$(b);b.className=b.className.replace(new RegExp('(^|\\s)'+a+'(?:\\s|$)','g'),'$1');return b;},toggleClass:function(b,a){return CSS.conditionClass(b,a,!CSS.hasClass(b,a));},conditionClass:function(c,b,a){return (a?CSS.addClass:CSS.removeClass)(c,b);},show:function(a){CSS.removeClass(a,'hidden_elem');},hide:function(a){CSS.addClass(a,'hidden_elem');},conditionShow:function(b,a){CSS.conditionClass(b,'hidden_elem',!a);}}; var Parent={byTag:function(a,b){b=b.toUpperCase();while(a&&a.nodeName!=b)a=a.parentNode;return a;},byClass:function(b,a){while(b&&!CSS.hasClass(b,a))b=b.parentNode;return b;}}; !function(){if(window.__primer)return;window.__primer=true;var a=null;document.documentElement.onclick=function(d){d=d||window.event;a=d.target||d.srcElement;var e=Parent.byTag(a,'A');if(!e)return;var b=e.getAttribute('ajaxify');var f=e.href;var i=b||f;i&&user_action(e,'a',d);if(b&&f&&!(/#$/).test(f)){var g=d.which&&d.which!=1;var h=d.altKey||d.ctrlKey||d.metaKey||d.shiftKey;if(g||h)return;}var c=['dialog'];switch(e.rel){case 'dialog-pipe':c.push('ajaxpipe');case 'dialog':case 'dialog-post':Bootloader.loadComponents(c,function(){Dialog.bootstrap(i,null,e.rel=='dialog',null,null,e);});break;case 'async':case 'async-post':Bootloader.loadComponents('async',function(){AsyncRequest.bootstrap(i,e);});break;case 'theater':Bootloader.loadComponents('PhotoTheater',function(){PhotoTheater.bootstrap(i,e);});break;case 'toggle':CSS.toggleClass(e.parentNode,'openToggler');Bootloader.loadComponents('Toggler',function(){Toggler.bootstrap(e);});break;default:return;}return false;};document.documentElement.onsubmit=function(b){b=b||window.event;var c=b.target||b.srcElement;if(c&&c.nodeName=='FORM'&&c.getAttribute('rel')=='async'){user_action(c,'f',b);var d=a;Bootloader.loadComponents('dom-form',function(){Form.bootstrap(c,d);});return false;}};}(); var Mixins={Arbiter:{_getArbiterInstance:function(){return this._arbiter||(this._arbiter=new Arbiter());},inform:function(c,b,a){return this._getArbiterInstance().inform(c,b,a);},subscribe:function(c,a,b){return this._getArbiterInstance().subscribe(c,a,b);},unsubscribe:function(a){this._getArbiterInstance().unsubscribe(a);}}}; Function.prototype.extend=function(a){if(!Metaprototype._arbiterHandle)Metaprototype._arbiterHandle=Arbiter.subscribe(Arbiter.BOOTLOAD,Metaprototype._onbootload.bind(Metaprototype));Metaprototype._queue(this,a);};function Metaprototype(){}copy_properties(Metaprototype,{makeFinal:function(a){},_pending:{},_queue:function(b,c){b.__class_extending=true;var a=Arbiter.registerCallback(bind(Metaprototype,Metaprototype._apply,b,c),[Arbiter.FUNCTION_EXTENSION+'/'+c,Arbiter.BOOTLOAD]);if(a!==null)this._pending[c]=true;},_onbootload:function(b,a){this._update();},_update:function(){for(var a in this._pending)if(!!window[a]){delete this._pending[a];if(!window[a].__class_extending){Arbiter.inform(Arbiter.FUNCTION_EXTENSION+'/'+a,true,Arbiter.BEHAVIOR_STATE);}else window[a].__class_name=a;}},_apply:function(a,c){delete a.__class_extending;var d=__metaprototype(window[c],0);var b=__metaprototype(a,d.prototype.__level+1);b.parent=d;if(!!a.__class_name)Arbiter.inform(Arbiter.FUNCTION_EXTENSION+'/'+a.__class_name,true,Arbiter.BEHAVIOR_STATE);}});function __metaprototype(c,a){if(c.__metaprototype)return c.__metaprototype;var b=new Function();b.construct=__metaprototype_construct;b.prototype.construct=__metaprototype_wrap(c,a,true);b.prototype.__level=a;b.base=c;c.prototype.parent=b;c.__metaprototype=b;return b;}function __metaprototype_construct(a){__metaprototype_init(a.parent);var c=[];var b=a;while(b.parent){c.push(new_obj=new b.parent());new_obj.__instance=a;b=b.parent;}a.parent=c[1];c.reverse();c.pop();a.__parents=c;a.__instance=a;return a.parent.construct.apply(a.parent,arguments);}function __metaprototype_init(d){if(d.initialized)return;var a=d.base.prototype;if(d.parent){__metaprototype_init(d.parent);var e=d.parent.prototype;for(var b in e)if(b!='__level'&&b!='construct'&&a[b]===undefined)a[b]=d.prototype[b]=e[b];}d.initialized=true;var c=d.prototype.__level;for(var b in a)if(b!='parent')a[b]=d.prototype[b]=__metaprototype_wrap(a[b],c);}function __metaprototype_wrap(c,b,d){if(typeof c!='function'||c.__prototyped)return c;var a=function(){var g=this.__instance;if(g){var h=g.parent;g.parent=b?g.__parents[b-1]:null;if(d){var e=[];for(var f=1;f=8&&!window.HTMLCollection)ua._ie=7;ua._firefox=a[2]?parseFloat(a[2]):NaN;ua._opera=a[3]?parseFloat(a[3]):NaN;ua._safari=a[4]?parseFloat(a[4]):NaN;if(ua._safari){a=/(?:Chrome\/(\d+\.\d+))/.exec(navigator.userAgent);ua._chrome=a&&a[1]?parseFloat(a[1]):NaN;}else ua._chrome=NaN;}else ua._ie=ua._firefox=ua._opera=ua._chrome=ua._safari=NaN;if(c){ua._osx=!!c[1];ua._windows=!!c[2];ua._linux=!!c[3];}else ua._osx=ua._windows=ua._linux=false;ua._iphone=b;}}; OnloadEvent={ONLOAD:'onload/onload',ONLOAD_CALLBACK:'onload/onload_callback',ONLOAD_DOMCONTENT:'onload/dom_content_ready',ONLOAD_DOMCONTENT_CALLBACK:'onload/domcontent_callback',ONBEFOREUNLOAD:'onload/beforeunload',ONUNLOAD:'onload/unload'};function _include_quickling_events_default(){return !window.loading_page_chrome;}function onbeforeunloadRegister(a,b){if(b===undefined)b=_include_quickling_events_default();b?_addHook('onbeforeleavehooks',a):_addHook('onbeforeunloadhooks',a);}function onunloadRegister(a){if(!window.onunload)window.onunload=function(){Arbiter.inform(OnloadEvent.ONUNLOAD,true,Arbiter.BEHAVIOR_STATE);};_addHook('onunloadhooks',a);}function onleaveRegister(a){_addHook('onleavehooks',a);}function _addHook(b,a){window[b]=(window[b]||[]).concat(a);}function removeHook(a){window[a]=[];}function _domcontentready(){Arbiter.inform(OnloadEvent.ONLOAD_DOMCONTENT,true,Arbiter.BEHAVIOR_STATE);}function _bootstrapEventHandlers(){var a=document,e=window;if(a.addEventListener){if(ua.safari()<525){var d=setInterval(function(){if(/loaded|complete/.test(a.readyState)){_domcontentready();clearInterval(d);}},10);}else a.addEventListener("DOMContentLoaded",_domcontentready,true);}else{var c='javascript:void(0)';if(e.location.protocol=='https:')c='//:';a.write(' Like | Facebook
DGEF   HIJ_"http://platform0.twitter.com/widgets/tweet_button.html?_=1305062838605&count=horizontal&lang=en&text=Cities%20and%20their%20deficits%3A%20Staring%20into%20the%20abyss%20%7C%20The%20Economist&url=http%3A%2F%2Fwww.economist.com%2Fnode%2F13745782%2Fprint%3Fstory_id%3D13745782&via=theeconomist_ -->O.xTwitter For Websites: Tweet ButtonTweet0

Share http://www.economist.com/node/13745782/print?story_id=13745782 on Twitter

The URL http://www.economist.com/node/13745782/print?story_id=13745782 has been shared 0 times.View these Tweets.

LSMNOPQR &'() +,- /01 3456 389: 3<=> @TU_ -->O Like | Facebook
WfXYbZ^ 3[\]_2http://cdn.apture.com/media/app.khtml.v30919596.jsOapture.fileCache.load("app", "(function(){function n(){return null}function y(a,c){return function(){var e=this.parent;this.parent=c;var i=a.apply(this,arguments);this.parent=e;return i}}function h(a,c,e){if(a==null||e>10)return\"null\";switch(sa(a)){case \"object\":if(a instanceof Date)a=c?\"new Date(\"+a.getTime()+\")\":'{\"_class\":\"Date\", \"ts\":'+a.getTime()/1E3+\"}\";else{var i=[],m=a._class;for(var q in a){var z=a[q];if(a[q]!==D[q])if(typeof z!=\"function\"&&q.charAt(0)!=\"_\"&&a.hasOwnProperty(q)&&(!a.np||a.np(q)))i.push(ta(q)+\":\"+h(z,\nc,e+1))}if(c&&m)a=\"apture.make(\"+ta(m)+\",{\"+i.join(\",\")+\"})\";else{m&&i.push(ta(\"_class\")+\":\"+ta(m));a=\"{\"+i.join(\",\")+\"}\"}}return a;case \"array\":i=[];for(m=0;m<(a||\"\").length;m++)i.push(h(a[m],c,e+1));return\"[\"+i.join(\",\")+\"]\";case \"string\":return ta(a);case \"number\":return isFinite(a)?String(0+a):\"null\";case \"boolean\":return String(a);default:return\"null\"}}var D=Object.prototype,b=window.apture=window.apture||{};b.Id={};b.Id.lB=function(a){if(a===undefined)return true;return false};b.Id.Sp=function(a){if(a===\nnull||b.Id.lB(a))return true;return false};var G=b.slice=Array.prototype.slice,J=b.extend=function(a,c){c=c||this;for(var e in a){var i=a[e];if(a[e]!==D[e])c[e]=i}return c};if(!Object.prototype.hasOwnProperty)Object.prototype.hasOwnProperty=function(a){var c=this.__proto__;if(!c)return typeof val!==\"undefined\";var e=c[a];if(this[a]!==e)return true;var i=c.hasOwnProperty(a),m=c[a]={};m=this[a]!==m;delete c[a];if(i)c[a]=e;return m};var x=b.JQ=function(){var a=null,c;return function(e){if(!a){a=document.createElement(\"div\");\nc=r(\"\");a.appendChild(c)}c.data=e;return a.innerHTML}}(),B=b.contains=function(a,c){for(var e=0;e<(a||\"\").length;e++)if(a[e]===c)return true;return false},w=b.remove=function(a,c,e){for(var i=0,m=false;i>2)+\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".charAt((e&3)<<4|i>>4)+\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".charAt(isNaN(i)?\n64:(i&15)<<2|m>>6)+\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\".charAt(isNaN(m)?64:m&63)}return c},qQ:function(a){var c=\"\",e,i,m,q,z=0;for(a=a.replace(/[^A-Za-z0-9\\+\\/\\=]/g,\"\");z>4);if(m!=64)c+=String.fromCharCode((i&15)<<4|m>>2);if(q!=64)c+=String.fromCharCode((m&3)<<6|q)}return c},hash:function(a){for(var c=a.charCodeAt(0)<<7,e=0,i;i=a.charAt(e);e++)c=1000003*c^i.charCodeAt(0);c^=a.length;if(c==-1)c=-2;return c},we:function(a){if(a.c)a=a.c;do if(a.apture)return true;while(a=a.parentNode);return false},Ns:function(){return b.siteId&&b.siteId!=-9999?true:false},Th:\"aptureD\",R:function(a,c){var e=b.mm;if(!e){var i=document.body;b.mm=e=k(b.Th);\nif(!e&&i){b.mm=e=new s({id:b.Th,apture:true,aptureDynamicText:true});c?i.appendChild(e.c):i.insertBefore(e.c,i.firstChild)}}if(a){e?e.appendChild(a):k(document.getElementsByTagName(\"head\")[0]).appendChild(a);a.afterDomAttach&&a.afterDomAttach()}},H:\"http://cdn.apture.com/media/imgs\",domain:\"http://www.apture.com\",nB:\"http://cdn.apture.com/media\",addStyles:function(a,c){var e=new o(\"style\",{type:\"text/css\"});e.appendText(a.replace(/##/g,\"#\"+(c||b.Th)));var i=document.getElementsByTagName(\"head\");if(i.length>\n0){i[0].appendChild(e.c);return true}return false},mf:{},Hh:{},sA:function(a){delete b.mf[a]},eq:function(){var a=0;return function(c,e){b.mf[a]=c;b.Hh[a]=e;return a++}}(),fm:function(a){delete b.mf[a];delete b.Hh[a]},fB:function(a,c){var e=b.mf[a];e&&e(c);b.fm(a)},eB:function(a,c){var e=b.Hh[a];e?e(c):alert(\"Error: \"+c.msg);b.fm(a)},Zg:function(a){return function(c){return c+a++}}(0),wb:function(a,c,e){/^http/.test(a)||(a=b.domain+a);if(!c&&!e)return a;if(e){if(b.page)c.pageId=b.page.id;c.siteToken=\nb.siteToken}return a+(a.indexOf(\"?\")==-1?\"?\":\"&\")+b.vB(c)},vB:function(a){var c=[];for(var e in a){var i=a[e];if(a[e]!==D[e])if(i!=null){i instanceof Array||(i=[i]);for(var m=0;m<(i||\"\").length;m++)c.push(e+\"=\"+encodeURIComponent(i[m]))}}return c.join(\"&\")},imgUrl:function(a){return b.H+\"/\"+a},MA:function(a){var c={};a=a.c.elements;for(var e=0;e<(a||\"\").length;e++){var i=a[e],m=i.name,q=i.type;if(q==\"text\"||q==\"select-one\"||q==\"hidden\"||q==\"textarea\"||q==\"radio\"&&i.checked)c[m]=i.value;else if(q==\n\"checkbox\"&&i.checked){c[m]||(c[m]=[]);c[m].push(i.value)}}return c},Gp:function(a,c){c=c.replace(/[\\[]/,\"\\\\[\").replace(/[\\]]/,\"\\\\]\");var e=RegExp(\"[\\\\?&]\"+c+\"=([^&#]*)\").exec(a);return e==null?\"\":decodeURIComponent(e[1].replace(/\\+/g,\" \"))},Bc:function(){return b.userCookieId},D:function(a,c){return typeof a!=\"undefined\"?a:c},Qs:function(a){b.fileCache.fetch(a)},styles:{}});b.Lp=function(){return\"aptureID_\"+b.Lp.Vx++};b.Lp.Vx=1;b.Bs=function(a){var c={};for(var e in a)c[e]=a[e];return c};b.Oj=function(a,\nc,e){for(var i=a.length,m=false;i--;)if(e?e(a[i],c):a[i]===c){a.splice(i,1);m=true;break}return m};b.getFormParams=b.MA;var ga=b.yI=function(a,c,e){var i=J(a,function(){this.init.apply(this,arguments)}),m=c.prototype=a.prototype;c=i.prototype=new c(i);if(m){for(var q in m){var z=m[q];if(m[q]!==D[q]){var O=c[q];z=m[q];if(O&&O.apply&&z!=n&&O!==(z||O))c[q]=y(O,z)}}i.QF=a}if(e){i.prototype._class=e;b[e]=i}i.b={};return i},t=b.sub=function(a,c,e){return ga(a,function(){J(c,this)},e)},F=b.RH=function(a){for(var c=\nnull,e=1;e0)return c(W-1)}}function e(W){if(typeof W==\"string\")W=document.getElementById(W);if(!W||W instanceof o)return W;var pa=W.aptureProxy;if(typeof pa==\"number\")return z[pa];if(W.nodeName||W===window)return c(5).Jl(W);return W}function i(W,\npa){for(var oa=0;oa<(pa||\"\").length;oa++){var ea=pa[oa];switch(sa(ea)){case \"string\":ea=r(ea);case \"element\":case \"textnode\":W.appendChild(ea);break;case \"array\":i(W,ea);break;case \"object\":for(var va in ea){var Aa=ea[va];ea[va]!==D[va]&&W.oe(va,Aa)}}}}function m(W){var pa=Function.prototype.apply;return function(){for(var oa=arguments,ea=this.c,va=0;va=0){e.splice(i,\n1);if(e.length<=0){e=this.c;e.removeEventListener?e.removeEventListener(a,c,false):e.detachEvent(\"on\"+a,c)}}},Ny:function(a){var c=this.c,e=this.vf[a];if(e){c.removeEventListener?c.removeEventListener(a,e,false):c.detachEvent(\"on\"+a,e);this.vf[a]=null}},removeEvents:function(a){if(a&&this.ha){if(this.ha[a]){this.Ny(a);this.ha[a]=null}}else if(this.ha){a=this.ha;for(var c in a)a[c]!==D[c]&&this.removeEvents(c)}},fireEvent:function(a,c){var e=this.ha&&this.ha[a];if(e)for(var i=0;i<(e||\"\").length;i++)e[i].apply(this,\nc||[])},setScrollLeft:function(a){this.c.scrollLeft=a},mh:function(a){this.c.scrollTop=a},scrollTo:function(a,c){this.c.scrollLeft=a;this.c.scrollTop=c},$B:/scale\\(([0-9\\.]+)\\)|matrix\\(([0-9\\.]+,)/,getRelPos:function(a,c){a=a||this.c.offsetParent||this.c.parentNode;a=a.c||a;var e=this.c,i=0,m=0,q=0,z,O=1,fa=document.createElement(\"span\");fa.style.QR=\"static\";fa.style.visibility=\"hidden\";do{var aa=k(e),da=e.offsetLeft,la=e.offsetTop,Z=this.$B.exec(aa.getStyle(\"-webkit-transform\"));if(Z&&Z.length>1){Z=\nparseFloat(Z[1]||Z[2]);i*=Z;m*=Z;O*=Z}if(q==la&&da==0)la=0;q=parseFloat(aa.getStyle(\"text-indent\"));if(z==q){z=k(e.parentNode);Z=z.getStyle(\"text-indent\");z.setStyle(\"text-indent\",0);da=e.offsetLeft;z.setStyle(\"text-indent\",Z)}z=q;if((q=e.offsetParent)&&q.childNodes[0]){q.insertBefore(fa,q.childNodes[0]);Z=k(q);da-=fa.offsetLeft-parseFloat(Z.getStyle(\"padding-left\"));la-=fa.offsetTop-parseFloat(Z.getStyle(\"padding-top\"));if(q.tagName==\"BODY\"){da+=parseFloat(Z.getStyle(\"margin-left\"));la+=parseFloat(Z.getStyle(\"margin-top\"));\nla+=fa.offsetTop}fa.parentNode.removeChild(fa)}q=la;i+=da||0;m+=la||0;if(aa.getStyle(\"position\")==\"fixed\")m+=k(window).L();if((e=e.offsetParent)&&c){aa=k(e);i+=parseInt(aa.getStyle(\"border-left\"))||0;m+=parseInt(aa.getStyle(\"border-top\"))||0}}while(e&&e!=a);if(c&&this.c.parentNode)for(aa=this.c.parentNode;aa&&aa!=a;aa=aa.parentNode){if(aa.scrollTop)m-=aa.scrollTop;if(aa.scrollLeft)i-=aa.scrollLeft}return{x:i,y:m,vg:O}},getAnimation:function(a){return new La(this,a)},getOpacity:function(){var a=parseFloat(this.c.style.opacity);\nif(isNaN(a))a=1;return parseFloat(a)},setRect:function(a){this.setPos(a.x,a.y);this.resize(a.width,a.height)},jB:function(){return this.getStyle(\"position\")==\"fixed\"},getRect:function(a,c){var e,i=this.c.offsetParent;a=a||i;e=i?this.getRelPos(a,c):{x:this.getLocalLeft(),y:this.getLocalTop()+(this.getStyle(\"position\")==\"fixed\"?k(window).L():0)};i=new ja(e.x,e.y,this.getWidth(),this.getHeight());if(e.vg&&e.vg!=1){i.height*=e.vg;i.width*=e.vg}if(e=this.getStyle(\"right\"))if(b.fv.exec(e)&&this.getStyle(\"left\")==\n\"auto\")i.x=k(window).getWidth()-i.width-parseInt(e);if(c){i.width+=parseInt(this.getStyle(\"padding-left\"))||0;i.width+=parseInt(this.getStyle(\"padding-right\"))||0;i.height+=parseInt(this.getStyle(\"padding-top\"))||0;i.height+=parseInt(this.getStyle(\"padding-bottom\"))||0;i.width+=parseInt(this.getStyle(\"border-left\"))||0;i.width+=parseInt(this.getStyle(\"border-right\"))||0;i.height+=parseInt(this.getStyle(\"border-top\"))||0;i.height+=parseInt(this.getStyle(\"border-bottom\"))||0}return i},appendChildren:function(){for(var a=\narguments,c=0;c<(a||\"\").length;c++)this.appendChild(a[c])},setLocalMarginTop:function(a,c){this.setStyle(\"margin-top\",a+(c||\"px\"))},getLocalTop:function(){return parseInt(this.getStyle(\"top\"))||0},getLocalLeft:function(){return parseInt(this.getStyle(\"left\"))||0},getLocalRight:function(){return parseInt(this.getStyle(\"right\"))||0},getWidth:function(){return parseInt(this.getStyle(\"width\"))||0},getHeight:function(){return parseInt(this.getStyle(\"height\"))||0},getOffsetHeight:function(){return this.c.offsetHeight||\n0},getOffsetWidth:function(){return this.c.offsetWidth||0},getScrollLeft:function(){return this.c.scrollLeft},L:function(){return this.c.scrollTop},setVisibility:function(a){var c;if(typeof a==\"string\")c=a;else if(typeof a==\"boolean\")c=a?\"visible\":\"hidden\";typeof c!=\"undefined\"&&this.setStyle(\"visibility\",c)},toggleVisible:function(){this.setVisible(this.isHidden())},setVisible:function(a){a?this.show():this.hide()},hide:function(){if(!this.isHidden())this.mx=this.getStyle(\"display\");this.setStyle(\"display\",\n\"none\")},show:function(){if(this.isHidden())this.setStyle(\"display\",this.mx||\"block\")},isVisible:function(){return this.getStyle(\"display\")!=\"none\"},isHidden:function(){return this.getStyle(\"display\")==\"none\"},updateLayout:function(){this.resize(this.getWidth(),this.getHeight())},fade:function(a,c,e){a.push&&this.setOpacity(a[0]);this.Sa=this.Sa||this.getAnimation({La:d.zc});this.Sa.stop();this.Sa.duration=e||500;this.Sa.M=c;this.Sa.start({opacity:a,visible:true});return this.Sa},fadeOut:function(a,\nc){return this.fade(0,a,c)},fadeOutAndRemove:function(a){return this.fade(0,this.bind(this.remove),a)},fadeIn:function(a,c){return this.fade(1,a,c)},hasAncestor:function(a){return!!this.getAncestor(a)},getAncestor:function(a){for(var c=this.c;(c=c.parentNode)&&!a.call(c););return c},setChildren:function(){this.removeChildren();this.appendChildren.apply(this,arguments)},compareOrder:function(a){return b.Sh(this.c,a.c)},hasParent:function(){return this.c&&this.c.parentNode},isInDom:function(){for(var a=\nthis.c;a;){if(a==document)return true;a=a.parentNode}return false},getElementByAttribute:function(a,c){if(this.c.getAttribute(a)==c)return this;for(var e=this.c.childNodes,i=0;i<(e||\"\").length;i++){var m=e[i];if(m.nodeType==1)if(m=k(m).getElementByAttribute(a,c))return m}return null},Fs:function(a,c){for(var e=0,i;i=this.c.childNodes[e];e++)if(b.it(i)==\"element\"){a(k(i));c&&i.childNodes.length>0&&k(i).Fs(a,c)}},addClass:function(a){if(!(!a||a.length==0)){var c=this.c.className;if((\" \"+c+\" \").indexOf(\" \"+\na+\" \")<0)c+=\" \"+a;this.c.className=cb(c)}},removeClass:function(a){if(!(!a||a.length==0)){var c=this.c.className;c=(\" \"+c+\" \").replace(\" \"+a+\" \",\" \");this.c.className=cb(c)}},hasClass:function(a){if((\" \"+this.c.className+\" \").indexOf(a)>-1)return true;return false},blockParentMouseScroll:function(a){if(a&&!this.Pd){this.Pd=this.bindWithEvent(this.Mu);this.addEvent(\"mousewheel\",this.Pd)}else if(a===false&&this.Pd){this.removeEvent(\"mousewheel\",this.Pd);this.Pd=null}},Mu:function(a){var c=this.c,e=\nc.scrollTop,i=c.scrollHeight,m=c.offsetHeight;if(i>m&&a.wg>0&&(e==0||e+a.wg<0)){c.scrollTop=0;a.stop()}else if(e-a.wg>=i-m&&a.wg<0){c.scrollTop=i;a.stop()}},setIgnoreSelection:function(a){this.c.ignoreSelection=a?true:false},afterDomAttach:n});var k=b.nd;o.prototype.gv={inherit:o.prototype.i,gradient:o.prototype.nA,round:o.prototype.kA,shadow:o.prototype.lA,opacity:o.prototype.setOpacity,\"-a-box-sizing\":o.prototype.mA};o.prototype.getVisible=o.prototype.isVisible;k(window).addEvent(\"unload\",b.GA);\nvar r=b.ht=function(a){return document.createTextNode(a)},s=b.I=t(o,{init:function(){this.parent(\"div\",arguments)}},\"Div\"),H=b.vh=t(o,{init:function(){this.parent(\"span\",arguments)}},\"Span\"),P=b.Gq=t(o,{init:function(){this.parent(\"iframe\",{id:b.Zg(\"aptureIf\")+(new Date).getTime(),border:0,frameBorder:0},arguments)},IA:function(){var a=this.c;return a.contentDocument?a.contentDocument:a.contentWindow?a.contentWindow.document:a.document}},\"IFrame\"),X=b.zC=t(P,{init:function(){this.parent({style:{position:\"absolute\"},\nscrolling:\"no\",width:0,height:0},arguments)}},\"HiddenIFrame\");b.extend({xm:function(a){for(var c=[];a;){c.push(a);a=a.parentNode}return c},Sh:function(a,c){if(a==c)return 0;for(var e=b.xm(a),i=b.xm(c),m=null;e.length&&i.length;){var q=e.pop(),z=i.pop();if(q!=z){if(m){e=m.childNodes;for(i=0;i<(e||\"\").length;i++){m=e[i];if(m==q)return-1;if(m==z)return 1}}return 0}m=q}}});b.b={f:{},g:{}};b.b.g.Ce={\"float\":\"left\"};b.b.g.Cq={\"float\":\"right\"};b.b.g.Ya={position:\"relative\"};b.b.g.Oa={position:\"absolute\"};\nb.b.g.Dq={height:\"100%\",width:\"100%\"};b.b.g.gl={cursor:\"default\"};b.b.g.Ed={cursor:\"pointer\"};b.b.g.II={cursor:\"url(http://cdn.apture.com/media/imgs/crsr/magnify_in.gif), pointer\"};b.b.g.AI={clear:\"both\"};b.b.g.rd={\"border-collapse\":\"collapse\",clear:\"none\",cursor:\"auto\",\"float\":\"none\",\"font-family\":\"normal\",\"font-size\":\"12px\",\"font-style\":\"normal\",\"font-variant\":\"normal\",\"font-weight\":\"normal\",\"letter-spacing\":\"normal\",margin:\"0\",outline:\"none\",position:\"static\",\"text-decoration\":\"none\",\"text-indent\":\"0\",\n\"text-transform\":\"none\",\"vertical-align\":\"baseline\",\"white-space\":\"normal\",\"word-spacing\":\"normal\"};b.b.f.Be=\"1px solid #999\";b.b.f.Jq={color:\"#06c\"};b.b.f.dJ={\"font-family\":\"Helvetica, sans-serif\"};b.b.f.Xe={\"font-family\":'\"Helvetica Neue\", Helvetica, sans-serif'};b.b.f.yt={\"font-family\":'HelveticaNeue-Light, \"Helvetica Neue\", Helvetica, sans-serif'};b.b.f.vD={\"font-family\":\"Verdana, sans-serif\"};b.b.f.K={inherit:[b.b.f.Xe],\"font-size\":\"12px\"};b.b.f.ul={inherit:[b.b.f.Xe],\"font-size\":parseInt(b.b.f.K[\"font-size\"],\n10)-1+\"px\"};b.b.f.Ut={inherit:[b.b.f.Xe],\"font-size\":parseInt(b.b.f.K[\"font-size\"],10)-2+\"px\"};b.b.f.FC={inherit:[b.b.f.Xe],\"font-size\":parseInt(b.b.f.K[\"font-size\"],10)+2+\"px\"};b.b.f.We={\"font-weight\":\"bold\"};b.b.f.rh={inherit:[b.b.f.K],color:\"#252525\"};b.b.f.hl={color:\"#424242\"};b.b.f.sh={inherit:[b.b.f.K,b.b.f.hl]};b.b.f.pl={color:\"#6e6e7c\"};b.b.f.Kt={inherit:[b.b.f.K,b.b.f.pl]};b.b.f.HC={inherit:[b.b.f.K],color:\"#fff\"};b.b.f.cc={\"font-weight\":\"bold\"};var ba=b.CL=t(R,{init:function(a){this.xe=\nparseInt(a[0]||0);this.pg=parseInt(a[1]||0);this.rev=parseInt(a[2]||0)},Tp:function(a){if(this.xea.xe)return true;if(this.pga.pg)return true;return this.rev>=a.rev}}),U={qj:b.nQ?new ba([99,9,9]):null,Hp:function(){if(!this.qj){var a=new ba([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var c=navigator.plugins[\"Shockwave Flash\"];if(c&&c.description)a=new ba(c.description.replace(/([a-zA-Z]|\\s)+/,\"\").replace(/(\\s+r|\\s+b[0-9]+)/,\n\".\").split(\".\"))}else if(navigator.userAgent&&navigator.userAgent.indexOf(\"Windows CE\")>=0){c=1;for(var e=3;c;)try{e++;c=new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash.\"+e);a=new ba([e,0,0])}catch(i){c=null}}else{try{c=new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash.7\")}catch(m){try{c=new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash.6\");a=new ba([6,0,21]);c.hI=\"always\"}catch(q){if(a.xe==6)return a}try{c=new ActiveXObject(\"ShockwaveFlash.ShockwaveFlash\")}catch(z){}}if(c!=null)a=new ba(c.GetVariable(\"$version\").split(\" \")[1].split(\",\"))}this.qj=\na}return this.qj}};b.St=t(R,{init:function(a,c,e,i,m,q,z,O){this.ja={};this.lp={};this.Sc=[];a&&this.setAttribute(\"swf\",a);c&&this.setAttribute(\"id\",c);e&&this.setAttribute(\"width\",e);i&&this.setAttribute(\"height\",i);m&&this.setAttribute(\"version\",new ba(m.toString().split(\".\")));this.hx=U.Hp();q&&this.jd(\"bgcolor\",q);b.Ma.ot.hB&&b.Ma.Lt.mB&&this.jd(\"wmode\",\"opaque\");this.jd(\"quality\",z||\"high\");this.setAttribute(\"redirectUrl\",O||\"\")},setAttribute:function(a,c){this.Sc[a]=c},getAttribute:function(a){return this.Sc[a]},\njd:function(a,c){this.ja[a]=c},Hk:function(a,c){this.lp[a]=c},XA:function(){var a=[],c=this.lp;for(var e in c){var i=c[e];c[e]!==D[e]&&a.push(e+\"=\"+encodeURIComponent(i))}return a},write:function(a){a=k(a);if(this.Ps())a.c.innerHTML=this.ng();else a.setChildren(new s({style:{padding:\"10px\",font:\"11px Helvetica\"}},new ha))},ng:function(){return this.pi(false)},TQ:function(){var a=this.pi(true),c=this.pi(false);return a.substring(0,a.indexOf(\"\"))+c+\"\"},pi:function(a){var c=\"\";c=x(this.Sc.width);\nvar e=x(this.Sc.height),i=x(this.Sc.swf),m=x(this.Sc.id),q=x(this.XA().join(\"&\"));if(a){c='';a=this.ja;for(var z in a){e=a[z];if(a[z]!==D[z])c+=''}if(q.length)c+='';c+=\"\"}else{c='\"}return c},Ps:function(){return this.hx.Tp(this.getAttribute(\"version\"))}},\"SWFObject\");var ha=b.TC=t(o,{init:function(){this.parent(\"div\",{innerHTML:\"

\"+(U.Hp().Tp(new ba([1,0,0]))?\"Unsupported Flash plugin version.\":\"Flash plugin not found.\")+\"

To continue, install the latest version of Adobe Flash Player. You may need to restart your browser to complete the installation.

\"})}},\n\"NeedFlash\");b.eh=function(a,c){return h(a,c,0)};var ta=function(){var a={\"\\u0008\":\"\\\\b\",\"\\t\":\"\\\\t\",\"\\n\":\"\\\\n\",\"\\u000c\":\"\\\\f\",\"\\r\":\"\\\\r\",'\"':'\\\\\"',\"\\\\\":\"\\\\\\\\\"};return function(c){if(/[\"\\\\\\x00-\\x1f]/.test(c))return'\"'+c.replace(/([\\x00-\\x1f\\\\\"])/g,function(e,i){var m=a[i];if(m)return m;m=i.charCodeAt();return\"\\\\u00\"+Math.floor(m/16).toString(16)+(m%16).toString(16)})+'\"';return'\"'+c+'\"'}}();b.gS=function(a){if(/\\=|\\bnew\\b|\\(/.test(a.replace(/(\\\\.)|(apture.make\\()|(new Date\\()/g,\"\").replace(/\"[^\"\\\\\\n\\r]*\"/g,\n\"\")))throw new SyntaxError(\"parseJSON\");else return eval(\"(\"+a+\")\")};var $=b.OI=t(R,{init:function(){this.Pn=1;this.nf=0;this.ke=[];this.bj=null;this.Eu={sg:{},url:\"v3/\"};this.Fu={sg:{},url:\"v4/\"};this.kz=this.bind(this.Lo);b.addListener(10,{fn:this.Iw,obj:this})},Jw:function(a){this.nf--;this.bj&&window.clearTimeout(this.bj);this.ke.push(a.vq);if(this.ke.length>4)this.Lo();else if(this.ke.length>1)this.bj=window.setTimeout(this.kz,500)},Iw:function(){this.nf>0&&this.S(1125,{incomplete:this.nf})},\nLo:function(){var a=this.ke;this.ke=[];this.S(1125,{stats:b.eh(a)})},S:function(a,c,e){this.Cn(this.Eu,a,c,e)},uj:function(a,c,e){this.Cn(this.Fu,a,c,e)},Cn:function(a,c,e){e=e||{};e.type=c;this.gu(e);if(b.page&&b.page.id)e.pageId=b.page.id;a.sg[this.Pn]=b.eh(e);this.Pn++;this.CA(a)},CA:function(a){var c=a.sg;a.sg={};a=new Ga({url:\"http://l.apture.com/\"+a.url,params:c,BA:false});a.addListener(351,{fn:this.Jw,obj:this});this.nf++;a.send()},gu:function(a){if(b.siteId)a.siteId=b.siteId;if(b.visitId)a.visitId=\nb.visitId}},\"EventTracker\");$.prototype.track=$.prototype.JS;$.prototype.avro=$.prototype.S;b.ea=b.lg=new $;b.make=b.Ad;b.invokeCallback=b.fB;b.invokeBrokeback=b.eB;b.eventTracker=b.lg;b.Xa={};b.Xa.qb={};b.Xa.mp=function(a){b.extend(a,this.qb)};b.Xa.Dj=function(){if(this.qb.magicLinks)return this.qb.magicLinks;return null};b.Xa.cH=function(){var a=new b.dk;a.yB(this.Dj());return a};b.Xa.dH=function(a){if(this.qb.pluginUrl)return this.qb.pluginUrl+a;return null};b.zB=function(a){b.Xa.mp(a)};b.pluginPushAptureConfig=\nb.zB;var Ka=b.cJ=t(R,{init:function(a){this.Dz=a.Uj;this.Ov=a.zj;this.$u=b.D(a.xQ,[]);this.Kl=a.backgroundColor;this.hA=b.D(a.width,\"100%\");this.Bf=b.D(a.height,\"100%\");this.gO=a.lH},aw:function(a){var c=[];c.push(a({pos:0,color:this.Dz}));for(var e=0,i;i=this.$u[e];e++)c.push(a(i));c.push(a({pos:100,color:this.Ov}));return c.join(\",\")},DO:function(a){return a.color+\" \"+a.pos+\"%\"},Ix:function(a){return\"color-stop(\"+a.pos/100+\", \"+a.color+\")\"},pA:function(a){a.i(this.T())},tj:function(){},T:function(){var a=\n{},c=\"\"+this.hA+\" \"+this.Bf;a[\"-webkit-background-size\"]=c;a[\"background-image\"]=\"-webkit-gradient(linear, 0 0, left bottom, \"+this.aw(this.Ix)+\")\";if(this.Kl){a[\"background-size\"]=c;a[\"background-color\"]=this.Kl}return a}},\"Gradient\"),Ga=b.Lq=t(R,{Bl:true,hi:true,Hc:null,ja:null,xd:null,pj:null,init:function(a){this.pj=a.url;this.ja=b.D(a.params,{});this.hi=b.D(a.BA,true);this.Bl=b.D(a.MG,true)},Qm:function(a){this.notifyWithParams(350,{data:a})},Qw:function(){if(this.P.readyState==4){this.Hc=(new Date).getTime();\nthis.sm(this.P.responseText);this.notifyWithParams(351,{vq:this.Hc-this.xd})}},Pw:function(){this.Hc=(new Date).getTime();this.sm(this.P.responseText);this.notifyWithParams(351,{vq:this.Hc-this.xd})},sm:function(a){if(a)window.execScript?window.execScript(a):window.eval(a)},cancel:function(){if(this.Ha)this.Ha.cancel();else this.P&&this.P.abort()},send:function(){this.ja.AC=b.Bc();if(Ga.Qt&&this.Bl){if(Ga.Rt){this.P=new XMLHttpRequest;this.P.onreadystatechange=this.bind(this.Qw)}else{this.P=new XDomainRequest;\nthis.P.onload=this.bind(this.Pw)}if(this.hi)this.ja.cb=b.eq(this.bind(this.Qm));this.P.open(\"GET\",b.wb(this.pj,this.ja));this.xd=(new Date).getTime();this.P.send()}else{this.Ha=new Ea(this.pj,this.ja);this.hi?this.Ha.Wa(this.bind(this.Qm)):this.Ha.Wa()}}},\"Request\");Ga.Qt=window.localStorage&&window.postMessage;Ga.Rt=typeof window.XDomainRequest==\"undefined\";b.extend({zn:[],Gi:{},Ty:{},LG:function(a,c){a.push||(a=[a]);for(var e=b.Gi,i={},m=0,q=0;q<(a||\"\").length;q++){var z=a[q];if(!e[z]){b.load(z);\ni[z]=1;m++}}m?b.zn.push({fn:c,Uy:i,Yx:m}):c()},Yk:function(a){b.Gi[a]=1;for(var c=b.zn,e=0;e<(c||\"\").length;e++){var i=c[e],m=i.Uy;if(m[a]){delete m[a];--i.Yx||i.fn()}}typeof window.apture_compontent_onload==\"function\"&&window.apture_compontent_onload(a)},load:function(a){var c=b.Ty;if(!c[a]&&!b.Gi[a]){c[a]=1;(new Ea(b.nB+\"/\"+a+\".khtml.js?v=30919596\")).Wa()}}});b.Ld={};b.Ld.Ox=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"June\",\"July\",\"Aug\",\"Sept\",\"Oct\",\"Nov\",\"Dec\"];b.Ld.TG=function(a){return b.Ld.Ox[a]};b.Ld.tH=\nfunction(a,c){for(var e=\"\"+a;e.length\"+a.getDate()+\" \"+[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"June\",\"July\",\"Aug\",\"Sept\",\"Oct\",\"Nov\",\"Dec\"][a.getMonth()]+\" \"+\n(a.getYear()+1900)};b.Ma={};b.Ma.xg={Xg:function(){if(typeof b.Ma.xg.Xg.value==\"undefined\"){var a=document.createElement(\"div\");a.style.width=a.style.paddingLeft=\"1px\";document.body.appendChild(a);b.Ma.xg.Xg.value=a.offsetWidth===2;document.body.removeChild(a)}return b.Ma.xg.Xg.value},TR:document.compatMode&&document.compatMode==\"BackCompat\"};b.Ma.ot={hB:navigator.userAgent&&navigator.userAgent.toLowerCase().indexOf(\"chrome\")!=-1,CR:navigator.userAgent&&navigator.userAgent.toLowerCase().indexOf(\"safari\")!=\n-1};b.Ma.b=new function(){var a=null,c={},e=new b.I;b.R(e);a=\"Khtml\";this.WB=function(i){if(typeof c[i]==\"undefined\"){var m=b.rA(i),q=e.c.style;c[i]=typeof q[m]!=\"undefined\"||a&&typeof q[a+b.tA(m)]!=\"undefined\"}return c[i]}};b.Ma.Lt={BR:navigator.userAgent&&navigator.userAgent.toLowerCase().indexOf(\"macintosh\")!=-1,mB:navigator.userAgent&&navigator.userAgent.toLowerCase().indexOf(\"windows\")!=-1};b.Us=function(a,c){var e=new X;b.R(e);try{var i=e.IA()}catch(m){return null}i.write(\"\");\ni.close();var q=i.createElement(\"form\");q.method=\"POST\";q.action=a;for(var z in c){var O=c[z];if(c[z]!==D[z]){var fa=i.createElement(\"input\");fa.type=\"hidden\";fa.name=z;fa.value=O;q.appendChild(fa)}}z=i.createElement(\"input\");z.type=\"submit\";q.appendChild(z);i.body.appendChild(q);z.click();return e};var Oa=b.NI=t(R,{init:function(){var a=/key/,c=/mouse/,e={\"13\":\"enter\",\"27\":\"esc\",\"9\":\"tab\",\"32\":\" \"};return function(i){i=this.Wc=i||window.event;var m=this.type=i.type;if((this.target=i.target||i.srcElement)&&\nthis.target.nodeType==3)this.target=this.target.parentNode;this.shift=i.shiftKey;this.yA=i.ctrlKey;this.alt=i.altKey;this.wB=i.metaKey;if(m==\"DOMMouseScroll\"||m==\"mousewheel\")this.wg=i.wheelDelta?i.wheelDelta/(window.opera?-120:120):-(i.detail||0)/3;else if(a.test(m)){this.code=i.which;this.key=e[this.code]||String.fromCharCode(this.code).toLowerCase()}else if(c.test(m)||m==\"click\"){this.page={x:i.pageX||i.clientX+(document.documentElement.scrollLeft||(document.body||{}).scrollLeft),y:i.pageY||i.clientY+\n(document.documentElement.scrollTop||(document.body||{}).scrollTop)};this.dS=i.which==3||i.button==2}}}(),stop:function(){this.stopPropagation();this.preventDefault()},stopPropagation:function(){if(this.Wc.stopPropagation)this.Wc.stopPropagation();else this.Wc.cancelBubble=true},preventDefault:function(){if(this.Wc.preventDefault)this.Wc.preventDefault();else this.Wc.returnValue=false}},\"Event\");k(window).extend({getWidth:function(){return document.documentElement.clientWidth||this.c.innerWidth},\ngetHeight:function(){return document.documentElement.clientHeight||this.c.innerHeight},Jp:function(){return Math.max(document.documentElement.offsetWidth,document.body.offsetWidth,document.documentElement.scrollWidth,document.body.scrollWidth)},Ip:function(){return Math.max(document.documentElement.offsetHeight,document.body.offsetHeight,document.documentElement.scrollHeight,document.body.scrollHeight)},getScrollLeft:function(){return this.c.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft},\nL:function(){return b.L(this.c)},mh:function(a){window.scrollTo(this.getScrollLeft(),a)},setScrollLeft:function(a){window.scrollTo(a,this.L())},aa:function(a){a=a?0:b.Y&&b.Y()&&!b.Y().Bb?40:0;return new ja(this.getScrollLeft(),this.L()+a,this.getWidth(),this.getHeight()-a*2)},JA:function(){return new ja(0,0,this.Jp(),this.Ip())},pp:function(a,c){var e={},i=this.getScrollLeft(),m=this.L(),q=this.dz=this.dz||new Qa({duration:500,La:d.zc,importance:1});if(a!=null)e.scrollLeft=[i,Math.max(0,a)];if(c!=\nnull)e.scrollTop=[m,Math.max(0,c)];if(a||c){q.stop();q.start([[this,e]]);q.M=b.bind(b.notify,[\"windowDidScroll\"])}}});(function(){var a=k(window);a.setScrollTop=a.mh;a.setScrollLeft=a.setScrollLeft;a.getScrollTop=a.L;a.getScrollLeft=a.getScrollLeft;a.getScrollHeight=a.Ip;a.getScrollWidth=a.Jp;a.getHeight=a.getHeight;a.getWidth=a.getWidth})();b.L=function(a){return a.pageYOffset||a.document.documentElement.scrollTop||a.document.body.scrollTop};var xa=b.Hd=t(o,{init:function(){this.parent(\"img\",arguments);\nthis.addEvent(\"load\",this.bind(this.Lg));this.addEvent(\"error\",this.bind(this.an))},del:function(){this.ii=this.Ei=null;this.parent()},lh:function(a){if(a&&this.Wp)a();else this.Ei=a},Rj:function(a){if(a&&this.Xp)a();else this.ii=a},ba:function(a,c){c=c||[];if(sa(c)!=\"array\")c=[c];a=a||c.splice(0,1)[0];this.wf=c;if(a)if(a.indexOf(\"://\")==-1)a=a.charAt(0)==\"/\"?b.wb(a):b.imgUrl(a);if(a!=this.src){this.src=a;this.c.style.filter=\"\";this.c.src=a}},Lg:function(){this.Wp=true;this.Xp=false;this.notifyWithParams(191,\n{src:this.src});this.Ei&&setTimeout(this.Ei,10)},an:function(){this.Wp=false;this.Xp=true;var a=this.src,c=null;if(this.wf&&this.wf.length>0){c=this.wf.splice(0,1)[0];this.ba(c,this.wf)}this.notify(190,c);this.ii&&this.ii(a,c)}},\"Img\");xa.prototype.setSrc=xa.prototype.ba;var ja=b.ql=t(R,{init:function(a,c,e,i){this.x=isNaN(a)?0:a;this.y=isNaN(c)?0:c;this.width=isNaN(e)?0:e;this.height=isNaN(i)?0:i},copy:function(){return new ja(this.x,this.y,this.width,this.height)},IQ:function(a){return a&&this.x==\na.x&&this.y==a.y&&this.width==a.width&&this.height==a.height},FS:function(){return new ja(this.x+k(window).getScrollLeft(),this.y+k(window).L(),this.width,this.height)},wq:function(){return new ja(this.x-k(window).getScrollLeft(),this.y-k(window).L(),this.width,this.height)},dB:function(a){var c=this.x,e=this.y,i=a.x,m=a.y,q=c+this.width,z=e+this.height,O=i+a.width;a=m+a.height;if(cO)q=O;if(z>a)z=a;q-=c;z-=e;return new ja(c,e,q,z)},og:function(a){return!(a.x>=this.Ia()||a.Ia()<=\nthis.x||a.y>=this.ua()||a.ua()<=this.y)},kg:function(a){return this.x<=a.x&&this.y<=a.y&&this.Ia()>=a.Ia()&&this.ua()>=a.ua()},yQ:function(a){var c=this.x,e=this.y;return a.x>=c&&a.x<=c+this.width&&a.y>=e&&a.y<=e+this.height},dh:function(){return this.width<=0||this.height<=0},add:function(a){return new ja(this.x+a.x,this.y+a.y,this.width+a.width,this.height+a.height)},Vj:function(a){return new ja(this.x-a.x,this.y-a.y,this.width-a.width,this.height-a.height)},multiply:function(a){return new ja(this.x*\na,this.y*a,this.width*a,this.height*a)},Ia:function(){return this.x+this.width},ua:function(){return this.y+this.height},Pp:function(a,c){return this.add(a.Vj(this).multiply(c))},bh:function(a,c){return new ja(this.x+a,this.y+c,this.width-2*a,this.height-2*c)},MR:function(a,c){return new ja(this.x+a,this.y+c,this.width,this.height)},round:function(){return new ja(Math.round(this.x),Math.round(this.y),Math.round(this.width),Math.round(this.height))},Se:function(a,c){var e=Math.min(a/this.width,c/this.height);\nreturn new ja(this.x,this.y,e*this.width,e*this.height)},vA:function(a){var c=this.y+this.height/2,e=a.y+a.height/2;return Math.sqrt(Math.pow(a.x+a.width/2-(this.x+this.width/2),2)+Math.pow(e-c,2))},wp:function(a,c){c||(c=a);var e=a*this.width,i=c*this.height;return new ja(this.x+this.width/2-e/2,this.y+this.height/2-i/2,e,i)},da:function(a){return new ja(a.x+a.width/2-this.width/2,a.y+a.height/2-this.height/2,this.width,this.height)},uA:function(){return{x:this.x+this.width*0.5,y:this.y+this.height*\n0.5}},Qj:function(){var a=b.Y&&b.Y()&&!b.Y().Bb?40:0,c=this.y-a,e=k(window),i=e.aa(),m=this.xi.Ia()?this.Ia()-i.width:null;i=ci.ua()?this.ua()-i.height:null;if(i>c)i=c;e.pp(m?Math.max(0,m):null,i?Math.max(0,i)+a:null)}},\"Rect\"),Xa=b.Kq=t(o,{ct:function(a){this.bo=a;this.c.value=a;this.c.style.color=\"#777\";this.Gf=0;this.addEvent(\"focus\",this.bind(this.eo));this.addEvent(\"blur\",this.bind(this.co))},NB:function(a){this.addEvent(\"keypress\",function(c){c=new Oa(c);\nif(c.key==\"enter\"){a();c.stop();return false}return true})},Ks:function(){var a=this.c.value;return a==this.bo?\"\":a||\"\"},Zk:function(a){this.eo();this.c.value=a||\"\";this.co()},eo:function(){if(!this.Gf){this.Gf=1;this.c.value=\"\";this.c.style.color=\"#000\"}},co:function(){var a=this.bo;if(this.Gf&&a&&this.c.value==\"\"){this.Gf=0;this.c.value=a;this.c.style.color=\"#666666\"}}},\"PlaceholderInput\");Xa.prototype.setOnenter=Xa.prototype.NB;var Da=b.od=t(o,{init:function(){this.parent(\"a\",{href:\"javascript:void(0)\"},\narguments)},click:function(){this.xn()},xn:function(a){a&&a.preventDefault();if(this.Ul)return this.Ul.apply(this,arguments)},uS:function(a){(this.Ul=a)?this.addOnlyEvent(\"click\",this.bindWithEvent(this.xn)):this.removeEvents(\"click\")}},\"Anchor\"),Ea=b.rl=t(R,{init:function(a,c){this.vm=a;this.ja=c||{}},cancel:function(){if(this.Ha){this.Ha.parentNode.removeChild(this.Ha);this.Ha=null}if(this.Nh!=null){b.sA(this.Nh);this.Nh=null}},Hn:function(a,c){var e=(c||document).createElement(\"script\");e.type=\n\"text/javascript\";e.charset=\"utf-8\";e.src=a;return e},Wa:function(a,c){var e=this.ja;if(a)this.Nh=e.cb=b.eq(a,c);var i=b.wb(this.vm,e),m=this;m=this;setTimeout(function(){b.R(m.Ha=m.Hn(i))},10)}},\"Script\"),tb=b.$J=t(Ea,{Wa:function(a){this.Tu=a;a=b.Bs(this.ja);var c=0;do this.Qd=\"aptureJsonCallback\"+c++;while(window[this.Qd]!=undefined);a.callback=this.Qd;this.Ha=this.Hn(b.wb(this.vm,a));var e=this;window[this.Qd]=function(i){e.Tu(i);e.cancel();if(window[e.Qd])window[e.Qd]=null};b.R(this.Ha)}},\"RemoteScript\"),\nRa=0,kb=0,db=0,eb=0;b.Mo=function(a){Ra=a?0:2};b.gw=function(){if(Ra==0)if(b.prefs&&b.prefs.ig==false)return 1;return Ra};var Qa=b.nl=t(R,{fw:function(){return{La:d.$k,duration:500,LS:\"px\",Xj:true,importance:0,ue:30}},init:function(a){this.Wi=[];this.extend(this.fw());this.extend(a)},um:function(){this.Ni=this.G;this.dn();this.Tv();this.Wi.length&&this.start(this.Wi.shift())},jj:function(){var a=(new Date).getTime();this.Rn++;this.Ih=a-this.nj;if(a=0.1?0:1;this.um()}},Vl:function(a,c){return this.La(this.Ih,a,c-a,this.po)},stop:function(){if(this.Ub){clearInterval(this.Ub);this.Ub=null;this.kj=(new Date).getTime()}},cS:function(){if(this.kj){if(this.Ub){clearInterval(this.Ub);this.Ub=null}var a=(new Date).getTime()-this.kj;this.kj=null;this.nj+=a;this.Ub=setInterval(this.bind(this.jj),this.be)}},qz:function(){for(var a=this.Bh,c=a.length,e=0;e=b.gw()){this.Ub=setInterval(this.bind(this.jj),this.be);this.jj()}else this.um()},\ncx:function(a){this.Ni=[];this.Bh=[];this.gm=false;this.Vn=[];this.qa=[];this.G=[];for(var c=0;c2)return;try{var z=new f(this,i,m,q)}catch(O){if(O!=ma)throw O;else z=new ub(this,i,m,q)}q=typeof z.G;if(q==\"boolean\"||q==\"string\"||z.qa===z.G)this.Vn.push(z);else{this.Bh.push(z);this.qa.push(z.qa);this.G.push(z.G)}}}}this.po=this.duration}},\n\"MultiAnimation\"),La=b.kI=t(Qa,{init:function(a,c){this.pm=a;this.parent(c)},start:function(a){return this.parent(a instanceof Array?a:[[this.pm,a]])}},\"Animation\");$=b.rL=t(R,{init:function(a,c,e){this.Dl=a;this.pm=c;this.dP=e},kp:function(){return this.Dl.Vl(this.qa,this.G)}});var Ya=/[^0-9\\-\\.]+/i,ub=b.uL=t($,{init:function(a,c,e,i){this.parent(a,c,e);var m;if(i.length==1){a=c.getStyle(e);this.qa=parseFloat(a);if(isNaN(this.qa))this.qa=0;this.G=parseFloat(i[0]);m=i[0]}else if(i.length==2){this.qa=\nparseFloat(i[0]);this.G=parseFloat(i[1]);m=i[1]}var q=\"\";if(isNaN(this.G))this.G=m;else if(m.match)if(i=m.match(Ya))q=i[0];this.oe=function(z){c.setStyle(e,z+q)};this.Em=this.kp}}),ma={},f=b.zL=t($,{init:function(a,c,e,i){this.parent(a,c,e);a=wa(e);var m=c[\"set\"+a];if(!m)throw ma;if(i.length==1){if(a=c[\"get\"+a])this.qa=a.call(c);else return;this.G=i[0]}else if(i.length==2){this.qa=i[0];this.G=i[1]}var q=null;i=parseFloat(this.G);if(!isNaN(i)&&this.G.match)if(a=this.G.match(Ya))q=a[0];if(!isNaN(i)){this.qa=\nparseFloat(this.qa);this.G=i}this.Em=this.G&&this.G.Pp?this.$x:this.kp;this.oe=function(z){m.call(c,z,q)}},$x:function(){return this.qa.Pp(this.G,this.Dl.Vl(0,1))}}),d=b.wl={pH:function(a,c,e,i){return c+a/i*e},zc:function(a,c,e,i){return-(e/2)*Math.cos(a/i*Math.PI)+e/2+c},$k:function(a,c,e,i){return-e/2*(Math.cos(Math.PI*a/i)-1)+c},qA:function(a,c,e,i,m){m||(m=1.70158);return e*((a=a/i-1)*a*((m+1)*a+m)+1)+c},GQ:function(a,c,e,i){return-e*(a/=i)*(a-2)+c},BQ:function(a,c,e,i){return e*(a/=i)*a*a+c}},\ng=b.zg=t(s,{init:function(){this.parent({apture:true},arguments,this.Tc=new s);this.BP=true;this.oa()},oa:function(){this.Tc.c.className=\"aptureTitleText\"},wj:function(){this.Tc.c.className=\"aptureTitleText aptureTitleTextInactive\"},Fj:function(){return this.Tc},PB:function(a,c){this.Ri=a;this.qy=c;this.cm==this.Ri&&this.ye(this.Ri)},nz:function(a){this.cm=a;if(a==this.Ri)a=this.qy;return a},rj:function(a){this.insertBefore(a,this.Tc)},ye:function(a){this.Fj().setText(this.nz(a)||\"(No title)\")},yS:function(a){var c=\nthis.Fj();try{c.c.innerHTML=this.cm=a}catch(e){c.setChildren(new o(\"span\",{innerHTML:a}))}}},\"TitleBar\"),j=b.OC=t(R,{},\"Mixin\");j.extend({ld:function(a){this.Kn(a.prototype);return a},Nx:function(a,c){return function(){var e=a.apply(this,arguments);c.apply(this,arguments);return e}},Kn:function(a){var c=this.prototype;for(var e in c){var i=c[e];if(c[e]!==D[e])if(i!==j.prototype[e]&&e!=\"_class\"&&e!=\"_ctor\"){var m=a[e];a[e]=m?this.Nx(m,i):i}}},Re:function(a){this.Kn(a);this.prototype.init!=j.prototype.init&&\nthis.prototype.init.call(a);return a}});var l=0;b.tB=b.linkTypes={0:\"PhraseLink\",1:\"EndPassageLink\",2:\"InlineMediaLink\",3:\"RelatedLink\",4:\"InlineMediaContainer\",5:\"TellMeMoreLink\",6:\"SEOEnhanceLink\",7:\"AutoKeywordLink\"};b.zp=function(a,c){var e=a.display,i=a.mediaItem;if(e&&i)for(var m in e)a.mediaItem[m]=e[m];return new b[b.tB[a.linkType]](a,c)};b.zd=b.createLink=function(a,c){var e=b.zp(a,c);e.addListener(171,{fn:b.Pm,obj:this});return e};b.Pm=function(a){a.Ja.Pc(16);(new b.yD({mediaItem:a.mediaItem,\nte:a.Ja})).show()};var p=b.Iq=t(o,{wa:14,className:\"aptureLink\",$o:\"span\",Tj:n,init:function(a,c){this.parent(this.$o,{id:\"apture_prvw\"+ ++l});this.extend(a);var e=a.childLinks;if(e){for(var i=[],m=0;m=this.sf||Math.abs(c)>=this.sf){if(this.za)this.gi=this.xf?{x:this.za.getLocalLeft(),y:this.za.getLocalTop()}:this.za.getRelPos(document.body);this.Xd=true;this.notifyWithParams(71)}if(this.Xd){if(this.za){c=this.gi.y+c;e=this.gi.x+e;if(this.pa.Mj!=null&&cthis.pa.Kj)c=this.pa.Kj;if(this.pa.Lj!=null&&ethis.pa.Jj)e=this.pa.Jj;this.za.setPos(e,c)}this.notifyWithParams(72)}}a.stop()}},\n\"Draggable\"),T=b.LC=t(s,{init:function(a,c,e,i){var m=\"aptureMessage\";if(a==1){m+=\" aptureMessageInfo\";e=e||\"Apture Information Message\"}else if(a==4){m+=\" aptureMessageInfoYellow\";e=e||\"Apture Information Message\"}else if(a==2){m+=\" aptureMessageSuccess\";e=e||\"Apture Success Message\"}else if(a==3){m+=\" aptureMessageAlert\";e=e||\"Apture Alert Message\"}i==1?this.parent({className:m},new s({className:\"aptureMessageCloseBtn\",onclick:this.bind(this.Sd)},\" \"),new o(\"h4\",e),new o(\"p\",{style:{marginBottom:\"2px\"}},\nc),new o(\"br\")):this.parent({className:m},new o(\"h4\",e),new o(\"p\",c),new o(\"p\",new Da({onclick:this.bind(this.Sd)},\"Close this message\")))},Sd:function(){this.notify(121);if(this.Rh){clearTimeout(this.Rh);this.Rh=null}this.remove()},remove:function(){this.parent();this.del()},Zb:function(){return!!(this.c&&this.c.parentNode)},Pz:function(){this.notify(121);this.fadeOutAndRemove(1E3)},ES:function(a,c){this.open(a);this.Rh=setTimeout(this.bind(this.Pz),c||4E3)},open:function(a){if(a)a=a instanceof ja?\na:new ja(a.page.x+10,a.page.y+10,220,0);else{a=k(window);var c=a.getWidth(),e=a.getHeight(),i=a.getScrollLeft();a=new ja(i+(c-220)/2,a.L()+(e-50)/2,220,0)}this.setPos(a.x,a.y);this.setWidth(a.width);b.R(this)},hS:function(a){this.setPos(a.x,a.y);this.setWidth(a.width);this.setHeight(a.height);k(window).aa().kg(a)||a.Qj();b.R(this)},close:function(){this.c&&this.Sd()}},\"MessageBox\"),Y=b.Tt=t(s,{init:function(a){this.fa=[];this.xc=0;this.parent({className:\"aptureHorizontalScroll\"},this.Ib=new s({className:\"aptureScrollClip\"},\nthis.Wb=new s({className:\"aptureScrollView\"})),a)},dR:function(){return this.fa},Gk:function(a){this.fa.push(a);this.Wb.appendChild(a)},$R:function(a){for(var c=this.fa,e=0;e<(c||\"\").length;e++){var i=c[e];if(i==a){i.remove();this.fa.splice(e,1);return}}},DB:function(a){this.Wb&&this.Wb.removeChildren(a);this.fa=[]},vz:function(){for(var a=this.fa,c=0;c<(a||\"\").length;c++)a[c].c.style.visibility=\"visible\"},Fk:function(){if(this.Ym){var a=this.Ib.getWidth();if(a>0)for(var c=this.fa,e=0;e<(c||\"\").length;e++){var i=\nc[e],m=i.getRelPos(this.Ib).x;i.c.style.visibility=ma?\"hidden\":\"visible\"}}},pS:function(a){this.Ym=a},Ae:function(){this.Vg();this.Xy();this.Fk()},Xy:function(){this.fa.length&&this.Wb.setWidth(200*this.fa.length)},Vg:n,Yf:function(a,c){if(!(!this.Wb||this.xc==a)){var e=this.fa,i=e.length-(this.nv?this.ub():1);a=Math.max(0,Math.min(i,a));if(e=e[a]){if(this.cg)this.cg.stop();else{this.cg=this.Wb.getAnimation({duration:500});this.cg.M=this.bind(this.Fk)}this.Ym&&this.vz();c&&b.Mo(false);\nthis.cg.start(this.qw(e));c&&b.Mo(true);this.xc=a}this.Vg()}},qw:function(a){return{localLeft:-a.getRelPos(this.Wb).x}},setPageSize:function(a){this.sy=a},ub:function(){return this.sy},Ur:function(){this.xp(1)},Tr:function(){this.xp(-1)},ow:function(a){for(var c=this.fa,e=0;e<(c||\"\").length;e++)if(c[e]==a)return e;return-1},iS:function(a,c){var e=this.ow(a);if(e!=-1&&e=this.xc+this.ub())this.Yf(e,c)},vS:function(a){this.Yf(a*this.ub())},xp:function(a){this.Yf(this.xc+a*this.ub())},Ys:function(a){this.nv=\na},Xq:function(){return this.xc>0},Kh:function(){return this.fa.length&&this.xc+this.ub()O.ua())m=O.ua()-q.height;if(mO.Ia()&&c){this.$f(3);this.Nd(a,false)}else{this.ej(i);q=z.da(e);this.ya.setLocalTop(q.y-i.y);this.ya.setLocalLeft(12-q.width+this.kf+1);this.ya.setStyle(\"right\",\"\")}}else if(this.sc==3){e=i.left;m=q.da(e);i=q.copy();i.x=e.x-i.width-this.Dh;m=m.y;O=k(window).aa();if(m+q.height>O.ua())m=O.ua()-q.height;if(m<\nO.y)m=O.y;i.y=m;if(i.x1?\"A\":\"B\"};b.B.Cd=function(a,c){this.nc=(a||b.B.zz)();this.Da=b.D(c,true)};b.B.Cd.prototype.Ms=function(){return this.nc==\"A\"};b.B.Cd.prototype.gB=function(){return this.nc==\"B\"};b.B.Q.Qc=\nnew b.B.Cd(function(){var a;a=b.Bc()?Math.abs(b.hash(b.Bc()))%3:Math.ceil(Math.random()*3);return a={0:\"A\",1:\"B\",2:\"C\"}[a]},true);b.B.Q.Qc.nH=function(){return this.nc==\"C\"};b.B.Q.Kd=new b.B.Cd(null,false);b.B.Q.cf=new b.B.Cd(null,false);b.Yk(\"core\");var ca=b.ml=t(R,{init:function(a){a&&this.extend(a)},Up:function(){return false},hb:[],ZA:function(){if(this.fixedAspectRatio!=null)return this.fixedAspectRatio;return true},X:function(){return this.genericThumbUrl||\"nf_unknown.gif?v6\"},Ic:function(){return this.previewUrl},\nHE:function(){return this.Ic()},Ob:function(){return this.X()},aq:false,qg:false,$a:function(){return\"badge_embed.png\"},Mk:function(){var a=this.faviconUrl||this.Kp();if(a.indexOf(\"google\")!=-1||a.indexOf(\"bing\")!=-1||a.indexOf(\"site_search_icon.png\")==-1)return a;for(var c=document.getElementsByTagName(\"link\"),e=0,i;i=c[e];e++)if((i.getAttribute(\"rel\")||\"\").indexOf(\"icon\")!=-1&&i.getAttribute(\"href\")){a=i.getAttribute(\"href\");if(a.indexOf(\"http://\")==-1)a=a.charAt(0)!=\"/\"?\"http://\"+window.location.host+\nwindow.location.pathname+a:\"http://\"+window.location.host+a;break}return a},Kp:function(){return this.titleIcon||this.$a()},Ab:function(){return 650},QA:function(){return this.linkIconY||this.Ab()},ka:function(){return this.sourceUrl||this.url},$G:function(){return[]},NA:function(){return this.Z(this.xR)},Z:function(a){a=a||this.N;var c=this.jM;if(c)c=this.bind(c);var e;if(a.pop){e=a[0];a=a[1]}else e=a=a;return b.Z(e,a,this,c)},RA:function(){for(var a={},c=this.main,e=0;e<(c||\"\").length;e++){var i=\nc[e];a[i]=this[i]}return a},Yb:function(){return this.title||\"(no title)\"},yd:function(){return this.resizable==null?true:this.resizable},Uk:function(){return{width:200,height:200}},ga:function(){if(this.width&&this.height)return{width:1*this.width,height:1*this.height};return this.size||this.Vd()},tq:function(){return this.inlineSize?this.inlineSize:this.ga()},Vd:function(){return{width:360,height:320}},Rp:function(){return b.D(this.flexibleSize,true)}},\"MediaItem\"),K=b.dC=t(ca,{},\"AdItem\");b.rK=\nt(K,{},\"ShoppingItem\");b.sK=t(K,{},\"ShoppingSet\");var ia=b.rc=t(o,{yp:false,init:function(a){this.parent(\"div\",{style:{position:\"absolute\"},apture:true});this.d=a;this.ia()},ia:n,del:function(){delete this.d;this.parent()},up:function(){return!this.yp},loaded:true,TB:function(a){this.k=a},Oc:n,Ta:n,Ke:function(a){var c=this.k;if(c){c.ye(a.title);c.kh(a.ka());c.SB(a.prettySource)}},Ka:function(a){if(a===undefined)a=this.d;if(!(this.d===a&&this.Ml)){this.Ml=true;if(this.d=a){this.addStyles();a.addStyles();\nthis.Ke(a);this.Ta(a)}}},Nk:function(){return this.d},mg:n,ih:n,hh:n,Sj:n,Ds:function(a){return a},afterDomAttach:n,AB:n,nb:function(a){return this.Wd=a||arguments.length==0},XQ:function(){return!!this.Wd},Sk:function(){return true}},\"Viewer\");b.jl=t(ia,{ia:function(){this.appendChild(this.ra=new P({style:{position:\"absolute\",backgroundColor:\"white\"},scrolling:this.d.scrolling||\"no\",RG:\"white\"}))},vw:function(){var a=this.d.ga(),c=this.d.urlParams,e={};if(c)for(var i in c){var m=c[i];if(c[i]!==D[i])e[i]=\nm}e.w_init=a.width;e.h_init=a.height;e.browser=\"khtml\";return e},pz:function(){var a=this.d;if(a.url)this.ra.c.src=b.wb(a.url,this.vw());this.ra.c.As=true;this.rz()},rz:function(){this.ra.c.scrolling=this.d.scrolling||\"no\"},Ta:function(){this.pz()},afterDomAttach:function(){this.updateLayout()},ih:function(){this.ra.setStyle(\"visibility\",\"hidden\")},hh:function(){this.ra.setStyle(\"visibility\",\"\")},resize:function(a,c){this.parent(a,c);this.ra.resize(a,c)},setHeight:function(a,c){this.parent(a,c);this.ra.setHeight(a,\nc)},setWidth:function(a,c){this.parent(a,c);this.ra.setWidth(a,c)},Sj:function(){if(this.ra.c.src.indexOf(\"http://www.apture.com\")==0)try{var a=this.ra.c.contentWindow;if(a.Sj)return a.Sj()}catch(c){}return false}},\"IFrameViewer\");K=b.DL=t(j,{T:n,addStyles:function(){if(!this.T.Gy){var a=this.T();if(a){b.styles.Ap+=a;b.notify(3,a)}this.T.Gy=true}}});b.styles.Ap=\"\";b.addListener(3,{fn:function(a){b.addStyles(a)}});K.ld(ca);K.ld(ia);var qa=b.zJ=t(ia,{init:function(a,c,e){this.parent(a);this.zx=c;this.dm=\ne;this.c.className=\"aptureLoading\";this.setText(\"Loading...\")},loaded:false,uB:function(){var a=new b[this.zx](this.d);this.d=null;this.dm&&this.dm(a);return a}},\"LoadingViewer\");b.extend({xo:{},Lf:{},ca:function(a){b.notify(2,b[a]);for(var c=b.Lf[a],e=0;e<(c||\"\").length;e++){var i=c[e];i.notify(53,i.uB())}delete b.Lf[a]},fh:function(a,c,e){if(b[a])e();else{var i=function(m){if(m.prototype._class==a){e();b.removeListener({fn:i})}};b.addListener(2,{fn:i});b.wo(c||a)}},wo:function(a){if(!b.xo[a]){b.Qs(a);\nb.xo[a]=1}},Z:function(a,c,e,i){var m=b[a];if(m){e=new m(e);i&&i(e)}else{e=new qa(e,a,i);if(i=b.Lf[a])i.push(e);else b.Lf[a]=[e];b.wo(c||a)}return e}});var V=b.sC=t(ca,{Eb:function(){return this.flashVars||{}},Nc:function(){return this.url},X:function(){return\"nf_embed.gif?v6\"},hf:function(){return\"never\"},Rc:function(){return\"false\"},N:\"EmbedViewer\"},\"Embed\");b.AJ=F(V,\"MediaChangeOrg\");b.xK=F(V,\"SlideshareItem\");b.zK=F(V,\"SnocapItem\");b.nL=t(V,{X:function(){return\"nf_stocks.gif?v6\"}},\"WikinvestItem\");\nK=b.pI=t(V,{N:[\"AudioViewer\",\"EmbedViewer\"]},\"AudioItem\");b.jJ=F(K,\"ImeemItem\");b.tI=F(K,\"BlipFm\");K=b.PC=t(V,{Ab:function(){return 150},X:function(){return\"nf_sound.gif?v6\"},$a:function(){return\"badge_sound.png\"},N:[\"FLVViewer\",\"EmbedViewer\"]},\"Mp3Audio\");b.YH=t(K,{},\"AbcAusNewsAudio\");b.DJ=t(K,{},\"NPRAudio\");K=b.BJ=t(ca,{Ic:function(){return this.previewUrl||this.url},X:function(){return\"nf_img.gif?v6\"},mR:function(){return this.url},$a:function(){return\"badge_img.png\"},Ab:function(){return 750},\nUp:function(a){return!this.license&&a&&a.src==this.url},N:\"ImageViewer\",ga:function(a){var c=this.parent();if(b.page&&!a){a=k(window).getWidth()*0.65;var e=k(window).getHeight()*0.65;c=this.zo(c,a,e)}return c},tq:function(){return this.zo(this.ga(true),400,340)},zo:function(a,c,e){if(a.width>c||a.height>e)a=(new ja(0,0,a.width,a.height)).Se(c,e);return a}},\"MediaImage\");b.WI=F(K,\"FlickrImage\");b.NJ=F(K,\"PicasaImage\");b.fK=F(K,\"ReutersImage\");b.WK=F(K,\"TwitPicImage\");b.RS=F(K,\"yfrogImage\");b.MJ=F(K,\n\"PicappImage\");b.EI=F(K,\"CompeteGraph\");b.LJ=F(K,\"PanoramioImage\");b.XI=F(K,\"FotopediaImage\");b.YI=F(K,\"FreebaseImage\");var M=b.ZK=t(V,{Ea:function(){return this.autoplay==undefined?true:this.autoplay},Ab:function(){return 1550},$a:function(){return\"badge_vid.png\"},X:function(){return\"nf_vid.gif?v6\"},Uk:function(){return{width:216,height:180}},Vd:function(){return{width:380,height:310}},N:[\"VideoViewer\",\"EmbedViewer\"]},\"Video\");V=b.aL=t(ca,{N:\"VideoSlideshowViewer\",Vd:function(){return{width:360,\nheight:350}},Ab:function(){return 1450},X:function(){return\"nf_slideshow.gif?v6\"},$a:function(){return\"badge_slideshow.png\"},nR:function(){return this.videos}},\"VideoSlideshow\");var ka=b.$K=t(V,{N:[\"VideoChannelViewer\",\"VideoSlideshowViewer\"]},\"VideoChannel\");b.qL=F(ka,\"YouTubeChannel\");b.fC=F(M,\"BBCVideo\");b.sI=F(M,\"BigThinkVideo\");b.gC=F(M,\"BlipTVVideo\");b.iC=F(M,\"BrightCoveVideo\");b.BI=F(M,\"ClipSyndicateVideo\");b.DI=F(M,\"ComedyCentralVideo\");b.HI=F(M,\"CurrentTvVideo\");b.lC=F(M,\"DailyMotionVideo\");\nb.tC=F(M,\"EspnVideo\");b.xC=F(M,\"FlickrVideo\");b.yC=F(M,\"GoogleVideo\");b.BC=F(M,\"HuluVideo\");b.aD=F(M,\"QikVideo\");b.kJ=F(M,\"ImeemVideo\");b.DC=F(M,\"InternetArchiveVideo\");b.KC=F(M,\"MTVVideo\");b.MC=F(M,\"MetaCafeVideo\");b.UC=F(M,\"ObamaVideo\");b.VC=F(M,\"OoyalaGlamVideo\");b.WJ=F(M,\"RedLassoVideo\");b.gK=F(M,\"ReutersVideo\");b.eD=F(M,\"RevverVideo\");b.VK=F(M,\"TruveoVideo\");b.uD=F(M,\"VH1Video\");b.YK=F(M,\"ViddlerVideo\");b.Rq=F(M,\"VimeoVideo\");b.zD=t(M,{Ob:function(){return\"/tmm/resultThumbnail/?type=YouTubeVideo&key=\"+\nthis.youTubeId},ka:function(){var a=this.parent();if(this.starttime)a+=\"#t=\"+this.starttime;return a},ga:function(){return this.size||this.Vd()}},\"YouTubeVideo\");b.Rq=t(M,{Ob:function(){return\"/tmm/resultThumbnail/?type=VimeoVideo&key=\"+this.vimeoId}},\"VimeoVideo\");ka=b.wC=t(M,{N:[\"FLVViewer\",\"EmbedViewer\"]},\"FlashVideo\");b.NC=F(ka,\"MetaVidVideo\");b.ZH=F(ka,\"AbcAusNewsVideo\");b.eL=t(M,{N:\"WPVideoViewer\"},\"WPVideo\");b.lI=t(M,{hf:function(){return\"always\"},N:[\"AdVideoViewer\",\"EmbedViewer\"]},\"AptureAdVideo\");\nK=b.jL=t(K,{},\"WikiImage\");b.nI=F(K,\"AptureImage\");b.GI=F(K,\"CrunchBaseImage\");b.EJ=F(K,\"NYTimesTopicImage\");b.FI=F(K,\"CongressImage\");b.pL=F(K,\"WikipediaImage\");b.XK=F(K,\"TwitterImage\");b.ZI=F(K,\"FriendFeedImage\");b.iI=F(K,\"AmazonImage\");b.xJ=F(K,\"LinkedInImage\");M=b.wh=t(ca,{hb:[\"progress_large.gif?1\"],fixedAspectRatio:false,np:function(a){return a!=\"sections\"},extend:function(a){if(a.title)a.title=this.iv(a.title);return this.parent(a)},iv:function(a){return a==null?null:a.replace(/_/g,\" \")},X:function(){return\"nf_wiki.gif?v6\"},\nIc:function(){return this.topImage&&this.topImage.previewUrl||this.previewUrl},Ab:function(){return 1350},$a:function(){return\"badge_ref.png\"},Uk:function(){return{width:280,height:220}},aq:true,qg:true,md:true,pq:true,N:\"WikiViewer\"},\"WikiArticle\");K=b.Sq=t(M,{hb:[\"wkp_logo.gif\",\"progress_large.gif?1\"],Ob:function(){return\"tmm_wiki.gif?v1\"},ka:function(){var a=this.sourceUrl;if(this.initialSectionTitle)a+=\"#\"+encodeURIComponent(this.initialSectionTitle.replace(/\\s/g,\"_\")).replace(/%/g,\".\");return a}},\n\"WikipediaArticle\");b.zq=t(M,{X:function(){return\"nf_congressman.gif?v6\"},Ab:function(){return 350},hb:[\"washpost_logo.gif\",\"progress_large.gif?1\"]},\"CongressArticle\");b.tt=t(M,{X:function(){return\"nf_ref.gif?v6\"},hb:[\"cb_logo.gif\",\"progress_large.gif?1\"]},\"CrunchBaseArticle\");b.It=t(M,{X:function(){return\"nf_nytimes.gif?v6\"},hb:[\"nyt_logo.gif\",\"progress_large.gif?1\"]},\"NYTimesTopicArticle\");ka=b.lt=t(M,{hb:[\"amazon_logo.gif\",\"progress_large.gif?1\"],X:function(){return\"nf_amazon.gif?v6\"},Ob:function(){return\"tmm_amazon.gif?v1\"},\nka:function(){var a=this.sourceUrl||this.url;a+=(a.indexOf(\"?\")>0?\"&\":\"?\")+\"tag=\"+this.wm();return a},wm:function(){var a=\"apture-20\";if(this.affiliateTag)a=this.affiliateTag;else if(b.amazonAffiliateTag)a=b.amazonAffiliateTag;return a},HA:function(){return\"&AssociateTag=\"+this.wm()},pq:false},\"AmazonProduct\");b.jI=t(ka,{},\"AmazonProductSearch\");b.Gt=t(M,{qg:false,X:function(){return\"nf_profile.gif?v6\"},Ob:function(){return\"tmm_linkedin.gif?v1\"},ga:function(){return{width:350,height:344}},yd:function(){return false},\nmd:false,hb:[\"linkedin_logo.gif\",\"progress_large.gif?1\"]},\"LinkedInArticle\");M=b.xl=t(M,{qg:false,NQ:false,X:function(){return\"nf_tweet.gif?v6\"},Ob:function(){return\"/tmm/resultThumbnail/?type=TwitterArticle&key=\"+this.itemInfo},ga:function(){return this.title==\"Twitter Error\"?{width:355,height:230}:this.itemInfo.toLowerCase().indexOf(\"/status\")>0?{width:355,height:210}:{width:370,height:341}},yd:function(){return false},md:false,hb:[\"twitter_logo.gif\",\"progress_large.gif?1\"]},\"TwitterArticle\");b.wt=\nt(M,{ga:function(){return this.itemInfo.toLowerCase().indexOf(\"e/\")==0?{width:355,height:215}:{width:370,height:341}},hb:[\"friendfeed_logo.gif\",\"progress_large.gif?1\"]},\"FriendFeedArticle\");M=b.fL=t(ca,{fixedAspectRatio:false,$a:function(){return\"badge_webclip.png\"},Ab:function(){return 1650},X:function(){return\"nf_webclip.gif?v6\"},Vd:function(){return{width:400,height:270}},yd:function(){return false},Mk:function(){if(this.faviconUrl)return this.faviconUrl;return this.sourceUrl.split(\"/\").splice(0,\n3).join(\"/\")+\"/favicon.ico\"},Ic:function(){return this.normal?\"nf_link.gif\":this.imgUrl||this.previewUrl},N:\"WebClipViewer\"},\"WebClip\");b.JI=F(M,\"DaylifeClip\");b.MI=F(M,\"DomainWebClip\");b.iL=F(M,\"WebSearchArticle\");b.uK=F(M,\"SiteSearchArticle\");b.IJ=F(M,\"NewsSearchArticle\");b.iJ=t(M,{yd:function(){return true},N:[\"WebClipIFrameViewer\",\"WebClipViewer\"]},\"IFrameWebClip\");b.mI=t(ca,{N:\"AptureDotComViewer\"},\"AptureDotComItem\");b.Et=t(ca,{N:\"InvalidEmbedViewer\"},\"InvalidEmbedItem\");b.nJ=t(ia,{ia:function(){this.appendChild(new s({style:{textAlign:\"center\",\nfont:\"bold 14px Helvetica\",color:\"#666\",paddingTop:\"10px\"}},\"Whoops, this embed was not found.\"))}},\"InvalidEmbedViewer\");b.JK=t(ca,{},\"TMMWebSearchResults\");ia=b.HK=t(ca,{},\"TMMSiteSearchResults\");var Ba=b.hJ=t(ca,{N:\"IFrameViewer\"},\"IFrameItem\");b.xt=t(Ba,{Ic:function(){var a=this.previewUrl;if(a&&a.indexOf(\"http://maps.google.com/\")==0&&window.location.href.indexOf(b.domain)!=0)return b.wb(\"/item/gmapThumb/\",{z:this.z,lat:this.lat,lng:this.lng});return this.previewUrl}},\"GoogleMap\");b.gJ=F(Ba,\n\"IFrameDocument\");M=b.Ct=t(ca,{N:\"ImageSlideshowViewer\",$a:function(){return\"badge_slideshow.png\"},kd:function(){var a=this.images||[];if(this.backfillResults)for(var c=0,e;e=this.backfillResults[c];c++)a=a.concat(e);return a}},\"ImageSlideshow\");ka=b.cD=t(Y,{init:function(){this.parent(arguments);this.appendChildren(this.ec=new s({className:\"aptureRelatedBack\",onmousedown:this.bind(this.Tr)}),this.Mf=new s({className:\"aptureRelatedNext\",onmousedown:this.bind(this.Ur)}),this.Lh=new s({className:\"aptureRelatedCaption\"},\nthis.Ol=new s({style:{color:\"white\"}}),this.Pl=new s({style:{color:\"#999999\"}})),this.Mh=new s({className:\"aptureCaptionTriangle\"}));if(!this.wc)this.wc=12;this.Ib.setLocalLeft(this.wc);this.Ys(true);this.addEvent(\"mouseout\",this.bind(this.Wm));this.Wm()},Ck:function(a){if(this.Nl!=a){this.Nl=a;var c=a.ce,e=c.Lk(),i=c.mediaItem.prettySource,m=i||e;c=this.Lh;var q=this.Mh;if(e&&e.length>40)e=e.substr(0,37)+\" ...\";if(m){this.Ol.setVisible(!!e);e&&this.Ol.setText(e);this.Pl.setVisible(!!i);i&&this.Pl.setText(i);\na=a.getRelPos(this);c.setVisible(true);e=this.Lh.getWidth();i=this.getWidth();m=a.x+30;c.setLocalLeft(Math.min(Math.max(m-e/2,-10),i-e));q.setLocalLeft(m-4);q.show();q.setLocalTop(a.y+40);c.setLocalTop(a.y+45)}else{c.hide();q.hide()}}},Wm:function(){this.Lh.hide();this.Mh.hide();this.Nl=null},Vg:function(){this.ec.setVisible(this.Xq());this.Mf.setVisible(this.Kh())},ub:function(){return Math.floor((this.getWidth()-2*this.wc)/71)},Kh:function(){return this.ub()>0&&this.parent()},setWidth:function(a){this.parent(a);\nthis.Fc||this.Ib.setWidth(a-2*this.wc)}},\"RelatedScrollingPanel\");var Ha=b.Mt=t(s,{init:function(a,c){this.parent({className:\"aptureRelatedOverlay\"},this.So=new xa({src:\"thumbnail_shadow.png\",style:{position:\"absolute\",top:\"2px\",right:\"2px\",zIndex:\"0\"}}),this.ap=new s({className:\"aptureRelatedTarget\",style:{position:\"absolute\",top:\"0px\",left:\"0px\",zIndex:\"1\"}},this.ce=c));this.Zn=a;if(!this.ce.placeholder){c.addEvent(\"mousedown\",this.bind(this.Iz));c.addEvent(\"mouseup\",this.bind(this.Jz));this.addEvent(\"mouseover\",\nthis.bind(this.oz))}},del:function(){var a=this.ce;if(a&&a.c){a.removeEvents(\"mousedown\");a.removeEvents(\"mouseup\");a.remove();delete this.ce}this.parent()},Kv:n,Iz:function(){this.Kv();this.ap.setLocalTop(1);this.So.hide()},Jz:function(){this.ap.setLocalTop(0);this.So.show()},oz:function(){this.Zn.Ck(this)}},\"RelatedMediaOverlay\");Y=b.EC=t(o,{init:function(a,c){this.mediaItem=a;this.parent(this.gc,{className:\"aptureThumb\"},this.p=new xa({onload:this.bind(this.Xk),className:\"aptureThumbImg\"}));this.xq();\nthis.Wn=this.rr();c&&J(c,this.Wn);if(this.Wn.source){var e=this.li();this.appendChild(this.vj=new xa({className:\"aptureThumbBadge\",alt:e}));this.vj.ba(e,a.$a())}},Lk:function(){return this.mediaItem.title},kR:function(){return this.mediaItem.prettySource},gc:\"div\",xq:function(){var a=this.mediaItem;this.p.ba(a.Ic(),a.X())},resize:function(a,c){if(c==null)c=a/1.33;else if(a==null)a=c=1.33;this.parent(a,c)},rr:function(){return{source:true}},Xk:function(){var a=this;setTimeout(function(){if(a.p.c){var c=\na.p.c.width||a.p.getWidth(),e=a.p.c.height||a.p.getHeight(),i=a.getWidth(),m=a.getHeight();if(!(!c||!e||!i||!m)){var q=Math.max(m/e,i/c);c=new ja(0,0,c*q,e*q);i=new ja(0,0,i,m);i=c.da(i);i=new ja(Math.floor(i.x),Math.floor(i.y),Math.ceil(i.width),Math.ceil(i.height));a.p.c.style.position=\"absolute\";a.p.setRect(i)}}},1)},li:function(){return this.mediaItem.Mk()}},\"ItemThumbnail\");var Sa={0:[\"Unknown License\",\"\",\"Unknown\"],1:[\"Creative Commons Attribution\",\"lic_cc_gr.gif\",\"CC\"],2:[\"Creative Commons Attribution Non-Commercial\",\n\"lic_cc_gr.gif\",\"CC\"],3:[\"Creative Commons Attribution Share-Alike\",\"lic_cc_gr.gif\",\"CC\"],4:[\"Creative Commons Attribution Non-Commercial Share-Alike\",\"lic_cc_gr.gif\",\"CC\"],5:[\"Creative Commons Attribution No-Derivatives\",\"lic_cc_gr.gif\",\"CC\"],6:[\"Creative Commons Attribution Non-Commercial No-Derivatives\",\"lic_cc_gr.gif\",\"CC\"],7:[\"GFDL License\",\"lic_gfdl_gr.gif\",\"GFDL\"],8:[\"All Rights Reserved\",\"lic_c_gr.gif\",\"C\"],9:[\"Public Domain\",\"lic_pd_gr.gif\",\"PD\"],10:[\"Other License\",\"lic_c_gr.gif\",\"C\"],11:[\"Photos provided by Panoramio are under the copyright of their owners.\",\n\"lic_c_gr.gif\",\"C\"],1:[\"Creative Commons Attribution\",\"lic_cc_gr.gif\",\"CC\"],2:[\"Creative Commons Attribution Non-Commercial\",\"lic_cc_gr.gif\",\"CC\"],3:[\"Creative Commons Attribution Share-Alike\",\"lic_cc_gr.gif\",\"CC\"],4:[\"Creative Commons Attribution Non-Commercial Share-Alike\",\"lic_cc_gr.gif\",\"CC\"],5:[\"Creative Commons Attribution No-Derivatives\",\"lic_cc_gr.gif\",\"CC\"],6:[\"Creative Commons Attribution Non-Commercial No-Derivatives\",\"lic_cc_gr.gif\",\"CC\"]};b.tJ=t(R,{tm:function(){var a=Sa[this.code]||\nSa[0];this.qB=a[0];this.Vp=a[1];this.pB=a[2];if(a.length>3)this.url=a[3]},dt:function(){this.tm();return true},Pk:function(a){this.tm();var c=new o(\"span\");c.c.className=\"aptureLicense\";if(a)c.c.className+=\" aptureSSLicense aptureSSLicense\"+this.pB;var e;if(this.url){e=new o(\"a\",{href:this.url,target:\"_blank\"});c.appendChild(e)}else e=c;if(this.Vp&&!a){a=new xa({src:b.imgUrl(this.Vp),title:this.qB,border:0,style:{width:\"12px\",height:\"12px\",paddingLeft:\"2px\",verticalAlign:\"baseline\"}});e.appendChild(a)}if(this.attrUrl)c.appendChildren(r(\" by \"),\nnew o(\"a\",{innerHTML:this.attrName,href:this.attrUrl,target:\"_blank\",style:{font:'11px \"Helvetica\"',color:\"#FFF\",textDecoration:\"none\"},onclick:{fn:function(i){i.stopPropagation()}}}));else this.attrName&&c.appendChild(r(\" by \"+this.attrName));c.setStyles({position:\"absolute\",zIndex:\"9999\",background:\"#000\",bottom:\"0px\"});return c}},\"License\");b.RJ=t(ca,{title:\"Welcome\",N:\"PostInstallInstrViewer\",init:function(a){this.fo=a},ur:function(){return this.fo?this.fo.ur():'
\\n\\t\\t\\n\\t\\t \"Apture\" \\n\\n\\t\\t  Watch Apture Demo\\n\\t\\t\\t\\t\\t\\t\\t\\t\\n

Congratulations! You\\'ve Unlocked the Potential of Your Site

\\n

With Apture you can:

\\n
    \\n
  • Integrate reference guides, videos, maps, photos from 20+ sources
  • \\n
  • Let readers view information without leaving your page
  • \\n\\t
  • Embed media with a single click
    — no URLs or codes.
  • \\n
\\nGo to your Apture Dashboard\\n
'}},\n\"PostInstallInstr\");b.extend({init:function(){b.Xa.mp(b.aptureConfig);b.qb={};b.Uv=(new Date).getTime();b.bq=0;b.Jv=0;b.Yi=0;var a=k(document);a.addEvent(\"keyup\",b.bindWithEvent(b.kv));a.addEvent(\"mouseup\",b.bindWithEvent(b.ey));a.addEvent(\"mousedown\",b.bindWithEvent(b.by));a.addEvent(\"dblclick\",b.bindWithEvent(b.ay));k(window).addEvent(\"beforeunload\",b.bindWithEvent(b.Ry));b.page=new fb;b.PS=Math.floor(Math.random()*1E5)*1E3;b.nu=b.addStyles(b.styles.reset+b.styles.client);if(!b.prefs)b.prefs={};\nb.ex();if(b.nu)b.isApp?b.Np():b.zh();b.onInit&&b.onInit();b.Ss&&b.Ss();window.apture_onload&&window.apture_onload();a={obj:this,once:true,fn:function(){if(!b.By){b.By=true;setTimeout(b.bind(function(){b.fh(\"WikiViewer\",null,n);b.fh(\"RichMediaListViewer\",null,n);b.fh(\"EmbedViewer\",null,n)}),1)}}};b.addListener(194,a);b.addListener(190,a);b.ea.S(1131,{isTMMEnabled:b.tmm,fullBarEnabled:!(b.capabilities&2048),numLinks:b.page&&b.page.links?b.page.links.length:0,numTmmLinks:b.page&&b.page.tmmLinks?b.page.tmmLinks.length:\n0,socialLinkCount:b.Xa.Dj().mlinks.length,socialLinkStatus:b.Xa.Dj().status,abTestLinkStylesSide:b.B.Q.Qc.Da?b.B.Q.Qc.nc:null,abTestLinkCountStyleSide:b.B.Q.Kd.Da?b.B.Q.Kd.nc:null,abTestLinkCursorStyleSide:b.B.Q.cf.Da?b.B.Q.cf.nc:null})},Np:function(){b.capabilities&256&&b.Hj();b.auto&&b.dx();b.baked&&b.en();b.overlay&&b.fx();b.R(null,true);if(window.WebTrends){var a=window.WebTrends;if(a.prototype.dcsEvt)a.prototype.dcsEvt=this.bind(this.fA,[a.prototype.dcsEvt])}a=b.ww();b.getPage&&b.referer==a?\nb.xx():b.Vf()},fA:function(a,c,e){if(b.we(c.target||c.srcElement))return{};return a(c,e)},Hj:function(){b.tmm=1},bB:function(){if(!b.tmm){b.qb[2]=true;b.qb[3]=true;b.siteId=-9999;b.Hj()}},ww:function(){var a=window.location.href,c=a.indexOf(\"#\");return c!=-1?a.substring(0,c):a},jA:function(a,c){b.yh||b.en();b.yh(a,c)},ry:function(a){b.page.error=a},ew:function(a,c){return{u:window.location.href,s:b.siteToken,a:a,v:b.visitId,r:c&&b.eh(c),t:b.page&&b.page.timestamp}},Yn:function(a,c,e){if(!e.id&&!b.page.id&&\n!b.Sw){b.Sw=true;return b.jn(false,function(i){b.Vf(1,i)})}else if(!e.id){if(e.error||b.Yi>=9)b.page.error=e.error||{msg:\"The Apture server has not yet loaded the page. Please try refreshing the page.\"};else{b.Yi++;b.Vf(0)}return}b.Yi=0;a=b.page.id!=e.id||b.page.linksChanged!=e.linksChanged;b.page=e;b.jn(a,function(i){i?b.Vf(2,i):b.gx()})},jn:function(a,c){var e=null,i=0,m=b.Kf.length;b.Kf.length==0&&c(null);for(var q=b.Kf,z=0;z<(q||\"\").length;z++)(0,q[z])(a,function(O){if(O)e=e?J(O,e):O;++i==m&&\nc(e)})},Kf:[],Zi:function(a){b.Kf.push(a)},so:function(a,c){b.rn=(new Date).getTime();(new Ea(\"/cp/\",b.ew(a,c))).Wa(b.bind(b.Yn,[a,b.page&&b.page.timestamp]),b.ry)},Vf:function(a,c){var e=(new Date).getTime();e=b.rn&&a==0?3E3-(e-b.rn):0;e>0?setTimeout(b.bind(b.so,[a,c]),e):b.so(a,c)},xx:function(){b.Yn(null,null,b.getPage())},Am:function(a,c,e){var i=[],m=b.page.ignored&&b.page.ignored.deleted||{};for(var q in a){var z=a[q];if(a[q]!==D[q])if(!m[z.id])if(!(c>e-10)){c+=10;i.push(z.plid)}}return i},\n$i:function(a,c){var e=b.zd(a,c);if(e.linkType==2&&(!e.childLinks||!e.childLinks.length)&&e.mediaItem&&e.mediaItem.Up(c.firstChild))return c;else{var i=k(c.parentNode);i.saveOrigChildren();i.c.replaceChild(e.c,c);e.afterDomAttach();b.hg(e);return e}},ex:function(){b.Vh=k(\"aptureStartContent\");b.Td=k(\"aptureEndContent\");if(b.Td)for(var a=document.getElementsByTagName(\"span\"),c=a.length-1;c>=0;c--)if(a[c].id==\"aptureEndContent\"){b.Td=k(a[c]);break}},gx:function(){if(!b.Cy){b.Cy=true;var a=b.page.links||\n[];if(a.length){for(var c=[\"pop_tb.png?7\",\"pop_lr.png?7\",\"pop_corners.png?7\"],e={},i=0;i<(a||\"\").length;i++)for(var m=a[i].mediaItem.hb,q=0;q<(m||\"\").length;q++){var z=m[q];e[z]||c.push(z)}for(i=0;i<(c||\"\").length;i++){z=c[i];(new Image).src=b.imgUrl(z)}}}b.zh()},zh:function(){b.ED=true},ZR:function(){for(var a=b.bb,c=0;c<(a||\"\").length;c++)a[c].Tj();b.bb=[];b.Pj&&b.Pj()},kv:function(a){a.key==\"esc\"&&b.notifyWithParams(291)},ay:function(a){b.we(a.target)||this.notifyWithParams(442,{Cs:6})},nm:function(a){return a.nodeName!=\n\"HTML\"&&!(b.we(a)||a.aptureized)},by:function(a){b.ox=this.nm(a.target);b.Ln=a.target.tagName?a.target.tagName:null;b.Vb&&b.Vb.cancel()},ey:function(a){var c=a.target;b.ox=false;var e=b.Ln;b.Ln=null;c.nodeName!=\"HTML\"&&this.nm(c)&&b.notify(290);if(!b.Vb||c!=b.Vb.c)setTimeout(function(){if(c.nodeName!=\"INPUT\")if(!(e&&e==\"INPUT\"))if(!b.uz(c)){var i=b.getSelection();if(!(b.mb&&b.mb.isEqual(i)||b.na&&b.na.isEqual(i))){b.mb=i;var m=i.Ac();if(i&&!i.dh()){b.na=i.round();var q=b.na.Ac();i=i.Ac();q=b.bl(q);\nif(b.xa.iB(q)||b.xa.Os(q))b.Sl();else{if(b.na.$g()&&!b.na.$g().parentElement)i=q=\"\";b.dg=q;b.KP=false;if(q.length&&i.length<50){if(b.tmm){b.notify(292,{wH:q,query:q});b.PA().QH(a.page.x-21,a.page.y-60+7)}b.ea.S(1065,{selectionText:m.substring(0,500),queryText:q.substring(0,500),pageId:b.page?b.page.id:null,isTMMEnabled:b.JP?1:0})}}}else b.Sl()}}},1)},Sl:function(){b.dg=null;b.na=null;b.mb=null},uz:function(a){if(a.c)a=a.c;do if(a.ignoreSelection||a.getAttribute&&a.getAttribute(\"aptureNoHighlight\")==\n\"true\")return true;while(a=a.parentNode);return false},kq:function(a,c){var e=b.prefs;if(e)if(e[a]!=c){e[a]=c;b.gj&&b.gj.remove();e=b.wb(\"/state/\",{key:a,value:c,siteToken:b.siteToken});b.gj=b.Us(e);b.gj||(new Ea(e,{r:Math.random(),js:1})).Wa()}},yo:function(){var a=k(window);b.Qa.resize(a.getWidth(),a.getHeight())},Uc:[],Oo:function(a){var c=b.Qa;c.setStyle(\"z-index\",(a.zIndex||2147483640)+\"\");var e=a.opacity;if(a.ig){var i=c.getAnimation();i.duration=350;if(typeof a.ig==\"function\")i.M=a.ig;i.start({opacity:e})}else c.setOpacity(e==\nnull?0.78:e);if(a=a.onclick){c.addOnlyEvent(\"click\",a);a=function(){c.setOpacity(e)};c.addEvent(\"mousedown\",function(){c.setOpacity(e+0.05)});c.addEvent(\"mouseup\",a);c.addEvent(\"mouseout\",a)}else c.removeEvents(\"click\")},zR:function(){return b.Uc.length>0},Jk:function(a,c,e,i){b.notifyWithParams(450);var m=k(window),q=b.Qa;if(!b.Qa){q=b.Qa=new s({className:\"aptureDimLayer\",apture:true});q.setOpacity(0);b.R(q)}a={zIndex:e,opacity:a,onclick:c,ig:i};if(b.Uc.length==0){m.addEvent(\"resize\",b.yo);b.$A()}b.Uc.push(a);\nb.Oo(a);m.fireEvent(\"resize\")},cl:function(a){b.Uc.pop();var c=b.Uc.length;if(c)b.Oo(b.Uc[c-1]);else{k(window).removeEvent(\"resize\",b.yo);var e=b.Qa;if(e){e.removeEvents(\"click\");b.Qa=null;if(a){a=e.getAnimation();a.M=function(){e.remove()};a.duration=100;a.start({opacity:0})}else e.remove()}b.UB();b.notifyWithParams(451)}},Ba:[],Zz:function(a){a.removeListener({msg:440,fn:this.Sm,obj:this});a.removeListener({msg:252,fn:this.Tm,obj:this});b.Oj(this.Ba,a)},Sm:function(a){this.Ba.length&&this.Ba[this.Ba.length-\n1].oa(false);b.Oj(this.Ba,a.Ja);this.Ba.push(a.Ja);a.Ja.oa(true)},Tm:function(a){a=a.Ja;a==this.Ba[this.Ba.length-1]&&this.Ba.length>1&&this.Ba[this.Ba.length-2].oa(true);this.Zz(a)},yH:function(a){a.addListeners({440:{fn:this.Sm,obj:this},252:{fn:this.Tm,obj:this}})},Qp:function(){return this.Ba.length>0},cq:function(a,c){b.R(a);a.sj(c)},Fb:function(){throw\"Deprecated call to openMediaPreview\";},xB:function(a,c,e){var i=new b.Pt;a.LB(e);i.gq(a);a={x:0,y:k(window).L()};a=new Ib(a);a.VB=c;b.cq(i,a);\nreturn i},Ts:function(a){var c=a.ys||new b.Nq(a.mediaItem);return b.xB(c,null,a.Ls)},oq:function(){if(!b.uf)k(document.body).appendChild(b.uf=new s({className:\"aptureEventCatchingOverlay\"}));var a=k(window).aa();b.uf.setPos(a.x,a.y);b.uf.show()},Mp:function(){b.uf.hide()},QS:function(){b.Fb(b.KS());return false},Mc:function(a,c,e){a.oh(c);a.Pe(e)},ui:[],Bp:function(a){var c=[\"IFRAME\",\"EMBED\",\"OBJECT\"],e=[];for(var i in c)e=A(e,document.getElementsByTagName(c[i]));c=[];for(var m=0;m<(e||\"\").length;m++){var q=\ne[m];i=true;if(!a&&b.we(q))i=false;else if(a&&q.As)i=false;else if(q.id==\"navbar-iframe\")i=false;else if(q.offsetHeight<=0)i=false;i&&c.push(k(q))}return c},Zd:0,UB:function(){b.Zd>0&&b.Zd--;b.Zd==0&&b.No(true)},$A:function(a){b.Zd==0&&b.No(false,a);b.Zd++},No:function(a,c){for(var e=b.Bp(false),i=0;i<(e||\"\").length;i++){var m=e[i];if(a){if(!m.Vm){m.setStyle(\"visibility\",m.Qi!=null?m.Qi:\"visible\");m.Qi=null}}else if(c){var q=m.c.nodeName==\"IFRAME\"?\"Frame\":\"Embed\";q=new s({style:{backgroundColor:\"#f0f0f0\",\nfont:\"10px Helvetica\",position:m.getStyle(\"position\"),left:m.getStyle(\"left\"),top:m.getStyle(\"top\"),width:m.getStyle(\"width\"),height:m.getStyle(\"height\"),overflow:\"hidden\"},aptureDynamicText:true,apture:true},new s({style:{paddingTop:\"5px\",textAlign:\"center\"}},q+\" \"+c));q.Lb=m;m.Vm=true;b.ui.push(q);var z=k(m.c.parentNode);z.saveOrigChildren();z.insertBefore(q,m)}else m.Qi=m.getStyle(\"visibility\")}if(a){e=b.ui;for(i=0;i<(e||\"\").length;i++){q=e[i];m=q.Lb;k(q.c.parentNode).insertBefore(m,q);q.remove();\nm.Vm=false;q.Lb=null}b.ui=[]}else if(c)for(i=0;i<(e||\"\").length;i++){m=e[i];m.remove()}else for(i=0;i<(e||\"\").length;i++){m=e[i];m.setStyle(\"visibility\",\"hidden\")}},bb:[],iR:function(){return b.bb},hg:function(a){b.bb.push(a)},aS:function(a){w(b.bb,a)},Ry:function(){if(b.page.id&&!b.Sy){b.sM();b.Sy=1;b.notifyWithParams(10);b.ea.S(1025,{pageId:b.page.id,visitId:b.visitId,duration:(new Date).getTime()-b.Uv,numLinks:b.bb.length,numLinksOpened:b.bq,durationPopupsOpened:b.Jv,numTmmLinks:b.page.tmmLinks?\nb.page.tmmLinks.length:0})}},kw:function(a){for(var c=document.getElementsByTagName(\"embed\"),e=/linkToken=(\\w+)/,i=0;i<(c||\"\").length;i++){var m=c[i],q=m.className;if(q&&q.indexOf(\"aptureEmbedPlaceholder\")!=-1){q=m.getAttribute(\"flashVars\");if((q=e.exec(q))&&q[1]==a)return k(m)}}return null},FB:function(a,c){var e=b.kw(a);if(e){c||(c={mediaItem:new b.Et});c.linkType=2;c.width=e.getWidth();c.height=e.getHeight();c.align=e.getTextAlign();var i=b.zd(c),m=e.c.getAttribute(\"flashVars\");if(m)if(m=/shareId=(\\d+)/.exec(m))i.nq=\nm[1];e.replaceWith(i)}},mQ:n});b.initApp=b.Np;b.initTMM=b.Hj;b.initPlugin=b.bB;b.addBakedLinks=b.jA;b.replaceEmbed=b.FB;b.styles.client=\".$WPMessage{font:11px Helvetica,sans-serif;color:#999;padding:0 10px;}.$WPMessage strong{color:black;padding-left:15px!;background-image:url(~/link_icons.gif?v12)!;background-repeat:no-repeat!;background-position:left -350px;}## .$Message{color:#333;border:1px solid;margin:10px 0;overflow:auto;position:absolute;z-index:12345;}## .$MessageInfo{background-color:#e9f5fd;border-color:#bcd;}## .$MessageInfoYellow{background-color:#FFFBCC;border-color:#E6DB55;}## .$MessageSuccess{background-color:#e8f0d9;border-color:#a7c46c;}## .$MessageAlert{background-color:#f7d9df;border-color:#e58099;}## .$Message h4{font:bold 12px/18px Helvetica,sans-serif;border:solid #fff;border-width:1px 0 0 1px;margin:0;padding:9px 9px 6px 9px;}## .$MessageCloseBtn{width:20px;height:20px;margin-right:5px;cursor:pointer;float:right;background:transparent url(http://cdn.$.com/media/imgs/add_edit_delete.gif?v2) no-repeat right -35px;}## .$Message div,## .$Message span{font:11px/18px Helvetica,sans-serif;}## .$Message p{font:11px/18px Helvetica,sans-serif;border:solid #fff;border-width:0 0 0 1px;margin:0;padding:0 9px 6px 9px;}## .$Message a{font:11px/18px Helvetica,sans-serif!;color:#06c!;font-weight:bold!;text-decoration:none!;}## .$Message a:hover{text-decoration:underline!;}## .$Message a:active{color:#04a!;}## .$DimLayer{position:fixed;top:0;left:0;background-color:black;}## .$Popup{position:absolute;width:0;height:0;z-index:10002;overflow:hidden;}## .$PopupHighlight{position:absolute;border:2px solid orange;top:5px;left:9px;}## .$CloseAll{position:fixed;top:0;right:0;width:75px;z-index:10345;background-color:#f0f0f0;padding:2px;cursor:pointer;}## .$CloseAll span{font:12px/17px Helvetica;padding-right:2px;cursor:pointer;}## .$StretchRow img{width:100%;height:100%;display:block;}## .$PopupButton{cursor:pointer;float:right;display:block;width:25px;height:20px;overflow:hidden;margin:0;background-image:url(~/title_icons.png?6)!;background-repeat:no-repeat;}## .$PopupButtonDark{cursor:pointer;float:right;width:25px;height:20px;overflow:hidden;margin:0 1px;background:url(~/darktitle_icons.png?6) no-repeat left top;}## .$MHTitleSignout{cursor:pointer!;float:right!;font-family:Helvetica!;font-size:11px!;font-weight:bold!;color:#FFF!;text-decoration:none!;margin-top:3px!;margin-right:9px!;text-shadow:#000 0 -1px 1px!;}## .$MHTitleSignout:hover{text-decoration:underline!;}## .$MHTitleSignedInAs{float:right!;font-family:Helvetica!;font-size:11px!;color:#FFF!;margin-top:3px!;margin-right:6px!;text-shadow:#000 0 -1px 1px!;}## .$PrefButton{float:left;width:15px;height:13px;margin-left:1px;cursor:pointer;overflow:hidden;background:url(~/footer_icons.png?2) no-repeat left top;}## .$ActionBarButtons{float:right;width:100px;height:15px;margin-top:-16px;}## .$FooterPopupButton{cursor:pointer;float:right;overflow:hidden;width:15px;height:13px;margin-right:1px;background:url(~/footer_icons.png?2) no-repeat left top;}## .$ActionBar{position:absolute;height:15px;text-align:center;}## .$Feedback{width:65px!;}## a.$QuickSurvey{display:block!;height:10px!;margin:3px auto!;width:115px!;}## a.$QuickSurvey{background:url(~/quick-survey.gif) left top!;}## a.$QuickSurvey span{display:none;}## a.$QuickSurvey:hover{background-position:left -10px!;}## a.$QuickSurvey:active{background-position:left -20px!;}## span.$TMMPopupFooterMsg{color:#222;font-family:helvetica;font-size:12px;padding:5px;}## a.$DontShowAgain{font:bold 12px Helvetica;text-decoration:none;color:#00F;float:right;}## a.$DontShowAgain:hover{text-decoration:underline;}## .$ActionText{font:bold 12px Helvetica,sans-serif;color:#6d6d6d;padding-right:3px;float:right;}## .$AdBackground{position:absolute;background:url(~/ad_bg.gif) repeat-x left top;}## .$EmbedShareType{clear:both;padding-top:2px;}## .$EmbedShareType span{float:left;width:50px;color:#666;font:bold 12px Helvetica;}## .$EmbedShareType input{float:left;width:220px;background-color:white;border:1px solid #ccc;font-size:11px;}## .$SuperEmbedFooter .$SuperEmbedBranding{float:left;display:inline!;height:18px!;margin-left:5px!;width:55px!;background:url(~/_superEmbedAptureLogo.png) no-repeat left top!;}## .$SuperEmbedFooter .$SuperEmbedShare{float:right;height:16px;width:48px;background:url(~/share/button.gif?v2) no-repeat left top!;}## .$SuperEmbedFooter .$SuperEmbedCreate{float:right;width:96px;height:16px;margin-right:3px;background:url(~/share/button.gif?v2) no-repeat -48px top!;}## .$SuperEmbedFooter .$SuperEmbedBranding span,## .$SuperEmbedFooter .$SuperEmbedShare span,## .$SuperEmbedFooter .$SuperEmbedCreate span{display:none;}## .$Popup .$ScrollClip,## .$HorizontalScroll .$ScrollClip{position:absolute;z-index:2;}## .$SuperEmbedScroll{z-index:9!;}## .$Popup .$ScrollClip,## .$SuperEmbedScroll .$ScrollClip{top:6px!;}## .$SuperEmbedScroll .$RelatedBack,## .$SuperEmbedScroll .$RelatedNext{position:absolute!;background-image:url(~/pagination.gif)!;height:45px!;display:block;cursor:pointer!;overflow:hidden!;z-index:4!;top:5px!;}## .$SuperEmbedScroll .$RelatedBack{width:15px!;left:1px!;background-position:left top!;}## .$SuperEmbedScroll .$RelatedBack:hover{background-position:left -45px!;}## .$SuperEmbedScroll .$RelatedNext{width:15px!;background-position:right top!;right:1px!;}## .$SuperEmbedScroll .$RelatedNext:hover{background-position:right -45px!;}## .$Title{color:#000!;font-weight:bold!;text-decoration:none!;text-shadow:#FFF 0 1px 1px!;}## .$TitleTextInactive .$Title{color:#666!;}## .$TitleSourceText{color:#6d6d6d;text-shadow:#FFF 0 1px 1px;font-weight:bold;}## .$PopupTitle{position:absolute;left:15px;top:10px;height:20px;}## .$PopupBackground{font:14px Helvetica!;font-weight:bold!;color:#444;text-align:center;vertical-align:middle;}## .$TitleBarDark .$TitleText{color:#fff;text-shadow:#000 0 -1px 1px;}## .$FlashBlocker{position:absolute;}## .$Bold{font-weight:bold;}## .$CursorPointer{cursor:pointer;}## .$Left{float:left;}## .$Relative{position:relative;}## .$Absolute{position:absolute;}.$EventCatchingOverlay{position:absolute;top:0;left:0;z-index:2147483642;width:100%;height:100%;display:none;}span.$LinkIcon,span.$Link,a.$Link{display:inline!;margin:0!;padding:0!;border:0!;float:none!;}span.$Link{-khtml-border-radius:4px;-moz-border-radius:4px;border-radius:4px;cursor:pointer!;}.$Link:hover a{text-decoration:underline!;}.$Link span.$LinkIcon{padding-left:11px!;background-image:url(~/link_icons.gif?v12)!;background-repeat:no-repeat!;}.$LinkHover,.$LinkHover *{background-color:#ddebf8!;}.$LinkDown,.$LinkDown *{background-color:#bbd6f1!;}.$LinkOpen,.$LinkOpen *{background-color:#59d!;color:#fff!;}.$LinkOpenDown,.$LinkOpenDown *{background-color:#37b!;color:#fff!;}## .$PopupIcon{vertical-align:top;width:18px;height:18px;float:left;}## .$NeedFlash{margin-top:5px;}## .$NeedFlash,## .$NeedFlash *{font:11px Helvetica,sans-serif!;}## embed.$Embed{left:0;}## .$ImageViewer{overflow:hidden;}## .$Advertisement{border:0 none;margin:0;padding-left:2px;background:transparent url(~/housing2.gif) no-repeat scroll 0 0;cursor:pointer;position:absolute;width:205px;height:61px;-moz-background-clip:border;-moz-background-origin:padding;-moz-background-inline-policy:continuous;}## .$AdvertisementImage{margin:0;padding:0;padding-left:5px;position:absolute;right:5px;bottom:6px;cursor:pointer;}## .$AdvertisementClose{margin:0;padding:0;position:absolute;right:5px;top:4px;cursor:pointer;}## .$AdvertisementHomeLink{border:medium none;margin:0;padding:0;position:absolute;left:5px;top:4px;width:122px;height:10px;text-decoration:none;cursor:pointer;}## .$Thumb{overflow:hidden;position:relative;width:60px;height:40px;background:white;}## .$Thumb img.$ThumbImg{width:100%;}## .$Thumb,## .$Thumb *{cursor:pointer;}## .$ThumbBadge{position:absolute;left:0;top:0;}## .$NextIcon{padding-right:10px!;background:url(~/arrows.gif?v3) no-repeat right -114px!;}## a.$NextIcon:hover{background:url(~/arrows.gif?v3) no-repeat right -129px!;}## a.$PrevIcon{background:url(http://cdn.$.com/media/imgs/wikinavarrows.gif) no-repeat scroll 0 0!;background-position:0 0!;padding-left:10px!;}## a.$PrevIcon:hover{background-position:0 -18px!;}## .$Title,## .$TitleSourceText,## .$TitleText{font:bold 11px Helvetica!;vertical-align:top;cursor:default;}## .$TitleText{height:15px;overflow:hidden;padding-left:10px;cursor:default;margin-top:4px;}## .$License{font:10px Helvetica;color:#999;background-color:#444!;text-align:right;overflow:hidden;width:auto;}## .$SSLicense{top:6px;height:12px;right:6px;background:transparent!;}## .$SSLicenseC,## .$SSLicenseCC,## .$SSLicenseGFDL,## .$SSLicensePD{background:url(http://cdn.$.com/media/imgs/slideshowLicenses.png) no-repeat scroll 0 0 transparent!;}## .$SSLicenseC{background-position:-6px 0!;padding-left:17px;}## .$SSLicenseCC{background-position:-6px -12px!;padding-left:19px;}## .$SSLicenseGFDL{background-position:-0px -24px!;padding-left:24px;}## .$SSLicensePD{background-position:-6px -36px!;padding-left:18px;}## .$Loading{text-align:center;font:10px Helvetica;background-color:white;}## .$SlideshowIndicator{background-image:url(~/slideshow_overlay.gif)!;position:absolute;left:5px;bottom:5px;height:28px;width:28px;background-position:-84px 0;cursor:pointer;opacity:.75;filter:alpha(opacity=75);}## .$ScrollClip{position:absolute;overflow:hidden;}## .$ScrollView{position:absolute;}## .$RelatedOverlay{position:relative;float:left;margin-right:5px;width:66px;height:45px;}## .$RelatedTarget{position:absolute;overflow:hidden;width:60px;height:40px;}## .$RelatedCaption div{font:bold 11px Helvetica,sans-serif;text-align:center;}## .$RelatedCaption{padding:.25em;position:absolute;background-color:#333;z-index:8;}## .$HorizontalScroll .$RelatedBack,## .$HorizontalScroll .$RelatedNext{cursor:pointer;position:absolute;background-image:url(~/arrows.gif?v3);width:9px;height:11px;overflow:hidden;z-index:4;top:20px;}## .$RelatedBack{left:2px;background-position:left -30px;}## .$RelatedNext{background-position:left top;right:2px;}## .$CaptionTriangle{position:absolute;z-index:7;top:47px;background:url(~/arrows.gif?v3) no-repeat 0 -60px;width:9px;height:5px;}## .$TTWrapper{z-index:2147483645;position:fixed;}## .$TTWrapperAbsolute{position:absolute;}## .$TTFlashWrapper{top:17px;left:12px;position:relative;}## .$TTStyleGray .$SrchBtmBar{border-top:1px solid #999;-webkit-border-bottom-left-radius:5px;-webkit-border-bottom-right-radius:5px;-moz-border-radius-bottomleft:5px;-moz-border-radius-bottomright:5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;}## .$TTAlignLeft .$TTContentWrapper{-webkit-box-shadow:-2px 3px 5px #000;-moz-box-shadow:-2px 3px 5px #000;}## .$TTAlignLeft.$TTStyleGray .$TTContentWrapper{-webkit-box-shadow:rgba(0,0,0,0.496094) 0 5px 22px;-moz-box-shadow:rgba(0,0,0,0.496094) 0 5px 22px;}## .$TTContent{position:absolute;}## .$TTStyleBlack .$TTContent *{color:white;}## .$TTArrow{height:28px;width:28px;position:absolute;background-image:url(http://cdn.$.com/media/imgs/tooltip_arrow.gif?v4);background-repeat:no-repeat;}## .$TTAlignBelow .$TTArrow{background-position:0 0;}## .$TTAlignRight .$TTArrow{background-position:-28px 0;}## .$TTAlignLeft .$TTArrow{background-position:-56px 0;}\".replace(/~/g,\napture.H).replace(/\\$/g,\"apture\").replace(/\\!/g,\"!important\");b.styles.reset=\"##,## ABBR,## ACRONYM,## ADDRESS,## B,## BIG,## BLOCKQUOTE,## CAPTION,## CENTER,## CITE,## CODE,## DD,## DIV,## DL,## DT,## EM,## EMBED,## FONT,## FORM,## H1,## H2,## H3,## H4,## H5,## H6,## I,## IFRAME,## IMG,## LABEL,## LEGEND,## LI,## MAP,## OBJECT,## OL,## P,## PRE,## SMALL,## SPAN,## STRIKE,## STRONG,## SUB,## SUP,## TABLE,## TBODY,## TD,## TFOOT,## TH,## THEAD,## TR,## TT,## U,## UL,## a,## a:link,## a:hover,## a:visited,## a:active{border:0;background:transparent none;color:black;padding:0;text-align:left;font:normal medium serif;text-shadow:none;}div##,## DIV,## TABLE,## TR,## TH,## TD{height:auto;width:auto;}##,## *{border-collapse:none;margin:0;font:normal normal normal 12px/normal;text-transform:none;text-decoration:none;clear:none;cursor:auto;float:none;outline:none;letter-spacing:normal;word-spacing:normal;text-indent:0;white-space:normal;vertical-align:baseline;position:static;}## TABLE{border-collapse:collapse;}## TD{vertical-align:bottom;}## span,## img{display:inline;}## p,## div{display:block;}## div{overflow:visible;}## ul,## ol{padding-left:20px;}## a,## a:link,## a:hover,## a:visited,## a:active{display:inline;color:blue;text-decoration:underline;cursor:pointer;}## a:visited{color:purple;}## a:active{color:red;}## input{width:auto;border:0;background:transparent none;-webkit-box-sizing:content-box;}\".replace(/~/g,\napture.H).replace(/\\$/g,\"apture\").replace(/\\!/g,\"!important\");var fb=b.KJ=t(R,{},\"Page\");b.en=function(){if(!b.Ku){var a=/^aptureLink_(\\w+)$/;b.extend({mi:function(c){if(c.id)if(c=c.id.match(a))return c[1];return null},fu:function(c,e){if(b.lu&&!c||b.prefs.enable==false)return e(null);b.lu=true;b.yh(b.page.links,e)},yh:function(c,e){function i(){for(var ea=oa,va=(new Date).getTime();oaea&&(new Date).getTime()-va>50){setTimeout(i,50);return}var Aa=m[oa],Ta=b.mi(Aa);if(Ta){var lb=\nda[Ta];lb&&delete O[lb.plid];if(!Aa.aptureized)if(lb)b.Qy(lb,Aa);else if(!aa[Ta]&&!q[Ta]&&W+z.length289)){fa+=Aa;q[Ta]=1;z.push(Ta)}}}}ea=b.Am(O,fa,300);va=null;if(z.length||ea.length){va={};if(z.length)va.t=z;if(ea.length)va.n=ea}e&&e(va)}for(var m=Q(document.getElementsByTagName(\"A\")),q={},z=[],O={},fa=0,aa=b.page.ignored&&b.page.ignored.token||{},da={},la=0;la<(c||\"\").length;la++){var Z=c[la];if(Z.creationMode==4){da[Z.token]=Z;O[Z.plid]=Z}}var W=c?c.length:0,pa=\nb.maxPageLinks,oa=0;i()},Qy:function(c,e){var i=e.firstChild;if(i&&i.nodeName==\"IMG\"){i=k(i);c.width=i.getWidth();c.height=i.getHeight();c.linkType=2;k(e).getStyle(\"display\")==\"inline\"&&e.style.setProperty&&e.style.setProperty(\"display\",\"block\",\"important\");if(i=k(e).getTextAlign())c.align=i}else c.linkType=0;b.$i(c,e)}});b.Zi(b.fu);b.Ku=1}};b.dx=function(){if(!b.Bu){b.extend({kx:function(a){for(var c=b.Gj;a;){if(c(a))return true;a=a.parentNode}return false},eu:function(a,c){function e(){for(var wb=\nvb,mb=(new Date).getTime();vbwb&&(new Date).getTime()-mb>50){setTimeout(e,50);return}var Ca=i[vb];if(Ca.aptureized){var Ua=b.UA(Ca.parentNode);Ua&&delete q[Ua.plid]}else{var Va=Ca.href;if(!(!Va||Va.length>255)){var nb=la[Va];nb&&delete q[nb.plid];var yb=Ca.className;Ua=null;if(yb){var gb=yb.match(fa);if(gb)Ua=!gb[1]}if(Ua==null){if(!Va.match(O))continue;if(b.we(Ca))continue}else if(!Ua)continue;if(!ea)if(b.Sh(Ca,b.Vh.c)>=0)ea=true;else continue;if(va&&b.Sh(Ca,b.Td.c)>=0)break;\nif(!(Aa&&b.kx(Ca)))if(!(b.mi&&b.mi(Ca))){gb=b.wA(Ca.innerText||Ca.textContent||\"\");if(!(!gb||gb.length>=127))if(nb){if(yb)if((Ua=yb.match(aa))&&nb.mediaItem)nb.mediaItem.autoplay=!Ua[1];b.$i(nb,Ca)}else if(!Z[Va]&&!m[Va]&&Ta+z.length989)){da+=Ca;m[Va]=1;Ca=[Va,gb];Ua&&Ca.push(1);z.push(Ca)}}}}}}wb=b.Am(q,da,1E3);mb=null;if(z.length||wb.length){mb={};if(z.length)mb.u=z;if(wb.length)mb.m=wb}c(mb)}if(b.ku&&!a||b.prefs.enable==false)return c(null);\nb.ku=true;for(var i=Q(document.getElementsByTagName(\"A\")),m={},q={},z=[],O=RegExp(\"(http://(www\\\\.)?((((((blip\\\\.fm/profile/([a-zA-Z0-9_\\\\-]+)/blip/([0-9]+).*)|(twitpic\\\\.com/([0-9a-zA-Z_\\\\-]+))))|(twitter\\\\.com/intent/user\\\\?screen_name\\\\=([a-zA-Z0-9_]+)$)))|(twitter\\\\.com/(#!/)?([a-zA-Z0-9_]+/[a-zA-Z0-9_-]+)$)))|(http://(((((pt)\\\\.wikipedia\\\\.org/wiki/Ficheiro:)|(upload\\\\.wikimedia\\\\.org/wikipedia/(en|commons|pt|fr|de)/[a-z0-9]/[a-z0-9]+/)))|(upload\\\\.wikimedia\\\\.org/wikipedia/(es)/[a-z0-9]/[a-z0-9]+/))([A-Za-z\\\\-\\\\_0-9\\\\.\\\\%]+))|(http://(fr)\\\\.wikipedia\\\\.org/wiki/File:([A-Za-z\\\\-\\\\_0-9\\\\.\\\\%]+))|(http://(es)\\\\.wikipedia\\\\.org/wiki/Imagen:([A-Za-z\\\\-\\\\_0-9\\\\.\\\\%]+))|(http://(de)\\\\.wikipedia\\\\.org/wiki/Bild:([A-Za-z\\\\-\\\\_0-9\\\\.\\\\%]+))|(http://(en|commons)\\\\.wikipedia\\\\.org/wiki/Image:([A-Za-z\\\\-\\\\_0-9\\\\.\\\\%]+))|(^http://topics\\\\.nytimes\\\\.com/top(ics)?/([a-zA-Z]+/[a-zA-Z_\\\\-]+/[a-zA-Z_\\\\-]+/[a-zA-Z0-9_\\\\-]+/([a-zA-Z0-9_\\\\-]+/)?))|(^http://(www\\\\.)?((crunchbase\\\\.com/(((product)|(company)|(person)|(service-provider)|(financial-organization))/[^/.&?#]+))|(linkedin\\\\.com/(((in)|(pub))/(?!dir/)[^?]+)$)))|(http://www\\\\.washingtonpost\\\\.com/ac2/related/topic/([^\\\\?]+))|(^http://projects\\\\.washingtonpost\\\\.com/congress/(members/[a-zA-Z0-9]+(\\\\#aptureTest)?))|(http://.*\\\\.mp3$)|(^http://(www\\\\.)?amazon\\\\.com/.*(dp|product|ASIN)/(product-description/)?((?!profile)\\\\w+)(.*))|(http(s)?://(www\\\\.)?friendfeed\\\\.com/((e/)?[a-zA-Z0-9_\\\\-]+)(/)?$)|(http://(www\\\\.)?twitter\\\\.com/(#!/)?([a-zA-Z0-9_]+(/status(es)?/[0-9]+)?))|(http://search\\\\.twitter\\\\.com/(search\\\\?q=[a-zA-Z0-9\\\\#\\\\%_\\\\-\\\\+\\\\.]+)$)|(http://([a-z]+\\\\.)?youtube\\\\.com/(user/)?([A-Za-z0-9\\\\-_\\\\+]+)(\\\\/)?$)|(http://(en|pt|fr|es|de)\\\\.wikipedia\\\\.org/wiki/([^#\\\\?]+)(.*#([\\\\w\\\\.\\\\-]+))?)|(http://(en|pt|fr|es|de)\\\\.wikipedia\\\\.org/w/index\\\\.php\\\\?(.*)title=([^#\\\\?\\\\&]+)(.*#([\\\\w\\\\.\\\\-]+))?)|(^(http://(www\\\\.)?washingtonpost\\\\.com/wp-dyn/content/video/.*))|(^http://([A-Z]+\\\\.)?((((vimeo\\\\.com/(\\\\d+))|(youtube\\\\.com/v/([^&#]+)\\\\.swf)))|(youtube\\\\.com/(watch)?.*v=([^&#]+)(.*#t=(\\\\d+))?)))|(^http://(((www\\\\.)?((metacafe\\\\.com/watch)|(scribd\\\\.com/doc))/)|(sports\\\\.espn\\\\.go(\\\\.com)?/broadband/video/.*videoId=))(\\\\d+))|(^http://(www\\\\.)?((((((((revver\\\\.com/(watch|video/))|((indecision2008|thedailyshow)\\\\.com/video/index\\\\.jhtml\\\\?videoId=)))|(comedycentral\\\\.com/partners/yahoo/inspectmedia\\\\.jhtml\\\\?itemid=)))|(comedycentral\\\\.com/videos/index\\\\.jhtml\\\\?videoId=)))|(comedycentral\\\\.com/motherload/[^?]*\\\\?(ml_)?vid(eo)?=))(\\\\d*))|(^http://video\\\\.google\\\\.com/videoplay\\\\?docid=([\\\\-0-9]+))|(^http((://.*\\\\.flv)|((s)?://.+/.+\\\\.(pdf|ppt|doc|ps|xls|docx|pptx|xlsx|odt|odp|sxw|sxi|rtf)))(\\\\?|$))|(^(http://(www\\\\.)hulu\\\\.com/watch/.+))|(http://(www\\\\.)?qik\\\\.com/video/([0-9a-zA-Z]+))|(^http://([A-Za-z0-9]+\\\\.)?blip\\\\.tv/file/(\\\\d+))|(^http://maps\\\\.google\\\\.com/(maps)?\\\\?(.*)$)|(^http://cdn\\\\.picapp\\\\.com/(\\\\S+))|(^http://www\\\\.reuters\\\\.com/((news/pictures/searchpopup\\\\?picId=([0-9]+))|(resources/r/\\\\?m=02&d=[0-9]+&t=2&i=([0-9]+)&w=[0-9]+&r=.*)))|(http://img[0-9]+\\\\.yfrog\\\\.com/i/[^\\\\.]+\\\\.[a-zA-Z]+.*)|(http://siteanalytics\\\\.compete\\\\.com/([^\\\\/]+)/.*)|(^http://(www\\\\.)?flickr\\\\.com/photos/([\\\\w\\\\@0-9\\\\-_]+)/([0-9\\\\-_]+))|(^http://farm[0-9]*.static.flickr.com/([0-9]+)/([0-9]+)_)\",\n\"i\"),fa=/apture(no)?(autolink|enhance)/i,aa=/apture(no)?autoplay/i,da=0,la={},Z=b.page.ignored&&b.page.ignored.url||{},W=b.page.links,pa=0;pa<(W||\"\").length;pa++){var oa=W[pa];if(oa.creationMode==2){la[oa.url]=oa;q[oa.plid]=oa}}var ea=!b.Vh,va=b.Td,Aa=b.Gj,Ta=b.page.links?b.page.links.length:0,lb=b.maxPageLinks,vb=0;e()}});b.Zi(b.eu);b.Bu=1}};b.fx=function(){if(!b.ny){b.extend({iu:function(a,c){if(b.oy)return a?b.ro(c):c(null);else{b.oy=true;b.Ah=true;return b.kn(c)}},UR:function(){b.ro(n)},ro:function(a){b.rB=\n99999;b.Ah=false;b.kn(a||n)},Py:function(){for(var a=b.bb,c=0;c<(a||\"\").length;c++){var e=a[c];if(e.creationMode==1){e.Tj();b.bb.splice(c,1);c--}}b.Pj()},kn:function(a){b.Py();for(var c=[],e=b.page.links,i=0;i<(e||\"\").length;i++){var m=e[i];m.creationMode==1&&c.push(m)}(b.OF=new ya(c)).Op(function(){var q=null;if(b.isApp&&b.capabilities&false){var z=this.SA(),O=b.page.jsHashes;if(O&&!B(O,z))if(O.length&&b.Ah){b.Ah=false;q={j:z}}else b.page.id&&(new Ea(\"/cp/setHash/\",{pageId:b.page.id,\"new\":z,old:O})).Wa()}a(q)})}});\nb.Zi(b.iu);b.ny=1}};var hb=/([\\.\\*\\+\\[\\]\\(\\)\\\\\\$\\^\\|\\?\\{\\}])/g,Za=/\\s+/g;b.VA=function(a,c){return RegExp(b.bl(a).replace(hb,\"\\\\$1\").replace(Za,\"\\\\s+\"),c||\"g\")};var ya=b.JJ=t(R,{init:function(a,c,e,i){var m=a.length,q=[],z={},O={},fa=[];this.Xl=i;this.Yw=e||b.Gj;for(e=0;e0){this.ux=RegExp(q.join(\"|\"),c||\"g\");this.$n=z;this.ao=fa;this.wy=O}},tv:function(a){for(var c=5381,e=a.length;--e>=0;)c+=(c<<5)+a[e];return c},lm:function(a){for(var c=5381,e=a.length;--e>=0;)c+=(c<<5)+a.charCodeAt(e);return c},px:/(\\w+)\\s*$/,Vv:/^\\s*(\\w+)/,Op:function(a,c){this.Rb=[];this.Un=a;var e=b.Vh,i=b.Td;this.Cz=e&&e.c||document.body;this.Nv=i&&i.c||null;if(this.Xl)this.om=[this.Xl];\nthis.Sn=0;this.Qz=c||b.rB;this.Al()},tu:function(a,c){a=k(a);a.saveOrigChildren();for(var e=0;e<(c||\"\").length;e++){var i=c[e];a.appendChild(i);if(i.afterDomAttach){i.afterDomAttach();b.hg(i)}}},uo:function(a,c){var e=k(a.parentNode),i=c.length,m=c[i-1];e.saveOrigChildren();e.replaceChild(m,a);if(m.afterDomAttach){m.afterDomAttach();b.hg(m)}for(var q,z=0;z=da.childNodes.length){if(this.gd&&!this.xi){da.nodeName==\"BR\"?this.uo(da,this.gd):this.tu(da,this.gd);this.gd=null}if(da.nodeName==\"A\"){this.xi=false;if(this.Ud&&(!da.id||!da.id.indexOf(\"aptureLink_\")==-1)){Z=this.Ud.url;if(!Z||\nZ==da.getAttribute(\"href\")){this.Rb.push(this.Ud.id);b.$i(this.Ud,da);this.Ud=null}}}e.pop();i.pop();if(--m<0)break}else{Z=da.childNodes[Z];if(Z.parentNode==da){da=Z.nodeType;if(z&&da==3){Z.nodeValue.match(la)&&this.Sn++;if(aa)if(da=this.sw(Z)){this.uo(Z,da);i[m]+=da.length-1}}else if(da==1&&!Z.apture&&Z.nodeName!=\"SCRIPT\"&&Z.nodeName!=\"STYLE\"&&(!c||!c(Z))){m++;e.push(Z);i.push(0);if(Z.nodeName==\"A\")this.xi=true}else if(Z.id==\"aptureScript\")break}}if((new Date).getTime()-a>=q){setTimeout(this.bind(this.Al),\n50);return}}if(this.Jh){a=this.ao;c=this.$n;for(Z=a.length-1;Z>=0;Z--)this.Rb.push(c[a[Z]].Zh)}this.Rb.push(this.Sn);this.Un&&this.Un()},Yo:function(a){(a=this.Vv.exec(a))&&this.Rb.push(this.lm(a[1]))},sw:function(a){var c=this.ux,e,i=false,m=null,q=a.nodeValue,z=this.$n,O=0;for(a=null;e=c.exec(q);){for(var fa=e.index,aa=this.ao,da=this.wy,la=aa.length-1;la>=0;la--){var Z=aa[la],W=da[Z],pa;W.lastIndex=fa;if((pa=W.exec(q))&&pa.index==fa){Z=z[Z];var oa=(W=Z[Z.Zh])&&W.inline;if(oa){var ea=O0)i=eaO)O=i;i=true}if(oa=W&&W.end){a||(a=[]);for(ea=0;ea<(oa||\"\").length;ea++)a.push(oa[ea])}if((W=W&&W.hard)&&this.xi)this.Ud=W[0];Z.Zh++}}c.lastIndex=e.index+1}if(m!=null){c=q.substring(O);i&&this.Yo(c);c.length&&\nm.push(r(c))}if(a){if(!this.gd)this.gd=[];c=this.gd;for(ea=0;ea<(a||\"\").length;ea++){va=a[ea];if(Aa=b.zd(va,\"\")){c.push(Aa);this.Rb.push(va.id)}}}return m}},\"OverlayLinkInserter\"),Fa=[];b.Pj=function(){for(var a=0;a<(Fa||\"\").length;a++)Fa[a].normalize(false)};o.w({normalize:function(a){for(var c=null,e=this.c&&this.c.firstChild;e;){if(e.nodeType==3){if(c&&c.nodeType==3){this.c.removeChild(c);c=r(c.nodeValue+e.nodeValue);this.c.replaceChild(c,e);e=c}}else a&&e.nodeType==1&&k(e).normalize(a);c=e;e=\ne.nextSibling}},saveOrigChildren:function(){if(!this.hy){for(var a=[],c=this.c,e=c.childNodes,i=0,m=0;m<(e||\"\").length;m++){var q=e[m];if(!q.apture){var z=new Ma;z.GO=q;z.parentNode=c;var O=q.nodeType;z.nodeType=O;if(O==1)k(q).PO=z;else if(O==3)z.nodeValue=q.nodeValue;a.push(z);i++}}this.hy=a;Fa.push(this)}}});var Ma=b.AL=t(R,{});b.Xi=function(a,c,e){for(var i=0;i<(e||\"\").length;i++){var m=e[i];if(m[a]==c)return m;if(m=b.Xi(a,c,m.childLinks||[]))return m}return null};b.$Q=function(a){return b.Xi(\"id\",\na,b.bb)};b.aR=function(a){return b.Xi(\"token\",a,b.bb)};p.w({open:function(){this.notifyWithParams(15);this.ZB();this.notifyWithParams(171,{mediaItem:this.mediaItem,link:this})},close:function(){this.notifyWithParams(172,{mediaItem:this.mediaItem,link:this})},ZB:function(){b.bq++;this.Oi=(new Date).getTime();this.gp(1026,{method:this.In||1})},oh:function(a){this.gp(1027,{method:a,duration:this.Oi?(new Date).getTime()-this.Oi:null})},gp:function(a,c){var e=b.page,i=this.id,m=this.mediaItem?this.mediaItem._class:\nnull;i&&e&&e.id&&b.visitId&&b.ea.S(a,J({pageId:e.id,linkId:i,linkClass:m,viewId:this.bA},c))},getThumbnail:function(){return this.dp||(this.dp=new ob(this))},Cm:function(){return new Ab}});b.lJ=t(v,{linkType:4,className:\"\",init:function(a,c){this.parent(a,c);this.yn={};this.addListener(11,{obj:this,fn:this.My});this.Hl()},Hl:function(){for(var a=this.childLinks,c=0;c<(a||\"\").length;c++){var e=a[c],i=false,m=e.token||e.id;if(!this.yn[m]){this.yn[m]=e;i=true}this.appendChild(e);i&&this.yu&&e.afterDomAttach()}},\nMy:function(){this.removeChildren();this.Hl()},nb:function(a){for(var c=this.childLinks,e=0;e<(c||\"\").length;e++)c[e].nb(a)},afterDomAttach:function(){for(var a=this.childLinks,c=0;c<(a||\"\").length;c++)a[c].afterDomAttach();this.yu=true}},\"InlineMediaContainer\");b.mJ=t(v,{linkType:2,className:\"snap_noshots\",del:function(){b.removeListener({obj:this});b.ah(this);this.parent()},zm:function(){var a={display:\"block\",overflow:\"visible\",marginTop:\"6px\",border:\"1px solid #BCBCBC\",backgroundColor:\"#EEEEEE\",\nmarginBottom:\"0px\",padding:\"0px\"};if(this.align&17)a.marginRight=\"auto\";if(this.align&18)a.marginLeft=\"auto\";return a},ga:function(){if(this.mediaItem.yd()&&this.width&&this.height)return{width:this.width,height:this.height};return this.mediaItem.tq()},Vy:function(a){this.bg(a);a.afterDomAttach()},bg:function(a){var c=this.o;if(c){a.setRect(c.getRect());c.del()}this.o=a;a.TB(this.k);a.Ka();if(a.loaded){if(!this.mu){b.addStyles(b.styles.Ap,this.Xf);this.mu=true}}else a.addListener(53,{obj:this,fn:this.Vy,\nonce:true});this.av&&this.av.setText(a.Ds(this.caption));this.Jb.appendChild(a)},setWidth:function(a){this.parent(a);this.Jb&&this.Jb.setWidth(a)},setHeight:function(a){this.parent(a);this.Jb&&this.Jb.setHeight(a)},Dp:function(){var a=this.ga();return''},pR:function(){var a=this.ga();return\"[apture id=\"+this.token+\" w=\"+Math.round(a.width)+\" h=\"+Math.round(a.height)+\" sid=\"+Math.floor(Math.random()*1E7)+\" psid=\"+(this.nq||0)+\"]\"},init:function(a,c){if(!a.align)a.align=16;if(a.align&16)this.$o=\"center\";this.parent(a,c);var e=\nthis.mediaItem;e.autoplay=false;if(this.width&&this.height){e.width=this.width;e.height=this.height}var i=this.ga();this.Xf=this.Xf||b.Zg(\"aptureR\");this.appendChild(this.Jb=new s({id:this.Xf,style:{position:\"relative\"}}));if(e.qg){this.Jb.appendChild(this.k=new Jb);this.k.PB(e.title,this.title)}if(this.childLinks&&this.childLinks.length){this.Pb=new $a({style:{position:\"absolute\"},height:46});for(var m=this.childLinks,q=0;q<(m||\"\").length;q++){var z=m[q].getThumbnail();this.Pb.Gk(new Ha(this.Pb,\nz))}this.Pb.Ae();this.Jb.appendChild(this.Pb)}this.Jb.appendChild(this.zb=new s({className:\"aptureSuperEmbedFooter\",style:{position:\"absolute\",height:\"15px\",display:\"none\"}}));if(this.id)b.siteToken||this.zb.appendChildren(new Da({className:\"aptureSuperEmbedShare\",innerHTML:\"Share\",onclick:this.bindWithEvent(this.sz)}));this.zb.appendChild(new o(\"a\",{className:\"aptureSuperEmbedBranding\",innerHTML:\"Apture™\",href:\"http://www.apture.com\",target:\"_blank\"}));this.bg(e.NA());\nthis.GB(i.width,i.height);b.addStyles(b.styles.reset+b.styles.client,this.Xf)},iz:function(a){this.Jo(a)},hz:function(a){this.Jo(a)},sz:function(){if(!this.hj||!this.hj.Zb()){this.hj=new T(1,[new s({className:\"aptureEmbedShareType\"},new o(\"span\",\"URL\"),new o(\"input\",{type:\"text\",BB:\"true\",onclick:this.bindWithEvent(this.iz),value:b.wb(\"/view/\"+this.token+\"/\")})),new s({className:\"aptureEmbedShareType\"},new o(\"span\",\"Embed\"),new o(\"input\",{type:\"text\",BB:\"true\",onclick:this.bindWithEvent(this.hz),\nvalue:this.Dp()}))],\"Share This Embed\",1);var a=this.getRect(true);this.hj.open(new ja(a.Ia()-355,a.ua()-29,300,0))}},Jo:function(a){a.target.focus();a.target.select()},GB:function(a,c){var e=0;this.o&&this.o.resize(a,c);if(this.oM||this.k||this.Pb||this.mediaItem.aq){this.c.style.padding=\"2px\";this.c.style.paddingBottom=\"5px\";if(this.k){this.k.setWidth(a);e+=20}if(this.o){this.o.setLocalTop(e);e+=c}var i=3;if(this.Pb){this.Pb.setLocalTop(e);this.Pb.setWidth(a);e+=48;i+=2}this.zb.setWidth(a);this.zb.setLocalTop(e+\ni);this.zb.show();e+=20}else{e+=c;this.c.style.padding=\"0px\";this.zb.hide()}if(this.k)this.c.style.paddingTop=\"2px\";this.setWidth(a);this.setHeight(e)},afterDomAttach:function(){this.o.afterDomAttach();b.gh(this)},remove:function(){b.ah(this);this.parent()},nb:function(a){this.o&&this.o.nb(a)}},\"InlineMediaLink\");b.YJ=t(p,{linkType:3,Cm:function(){var a=this.getThumbnail(),c=a.getRect(document.body,true);return new Bb(a,{x:c.x,y:c.y+c.height})},Pc:function(a){this.parent(a);this.dp.setActive(this.Zb())}},\n\"RelatedLink\");$.w({Ep:function(){if(this.tf!=null)return this.tf;return(!b.prefs||b.prefs.hover!=false)&&!b.Qp()},Cm:function(){var a=this.getRect(document.body,true);return new Qb(this,{x:a.x,y:a.y+a.height})}});var $a=b.XJ=t(ka,{init:function(){this.wc=18;this.parent(arguments);this.c.className+=\" aptureSuperEmbedScroll\"},setWidth:function(a){this.parent(a);this.Ae()}},\"RelatedEmbedPanel\"),ob=b.wJ=t(Y,{init:function(a){this.parent(a.mediaItem);this.link=a;this.c.href=a.mediaItem.ka();this.c.style.display=\n\"block\";this.addEvent(\"click\",this.bindWithEvent(this.mj))},Lk:function(){return this.link.title||this.parent()},gc:\"a\",li:function(){return this.mediaItem.Kp()},mS:function(a){this.Yz=!a},mj:function(a){if(this.Yz)a.stop();else if(this.link.mediaItem.normal)window.open(this.link.mediaItem.ka());else{this.link.nh();a.stop()}},QB:function(a){this.ty=a},eR:function(){return this.ty},setActive:function(a){(this.eQ=a)?this.vj.ba(\"icon_close_red.gif\"):this.vj.ba(this.li(),this.mediaItem.$a())}},\"LinkThumbnail\"),\nNa=b.PJ=t(o,{init:function(a,c,e,i,m,q){this.parent(this.gc,{className:e||\"apturePopupButton\",onmousedown:this.bindWithEvent(this.Px),onmouseup:this.bind(this.Ki),onmouseover:this.bind(this.Qx),onmouseout:this.bind(this.Ki)},c);this.Zm=i?i:20;this.Ff=m?m:0;this.iq(a);this.Zw=q},gc:\"div\",iq:function(a){this.Zc=a;this.Ki()},Px:function(a){this.setStyle(\"background-position\",\"-\"+this.Zc+\"px -\"+(this.Ff+this.Zm*2)+\"px\");a.stop()},Ki:function(){this.setStyle(\"background-position\",\"-\"+this.Zc+\"px \"+(this.Ff?\n\"-\"+this.Ff+\"px\":\"top\"))},Qx:function(){this.Zw||this.setStyle(\"background-position\",\"-\"+this.Zc+\"px -\"+(this.Ff+this.Zm)+\"px\")}},\"PopupButton\"),Rb=b.uJ=t(Na,{gc:\"a\"},\"LinkPopupButton\");p=b.OJ=t(o,{oB:2147483642,zA:2147483641,Te:true,init:function(){this.parent(\"div\",{className:\"apturePopup\",apture:true});this.ia();if(this.Te)this.dQ=0},ia:function(){na.Re(this);this.fc=this.Fx();this.fc.setRect(new ja(0,0,200,300));this.addEvent(\"click\",this.bind(this.Ti));this.appendChildren(this.fc,this.k=this.Hx());\nvar a=this.Gn(0,{title:\"Close Window\",onclick:this.bindWithEvent(this.Sd),style:{marginRight:\"-2px\"}});if(this.xA)a.c.title+=\" (Tip: you can also click anywhere on the page to dismiss the last opened window)\";this.k.rj(a);this.ad=this.Gn(50,{title:\"Maximize\",onclick:this.bind(this.al)});this.k.rj(this.ad);this.En(this.fc.Wj());this.En(this.k);this.se=this.getAnimation({duration:400});this.Ji=true},Xr:10,Wr:8,SF:16,rM:function(){},SP:function(){},Fn:function(){if(this.Te&&!b.$p&&this.getStyle(\"position\")==\n\"absolute\"){this.setLocalTop(this.getLocalTop()-k(window).L());this.setLocalLeft(this.getLocalLeft()-k(window).getScrollLeft());this.setStyle(\"position\",\"fixed\")}},Ex:function(){if(this.Te&&!b.$p&&this.getStyle(\"position\")==\"fixed\"){this.setLocalTop(this.getLocalTop()+k(window).L());this.setLocalLeft(this.getLocalLeft()+k(window).getScrollLeft());this.setStyle(\"position\",\"absolute\")}},Fx:function(){return new Sb(\"\")},Gn:function(a,c,e,i){return new Na(a,c,e,i)},Hx:function(){return new g({className:\"apturePopupTitle\"})},\nxA:true,qS:function(a){if(!this.vi)this.appendChild(this.vi=new s({className:\"apturePopupHighlight\"}));if(a){var c=this.getWidth(),e=this.getHeight();this.vi.resize(c-22,e-22)}this.vi.setVisible(a)},Ti:function(){this.Hf||this.oa()},Sd:function(){b.Mc(this,2)},Hv:function(){b.oq()},Cv:function(){b.Mp()},En:function(a){L.Re(a).Zs(this);a.bt(this.Te);a.addEvent(\"dblclick\",this.bindWithEvent(this.al));a.$s(2);a.addListener(71,{obj:this,fn:this.Hv});a.addListener(73,{obj:this,fn:this.Cv})},at:function(a){this.fc&&\nthis.fc.Wj().hq(a);this.k&&this.k.hq(a)},KH:function(a){this.Ji=a;this.ad&&this.ad.setVisible(a)},AR:function(){return this.Hf},oa:function(){this.Hf=true;this.setStyle(\"z-index\",this.oB);this.k&&this.k.oa()},wj:function(){this.Hf=false;this.setStyle(\"z-index\",this.zA);this.k&&this.k.wj()},al:function(){this.jq(!this.Ng)},bR:function(){return this.Ng},ci:function(){this.jq(false)},jq:function(a){if(!this.Ji)return null;this.Ng=a=a||typeof a==\"undefined\";if(this.ad){this.ad.iq(a?75:50);this.ad.c.title=\na?\"Restore Size\":\"Maximize\"}this.at(!a);if(a){this.oa();b.Jk(0.78,this.bind(this.ci))}var c=this.getRect(),e=this.sn?this.sn:null,i=this.Wu||{width:26,height:63};this.Kx();if(a){i=c.Vj(i);e=k(window).aa().bh(10,10);var m=e.Vj({width:26,height:63});this.sn=c;i=i.Se(m.width,m.height);e=i.add(this.dw(i.width)).da(e)}if(this.jB()){c=c.wq();e=e.wq()}i=this.se;i.stop();i.La=d.zc;i.M=this.bind(this.Jx,[a]);i.start({rect:[c,e]})},Kx:n,Jx:function(a){a||this.rm()},nb:n,dw:function(){return this.Wu||{width:26,\nheight:63}},CM:function(){return{width:26,height:63}},Cp:function(){return{top:this.Wr,left:this.Xr}},setPos:function(a,c,e){this.parent(a,c);e&&k(window).pp(null,Math.max(0,c-44))},nw:function(){return d.zc},sj:function(a){this.un=a;var c=this.Pi(a);a=this.gy(a);var e=this.se;this.Du(c);b.gh(this);e.stop();this.setStyle(\"overflow\",\"hidden\");e.La=this.nw();e.M=this.bind(this.fy);this.El=c;e.start({rect:[a,c],opacity:[0,1]});this.oa();this.notify(\"startAnimateOpen\")},EP:function(a,c,e){var i=new s;\ni.setStyles({position:\"absolute\",zIndex:\"50000\",background:\"#3F3F3F\"});b.R(i);a=i.getAnimation({duration:a,La:d.zc});a.M=function(){i.remove();e()};a.start({rect:[(new ja(0,0,1,1)).da(c),c],opacity:[0,0.7]})},gy:function(a){return this.Pi(a).wp(0.5)},lv:function(a){return a.wp(0.2)},Pi:function(a){var c=this.Hm();c=new ja(0,0,c.width,c.height);a||(a=new Ab);return a.rg(c)},fy:function(){this.notify(\"openComplete\");this.setStyle(\"overflow\",\"visible\");this.Fn()},Hm:function(){return{width:100,height:100}},\nDu:function(a){var c=k(window).aa();if(c.kg(a))this.Pf=null;else{a.Qj();this.Pf=c}},MS:function(){if(this.Pf){k(window).aa();this.getRect();this.Pf.Qj();this.Pf=null}},im:function(){this.Ex();var a=this.se;a.stop();a.M=this.bind(this.pf);a.La=d.zc;var c=this.getRect();this.setStyle(\"overflow\",\"hidden\");this.El=this.lv(c);a.start({rect:[c,this.El],opacity:0});this.notify(\"startAnimateDismiss\")},pf:function(){b.ah(this);this.se&&this.se.stop();this.remove();this.notify(33)},rm:function(){b.cl()},Pe:function(a){this.Ou&&\nk(window).removeEvent(\"scroll\",this.Ou);this.Ng&&this.rm();a?this.pf():this.im()},oh:n,mr:function(){this.cn=true;this.oa()},lr:function(){this.cn=false},resize:function(a,c){this.parent(a,c);if(this.cn)return false;this.fc&&this.fc.resize(a,c);this.k&&this.k.setWidth(a-29);return true}},\"Popup\");b.extend({fR:function(){return{duration:400}}});var Tb=b.FK=t(o,{init:function(a,c,e){var i=b.H;this.parent(\"table\",{innerHTML:\"\"});a=this.c.firstChild.firstChild;this.qx=a.childNodes[0];this.Jn=a.childNodes[1];this.bz=a.childNodes[2]},Wj:function(){return k(this.c.firstChild.firstChild)},resize:function(a,c){this.setWidth(a);this.setHeight(c)},setWidth:function(a){this.parent(a);a-=10;if(a<1)a=1;this.Jn.style.width=a+\"px\"},setHeight:function(a){this.parent(a);if(a<1)a=1;a+=\"px\";this.qx.style.height=\na;this.Jn.style.height=a;this.bz.style.height=a}},\"StretchRowBackground\");b.ZJ=t(ka,{init:function(a){this.parent({style:{zIndex:\"20\"}});this.setStyle(\"position\",\"absolute\");this.Si=a;this.appendChild(this.Gh=new Tb(\"rel\",\"gif\",5));a.addListener(32,{obj:this,fn:this.Ux});this.setHeight(46)},del:function(){this.Kc&&this.Kc.removeListener({obj:this});this.Si.removeListener({obj:this});b.removeListener({obj:this});this.parent()},IB:function(a){this.parent(a);this.Gh.setVisible(!a)},setWidth:function(a){this.Fc||\nthis.Gh.setWidth(a);this.parent(a)},setHeight:function(a){this.Fc||this.Gh.setHeight(a);this.parent(a)},wn:function(a,c){this.Kc=a;this.DB(false);for(var e=a.childLinks,i=0;i<(e||\"\").length;i++){var m=e[i].getThumbnail();m.QB(this.Si);this.Gk(new Ha(this,m))}c&&this.Yf(this.fa.length-this.ub());this.Ae();this.Si.MQ()},Ux:function(a){if(a=a.ZQ()){this.Kc&&this.Kc.removeListener({obj:this});a.addListener(11,{obj:this,fn:this.wn});this.wn(a,null,false)}}},\"RelatedLinkPanel\");v=b.yb=t(s,{Cl:null,Fm:null,\nQo:null,minHeight:0,minWidth:0,init:function(a,c,e,i,m){this.parent({css:[a==6?b.yb.b.nt:b.yb.b.mt]});this.minWidth=c||0;this.minHeight=e||0;this.Fm=i;this.Qo=m;this.Cl=a;this.addListener(71,{obj:this,fn:this.Gv});this.addListener(72,{obj:this,fn:this.Iv});this.addListener(73,{obj:this,fn:this.Bv})},Gv:function(){this.notify(163);var a=this.Gz=this.Fm();this.Df=(a.width?a.height/a.width:1)||1;this.gg=k(window).aa();this.notify(161)},Bv:function(){this.notify(162)},Iv:function(){var a=this.zv,c=this.Av,\ne=this.Gz,i=e.copy(),m=this.Cl,q=m&2,z=m&8;if(m&3)i.width+=a*(q?-1:1);if(m&12)i.height+=c*(z?-1:1);if(i.width=c)i.height=c-i.y;if(i.x+i.width>=a)i.width=a-i.x;if(this.Xv)if(m&3){i.height=i.width*this.Df;if(i.y+i.height>=c){i.height=c-i.y;i.width=i.height/this.Df}}else{i.width=i.height/this.Df;if(i.x+i.width>=a){i.width=a-i.x;i.height=i.width*\nthis.Df}}if(z)i.y+=e.height-i.height;if(q)i.x+=e.width-i.width;this.Qo(i)},JH:function(a){this.Xv=a}},\"ResizeControl\");L.ld(v);b.yb.b.O={inherit:[b.b.g.Oa],bottom:\"-7px\",width:\"12px\",height:\"12px\",overflow:\"hidden\"};b.yb.b.mt={inherit:[b.yb.b.O],cursor:\"url(http://cdn.apture.com/media/imgs/cursor_resize.gif?v1), se-resize\",background:\"url(http://cdn.apture.com/media/imgs/resize.gif?v2) no-repeat right -12px\",right:\"-5px\"};b.yb.b.nt={inherit:[b.yb.b.O],cursor:\"url(http://cdn.apture.com/media/imgs/cursor_resize_sw.gif?v1), sw-resize\",\nbackground:\"url(http://cdn.apture.com/media/imgs/resize.gif?v2) no-repeat left -12px\",left:\"-5px\"};var Ub=b.H,Sb=b.QJ=t(o,{init:function(a){a=Ub+\"/\"+a;this.parent(\"table\",{innerHTML:\"\",style:{position:\"absolute\"}});\nvar c=this.c.firstChild;a=c.childNodes[0];var e=c.childNodes[1];c=c.childNodes[2];this.Wz=a.childNodes[1];this.Lx=e.childNodes[0];this.Mx=e.childNodes[2];this.Nu=c.childNodes[1];this.rows=[k(a),k(e),k(c)]},del:function(){for(var a=this.rows,c=0;c<(a||\"\").length;c++)a[c].del();delete this.rows;this.parent()},Wj:function(){return this.rows[0]},resize:function(a,c){a-=34;c-=63;a=a<=0?0:Math.round(a);c=c<=0?0:Math.round(c);this.Wz.style.width=a+\"px\";this.Nu.style.width=a+\"px\";this.Lx.style.height=c+\"px\";\nthis.Mx.style.height=c+\"px\"}},\"PopupShadow\"),Jb=b.DK=t(g,{init:function(){this.parent.apply(this,arguments);this.Tc.appendChildren(this.Kz=new o(\"span\",{className:\"aptureTitle\"}),r(\" \"),this.Bz=new o(\"span\",{className:\"aptureTitleSourceText\"}))},kh:n,Fj:function(){return this.Kz},SB:function(a){a=a||\"\";this.Bz.setText(a);this.tO=a}},\"SourceTitleBar\");b.CK=t(Jb,{init:function(){this.parent.apply(this,arguments);this.insertBefore(this.si=new Rb(125,{title:\"Open in new window\",target:\"_blank\"},\"apturePopupButton\"),\nthis.Tc)},rj:function(a){this.insertBefore(a,this.si)},kh:function(a){this.si.setVisible(a&&a.indexOf(\"javascript\")!=0);this.si.c.href=a}},\"SourceLinkTitleBar\");b.extend({If:[],OA:function(){for(var a=[],c=this.If,e=0;e<(c||\"\").length;e++)a.push(c[e].getRect(document.body));return a},gh:function(a){B(this.If,a)||this.If.push(a)},ah:function(a){w(this.If,a)}});v=b.rJ=t(R,{rg:n,ri:function(a,c){return this.Rf?new ja(c.x,c.y,a.width,a.height):a.da(k(window).aa())}},\"Layout\");b.xI=t(v,{rg:function(a){return this.ri(a,\nnull)}},\"CenterLayout\");var Ib=b.UI=t(v,{init:function(a){this.Rf=a},rg:function(a){return this.ri(a,this.Rf)}},\"FixedLayout\"),Ab=b.$I=t(v,{init:function(a){this.Rf=a},rg:function(a){a=this.ri(a,this.Rf);var c=k(window).aa(),e=b.OA();if(c.x<0){c.width+=c.x;c.x=0}if(c.y<0){c.height+=c.y;c.y=0}for(var i=b.Bp(true),m=[],q=0;q<(i||\"\").length;q++)m.push(i[q].getRect(document.body));return this.ym(a,c,c,m,e)||a},zy:function(a,c,e){e=e.dB(a);e.dh()||(a=e);e=c.width;c=c.height;var i=a.x,m=a.y,q=a.width;a=\na.height;return[new Ia(i+q,m,e,c,4),new Ia(i+q,m+(a-c)/2,e,c,0),new Ia(i+q,m+a-c,e,c,4),new Ia(i-e,m,e,c,4),new Ia(i-e,m+(a-c)/2,e,c,0),new Ia(i-e,m+a-c,e,c,4),new Ia(i+q-e,m-c,e,c,4),new Ia(i+(q-e)/2,m-c,e,c,0),new Ia(i,m-c,e,c,4),new Ia(i+q-e,m+a,e,c,4),new Ia(i+(q-e)/2,m+a,e,c,0),new Ia(i,m+a,e,c,4)]},pw:function(a,c,e,i){for(var m=[],q=0;q<(c||\"\").length;q++)for(var z=this.zy(c[q],a,e),O=0;O<(z||\"\").length;O++)m.push(z[O]);if(i){a=this.Jm(c);e=this.Jm(m);i={};for(q=0;q<(e||\"\").length;q++){z=e[q];\nvar fa=false;for(O=0;O<(a||\"\").length;O++)if(a[O].og(z)){var aa=q+\"_\"+O;if(!i[aa]){i[aa]=1;fa=true;break}}if(fa){fa=m[q];O=c[O];z.x=fa.x=O.x+5;z.y=fa.y=O.y+31;q--}}}return m},Jm:function(a){for(var c=[],e=0;e<(a||\"\").length;e++){var i=a[e];c.push(new ja(i.x,i.y+3,i.width,24))}return c},ly:function(a,c){for(var e=0;e<(c||\"\").length;e++)if(a.og(c[e]))return true;return false},Dm:function(a,c,e,i,m,q){if(!i.kg(c))return-1;for(var z=i=0;z<(m||\"\").length;z++)if(m[z].og(c)){i=-10;break}m=this.ly(c,q)?-4:\n0;q=0;if(b.Y&&b.Y()&&!b.Y().Bb)if(c.yc.y)O=c.y-e.y;O*=4}a=-(new ja(a.x,a.y,0,0)).vA(c)*0.01;return 1E3+c.AA+m+z+O+a+i+q},ni:function(a,c,e,i,m,q,z){var O=0,fa=null;c=this.pw(a,c,e,z);for(z=0;z<(c||\"\").length;z++){var aa=c[z],da=this.Dm(a,aa,e,i,m,q);if(da>O){fa=aa;O=da}}return fa},ym:function(a,c,e,i,m){($bestRect=this.ni(a,m,c,e,i,m,true))||($bestRect=this.ni(a,i,c,e,i,m));return $bestRect}},\n\"GoodLayout\"),Bb=b.ol=t(Ab,{init:function(a,c){this.Lb=a;var e=a.getRect(document.body,true);this.Lv=e.bh(15,15);this.parent(c||e)},WQ:function(){return this.Lb},Dm:function(a,c,e,i,m,q){a=this.parent(a,c,e,i,m,q);if(a>0)if(c.og(this.Lv))a+=-96;return a}},\"NearbyElemLayout\");b.TI=t(Bb,{init:function(a,c,e){this.parent(a,e);this.tn=c},lR:function(){var a=this.Lb.getRect(document.body);return new ja(a.x+this.tn.x-10,a.y+this.tn.y-10,20,20)}},\"FixedElemLayout\");var Qb=b.cI=t(Bb,{ym:function(a,c,e,i,\nm){return this.ni(a,[this.Lb.getRect(document.body,true)],c,e,i,m)||this.parent(a,c,e,i,m)}},\"AdjacentToElemLayout\"),Ia=b.wL=t(ja,{init:function(a,c,e,i,m){this.parent(a,c,e,i);this.AA=m}});v=b.tL=t(R,{Im:n,Ij:n,round:function(){return this},selectNode:n,select:n,Ik:n,oi:n,ng:n,$g:n,Qe:n,Hs:n,Ac:function(){return this.Im().replace(/\\s+/,\" \")},dh:function(){return!this.Ac()},isEqual:function(a){var c=this.oi(),e=a.oi();if(this.Ac()==a.Ac()&&c.startContainer==e.startContainer&&c.endContainer==e.endContainer&&\nc.startOffset==e.startOffset&&c.endOffset==e.endOffset)return true;return false}});var Kb=b.bL=t(v,{init:function(a,c){this.hd=a;var e=this.Ko=a.getSelection();this.C=c?c:e.rangeCount?e.getRangeAt(0):a.document.createRange()},Hs:function(a){a=null;var c=this.C.startContainer,e=this.C.startOffset,i=this.C.endContainer,m=this.C.endOffset,q={},z=document.createElement(\"span\");z.style.position=\"static\";if(a)var O=a.startOffset-e,fa=a.endOffset-m;this.C.collapse(true);this.C.insertNode(z);q.start=k(z).getRect(document.body,\ntrue);k(z).remove();if(c==i){this.C.setEnd(c.nextSibling,m-e);a&&a.setEnd(c.nextSibling,this.C.endOffset+fa)}else this.C.setEnd(i,m);c=this.C.startContainer;this.C.collapse(false);this.C.insertNode(z);q.end=k(z).getRect(document.body,true);k(z).remove();this.C.setStart(c.nextSibling,0);a&&a.setStart(c.nextSibling,O);return q},$g:function(){var a=this.C.startContainer;return a.nodeType==3?a.parentNode:this.C.startContainer},Qe:function(a){var c=this.C;if(c.collapsed&&a)return a;else{$node=c.commonAncestorContainer;\nreturn $node.nodeType==3?$node.parentNode:$node}},round:function(){if(this.Ij()){var a=this.C,c=a.startContainer,e=a.endContainer;a=b.HB(c.nodeValue,a.startOffset,a.endOffset);var i=this.hd.document.createRange();i.setStart(c,a[1]);i.setEnd(e,a[2]);return new Kb(this.hd,i)}else return this},select:function(){this.Ik();this.Ko.addRange(this.C)},Ik:function(){this.Ko.removeAllRanges()},selectNode:function(a){this.C.selectNode(a)},Ij:function(){var a=this.C,c=a.startContainer;return c==a.endContainer&&\nc.nodeType==3},oi:function(){return this.C},ng:function(){var a=this.C;if(a.collapsed)return\"\";else{var c=this.hd.document.createElement(\"span\");c.appendChild(a.cloneContents());return c.innerHTML}},Im:function(){var a=this.C;if(a.collapsed)return\"\";else if(this.Ij())return a.startContainer.nodeValue.substring(a.startOffset,a.endOffset);else{var c=this.hd.document.createElement(\"span\");c.appendChild(a.cloneContents());return c.innerText||c.textContent||\"\"}}},\"W3CSelection\");b.extend({getSelection:function(a){a||\n(a=window);if(a.getSelection)return new Kb(a);return null},Gx:function(a,c,e,i){if(a.getSelection){var m=a.document.createRange();m.setStart(c,e);m.setEnd(c,e+i);a=a.getSelection();a.removeAllRanges();a.addRange(m)}},kS:function(a,c){function e(i){if(!i)return false;if(i.nodeType==3){var m=i.nodeValue.indexOf(a);if(m!=-1){b.Gx(c,i,m,a.length);return true}}else if(i.nodeType==1){i=i.childNodes;for(m=0;m<(i||\"\").length;m++)if(e(i[m]))return true}}c||(c=window);e(c.document.body)},HB:function(a,c,e){e=\nb.bw(a,e);c=b.cw(a,c);return[a.substring(c,e),c,e]},Vo:/\\s/,ru:/^\\w+$/,Gu:/\\w*$/,$v:/^\\w*/,ln:function(a,c){return c>0&&c0&&b.Vo.exec(a.charAt(c-1))?c-1:c}});b.dL=b.WINDOW_OPEN=31;b.EXT={EVENTS:{HIGHLIGHT_PERFORMED:292,\nDETACHED_SEARCH_OPENED:330},OPEN_TYPES:{HIGHLIGHT:3,FOOTPRINT:4}};b.fQ=b.addCallback=function(a,c){switch(a){case 31:case 292:case 330:b.addListener(a,{fn:c})}};v=b.Ot=t(R,{Z:n,MB:n,sB:n,Bj:n,ve:n,YQ:function(){return this.gn},Yb:n,LB:function(a){this.gn=a}},\"RichMediaListItemContainerAdapter\");ka=b.jK=t(v,{init:function(a){this.W=a},Bj:function(){return this.W},Z:function(){this.W.Ws=this;return this.W.Z()},ve:function(){return this.W.kd()}},\"RichItemAdapter\");b.Nq=t(ka,{ve:function(){return this.W.photos},\nYb:function(){return this.W.title}},\"RichImagesListAdapter\");b.au=t(v,{init:function(a){this.pe=a},Bj:function(){return this.pe},Z:function(){this.pe.Ws=this;return b.Z(\"RichMediaImageListViewer\",\"RichMediaListViewer\",this.pe)},ve:function(){return this.pe.kd()},Yb:function(){return this.pe.title}},\"WikiSlideshowAdapter\");b.Pt=t(p,{ia:function(){this.Yl=0;this.addEvent(\"click\",this.bind(this.Ti));this.Ji=true;this.addClass(\"aptureTMMFullScreenPopup\");this.appendChild(this.pb=new s({className:\"aptureTMMFullScreenCloseButton\",\nstyle:{opacity:0.75},onmouseover:this.bind(this.Gw),onmouseout:this.bind(this.Fw),onmousedown:this.bind(this.Dw),title:\"Click to close viewer\"}))},BS:function(a,c,e){this.gq(a);e&&this.Z().jh(e);a={x:0,y:k(window).aa(true).y};a=new Ib(a);a.VB=c;b.cq(this,a)},Nm:function(){b.Mc(this,3)},Gw:function(){this.pb.setOpacity(1)},Fw:function(){this.pb.setOpacity(0.75)},Dw:function(){this.pb.setOpacity(0.5)},gq:function(a){this.jb=a;this.xv&&this.rp(a.Z())},rp:function(a){a.loaded?this.An(a):a.addListener(53,\n{obj:this,fn:this.An,once:true})},afterDomAttach:function(){this.xv=true;this.jb&&this.rp(this.jb.Z())},An:function(a){this.bg(a);this.o.jh(this.jb.gn);this.Ch&&this.Ch()},oR:function(){return\"\"},bg:function(a){this.o=a;this.o.MH(this);this.o.addListener(180,{fn:this.Nw,obj:this});a.addListener(\"viewerResize\",{fn:this.bind(this.Ow)});this.appendChild(a)},Nw:function(){this.Yl++},Um:function(){if(this.mn){this.o.Rk(false);this.mn=false;b.addListener(291,{fn:this.Nm,obj:this});this.notify(31)}else{this.pf();\nb.Y&&b.Y(function(a){a.show()})}},Ow:function(){var a=this.Km();this.o.TH(this.o.getRect().da(a))},Km:function(){return{x:0,y:0,height:this.getHeight(),width:this.getWidth()}},Z:function(){return this.o},Pe:function(){this.ix=true;this.jb&&this.jb.MB(14);this.parent.apply(this,arguments)},im:function(){this.o.Rk(true);this.Um()},pf:function(){b.cl(true);b.removeListener(291,{fn:this.Nm,obj:this});this.parent.apply(this,arguments);this.ix=false;this.o.del();this.o=null},Ti:function(){b.Mc(this,2)},\nsj:function(a){if(this.o){this.Ch=null;this.mn=true;b.Y&&b.Y(function(c){c.hide()});this.un=a;b.Jk(0.78,this.bind(this.ci),null,this.bind(function(){this.oa();b.gh(this);this.setStyle(\"overflow\",\"hidden\");this.setRect(this.Pi(this.un));this.oa();this.notify(\"startAnimateOpen\");this.o.Rk(true);this.Fn();var c=this.o.Is(),e=this.Km();c=new ja(0,0,c.width,c.height);c=c.da(e);e=new ja(0,0,300,300);e=e.da(c);this.o.addListener(\"animationComplete\",{fn:this.bind(this.Um),obj:this});this.o.NG(e,c,[0,1])}))}else this.Ch=\nthis.bind(this.sj,[a])},ci:function(){b.Mc(this,2)},Hm:function(){return k(window).aa(true)},oh:function(a){if(this.jb&&!this.hp){this.hp=1;this.jb.sB(a,{LR:this.Yl},{KQ:true})}}},\"RichMediaListPopup\");b.xa={};b.xa.qt=/([A-Z]{1}[A-Za-z0-9_\\-\\&\\/\\s]*?)+?/;b.xa.rt={the:true,and:true,was:true,\"for\":true,not:true,but:true,all:true};b.xa.Yt=/^((https?:\\/\\/)|(www\\.)|(.+\\.(com|net|biz|gov|edu|ly|info|org)))/i;b.xa.oH=function(a){return b.xa.qt.test(a)};b.xa.iB=function(a){switch(a.length){case 0:case 1:return true;\ncase 2:return a==a.toLowerCase();case 3:if(a!=a.toLowerCase())return false;if(b.xa.rt[a])return true;default:return false}};b.xa.Os=function(a){return b.xa.Yt.test(a)};b.Yk(\"app\");b.init();if(apture.JSVERSION)if(apture.JSVERSION!=30919596){b.fileCache.clear();b.ea.S(1129,{jsVersion:apture.JSVERSION,appjsVersion:30919596})}b.dk=t(R,{RF:0,init:function(a){a=a||{};this.DF=b.D(a.links,[]);this.ps=b.D(a.status,0)},oO:function(){(new ya(this.DF,\"g\",b.kF)).Op()},yF:function(a){switch(a){case 200:case 207:case 208:return true}if(/^4/.test(a)||\n/^5/.test(a))return true;return false},YO:function(){if(!this.yF(this.ps)){this.RF++;var a=new b.Lq({url:\"/magiclinks\",params:{visitId:b.visitId,siteId:b.siteId,AC:b.Bc()}});a.addListener(350,{fn:this.AN,obj:this});a.send()}},AN:function(a){this.yB(a.data);this.CH()},yB:function(a){this.DF=a.mlinks;this.ps=a.status},CH:function(){if(this.ps==200)this.oO();else this.yF(this.ps)||this.RF>=b.dk.xL||window.setTimeout(this.bind(this.YO),b.dk.BL)}},\"MagicLinker\");b.dk.BL=1E3;b.dk.xL=20;var ua=b.KT=t(s,\n{Nf:null,Rw:false,Br:false,ta:null,eA:false,init:function(){this.Hu=new xa({css:[b.b.g.Ed],src:ua.sl.sp});this.xO=new xa({css:[b.b.g.Ed,b.b.g.Oa,ua.b.sJ],src:ua.sl.DR});this.sk=new xa({css:[b.b.g.Ed,b.b.g.Oa,ua.b.ck],src:ua.sl.vb});this.Mr=this.sk.getAnimation();this.Mr.duration=200;this.Zr=new s({css:[b.b.g.Ed,b.b.g.Oa,ua.b.TJ]});this.$r=this.Zr.getAnimation();this.$r.duration=2E3;this.$r.M=this.bind(this.DN);this.qs=new s({css:[b.b.g.Oa,ua.b.QK]},this.Hu,this.Zr,this.xO);this.zG=this.qs.getAnimation();\nthis.zG.duration=200;this.parent({css:[ua.b.O],onmouseenter:{fn:this.xr,obj:this},onmouseleave:{fn:this.Ew,obj:this},onmousedown:{fn:this.Jc,obj:this},onmouseup:{fn:this.Hw,obj:this},onclick:{fn:this.jk,obj:this}},this.qs,this.sk)},QH:function(a,c){if(!this.Rw){this.Br=true;this.RD();this.qs.setLocalTop(7);this.qs.setOpacity(0);this.sk.resize(0,0);this.sk.setLocalTop(20);this.sk.setLocalLeft(parseInt(ua.b.ck.left,10)+parseInt(ua.b.ck.width,10)/2)}this.TD=false;this.setPos(a,c);this.show();if(!this.Rw){var e=\nthis.zG,i={top:\"0px\"};i.opacity=1;e.M=this.bind(this.tf);e.start(i);window.setTimeout(this.bind(this.IL),50);this.Rw=true}},IL:function(){var a=this.sk.getRect(),c=new ja(parseInt(ua.b.ck.left,10),0,parseInt(ua.b.ck.width,10),parseInt(ua.b.ck.height,10));this.Mr.start({rect:[a,c]})},tf:function(){this.Br=false;this.eA&&this.xr()},cancel:function(){if(this.isVisible()){this.close();this.notifyWithParams(360)}},close:function(){this.hide();this.He=null;this.RD()},RD:function(){if(this.Nf){this.Nf.del();\nthis.ta=this.Nf=null}},qG:function(){this.Nf.show(true);this.ta=this.Nf=null;b.na.Ik()},cE:function(){this.ta=new pb;this.Nf=b.DG(b.dg,3,this.ta,true)},xr:function(){if(this.Br)this.eA=true;else{this.He=(new Date).getTime();this.Mr.start({top:\"-4px\"});b.Ns()?this.$r.start({width:ua.AD}):this.Zr.setWidth(ua.AD);this.Nf||this.cE();var a=b.na!=b.mb?b.na:b.mb,c=k(a.Qe());c.uk=c.c.className;c.c.className=c.uk+\" aptureTMMSelection\";a.select()}},Ew:function(){if(this.Br)this.eA=false;else{this.$r.stop();\nthis.Zr.setWidth(0);this.Hu.ba(ua.sl.sp);this.Mr.start({top:\"0px\"});if(this.He){this.Cx((new Date).getTime()-this.He,false,b.dg);this.He=null}if(!this.TD&&b.na!=b.mb){var a=k((b.na!=b.mb?b.na:b.mb).Qe());a.c.className=a.uk;b.mb.select()}}},DN:function(){this.He&&this.Cx((new Date).getTime()-this.He,false,b.dg,true);if(this.Nf){this.ta.EH(b.dc.dl.WC);this.qG()}this.close()},Cx:function(a,c,e,i){b.ea.S(1121,{duration:a,clicked:c,text:e,popped:i})},Jc:function(a){a.stop();a=b.na!=b.mb?k(b.na.Qe()):k(b.mb.Qe());\na.c.className=a.uk+\" aptureTMMSelected\"},Hw:function(){this.Hu.ba(ua.sl.sp);var a;a=b.na!=b.mb?k(b.na.Qe()):k(b.mb.Qe());a.c.className=a.uk},jk:function(a){a.stop();if(!this.Nf){this.cE();this.He=(new Date).getTime()}if(this.He){this.Cx((new Date).getTime()-this.He,true,b.dg);this.He=null}this.qG();this.TD=true;this.close()}},\"SearchToolTipButton\");ua.sl={sp:\"http://cdn.apture.com/media/imgs/search_tooltip/LM-base.png\",FV:\"http://cdn.apture.com/media/imgs/search_tooltip/LM-base-hover.png\",DR:\"http://cdn.apture.com/media/imgs/search_tooltip/LM-text-gloss.png\",\nvb:\"http://cdn.apture.com/media/imgs/search_tooltip/LM-logo-icon.png\"};ua.AD=90;ua.b={};ua.b.O={inherit:[b.b.g.Ed,b.b.g.Oa],\"z-index\":2147483647};ua.b.sJ={top:\"0\",left:\"0\"};ua.b.ck={top:\"0\",left:\"85px\",height:\"20px\",width:\"18px\"};ua.b.QK={top:\"0\",left:\"0\"};ua.b.TJ={width:\"0\",height:\"27px\",\"background-image\":\"url(http://cdn.apture.com/media/imgs/search_tooltip/progress-bar.png)\",left:\"5px\",top:\"4px\"};var Vb=b.TT=t(o,{init:function(a,c){this.Vi=a;this.parent(\"div\",{className:\"aptureTMMShare\"});for(var e=\n0;e30){var i=document.title;if(i.length>e)i=i.substring(0,e)+\"...\";return\"http://twitter.com/home?status=\"+\nencodeURIComponent(\"\"+i+\" - \"+a+c)}else return\"http://twitter.com/home?status=\"+encodeURIComponent(a+c.length)},Tn:function(a){this.hd=window.open(\"\",\"_blank\",\"width=800,height=500,toolbar=no,status=no,scrollbars=yes\");(new Ea(\"/tmm/shorten/\",{url:window.location.href})).Wa(this.bind(this.uP));a.stop()}},\"TwitterShareProvider\"),Yb=b.bT=t(v,{Zc:4,Hy:\"Share via\",Rx:\"email\",oG:\"emails\",Xz:1,Bm:function(){return\"mailto:?subject=\"+encodeURIComponent(document.title)+\"&body=Hi,%0A%0AI was reading this page and I thought you would be interested in it:%0A%0A\"+\nencodeURIComponent(window.location.href)+\"%0A%0AShared using Apture (www.apture.com)\"},Tn:function(a){this.EG();document.location.href=this.Bm();a.stop()}},\"EmailShareProvider\"),$b=b.ST=t(p,{uO:null,AU:null,sO:\"\",Sg:false,eF:\" the Apture Bar\",me:null,Te:false,init:function(a){a=a||{};this.parent();this.c.className=[\"aptureTMMBar\",this.hw(),this.qi()].join(\" \");this.k.hide();this.fc.hide();this.KH(false);this.addEvent(\"click\",this.bindWithEvent(this.PL));var c={\"huffingtonpost.com\":{vb:\"http://cdn.apture.com/media/imgs/tmmLogos/huffpost.png\",\ncolor:\"#008a7b\"},\"newsweek.com\":{vb:\"http://cdn.apture.com/media/imgs/tmmLogos/newsweek.png\",color:\"#af0600\"},\"nytimes.com\":{vb:\"http://cdn.apture.com/media/imgs/tmmLogos/nyt.png\",color:\"#2f2f2f\"},\"time.com\":{vb:\"http://cdn.apture.com/media/imgs/tmmLogos/time.png\",color:\"#af0600\"},\"www.fastcompany.com\":{vb:\"http://cdn.apture.com/media/imgs/tmmLogos/fastcompany.png\",color:\"#000\"},\"macrumors.com\":{vb:\"http://cdn.apture.com/media/imgs/prstg_logo.png\",color:\"#bdc1ce\",Xs:250},\"washingtonpost.com\":{vb:\"http://cdn.apture.com/media/imgs/tmmLogos/wapo.png\",\ncolor:\"#efefef\"}},e=null;for(var i in c){var m=document.domain.indexOf(i);if(m>=0&&m==document.domain.length-i.length){e=c[i];if(!e.Xs)e.Xs=110;if(e.yj==undefined)e.yj=false;if(!e.Gb){e.Gb=\"#fff\";if(!e.$b)e.$b=\"#000\"}break}}e||(e={title:b.barTitle||document.domain.substring(0,20),Xs:b.scrollOffset==undefined?110:b.scrollOffset,color:b.barColor==undefined?\"#444444\":b.barColor,vb:b.logoFilename||(!b.barTitle?\"http://cdn.apture.com/media/imgs/tmmLogos/apture.png\":\"\"),SH:b.customLogoUrl||(b.siteSearchUrls?\nb.siteSearchUrls[0]:false)||\"/\",Gb:b.barTitleColor==undefined?\"#FFFFFF\":b.barTitleColor,$b:b.$b==undefined?b.barTitleColor==undefined?\"#000000\":null:b.$b,yj:b.applyShading||false});this.ks=new Vb([new Wb,new Xb,new Yb],e);this.ie=new Xa(\"input\",{className:\"aptureTMMInput\",onkeypress:this.bindWithEvent(this.mP),onenter:this.bind(this.jP),onfocus:this.bind(this.kP),onblur:this.bind(this.iP),type:\"text\",size:\"34\"});this.hn=new s({className:\"aptureTMMBarInnerDiv\"},this.xM=new s({className:\"aptureTMMHideButton\",\nstyle:{position:\"relative\"}},new s({className:\"aptureTMMHideButtonBorder\"},c=new s({className:\"aptureTMMHideArrow aptureTMMHideArrowPosition\"}),i=new s({className:\"aptureTMMShowButtonCover\"}))),this.Db=new o(\"a\"),this.ks,this.ie,this.OP=new Zb);this.Db.addEvent(\"click\",{fn:function(q){q.stopPropagation()}});c.setOpacity(0.5);i.setOpacity(0);this.lb=new s({className:[\"aptureTMMHideButton\",this.hw(\"aptureTMMHideButtonFixed\")].join(\" \"),onclick:this.bind(this.$M)},new s({className:\"aptureTMMHideButtonBorder\"},\nc=new s({className:\"aptureTMMHideArrow aptureTMMHideArrowPosition\"}),this.fF=i=new s({className:\"aptureTMMShowButtonCover\"})));this.lb.addEvent(\"mouseover\",this.bind(this.RN,[i,c]));this.lb.addEvent(\"mouseout\",this.bind(this.QN,[i,c]));i.setOpacity(0);c.setOpacity(0.5);this.lb.setStyle(\"z-index\",\"2147483640\");this.lb.hide();b.R(this.lb);this.OH(a.hideBar||b.prefs.hideBar,true);if(a.YR){this.lb.remove();this.xM.remove()}if(this.Sg){this.lb.addClass(this.qi());this.lb.show()}this.OG(e);this.appendChild(this.hn);\nthis.Bb=true;this.ie.ct(\"Enter topic to look up\");this.$O();this.at(false);this.setStyle(\"z-index\",\"2147483639\");this.ti();k(window).addEvent(\"resize\",this.bind(this.ti));b.addListener(292,{fn:this.aN,obj:this});this.addEvent(\"click\",{fn:this.MN,obj:this})},QQ:function(){var a={};for(var c in this.Vq)a[c]=this.Vq[c];return a},OG:function(a){var c=false,e=false,i=false,m=false,q=this.Vq||{};if(a.Gb!=q.Gb)i=true;if(a.$b!=q.$b)m=true;if(a.vb){if(a.vb!=q.vb)c=true}else if(a.title){if(a.title!=q.title)e=\ntrue;i&&this.Db.setStyle(\"color\",a.Gb);if(m)a.$b?this.Db.setStyle(\"textShadow\",a.$b+\" 0 1px 0\"):this.Db.setStyle(\"textShadow\",\"\")}if(i||m)this.ks.NS(a);if(a.yj!=q.yj){if(a.yj){this.hn.setStyle(\"background\",\"url(http://cdn.apture.com/media/imgs/prstg_texture35.png) 0 0 repeat-x\");this.lb.setStyle(\"background\",\"url(http://cdn.apture.com/media/imgs/prstg_texture35.png) 0 0 repeat-x\")}else{this.hn.setStyle(\"background\",\"\");this.lb.setStyle(\"background\",\"\")}this.hn.setStyle(\"backgroundColor\",a.color);\nthis.lb.setStyle(\"backgroundColor\",a.color)}else if(a.color!=q.color){this.hn.setStyle(\"backgroundColor\",a.color);this.lb.setStyle(\"backgroundColor\",a.color)}if(c){this.fk=140;this.Dn=new xa;this.Dn.lh(this.bind(this.CO));this.Dn.ba(a.vb);this.Db.setStyle(\"backgroundImage\",\"url(\"+a.vb+\")\");this.Db.c.className=\"aptureTMMBarLogo\";this.Db.c.href=a.SH;this.Db.removeChildren();this.ti()}else if(e){this.Db.c.className=\"aptureTMMBarTitle\";this.Db.c.href=a.SH;this.Db.setStyle(\"background\",\"\");this.Db.setStyle(\"width\",\n\"\");this.Db.setStyle(\"height\",\"\");this.Db.setText(a.title);this.fk=null;this.ti()}this.Vq=a},Xr:0,Wr:0,SF:0,ZV:false,$M:function(){this.OH(!this.Sg);this.Sg?this.Ar():this.os();b.ea.S(1118,{hideBar:this.Sg?\"1\":\"0\"})},aN:function(a){this.NH(a.wH)},MN:function(){this.me&&this.me.close()},OH:function(a,c){c||b.kq(\"hideBar\",a?1:0);this.Sg=a?true:false;if(a){this.lb.addClass(\"aptureTMMHideButtonHidden\");this.fF.c.title=\"Show\"+this.eF}else{this.lb.removeClass(\"aptureTMMHideButtonHidden\");this.fF.c.title=\n\"Hide\"+this.eF}},QN:function(a,c){a.setOpacity(0);c.setOpacity(0.5)},RN:function(a,c){a.setOpacity(0.2);c.setOpacity(1)},ti:function(){var a=k(window).getWidth();if(a<500)a=500;var c=Math.floor(a*0.06);if(this.Db){if(this.Nr){this.fk=this.Nr;this.Db.setStyle(\"width\",this.Nr+\"px\");this.Nr=null}if(!this.fk)this.fk=this.Db.c.offsetWidth;var e=this.ie.c.offsetWidth,i=a-e-this.fk-2*c,m=this.ks.jQ(i);i-=m;this.Db.setStyle(\"left\",c+\"px\");this.ks.setStyle(\"left\",c+this.fk+Math.floor(i*0.42)+\"px\");this.ie.setStyle(\"left\",\na-c-e+\"px\");this.OP.setStyle(\"left\",a-24-8+\"px\")}b.Lc&&b.Lc.aV(this.ie)},R:function(){b.R(this);this.afterDomAttach();this.jO=true},BV:function(){return this.Bb},PL:function(a){a=a.target.className;if(a==\"aptureTMMBarInnerDiv\"||a==\"aptureTMMBar\")b.Lc&&b.Lc.Pe()},JM:function(){return b.bl(this.ie.c.value)},CO:function(){if(this.Dn){this.Nr=this.Dn.c.width;this.Dn=null;this.ti()}},TU:function(a){var c=a.indexOf(\":\");if(c>0)a=a.substr(0,c);if(a.length>20)a=a.substr(0,20);return a},bv:function(a){if(b.$p){this.Bb&&\nthis.removeClass(this.qi());this.setStyle(\"height\",\"\")}if(this.tE){this.tE=false;this.YG(a)}if(!this.Bb){this.lb.addClass(this.qi());this.lb.show()}this.Pa&&delete this.Pa;this.ZD()},LD:function(a,c){this.Pa&&this.Pa.stop();this.Pa=this.getAnimation({duration:300,La:d.$k,importance:101});this.Pa.M=this.bind(this.bv,[c]);if(b.$p)if(a){this.setStyles({height:\"0\",overflow:\"hidden\"});this.addClass(this.qi());this.Pa.start({height:40})}else this.Pa.start({height:1});else this.Pa.start({top:a?\"0px\":\"-58px\"})},\nAr:function(){if(!this.Sg){this.lb.removeClass(this.qi());this.lb.hide()}if(this.c.style.webkitTransitionProperty==undefined)this.LD(false);else{this.addEvent(\"webkitTransitionEnd\",{fn:this.bind(this.$D,[false]),once:true});this.setStyle(\"top\",\"-58px\")}this.Bb=true;b.Lc&&b.Lc.hide()},XV:function(a){this.Bb?this.os(true,a):this.Ar()},os:function(a,c){if(this.c.style.webkitTransitionProperty==undefined){if(a)this.tE=true;this.LD(true,c)}else{this.addEvent(\"webkitTransitionEnd\",{fn:this.bind(this.$D,\n[a,c]),once:true});this.setStyle(\"top\",\"0px\")}this.Bb=false;this.ti()},$D:function(a,c){a&&this.YG(c);if(!this.Bb){this.lb.addClass(this.qi());this.lb.show()}this.ZD()},ZD:function(){this.Bb||b.Lc&&b.Lc.show()},$O:function(){k(window);k(window).addEvent(\"scroll\",this.bind(this.PP));this.setStyles({position:\"fixed\",top:\"-58px\"})},PP:function(){var a=k(window).L(),c=b.Lc&&b.Lc.Zb(),e=this.Vq.Xs;if(a=e&&this.Bb&&this.os()},kP:function(){},iP:function(){},\njP:function(){var a=this.JM();if(a)this.ta(a,null,this.BU?6:2)},KU:function(){},JU:function(){},SU:function(a,c){if(c)c.length>0?b.Lc.uV().VV(a,c):b.Lc.QV(3)},mP:function(){if(this.me){this.me.close();this.me=null}},YG:function(a){var c=this;setTimeout(function(){c.ie.focus();a&&c.ie.select()},1)},NH:function(a){this.ie.Zk(a)},search:function(a,c,e){this.jO||this.R();this.NH(a);this.ta(a,c,e);var i=this.ie;if(this.Bb){this.PU=true;this.os(true)}else setTimeout(function(){i.focus()},10)},ta:function(a,\nc,e){c=this.Bb?300:0;this.uO=null;if(a!=\"Enter topic to look up\"){this.sO=a;this.me&&this.me.close();var i=new b.tK;this.me=new b.vK({te:this.ie,search:i,oA:1,QG:10,HQ:false,PG:1});this.me.addListener(443,{fn:this.PN,obj:this,once:true});i.search(a,{Nj:e});setTimeout(this.bind(function(){this.me.show()}),c)}},PN:function(){this.me=null},show:function(){this.parent();this.ti()},GU:function(){b.R(b.Lc)},uU:function(){this.Sg&&this.Ar()},oa:n,wj:n,PV:function(a){if(this.Od){a!=this.Od&&this.Od.Pc(14);\nthis.Od.removeListener({obj:this})}this.Od=a;a.addListener(12,{fn:function(){this.Od.Zb()&&this.EQ()},obj:this})},EQ:function(){b.Lc&&b.Mc(b.Lc)},Pe:function(){},hw:function(a){return a||\"\"},qi:function(a){var c=this.hw();return c.length>0?c+\"Pos\":a||\"\"}},\"TellMeMoreSearchBar\"),Zb=b.PT=t(o,{init:function(){this.parent(\"div\",{className:\"aptureTMMToutLink\",onmouseover:this.bind(this.dy),onmouseout:this.bind(this.cy),onclick:this.bind(this.Tn)},this.kk=new s({className:\"aptureTMMToutIcon\"}));this.kk.setStyle(\"backgroundImage\",\n\"url(http://cdn.apture.com/media/imgs/info_icon.png)\");(new Image).src=\"http://cdn.apture.com/media/imgs/info_icon_highlight.png\";return this},Tn:function(a){window.open(\"http://www.apture.com/?tout\",\"_blank\");a.stopPropagation()},xV:function(){this.fp&&this.fp.setStyle(\"display\",\"none\")},dy:function(){if(!this.fp)this.fp=new ac;this.fp.show(this);this.kk.setStyle(\"backgroundImage\",\"url(http://cdn.apture.com/media/imgs/info_icon_highlight.png)\")},cy:function(){this.fp.hide();this.kk.setStyle(\"backgroundImage\",\n\"url(http://cdn.apture.com/media/imgs/info_icon.png)\")}},\"TMMToutIcon\"),ac=b.QT=t(o,{init:function(){this.parent(\"IMG\",{className:\"aptureTMMToutTooltipImage\",src:\"http://cdn.apture.com/media/imgs/tout_popup.png\"});this.setStyle(\"display\",\"none\");this.setStyle(\"opacity\",\"0\");b.R(this)},bv:function(){this.cF&&this.setStyle(\"display\",\"none\");this.Pa&&delete this.Pa},JD:function(a){var c=300;if(this.Pa){c=150;this.Pa.stop()}this.Pa=this.getAnimation({duration:c,La:d.$k,importance:101});this.Pa.M=this.bind(this.bv);\nthis.Pa.start({opacity:a?1:0})},hide:function(){this.JD(false);this.cF=true},show:function(a){this.setStyles({left:k(window).getScrollLeft()+a.getLocalLeft()+a.getWidth()-this.getWidth()-8+\"px\",top:k(window).L()+a.getHeight()-5+\"px\",display:\"block\"});this.JD(true);this.cF=false}},\"TMMToutTooltip\"),ra=b.rT=t(s,{Od:null,pb:null,Hf:false,Pg:null,wa:0,Oi:null,bs:null,o:null,init:function(){this.parent({css:[ra.b.ib]},new s({css:[ra.b.zg]},this.pb=new za({style:za.F.Za.ll}),this.Pg=new Cb,new H({css:[ra.b.SK]},\n\"Quick Preview\")),new s({css:[ra.b.RK]}));this.Pg.i(ra.b.jC);this.pb.i(ra.b.jC);this.Oi=(new Date).getTime();this.setStyle(\"position\",\"fixed\");this.GD();this.bs=this.bind(this.GD);k(window).addEvent(\"resize\",this.bs)},del:function(){k(window).removeEvent(\"resize\",this.bs);this.bs=null;this.parent()},kM:function(){if(this.Od){this.Od.removeListener({obj:this});this.Od=null;this.notify(32)}},wr:function(){if(this.Od&&!this.hp){this.hp=1;this.Od.oh(2)}this.Pe()},GD:function(){var a=ra.F.qc.lK,c={width:k(window).getWidth()-\na*2,height:k(window).getHeight()};if(c.width>ra.F.qc.JC){c.width=ra.F.qc.JC;a=this.getRect().da(k(window).aa()).x}this.setLocalLeft(a);this.resize(c.width,c.height-ra.F.qc.pD)},wj:function(){this.Hf=false;this.setStyle(\"z-index\",2147483641)},Pe:function(){this.Pc(0);this.LH(new Ba({url:\"\"}));this.notify(33)},Zb:function(){return this.wa==1},RR:function(a){this.LH(new Ba({url:a.sourceUrl,scrolling:\"auto\",resizable:false}));this.Pg.kh(a.sourceUrl);this.addEvent(\"mousewheel\",this.bindWithEvent(function(c){c.target.tagName.toLowerCase()==\n\"iframe\"&&c.stop()}));this.Pc(1)},resize:function(a,c){this.parent(a,c);this.o&&this.o.resize(a,c-ra.F.qc.Fq+1)},LH:function(a){this.kM();var c=this.o;a=a.Z();if(c){a.setRect(c.getRect());c.del()}this.o=a;a.Bd=this;a.bA=this.bA;a.setStyle(\"position\",\"absolute\");a.setLocalTop(ra.F.qc.Fq+1);this.appendChild(a);a.Ka()},Pc:function(a){if(a!=this.wa){this.wa=a;if(a==1){b.Jk(0.78,this.bind(this.Pe));this.o.show();this.o.nb(true);this.show();this.setLocalTop(ra.F.qc.pD);this.pb.addListener(340,{fn:this.wr,\nobj:this});this.setStyle(\"z-index\",2147483642)}else{this.pb.removeListener(340,{fn:this.wr,obj:this});this.hide();this.o.hide();b.cl()}}}},\"QuickPreview\");ra.F={};ra.F.qc={Fq:42,zt:14,At:32,JC:1024,lK:32,pD:62};ra.b={};ra.b.ib={round:{ac:\"5px\",bc:\"5px\"},border:\"1px solid #303030\",\"border-top\":\"0\",\"background-color\":\"#f7f7f7\"};ra.b.YS={shadow:{color:\"rgba(0, 0, 0, 0.31)\",blur:\"10px\",ft:\"1px\"}};ra.b.SK={inherit:[b.b.f.yt],\"padding-left\":ra.F.qc.At*2+ra.F.qc.zt*2+\"px\",\"background-image\":\"url(http://cdn.apture.com/media/imgs/pop_open_result.gif?v1)\",\n\"background-position\":ra.F.qc.At*2+ra.F.qc.zt*2-24+\"px 50%\",\"background-repeat\":\"no-repeat\",\"font-size\":\"18px\",color:\"#9d9d9d\",\"font-weight\":\"bold\",\"text-shadow\":\"#fff 0 1px 0\",\"line-height\":ra.F.qc.Fq+\"px\"};ra.b.RK={overflow:\"hidden\",height:\"1px\",\"background-color\":\"#999\",opacity:\".5\",position:\"relative\",\"z-index\":\"1\"};ra.b.zg={\"border-bottom\":b.b.f.Be,\"text-align\":\"center\"};ra.b.jC={\"float\":\"right\",\"margin-right\":ra.F.qc.zt+\"px\",\"margin-top\":(ra.F.qc.Fq-ra.F.qc.At)/2+\"px\"};b.extend({LP:function(){if(!b.MP){b.MP=\ntrue;b.capabilities&32||b.rP();var a=b.Gp(window.location.href,\"aptureQuery\"),c=\"other\",e=document.referrer;if(e)if(e.indexOf(\".google.\")!=-1){a=b.Gp(e,\"q\");c=\"google\"}else if(e.indexOf(\".bing.com/\")!=-1){a=b.Gp(e,\"q\");c=\"bing\"}else if(e.indexOf(\".yahoo.com/\")!=-1){a=b.Gp(e,\"p\");c=\"yahoo\"}b.Ns()&&a&&a.length>1&&a.length<40&&b.ea.S(1130,{keyword:a,engine:c});if(b.tmm){if(window.top.location!=self.location)try{if(!window.top.kQ)return}catch(i){return}b.ED&&b.zh();b.Y(function(m){m.R()});b.PA();b.Xa.cH().CH();\nwindow.apture2_onload&&window.apture2_onload()}}},rP:function(){if(window.addEventListener)window.navigator.userAgent.match(\"Firefox/2\")||document.body.addEventListener(\"copy\",b.bind(b.iE),false);else document.body.attachEvent(\"oncopy\",b.bind(b.iE))},iE:function(){var a=b.mb=b.getSelection();a.Ac();if(a&&!a.dh()){var c=b.na=a.round();b.tmm&&c.select();var e=k(c.Qe());if(a=c.$g())if(a.tagName==\"INPUT\"&&a.className.match(\"aptureTMMInput\"))return;c=c.Ac();if(a&&!a.parentElement)c=\"\";if(c&&c.length<50&&\nb.xa.oH(c)&&!b.xa.Os(c))if(b.tmm){b.Vb&&b.Vb.close();b.dg=c;b.DG(b.dg,5);e.uk=e.c.className;e.c.className+=\" aptureTMMSelection\";setTimeout(function(){e.c.className=e.uk;b.mb.select()},300)}else b.ea.S(1136,{query:c})}},OR:function(a){if(!b.ts){b.ts=new ra;b.R(b.ts)}b.ts.RR(a);return b.ts},WU:function(a){b.VU=a.page;b.XU=(new Date).getTime()},kF:function(a){var c=a.nodeName;return c&&(c.charAt(\"0\")==\"H\"||c==\"A\")||b.Gj&&b.Gj(a)},zh:function(){if(b.page.tmmLinks)(b.OF=new ya(b.page.tmmLinks,\"ig\",b.kF)).Op()},\nY:function(a){if(!b.ss&&!(b.capabilities&2048))b.ss=new $b({hideBar:b.qb[2],YR:b.qb[3]});a&&b.ss&&a(b.ss);return b.ss},PA:function(){if(!b.Vb){b.Vb=new ua;b.Vb.hide();b.R(b.Vb)}return b.Vb},DG:function(a,c,e,i){var m,q=new s({className:\"aptureHighlightMarker\"});q.hide();b.R(q);var z=b.na.Hs(b.mb.C),O=b.na.C;m=document.createElement(\"span\");try{O.surroundContents(m)}catch(fa){m=null}if(m){var aa=new b.Ee({content:k(m)});O.selectNodeContents(m)}b.na.select();b.na=b.getSelection();q.getRect();var da=\ne||new pb,la=new b.tl({te:q,search:da,1:{281:{fn:function(Z){if(Z.YB==3)q.setPos(z.start.x,z.start.y);else Z.YB==4&&q.setPos(z.end.x,z.end.y)}},283:{fn:function(){q.show()}},282:{fn:function(){q.hide()}},252:{fn:function(Z){Z.Ja==la&&q.del()}},441:{fn:function(){da.kB()&&da.vH()}}}});aa&&aa.oQ(la);if(!i){b.notifyWithParams(330,{query:a,openType:c});la.show(true)}if(i){da.addListener(195,{fn:function(){b.notifyWithParams(330,{query:a,openType:c})},once:true});da.uH(a,{Nj:c})}else da.search(a,{Nj:c});\nreturn la},HS:function(){}});b.toggleBar=b.HS;b.RT=t(ca,{sourceUrl:\"javascript:void(0)\",Ab:function(){return 1950}},\"TellMeMoreSearch\");ka=b.oD=t(Y,{gc:\"a\",init:function(a){this.parent(a);this.c.style.display=\"block\";this.addEvent(\"click\",{fn:this.yr,obj:this})},yr:function(){this.notifyWithParams(\"click\")},xq:function(){var a=this.mediaItem;this.p.ba(a.HE(),a.Ob())},rr:function(){return{}}},\"TMMThumbnail\");b.IK=t(ka,{Sa:null,ky:false,init:function(a){this.parent(a);this.addClass(\"aptureVideoThumbPreview\");\nthis.xy=new s({className:\"aptureTMMVideoPreviewPlay\",onmouseover:this.bindWithEvent(this.Jg),onmouseout:this.bindWithEvent(this.Af)});this.xy.setOpacity(0);this.appendChild(this.xy)},mE:function(a){this.Rv=window.setTimeout(this.bind(this.uv,[a]),100)},uv:function(a){this.Sa=this.xy.fade(a,null,250)},Yq:function(){if(this.Rv){window.clearTimeout(this.Rv);this.Rv=null}if(this.Sa){this.Sa.stop();this.Sa=null}},Jg:function(){this.ky=true;this.Yq();this.mE(1)},Af:function(){this.Yq();this.uv(0.75);this.ky=\nfalse},mj:function(a){this.notify(\"linkClick\");a.stop()},jH:function(){if(!this.ky){this.Yq();this.mE(0.75)}},iH:function(){this.Yq();this.uv(0)}},\"TMMVideoPreview\");p=b.OT=t(ka,{init:function(a){this.parent(a);this.p.i(b.b.g.Ed)}},\"TMMImageThumbnail\");v=b.ek=t(p,{xh:null,Uq:null,init:function(a){this.parent(a);this.i(b.ek.b.O);this.Uq=new s({css:[b.ek.b.bI]});this.xh=new xa({css:[b.ek.b.$H],src:\"http://cdn.apture.com/media/imgs/zoom-overlay.png\"});this.appendChildren(this.Uq,this.xh);this.xh.hide();\nthis.addEvent(\"mouseenter\",{fn:this.xr,obj:this});this.addEvent(\"mouseleave\",{fn:this.Ew,obj:this})},xr:function(){this.xh.show();this.Uq.fade(0.6,null,250)},Ew:function(){this.xh.hide();this.Uq.fade(0,null,250)}},\"TMMImagePreview\");b.ek.b.$H={inherit:[b.b.g.Oa,b.b.g.Ed],right:\"6px\",bottom:\"6px\",height:\"16px\",width:\"16px\"};b.ek.b.bI={inherit:[b.b.g.Oa,b.b.g.Ed],top:\"0\",left:\"0\",width:\"100%\",height:\"100%\",opacity:0,\"background-color\":\"#000\"};b.Wt=t(v,{init:function(a){this.parent(a);this.xh.ba(\"http://cdn.apture.com/media/imgs/new-window-overlay.png\");\nthis.xh.i(b.Wt.b.aI)}},\"TMMImageExternalPreview\");b.Wt.b.aI={right:\"9px\",bottom:\"9px\"};b.vl=t(ka,{init:function(a){this.parent(a);this.i(b.vl.b.rI);this.Sv=new b.Hd({css:[b.vl.b.SI],src:this.mediaItem.Mk()});this.Sv.addListener(190,{fn:this.bN,obj:this});this.appendChild(this.Sv)},bN:function(){this.Sv.hide()}},\"TMMThumbnailWithFavicon\");b.vl.b.rI={\"padding-right\":\"2px\",\"padding-bottom\":\"4px\"};b.vl.b.SI={inherit:[b.b.g.Oa],right:\"0\",bottom:\"0\",\"border-top\":\"1px solid #6e6e7c\",\"border-left\":\"1px solid #6e6e7c\",\n\"padding-left\":\"1px\",\"padding-top\":\"1px\",\"background-color\":\"#fff\",width:\"16px\",height:\"16px\"};b.iK=t(p,{mj:function(a){this.notify(\"linkClick\");a.stop()}},\"RichImageThumbnail\");var bc=b.IT=t(j,{eH:function(){return new (this.ed||Ja)(this)}},\"SearchResult\"),zb=b.qT=t(j,{hP:null,VH:true,zs:function(a){this.hP=a},mH:function(){this.VH=false;this.notify(250,{result:this})}},\"ProcessedSearchResult\"),cc=b.pT=t(zb,{zs:function(a){this.parent(a);return a.VR(this)}},\"ProcessedMediaItemResult\"),dc=b.JT=t(R,\n{Ql:null,Ai:null,vy:null,eO:true,init:function(){this.vy={};this.Ql={};this.Ai={}},XR:function(a){this.vy[a.hash]=a;var c=this.Ql[a.hash];if(c){for(var e=0,i;i=c[e];e++)a.rH(i);this.Ql[a.hash]=null}},WR:function(a){var c=true;if(a.rawItem){var e;if(e=this.Ai[a.rawItem.hash]){if(c=this.wF(e,a.rawItem)){this.Ai[a.rawItem.hash]=a;e.mH()}c=c}else this.Ai[a.rawItem.hash]=a}if(a.parentHash)if(e=this.vy[a.parentHash])e.rH(a);else if(e=this.Ql[a.parentHash])e.push(a);else this.Ql[a.parentHash]=[a];return this.eO?\nfalse:c},VR:function(a){var c,e=true;if(c=this.Ai[a.hash]){if(e=this.wF(c,a)){this.Ai[a.hash]=a;c.mH()}e=e}else this.Ai[a.hash]=a;return e},wF:function(a,c){return a.sourceIndex>c.sourceIndex}},\"SearchResultProcessor\");p=b.Ve=t(j,{collapse:function(a){if(this.Dg=a){this.re.hide();this.Ua.hide();this.i(b.Ve.b.fl)}else{this.re.show();this.Ua.show();this.la(b.Ve.b.fl)}this.VG(!a);(a=this.getThumbnail())&&a.Xk&&a.Xk()}},\"CollapsedWikipediaMixin\");b.Ve.b.fl={cursor:\"pointer\",\"padding-bottom\":\"9px\"};b.Ve.b.nD=\n{cursor:\"pointer\",\"float\":\"left\",\"padding-left\":\"27px\",\"padding-right\":\"11px\"};b.Ve.b.Pq={cursor:\"pointer\",\"margin-top\":\"-2px\"};Y=b.h=t(s,{Kc:null,d:null,ic:null,oP:false,FU:0,Zq:null,YL:\"aptureTMMCollapse\",Dg:false,lk:\"Click to view\",init:function(a){this.d=a;this.gM=(new Date).getTime();this.parent.apply(this,this.sr())},Wq:function(a,c){var e=c||b.h.b.l.cc;a.Fs(function(i){i.c.tagName.toLowerCase()==\"b\"&&i.i(e)},true)},sr:function(){return[this.yf(),this.Xc(),this.Zq=new s({style:{clear:\"both\"}})]},\nyf:function(){return{className:\"aptureTMMResult\",onclick:this.bindWithEvent(this.Jf),onmouseenter:{fn:this.Di,obj:this},onmouseleave:{fn:this.Ci,obj:this},css:[b.h.b.yg]}},Xc:function(){(this.ic=this.Hg())&&this.ic.i(b.h.b.Ec.ef);this.re=new s({css:[b.h.b.Ec.bu]},this.ic);this.Ua=new s({css:[b.h.b.cK]});this.Ua.appendChildren.apply(this.Ua,this.Yc());this.Ig=new s({css:[b.h.b.Na.Na]},new s({css:this.ik(),title:this.lk}));return[this.re,this.Ua,this.Ig]},ik:function(){return[b.h.b.Na.Cc]},Yc:function(){var a=\n[this.rs=new Da({css:[b.h.b.Fa],href:this.d.ka(),onclick:this.bindWithEvent(this.Jf)},this.Sz=new H({css:[b.h.b.Xt]},this.d.prettySource+\":\"),this.fb=new H({css:[b.h.b.Fa],innerHTML:this.d.title})),this.Ek=new s({css:[b.h.b.l.K],innerHTML:this.GE()})];this.Wq(this.Ek);this.Wq(this.fb,b.h.b.Fa);return a},GE:function(){return this.d.shortSnippet?this.d.shortSnippet.substring(0,56)+\"...\":this.d.prettySource},Hg:function(){return new b.oD(this.d)},open:function(){if(!this.NO){this.NO=true;this.notify(\"open\")}this.notifyWithParams(171,\nthis.Gg())},Gg:function(){return{mediaItem:this.d,rank:this.d.rank,lc:this.d.lc,AH:this.gM}},Jf:function(a){this.la(b.h.b.Mq);this.open();a.stop();return false},Di:function(){this.Qk(b.h.b.Mq)||this.i(b.h.b.Mq);this.ic&&this.ic.jH&&this.ic.jH()},Ci:function(){this.la(b.h.b.Mq);this.ic&&this.ic.iH&&this.ic.iH()},TV:function(a){(this.oP=a)?this.Di():this.Ci()},Kk:function(){return this.d},Nk:function(){return this.d},Ok:function(){return this.rank},getThumbnail:function(){return this.ic},YV:function(a){this.rank=\na},KA:function(){return 1},collapse:function(a){this.Dg=a}},\"ResultItem\");b.h.b.O={cursor:\"pointer\"};b.h.b.l={};b.h.b.l.K={inherit:[b.h.b.O,b.b.f.Kt]};b.h.b.l.cc={inherit:[b.h.b.l.K,b.b.f.cc]};b.h.b.Hq={\"padding-left\":\"11px\"};b.h.b.Ec={};b.h.b.Ec.hC={border:\"1px solid #ccc\"};b.h.b.Ec.bu={inherit:[b.h.b.O,b.h.b.Hq],display:\"table-cell\",\"vertical-align\":\"top\",\"padding-right\":\"0\",width:\"1px\",\"padding-top\":\"2px\"};b.h.b.Ec.ef={background:\"transparent\"};b.h.b.Na={};b.h.b.Na.Na={inherit:[b.h.b.O],display:\"table-cell\",\n\"vertical-align\":\"middle\",width:\"24px\"};b.h.b.Na.Dt={\"margin-right\":\"2px\"};b.h.b.Na.Cc={inherit:[b.h.b.O,b.h.b.Na.Dt],\"background-image\":\"url(http://cdn.apture.com/media/imgs/slide.gif)\",\"background-repeat\":\"no-repeat\",height:\"13px\",width:\"8px\",\"float\":\"right\"};b.h.b.Na.$C={inherit:[b.h.b.Na.Cc],\"background-image\":\"url(http://cdn.apture.com/media/imgs/pop_open_result.gif?v1)\",width:\"20px\",height:\"11px\"};b.h.b.Na.uC={inherit:[b.h.b.Na.Cc],width:\"20px\",height:\"20px\",\"background-image\":\"url(http://cdn.apture.com/media/imgs/open_externally.gif)\"};\nb.h.b.cK={inherit:[b.h.b.O,b.h.b.Hq],display:\"table-cell\"};b.h.b.yg={inherit:[b.h.b.O],display:\"table\",position:\"relative\",overflow:\"hidden\",width:\"100%\",\"padding-top\":\"10px\",\"padding-bottom\":\"10px\",\"border-bottom\":\"1px solid #f3f3f3\",\"border-spacing\":\"0\",\"border-collapse\":\"separate\"};b.h.b.Mq={\"background-color\":\"#efefef\"};b.h.b.Fa={inherit:[b.h.b.l.K,b.b.f.rh],\"text-decoration\":\"none\",\"font-weight\":\"bold\"};b.h.b.Xt={inherit:[b.h.b.Fa],\"margin-right\":\"4px\",\"text-decoration\":\"underline\"};v=b.ZS=t(j,\n{Qv:function(a){if(this.W){a.lc=this.W.lc;a.rank=this.W.rank}else if(this.d){a.lc=this.d.lc;a.rank=this.d.rank}},Mm:function(a){this.Qv(a)},ME:function(a){this.Qv(a);this.notifyWithParams(172,a)}},\"ChildContainerMediaItemResultItem\");var Ja=b.CJ=t(Y,{Ok:function(){return this.parent()||this.d.rank},yf:function(){var a=this.parent();a.onmousedown=this.bindWithEvent(this.yO);a.onmouseup=this.bindWithEvent(this.zO);return a},yO:function(){},zO:function(){},rw:function(){return new o(\"span\",{className:\"aptureTMMSourceInfo\",\ncss:[b.h.b.O]},new s({className:\"aptureTMMSourceIcon\",css:[b.h.b.O],style:{\"background-position\":this.vr().aB}}),new o(\"span\",{className:\"aptureTMMSourceName\",css:[b.h.b.O]},this.vr().name),new o(\"span\",{className:\"aptureTMMSourceFrom\",css:[b.h.b.O]},\"from\"))},vr:function(){return{name:this.d.prettySource,aB:this.d.iconPos?\"-\"+this.d.iconPos[0]*20+\"px \"+-this.d.iconPos[1]*20+\"px\":\"\"}}},\"MediaItemResultItem\"),Lb=b.cT=t(Ja,{sr:function(){for(var a,c=[],e=0;a=this.d.videos[e];e++){a=new ec(a);a.addRepeater(this);\na.addListener(171,{fn:this.Mm,obj:this});a.addListener(172,{fn:this.ME,obj:this});c.push(a)}return c},KA:function(){return this.d.videos.length}},\"EnhancedVideoSlideshowResultItem\");v.ld(Lb);V.w({ed:Lb});var ec=b.Aq=t(Ja,{Yc:function(){var a=this.parent(),c=a[1],e=\"\"+this.d.runtime%60;if(e.length<2)e=\"0\"+e;var i=this.d.dateProduced;i=\"\"+(i.getMonth()+1)+\"/\"+i.getDate()+\"/\"+i.getFullYear();c.removeChildren();c.appendChildren(new s({css:[b.Aq.b.l.mC]},i),new s({css:[b.Aq.b.l.mC]},\" \"+Math.floor(this.d.runtime/\n60)+\":\"+e+\" min\"));return a},Hg:function(){return new b.IK(this.d)}},\"EnhancedVideoResultItem\");b.Aq.b.l={};b.Aq.b.l.mC={inherit:[b.h.b.l.K]};V=b.ak=t(Ja,{init:function(){this.parent.apply(this,arguments)},Xc:function(){var a=this.parent();this.Ua.removeChildren();this.Ua.i(b.ak.b.td);this.Ua.appendChild(new b.th(this.d.prettySource,{src:this.d.faviconUrl}));for(var c,e=this.d.kd(),i=0;c=e[i];i++){c=new b.Wt(c);c.i(b.ak.b.ef);c.addListener(\"click\",{fn:this.Om,obj:this});this.Ua.appendChild(c)}b.remove(a,\nthis.re);b.remove(a,this.Ig);return a},yf:function(){var a=this.parent();a.onmouseenter=null;a.onmouseleave=null;a.onclick=null;return a},Om:function(a){var c=this.Gg();c.mediaItem=a.Ja.mediaItem;c.xb=c.xb||{};c.xb.ug=b.ak.MO;this.notifyWithParams(171,c)},KA:function(){return this.d.kd().length}},\"EnhancedImageSlideshowResultItem\");v.ld(V);b.ak.MO=function(a){window.open(a.mediaItem.sourceUrl);return false};b.ak.b.ef={inherit:[b.h.b.Ec.ef],width:\"104px\",height:\"100px\",\"margin-left\":\"10px\",\"margin-top\":\"10px\"};\nb.ak.b.td={\"padding-left\":\"0\"};M.w({ed:V});V=b.$t=t(Ja,{init:function(a){this.parent(a);this.addListener(171,{fn:this.Mm,obj:this})},Mm:function(a){a.lc=this.d.lc},Xc:function(){var a=this.parent();b.remove(a,this.re);b.remove(a,this.Ig);this.Ua.i(b.$t.b.td);return a},yf:function(){var a=this.parent();a.onmouseenter=null;a.onmouseleave=null;a.onclick=null;return a},Yc:function(){var a=this.d.results,c=[];c.push(new b.dK(this.d.searchDomain?this.d.searchDomain:\"the web\"));for(var e=0,i;i=a[e];e++){i.rank=\ne;i=new b.Ag(i);i.addRepeater(this);c.push(i)}return c}},\"WebSiteSearchResultSet\");b.$t.b.td={width:\"100%\",\"padding-left\":\"0\"};ia.w({ed:V});var xb=b.Ag=t(Ja,{lk:\"Open in new window\",Xc:function(){var a=this.parent();this.fb.appendChild(r(\":\"));return a},Yc:function(){var a=this.parent();this.Sz.remove();var c=this.Ek;c.i(b.Ag.b.yK);c.c.innerHTML=this.d.shortSnippet;this.Wq(c,b.Ag.b.uI);var e=new Date;if(this.d.date){var i=new Date(parseInt(this.d.date,10)*1E3-e.getTimezoneOffset()*60*1E3),m=\"\",q=\nxb.b.nC;e=e.getTime()-i.getTime();m=b.Ld.TG(i.getMonth())+\" \"+b.Ld.tH(i.getDate(),2)+\", \"+i.getFullYear()+\" ...\";if(e<864E5){if(e<36E5){i=Math.floor(e/1E3/60);m=\"\"+i+\" minute\"+(i>1?\"s\":\"\")+\" ago\"}else{i=Math.floor(e/1E3/60/60);m=\"\"+i+\" hour\"+(i>1?\"s\":\"\")+\" ago\"}q=xb.b.vI}dateSpan=new H({css:[q]},m);c.insertBefore(dateSpan,c.c.firstChild)}return a},ik:function(){return[b.h.b.Na.uC]},Gg:function(){var a=this.parent();a.Tk={sourceUrl:this.d.sourceUrl};a.xb=a.xb||{};a.xb.ug=b.Ag.Zy;return a},Hg:function(){this.d.previewUrl=\n\"http://cdn.apture.com/media/imgs/globe-color.png\";return new b.vl(this.d)}},\"WebSiteSearchResultItem\");b.Ag.Zy=function(a){window.open(a.mediaItem.sourceUrl)};b.Ag.b.uI={inherit:[b.b.f.sh,b.b.f.cc]};b.Ag.b.yK={inherit:[b.b.f.sh],\"margin-top\":\"5px\",\"margin-left\":\"4px\",display:\"inline\"};xb.b.nC={inherit:[b.h.b.l.K],\"font-size\":\"11px\",\"padding-right\":\"3px\"};xb.b.vI={inherit:[xb.b.nC],color:\"#A82400\",\"font-weight\":\"bold\"};V=b.ob=t(Ja,{lk:\"Open in new window\",init:function(a){a.previewUrl=\"http://cdn.apture.com/media/imgs/globe-ad.png\";\nthis.parent(a);this.i(b.ob.b.yg)},Xc:function(){var a=this.parent();window.setTimeout(this.bind(function(){this.notifyWithParams(174,{XG:1068,mc:{}})}),1);this.fb.i(b.ob.b.l.Fa);return a},GE:function(){return this.d.shortSnippet},Yc:function(){var a=this.parent();this.Sz.remove();this.Ek.i(b.ob.b.l.K);a.push(new s({css:[b.ob.b.l.Zt]},this.d.adDomain));a.push(new s({css:[b.ob.b.l.EK]},\"Sponsored\"));return a},ik:function(){return[b.h.b.Na.uC]},Gg:function(){var a=this.parent();a.Tk={sourceUrl:this.d.ka()};\na.xb=a.xb||{};a.xb.ug=b.ob.Zy;return a}},\"AdResultItem\");b.dC.w({ed:V});b.ob.Zy=function(a){window.open(a.mediaItem.ka())};b.ob.b.l={};b.ob.b.l.O={\"line-height\":\"15px\"};b.ob.b.l.K={inherit:[b.h.b.l.K,b.ob.b.l.O,b.b.f.ul]};b.ob.b.l.Fa={inherit:[b.b.f.Jq,b.ob.b.l.O],\"text-transform\":\"capitalize\"};b.ob.b.l.EK={inherit:[b.b.g.Oa,b.ob.b.l.K,b.b.f.Ut,b.b.f.vD],right:\"0\",top:parseInt(b.h.b.yg[\"padding-top\"],10)+\"px\",\"margin-right\":b.h.b.Na.Dt[\"margin-right\"]};b.ob.b.l.Zt={inherit:[b.ob.b.l.K,b.b.f.ul,b.ob.b.l.O],\ncolor:\"#0c850c\"};b.ob.b.yg={\"background-color\":\"#fafafa\",\"padding-bottom\":\"8px\"};b.nT=t(Ja,{sr:function(){return[new s({className:\"aptureTMMSurvey\"},new o(\"img\",{className:\"aptureTMMSurveyIcon\",src:\"http://cdn.apture.com/media/imgs/tmmsurveyicon.png\"}),new s({className:\"aptureTMMSurveyContent\"},\"What do you think of this search feature?\"),new s({className:\"aptureTMMSurveyContent\"},new Da({href:\"\",target:\"_blank\",className:\"aptureTMMSurveyLink\"},\"Please click for a short survey\")))]},Ok:function(){return-1}},\n\"PluginSurveyRequestItem\");b.NT=t(Ja,{sr:function(){return[new s({className:\"aptureTMMSurvey\"},new o(\"img\",{className:\"aptureTMMSurveyIcon\",src:\"http://cdn.apture.com/media/imgs/tmmsurveyicon.png\"}),new s({className:\"aptureTMMSurveyContent\"},\"What do you think of this search feature?\"),new s({className:\"aptureTMMSurveyContent\"},new Da({href:\"\",target:\"_blank\",className:\"aptureTMMSurveyLink\"},\"Please click for a short survey\")))]},Ok:function(){return-1}},\"SurveyRequestItem\");b.gD=t(ka,{init:function(a){this.W=\na;this.parent(a.rawItem);this.addClass(\"aptureRichThumb\");this.p.addRepeater(this)},xq:function(){if(this.W.WA()){var a=b.qp(this.W.WA());this.p.Rj(this.bind(this.cN));var c=a.splice(0,1)[0];a.push(this.mediaItem.Ob());this.p.ba(c,a)}else{this.WF();this.p.ba(this.mediaItem.Ob())}},WF:function(){this.resize(32,32);this.setStyle(\"border\",0)},cN:function(a,c){c==this.mediaItem.Ob()&&this.WF()},Xk:function(){var a=this;setTimeout(function(){if(a.p.c){a.p.setStyle(\"width\",\"\");a.p.setStyle(\"height\",\"\");\nvar c=a.p.c.width||a.p.getWidth(),e=a.p.c.height||a.p.getHeight(),i=a.getWidth(),m=a.getHeight();if(!(!c||!e||!i||!m)){if(e<=m){c=new ja(0,0,c,e);i=new ja(0,0,i,m);i=c.da(i);i.x=0}else if(c<=i){c=new ja(0,0,c,e);i=new ja(0,0,i,m);i=c.da(i);i.y=0}else{var q=Math.max(m/e,i/c);c=new ja(0,0,c*q,e*q);i=new ja(0,0,i,m);i=c.da(i);i=new ja(Math.floor(i.x),Math.floor(i.y),Math.ceil(i.width),Math.ceil(i.height))}a.p.c.style.position=\"absolute\";a.p.setRect(i)}}},1)}},\"RichItemThumbnail\");M=b.Nt=t(Ja,{hr:false,\ninit:function(a){this.W=a;this.parent(a.rawItem);this.ic&&this.ic.i(b.h.b.Ec.hC)},VG:function(a){this.Me&&this.Me.setVisible(!a);this.hr=a},uw:function(){return this.Me?this.Me:this.Me=new s({style:{display:this.hr?\"none\":\"\"}},new Da(this.IE(),this.rw(),this.JE()))},JE:function(){return this.d.title},vr:function(){return{name:this.W.prettySource,aB:this.W.iconPos?\"-\"+this.W.iconPos[0]*20+\"px \"+-this.W.iconPos[1]*20+\"px\":\"\"}},IE:function(){return{css:[b.Nt.b.Fa],href:this.d.ka(),onclick:this.bindWithEvent(this.Jf)}},\nKk:function(){return this.W}},\"RichItem\");b.Nt.b.Fa={inherit:[b.h.b.Fa,b.b.f.ul,b.b.g.Ya],display:\"block\"};V=b.Jd=t(M,{Dg:false,init:function(a){this.parent(a);this.Me.i(b.h.b.O)},yf:function(){var a=this.parent();a.className+=\" aptureTMMRichWikipediaArticleItem\";return a},Xc:function(){var a=this.parent();a.splice(0,0,this.uw());this.Wq(this.Ua,b.Jd.b.l.cc);return a},rw:function(){return new o(\"span\",{className:\"aptureTMMSourceInfo\",css:[b.Ve.b.nD]},new s({className:\"aptureTMMSourceIcon\",css:[b.Ve.b.Pq],\nstyle:{\"background-position\":this.vr().aB}}))},Yc:function(){var a=this.parent();this.fb.remove();this.Sz.i(b.Jd.b.l.Xt);this.Ek.i(b.Jd.b.l.K);this.Ek.c.innerHTML=this.d.shortSnippet||this.d.prettySource;this.Ek.appendChild(new Da({css:[b.Jd.b.l.Iq],style:{\"padding-left\":\"4px\"},innerHTML:\"Read more\"}));return a},Hg:function(){return new b.gD(this.W)}},\"RichWikipediaArticleItem\");p.ld(V);b.Jd.b.l={};b.Jd.b.l.K={inherit:[b.h.b.l.K],\"line-height\":\"150%\",display:\"inline\"};b.Jd.b.l.cc={inherit:[b.Jd.b.l.K,\nb.b.f.cc]};b.Jd.b.l.Iq={inherit:[b.Jd.b.l.K,b.b.f.Jq],\"text-decoration\":\"none\"};b.Jd.b.l.Xt={inherit:[b.b.f.pl]};ia=b.fD=t(M,{yf:function(){var a=this.parent();a.className+=\" aptureTMMRichGoogleMapItem\";return a},Xc:function(){var a=this.parent();b.remove(a,this.re);b.remove(a,this.Ig);return a},Yc:function(){this.ic=new b.gD(this.W);this.ic.i(b.fD.b.ef);return[this.ic]},Hg:function(){return null}},\"RichGoogleMapItem\");b.fD.b.ef={width:\"334px\",height:\"80px\"};M=b.$e=t(M,{hO:4,lk:\"\",init:function(a){this.parent(a);\nthis.i(b.$e.b.yg)},yf:function(){var a=this.parent();a.onclick=null;a.onmouseenter=null;a.onmouseleave=null;return a},Xc:function(){var a=this.parent();b.remove(a,this.re);b.remove(a,this.Ig);var c=this.rw();c.i(b.$e.b.BK);this.Ua.appendChild(c);var e;c=0;for(var i;(i=this.W.photos[c])&&c35?this.d.sourceUrl.substr(0,33)+\"...\":this.d.sourceUrl);\na.push(c);return a},ik:function(){return[b.h.b.Na.$C]},Gg:function(){var a=this.parent();a.mc=a.mc||{};a.mc.quickPreviewed=true;a.xb=a.xb||{};a.xb.ug=b.yl.wO;return a},Hg:function(){var a=new b.ml({previewUrl:\"http://cdn.apture.com/media/imgs/globe-gray.png\"});return new b.oD(a)}},\"WebSearchResultRow\");b.yl.b.Zt={inherit:[b.h.b.l.K,b.b.f.pl],\"font-size\":parseInt(b.b.f.K[\"font-size\"],10)-1+\"px\",\"margin-top\":\"2px\"};b.yl.wO=function(a){return b.OR(a.mediaItem)};p=b.bf=t(Y,{nP:null,km:null,init:function(a){this.nP=\n[];this.parent(a);this.addClass(\"aptureRichWebSearchResultView\")},Qv:function(a){a.mc=a.mc||{};a.lc=this.Rg.lc},Xc:function(){var a=this.parent();b.remove(a,this.re);b.remove(a,this.Ig);this.Ua.removeChildren();this.Ua.appendChildren(this.k=new fc(\"Results from:\"));this.k.appendChild(this.es=new s({css:[b.bf.b.bK]}));return a},FE:function(a){return a==\"Google\"?1:2},UM:function(a){b.kq(\"lastUsedSearchProvider\",this.FE(a.xj.Kk().rawItem.searchDomain));this.ns(a)},sF:function(a,c){a.hide();var e=a.Kk(),\ni=e.rawItem.searchDomain;e=new H({css:[b.bf.b.aK]},new xa({src:e.rawItem.faviconUrl,css:[b.bf.b.Pq]}),i);var m={xj:a,XB:e};e.addEvent(\"click\",this.bind(this.UM,[m]));this.parent(a,c);i==\"Google\"&&this.es.c.firstChild?this.es.insertBefore(e,this.es.c.firstChild):this.es.appendChild(e);if(b.prefs.lastUsedSearchProvider&&b.prefs.lastUsedSearchProvider==this.FE(i)){this.vO=true;this.ns(m)}else!this.vO&&i==\"Google\"&&this.ns(m);this.km||this.ns(m)},iG:n,ns:function(a){if(this.km){this.km.xj.hide();this.km.XB.la(b.bf.b.cC)}a.XB.i(b.bf.b.cC);\na.xj.show();this.km=a}},\"RichWebSearchResultView\");b.bf.b.bK={\"padding-left\":0,\"float\":\"left\"};b.bf.b.aK={inherit:[b.Ze.b.Fa,b.b.f.cc],display:\"inline-block\",height:\"17px\",\"margin-top\":\"1px\",\"line-height\":\"0\",\"border-left\":\"1px solid transparent\",\"border-top\":\"1px solid transparent\",\"border-right\":\"1px solid transparent\",\"padding-left\":\"5px\",\"padding-right\":\"6px\",\"padding-top\":\"2px\",\"padding-bottom\":\"4px\"};b.bf.b.cC={\"border-left\":\"1px solid #a8a8a8\",\"border-top\":\"1px solid #a8a8a8\",\"border-right\":\"1px solid #a8a8a8\",\n\"background-color\":\"#fff\"};b.bf.b.Pq={\"vertical-align\":\"text-bottom\",\"margin-right\":\"4px\",height:\"16px\",width:\"16px\"};ka=b.xT=t(zb,{xs:null,zs:function(a){this.parent(a);a.WR(this);return false},gH:function(){return null},WA:function(){return[this.gH()]},Z:function(){return this.xs?b.Z(this.xs,this.XP||this.xs,this):null}},\"RichItemWrapper\");b.ET=t(ka,{ed:V,WA:function(){return this.posterImage?this.posterImage:null}},\"RichWikipediaArticle\");b.vT=t(ka,{ed:ia,gH:function(){return this.previewUrl}},\n\"RichGoogleMap\");b.wT=t(ka,{ed:M,xs:\"RichMediaImageListViewer\",XP:\"RichMediaListViewer\",N:[\"RichMediaImageListViewer\",\"RichMediaListViewer\"],AV:true},\"RichImagesList\");b.BT=t(ka,{ed:v},\"RichWebResultItem\");V=b.AT=t(zb,{ed:Y,Rl:null,init:function(){this.Rl=[]},eN:function(a){b.remove(this.Rl,a.result)&&this.notify(\"updatedItems\",{EB:a.result})},zs:function(a){this.parent(a);a.XR(this);return true},rH:function(a){this.Rl.push(a);a.addListener(250,{fn:this.eN,obj:this});this.notify(\"updatedItems\")},\njV:function(){return this.Rl}},\"RichResult\");b.FT=F(V,\"RichWikipediaResult\");(b.CT=t(V,{},\"RichWebSearchResult\")).prototype.ed=p;b.SS=t(ca,{ed:K},\"AbbreviationsDefinition\");b.HT=t(b.ml,{ed:b.J},\"SearchFeedbackMediaItem\");var pb=b.dc=t(R,{bm:0,hE:\"\",jv:false,Hc:null,Dx:false,jx:false,Zx:0,Sr:null,no:null,he:\"\",vo:null,fd:null,Go:null,xd:null,jp:true,gE:0,ez:[\"s4.apture.com\",\"s5.apture.com\",\"s6.apture.com\"],init:function(){this.hE=b.visitId+\"\"+pb.$d++},del:function(){this.cancel();this.parent();this.vo=\nthis.he=this.no=this.Go=this.fd=null},QD:function(){this.Ak&&this.Ak.cancel()},cM:function(){this.Hc=(new Date).getTime();this.Bx();this.jx=true;this.notifyWithParams(193,{results:this.fd,fq:this})},mw:function(){this.gE++;return\"http://\"+this.ez[this.gE%=this.ez.length]},$E:function(a,c){c=c.data;var e=c.r,i=c.m,m=c.e;if(this.Iu){window.clearTimeout(this.Iu);this.Iu=null}if(m==b.dc.Bq.nK||m==b.dc.Bq.QI)this.Vr();else if(a==this.bm){this.Ak=null;m=this.LM();var q=0;for(var z in e){var O=e[z].results;\nq+=O.length;for(var fa=0,aa;aa=O[fa];fa++){this.no.push(aa.hash);bc.Re(aa);aa instanceof zb||cc.Re(aa);aa.zs(m)||(aa=null);if(!aa){O.splice(fa,1);fa--}}}this.vo.push([(new Date).getTime()-this.xd,q]);this.notifyWithParams(192,{Yg:e,fq:this});i&&this.Zx<50?this.GF():this.cM()}},LM:function(){return this.Go?this.Go:this.Go=new dc},Bx:function(a){if(!this.Dx&&this.jp){this.Dx=true;b.ea.S(1119,{queryTime:this.Hc-this.xd,requestStats:b.eh(this.vo),canceled:a,query:this.he,searchId:this.Eg,fallbackSearch:this.jv})}},\nGF:function(){this.QD();var a={query:this.he,siteId:b.siteId,siteToken:b.siteToken,pageId:b.page?b.page.id:null,openType:this.Sr,visitId:b.visitId,searchId:this.Eg};this.Zx++;if(this.no.length>0)a.items=this.no.join(\",\");this.Ak=this.CE(a);this.Ak.addListener(350,{fn:this.bind(this.$E,[this.bm])});this.Ak.send()},CE:function(a){return new b.Lq({url:this.mw(),params:a})},Vr:function(){if(this.kB())this.addListener(195,{fn:this.Vr,obj:this,once:true});else{this.jv=true;this.Ak.cancel();this.bm++;var a=\nnew Db;a.addListener(380,{fn:this.WM,obj:this});a.search(this.he)}},WM:function(a){this.$E(this.bm,{data:a.zH})},cancel:function(){this.QD();this.Hc=(new Date).getTime();this.Bx(true)},rV:function(){return this.Sr},hR:function(){return this.fd},sV:function(){return this.he},lV:function(){return this.Eg},zV:function(){return this.jx},kB:function(){return!this.jp},qH:function(){this.vo.push([(new Date).getTime()-this.xd,\"click\"]);b.ea.S(1061,{query:this.he,openType:this.Sr,hideBar:b.prefs.hideBar,searchId:this.Eg,\nactivationMode:this.cu,searchInstanceId:this.hE,abTestLinkStylesSide:b.B.Q.Qc.Da?b.B.Q.Qc.nc:null,abTestLinkCountStyleSide:b.B.Q.Kd.Da?b.B.Q.Kd.nc:null,abTestLinkCursorStyleSide:b.B.Q.cf.Da?b.B.Q.cf.nc:null})},uH:function(a,c){this.jp=false;this.search(a,c);this.notifyWithParams(194)},vH:function(){this.jp=true;this.qH();this.notifyWithParams(195);this.jx&&this.Bx()},search:function(a,c){this.he=a;this.Sr=c.Nj;this.cu=b.D(c.ZU,b.dc.dl.wI);this.jv=false;this.bm++;this.Zx=0;this.no=[];this.vo=[];this.fd=\n[];this.Go=null;this.xd=(new Date).getTime();this.Hc=null;this.Dx=false;this.Eg=b.visitId+\"\"+pb.$d++;this.removeListener({msg:195,fn:this.Vr,obj:this});this.notifyWithParams(190,{fq:this,jS:this.Eg});this.GF();this.Iu=window.setTimeout(this.bind(this.Vr),pb.sL);this.jp&&this.qH()},EH:function(a){this.cu=a||this.cu}},\"Search\");b.dc.sL=5E3;b.dc.$d=0;b.dc.Bq={};b.dc.Bq.nK=1;b.dc.Bq.QI=2;b.dc.dl={};b.dc.dl.WC=\"pop\";b.dc.dl.wI=\"click\";b.tK=t(b.dc,{ez:[\"s1.apture.com\",\"s2.apture.com\",\"s3.apture.com\"],dG:\"/tmm/siteSearch\",\nmw:function(){var a=this.parent();a+=this.dG;return a},CE:function(a){return new Ga({url:this.mw(),params:a,MG:false})}},\"SiteSearch\");b.UK=t(b.dc,{dG:\"\"},\"TopicSearch\");var ab=b.aJ=t(R,{ja:null,init:function(){this.ja=b.Bs(ab.qI)},NE:function(a){var c=a.responseData.results;if(a.responseStatus==200){a=[];for(var e=0,i;(i=c[e])&&a.length1?\"this site's network\":this.Az[0],results:a,rank:0,sourceIndex:-1,faviconUrl:\"http://cdn.apture.com/media/imgs/site_search_icon.png\",main:[],hash:Math.random(),canonical:false})],fq:this})}},search:function(a){this.Az=b.siteSearchUrls||[document.location.origin];\nfor(var c=[],e=0,i;i=this.Az[e];e++)c.push(\"site:\"+i);a=c.join(\" OR \")+\" \"+a;this.parent(a)}},\"GoogleSiteSearchProvider\");b.oK=t(R,{kb:null,init:function(a){a.addListener(192,{fn:this.NN,obj:this});a.addListener(193,{fn:this.Rm,obj:this});a.addRepeater(this);this.reset()},GL:function(a,c){var e=this.kb[a];if(!e){for(e=a;e>=0;e--)this.kb[e]||this.notify(200,{Oe:this.kb[e]=new ib(e,c.displayPosition)});e=this.kb[a]}e.nS(c.displayPosition);e.iQ(c.results);c.moreComing==false&&e.LQ();return e},Rm:function(){this.notify(201)},\nNN:function(a){for(var c in a.Yg)this.GL(parseInt(c,10),a.Yg[c])},iV:function(){return this.kb},reset:function(){this.kb=[]}},\"SearchResults\");var ib=b.sT=t(R,{sE:false,fd:null,qf:0,init:function(a,c){this.fd=[];this.$d=a;this.qf=c},HN:function(a){b.remove(this.fd,a.result);this.notify(214,{result:a.result})},hQ:function(a){if(a.VH){for(var c=a.rank,e=this.fd[c];c>0&&(!e||a.rank=e.rank){c++;break}}this.fd.splice(c,0,a);a.addListener(250,{fn:this.HN,obj:this});\na.lc=this.$d;this.notify(212,{result:a,position:a.rank})}},iQ:function(a){for(var c=0,e;e=a[c];c++)this.hQ(e);this.notify(210)},LQ:function(){if(!this.sE){this.sE=true;this.notify(211,{results:this.fd,Oe:this})}},nV:function(){return this.qf},qV:function(){return this.$d},hR:function(){return this.fd},nS:function(a){if(this.qf!=a){this.qf=a;this.notify(213,{position:a})}}},\"ResultBucket\");ib.extend({Yg:{TS:0,CC:1,wD:2,oL:3}});var Eb=b.tT=t(s,{fP:null,Ie:null,init:function(a){this.parent();this.fP=\na;this.Ie=[];a.addListener(212,{fn:this.SM,obj:this});a.addListener(214,{fn:this.TM,obj:this});a&&this.AO(a)},DD:function(a){var c=a.eH();this.notify(230,{Vs:c});c.addRepeater(this);for(var e=a.rank,i=this.Ie[e];e>0&&(!i||a.rank=i.Ok()){e++;break}}this.Ie.splice(e,0,c);(a=this.Ie[e+1])?this.insertBefore(c,a):this.appendChild(c)},SM:function(a){this.DD(a.result)},TM:function(a){for(var c=0,e;e=this.Ie[c];c++)if(e.Kk()===a.result){e.remove();e.removeRepeater(this);\nthis.Ie.splice(c,1);break}},AO:function(a){a=a.fd;for(var c=0,e;e=a[c];c++)this.DD(e)}},\"ResultBucketView\"),gc=b.eU=t(Eb,{YL:\"aptureTMMCollapseBucketView\",init:function(a){this.parent.apply(this,arguments);a.addListener(211,{fn:this.Aw,obj:this});this.addListener(230,{fn:this.Kw,obj:this})},Aw:function(){this.Ie[0]&&this.Ie[0].collapse&&this.Ie[0].collapse(false)},Kw:function(a){a.Vs.collapse&&a.Vs.collapse(true)}},\"WikipediaResultBucketView\"),Fb=b.uT=t(s,{kb:null,nn:null,or:null,init:function(a){this.gA=\na.WH||false;this.Lu=a.sQ||false;this.RL=a.tQ||this.QL;this.kb=[];this.or=this.nn=0;this.parent({className:\"aptureResultsContainer\"},this.ma=new s)},CD:function(a){for(var c=a.Oe.qf,e=c,i,m,q;!i;){if(e<0){i=this.kb[0];q=0;break}else if(m=this.kb[e])if(m.Oe.qf<=c){i=this.kb[e+1];q=e+1;break}e--}i?this.ma.insertBefore(a.tp,i.tp):this.ma.appendChild(a.tp);this.kb.splice(q,0,a)},QL:function(a){return new Eb(a)},RM:function(a){for(var c=0,e;e=this.kb[c];c++)if(e===a){this.kb.splice(c,1);a.tp.remove();this.CD(a);\nbreak}},Aw:function(a){this.nn+=a.results.length;this.notify(220,{count:this.nn,fV:this.or})},vN:function(a){var c=false;if(this.gA){if(b.indexOf(this.gA,a.Oe.$d)>-1)c=true}else if(this.Lu)b.indexOf(this.Lu,a.Oe.$d)>-1||(c=true);else c=true;if(c){c=this.RL(a.Oe);var e={Oe:a.Oe,tp:c};this.CD(e);a.Oe.addListener(211,{fn:this.Aw,obj:this});a.Oe.addListener(213,{fn:this.bind(this.RM,[e])});c.addListener(230,{fn:this.Kw,obj:this});c.addRepeater(this);this.notify(221,{tp:c})}},Kw:function(a){this.or+=a.Vs.KA()},\nON:function(){this.nn==0&&this.ma.appendChild(new s({className:\"aptureTMMLoading\"},\"No results found.\"))},clear:function(){this.kb=[];this.or=this.nn=0;this.ma.removeChildren()},OV:function(a,c){this.gA=a;this.Lu=c},lq:function(a){a.addListener(200,{fn:this.vN,obj:this});a.addListener(201,{fn:this.ON,obj:this})}},\"ResultList\"),Db=b.ut=t(R,{kb:null,fz:{\"7\":b.bJ,\"8\":b.aJ},init:function(){this.kb={}},search:function(a){if(Db.Ht.test(a))this.notifyWithParams(380,{zH:this.dE()});else for(var c in this.fz){var e=\nnew this.fz[c];(new hc({id:c,provider:e,FQ:parseInt(c,10)+1})).addListener(381,{fn:this.VM,obj:this});e.search(a)}},VM:function(a){this.kb[a.lc]=a.data;for(var c in this.fz)if(!this.kb[c])return;this.notifyWithParams(380,{zH:this.dE()})},dE:function(){return{m:false,r:this.kb}}},\"DirectSearch\");Db.Ht=/a^/;var hc=b.$S=t(R,{qf:null,$d:null,Iy:null,init:function(a){this.$d=a.id;this.qf=a.FQ;this.Iy=a.provider;this.Iy.addListener(193,{fn:this.Rm,obj:this})},Rm:function(a){this.notifyWithParams(381,{data:{moreComing:false,\ndisplayPosition:this.qf,results:a.results},provider:this.Iy,lc:this.$d})}},\"DirectSearchBucket\");b.sd=t(s,{UL:\"aptureResultsContainer\",am:\"\",Je:null,Do:null,$y:0,Sb:null,Tb:null,init:function(a){a=a||{};$parentElem=a.IV;this.pE=b.D(a.gt,true);this.uq={};(this.CU=$parentElem)&&$parentElem.addEvent(270,this.bind(this.zN));this.Do={};this.addListener(171,{fn:this.KN,obj:this});this.parent({className:this.UL,css:[b.sd.b.ib]},this.Pk())},fM:function(){if(!this.pE)return null;this.Sb=new b.df({zQ:this,\ngt:[{ze:1,title:\"Explore\"},{ze:2,title:\"Videos\"},{ze:3,title:\"Images\"}]});this.Sb.addListener(340,{fn:this.bF,obj:this});this.Sb.i(b.sd.b.df);return this.Sb},rU:function(a,c){var e={XG:a,mc:{pageId:b.page?b.page.id:null,linkClass:\"ImageSlideshow\",query:this.am,openedFromTab:3}};if(c)e.mc.duration=c;return e},sU:function(){this.du.hide();this.Co();b.ea.S(1123,{query:this.am,searchId:this.lP})},RV:function(a){if(a)this.Hz={innerHeight:a.height,innerWidth:a.width};this.Co()},zN:function(a){if(a)this.Hz=\na;this.Co()},LV:function(){this.Co()},IN:function(a,c){this.notify(220,c)},KN:function(a){a.mc=a.mc||{};if(this.Sb)a.mc.openedFromTab=this.Sb.Bk;this.$y++},Lw:function(a){this.am=a.fq.he;this.lP=a.jS;this.notifyWithParams(403,{title:this.am})},bF:function(a){var c=a.ze;a=a.SR;var e=this.Je[c];this.Do[a]={x:this.Tb.getScrollLeft(),y:this.Tb.L()};this.Tb.removeChildren();this.Tb.appendChild(e);this.Do[c]?this.Tb.scrollTo(this.Do[c].x,this.Do[c].y):this.Tb.scrollTo(0,0);this.notify(260,{XB:c,CV:a});\nthis.uq[c]||(this.uq[c]=0);this.uq[c]++},vU:function(){this.notify(300)},HU:function(){this.xU=(new Date).getTime()},Co:function(){if(this.Hz&&this.Tb)this.Tb.setHeight(this.Hz.innerHeight-(this.Sb?this.Sb.getHeight()-parseInt(this.Sb.getStyle(\"padding-top\"),10)-parseInt(this.Sb.getStyle(\"padding-bottom\"),10):0))},gP:function(a){if(a.$d==ib.Yg.oL)return new gc(a);return new Eb(a)},clear:function(){this.Je[1].clear();this.Je[2].clear();this.Je[3].clear();this.$y=0},tV:function(){return this.$y},getScrollLeft:function(){return this.Tb.getScrollLeft()},\nL:function(){return this.Tb.L()},vV:function(){return this.uq},Yb:function(){return this.am||\"\"},Pk:function(){this.Je={1:new Fb({sQ:[ib.Yg.CC,ib.Yg.wD],tQ:this.gP}),2:new Fb({WH:[ib.Yg.wD]}),3:new Fb({WH:[ib.Yg.CC]})};for(var a in this.Je){var c=this.Je[a];c.addRepeater(this);c.addListener(220,{fn:this.bind(this.IN,[a])})}this.Tb=new s({css:[b.sd.b.KK]});this.pE||this.Tb.i(b.sd.b.LK);this.Tb.blockParentMouseScroll(true);this.Tb.addEvent(\"mousewheel\",this.Wo);(this.Sb=this.fM())?this.Sb.DH(1):this.bF({ze:1});\nreturn[this.Sb,this.Tb,this.du]},scrollTo:function(a,c){this.setScrollLeft(a);this.mh(c)},setScrollLeft:function(a){this.Tb.setScrollLeft(a)},mh:function(a){this.Tb.mh(a)},Wo:function(a){a.stopPropagation()},reset:function(){this.clear();this.Sb&&this.Sb.DH(1);this.du&&this.du.hide();this.Co()},lq:function(a){a.addListener(190,{fn:this.Lw,obj:this});this.Je[1].lq(a);this.Je[2].lq(a);this.Je[3].lq(a)}},\"ResultView\");b.sd.b={};b.sd.b.ib={\"background-color\":\"#fff\",overflow:\"visible\"};b.sd.b.KK={inherit:[b.b.g.Oa],\n\"overflow-y\":\"auto\",\"overflow-x\":\"hidden\",clear:\"both\",width:\"100%\",top:\"21px\",bottom:0};b.sd.b.LK={top:\"0\"};b.sd.b.df={\"margin-top\":\"-2px\",\"margin-left\":\"-1px\",\"margin-right\":\"-1px\"};b.tD=t(s,{be:null,yx:null,yy:0,Ez:0,init:function(a){var c=\"\";this.lj=b.D(a.style,1);switch(this.lj){case 1:c=\"aptureTMMLoaderSmallBlack\";this.Ez=176;break;case 2:c=\"aptureTMMLoaderSmallWhite\"}this.yy=a.gU||0;this.parent({className:\"aptureTMMLoader\"},this.yx=new s({className:\"aptureTMMLoaderSmall \"+c}),b.D(a.text,\"Searching...\"))},\ndel:function(){this.stop();this.parent()},mO:function(){this.fE+=1;this.yx.c.style.backgroundPosition=-1*(this.Ez+this.fE%11*16)+\"px \"+this.yy},hide:function(){this.stop();this.parent()},show:function(){this.parent();this.CS()},CS:function(){if(this.be===null){this.fE=0;this.yx.c.style.backgroundPosition=-1*this.Ez+\"px \"+this.yy;this.be=window.setInterval(this.bind(this.mO),100)}},stop:function(){if(this.be!==null){window.clearInterval(this.be);this.be=null}}},\"UILoadIndicator\");var Mb=b.kT=t(s,{ZL:0,\ninit:function(a){this.Gc=a;this.parent({className:\"aptureNotificationOverlay\"},[this.pb=new s({className:\"aptureNotificationClose\",onclick:{fn:this.Bw,obj:this,once:true}}),this.ev=new s({style:{overflow:\"hidden\"}},this.va=new s({className:\"aptureNotificationContent\"}))]);a.appendChild(this)},del:function(){this.ev.removeChildren(true);this.removeChildren(true);this.remove(false);this.pb=this.ev=this.va=null;this.parent()},NM:function(){this.notifyWithParams(320);this.del()},Bw:function(){var a=this.ev.getAnimation();\na.M=this.bind(this.NM);a.start({height:this.ZL,opacity:0})},GH:function(a){this.va.removeChildren();this.va.appendChild(a)}},\"NotificationOverlay\");F=b.Ue=t(o,{gc:\"div\",init:function(a){a=a||{};a.onclick={fn:this.jk,obj:this};a.onmouseover={fn:this.Jg,obj:this};a.onmouseout={fn:this.Af,obj:this};a.onmousedown={fn:this.Jc,obj:this};this.parent(this.gc,a);this.Af()},jk:function(){this.notifyWithParams(340)},Jc:function(){this.setOpacity(0.5)},Af:function(){this.setOpacity(0.75)},Jg:function(){this.setOpacity(1)}},\n\"Button\");var za=b.CI=t(F,{init:function(a){var c=[za.b.Ue];switch(b.D(a.style,za.F.Za.cL)){case za.F.Za.el:c.push(za.b.qh);break;case za.F.Za.ll:c.push(za.b.pJ);break;case za.F.Za.Qq:c.push(za.b.zg)}this.parent({css:c,title:\"Click to close\"})}},\"CloseButton\");za.F={};za.F.Za={};za.F.Za.cL=1;za.F.Za.el=2;za.F.Za.ll=3;za.F.Za.Qq=4;za.b={};za.b.Ue={width:\"16px\",height:\"16px\",cursor:\"pointer\",\"background-image\":\"url(http://cdn.apture.com/media/imgs/fullscreen_close.png?v2)\",\"background-repeat\":\"no-repeat\"};\nza.b.qh={\"background-position\":\"-18px 0\"};za.b.pJ={width:\"32px\",height:\"32px\",\"background-image\":\"url(http://cdn.apture.com/media/imgs/quick_preview.png?v1)\",\"background-repeat\":\"no-repeat\",\"background-position\":\"-32px 0\"};za.b.zg={\"background-image\":\"url(http://cdn.apture.com/media/imgs/apture-nse-sprite.png?v1)\",\"background-position\":\"6px -192px\",height:\"100%\",width:\"24px\",position:\"absolute\",right:\"4px\"};var Cb=b.Ye=t(F,{gc:\"a\",init:function(a){a=a||{};this.parent({css:[b.D(a.style,b.Ye.Dd.Vt.ll)==\nb.Ye.Dd.Vt.ll?Cb.b.Ue:b.Ye.b.zg],href:a.url,target:\"_blank\",title:\"Open in new window\"})},jk:function(){this.notifyWithParams(340,{url:this.c.href})},kh:function(a){this.c.href=a}},\"OpenExternalButton\");b.Ye.Dd={};b.Ye.Dd.Vt={ll:\"1\",Qq:\"2\"};b.Ye.b={};b.Ye.b.Ue={width:\"32px\",height:\"32px\",cursor:\"pointer\",\"background-image\":\"url(http://cdn.apture.com/media/imgs/quick_preview.png?v1)\",\"background-repeat\":\"no-repeat\"};b.Ye.b.zg={\"background-image\":\"url(http://cdn.apture.com/media/imgs/apture-nse-sprite.png?v1)\",\n\"background-position\":\"6px -232px\",\"background-repeat\":\"no-repeat\",height:\"100%\",width:\"24px\",position:\"absolute\",right:\"29px\"};var Gb=b.uh=t(s,{Eh:null,ki:null,sa:null,Uf:null,Xo:null,init:function(){this.sa=[];this.Xo=new b.I({css:[b.uh.b.GK]});this.parent({css:[Gb.b.ib]})},del:function(){this.qm();for(var a=0,c=this.sa.length;a0){var m=a;if(a.up&&!a.up()){this.Uf=a;m=this.Xo}this.appendChild(m);m.i(Gb.b.eJ);var q=k(this.c.firstChild);this.ki=new b.nl({duration:350,La:d.zc});this.ki.M=this.bind(this.FN,[e]);this.ki.start([[m,\n{left:[\"100%\",\"0%\"],right:[\"-100%\",\"0%\"]}],[q,{left:[\"0%\",\"-100%\"],right:[\"0%\",\"100%\"]}]])}else this.appendChild(a);this.notifyWithParams(410,{element:a,position:this.sa.length-1,params:i.params,ZG:e.params})},bS:function(a,c){this.qm();var e=this.sa.pop().element,i=this.TF(a,c);this.appendChild(a);e.del();this.notifyWithParams(410,{element:a,position:this.sa.length-1,params:i.params})},setWidth:function(a){var c=this.sa.length>0?this.sa[this.sa.length-1].element:null;if(c)if(b.$j&&c instanceof b.$j||\nb.jl&&c instanceof b.jl||b.kl&&c instanceof b.kl)c.setWidth(a)},setHeight:function(a){this.parent(a);var c=this.sa.length>0?this.sa[this.sa.length-1].element:null;if(c)if(b.$j&&c instanceof b.$j||b.jl&&c instanceof b.jl||b.kl&&c instanceof b.kl)c.setHeight(a)}},\"NavigationController\");b.uh.b.ib={height:\"100%\",overflow:\"hidden\",position:\"relative\"};b.uh.b.YC={position:\"absolute\",left:\"0\",right:\"0\",top:\"0\",bottom:\"0\",height:\"\",width:\"\",overflow:\"auto\"};b.uh.b.GK={inherit:[b.uh.b.YC],\"background-color\":\"#000\"};\nb.uh.b.eJ={left:\"100%\"};b.Ee=t(H,{zu:null,Uh:null,Ww:null,Kg:null,init:function(a){this.Uh=a.content;this.parent({css:[b.Ee.b.ib]},this.Ww=new H({css:[b.Ee.b.fJ]}));this.Uh.c.parentNode.replaceChild(this.c,this.Uh.c);this.Uh.i(b.Ee.b.ib);this.appendChild(this.Uh);this.Kg=this.Ww.getAnimation();this.Kg.duration=b.Ee.Dd.XH;b.Vb.addListener(360,{fn:this.del,obj:this})},del:function(){this.zu.removeListener({msg:252,fn:this.KD,obj:this,once:true});this.Kg.stop();b.removeListener({msg:290,fn:this.del,\nobj:this});b.Vb.removeListener({msg:360,fn:this.del,obj:this});for(var a=this.c.parentNode,c=this.Uh.c,e;e=c.firstChild;)a.insertBefore(e,this.c);this.Kg=this.Ww=this.Uh=this.zu=null;this.removeChildren(true);this.remove(false);this.parent()},KD:function(){b.addListener(290,{fn:this.del,obj:this});this.Kg.start({width:[\"0%\",\"100%\"]});this.Kg.M=this.bind(this.JL)},JL:function(){this.Kg.start({opacity:0});this.Kg.M=this.bind(this.del)},$N:function(a){b.Vb.removeListener({msg:360,fn:this.del,obj:this});\na.Ja.addListener(252,{fn:this.KD,obj:this,once:true})},oQ:function(a){this.zu=a;a.addListener(441,{fn:this.$N,obj:this,once:true})}},\"RememberHighlight\");b.Ee.Dd={};b.Ee.Dd.XH=300;b.Ee.b={};b.Ee.b.ib={inherit:[b.b.g.rd,b.b.g.Ya],\"background-color\":\"transparent\",\"background-image\":\"none\",border:\"0\",display:\"inline\",padding:\"0\",color:\"inherit\",\"font-family\":\"inherit\",\"font-size\":\"inherit\",\"font-style\":\"inherit\",\"font-variant\":\"inherit\",\"font-weight\":\"inherit\",\"letter-spacing\":\"inherit\",\"line-height\":\"inherit\",\n\"text-transform\":\"inherit\",\"text-decoration\":\"inherit\",\"word-spacing\":\"inherit\",\"white-space\":\"inherit\"};b.Ee.b.fJ={inherit:[b.b.g.rd],\"background-color\":\"Highlight\",\"background-image\":\"none\",display:\"inline-block\",border:\"0\",padding:\"0\",position:\"absolute\",left:\"0\",top:\"0\",width:\"0%\",height:\"100%\"};b.df=t(b.I,{aE:null,Zo:null,Bk:null,init:function(a){this.Zo={};this.aE=a.zQ;this.parent({css:[b.df.b.ib]});this.addListener(340,{fn:this.TN,obj:this});for(var c=0,e=a.gt.length;c0);var c=this.hv,e=a.params.mediaItem;if(this.$l=e){var i=this.Yy[this.$l._class];c=i?i:c;i=e.ga();var m=this.aj,q=e.Uk();m.minWidth=q.width;m.minHeight=q.height;m.setVisible(e.yd());m.JH(e.ZA());if(c.widthb.Dc.Dd.vC&&\ntypeof this.c.style.WV==\"undefined\")a=a.substring(0,b.Dc.Dd.vC)+\"\\u2026\";this.fb.removeChildren(true);this.fb.appendChild(b.ht(a))}},AS:function(){this.Kr.show()}},\"NavigationTitlebar\");b.Dc.Dd={};b.Dc.Dd.vC=20;b.Dc.b={};b.Dc.b.yJ={inherit:[b.b.g.Oa],\"margin-left\":\"8px\",\"margin-top\":\"6px\"};b.Dc.b.TK={inherit:[b.b.g.Ya],gradient:{backgroundColor:\"#bbb\",Uj:\"#ddd\",zj:\"#bbb\"},round:{ac:b.Md.b.pd.round.ac,bc:b.Md.b.pd.round.bc},\"border-top\":\"1px solid #fff\",height:\"29px\"};b.Dc.b.Fa={inherit:[b.b.f.rh,\nb.b.f.We],cursor:\"default\",overflow:\"hidden\",padding:\"0 70px\",\"text-align\":\"center\",\"text-overflow\":\"ellipsis\",\"white-space\":\"nowrap\"};b.Dc.b.bu={inherit:[b.b.g.Oa,b.b.g.Dq],top:0,left:0};F=b.tl=t(b.V,{nr:true,Eo:null,init:function(a){this.nr=b.D(a.HQ,true);this.kG(b.D(a.search,new pb));var c=this.Eo=this.EE();c.setIgnoreSelection(true);this.eG=new b.oK(this.ta);c.lq(this.eG);a.BH=c;this.parent(a);this.nr||this.k.mq(false);this.k.addListener(430,{fn:this.ZN,obj:this});this.kE();this.Eo.addListener(174,\n{fn:this.GN,obj:this})},VD:function(){var a=this.parent();a.tabUsage=this.Eo.uq;return a},kE:function(){if(b.Ns()&&!b.prefs.hasSeenNewUserNotification){this.Og=new Mb(this.va);this.Og.setIgnoreSelection(true);this.Og.i({round:{kc:b.Md.b.pd.round.kc,jc:b.Md.b.pd.round.jc}});this.Og.GH(new s(new H(\"This is Apture Highlights, a cool new way to learn more without leaving the page. \"),new H({className:\"aptureBold\"},\"Just highlight anything on the page you want to search \"),new H(\"and voila!\")));b.kq(\"hasSeenNewUserNotification\",\n1)}},DE:function(a){a=this.parent(a);a.query=this.ta.he;a.searchId=this.ta.Eg;return a},EE:function(){return new b.sd({showAds:false})},QE:function(a){a.Gs=a.Gs||{};a.Gs.query=this.ta.he;a.Gs.searchId=this.ta.Eg;this.parent(a)},GN:function(a){a.mc.searchId=this.ta.Eg;a.mc.query=this.ta.he;b.ea.S(a.XG,a.mc)},WE:function(a){var c=a.element instanceof b.sd;this.nr&&this.k.mq(c);this.parent(a);if(c){this.k.ye(a.element.Yb());this.aj.setVisible(false);this.IH(b.V.Zj.width);this.JB(b.V.Zj.height);this.sb.i(b.tl.b.st)}else this.sb.la(b.tl.b.st)},\nZN:function(a){if(this.ta){this.ta.cancel();this.eG.reset()}else this.kG(new b.dc);this.Eo.clear();this.ta.search(a.term,{Nj:9})},Rm:function(){this.k.kH()},Lw:function(){this.k.AS()},aF:function(a){this.k.ye(a.title);a.Ja.removeListener({msg:403,fn:this.aF,obj:this})},XF:function(a){this.nr&&this.k.mq(true);a.addListener(403,{fn:this.aF,obj:this});a.setStyle(\"overflow\",\"visible\");this.sb.push(a)},kG:function(a){this.ta=a;this.ta.addListener(190,{fn:this.Lw,obj:this});this.ta.addListener(193,{fn:this.Rm,\nobj:this})}},\"SearchTooltip\");b.tl.b.st={overflow:\"visible\"};b.vK=t(F,{init:function(a){this.parent(a);this.Eo.Sb=null},EE:function(){return new b.sd({showAds:false,gt:false})}},\"SiteSearchTooltip\");b.AK=t(b.tl,{kE:function(){if(!b.prefs.hasSeenFirstTimeSocialLinkNotice){this.Og=new Mb(this.va);this.Og.setIgnoreSelection(true);this.Og.i({round:{kc:b.Md.b.pd.round.kc,jc:b.Md.b.pd.round.jc}});var a=b.Xa.dH(\"options.html\");this.Og.GH(new s(new H({css:[b.b.f.cc]},\"Introducing Apture SocialLinks (beta): \"),\nr(\"Apture Highlights now turns the most popularly searched terms into links. Explore new topics with just one click! \"),new Da({css:[b.b.f.K,b.b.f.Jq],href:a,target:\"_blank\"},a?\"Turn off this feature\":\"\")));this.Og.addListener(320,{fn:this.xN,obj:this})}},xN:function(){b.kq(\"hasSeenFirstTimeSocialLinkNotice\",1)}},\"SocialLinkTooltip\");b.pc=t(b.I,{ko:null,init:function(){this.parent({css:[b.pc.b.ib]});this.appendChild(new b.I({css:[b.pc.b.td]},this.ko=new b.od({css:[b.pc.b.SJ],href:\"http://www.apture.com/?resultspowered\",\ntarget:\"_blank\",onmouseover:{fn:this.Jg,obj:this},onmouseout:{fn:this.Af,obj:this},onmousedown:{fn:this.Jc,obj:this},onmouseup:{fn:this.Hw,obj:this}},\"Powered by Apture\")))},Jg:function(){this.ko.i(b.pc.b.il)},Af:function(){this.ko.la(b.pc.b.il)},Jc:function(){this.ko.i(b.pc.b.pC)},Hw:function(){this.ko.la(b.pc.b.pC)}},\"NavigationFooterBar\");b.pc.b={};b.pc.b.ib={inherit:[b.b.g.Ya],gradient:{height:\"100%\",backgroundColor:\"#bbb\",Uj:\"#bbb\",zj:\"#999\",lH:\"absolute\"},round:{jc:b.Md.b.pd.round.ac,kc:b.Md.b.pd.round.bc},\nheight:\"15px\"};b.pc.b.td={inherit:[b.b.g.Ya],\"text-align\":\"center\",\"border-top\":\"1px solid #dfdfdf\",margin:\"0 2px\"};b.pc.b.SJ={inherit:[b.b.f.sh,b.b.f.Ut,b.b.g.Ya],top:\"-4px\",\"text-decoration\":\"none\",\"text-shadow\":\"0 1px 0 rgba(255, 255, 255, .42)\",\"line-height\":parseInt(b.pc.b.ib.height,10)+\"px\"};b.pc.b.il={color:\"#0037ce\"};b.pc.b.pC={color:\"#004890\"};b.A=t($,{BF:200,CF:300,className:\"\",Vk:true,Nj:4,init:function(){if(b.B.Q.Kd.Da){this.BF=150;this.CF=250}this.parent.apply(this,arguments);this.i(b.A.b.IC);\nthis.de.i([b.A.b.od,b.A.b.kD]);this.xk=new H({css:[b.A.b.De.O]});this.yk=this.xk.getAnimation();this.yk.duration=1500;this.yk.La=b.wl.pH;this.yk.M=this.bind(this.LL);var a=new H({css:[b.A.b.kC],innerHTML:this.de.c.innerHTML});this.de.c.innerHTML=\"\";this.de.appendChild(this.xk);this.de.appendChild(a);this.qk=new H({css:[b.A.b.bk.O]});this.de.appendChild(this.qk);this.addEvent(\"mouseenter\",{fn:this.hN,obj:this});this.addEvent(\"mouseleave\",{fn:this.iN,obj:this});this.addListener(16,{fn:this.Pm,obj:this});\nthis.addListener(14,{fn:this.gN,obj:this});this.Uo=new H({css:[b.A.b.wK]});this.appendChild(this.Uo)},LL:function(){this.ta.EH(b.dc.dl.WC);this.open()},br:function(){if(this.wa!=14){this.nh();b.ah(this);this.Pc(14)}},GM:function(){return new b.UK},HM:function(a){return new b.AK(a)},wr:function(){this.Ug.close();this.Ug=null;this.br()},ZM:function(){this.br()},Pm:function(){this.AP();this.xk.i(b.A.b.De.bC);this.de.i(b.A.b.eC);this.us();if(!this.BO){this.BO=true;(new b.Lq({url:\"/incrMagicLinkCount\",\nparams:{magicLinkId:this.id}})).send();this.linkCount++}this.hF()},gN:function(){this.us();this.xk.la(b.A.b.De.bC);this.de.la(b.A.b.eC);this.cG()},hN:function(){if(!b.Qp()){this.vF=true;this.us();if(!this.Zb()){this.Fz=window.setTimeout(this.bind(this.FP),200);this.rx=window.setTimeout(this.bind(this.CP),this.BF)}}},SN:function(){this.jG();this.ta.kB()&&this.ta.vH()},aO:function(){b.notifyWithParams(442,{Cs:7})},Jf:function(a){if(b.Qp()){b.notifyWithParams(290);a.stop()}else this.parent(a)},aG:function(a){if(!this.Ug){this.ta=\nthis.GM();this.Ug=this.HM({search:this.ta,te:this});this.ta.uH(a,{Nj:this.Nj});this.Ug.addListener(251,{fn:this.ZM,obj:this});this.Ug.addListener(441,{fn:this.SN,obj:this});this.Ug.addListener(283,{fn:this.aO,obj:this})}return this.Ug},jG:function(){this.Pc(16);this.addListener(12,{fn:this.wr,obj:this,once:true})},CP:function(){this.rx=null;var a=\"Learn more\",c=this.linkCount;if(c){a=\"clicks\";if(c==1)a=\"click\";a=\"\"+c+\" \"+a}this.rk=new b.I({className:\"aptureLinkCountContainer\",css:[b.A.b.Ft]},a);this.rk.setLocalTop(this.Uo.getOffsetHeight());\nthis.rk.setOpacity(0);this.appendChild(this.rk);this.AF=this.rk.fadeIn(null,this.CF)},FP:function(){this.yk.start({width:[\"0%\",\"100%\"]})},iN:function(){this.vF=false;this.us();this.Zb()||this.cG();this.hF()},hF:function(){this.rx&&window.clearTimeout(this.rx);this.AF&&this.AF.stop();this.rk&&this.rk.del()},cG:function(){if(this.Fz){window.clearTimeout(this.Fz);this.Fz=null}this.yk.stop();this.xk.setWidth(0,\"%\")},AP:function(){this.yk.stop();this.xk.setWidth(100,\"%\")},us:function(){if(this.vF||this.Zb())this.qk.Qk(b.A.b.bk.Yj)||\nthis.qk.i(b.A.b.bk.Yj);else this.qk.la(b.A.b.bk.Yj)},tU:function(){this.br()},Hr:function(){this.de.la(b.A.b.ph);if(this.lo){window.clearTimeout(this.lo);this.lo=null}},Ir:function(){this.de.i(b.A.b.ph);b.ea.S(1139,{magicLinkId:this.id});this.lo&&window.clearTimeout(this.lo);this.lo=window.setTimeout(this.bind(function(){this.aG(this.linkText)}),200)},Cb:n,Gr:n,Jr:n,Di:n,Ci:n,Js:function(){var a=this.Uo.getOffsetHeight();if(this.getRect().height?@ABCDEFG IJKLMNOPQRSTUV !"#$TVary]Cache-Control_Content-EncodingVServer\Content-TypeTDate^Content-LengthZConnectionSP3pWExpiresSAge_Px-Uncompress-OriginTX-Px]Last-Modified_Accept-Encoding^max-age=604800Tgzip[PWS/1.7.2.1_application/x-javascript_Tue, 10 May 2011 21:27:19 GMTU80936Zkeep-alive_MCP="NON CURa ADMa DEVa TAIa PSAa PSDa IVAa IVDa HISa OUR LEG UNI COM NAV INT"_Tue, 17 May 2011 18:17:13 GMTU11406V262389_ht iad-agg-n20.panthercdn.com_Tue, 10 May 2011 17:49:58 GMT./tuuv2_NSMutableDictionary\NSDictionary./yzz{2_NSHTTPURLResponse]NSURLResponse)27:PRdKPYdgmv -2ALPX\sxTtz| 3_`a_;http://cdn.apture.com/media/searchfilter.khtml.v30919596.jsOapture.fileCache.load("searchfilter", "if(window.apture.ut)window.apture.ut.Ht=/\\b(be~?an~?er|qu~?ee~?f|mo~?th~?er~?fu~?ck~?s|ej~?ac~?ul~?at~?ed|cu~?nt~?li~?ck~?er|as~?sh~?ol~?es|mi~?lf|pe~?ni~?s|pi~?ss~?in~?g|or~?ga~?si~?m|ji~?zm|ho~?rn~?y|co~?ck~?s|ej~?ac~?ul~?at~?es|bi~?tc~?hi~?n|po~?rn~?o|ku~?ms|ar~?se~?-h~?ol~?e|po~?rn~?og~?ra~?ph~?ic|ni~?gg~?er~?s|bi~?tc~?he~?rs|cy~?be~?rf~?uc~?k|bu~?ll~?sh~?it|cy~?be~?rf~?uc~?ke~?r|ho~?ts~?ex|ej~?ac~?ul~?at~?in~?gs|bo~?ot~?ie~?s|bo~?ne~?r|sm~?ac~?kh~?ea~?d|cu~?m|be~?as~?ti~?li~?ty|ji~?z|fe~?la~?ti~?o|mo~?th~?er~?fu~?ck~?in|as~?sw~?ip~?es|fa~?gg~?s|sh~?it~?te~?rs|an~?al~?in~?gu~?s|bl~?ow~?jo~?bs|ji~?sm|go~?ok|pe~?ni~?se~?s|ra~?pe|sh~?it~?ty|bl~?ow~?jo~?b|ar~?se~?ho~?le~?s|ma~?st~?ur~?ba~?te|da~?mn~?ko~?ck|ki~?ke|mo~?th~?er~?fu~?ck~?in~?gs|fa~?g|ki~?ke~?s|er~?ec~?ti~?on|cl~?it~?s|fi~?ng~?er~?fu~?ck~?er~?s|fi~?ng~?er~?fu~?ck~?ed|je~?rk~?-o~?ff|fi~?st~?fu~?ck|sh~?it~?in~?gs|ni~?pp~?le~?s|fa~?go~?t|as~?s-~?ki~?ss~?er|ni~?gg~?er|co~?ck~?su~?ck~?in~?g|fa~?go~?ts|fi~?ng~?er~?fu~?ck~?s|fi~?st~?fu~?ck~?s|mo~?th~?af~?uc~?k|an~?al|er~?ec~?ti~?on~?s|di~?ck~?fa~?ce~?s|fi~?ng~?er~?fu~?ck~?er|as~?s|ni~?gg~?a|bo~?ot~?y|sh~?it~?fu~?ll|mo~?th~?af~?uc~?ki~?ng~?s|po~?rn|fu~?ck~?in~?g|cu~?nt~?li~?ck|ej~?ac~?ul~?at~?io~?n|cy~?be~?rf~?uc|se~?x|di~?ck~?he~?ad|cu~?ni~?ll~?in~?gu~?s|cu~?ni~?li~?ng~?us|po~?rn~?og~?ra~?ph~?y|cu~?ms|fu~?ks|se~?me~?n|ph~?uq|mo~?th~?af~?uc~?ke~?r|pu~?ss~?ie~?s|co~?ck~?su~?ck~?s|ku~?mm~?er|ej~?ac~?ul~?at~?e|fu~?ck~?s|go~?ok~?s|mo~?th~?af~?uc~?ke~?d|sh~?it~?in~?g|ku~?m|ja~?ck~?of~?f|ph~?uk|as~?sb~?an~?di~?t|fc~?uk|pi~?ss|ej~?ac~?ul~?at~?in~?g|ma~?st~?er~?ba~?ti~?ng|cu~?nn~?il~?in~?gu~?s|fa~?rt~?y|fe~?ll~?at~?io|or~?gi~?es|sh~?it|po~?rn~?st~?ar~?s|pi~?ss~?er|pi~?ss~?es|cu~?mb~?ac~?k|bo~?ob~?s|mo~?th~?er~?fu~?ck~?er|as~?sb~?an~?di~?ts|ti~?tt~?y|sl~?ut|ga~?ng~?ba~?ng~?ed|fa~?rt~?in~?g|mo~?th~?er~?fu~?ck~?ed|ch~?in~?k|ku~?mm~?in~?g|qu~?ee~?fe~?r|as~?sr~?ap~?e|fa~?gg~?ot~?ry|cy~?be~?rf~?uc~?ke~?d|ga~?ng~?ba~?ng|va~?gi~?na~?s|ko~?nd~?um|di~?ld~?os|fu~?k|lu~?st~?in~?g|pi~?ss~?er~?s|ga~?ng~?ba~?ng~?s|cu~?nt~?s|sh~?it~?te~?r|fi~?ng~?er~?fu~?ck~?in~?g|mo~?th~?er~?fu~?ck~?er~?s|fu~?ck~?in|pi~?ss~?of~?f|mo~?th~?er~?fu~?ck~?in~?g|du~?mb~?as~?se~?s|pu~?ss~?y|di~?nk|ga~?ys~?ex|cy~?be~?rf~?uc~?ke~?rs|tw~?at|in~?ce~?st|bi~?tc~?h|fu~?ck~?in~?gs|se~?xy|as~?s-~?ki~?ss~?er~?s|ku~?ni~?li~?ng~?us|cu~?ms~?ho~?t|cr~?ac~?kh~?ea~?ds|ch~?in~?ks|ju~?gs|ma~?st~?er~?ba~?te|be~?as~?ti~?al|mo~?th~?af~?uc~?ks|fi~?st~?fu~?ck~?in~?g|ar~?se~?ho~?le|fu~?ck~?er~?s|as~?se~?s|ra~?pe~?d|ho~?rn~?ie~?st|ma~?st~?ur~?ba~?ti~?ng|va~?gi~?na|du~?mb~?as~?s|mo~?th~?er~?fu~?ck|mo~?th~?af~?uc~?ke~?rs|as~?sw~?ip~?e|mo~?th~?af~?uc~?ka|fi~?st~?fu~?ck~?er|an~?us|ph~?uk~?s|ph~?uk~?in~?g|pu~?ss~?ys|or~?ga~?si~?ms|do~?uc~?he~?ba~?g|bi~?tc~?he~?r|bi~?tc~?he~?s|fu~?ck|sh~?it~?s|fa~?rt~?in~?gs|ni~?pp~?le|be~?st~?ia~?li~?ty|fi~?st~?fu~?ck~?ed|se~?xt~?in~?g|cu~?md~?um~?ps~?te~?r|ha~?nd~?jo~?b|cu~?nt~?li~?ck~?in~?g|cu~?nt|bo~?ob~?ie~?s|ni~?gg~?as|ph~?on~?es~?ex|fa~?rt~?ed|er~?ot~?ic|di~?nk~?s|sp~?un~?k|or~?gy|mo~?th~?af~?uc~?ka~?z|fi~?ng~?er~?ba~?ng|sh~?it~?ti~?ng~?s|fa~?gg~?ot|co~?ck|dy~?ke~?s|sh~?it~?he~?ad~?s|cl~?it|ja~?ck~?-o~?ff|po~?rn~?os|ma~?st~?er~?ba~?t|co~?ck~?su~?ck~?ed|ha~?rd~?co~?re~?se~?x|mo~?th~?af~?uc~?ki~?n|fa~?gs|lu~?st|as~?sr~?ap~?er|be~?st~?ia~?l|cr~?ac~?kh~?ea~?d|po~?on~?ta~?ng|dy~?ke|wh~?or~?e|pi~?ss~?in|be~?an~?er~?s|cy~?be~?rf~?uc~?ki~?ng|di~?ck~?fa~?ce|sh~?it~?li~?st|or~?ga~?sm~?s|ti~?t|mo~?th~?af~?uc~?ka~?s|co~?ck~?su~?ck~?er|or~?ga~?sm|ti~?ts|sh~?it~?he~?ad|ku~?mm~?er~?po~?rn~?s|ph~?uk~?ki~?ng|as~?sh~?ol~?e|fa~?gg~?in~?g|cu~?mm~?in~?g|bi~?tc~?hi~?ng|fu~?ck~?me|sh~?it~?te~?d|sm~?ut|pr~?ic~?k|bo~?ne~?rs|di~?ld~?o|po~?rn~?st~?ar|ko~?nd~?um~?s|br~?ea~?st~?s|co~?ck~?su~?ck|bo~?ob|fi~?ng~?er~?fu~?ck|fa~?rt|sh~?it~?ed|ko~?ck|fu~?ck~?ed|mo~?th~?af~?uc~?ki~?ng|ph~?uk~?ke~?d|fi~?st~?fu~?ck~?in~?gs|sh~?it~?ti~?ng|be~?as~?ti~?al~?it~?y|ha~?nd~?jo~?bs|wh~?or~?es|ph~?uk~?ed|cu~?mm~?er|fi~?st~?fu~?ck~?er~?s|fu~?ck~?er|sl~?ut~?s|fi~?ng~?er~?ba~?ng~?er~?s|pr~?ic~?ks|ju~?gg~?s|fa~?rt~?s|ar~?se~?-h~?ol~?es|ho)\\b/i;\n");O9bplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver( &,-345WXYZ[\]^_`abcdefghijklmnopqrswxU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1'& '()$+WNS.base[NS.relative_;http://cdn.apture.com/media/searchfilter.khtml.v30919596.js./01X$classesZ$classname12UNSURLXNSObject#Ay8N{N 6789HWNS.keysZNS.objects%:;<=>?@ABCDEFG IJKLMNOPQRSTUV !"#$TVary]Cache-Control_Content-EncodingVServer\Content-TypeTDate^Content-LengthZConnectionSP3pWExpiresSAge_Px-Uncompress-OriginTX-Px]Last-Modified_Accept-Encoding^max-age=604800Tgzip[PWS/1.7.2.1_application/x-javascript_Tue, 10 May 2011 21:27:20 GMTT1274Zkeep-alive_MCP="NON CURa ADMa DEVa TAIa PSAa PSDa IVAa IVDa HISa OUR LEG UNI COM NAV INT"_Tue, 17 May 2011 18:17:15 GMTU11405T4080_ht iad-agg-n20.panthercdn.com_Tue, 10 May 2011 17:49:58 GMT./tuuv2_NSMutableDictionary\NSDictionary./yzz{2_NSHTTPURLResponse]NSURLResponse)27:PRdTYbmpv")6;JUYae| \||! cde_Ahttp://cdn.apture.com/media/html/aptureLoadIframe.html?v=30919596_./-->O  gh_ -->Os%jnsw{ &klm_[http://media.economist.com/sites/default/files/css/css_c3bf495a8099d8a1d735cac5fafbfa14.cssOD .book-navigation .menu{border-top:1px solid #888;padding:1em 0 0 3em;}.book-navigation .page-links{border-top:1px solid #888;border-bottom:1px solid #888;text-align:center;padding:0.5em;}.book-navigation .page-previous{text-align:left;width:42%;display:block;float:left;}.book-navigation .page-up{margin:0 5%;width:4%;display:block;float:left;}.book-navigation .page-next{text-align:right;width:42%;display:block;float:right;}#book-outline{min-width:56em;}.book-outline-form .form-item{margin-top:0;margin-bottom:0;}#edit-book-bid-wrapper .description{clear:both;}#book-admin-edit select{margin-right:24px;}#book-admin-edit select.progress-disabled{margin-right:0;}#book-admin-edit tr.ahah-new-content{background-color:#ffd;}#book-admin-edit .form-item{float:left;} .node-unpublished{background-color:#fff4f4;}.preview .node{background-color:#ffffea;}#node-admin-filter ul{list-style-type:none;padding:0;margin:0;width:100%;}#node-admin-buttons{float:left;margin-left:0.5em;clear:right;}td.revision-current{background:#ffc;}.node-form .form-text{display:block;width:95%;}.node-form .container-inline .form-text{display:inline;width:auto;}.node-form .standard{clear:both;}.node-form textarea{display:block;width:95%;}.node-form .attachments fieldset{float:none;display:block;}.terms-inline{display:inline;} .poll .bar{height:1em;margin:1px 0;background-color:#ddd;}.poll .bar .foreground{background-color:#000;height:1em;float:left;}.poll .links{text-align:center;}.poll .percent{text-align:right;}.poll .total{text-align:center;}.poll .vote-form{text-align:center;}.poll .vote-form .choices{text-align:left;margin:0 auto;display:table;}.poll .vote-form .choices .title{font-weight:bold;}.node-form #edit-poll-more{margin:0;}td.poll-chtext{width:80%;}td.poll-chvotes .form-text{width:85%;} fieldset{margin-bottom:1em;padding:.5em;}form{margin:0;padding:0;}hr{height:1px;border:1px solid gray;}img{border:0;}table{border-collapse:collapse;}th{text-align:left;padding-right:1em;border-bottom:3px solid #ccc;}.clear-block:after{content:".";display:block;height:0;clear:both;visibility:hidden;}.clear-block{display:inline-block;}/*_\*/ * html .clear-block{height:1%;}.clear-block{display:block;}/* End hide from IE-mac */ body.drag{cursor:move;}th.active img{display:inline;}tr.even,tr.odd{background-color:#eee;border-bottom:1px solid #ccc;padding:0.1em 0.6em;}tr.drag{background-color:#fffff0;}tr.drag-previous{background-color:#ffd;}td.active{background-color:#ddd;}td.checkbox,th.checkbox{text-align:center;}tbody{border-top:1px solid #ccc;}tbody th{border-bottom:1px solid #ccc;}thead th{text-align:left;padding-right:1em;border-bottom:3px solid #ccc;}.breadcrumb{padding-bottom:.5em}div.indentation{width:20px;height:1.7em;margin:-0.4em 0.2em -0.4em -0.4em;padding:0.42em 0 0.42em 0.6em;float:left;}div.tree-child{background:url(/misc/tree.png) no-repeat 11px center;}div.tree-child-last{background:url(/misc/tree-bottom.png) no-repeat 11px center;}div.tree-child-horizontal{background:url(/misc/tree.png) no-repeat -11px center;}.error{color:#e55;}div.error{border:1px solid #d77;}div.error,tr.error{background:#fcc;color:#200;padding:2px;}.warning{color:#e09010;}div.warning{border:1px solid #f0c020;}div.warning,tr.warning{background:#ffd;color:#220;padding:2px;}.ok{color:#008000;}div.ok{border:1px solid #00aa00;}div.ok,tr.ok{background:#dfd;color:#020;padding:2px;}.item-list .icon{color:#555;float:right;padding-left:0.25em;clear:right;}.item-list .title{font-weight:bold;}.item-list ul{margin:0 0 0.75em 0;padding:0;}.item-list ul li{margin:0 0 0.25em 1.5em;padding:0;list-style:disc;}ol.task-list li.active{font-weight:bold;}.form-item{margin-top:1em;margin-bottom:1em;}tr.odd .form-item,tr.even .form-item{margin-top:0;margin-bottom:0;white-space:nowrap;}tr.merge-down,tr.merge-down td,tr.merge-down th{border-bottom-width:0 !important;}tr.merge-up,tr.merge-up td,tr.merge-up th{border-top-width:0 !important;}.form-item input.error,.form-item textarea.error,.form-item select.error{border:2px solid red;}.form-item .description{font-size:0.85em;}.form-item label{display:block;font-weight:bold;}.form-item label.option{display:inline;font-weight:normal;}.form-checkboxes,.form-radios{margin:1em 0;}.form-checkboxes .form-item,.form-radios .form-item{margin-top:0.4em;margin-bottom:0.4em;}.marker,.form-required{color:#f00;}.more-link{text-align:right;}.more-help-link{font-size:0.85em;text-align:right;}.nowrap{white-space:nowrap;}.item-list .pager{clear:both;text-align:center;}.item-list .pager li{background-image:none;display:inline;list-style-type:none;padding:0.5em;}.pager-current{font-weight:bold;}.tips{margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;font-size:0.9em;}dl.multiselect dd.b,dl.multiselect dd.b .form-item,dl.multiselect dd.b select{font-family:inherit;font-size:inherit;width:14em;}dl.multiselect dd.a,dl.multiselect dd.a .form-item{width:8em;}dl.multiselect dt,dl.multiselect dd{float:left;line-height:1.75em;padding:0;margin:0 1em 0 0;}dl.multiselect .form-item{height:1.75em;margin:0;}.container-inline div,.container-inline label{display:inline;}ul.primary{border-collapse:collapse;padding:0 0 0 1em;white-space:nowrap;list-style:none;margin:5px;height:auto;line-height:normal;border-bottom:1px solid #bbb;}ul.primary li{display:inline;}ul.primary li a{background-color:#ddd;border-color:#bbb;border-width:1px;border-style:solid solid none solid;height:auto;margin-right:0.5em;padding:0 1em;text-decoration:none;}ul.primary li.active a{background-color:#fff;border:1px solid #bbb;border-bottom:#fff 1px solid;}ul.primary li a:hover{background-color:#eee;border-color:#ccc;border-bottom-color:#eee;}ul.secondary{border-bottom:1px solid #bbb;padding:0.5em 1em;margin:5px;}ul.secondary li{display:inline;padding:0 1em;border-right:1px solid #ccc;}ul.secondary a{padding:0;text-decoration:none;}ul.secondary a.active{border-bottom:4px solid #999;}#autocomplete{position:absolute;border:1px solid;overflow:hidden;z-index:100;}#autocomplete ul{margin:0;padding:0;list-style:none;}#autocomplete li{background:#fff;color:#000;white-space:pre;cursor:default;}#autocomplete li.selected{background:#0072b9;color:#fff;}html.js input.form-autocomplete{background-image:url(/misc/throbber.gif);background-repeat:no-repeat;background-position:100% 2px;}html.js input.throbbing{background-position:100% -18px;}html.js fieldset.collapsed{border-bottom-width:0;border-left-width:0;border-right-width:0;margin-bottom:0;height:1em;}html.js fieldset.collapsed *{display:none;}html.js fieldset.collapsed legend{display:block;}html.js fieldset.collapsible legend a{padding-left:15px;background:url(/misc/menu-expanded.png) 5px 75% no-repeat;}html.js fieldset.collapsed legend a{background-image:url(/misc/menu-collapsed.png);background-position:5px 50%;}* html.js fieldset.collapsed legend,* html.js fieldset.collapsed legend *,* html.js fieldset.collapsed table *{display:inline;}html.js fieldset.collapsible{position:relative;}html.js fieldset.collapsible legend a{display:block;}html.js fieldset.collapsible .fieldset-wrapper{overflow:auto;}.resizable-textarea{width:95%;}.resizable-textarea .grippie{height:9px;overflow:hidden;background:#eee url(/misc/grippie.png) no-repeat center 2px;border:1px solid #ddd;border-top-width:0;cursor:s-resize;}html.js .resizable-textarea textarea{margin-bottom:0;width:100%;display:block;}.draggable a.tabledrag-handle{cursor:move;float:left;height:1.7em;margin:-0.4em 0 -0.4em -0.5em;padding:0.42em 1.5em 0.42em 0.5em;text-decoration:none;}a.tabledrag-handle:hover{text-decoration:none;}a.tabledrag-handle .handle{margin-top:4px;height:13px;width:13px;background:url(/misc/draggable.png) no-repeat 0 0;}a.tabledrag-handle-hover .handle{background-position:0 -20px;}.joined + .grippie{height:5px;background-position:center 1px;margin-bottom:-2px;}.teaser-checkbox{padding-top:1px;}div.teaser-button-wrapper{float:right;padding-right:5%;margin:0;}.teaser-checkbox div.form-item{float:right;margin:0 5% 0 0;padding:0;}textarea.teaser{display:none;}html.js .no-js{display:none;}.progress{font-weight:bold;}.progress .bar{background:#fff url(/misc/progress.gif);border:1px solid #00375a;height:1.5em;margin:0 0.2em;}.progress .filled{background:#0072b9;height:1em;border-bottom:0.5em solid #004a73;width:0%;}.progress .percentage{float:right;}.progress-disabled{float:left;}.ahah-progress{float:left;}.ahah-progress .throbber{width:15px;height:15px;margin:2px;background:transparent url(/misc/throbber.gif) no-repeat 0px -18px;float:left;}tr .ahah-progress .throbber{margin:0 2px;}.ahah-progress-bar{width:16em;}#first-time strong{display:block;padding:1.5em 0 .5em;}tr.selected td{background:#ffc;}table.sticky-header{margin-top:0;background:#fff;}#clean-url.install{display:none;}html.js .js-hide{display:none;}#system-modules div.incompatible{font-weight:bold;}#system-themes-form div.incompatible{font-weight:bold;}span.password-strength{visibility:hidden;}input.password-field{margin-right:10px;}div.password-description{padding:0 2px;margin:4px 0 0 0;font-size:0.85em;max-width:500px;}div.password-description ul{margin-bottom:0;}.password-parent{margin:0 0 0 0;}input.password-confirm{margin-right:10px;}.confirm-parent{margin:5px 0 0 0;}span.password-confirm{visibility:hidden;}span.password-confirm span{font-weight:normal;} ul.menu{list-style:none;border:none;text-align:left;}ul.menu li{margin:0 0 0 0.5em;}li.expanded{list-style-type:circle;list-style-image:url(/misc/menu-expanded.png);padding:0.2em 0.5em 0 0;margin:0;}li.collapsed{list-style-type:disc;list-style-image:url(/misc/menu-collapsed.png);padding:0.2em 0.5em 0 0;margin:0;}li.leaf{list-style-type:square;list-style-image:url(/misc/menu-leaf.png);padding:0.2em 0.5em 0 0;margin:0;}li a.active{color:#000;}td.menu-disabled{background:#ccc;}ul.links{margin:0;padding:0;}ul.links.inline{display:inline;}ul.links li{display:inline;list-style-type:none;padding:0 0.5em;}.block ul{margin:0;padding:0 0 0.25em 1em;} #permissions td.module{font-weight:bold;}#permissions td.permission{padding-left:1.5em;}#access-rules .access-type,#access-rules .rule-type{margin-right:1em;float:left;}#access-rules .access-type .form-item,#access-rules .rule-type .form-item{margin-top:0;}#access-rules .mask{clear:both;}#user-login-form{text-align:center;}#user-admin-filter ul{list-style-type:none;padding:0;margin:0;width:100%;}#user-admin-buttons{float:left;margin-left:0.5em;clear:right;}#user-admin-settings fieldset .description{font-size:0.85em;padding-bottom:.5em;}.profile{clear:both;margin:1em 0;}.profile .picture{float:right;margin:0 1em 1em 0;}.profile h3{border-bottom:1px solid #ccc;}.profile dl{margin:0 0 1.5em 0;}.profile dt{margin:0 0 0.2em 0;font-weight:bold;}.profile dd{margin:0 0 1em 0;} .field .field-label,.field .field-label-inline,.field .field-label-inline-first{font-weight:bold;}.field .field-label-inline,.field .field-label-inline-first{display:inline;}.field .field-label-inline{visibility:hidden;}.node-form .content-multiple-table td.content-multiple-drag{width:30px;padding-right:0;}.node-form .content-multiple-table td.content-multiple-drag a.tabledrag-handle{padding-right:.5em;}.node-form .content-add-more .form-submit{margin:0;}.content-multiple-remove-button{display:block;float:right;height:14px;width:16px;margin:2px 0 1px 0;padding:0;background:transparent url(/sites/all/modules/cck/images/remove.png) no-repeat 0 0;border-bottom:#C2C9CE 1px solid;border-right:#C2C9CE 1px solid;}.content-multiple-remove-button:hover{background-position:0 -14px;}.content-multiple-removed-row .content-multiple-remove-button{background-position:0 -28px;}.content-multiple-removed-row .content-multiple-remove-button:hover{background-position:0 -42px;}html.js .content-multiple-removed-row{background-color:#ffffcc;}.content-multiple-weight-header,.content-multiple-remove-header,.content-multiple-remove-cell,.content-multiple-table td.delta-order{text-align:center;}html.js .content-multiple-weight-header,html.js .content-multiple-remove-header span,html.js .content-multiple-table td.delta-order,html.js .content-multiple-remove-checkbox{display:none;}.node-form .number{display:inline;width:auto;}.node-form .text{width:auto;}.form-item #autocomplete .reference-autocomplete{white-space:normal;}.form-item #autocomplete .reference-autocomplete label{display:inline;font-weight:normal;}#content-field-overview-form .advanced-help-link,#content-display-overview-form .advanced-help-link{margin:4px 4px 0 0;}#content-field-overview-form .label-group,#content-display-overview-form .label-group,#content-copy-export-form .label-group{font-weight:bold;}table#content-field-overview .label-add-new-field,table#content-field-overview .label-add-existing-field,table#content-field-overview .label-add-new-group{float:left;}table#content-field-overview tr.content-add-new .tabledrag-changed{display:none;}table#content-field-overview tr.content-add-new .description{margin-bottom:0;}table#content-field-overview .content-new{font-weight:bold;padding-bottom:.5em;}.advanced-help-topic h3,.advanced-help-topic h4,.advanced-help-topic h5,.advanced-help-topic h6{margin:1em 0 .5em 0;}.advanced-help-topic dd{margin-bottom:.5em;}.advanced-help-topic span.code{background-color:#EDF1F3;font-family:"Bitstream Vera Sans Mono",Monaco,"Lucida Console",monospace;font-size:0.9em;padding:1px;}.advanced-help-topic .content-border{border:1px solid #AAA} .ctools-locked{color:red;border:1px solid red;padding:1em;}.ctools-owns-lock{background:#FFFFDD none repeat scroll 0 0;border:1px solid #F0C020;padding:1em;}a.ctools-ajaxing,input.ctools-ajaxing,button.ctools-ajaxing,select.ctools-ajaxing{padding-right:18px !important;background:url(/sites/all/modules/ctools/images/status-active.gif) right center no-repeat;}div.ctools-ajaxing{float:left;width:18px;background:url(/sites/all/modules/ctools/images/status-active.gif) center center no-repeat;} .container-inline-date{width:auto;clear:both;display:inline-block;vertical-align:top;margin-right:0.5em;}.container-inline-date .form-item{float:none;padding:0;margin:0;}.container-inline-date .form-item .form-item{float:left;}.container-inline-date .form-item,.container-inline-date .form-item input{width:auto;}.container-inline-date .description{clear:both;}.container-inline-date .form-item input,.container-inline-date .form-item select,.container-inline-date .form-item option{margin-right:5px;}.container-inline-date .date-spacer{margin-left:-5px;}.views-right-60 .container-inline-date div{padding:0;margin:0;}.container-inline-date .date-timezone .form-item{float:none;width:auto;clear:both;}#calendar_div,#calendar_div td,#calendar_div th{margin:0;padding:0;}#calendar_div,.calendar_control,.calendar_links,.calendar_header,.calendar{width:185px;border-collapse:separate;margin:0;}.calendar td{padding:0;}span.date-display-single{}span.date-display-start{}span.date-display-end{}span.date-display-separator{}.date-repeat-input{float:left;width:auto;margin-right:5px;}.date-repeat-input select{min-width:7em;}.date-repeat fieldset{clear:both;float:none;}.date-views-filter-wrapper{min-width:250px;}.date-views-filter input{float:left !important;margin-right:2px !important;padding:0 !important;width:12em;min-width:12em;}.date-nav{width:100%;}.date-nav div.date-prev{text-align:left;width:24%;float:left;}.date-nav div.date-next{text-align:right;width:24%;float:right;}.date-nav div.date-heading{text-align:center;width:50%;float:left;}.date-nav div.date-heading h3{margin:0;padding:0;}.date-clear{float:none;clear:both;display:block;}.date-clear-block{float:none;width:auto;clear:both;}.date-clear-block:after{content:" ";display:block;height:0;clear:both;visibility:hidden;}.date-clear-block{display:inline-block;}/*_\*/ * html .date-clear-block{height:1%;}.date-clear-block{display:block;}/* End hide from IE-mac */ .date-container .date-format-delete{margin-top:1.8em;margin-left:1.5em;float:left;}.date-container .date-format-name{float:left;}.date-container .date-format-type{float:left;padding-left:10px;}.date-container .select-container{clear:left;float:left;}div.date-calendar-day{line-height:1;width:40px;float:left;margin:6px 10px 0 0;background:#F3F3F3;border-top:1px solid #eee;border-left:1px solid #eee;border-right:1px solid #bbb;border-bottom:1px solid #bbb;color:#999;text-align:center;font-family:Georgia,Arial,Verdana,sans;}div.date-calendar-day span{display:block;text-align:center;}div.date-calendar-day span.month{font-size:.9em;background-color:#B5BEBE;color:white;padding:2px;text-transform:uppercase;}div.date-calendar-day span.day{font-weight:bold;font-size:2em;}div.date-calendar-day span.year{font-size:.9em;padding:2px;} #ui-datepicker-div{font-size:100%;font-family:Verdana,sans-serif;background:#eee;border-right:2px #666 solid;border-bottom:2px #666 solid;z-index:9999;}.ui-datepicker{width:17em;padding:.2em .2em 0;}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0;}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em;}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px;}.ui-datepicker .ui-datepicker-prev{left:2px;}.ui-datepicker .ui-datepicker-next{right:2px;}.ui-datepicker .ui-datepicker-prev-hover{left:1px;}.ui-datepicker .ui-datepicker-next-hover{right:1px;}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px;}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center;}.ui-datepicker .ui-datepicker-title select{float:left;font-size:1em;margin:1px 0;}.ui-datepicker select.ui-datepicker-month-year{width:100%;}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%;}.ui-datepicker .ui-datepicker-title select.ui-datepicker-year{float:right;}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em;}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0;}.ui-datepicker td{border:0;padding:1px;}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none;}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0;}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible;}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left;}.ui-datepicker.ui-datepicker-multi{width:auto;}.ui-datepicker-multi .ui-datepicker-group{float:left;}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em;}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%;}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%;}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%;}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header{border-left-width:0;}.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0;}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left;}.ui-datepicker-row-break{clear:both;width:100%;}.ui-datepicker-rtl{direction:rtl;}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto;}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto;}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto;}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right;}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left;}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current{float:right;}.ui-datepicker-rtl .ui-datepicker-group{float:right;}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header{border-right-width:0;border-left-width:1px;}.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px;}.ui-datepicker-cover{display:none;display:block;position:absolute;z-index:-1;filter:mask();top:-4px;left:-4px;width:200px;height:200px;} .timeEntry_control{vertical-align:middle;margin-left:2px;}* html .timeEntry_control{margin-top:-4px;} td.ec-abuse-votes,tr.ec-abuse-votes{padding-left:30px;}.view-ec-abuse-report .unpublished{background-color:#EFE8D1;} .filefield-icon{margin:0 2px 0 0;}.filefield-element{margin:1em 0;white-space:normal;}.filefield-element .widget-preview{float:left;padding:0 10px 0 0;margin:0 10px 0 0;border-width:0 1px 0 0;border-style:solid;border-color:#CCC;max-width:30%;}.filefield-element .widget-edit{float:left;max-width:70%;}.filefield-element .filefield-preview{width:16em;overflow:hidden;}.filefield-element .widget-edit .form-item{margin:0 0 1em 0;}.filefield-element input.form-submit,.filefield-element input.form-file{margin:0;}.filefield-element input.progress-disabled{float:none;display:inline;}.filefield-element div.ahah-progress,.filefield-element div.throbber{display:inline;float:none;padding:1px 13px 2px 3px;}.filefield-element div.ahah-progress-bar{display:none;margin-top:4px;width:28em;padding:0;}.filefield-element div.ahah-progress-bar div.bar{margin:0;} .hovertip,.hoverinfo{position:relative;display:none;width:240px;background-color:#d3e3f6;font-size:12px;z-index:100;margin-left:5px;margin-top:10px;}.hovertip_wrap0 .hovertip,.hovertip_wrap0 .hoverinfo{margin:0;}.hovertip_wrap0{margin-left:5px;margin-top:10px;z-index:100;}.clicktip{position:relative;display:none;background-color:rgb(255,255,234);border:1px solid black;padding:3px;font-size:12px;margin:1em;z-index:10;}.clicktip h1,.hovertip h1,.hoverinfo h1{height:auto;margin-top:0px;margin-left:0px;background-color:#336699;color:white !important;font-size:14px;font-weight:bold;margin:0;z-index:10;padding:2px !important;text-align:center;}.clicktip p,.hovertip p{padding:2px;margin-top:0.5em;line-height:1.2em;z-index:10;}.clicktip p{margin-right:1em;}.clicktip_targetXXX{background-image:url(/sites/all/modules/hovertip/information.png);background-repeat:no-repeat;background-position:top right;padding-right:20px;}.hovertip_target,.clicktip_target{font-style:italic;}.clicktip_target{text-decoration:underline;}.clicktip_target:hover,.hovertip_target:hover{text-decoration:none;cursor:help;}a.clicktip_close{display:block;position:absolute;bottom:0px;right:3px;cursor:pointer;}a.clicktip_close span{}html body .hovertip_wrap0{display:none;background:url(/sites/all/modules/hovertip/corner_tr.png) right top no-repeat;}html body .hovertip_wrap1{display:block;background:url(/sites/all/modules/hovertip/corner_bl.png) left bottom no-repeat;padding-top:8px;padding-left:8px;}html body .hovertip_wrap2{display:block;background:url(/sites/all/modules/hovertip/shadow.png) bottom right no-repeat;}html body .hovertip_wrap3{display:block;position:relative;left:-8px;top:-8px;background-color:#d3e3f6;}.hovertip_wrap3{border:1px solid #ccc;padding:5px;}span{display:inline;}.hoverinfo_target{background:transparent url(/sites/all/modules/hovertip/hoverinfo.png) no-repeat center center;padding:8px;margin:0 .2em;display:inline;position:relative;top:-.5em;} #lightbox{position:absolute;top:40px;left:0;width:100%;z-index:100;text-align:center;line-height:0;}#lightbox a img{border:none;}#outerImageContainer{position:relative;background-color:#fff;width:250px;height:250px;margin:0 auto;min-width:240px;overflow:hidden;}#imageContainer,#frameContainer,#modalContainer{padding:10px;}#modalContainer{line-height:1em;overflow:auto;}#loading{height:25%;width:100%;text-align:center;line-height:0;position:absolute;top:40%;left:45%;*left:0%;}#hoverNav{position:absolute;top:0;left:0;height:100%;width:100%;z-index:10;}#imageContainer>#hoverNav{left:0;}#frameHoverNav{z-index:10;margin-left:auto;margin-right:auto;width:20%;position:absolute;bottom:0px;height:45px;}#imageData>#frameHoverNav{left:0;}#hoverNav a,#frameHoverNav a{outline:none;}#prevLink,#nextLink{width:49%;height:100%;background:transparent url(/sites/all/modules/lightbox2/images/blank.gif) no-repeat;display:block;}#prevLink,#framePrevLink{left:0;float:left;}#nextLink,#frameNextLink{right:0;float:right;}#prevLink:hover,#prevLink:visited:hover,#prevLink.force_show_nav,#framePrevLink{background:url(/sites/all/modules/lightbox2/images/prev.gif) left 15% no-repeat;}#nextLink:hover,#nextLink:visited:hover,#nextLink.force_show_nav,#frameNextLink{background:url(/sites/all/modules/lightbox2/images/next.gif) right 15% no-repeat;}#prevLink:hover.force_show_nav,#prevLink:visited:hover.force_show_nav,#framePrevLink:hover,#framePrevLink:visited:hover{background:url(/sites/all/modules/lightbox2/images/prev_hover.gif) left 15% no-repeat;}#nextLink:hover.force_show_nav,#nextLink:visited:hover.force_show_nav,#frameNextLink:hover,#frameNextLink:visited:hover{background:url(/sites/all/modules/lightbox2/images/next_hover.gif) right 15% no-repeat;}#framePrevLink,#frameNextLink{width:45px;height:45px;display:block;position:absolute;bottom:0px;}#imageDataContainer{font:10px Verdana,Helvetica,sans-serif;background-color:#fff;margin:0 auto;line-height:1.4em;min-width:240px;}#imageData{padding:0 10px;}#imageData #imageDetails{width:70%;float:left;text-align:left;}#imageData #caption{font-weight:bold;}#imageData #numberDisplay{display:block;clear:left;padding-bottom:1.0em;}#imageData #lightbox2-node-link-text{display:block;padding-bottom:1.0em;}#imageData #bottomNav{height:66px;}.lightbox2-alt-layout #imageData #bottomNav,.lightbox2-alt-layout-data #bottomNav{margin-bottom:60px;}#lightbox2-overlay{position:absolute;top:0;left:0;z-index:90;width:100%;height:500px;background-color:#000;}#overlay_default{opacity:0.6;}#overlay_macff2{background:transparent url(/sites/all/modules/lightbox2/images/overlay.png) repeat;}.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}* html>body .clearfix{display:inline;width:100%;}* html .clearfix{/*_\*/ height:1%;/* End hide from IE-mac */}#bottomNavClose{display:block;background:url(/sites/all/modules/lightbox2/images/close.gif) left no-repeat;margin-top:33px;float:right;padding-top:0.7em;height:26px;width:26px;}#bottomNavClose:hover{background-position:right;}#loadingLink{display:block;background:url(/sites/all/modules/lightbox2/images/loading.gif) no-repeat;width:32px;height:32px;}#bottomNavZoom{display:none;background:url(/sites/all/modules/lightbox2/images/expand.gif) no-repeat;width:34px;height:34px;position:relative;left:30px;float:right;}#bottomNavZoomOut{display:none;background:url(/sites/all/modules/lightbox2/images/contract.gif) no-repeat;width:34px;height:34px;position:relative;left:30px;float:right;}#lightshowPlay{margin-top:42px;float:right;margin-right:5px;margin-bottom:1px;height:20px;width:20px;background:url(/sites/all/modules/lightbox2/images/play.png) no-repeat;}#lightshowPause{margin-top:42px;float:right;margin-right:5px;margin-bottom:1px;height:20px;width:20px;background:url(/sites/all/modules/lightbox2/images/pause.png) no-repeat;}.lightbox2-alt-layout-data #bottomNavClose,.lightbox2-alt-layout #bottomNavClose{margin-top:93px;}.lightbox2-alt-layout-data #bottomNavZoom,.lightbox2-alt-layout-data #bottomNavZoomOut,.lightbox2-alt-layout #bottomNavZoom,.lightbox2-alt-layout #bottomNavZoomOut{margin-top:93px;}.lightbox2-alt-layout-data #lightshowPlay,.lightbox2-alt-layout-data #lightshowPause,.lightbox2-alt-layout #lightshowPlay,.lightbox2-alt-layout #lightshowPause{margin-top:102px;}.lightbox_hide_image{display:none;}#lightboxImage{-ms-interpolation-mode:bicubic;} div.toboggan-container{text-align:center;}div.toboggan-login-link-container{text-align:left;}div.toboggan-login-link-container a{text-decoration:none;}div.toboggan-block-message{text-align:left;}div.user-login-block{text-align:left;}div.user-login-block a{text-align:left;} table.migrate-dashboard tr.migrate-running{background-color:#CFC;}.migrate-running{background-color:#CFC;} #edit-mollom-captcha{display:block;}.dblog-event pre,#simpletest-result-form table td{white-space:pre-wrap;} @media screen{.oo_feedback_float{visibility:hidden;height:50px;width:120px;padding:0 12px 12px 0;font:12px Arial,Helvetica,sans-serif;text-align:center;cursor:pointer;}.oo_feedback_float .olUp{text-align:center;}.oo_feedback_float:hover .olUp{display:none;}.oo_feedback_float .fbText{display:block;padding:3px;}.oo_feedback_float .olOver{display:none;border:1px solid #CCC;padding:10px;background:#FFF;text-align:center;}.oo_feedback_float:hover .olOver{display:block;}#oo_feedback_static{cursor:pointer;}#onlineopinion_cc_overlay{display:none;position:fixed;top:0;left:0;height:100%;width:100%;margin:0;padding:0;background-color:#000;opacity:.3;filter:alpha(opacity=30);z-index:104;}.onlineopinion_cc_div{display:none;position:fixed;top:25px;left:0;padding:0;background:transparent !important;font:12px Arial,Helvetica,sans-serif;z-index:105;}a.onlineopinion_cc_closelink{display:block;position:absolute;top:-10px;right:-5px;height:24px;width:24px;background:url(/sites/all/modules/opinionlab/images/oo_close.png) no-repeat;text-decoration:none;z-index:103;}.onlineopinion_cc_frame{position:relative;width:535px;border:none;background-color:#FFF;opacity:1.0;filter:alpha(opacity:100);-moz-box-shadow:rgba(0,0,0,.6) 0 0 15px;-webkit-box-shadow:rgba(0,0,0,.6) 0 0 15px;z-index:102;}.onlineopinion_cc_shadow{position:absolute;top:0;left:-27px;height:100%;width:589px;background:url(/sites/all/modules/opinionlab/images/oo_shadow.png) repeat-y;z-index:101;}.onlineopinion_cc_shadow_top{position:absolute;top:-11px;left:-27px;height:11px;width:589px;background:url(/sites/all/modules/opinionlab/images/oo_shadow_top.png);z-index:101;}.onlineopinion_cc_shadow_bottom{position:absolute;bottom:-11px;left:-27px;height:11px;width:589px;background:url(/sites/all/modules/opinionlab/images/oo_shadow_bottom.png) repeat-y;z-index:101;}}@media print{.oo_feedback_float,.olUp,.olOver{display:none;}} span.fontcolor-black{color:#000000;}span.fontcolor-brown{color:#8A4B08;}span.fontcolor-red{color:#ff0000;}span.fontcolor-orange{color:#FF8000;}span.fontcolor-yellow{color:#FFFF00;}span.fontcolor-pink{color:#F5A9A9;}span.fontcolor-green{color:#5FB404;}span.fontcolor-blue{color:#0000FF;}span.fontcolor-purple{color:#8000FF;} div.fieldgroup{margin:.5em 0 1em 0;}div.fieldgroup .content{padding-left:1em;} .views-exposed-form .views-exposed-widget{float:left;padding:.5em 1em 0 0;}.views-exposed-form .views-exposed-widget .form-submit{margin-top:1.6em;}.views-exposed-form .form-item,.views-exposed-form .form-submit{margin-top:0;margin-bottom:0;}.views-exposed-form label{font-weight:bold;}.views-exposed-widgets{margin-bottom:.5em;}html.js a.views-throbbing,html.js span.views-throbbing{background:url(/sites/all/modules/views/images/status-active.gif) no-repeat right center;padding-right:18px;}div.view div.views-admin-links{font-size:xx-small;margin-right:1em;margin-top:1em;}.block div.view div.views-admin-links{margin-top:0;}div.view div.views-admin-links ul{padding-left:0;}div.view div.views-admin-links li a{color:#ccc;}div.view div.views-admin-links li{padding-bottom:2px;z-index:201;}div.view div.views-admin-links-hover a,div.view div.views-admin-links:hover a{color:#000;}div.view div.views-admin-links-hover,div.view div.views-admin-links:hover{background:transparent;;}div.view div.views-admin-links a:before{content:"[";}div.view div.views-admin-links a:after{content:"]";}div.view div.views-hide{display:none;}div.view div.views-hide-hover,div.view:hover div.views-hide{display:block;position:absolute;z-index:200;}div.view:hover div.views-hide{margin-top:-1.5em;}.views-view-grid tbody{border-top:none;} div#column-right div#tagCloudPlaceholder{margin-bottom:10px;} p.pass-sub-head,p.login-sub-head{margin-top:10px;margin-bottom:20px;font-size:1.2em;}.page-user div.messages{margin-top:10px;}form.user-form{background-color:#F4F8FA;border-color:#CDDADD #CDDADD #9C9C9C;border-style:solid;border-width:1px 1px 3px;padding:15px;}form.user-form div.block-link a{font-size:1.3em;}form.user-form span.form-required{position:absolute;left:-999999px;}form.user-form div.form-item{margin:0 0 10px;position:relative;}form.user-form div.form-item label{font-size:1.2em;font-weight:bold;color:#666666;}form.user-form div.form-item label.option{font-weight:normal;color:#000000;}form.user-form div.form-item label span.label{font-size:1.1em;font-weight:normal;color:#000000;}form.user-form div.form-item input.form-text{border:1px solid #CCCCCC;color:#000000;font-size:1.3em;height:19px;margin:5px 0;padding:3px 2px;width:280px;}form.user-form fieldset[name="editable"] div.form-item label.option{color:#666666;}form.user-form fieldset.fieldset-editable div.form-item label.option{color:#000000;}form.user-form div.form-item select.form-select{margin:5px 0 8px;padding:3px 2px;}form.user-form div#edit-persistent-login-wrapper{float:right;margin:10px 0 0 10px;padding:4px 320px 0 0;width:125px;}form.user-form div#edit-persistent-login-wrapper input{margin-left:0;}form.user-form p.forms-intro{font-size:1.3em;margin:0 0 15px;}form.user-form p.forms-intro span{display:block;font-weight:bold;margin-bottom:5px;}form#user-pass a#login-link{float:left;margin-right:10px;padding-top:5px;font-size:1.3em;}form#user-profile-form fieldset.privacy-fieldset{border-bottom:0;margin-bottom:0;}form.user-form p.ec-register-privacy a,form.user-form p.forms-intro a{display:inline;font-size:1em;text-decoration:underline;}form.user-form p.ec-register-privacy a:hover,form.user-form p.forms-intro a:hover{text-decoration:none;}form.user-form p.ec-register-privacy{margin-bottom:10px;font-size:1.3em;clear:both;}form.user-form a:hover{text-decoration:underline;}form#passwordflow-change-password #edit-submit{width:170px;}form#user-pass #edit-submit,form#user-pass input[type=submit]{margin:0;}form.user-form div.form-item-error{background:transparent url(/sites/all/themes/econfinal/images/icons/form-sprite.gif) no-repeat right 27px;margin-bottom:0;width:307px;}form.user-form div.valid{background:transparent url(/sites/all/themes/econfinal/images/icons/form-sprite.gif) no-repeat right -70px;width:307px;}form.error-default div.form-item-error{background:transparent url(/sites/all/themes/econfinal/images/icons/form-sprite.gif) no-repeat right 29px;margin-bottom:0;width:307px;}form.user-form div.messages-inline{width:285px;border:0;padding:0;margin:0 0 20px;font-style:normal;display:block;background-color:#efefef;padding:10px;border-right:1px solid #999999;border-bottom:1px solid #999999;font-size:1.3em;}form#user-register fieldset{clear:both;}form#user-register fieldset.penname-fieldset{margin-bottom:70px;}form.user-form legend,form#user-register span.password-confirm,form#user-register span.password-strength{position:absolute;left:-999999px;}form.user-form div#edit-password-wrapper div.description,form.user-form div#edit-pass-wrapper div.description,form.user-form fieldset.penname-fieldset div.form-item div.description,form.user-form fieldset.gn-fieldset div#edit-guest-title-wrapper div.description,form.user-form fieldset.fieldset-editable div.description{position:absolute;right:0;top:21px;width:250px;font-size:1.1em;z-index:1;color:#666666;}form.user-form fieldset.penname-fieldset div.form-item-error div.description{left:315px;}form.user-form fieldset.gn-fieldset > div.description{clear:both;font-size:1.2em;margin-bottom:10px;}form#user-register div#edit-persistent-login-wrapper{float:none;margin:0 0 10px;padding-right:0;width:auto;}form#user-register div#edit-pass-wrapper,form#user-register div#edit-pass-pass2-wrapper{margin-bottom:0;}form#user-register div#pass-column-wrapper{margin-bottom:20px;}form#passwordflow-change-password fieldset{margin-bottom:0;}body.page-user div.tabs{position:relative;top:1px;height:24px;}body.page-user div.tabs ul{position:absolute;overflow:hidden;padding:0;margin:0;border:0;}body.page-user div.tabs ul li a{background-color:#CDDADD;display:inline-block;color:#06526C;cursor:pointer;font-size:1.1em;height:18px;padding-top:4px;text-align:center;border:1px solid #cddadd;border-bottom:0;margin-right:.1em;}body.page-user div.tabs ul li.active a{border-bottom:0;height:19px;background-color:#ffffff;font-weight:bold;color:#000000;cursor:default;}form#user-profile-form{background-color:#FFFFFF;border:1px solid #cddadd;}form#user-profile-form div.messages-warning p{margin-bottom:10px;}form#user-profile-form div.messages-warning p strong{display:block;}form#user-profile-form fieldset{position:relative;padding:0;margin-top:5px;margin-bottom:10px;border-bottom:1px solid #eeeeee;clear:both;}form#user-profile-form fieldset.collapsed{margin:10px 0;border:0;}form#user-profile-form legend{position:static;font-size:1.4em;font-weight:bold;margin-bottom:10px;float:left;}form#user-profile-form fieldset.penname-fieldset legend{position:absolute;left:-999999px;}form#user-profile-form fieldset div.messages-status{margin-top:20px;clear:both}form#user-profile-form fieldset span.edit-block{font-size:12px;color:#09526D;margin-left:10px;font-weight:normal;float:right;cursor:pointer;}form#user-profile-form fieldset span.edit-block:hover{text-decoration:underline;}form#user-profile-form p.label{font-size:1.3em;margin-bottom:10px;clear:both;}form#user-profile-form p.label span.fake-password{font-weight:bold;font-size:.9em;color:#666666;}form#user-profile-form p.label-penname{position:relative;margin-bottom:30px;}form#user-profile-form p.label-penname span{position:absolute;right:0;top:10px;width:280px;font-size:.9em;}form#user-profile-form p.label a{margin-left:5px;font-size:1em;}form#user-profile-form div.email-warning a{font-size:1em;}html.js form#user-profile-form fieldset[name='editable'] label{display:block;float:left;}form#user-profile-form fieldset.penname-fieldset div.description{position:static;width:100%;clear:both;padding-top:5px;}form#user-profile-form fieldset.fieldset-editable div.description{position:absolute;padding:0;width:245px;}form.user-form fieldset.penname-fieldset div#edit-name-wrapper div.description,form#user-form fieldset.penname-fieldset div.description{margin-top:0;}form#user-profile-form fieldset.penname-fieldset span.edit-block{top:-8px;}form#user-profile-form input[type=checkbox]{float:left;margin-right:5px;}form#user-profile-form label span.label{display:none;}html.js form#user-profile-form label span.label{display:inline;}form#user-profile-form select.form-select{display:block;}html.js form#user-profile-form fieldset[name='editable'] input.form-text,html.js form#user-profile-form fieldset[name='editable'] select.form-select{display:none;}html.js form#user-profile-form input.editable-submit,html.js form#user-profile-form input.form-reset{position:absolute;bottom:0;left:-999999px;}html.js form#user-profile-form fieldset.fieldset-editable{background-color:#F4F8Fa;padding:10px;}html.js form#user-profile-form fieldset.fieldset-editable label{background-color:#F4F8Fa;float:none;}html.js form#user-profile-form fieldset.fieldset-editable input.form-text{border:1px solid #CCCCCC;color:#000000;float:none;margin:5px 0;height:19px;padding:3px 2px;width:280px;}html.js form#user-profile-form fieldset.fieldset-editable input.form-text,html.js form#user-profile-form fieldset.fieldset-editable select.form-select{display:block;}html.js form#user-profile-form fieldset.fieldset-editable input.form-submit,html.js form#user-profile-form fieldset.fieldset-editable input.form-reset{position:static;}html.js form#user-profile-form fieldset.fieldset-editable input.form-reset{left:0;font-size:1.2em;background-color:transparent;border:0;color:#08526D;text-decoration:underline;cursor:pointer;}html.js form#user-profile-form span.ajax-working{background:transparent url(/sites/all/themes/econfinal/images/icons/ajax-loader.gif) no-repeat 0 2px;display:block;bottom:0;left:205px;position:absolute;width:35px;height:35px;z-index:30;}#user-login-form div{text-align:left;}#user-login-form label{background-color:transparent;}form#passwordflow-change-password span.form-required{display:none;}div.view-ec-profile-comments{border:1px solid #CDDADD;padding:15px;}div.view-ec-profile-comments div.view-empty{font-size:1.3em;}html.js fieldset.collapsible .fieldset-wrapper{clear:both;} @media print{div.printer-friendly-msg{display:none}}div.printer-friendly-msg{position:absolute;top:-145px;left:-15px;margin-bottom:15px;font-size:1.2em;padding-top:15px;}div#header{margin-top:30px;}#header-main,#header-navigation,#column-right,.related-items,#article-region-inner,#article-region-bottom,#comments-guidelines,#comment-form-wrapper,ul.ec-page-tools,div.sort,div.comment-links,div.pager-wrapper,#footer-classifieds,#footer-topstripe,#footer-bottomstripe ul,#footer-bottomstripe-help,div.comments-area{display:none;}body #columns{background:none;font-size:1.5em;}body #columns #ec-article-body h1,body #columns #ec-article-body div headline,body #columns #ec-article-body p{line-height:27px;}#column-content{width:100%;}.node-type-article #ec-article #ec-article-body div.ec-article-content p a{text-decoration:none;}div.ec-article-content p a[href^="http://"]:after{content:" (" attr(href) ") ";}#footer #footer-bottomstripe{border-top:1px solid #000000;background-color:#ffffff;}#footer #footer-bottomstripe p{color:#000000;padding:6px 0 7px 0;}#footer #footer-bottomstripe a{color:#000000;} html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;background:transparent;}body{}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}ins{text-decoration:none;}del{text-decoration:line-through;}table{border-collapse:collapse;border-spacing:0;} .container{margin-left:auto;margin-right:auto;margin-top:8px;padding:10px 15px;width:961px;}.column,.grid-1,.grid-2,.grid-3,.grid-4,.grid-5,.grid-6,.grid-7,.grid-8,.grid-9,.grid-10,.grid-11,.grid-12,.grid-13,.grid-14,.grid-15,.grid-16{display:inline;float:left;position:relative;margin-left:15px;}.grid-first{margin-left:0;}.container .grid-1{width:46px;}.container .grid-2{width:107px;}.container .grid-3{width:168px;}.container .grid-4{width:229px;}.container .grid-5{width:290px;}.container .grid-6{width:351px;}.container .grid-7{width:412px;}.container .grid-8{width:473px;}.container .grid-9{width:534px;}.container .grid-10{width:595px;}.container .grid-11{width:656px;}.container .grid-12{width:717px;}.container .grid-13{width:778px;}.container .grid-14{width:839px;}.container .grid-15{width:900px;}.container .grid-16{width:961px;}.push-1,.push-2,.push-3,.push-4,.push-5,.push-6,.push-7,.push-8,.push-9,.push-10,.push-11,.push-12{position:relative;margin-left:0;}.container .push-1{left:61px;}.container .push-2{left:122px;}.container .push-3{left:183px;}.container .push-4{left:244px;}.container .push-5{left:305px;}.container .push-6{left:366px;}.container .push-7{left:427px;}.container .push-8{left:488px;}.container .push-9{left:549px;}.container .push-10{left:610px;}.container .push-11{left:671px;}.container .push-12{left:732px;}.container .push-13{left:793px;}.container .push-14{left:854px;}.container .push-15{left:915px;}.pull-1,.pull-2,.pull-3,.pull-4,.pull-5,.pull-6,.pull-7,.pull-8,.pull-9,.pull-10,.pull-11,.pull-12{position:relative;}.container .pull-1{left:-61px;}.container .pull-2{left:-122px;}.container .pull-3{left:-183px;}.container .pull-4{left:-244px;}.container .pull-5{left:-305px;}.container .pull-6{left:-366px;}.container .pull-7{left:-427px;}.container .pull-8{left:-488px;}.container .pull-9{left:-549px;}.container .pull-10{left:-610px;}.container .pull-11{left:-671px;}.container .pull-12{left:-732px;}.container .pull-13{left:-793px;}.container .pull-14{left:-854px;}.container .pull-15{left:-915px;} .clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;font-size:0;}.clearfix{display:inline-block;}/*_\*/ * html .clearfix{height:1%;}.clearfix{display:block;}/* End hide from IE/Mac */ .clearleft{clear:left;}.clearright{clear:right;}.clear{clear:both;}.floatleft{float:left;margin:0 15px 10px 0 !important;}.floatright{float:right;margin:0 0 10px 15px !important;}.aligncenter{display:block;margin-left:auto;margin-right:auto;}.aligntop{vertical-align:top;}.alignmiddle{vertical-align:middle;}.alignbottom{vertical-align:text-bottom;}.textleft{text-align:left;}.textright{text-align:right;}.textcenter,.center{text-align:center;}.no_display{left:-9999px;position:absolute;top:-9999px;}body{background-color:#F0F0F0;color:#333333;font-family:Verdana,Arial,sans-serif;font-size:62.5%;}#page{background-color:#FFF;}#title-wide{border-bottom:#598a9e 3px solid;margin-bottom:10px;}#title-wide h1#page-title{color:#598a9e;font-size:2.7em;font-weight:bold;line-height:1.3em;padding-bottom:5px;}a,a:visited,a:active,a:hover{color:#08526D;text-decoration:none;}a:hover,a:focus{text-decoration:underline;}h1{font-size:2.2em;}h2{font-size:1.3em;}.small{font-size:.85em;}div.help,div.messages,div.warning{font-size:1.3em;min-height:1em;padding:1em 1em 1em 3em;}div.help ul,div.messages ul{margin-bottom:1em;margin-left:0;}div.help ul li,div.messages ul li{margin-bottom:.25em;}div.help{background:white url(/sites/all/themes/econfinal/images/icons/icon-help.gif) 10px 12px no-repeat;border:1px solid rgb(88,139,160);margin-bottom:20px;}div.messages,div.warning{margin-bottom:10px;}div.messages-multiple{padding-bottom:0;}div.messages-status{background:white url(/sites/all/themes/econfinal/images/icons/icon-success.gif) 10px 12px no-repeat;border:1px solid rgb(51,153,102);}div.messages-status a{text-decoration:underline;}div.messages-status a:hover{text-decoration:none;}div.messages-warning,div.warning{background:white url(/sites/all/themes/econfinal/images/icons/icon-warning.gif) 10px 12px no-repeat;border:1px solid rgb(255,153,0);}div.messages-error{background:white url(/sites/all/themes/econfinal/images/icons/icon-error.gif) 10px 12px no-repeat;border:1px solid rgb(255,0,0);}div.messages-public{background:white url(/sites/all/themes/econfinal/images/icons/icon-public.gif) 10px 12px no-repeat;border:1px solid rgb(51,153,102);}div.messages-public span.title{font-size:1.3em;font-weight:bold;}div.warning{margin-top:20px;}span.warning{color:rgb(255,153,0);margin-left:.5em;}div.warning span.warning{display:none;}.esi-generated{display:none;}.ec-fieldset{border:1px solid #8BBBD1;border-top:3px solid #8BBBD1;clear:left;margin-bottom:15px;padding:8px;}.ec-fieldset fieldset{margin:0;padding:0;}textarea{border:1px solid #8BBBD1;}.ec-button{background:url("/sites/all/themes/econfinal/images/btn-enabled.png") repeat-x scroll 0 0 transparent;border:0 none;color:#FFFFFF;cursor:pointer;font-size:13px;font-weight:bold;margin:10px 0px;padding:5px 15px;text-transform:uppercase;text-decoration:none;}a.ec-button,a.ec-button:hover,a.ec-button:active,a.ec-button:visited{padding:7px 15px;color:#FFFFFF;text-decoration:none;}.form-item input.ec-input-text{border:1px solid #CCCCCC;color:#000000;font-size:13px;height:19px;line-height:19px;margin:5px 0;padding:3px 2px;}form.ec-inline-error div.messages-inline{border:0;padding:0;margin-bottom:20px;font-style:normal;background-color:#efefef;padding:10px;border-right:1px solid #999999;border-bottom:1px solid #999999;font-size:1.3em;left:0;position:relative;top:0;}form.ec-inline-error div.messages-inline div.messages-inline-icon{background:url("/sites/all/themes/econfinal/images/icons/form-sprite.gif") no-repeat scroll left top transparent;height:27px;position:absolute;right:0;top:-27px;width:18px;}.ec-box-container{padding:20px 15px 15px;border:1px solid #C0D3D9;background-color:#EEF3F7;}.ec-box-container h3,.ec-box-container .ec-subs-activation-method h2{border:1px solid #C0D3D9;font-size:1.27em;background:#C0D3D9;padding:4px 5px 3px 5px;height:100%;}.ec-box-container h2{font-family:verdana,sans-serif;font-size:1.5em;margin-bottom:15px;}a.comment-icon{padding-left:18px;margin-left:10px;background:url('/sites/all/themes/econfinal/images/media-icons.gif') no-repeat -118px 0;}a.comment-icon:hover{background-position:-118px -16px;}a.comment-icon span{background-color:#FFFFFF;color:#656565;}a.comment-icon:hover span{text-decoration:underline;color:#08526D;}html.no-flash object,html.no-flash embed{visibility:hidden;height:156px;margin-bottom:10px;}html.no-flash div a.missing-flash,html.no-flash div.noflash-box{width:70%;display:block;margin:0 auto 10px;height:150px;padding:10px;border:1px solid #dddddd;font-size:12px;color:#333333;text-decoration:none !important;background:#ffffff url(/sites/all/themes/econfinal/images/flash_logo.png) 50% 65% no-repeat;border-radius:15px;}html.no-flash div.noflash-box{background:none;}html.no-flash div a.missing-flash:hover{border-color:#08526D;}html.no-flash div a.missing-flash span{color:#08526D;text-decoration:underline;}html.no-flash div a.missing-flash span:hover{color:#08526D;text-decoration:none;}#video{display:none;}html.js #video{display:block;} #ec-article div.ec-article-image{line-height:1em;text-align:right;}#ec-article div.ec-article-image img{display:block;width:471px;}#ec-article div.ec-article-image span{color:#939997;font-size:10px;display:block;}#ec-article #ec-article-body p strong{font-size:1em;}#ec-article #ec-article-body div.footnotes p{font-size:1.2em;}#ec-article #ec-article-body div.footnotes p strong{font-size:1em;}#ec-article-body h1.rubric{font-size:1.4em;margin-bottom:5px;line-height:21px;}#ec-article-body .headline{font-size:2.2em;line-height:27px;font-weight:bold;margin-bottom:8px;}#ec-article-body h2.fly-title{color:#ff0000;font-size:1.4em;line-height:21px;margin-bottom:3px;}#ec-article-body p{font-size:1.3em;margin-bottom:13px;line-height:20px;}#ec-article-body p iframe{margin:0 auto;display:block;}#ec-article-body p.ec-article-info{color:#666666;font-size:1.1em;margin-bottom:13px;clear:both;float:left;}#ec-article-body p.ec-article-info em{font-style:normal;text-transform:uppercase;}#ec-article hr.ec-article-top{border-color:#ff0000;background-color:#ff0000;height:3px;border:3px;margin:0px;margin-bottom:12px;}#ec-article #article-region-inner{float:right;}#ec-article #ec-article-body div.content-image-float,#ec-article #ec-article-body div.content-image-float-right,#ec-article #ec-article-body div.content-image-full{float:right;margin:0 0 10px 15px;clear:both;padding-top:5px;}#ec-article #ec-article-body div.ec_article_large_image{padding-top:0;}#ec-article #ec-article-body div.ec-article-content img{display:block;}#ec-article #ec-article-body div.ec-article-content span.caption,#ec-article #ec-article-body div.ec-article-content span.credit{color:#000000;font-size:1.1em;text-align:left;float:left;}#ec-article #ec-article-body div.ec-article-content p a{text-decoration:underline;}#ec-article #ec-article-body div.ec-article-content p a:hover{text-decoration:none;}#ec-article #ec-article-body div.ec-article-content span.credit{float:right;color:#c0c0c0;}#ec-article #ec-article-body div.content-image-float img,#ec-article #ec-article-body div.content-image-float-right img,#ec-article #ec-article-body div.ec_article_large_image img{display:block;margin-bottom:2px;}#ec-article #ec-article-body div.ec_article_large_image{width:100%;margin:0 0 10px;float:left;}#ec-article #ec-article-body div.pullquote{border-bottom:3px solid #e0e0e0;border-top:3px solid #e0e0e0;float:right;font-size:1.6em;line-height:1.25em;margin:0 0 10px 15px;padding:7px 0 9px;width:228px;}#ec-article #ec-article-body div.blockquote{font-size:1.1em;line-height:1.2em;margin:0 35px 15px;}div.ec-content-image{float:left;margin:4px 15px 10px 0;}div.ec-thumbnail-right{float:right;margin:4px 0 10px 15px;}div.ec-thumbnail span{display:none;}div.ec-thumbnail a{display:block;}div.ec-thumbnail img{border:1px solid #e0e0e0;display:block;width:166px;}div.ec-thumbnail a span{background:transparent url(/sites/all/themes/econfinal/images/icons/enlarge-ico.gif) no-repeat 0 50%;display:block;padding-left:15px;margin-top:2px;}#ec-article div.ec-article-content p.multimedia{clear:both;}#ec-article li.pt-audio{margin-bottom:5px;line-height:1.6;}#ec-article li.pt-audio a{display:block;height:16px;padding-left:25px;background:transparent url(/sites/all/themes/econfinal/images/icons/pt-audio.gif) no-repeat left top;}#ec-article li.pt-audio a:hover{background-position:0 -16px;}#article-region-bottom{clear:both;}.ec-article-teaser{margin-bottom:15px;}.ec-article-teaser div.taxonomy-head{margin-bottom:5px;}.ec-article-teaser div.article-taxonomy-head h2{font-size:1.4em;line-height:21px;}.ec-article-teaser div.article-taxonomy-head p{margin-bottom:4px;}.ec-article-teaser div.article-taxonomy-head p span{font-size:1.4em;line-height:21px;}.ec-article-teaser div.article-taxonomy-head p span.date{font-size:1.1em;color:#666666;line-height:16px;}.ec-article-teaser div.article-taxonomy-body p{font-size:1.1em;line-height:17px;display:inline;}.ec-article-teaser .article-taxonomy-body a{text-decoration:underline;}.ec-article-teaser .article-taxonomy-body a:hover{text-decoration:none;}.ec-article-teaser div.content-image-full,.ec-article-teaser div.content-image-float,.ec-article-teaser div.content-image-float-right{display:none;}#articleOverlay{position:absolute;left:0;width:100%;height:100%;z-index:999100;background-color:#000;top:0;filter:alpha(opacity=30);-moz-opacity:0.3;opacity:0.3;}#articleImgContainer{position:absolute;z-index:999101;background-color:#fff;cursor:move;border:3px solid #e0e0e0;padding:5px 0;}#articleimageWrapper{margin:0 auto;}#articleimageWrapper img{margin-top:5px;display:block;margin:5px auto 0;}#articleimageWrapper div.image-instr{text-align:left;}#articleimageWrapper div.image-instr p{background:transparent url(/sites/all/themes/econfinal/images/icons/drag.gif) no-repeat scroll 0 50%;padding-left:18px;font-style:italic;float:left;height:15px;line-height:15px;margin-bottom:3px;}#articleimageWrapper div.image-instr span.lightbox-close{background:transparent url(/sites/all/themes/econfinal/images/icons/close-icon.gif) no-repeat scroll left top;cursor:pointer;float:right;height:15px;width:49px;margin-bottom:3px;}#articleimageWrapper div span.over-image-source{text-align:right;display:block;line-height:10px;font-size:9px;color:#939997;margin-right:10px;margin-bottom:5px;}#articleimageWrapper div span.over-image-caption{display:block;text-align:left;font-size:13px;font-weight:bold;line-height:10px;margin-left:10px}div.ec-article-content p object{display:block;margin:0 auto;}div.ec-article-content ul,div.ec-article-content ol{font-size:1.2em;list-style-type:disc;margin-left:27px;margin-bottom:13px}div.ec-article-content ol{list-style-type:decimal;margin-left:33px;}div.ec-article-content sup{vertical-align:super;font-size:.8em;}div.ec-article-content sub{vertical-align:sub;font-size:.8em;}div.ec-article-content blockquote{margin:10px;padding:5px 10px;}div.ec-article-content blockquote:before,div.ec-article-content blockquote:after{color:#ccc;content:'\201C';font-family:arial;font-size:4em;line-height:.1em;margin-right:.25em;vertical-align:-.4em;}div.ec-article-content blockquote:after{content:'\201D';margin-left:.25em;margin-right:0;}div.ec-article-content blockquote p,div.ec-article-content blockquote div{display:inline;font-style:italic;}div.ec-article-content blockquote div{font-size:1.3em;} .page-user #column-content h1#page-title{border-top:3px solid #FF0000;color:#FF0000;font-size:1.3em;padding-top:3px;}.view-ec-profile-comments div.pager-wrapper{padding:6px 0;}.view-ec-profile-comments div.pager-top{border-bottom:1px solid #8BBBD1;}.view-ec-profile-comments div.pager-wrapper a.top-link{display:block;float:left;line-height:1.3em;} .node-blog-tpl div.blog-title{height:50px;margin-bottom:5px;background-color:#d9e3e5;border-bottom:1px solid #5b7783;}.node-blog-tpl div.blog-title img,.node-blog-tpl div.blog-title div{float:left;}.node-blog-tpl div.blog-title div{margin-left:9px;}.node-blog-tpl div.blog-title h2,.node-blog-tpl div.blog-title .blog-post-header h4{font-size:1.1em;font-weight:bold;padding-top:5px;}.node-blog-tpl h1,.node-blog-tpl div.blog-title h3{font-size:2.4em;clear:both;color:#5b7783;font-weight:normal;padding:0 0 2px 0;}.node-blog-tpl h2.ec-blog-fly-title,.node-blog-tpl h3.ec-blog-fly-title{color:#666666;font-size:1.4em;line-height:21px;margin-top:10px;margin-bottom:3px;}.node-blog-tpl h1.ec-blog-headline,.node-blog-tpl p.ec-blog-headline{font-size:2.2em;font-weight:bold;line-height:27px;margin-bottom:10px;color:#333333;}div.node-blog-tpl div.ec-blog-body ul{list-style-type:circle;margin:0 0 10px 15px;font-size:1.2em}div.node-blog-tpl div.ec-blog-body ul li{margin-bottom:8px;}.node-blog-tpl p.ec-blog-info{font-size:1.1em;color:#666666;margin-bottom:13px;float:left;}.node-blog-tpl div.ec-blog-body p{font-size:1.3em;margin-bottom:13px;line-height:20px;}.node-blog-tpl div.ec-blog-body img{clear:both;float:right;margin:0 0 10px 15px;padding-top:5px;}.node-blog-tpl div.ec-blog-body p a{text-decoration:underline;}.node-blog-tpl div.ec-blog-body p a:hover{text-decoration:none;}.node-blog-tpl div.ec-blog-body blockquote{padding:0 13px;font-size:1.2em;line-height:20px;font-style:italic;margin-bottom:13px;}.node-blog-tpl div.ec-blog-body blockquote p{font-size:1em;}.node-blog-tpl div.ec-blog-body blockquote ol li{font-size:1em;}div.ec-blog-body ul,div.ec-blog-body ol{font-size:1.2em;list-style-type:disc;margin-left:27px;margin-bottom:13px;}div.ec-blog-body ol{list-style-type:decimal;margin-left:33px;}div.ec-blog-body sup{vertical-align:super;font-size:.8em;}div.ec-blog-body sub{vertical-align:sub;font-size:.8em;}div.ec-blog-body blockquote{margin:10px;padding:5px 10px;}div.ec-blog-body blockquote p,div.ec-blog-body blockquote div{display:inline-block;margin-bottom:0;font-style:italic;}div.ec-blog-body blockquote p:first-child:before,div.ec-blog-body blockquote p:last-child:after{display:inline;color:#ccc;content:'\201C';font-family:arial;font-size:4em;line-height:.1em;margin-right:.25em;vertical-align:-.4em;}div.ec-blog-body blockquote p:last-child:after{content:'\201D';margin-left:.25em;margin-right:0;}div.ec-blog-body blockquote div{font-size:1.3em;}.node-blog-tpl #add-comment-container h2{border-top:3px solid #7FAABB;font-size:1.2em;font-weight:bold;padding:10px 0;}.node-blog-tpl #add-comment-container p{font-size:1.2em;margin-bottom:10px;}.node-blog-tpl #comment-input-container{font-size:1.3em;width:569px;background-color:#F0F0F0;border:1px solid #ABC6CF;height:auto;margin:0 0 4px;padding:12px;}.node-blog-tpl #comment-input-container #edit-comment-wrapper{width:100%;}.node-blog-tpl #comment-input-container textarea.form-textarea{border:1px solid #ABC6CF;height:140px;margin:10px 0 0;width:100%;}.node-blog-tpl #commentsPage .view-content{font-size:1.2em;}.node-blog-tpl div.ec-blog-body{clear:both}.node-blog-tpl ul.ec-page-tools{margin-top:10px;}.node-blog-tpl .ec-pt-expanded-teaser{border-bottom:1px solid #e0e0e0;margin-bottom:0;}.node-blog-tpl div.view-content div.item-list ul li.views-row{margin:0;margin-bottom:25px;list-style-type:none;}.node-blog-tpl div.video-wrapper{margin-bottom:13px;}.node-blog-tpl div.ec-blog-body p img{margin-bottom:13px;}ul.print-choice{position:absolute;z-index:10000000;border:3px solid #09526D;background:#D9E3E5 url(/sites/all/themes/econfinal/images/info-icon.gif) no-repeat 369px 4px;padding:20px;left:250px;top:0;width:350px;}ul.print-choice p{margin-bottom:10px;font-weight:bold;}ul.print-choice li{margin-bottom:5px;}ul.print-choice li em{font-weight:bold;font-style:normal;}div.no-comments{display:none;}.node-blog-tpl div.ec-blog-body img.gallery{width:593px;border:1px solid #000000;margin:0px 0px 0px 20px;padding:0;}.node-blog-tpl div.ec-blog-body div.blackbox{background:#000000;color:#FFFFFF;margin-top:40px;clear:both;overflow:hidden;}.node-blog-tpl div.ec-blog-body div.blackbox div.numberbox{float:left;font-size:30px;color:#BBBBBB;width:35px;padding:0px 5px 5px 10px;margin:15px 0px;}.node-blog-tpl div.ec-blog-body div.blackbox div.textbox{float:right;width:535px;padding:5px;margin:15px 0px;} body.guest-network-page #header{margin-bottom:5px;}body.guest-network-page .gn-subheader{margin-bottom:0;}body.guest-network-page #column-content{padding-top:15px;}.gn-subheader{margin-bottom:15px;color:#09526D;border-bottom:2px solid #09526D;}.gn-subheader a,.gn-subheader div{display:block;float:left;font-size:2.4em;outline:none;}.gn-subheader a:hover{text-decoration:none;}.gn-subheader a:hover span{color:#608999;}.gn-subheader span{display:block;float:left;}.gn-subheader a span,.gn-subheader div span{font-weight:bold;margin:10px 0;padding-right:10px;border-right:1px solid #7faabb;font-family:arial;}.gn-subheader span.gn-logo{margin:0 10px;padding:10px 0;color:#7faabb;border:0;}.gn-subheader img{display:block;float:left;}.gn-subheader span.sub-title{font-size:14px;color:#666666;margin-top:17px;margin-left:10px;border:0;font-weight:normal;font-family:verdana;}.ec-guest_network-section{font-size:1.4em;font-weight:bold;color:#000000;margin-bottom:10px;line-height:.8em;}.ec-guest_contribution div.editor-question{font-size:1.4em;font-weight:bold;line-height:20px;margin-bottom:10px;padding:5px 5px 8px;background-color:#f2eee2;border-top:1px solid #dcd8b7;}.ec-guest_contribution div.editor-question span.question{float:left;width:82%;padding-left:5px;}.ec-guest_contribution div.editor-question span.question-date{display:block;float:right;font-size:.7em;color:#999999;font-weight:normal;}.ec-guest_contribution-body img.profile-pic{max-width:46px;margin-top:3px;}.ec-guest_contribution-body div.contribution-body-right span{font-size:1.3em;}.ec-guest_contribution-body div.headline{font-size:1.3em;font-weight:bold;margin-bottom:8px;line-height:15px;}.ec-guest_contribution-body p a{text-decoration:underline;}.ec-guest_contribution .guest-info strong{font-size:1.1em;}.ec-guest_contribution-body div.guest-info,#related-contributions div.rc-info{margin-bottom:6px;}.ec-guest_contribution-body div.guest-info div,#related-contributions div.rc-info div{float:left;}.ec-guest_contribution-body div.guest-info div.gc-date,#related-contributions div.rc-info div.rc-date{float:right;}#related-contributions a.rc-see-all{float:right;}.ec-guest_contribution-body p,.question-description p{font-size:1.3em;margin-bottom:13px;line-height:20px;clear:both;}.ec-guest_contribution div.editor-date-by{font-size:1em;color:#666666;margin-bottom:8px;}.ec-guest_contribution-teaser .ec-guest_contribution ul.ec-pt-expanded,.ec-guest_network_forum .ec-guest_contribution ul.ec-pt-expanded,.view-guest-forum-attached-view .ec-guest_contribution ul.ec-pt-expanded{border:0;margin-bottom:5px;}.ec-guest_contribution ul.ec-pt-expanded{padding-top:10px;}.ec-guest_contribution ul.ec-pt-expanded li{padding-top:0;}.ec-guest_contribution-teaser div.ec-guest_contribution-content p,.ec-guest_network_forum div.ec-guest_contribution-content p,.view-guest-forum-attached-view div.ec-guest_contribution-content p{margin-bottom:0px;}.ec-guest_contribution-teaser div.ec-guest_contribution-content p img,.ec-guest_network_forum div.ec-guest_contribution-content p img,.view-guest-forum-attached-view div.ec-guest_contribution-content p img{float:right;padding:0 0 10px 10px;}.ec-guest_contribution-teaser div.readmore-wrapper,.ec-guest_network_forum div.readmore-wrapper,.view-guest-forum-attached-view div.readmore-wrapper{font-size:1.1em;float:right;}.ec-guest_question .ec-guest_contribution-body{border-top:1px solid #E0E0E0;padding-top:15px;}.ec-guest-contributions p{font-size:12px;line-height:20px;margin-bottom:15px;}body.node-type-editor-question ul.ec-pt-expanded,body.node-type-guest-network-forum ul.ec-pt-expanded,.view-guest-forum-attached-view ul.ec-pt-expanded{width:60%;float:left;margin-left:61px;margin-top:-24px;}.view-guest-forum-attached-view ul.ec-pt-expanded{margin-left:0px;}.ec-guest_contribution ul.ec-pt-expanded li.recommended{background-position:left top;}.ec-guest_contribution ul.ec-pt-expanded ul.pt-share-show{top:15px;}div.field-field-eq-contrib-count{text-align:right;margin-bottom:10px;}div.field-field-eq-contrib-count div.field-label-inline-first{font-weight:normal;}.ec-guest_network-section span{float:right;font-size:.7em;font-weight:normal;}.ec-guest_network-contributor-page div.view-gn-guest-profiles ul li.views-row{clear:both;list-style:none;margin:0;}.ec-guest_network-contributor-page div.view-gn-guest-profiles div.guest-fields{margin-bottom:7px;font-size:1.1em;}.ec-guest_network-contributor-page div.view-gn-guest-profiles div.views-field-family-name{font-size:1.3em;font-weight:bold;line-height:11px;margin-bottom:10px;}.ec-guest_network-contributor-page div.view-gn-guest-profiles div.views-field-editor-intro{margin-top:15px;}.ec-guest_network-contributor-page div.view-gn-guest-profiles ul li > div{margin-bottom:15px;padding-bottom:8px;border-bottom:1px solid #dedede;}.ec-guest_network-contributor-page div.view-gn-guest-profiles ul li.views-row-last > div{border-bottom:0;margin-bottom:0;padding-bottom:0;}.ec-guest_network-contributor-page div.view-gn-guest-profiles div.views-field-editor-intro{font-size:1.3em;line-height:20px;}body.guest-network-page .ec-guest_contribution-body ul,body.guest-network-page .ec-guest_contribution-body ol{font-size:1.2em;list-style-type:disc;margin-left:27px;margin-bottom:13px}body.guest-network-page .ec-guest_contribution-body ol{list-style-type:decimal;margin-left:33px;}body.guest-network-page .ec-guest_contribution-body sup{vertical-align:super;font-size:.8em;}body.guest-network-page .ec-guest_contribution-body sub{vertical-align:sub;font-size:.8em;}body.guest-network-page .ec-guest_contribution-body blockquote{margin:10px;padding:5px 10px;}body.guest-network-page .ec-guest_contribution-body blockquote:before,body.guest-network-page .ec-guest_contribution-body blockquote:after{color:#ccc;content:'\201C';font-family:arial;font-size:4em;line-height:.1em;margin-right:.25em;vertical-align:-.4em;}body.guest-network-page .ec-guest_contribution-body blockquote:after{content:'\201D';margin-left:.25em;margin-right:0;}body.guest-network-page .ec-guest_contribution-body blockquote p,body.guest-network-page .ec-guest_contribution-body blockquote div{display:inline;font-style:italic;}body.guest-network-page .ec-guest_contribution-body blockquote div{font-size:1.3em;}#block-views-contribs_by_question-block_1{clear:both;}#related-contributions{padding:10px 0 10px;border-top:1px solid #e0e0e0;clear:both;}#related-contributions .views-row{margin-bottom:5px;}#related-contributions p.question{font-size:1.3em;margin-bottom:10px;font-weight:bold;}#related-contributions div.rc-info{margin-bottom:8px;}#related-contributions div.rc-info div{float:left;line-height:10px;margin-bottom:5px;}#related-contributions div.rc-info div strong{font-size:1.1em;}.ec-guest_contribution-body div.guest-info div.gc-date,#related-contributions div.rc-info div.rc-date{float:right;}#related-contributions ul p a.comment-icon{background:transparent url(/sites/all/themes/econfinal/images/icons/pt-comment.gif) no-repeat scroll left top;font-size:.9em;padding-left:18px;margin-left:5px;}#related-contributions ul{padding:0;}#related-contributions ul li{clear:both;list-style:none;margin:0;}#related-contributions div.rc-pic img{max-width:46px;margin-bottom:10px;}#related-contributions div.rc-info p.contribution{font-size:1.2em;margin-bottom:5px;clear:both;}#related-contributions a.contribustions-comments{padding-left:25px;display:block;font-size:1em;line-height:14px;background:transparent url(/sites/all/themes/econfinal/images/icons/pt-comment.gif) no-repeat scroll left top;}#related-contributions p.rc-more{text-align:right;}div#block-ec_guests-ec_guests_most_active_questions{border:1px solid #c4d4dc;background-color:#f1f5f6;padding:15px 15px 5px;margin-bottom:15px;}div#block-ec_guests-ec_guests_most_active_questions h3{font-weight:bold;font-size:1.3em;}div#block-ec_guests-ec_guests_most_active_questions p{font-size:1.1em;}div#block-ec_guests-ec_guests_most_active_questions ul{padding:0;margin:0;font-size:1.2em;}div#block-ec_guests-ec_guests_most_active_questions div.item-list ul li{list-style-type:none;margin:0;clear:left;border-top:1px solid #c4d4dc;}div#block-ec_guests-ec_guests_most_active_questions div.item-list ul li.views-row-first{border:none;}div#block-ec_guests-ec_guests_most_active_questions div.item-list ul li div.views-field-title{float:left;width:80%;margin:10px 0;}div#block-ec_guests-ec_guests_most_active_questions div.item-list ul li div.views-field-field-eq-contrib-count-value{float:right;margin-top:10px;}div#block-ec_guests-ec_guests_featured_guest,div#block-ec_guests-ec_guests_about_our_guest{background-color:#F1F5F6;border:1px solid #C4D4DC;margin-bottom:15px;padding:10px 15px 5px;}.ec-guest_network-contributor-page #block-ec_guests-ec_guests_featured_guest div.view-gn-guest-profiles,.ec-guest_network-contributor-page #block-ec_guests-ec_guests_about_our_guest div.view-gn-guest-profiles{margin-top:0;}div#block-ec_guests-ec_guests_featured_guest h3,div#block-ec_guests-ec_guests_about_our_guest h3{font-size:1.3em;font-weight:bold;margin-bottom:10px;}div#block-ec_guests-ec_guests_featured_guest div.views-row > div,div#block-ec_guests-ec_guests_about_our_guest div.views-row > div{margin-bottom:4px;margin-left:56px;}div#block-ec_guests-ec_guests_featured_guest div.views-row div.views-field-picture,div#block-ec_guests-ec_guests_about_our_guest div.views-row div.views-field-picture{float:left;margin-right:10px;margin-left:0;width:46px;height:55px;}div#block-ec_guests-ec_guests_featured_guest div.views-row div.views-field-family-name,div#block-ec_guests-ec_guests_about_our_guest div.views-row div.views-field-family-name{margin-bottom:6px;font-weight:bold;line-height:7px;}div#block-ec_guests-ec_guests_featured_guest div.views-row div.views-field-editor-intro,div#block-ec_guests-ec_guests_about_our_guest div.views-row div.views-field-editor-intro{clear:both;font-size:1.1em;line-height:18px;padding:5px 0 0;margin-top:0;margin-left:0;}div#block-ec_guests-ec_guests_featured_guest div.views-field-editor-intro div.field-content,div#block-ec_guests-ec_guests_about_our_guest div.views-field-editor-intro div.field-content{border-top:1px solid #c4d4dc;padding-top:2px;}div#block-ec_guests-ec_guests_featured_guest div.more-link,div#block-ec_guests-ec_guests_about_our_guest div.more-link{margin-bottom:8px;margin-top:10px;}html.js div.views-field-editor-intro div.field-content span.part2{position:absolute;top:-10000000px;left:-999999999px;}html.js div.views-field-editor-intro div.field-content span.expand{position:static;}html.js div.views-field-editor-intro div.field-content span.continue{padding:1px 57px;margin-left:5px;cursor:pointer;background:transparent url(/sites/all/themes/econfinal/images/continue-reading.gif) no-repeat scroll 0 3px;}html.js div.views-field-editor-intro div.field-content span.continue:hover{background:transparent url(/sites/all/themes/econfinal/images/continue-reading.gif) no-repeat scroll 0 -15px;}#block-ec_guests-ec_guests_sub_nav{margin-bottom:15px;}#block-ec_guests-ec_guests_sub_nav div.title h3{font-size:1.3em;color:#999999;background-color:#f0f4f4;font-weight:bold;padding:5px 15px 5px;border-bottom:1px solid #dedede;margin-top:1px;display:none;}ul#gn-subnav{background-color:#ffffff;margin:0;padding:0;}ul#gn-subnav li{padding:5px 15px 5px 15px;border-bottom:1px solid #dedede;font-size:1.1em;border-top:1px solid #ffffff;background-color:#f0f4f4;}ul#gn-subnav li.selected{background-color:#dbdbdb;font-weight:bold;border-top:1px solid #e7e7e7;}div.gn-subheader div.rss-feed{float:right;padding-top:20px;}div.gn-subheader div.rss-feed a{background:transparent url(/sites/all/themes/econfinal/images/icons/icon-feed.gif) no-repeat right 50%;padding-right:20px;font-size:.5em;color:#08526D;} #header{line-height:1em;margin-bottom:15px;}#header-topstripe{background-color:#09526d;color:white;border-bottom:1px solid white;}#header-topstripe img{display:block;}#header-topstripe a{color:white;}#header-logo{float:left;width:183px;}#header-main{border-left:1px solid white;float:left;height:77px;padding:12px 12px 0 20px;width:745px;}#header-links{border-bottom:1px solid #396C7E;font-size:1.1em;height:18px;}#header-links li,#header-login li{list-style:none;float:left;height:13px;padding-right:9px;margin:0;}#header-links li.last{padding-right:0;}#header-login ul{margin:0;}#header-links li.pipe,#header-login li{border-left:1px solid #396C7E;padding-left:9px;}#header-login li.first{border-left:0;padding-left:0;}#header-links a{color:#A2D4E8;line-height:normal;}#header-links-user{float:left;width:380px;}#header-links-general{float:right;width:360px;}#header-links-general ul{float:right;}#header-links li a.rss-link{background:url(/sites/all/themes/econfinal/images/icons/masthead-sprite.gif) no-repeat 0 -77px;padding-left:14px;}#header-timestamp{color:#AFC4D0;height:14px;text-align:right;padding-top:7px;width:745px;}#header-welcome-message{float:left;color:#A2D4E8;font-size:1.1em;font-weight:normal;margin-top:14px;height:18px;line-height:18px;}#header-search{float:right;padding-top:4px;width:179px;}#header-search div.search-button input.input-button{background:transparent url(/sites/all/themes/econfinal/images/icons/masthead-sprite.gif) no-repeat 0 -27px;height:24px;border:0;width:27px;}#header-search div.search-button input.input-button:hover{background:transparent url(/sites/all/themes/econfinal/images/icons/masthead-sprite.gif) no-repeat 0 -52px;}#header-search .search-field,#header-search .search-button{float:left;}#header-search .search-button{width:27px;}#header-search .search-field{background-color:#DFE8EB;padding:2px;margin-right:8px;width:140px;height:20px;}#header-search .search-field input{border:1px solid #B1C8D0;color:#666666;font-size:1.1em;height:16px;width:134px;padding:1px 2px;}#header #header-login{position:relative;color:#666666;}#header #header-login li a.show-login{position:relative;outline:none;}#header #header-login li span.ajax-loader{display:block;height:16px;left:-19px;position:absolute;top:0;width:16px;background:transparent url(/sites/all/themes/econfinal/images/icons/loader-masthead.gif) no-repeat left top;}#header #header-login div.login-box{position:absolute;left:-36px;top:26px;background-color:#dfe8eb;z-index:200;}#header #header-login div.login-box div.close{background:transparent url(/sites/all/themes/econfinal/images/icons/masthead-sprite.gif) no-repeat scroll 0 -15px;cursor:pointer;top:10px;right:10px;height:11px;width:0;padding-left:11px;position:absolute;overflow:hidden;}#header #header-login div.login-box div.close:hover{background:transparent url(/sites/all/themes/econfinal/images/icons/masthead-sprite.gif) no-repeat scroll -12px -15px;}#header #header-login div.login-box span.login-indicator{display:block;width:27px;height:14px;position:absolute;top:-10px;left:45px;background:transparent url(/sites/all/themes/econfinal/images/icons/masthead-sprite.gif) no-repeat 0 0;}#header #header-login div.login-box form{margin:3px;background-color:#ffffff;border:1px solid #b1c8d0;padding:22px 20px 5px;overflow:hidden;width:205px;}#header #header-login div.login-box form div.form-item{position:relative;margin:0 0 10px;padding:0;width:224px;background-image:none;}#header #header-login div.login-box form div.form-item-error{margin-bottom:0;}#header #header-login div.login-box form div.messages-inline{width:185px;font-size:1em;margin-bottom:10px;}#header #header-login div.login-box form div.form-item label{font-size:13px;font-weight:normal;}#header #header-login div.login-box form div.form-item .form-text{font-size:13px;color:#666666;border:1px solid #cccccc;height:19px;width:200px;margin:5px 0;padding:3px 2px;}#header #header-login div.login-box form div.form-item-error{background:transparent url(/sites/all/themes/econfinal/images/icons/form-sprite.gif) no-repeat right 25px;margin-bottom:0;}#header #header-login div.login-box form div.valid{background:transparent url(/sites/all/themes/econfinal/images/icons/form-sprite.gif) no-repeat right -25px;}#header #header-login div.login-box form div.form-item-error input.form-text{margin-bottom:0;}#header #header-login div.login-box form div.valid input.form-text{margin-bottom:0;}#header #header-login div.login-box form div.input-box .input-text-changed{color:#000000;}#header-links div.login-box a{color:#09526D;text-decoration:underline;display:block;}#header-links div.login-box a:hover{text-decoration:none;}#header #header-login div.login-box form div#edit-persistent-login-wrapper{float:right;margin-top:14px;width:140px;margin-right:0;}#header #header-login div.login-box #edit-submit{border:2px solid #b1c8d0;background-color:#5B8A9E;color:#ffffff;cursor:pointer;margin-top:10px;padding:3px 0;width:65px;font-size:11px;float:left;}#header #header-login div.login-box #edit-submit:hover{background-color:#1A81A8;}#header-search input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;} ul#header-navigation-main{background-color:#598A9E;font-family:Arial,sans-serif;overflow:hidden;height:100%;}ul#header-navigation-main li{float:left;height:18px;padding-top:7px;text-align:center;}ul#header-navigation-main li.highlighted{background-color:#476E7E;}ul#header-navigation-main li.active{background-color:#D2DCDD;}ul#header-navigation-main li.active a{color:#08526D;}ul#header-navigation-main li.business-finance{width:175px;}ul#header-navigation-main li.science-technology{width:180px;}ul#header-navigation-main li.world{width:125px;}ul#header-navigation-main li.has-child a{background:transparent url(/sites/all/themes/econfinal/images/icons/masthead-sprite.gif) no-repeat right -92px;padding-right:30px;}ul#header-navigation-main li.world-active a,ul#header-navigation-main li.business-active a,ul#header-navigation-main li.economics-active a{background-image:none;padding-right:0;}ul#header-navigation-main li.site-index{width:100px;}ul#header-navigation-main li.home,ul#header-navigation-main li.culture{width:80px;}ul#header-navigation-main li.print-edition{width:100px;}ul#header-navigation-main li.economics{width:120px;}ul#header-navigation-main li a{color:white;font-size:1.3em;margin-top:7px;}ul#header-navigation-main li a:hover{text-decoration:none;}ul#header-navigation-main li.site-index{border-right:1px solid #fff;}ul#header-navigation-main li:hover{background-color:#476E7E;}ul#header-navigation-main li.active{background-color:#D2DCDD;}ul#header-navigation-main li.active a{color:#08526D;}#header-navigation-main li ul#world-bg,#header-navigation-main li ul#business-bg,#header-navigation-main li ul#economics-bg{position:absolute;display:none;z-index:102;width:166px;margin:0;padding:0;}#header-navigation-main li ul#business-bg{width:220px;}body.world-menu .non-js#header-navigation-main li.world:hover #world-bg,body.business-menu .non-js#header-navigation-main li.business-finance:hover #business-bg,body.economics-menu .non-js#header-navigation-main li.economics:hover #economics-bg{z-index:10001;display:block;}#world-bg li.shadow,#business-bg li.shadow,#economics-bg li.shadow{background:transparent url('/sites/all/themes/econfinal/images/dropshadow.png') bottom right !important;margin-top:5px;padding:0 6px 6px 0;overflow:hidden;height:100%;display:block;}#world-bg li.shadow,#world-bg li.shadow:hover,#business-bg li.shadow,#business-bg li.shadow:hover,#economics-bg li.shadow,#economics-bg li.shadow:hover{background-color:transparent;}body.world-menu #header-navigation-main li.world ul#world-bg li ul.subnav,body.business-menu #header-navigation-main li.business-finance ul#business-bg li ul.subnav,body.economics-menu #header-navigation-main li.economics ul#economics-bg li ul.subnav{background-color:#fff;padding:5px;border:2px solid #476e7e;width:160px;}body.business-menu #header-navigation-main li.business-finance ul#business-bg li ul.subnav{width:172px;}#header-navigation-main li ul.subnav li{display:block;padding:5px 3px 5px 18px;float:none;background:url('/sites/all/themes/econfinal/images/nav-bg.gif') repeat-x bottom;margin-top:1px;text-align:left;height:12px;}#header-navigation-main li ul.subnav li a{color:#08526d;font-size:1.1em;padding:0;margin:0;}#header-navigation-main li ul.subnav li:hover,#header-navigation-main li ul.subnav li.active{background-color:#e6ecee;cursor:pointer;}#header-navigation-main li ul.subnav li:hover a{text-decoration:underline;}body.world-menu-inactive #header-navigation-main li:hover ul#world-bg li ul.subnav,body.business-menu-inactive #header-navigation-main li:hover ul#business-bg li ul.subnav,body.economics-menu-inactive #header-navigation-main li:hover ul#economics-bg li ul.subnav{display:block;}body.world-menu-inactive #header-navigation-main li.world-active,body.business-menu-inactive #header-navigation-main li.business-active,body.economics-menu-inactive #header-navigation-main li.economics-active,#header-navigation-main li.active{background-color:#D2DCDD;}body.world-menu-inactive #header-navigation-main li.world-active a,body.business-menu-inactive #header-navigation-main li.business-active a,body.economics-menu-inactive #header-navigation-main li.economics-active a,#header-navigation-main li.active a{color:#08526D;}#header-navigation-sub{font-size:1.1em;height:16px;padding:4px 0 2px;margin-top:1px;background:#D2DCDD url('/sites/all/themes/econfinal/images/nav-bg.gif') repeat-x bottom;}#header-navigation-sub li{border-right:1px solid #99B3B6;height:13px;display:inline;}#header-navigation-sub li.last{border-right:none;}#header-navigation-sub li h1{display:inline;font-size:1em;font-weight:normal;}#header-navigation-sub li a{color:#09526D;padding:0 10px;}#header-navigation-sub li.active a{font-weight:bold;}#header-navigation-sub li.first a{padding-left:0;} .ec-ads{background-color:#F0F0F0;margin-bottom:15px;padding:4px 0 15px;text-align:center;}.ec-ads p{text-align:left;color:#c8c8c8;margin-bottom:9px;margin-left:5px;}.ec-ads img{display:block;margin:0 auto;}.ec-ads-noads{text-align:center;margin-bottom:20px;}.ec-ads div,.ec-ads table{margin:0 auto;}#leaderboard{height:100%;padding-bottom:10px;}#leaderboard-ad{width:728px;height:90px;float:left;margin-right:10px;}#subslug-ad{width:223px;height:90px;float:left;}#footer-classifieds{margin:0;padding:15px 0;background-color:#f0f0f0;border-top:1px solid #e0e0e0;}#footer-classifieds div.title{margin:0 0 15px 15px;font-size:1.2em;font-weight:bold;}div.ec-classified-box{float:left;background-color:#DDDDDD;width:125px;height:125px;margin:0 17px;border:1px solid #e0e0e0;}div.ec-classified-box a{display:block;}#footer-classifieds div.first{margin-left:15px;}#footer-classifieds div.last{margin-right:0;}#ribbon_container{font-family:Arial;text-transform:uppercase;font-size:9px;padding:5px 10px 5px 10px;width:329px;height:37px;background-color:#f4f8fa;border:1px solid #cddadd;}#ribbon_container h1 a{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:16px;text-transform:none;font-weight:bold;}#ribbon_container #sponsorship{text-align:right;width:auto;float:right;padding:0;margin:0;color:#999;}#ribbon_container #sponsorship #about_sponsorship{margin-top:10px;font-size:9px;font-family:Verdana;text-transform:capitalize;}.sponsor-ad-wrapper{border:1px solid #C8C8C8;margin-bottom:2px;padding:0 12px;text-align:right;}.sponsor-ad-wrapper .sponsor-byline{color:#C8C8C8;padding:3px 0;}.sponsor-ad-wrapper .sponsor-info{padding:0px 0px 3px;}#sponsored-topic{position:absolute;top:0;right:0;height:60px;width:120px;}#title-wide-sponsored-by{text-align:right;color:#999999;font-weight:bold;line-height:60px;padding-right:15px;} #footer{background-color:#FFFFFF;clear:both;margin-top:15px;}#footer-index{background:#F4F8FA;border-top:3px solid #D5DFDF;border-bottom:3px solid #D5DFDF;margin-bottom:15px;padding:8px 15px;}div.footer-column{display:inline;float:left;position:relative;}#footer-index-title{color:#000000;font-size:1.3em;font-weight:bold;margin-bottom:5px;}#footer-index h6{color:#666666;font-size:1.2em;line-height:1.4em;}#footer-index h6.empty-section{margin-top:10px;}#footer-index h6 a{color:#08526D;}#footer-index ul{font-size:1.1em;line-height:1.4em;}#footer-index ul li{float:none;padding:0;}#footer-index ul li a{float:none;border:none;color:#08526D;}#footer-index-site{background:transparent url(/sites/all/themes/econfinal/images/footer-links-bg.gif) repeat-y left top;margin-top:10px;margin-right:10px;margin-bottom:10px;width:710px;}#footer-index-site ul,#footer-index-site div#footer-index-site-4 ul{margin-bottom:10px;}#footer-index-site ul:last-of-type{margin-bottom:0;}#footer-index-site-1{margin-right:25px;width:150px;}#footer-index-site-2{margin-right:25px;width:165px;}#footer-index-site-3{margin-right:25px;width:170px;}#footer-index-site-4{width:150px;}#footer-index-econgroup{width:211px;}div.footer-index-section{background:#D5DFDF;margin-bottom:1px;padding:10px;}div.footer-index-section a{border:none;}#footer-index-econgroup h6{color:#000000;}#footer-index-econgroup h6 a{color:#08526D;}#footer-index-link{clear:both;font-size:1.1em;color:#000000;}#footer-stripes,#footer-stripes a{color:#FFFFFF;}#footer-stripes ul{list-style:none;}#footer-stripes ul li{float:left;padding:6px 2px 7px 5px;}#footer-stripes ul li a.line{border-left:1px solid #FFFFFF;padding-left:.6em;}#footer-stripes ul li.right-link{float:right;padding-right:6px;}#footer-stripe-top{background-color:#5B7783;margin-bottom:5px;}#footer-stripe-bottom{background-color:#588BA0;} div.hero-item .fly-title,div.tout .fly-title,div.homepage-highlight .fly-title,div.homepage-package .fly-title,#audiovideo .fly-title{margin-bottom:5px;font-size:1.1em;line-height:1.3em;}div.hero-item .headline,div.tout .headline,div.homepage-highlight .headline,div.homepage-package .headline{font-size:1.4em;font-weight:bold;line-height:1.3em;}div.hero-item .rubric,div.tout .rubric,div.homepage-highlight .rubric,div.homepage-package .rubric{font-size:1.1em;font-weight:normal;line-height:1.3em;}div.tout .link,div.homepage-package .link{font-weight:bold;}#audiovideo #video{height:603px;}html.hp-no-flash #audiovideo #video{display:none;}#homepage-touts{height:231px;margin-bottom:20px;}div.tout{overflow:hidden;padding:8px;border:1px solid #C1D3D9;background:#F4F8FA;}div.tout h2.fly-title{color:#000000;}div.tout div.headline{}div.tout h3.rubric{margin-top:5px;}div.tout div.link{margin-top:5px;}div.tout-1{height:82px;margin-bottom:15px;}div.tout-1 div.headline{font-size:1.2em;line-height:1.2em;}div.tout-2{height:98px;}div.tout-issue{height:213px;text-align:center;font-weight:bold;}div.tout-issue img{display:block;margin:0 auto 4px auto;width:150px;height:197px;}div.tout-issue ul{}div.tout-issue ul li{display:inline;margin-right:9px;padding-right:8px;border-right:1px solid #656565;}div.tout-issue li.last{border:none;padding-right:0;margin-right:0;}#homepage-hero{margin-bottom:20px;}#hero{position:relative;width:595px;height:232px;}div.hero-item{padding:8px;position:absolute;left:412px;width:167px;height:61px;border-left:1px solid white;background:#BECED5;}div.hero-item h2.fly-title{}div.hero-item p.headline{}div.hero-item div.rubric{margin-top:5px;}div.hero-item div.rubric p{margin-bottom:10px;}div.hero-item div.rubric p:last-of-type{margin-bottom:0;}div.hero-item-1{top:0px;}div.hero-item-2{top:77px;height:60px;border-top:1px solid white;}div.hero-item-3{top:154px;border-top:1px solid white;}ul.hero-single div.hero-item{height:216px;}a.hero-image{position:absolute;left:0px;top:0px;}a.hero-image img{display:block;}li.selected div.hero-item{background:#09526D;color:white;}li.selected div.hero-item a{color:white;}#homepage-touts{height:232px;margin-bottom:20px;}div.tout{overflow:hidden;padding:8px;border:1px solid #C1D3D9;background:#F4F8FA;}div.tout p.fly-title{color:#000000;font-weight:bold;}div.tout p.headline{}div.tout div.rubric{margin-top:5px;}div.tout div.link{margin-top:5px;}div.tout-1{height:82px;margin-bottom:15px;}div.tout-1 p.headline{font-size:1.2em;line-height:1.2em;}div.tout-2{height:99px;}div.tout-issue{height:214px;}#homepage-left{}div.homepage-highlight{margin-bottom:15px;}div.homepage-highlight h3.fly-title{}div.homepage-highlight p.headline{}div.homepage-highlight div.rubric{}div.homepage-highlight div.rubric a{text-decoration:underline;}div.homepage-highlight div.rubric a:hover{text-decoration:none;}div.homepage-highlight div.rubric p{margin-bottom:10px;}div.homepage-highlight div.rubric p:last-of-type{margin-bottom:0;}div.highlight-text{}div.highlight-text h3.fly-title{color:#FF0000;}div.highlight-text div.rubric{}div.highlight-text div.rubric a{color:#08526D;}div.highlight-article{}div.highlight-article-inner{padding:10px 8px 8px 8px;background-color:#D9E4E6;}div.highlight-article h3.fly-title{color:#666666;}div.highlight-article img{display:block;margin:0 auto;}#homepage-center{}#homepage-center-inner{padding-left:9px;border-left:1px solid #E6E6E6;}div.homepage-package{clear:both;overflow:hidden;margin-bottom:10px;padding-bottom:20px;border-bottom:1px solid #E6E6E6;}div.homepage-package.last{padding-bottom:0;border-bottom:none;}div.homepage-package h3.fly-title{color:#FF0000;}div.homepage-package div.right{float:right;margin:0 0 10px 10px;}div.homepage-package p.headline{}div.homepage-package p.rubric{margin-bottom:10px;}div.homepage-package a.comment-icon{padding-left:18px;margin-left:10px;background:url('/sites/all/themes/econfinal/images/media-icons.gif') no-repeat -118px 0;}div.homepage-package a.comment-icon:hover{background-position:-118px -16px;}div.homepage-package a.comment-icon span{background-color:#FFFFFF;color:#656565;}div.homepage-package a.comment-icon:hover span{text-decoration:underline;color:#08526D;}div.homepage-package ul{}div.homepage-package ul li.package-item{height:100%;margin:0 0 4px 0;padding-left:15px;background:url('/sites/all/themes/econfinal/images/media-icons.gif') no-repeat 0 1px;color:#06526C;}div.homepage-package ul li.package-item div{background-color:#FFFFFF;}div.homepage-package ul li.package-item a.package-link{font-size:1.2em;line-height:1.3em;}div.homepage-package ul li.package-item a.comment-icon{font-size:1.1em;line-height:1.3em;}div.homepage-package ul li.audio{background:url('/sites/all/themes/econfinal/images/media-icons.gif') no-repeat -13px 1px;}div.homepage-package ul li.video{background:url('/sites/all/themes/econfinal/images/media-icons.gif') no-repeat -28px 1px;}div.homepage-package ul li.chart{background:url('/sites/all/themes/econfinal/images/media-icons.gif') no-repeat -43px 1px;}div.homepage-package ul li.map{background:url('/sites/all/themes/econfinal/images/media-icons.gif') no-repeat -59px 1px;}div.homepage-package ul li.slideshow{background:url('/sites/all/themes/econfinal/images/media-icons.gif') no-repeat -73px 1px;}div.homepage-package ul li.pdf{background:url('/sites/all/themes/econfinal/images/media-icons.gif') no-repeat -90px 1px;}div.homepage-package ul li.external{background:url('/sites/all/themes/econfinal/images/media-icons.gif') no-repeat -103px 1px;}div.homepage-package h4.link{margin-top:10px;}#audiovideo{border-top:3px solid #DAE3E8;margin-top:20px;margin-bottom:15px;padding-top:10px;}#audiovideo h3.fly-title{margin-bottom:10px;}#audiovideo h3.fly-title a{color:#FF0000;}#audiovideo-player{margin-bottom:2px;}#audiovideo-player object{display:block;margin:0 auto;}#audiovideo-player object embed{}#audioedition{}#audioedition img{display:block;margin:0 auto;} h1.taxonomy-title{margin-bottom:15px;border-top:1px solid #FF0000;color:#FF0000;font-size:1.6em;}h1.taxonomy-title span{border-top:3px solid #FF0000;vertical-align:middle;padding-top:3px;line-height:21px;}div.taxonomy-term .ec-article-teaser{padding:2px 0 15px;margin-bottom:0;border-bottom:1px solid #666;}div.article-taxonomy-body span.more a{font-size:1.1em;}.page-taxonomy div.pager{margin-top:30px;} h3#comments-title{border-top:3px solid #598A9E;font-size:1.2em;font-weight:bold;line-height:18px;padding:12px 0 8px;}p#comments-guidelines{font-size:1.2em;line-height:20px;margin-bottom:13px;clear:both;}p#comments-guidelines a{text-decoration:underline;}p#comments-guidelines a:hover,p#comments-guidelines a:focus{text-decoration:none;}.ec-comments-links{margin-bottom:13px;width:100%;}.ec-comments-links div.ec-comments-links-box{background-color:#F0F0F0;border:1px solid #ABC6CF;padding:8px 10px 8px 8px;font-size:1.3em;}.ec-comments-links div.ec-comments-links-box a.view-comments{background:transparent url(/sites/all/themes/econfinal/images/icons/icon-comment.png) no-repeat scroll 0 50%;float:left;padding:2px 0 2px 20px;}.ec-comments-links div.ec-comments-links-box a.add-comments{background:transparent url(/sites/all/themes/econfinal/images/icons/icon-comment-add.png) no-repeat scroll 0 50%;float:right;padding:2px 0 2px 23px;}#ec-article-comments #ec-article-body div.ec-article-link{background:#EEF1F3;border:1px solid #8BBBD1;float:right;font-size:1.3em;margin-top:3px;padding:1px 5px 3px 5px;}#comments-wrapper{margin-bottom:15px;clear:both;}#comment-form-wrapper{background:#EEF1F3;border:1px solid #8BBBD1;font-size:1.3em;padding:4px 9px 6px 9px;}#comment-form-wrapper a{text-decoration:underline;}#comment-form-wrapper a:hover,#comment-form-wrapper a:focus{text-decoration:none;}#edit-comment-wrapper{margin-top:0;padding-right:2px;text-align:left;}#edit-comment-wrapper label{font-weight:normal;margin-bottom:5px;}#edit-comment-wrapper label span.form-required{display:none;}#edit-comment-wrapper textarea{width:571px;}#edit-comment-wrapper .resizable-textarea{margin:0 auto;width:100%;}#edit-comment-wrapper .resizable-textarea textarea{width:100%;}#edit-comment-wrapper-disabled{background:#ECE8D8;border:1px solid #8BBBD1;height:125px;margin-top:5px;padding:0 10px;}#edit-comment-wrapper-disabled p{margin:10px auto;}#edit-comment-wrapper-disabled p strong{display:block;}#edit-comment-wrapper-disabled p.textarea-msg{text-align:center;padding:20px 0;}#comment-form-wrapper div.form-error{color:#ff0000;margin-top:10px;padding-left:22px;background:transparent url(/sites/all/themes/econfinal/images/icons/icon-error.gif) no-repeat left 50%;}#comment-form-buttons{margin-top:10px;text-align:right;}div.comment-preview{background:#FFF;margin:5px 0 15px;padding:5px;}div.comment-preview p{margin-bottom:13px;}div.comment-preview-title{font-weight:bold;margin-bottom:13px;}#comments-wrapper div.sort{border-bottom:1px solid #8BBBD1;border-top:1px solid #8BBBD1;font-size:1.3em;margin-top:15px;padding:6px 0;}#comments-wrapper div.sort p{float:left;font-weight:bold;}#comments-wrapper div.sort ul{float:left;margin-left:5px;}#comments-wrapper div.sort ul li{border-right:1px solid #333333;float:left;list-style-type:none;margin-left:10px;padding-right:10px;}#comments-wrapper div.sort ul li.first{margin-left:0;}#comments-wrapper div.sort ul li.last{border:0;}#comments-wrapper div.sort ul li a{color:#08526D;}#comments-wrapper div.pager-wrapper{padding:2px 0;}#comments-wrapper div.pager-wrapper a.top-link{display:block;float:left;line-height:1.3em;}#comments{}.comment{border-bottom:1px solid #8BBBD1;margin-top:8px;padding-bottom:10px;}.comment .comment-headline,.comment .comment-date,.comment .comment-body{font-size:1.3em;line-height:20px;}.comment .comment-headline{float:left;}.comment .comment-headline a{font-weight:bold;}.comment .comment-date{color:#999999;float:right;}.comment .comment-body{}.comment .comment-body p{margin-bottom:1.3em;}div.recommend{float:left;text-align:left;padding:2px 0;width:33%;}div.recommend a{background:transparent url(/sites/all/themes/econfinal/images/icons/icon-recommend.gif) no-repeat left 50%;padding:2px 0 2px 20px;}div.recommend span.recommended{background:transparent url(/sites/all/themes/econfinal/images/icons/icon-recommended.png) no-repeat left 50%;color:#939997;padding:2px 0 2px 20px;}div.permalink{float:left;text-align:center;padding:2px 0;width:34%;}div.permalink a{padding:2px 0;}div.report_abuse,div.reporting,div.getting-form{padding:2px 0;text-align:right;}div.report_abuse{float:left;width:33%;}div.report_abuse a{background:transparent url(/sites/all/themes/econfinal/images/icons/icon-abuse-report.gif) no-repeat left 50%;padding:2px 0 2px 20px;}div.report_abuse span.reported{background:transparent url(/sites/all/themes/econfinal/images/icons/icon-abuse-reported.gif) no-repeat left 50%;color:#939997;padding:2px 0 2px 20px;}div.comment-links span.spin{background:transparent url(/sites/all/themes/econfinal/images/icons/ajax-loader.gif) no-repeat left 50%;padding:2px 0 2px 20px;}div.comment-links div.hide{display:none;}div.report-box{background-color:#F0F0F0;border:1px solid #8BBBD1;clear:both;font-size:1.2em;padding:10px;position:relative;top:0px;left:0px;}div.report-box .form-item{margin:0px;}div.report-box p,div.report-box #report-abuse-form p{margin-bottom:10px;}div.report-box #report-abuse-form{font-size:1em;}div.report-box select{margin-bottom:5px;width:170px;}div.report-box #report-abuse-form textarea{margin:5px auto 10px auto;min-height:40px;width:100%;float:none;height:auto;}div.report-box textarea.abuse-textarea-default{color:#BBBBBB;}div.report-close{width:50px;text-decoration:underline;height:15px;font-size:12px;color:#6291A5;cursor:pointer;background:transparent url(/sites/all/themes/econfinal/images/close.png) no-repeat right 50%;position:absolute;top:10px;right:10px;}div.report-box div.report_field_left,div.report-box div.report_field_right{float:left;}div.report-box div.report_field_left{width:70px;margin-right:10px;}div.report-box p.abuse-error,div.report-box p.txtlength-error{background:transparent url(/sites/all/themes/econfinal/images/icons/icon-error.gif) no-repeat left 0;color:#ff0000;height:18px;padding-left:25px;}div.report-box #report-abuse-form p.txtlength-error{margin:0px;float:left;}div.report-box p.abuse-error{margin:0 0 5px 80px;}div.report-policybox{border-bottom:1px solid #8BBBD1;border-top:1px solid #8BBBD1;padding-top:10px;margin:20px 0;}div.report-policybox .report-policybox-close{float:right;}a.report-policy-link{cursor:pointer;}#ec-report-abuse{}#ec-report-abuse h1{border-top:3px solid #7FAABB;font-size:1.2em;font-weight:bold;line-height:18px;padding:12px 0 8px;}#report-abuse-wrapper{}#report-abuse-comment{margin-bottom:20px;}#report-abuse-comment div.comment{background-color:#efefef;padding:10px 15px 0 15px;border-bottom:1px solid #8BBBD1;border-top:1px solid #8BBBD1;}#report-abuse-comment div.comment div.comment-body{margin-bottom:0;}#report-abuse-comment div.comment div.comment-links{display:none;}#report-abuse-form{font-size:1.3em;}#report-abuse-form p{margin-bottom:1.3em;}#report-abuse-form label{display:block;float:left;width:100px;font-weight:normal;}#report-abuse-form textarea{float:left;height:100px;width:493px;}#report-abuse-form textarea.error{width:491px;}#report-abuse-form-buttons{text-align:right;}#report-abuse-form div.resizable-textarea{float:left;width:493px;}#report-abuse-form div.resizable-textarea textarea{float:none;} .form-item{clear:both}.ec-page-tools{margin-bottom:15px;position:relative;z-index:10000;clear:both;background:transparent url(/sites/all/themes/econfinal/images/icons/ajax-loader.gif) no-repeat -100000000px 0;}.ec-page-tools li{font-size:1em;margin-bottom:6px;line-height:1.6;}.ec-page-tools li.last{margin-right:0;}.ec-page-tools li a{display:block;height:16px;outline:none;padding-left:25px;color:#08526D;}.ec-page-tools li.pt-comment a{background:transparent url(/sites/all/themes/econfinal/images/icons/pt-comment.gif) no-repeat left top;}.ec-page-tools li.pt-recommend a{background:transparent url(/sites/all/themes/econfinal/images/icons/pt-recommend.gif) no-repeat left top;}.ec-page-tools li.recommended{background:transparent url(/sites/all/themes/econfinal/images/icons/pt_recommended.gif) no-repeat left top;display:block;height:16px;padding-left:25px;color:#666666;}.ec-page-tools li.pt-email a{background:transparent url(/sites/all/themes/econfinal/images/icons/pt-email.gif) no-repeat left top;}.ec-page-tools li.pt-share a{background:transparent url(/sites/all/themes/econfinal/images/icons/pt-share.gif) no-repeat left top;}.ec-page-tools li.pt-share-changeico a{background-position:0 -32px;}.ec-page-tools li.pt-print a{background:transparent url(/sites/all/themes/econfinal/images/icons/pt-print.gif) no-repeat left top;}.ec-page-tools li.pt-randr a{background:transparent url(/sites/all/themes/econfinal/images/icons/pt-reprints.gif) no-repeat left top;}.ec-page-tools li.pt-buypdf a{background:transparent url(/sites/all/themes/econfinal/images/icons/pt-pdf.gif) no-repeat left top;}.ec-page-tools li.pt-permalink a{background:transparent url(/sites/all/themes/econfinal/images/icons/pt-permalink.gif) no-repeat left top;}.ec-page-tools li a.ajax-loader:hover,.ec-page-tools li a.ajax-loader{background:transparent url(/sites/all/themes/econfinal/images/icons/ajax-loader.gif) no-repeat left top;}.ec-page-tools li a:hover,.ec-page-tools li ul.pt-share li a:hover{background-position:0 -16px;}.ec-page-tools li.pt-randr-grey{background:transparent url(/sites/all/themes/econfinal/images/icons/pt_reprints.gif) no-repeat 0 50%;padding-left:20px;color:#bbb;height:16px;}span.randr-na{display:block;position:absolute;border:1px solid #666666;color:#000;background-color:#fff;padding:0 2px;z-index:999999999;}.ec-page-tools li.pt-share{position:relative;}.ec-page-tools li ul li{font-size:1em;}ul.pt-share{font-size:1em;position:absolute;left:-999999px;width:100px;padding:5px 0;top:25px;z-index:9999999;}ul.pt-share-show{left:0px;background-color:#ffffff;border:3px solid #e0e0e0;padding:15px 10px 10px;}ul.pt-share li{margin-left:5px;}.ec-page-tools li.pt-facebook a{background:transparent url(/sites/all/themes/econfinal/images/icons/share_icons/pt-facebook.gif) no-repeat left top;}.ec-page-tools li.pt-linkedin a{background:transparent url(/sites/all/themes/econfinal/images/icons/share_icons/pt-linkedin.gif) no-repeat left top;}.ec-page-tools li.pt-twitter a{background:transparent url(/sites/all/themes/econfinal/images/icons/share_icons/pt-twitter.gif) no-repeat left top;}.ec-page-tools li.pt-delicious a{background:transparent url(/sites/all/themes/econfinal/images/icons/share_icons/pt-delicious.gif) no-repeat left top;}.ec-page-tools li.pt-digg a{background:transparent url(/sites/all/themes/econfinal/images/icons/share_icons/pt-digg.gif) no-repeat left top;}.ec-page-tools li.pt-share-more a{background:transparent url(/sites/all/themes/econfinal/images/icons/pt-share.gif) no-repeat 0 -32px;}ul.ec-pt-compact{padding:0 0 9px;border-bottom:1px solid #E0E0E0;}ul.ec-pt-compact li ul.pt-share{top:15px;}ul.ec-pt-compact li{width:168px;float:left;}ul.ec-pt-compact li.even{margin-left:15px;}ul.ec-pt-compact li.recommended{width:143px;}h3.ec-pt-header{font-size:1.2em;margin-top:8px;}.ec-pt-expanded,.ec-pt-share-expanded{margin-bottom:0;}.ec-pt-expanded{border-top:1px solid #E0E0E0;}ul.ec-pt-expanded li,ul.ec-pt-share-expanded li{float:left;margin:0;margin-right:12px;padding:10px 0;list-style:none;}ul.ec-pt-expanded li ul.pt-share li{padding:5px;margin:0;}.ec-pt-expanded li.last,.ec-pt-share-expanded li.last{margin-right:0;}.ec-pt-expanded li a,.ec-pt-share-expanded li a{float:left;padding-left:20px;}.ec-pt-expanded li.recommended{background-position:0 50%;padding-left:20px;}.ec-pt-share-expanded{border:0;}form#ec-components-eaf fieldset{width:100%;}form#ec-components-eaf legend{font-size:1.3em;font-weight:bold;margin-bottom:10px;}form#ec-components-eaf p{font-size:1.2em;margin-bottom:15px;}form#ec-components-eaf div label,form#ec-components-eaf fieldset div input{display:block;float:left;font-size:1.1em;font-weight:normal;}form#ec-components-eaf div.form-item{clear:both;margin:0 0 1em;}form#ec-components-eaf div label{width:190px;}form#ec-components-eaf div.eaf-textarea label{float:none;margin-bottom:0;}form#ec-components-eaf div label span{display:block;font-size:.9em;line-height:1.1;color:#666666;padding-right:5px;}form#ec-components-eaf div label span.form-required{color:#ff0000;display:inline;padding-right:0;}form#ec-components-eaf div input{width:245px;}form#ec-components-eaf div input.eaf_submit_btn{width:auto;float:right;}form#ec-components-eaf div textarea{width:445px;}form#ec-components-eaf div#edit-ec-email-a-friend-from-name-wrapper,form#ec-components-eaf div#edit-ec-email-a-friend-from-email-wrapper,form#ec-components-eaf div#edit-ec-email-a-friend-to-name-wrapper,form#ec-components-eaf div#edit-ec-email-a-friend-to-email-wrapper{position:relative;}form#ec-components-eaf div.form-error em{color:#ff0000;font-style:normal;font-size:1.1em;margin-left:190px;}.ec-email-a-friend form#ec-components-eaf{background-color:#f2f2f2;padding:10px;}.ec-email-a-friend form#ec-components-eaf div.eaf-close{background:transparent url(/sites/all/themes/econfinal/images/icons/close-icon.gif) no-repeat left top;cursor:pointer;float:right;height:15px;width:49px;}.eaf-compact form#ec-components-eaf div.form-error,.eaf-expanded form#ec-components-eaf div.form-error{position:absolute;padding-left:10px;background:transparent url(/sites/all/themes/econfinal/images/icons/red_arrow.gif) no-repeat 0 50%;}.eaf-compact form#ec-components-eaf div.form-error em,.eaf-expanded form#ec-components-eaf div.form-error em{width:120px;height:22px;padding:2px 5px 4px;color:#ffffff;line-height:1.1;background-color:#ff0000;display:block;margin-left:0;font-weight:bold;font-size:1em;}.ec-email-a-friend form#ec-components-eaf fieldset div.eaf-warning{float:left;width:200px;line-height:1;padding-left:22px;background:transparent url(/sites/all/themes/econfinal/images/icons/icon-error.gif) no-repeat 0 50%;}.ec-email-a-friend form#ec-components-eaf fieldset div.eaf-warning em{color:#ff0000;font-style:normal;font-size:1.1em;}.eaf-compact form,.eaf-compact p.eaf-thanks{border:3px solid #E0E0E0;position:absolute;width:296px;left:-325px;top:0;z-index:999999999;}.ec-email-a-friend p.eaf-thanks{background-color:#F2F2F2;padding:40px 10px;font-size:1.2em;color:green;}.eaf-compact fieldset{width:300px;}.eaf-compact div.eaf-close{margin-top:-5px;margin-right:-5px;}.eaf-compact form#ec-components-eaf p{font-size:1.2em;margin-bottom:10px;line-height:19px;}.eaf-compact form#ec-components-eaf div label{width:120px;}.eaf-compact form#ec-components-eaf div input{width:170px;}.eaf-compact form#ec-components-eaf div input.eaf_submit_btn{width:auto;float:right;margin-right:2px;}.eaf-compact form#ec-components-eaf div textarea{width:290px;}.eaf-compact form#ec-components-eaf div.form-error{left:297px;top:-5px;}div.eaf-expanded form{border-bottom:3px solid #E0E0E0;}.ec-email-a-friend fieldset span.ajax-working{background:transparent url(/sites/all/themes/econfinal/images/icons/ajax-loader.gif) no-repeat 0 50%;display:block;float:left;font-size:1.1em;padding-left:20px;padding-top:5px;}.eaf-expanded form#ec-components-eaf div.form-error{left:440px;top:-5px;}.share_inline_header{float:right;margin-bottom:4px;}.share_inline_header ul{margin:0;padding:0 0 0 29px;}.share_inline_header ul li{margin:0;padding:0;list-style:none;float:left;}.share_inline_footer ul{margin:0;padding:0;}.share_inline_footer ul li{margin:0;padding:6px 0px 6px 0;list-style:none;float:left;}.share_inline_footer ul li.share-inline-footer-reddit{padding-right:12px;}.share_inline_header ul li.share-inline-header-reddit a,.share_inline_footer ul li.share-inline-footer-reddit a{display:block;width:53px;height:0;padding-top:20px;overflow:hidden;background:transparent url("/sites/all/themes/econfinal/images/icons/share_icons/share-reddit-53x20.gif") no-repeat left top;} .ec-print-sub-ad{border-bottom:1px solid #E0E0E0;border-top:1px solid #E0E0E0;margin:30px 0 15px;}.ec-print-sub-ad p a{background:transparent url(/sites/all/themes/econfinal/images/fan_covers.jpg) no-repeat bottom left;display:block;padding:10px 0 10px 120px;font-size:1.2em;}.ec-print-sub-ad p a:hover{text-decoration:none;} #node-poll-article{border:1px solid #8BBBD1;border-top-width:3px;padding:15px;margin-bottom:15px;}#node-poll-article h3{display:none;}#node-poll-article p{font-size:1.2em;margin-bottom:10px;}#node-poll-article div.poll-results{margin-bottom:10px;}#node-poll-article p.node-poll-intro{font-weight:bold;line-height:19px;}#node-poll-article form#poll-view-voting div.form-item{padding:0 0 1em;margin:0;}#node-poll-article form#poll-view-voting input{vertical-align:middle;margin:0;height:auto;}#node-poll-article form#poll-view-voting label{vertical-align:middle;}#node-poll-article form#poll-view-voting input.form-submit{float:right;}#node-poll-article form#poll-view-voting span.ajax-working{background:transparent url(/sites/all/themes/econfinal/images/icons/ajax-loader.gif) no-repeat left 50%;display:block;float:left;font-size:1.1em;padding-left:20px;padding-top:5px;}#node-poll-article .form-radios{margin-top:0;}#node-poll-article .poll .bar .foreground{background-color:#8BBBD1;}#node-poll-article .poll .total{text-align:left;margin-bottom:10px;} div.related-items{border-bottom:3px solid #AAAAAA;border-top:3px solid #AAAAAA;float:right;clear:both;margin:4px 0 10px 15px;padding:15px 0 0;width:168px;background-color:#ffffff;}div.related-items strong{margin-bottom:10px;font-size:1.3em;display:block;}div.related-items ul.related-item-list li{font-size:1em;margin-bottom:8px;margin-left:0px;list-style:none;}div.related-items ul.related-item-list li span{display:block;color:#666666;font-size:.9em;color:#999999;}div.related-items ul.related-item-list{margin-bottom:15px;margin-left:0px;list-style:none;}div.related-items ul.special-report li{font-size:1em;margin-bottom:4px;list-style:none;}div.related-items ul.related-item-list li span.current-article{color:#000000;}hr.related-item-separator{height:1px;width:100%;border:1px solid #e0e0e0;color:#e0e0e0;background-color:#e0e0e0;margin-bottom:15px;}div.related-expanded div.related-items{float:none;width:100%;margin-left:0;}div.related-expanded div.related-items ul.related-item-list li span{color:#666666;border-left:1px solid #666666;margin-left:10px;padding-left:10px;display:inline;}#block-ec_topics-related_topic_items{border-top:3px solid #7FAABB;padding-top:10px;}#block-ec_topics-related_topic_items h3{font-size:1.2em;}#block-ec_topics-related_topic_items li a{font-size:1.2em;}div.bottom-more-related-items{border-top:1px solid #999999;}div.related-topics-cell{margin-bottom:20px;}div.related-topics-row-bottom{border-top:1px solid #e0e0e0;padding-top:10px;}div.related-topics-cell ul{padding-left:0;margin-left:0;list-style:none;}div.related-topics-cell ul li{margin:0;padding-top:10px;list-style:none;}span.related-topics-intro{color:#999999;}h3.related-topics-subject{margin-bottom:25px;}div.bottom-more-related-items{height:27px;padding-top:8px;}h3.bottom-more-related-title{float:left;}div.bottom-more-related-items ul li{display:inline;padding-right:10px;padding-left:10px;margin:0;list-style:none;border-right:1px solid #999999;}div.bottom-more-related-items ul li.last{border-right:none;} #captcha-wrapper{clear:both;border:1px solid #8BBBD1;margin-bottom:15px;padding:8px;}#captcha-wrapper input{}#captcha-wrapper .description{font-size:12px;font-style:oblique;}#captcha-wrapper p.captcha-error,#captcha-wrapper p.captcha-notification{color:#FF0000;margin-bottom:10px;}#captcha-wrapper #edit-mollom-captcha-wrapper{font-size:12px;}#captcha-wrapper #edit-mollom-captcha-wrapper #captcha{margin-bottom:5px;font-size:10px;}#captcha-wrapper #edit-mollom-captcha-wrapper #captcha img,#captcha-wrapper #edit-mollom-captcha-wrapper #captcha embed{vertical-align:middle;}#captcha-wrapper #edit-mollom-captcha-wrapper #edit-mollom-captcha{border:1px solid #8BBBD1;float:left;font-size:11px;margin-left:3px;margin-right:10px;width:102px;}#captcha-wrapper #edit-mollom-captcha-wrapper #edit-mollom-captcha.error{border:2px solid #FF0000;width:100px;}#report-abuse-form div#captcha-wrapper{margin-left:100px;}#comment-form-wrapper #captcha-wrapper{border:none;padding:0;}#comment-form-wrapper #captcha-wrapper #edit-mollom-captcha-wrapper #edit-mollom-captcha{width:104px;}#ec-components-eaf .captcha-wrapper{width:435px} #site-map{width:100%;}#site-map div.sort-map{border-bottom:1px solid #5E8999;padding:13px 0 8px;margin-bottom:20px;}#site-map div.sort-map p,#site-map div.sort-map ul li{float:left;}#site-map div.sort-map p{color:#999999;font-weight:bold;}#site-map div.sort-map ul{margin-left:5px;float:left;}#site-map div.sort-map ul li{font-weight:bold;}#site-map div.sort-map ul li a{font-weight:normal;}#site-map div.sort-map p.premium{float:right;padding-left:20px;padding-right:0;background-position:left 50%;}#site-map div.sort-map ul li:first-child{border-right:1px solid #000000;margin-right:5px;padding-right:5px;}#site-map ul.map-list li.map-top-level{margin-bottom:18px;}#site-map ul.map-list li.map-top-level h2{margin-bottom:3px;font-size:1.2em;}#site-map ul.map-list li.map-top-level p{font-weight:bold;font-size:1.1em;margin-bottom:3px;}#site-map ul.map-list li.map-top-level ul li{margin-bottom:3px;font-size:1.1em;}#site-map ul.map-list li.map-top-level ul li.long-item{margin-bottom:6px;}#site-map ul.map-list li.map-top-level ul.map-second-level{margin-left:5px;}#site-map ul.map-list li.map-top-level h3,#site-map ul.map-list li.map-top-level ul.map-second-level li{margin-bottom:3px;font-size:1em;}#site-map .premium{padding-right:20px;background:transparent url(/sites/all/themes/econfinal/images/icons/icon-premium.png) no-repeat scroll right 50%;display:inline;}#site-map-overlay{position:absolute;left:0;width:100%;height:100%;z-index:100;background-color:#000;top:0;filter:alpha(opacity=50);-moz-opacity:0.5;opacity:0.5;}#site-map-container{position:absolute;z-index:10000000;background-color:#fff;border:3px solid #e0e0e0;padding:15px;width:855px;height:750px;}#site-map-container span.container-close{background:transparent url(/sites/all/themes/econfinal/images/icons/close-icon.gif) no-repeat scroll left top;float:right;height:15px;width:49px;margin-bottom:3px;cursor:pointer;}#site-map-container #site-map .grid-4{width:200px;}#site-map-box span.loader{position:absolute;top:200px;left:400px;z-index:99999999;background:transparent url(/sites/all/themes/econfinal/images/icons/ajax-loader-big.gif) no-repeat scroll left top;padding-top:75px;width:70px;font-size:1.2em;font-weight:bold;} .block-inform{border-top:1px solid #E0E0E0;border-bottom:1px solid #E0E0E0;padding:15px 8px 7px 0;margin-bottom:15px;}.block-inform div.title h3{font-size:1.2em;font-weight:bold;}.block-inform div.content{padding-top:10px;}.block-inform div.content div.item-list ul{margin:0;padding:0;}.block-inform div.content div.item-list ul li{float:left;margin:0 0 8px 0;padding-right:8px;font-size:1.3em;list-style-type:none;}.block-inform div.content div.item-list ul li a{display:block;padding:3px 10px;background-color:#D9E3E5;} div.pager{border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;padding:.5em 0;margin:15px 0 0;}div.pager a,div.comments-pager a{color:#08526D;}div.pager ul.pager{margin:0 auto;padding:0;font-size:1.3em;}div.pager ul.pager li{display:inline;margin:0;padding:0 .1em 0 .4em;}div.pager ul.pager li.pager-item{border-left:1px solid #e0e0e0;}div.pager ul.pager li.pager-current{font-weight:normal;border-left:1px solid #e0e0e0;}div.pager ul.pager li.pager-first,div.pager ul.pager li.pager-previous{padding-left:0;}div.pager ul.pager li.first{padding-left:0;border:0;}div.pager ul.pager li.pager-last,div.pager ul.pager li.pager-next,div.pager ul.pager li.last{padding-right:0;}div.comments-pager{margin-top:0;}div.comments-pager,div.whatofwhat{float:right;border:0;margin-left:15px;}div.comments-pager,div.comments-pager ul.pager li{padding:0;}div.comments-pager ul.pager li.pager-item{border:0;}div.comments-pager ul.pager li.pager-current{border:0;}div.whatofwhat{font-size:1.3em;} .block-ec_blogs{background-color:#F4F8FA;border:1px solid #CDDADD;margin-bottom:15px;padding:15px;}.block-ec_blogs .title h6,.block-ec_blogs .title p{font-weight:bold;border-bottom:1px solid #6B6B6B;margin-bottom:10px;}#block-ec_blogs-ec_blogs_block_admin_links .title h6,#block-ec_blogs-ec_blogs_block_blog_links .title h6{font-size:1.2em;}#block-ec_blogs-ec_blogs_block_bloginfo p.title{font-size:1.0em;font-weight:bold;border-bottom:1px solid #6B6B6B;}#block-ec_blogs-ec_blogs_block_recent .title h6{font-size:1.3em;}#block-ec_blogs-ec_blogs_block_recent .title h6 span{font-size:10px;color:#999999;font-weight:normal;}#block-ec_blogs-ec_blogs_block_bloginfo div.content,#block-ec_blogs-ec_blogs_block_admin_links div.content{font-size:1.3em;}#block-ec_blogs-ec_blogs_block_bloginfo div.content p,#block-ec_blogs-ec_blogs_block_admin_links div.content p,#block-ec_blogs-ec_blogs_block_blog_links div.content p{line-height:19px;margin-bottom:13px;}#block-ec_blogs-ec_blogs_block_bloginfo div.rss-feed a,#block-ec_blogs-ec_blogs_block_admin_links div.rss-feed a,#block-ec_blogs-ec_blogs_block_blog_links div.rss-feed a{background:transparent url(/sites/all/themes/econfinal/images/icons/icon-feed.gif) no-repeat right 50%;padding-right:20px;}#block-ec_blogs-ec_blogs_block_bloginfo ul#blogs,#block-ec_blogs-ec_blogs_block_admin_links ul#blogs,#block-ec_blogs-ec_blogs_block_blog_links ul#blogs{padding:0;}#block-ec_blogs-ec_blogs_block_bloginfo ul#blogs li,#block-ec_blogs-ec_blogs_block_admin_links ul#blogs li,#block-ec_blogs-ec_blogs_block_blog_links ul#blogs li{font-size:1.2em;margin-bottom:4px;}#block-ec_blogs-ec_blogs_block_blog_links div.content div.item-list ul#blogs li{list-style:none;margin:0px 0px 4px;}#block-ec_blogs-ec_blogs_block_recent dt{font-size:1.2em;}#block-ec_blogs-ec_blogs_block_recent dd{color:#333333;margin-bottom:10px;}#block-ec_blogs-ec_blogs_block_recent dd a{font-weight:bold;}#block-ec_blogs-ec_blogs_block_recent .timestamp{color:#999999;}#block-ec_blogs-ec_blogs_block_recent a.more{color:#08526D;font-weight:bold;margin-top:5px;} #product-events{background:#F4F8FA;border:1px solid #CDDADD;line-height:1.25em;margin-bottom:15px;padding:10px 15px 5px;}#product-events div.title{color:#000000;font-size:1.3em;font-weight:bold;line-height:1.25em;margin-bottom:15px;}#product-events p{color:#4B4B4B;font-size:1.1em;line-height:1.25em;margin-bottom:10px;}#product-events hr{background:#CDDADD;border:none;color:#CDDADD;height:1px;margin:10px 0;}#product-events div.newsletter-links{font-size:1.1em;line-height:1.25em;margin-bottom:15px;}#product-events div.newsletter-links a{padding-left:20px;}#product-events div.newsletter-links a.news-email{background:transparent url(/sites/all/themes/econfinal/images/icons/pt-email.gif) no-repeat scroll left -16px;}#product-events div.newsletter-links a.news-facebook{background:transparent url(/sites/all/themes/econfinal/images/icons/icon_facebook.gif) no-repeat scroll left top;}#product-events div.newsletter-links a.news-twitter{background:transparent url(/sites/all/themes/econfinal/images/icons/share_icons/pt-twitter.gif) no-repeat scroll left -16px;}#product-events div.title,#product-events div.sub-title{color:#000000;font-size:1.5em;font-weight:bold;margin-bottom:15px;font-family:Arial,Helvetica,sans-serif;}#product-events div.title{border-bottom:1px solid #6B6B6B;font-size:1.3em;}#product-events hr.dotted{background-color:#F0F0F0;border-color:#CCCCCC -moz-use-text-color -moz-use-text-color;border-style:dashed none none;border-width:1px medium medium;color:#F0F0F0;margin-bottom:10px;margin-top:-3px;} #most-lists{margin-bottom:15px;text-align:left;}#most-lists .show{display:block;}#most-lists .hidden{display:none;}#most-lists #block-tabs{width:100%;}html.js #most-lists .tab{background-color:#CDDADD;font-size:1.1em;color:#06526C;padding-top:4px;border:1px solid #CDDADD;float:left;cursor:pointer;height:18px;text-align:center;}html.js #most-lists #commented{width:123px;}html.js #most-lists #recommended{width:133px;}html.js #most-lists .active{background-color:#F4F8FA;color:#000;border-bottom:none;padding-bottom:1px;font-weight:bold;}#most-lists .spacer{width:79px;}html.js #most-lists .spacer{width:86px;border:none;border-bottom:1px solid #CDDADD;background-color:#FFF;height:19px;cursor:default;}html.js #most-lists .spacer-small{width:5px;}#most-lists .list-wrapper{clear:left;padding:10px 5px;border:1px solid #CDDADD;background-color:#F4F8FA;color:#000;}html.js #most-lists .list-wrapper{border-top:none;}#most-lists h3{font-size:1.3em;margin-bottom:10px;}#most-lists ol li{font-size:1.2em;list-style-type:decimal;margin:0 0 5px 30px;}#most-lists p{color:#999;margin-left:5px;}#most-lists .header-top{border-top:1px solid #000;background-color:#FFF;overflow:hidden;height:100%;}#most-lists .header-top .header{font-size:1.2em;font-weight:bold;color:#000;border-top:2px solid #000;padding-left:3px;margin-bottom:10px;} .block-ec_daily_question{font-family:arial,sans-serif;text-align:left;margin-bottom:10px;}.block-ec_daily_question .node-type-decisions_selection{padding:20px 15px 15px;background-color:#EEF3F7;}.block-ec_daily_question .node-type-decisions_selection .content{clear:both;}.block-ec_daily_question h3{border:1px solid #C0D3D9;font-size:1.27em;background:#C0D3D9;padding:4px 0 3px 5px;height:100%;}.block-ec_daily_question h2{font-family:verdana,sans-serif;font-size:1.5em;margin-bottom:15px;}.block .node-type-decisions_selection{border:1px solid #C0D3D9;border-top:none;}.node-teaser #decisions-selection-voting-form div.decisions_selection_1click{border-bottom:solid 1px #c1d3d9;padding:0 0 10px 0;}.node-type-decisions_selection .join-discussion{font-weight:bold;font-size:1.2em;display:inline-block;margin:10px 0 0 0;}.decisions_selection_1click span.result-text{font-weight:normal;color:#666666;font-size:1.3em;display:block;margin-top:10px;}.block-ec_daily_question span.status{border-right:solid 1px #666;padding:0 10px 0 0;}.block-ec_daily_question span.status,.block-ec_daily_question span.total-votes{font-weight:normal;color:#666666;font-size:1.3em;}.block-ec_daily_question span.total-votes em,.block-ec_daily_question span.status em{font-weight:bold;font-style:normal;}.block-ec_daily_question span.total-votes{font-size:1.3em;text-align:left;padding:0 0 0 10px}.decisions_selection_1click{overflow:hidden;width:100%;text-align:center;}.decisions_selection_1click .form-item{height:35px;text-align:center;display:inline-block;min-width:70px;border-left:1px solid #aaa;margin:0 7px;display:inline-block;}.decisions_selection_1click .first-button{margin-right:7px;}.decisions_selection_1click .last{margin-left:7px;}.decisions_selection_1click .answer-1{width:15px;}.decisions_selection_1click .answer-2{width:30px;}.decisions_selection_1click .answer-3{width:45px;}.decisions_selection_1click .answer-4{width:60px;}.decisions_selection_1click .answer-5{width:75px;}.decisions_selection_1click .answer-6{width:90px;}.decisions_selection_1click .answer-7{width:105px;}.decisions_selection_1click .answer-8{width:120px;}.decisions_selection_1click .answer-9{width:135px;}.decisions_selection_1click .answer-10{width:150px;}.decisions_selection_1click .form-item input{background:url('/sites/all/themes/econfinal/images/dq-button-right.gif') no-repeat left top;color:#fff;font-size:1.425em;font-weight:bold;line-height:2.5em;padding:0px 6px;width:100%;height:100%;border:none;border-right:1px solid #aaa;cursor:pointer;}.decisions_selection_error .error{text-align:center;display:block;font-size:1.2em;margin-bottom:10px;}.decisions_selection_results img{display:block;padding-top:5px;text-indent:-9999px;}.block-ec_daily_question .easks-sponsorship-logo{border-left:1px solid #C0D3D9;border-bottom:1px solid #C0D3D9;border-right:1px solid #C0D3D9;bottom:5px;text-align:right;background-color:#F0F0F0;}.block-ec_daily_question .sponsor-ad-wrapper{line-height:40px;border:none;margin:0px;}.block-ec_daily_question span{display:inline;}.block-ec_daily_question .sponsor-byline{display:inline;font-size:1.2em;color:#08526D;padding-right:4px;}.block-ec_daily_question .sponsor-ad{display:inline;}.block-ec_daily_question .sponsor-ad img{vertical-align:middle;padding-bottom:2px;}.block-ec_daily_question .sponsor-info{display:none;} body.node-type-decisions-selection .node-type-decisions_selection .breadcrumb{font-size:1.3em;padding-bottom:1em;}body.node-type-decisions-selection .node-type-decisions_selection .breadcrumb .active-crumb{font-weight:bold;}body.node-type-decisions-selection .node-type-decisions_selection h3.header{color:#FF0000;font-size:1.4em;}body.node-type-decisions-selection .node-type-decisions_selection h2{font-size:2em;color:#333333;margin:5px 0 25px 0;}body.node-type-decisions-selection .node-type-decisions_selection span.status{border-right:solid 1px #666;padding:0 10px 0 0;}body.node-type-decisions-selection .node-type-decisions_selection span.status,body.node-type-decisions-selection .node-type-decisions_selection span.total-votes{font-weight:normal;color:#666666;font-size:1.3em;}body.node-type-decisions-selection .node-type-decisions_selection span.total-votes em,body.node-type-decisions-selection .node-type-decisions_selection span.status em{font-weight:bold;font-style:normal;}body.node-type-decisions-selection .node-type-decisions_selection span.total-votes{font-size:1.3em;text-align:left;padding:0 0 0 10px}body.node-type-decisions-selection .node-type-decisions_selection .content{margin-bottom:10px;text-align:center;}body.node-type-decisions-selection .node-type-decisions_selection .voting-info{color:#666666;font-size:1.05em;margin:3px 0 20px 0;}body.node-type-decisions-selection .node-type-decisions_selection #chart-results{width:310px;margin:8px auto 0 auto;padding:15px 50px;}body.node-type-decisions-selection .node-type-decisions_selection .content p{font-size:1.15em;text-align:left;margin:15px 0;} .page-topics h1#page-title{padding-top:15px;}.page-topics .topic-page-item-list{margin-bottom:30px;}.page-topics .topic-page-item-list li{margin-bottom:15px;}.page-topics .topic-page-item-list li .topic-item-source{font-weight:bold;}.page-topics .topic-page-item-list li .topic-item-source .comment-icon{font-weight:normal;}.page-topics .topic-page-item-list .topic-item-title{font-size:1.4em;font-weight:bold;line-height:1.3em;margin-bottom:5px;}.page-topics .topic-page-item-list .topic-page-meta{color:#999999;font-weight:normal;line-height:1.3em;margin-bottom:5px;}.page-topics div.topic-page-item-list .topic-page-rubric{font-size:1.1em;line-height:1.3em;}div.pager.glossary{padding:5px 0 15px;border-top:none;margin-top:0;}div.pager.glossary ul.pager{font-size:1.1em;}div.pager.glossary ul.pager li.pager-item{border-color:#CCCCCC;}div.pager.glossary ul.pager li.pager-item.first-topic{border:none;}div.pager.glossary ul.pager li{padding:0px 0.55em;}div.pager.glossary ul.pager li{font-size:.9em;font-weight:bold;color:#000000;}div.pager.glossary ul.pager li a{font-weight:normal;}div.ec-topics-index{margin:25px 0;}div.ec-topics-index li{margin-bottom:.8em;}div.ec-topics-index li a{font-size:1.2em;line-height:1.1em;}div.block-ec_topics{border-bottom:1px solid #F0F0F0;margin-bottom:15px;padding:5px 0 15px 0;}div.block-ec_topics a.topic-rss{display:block;font-size:11px;font-weight:bold;background:transparent url(/sites/all/themes/econfinal/images/icons/icon-feed.gif) no-repeat left 50%;padding-left:20px;} #static-page div.menu-section,#static-page div.section{margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #dedede;}#static-page div.menu-section h2{font-size:1.8em;margin-bottom:10px;}#static-page div.menu-section ul.nav{font-size:1.3em;}#static-page div.menu-section ul.nav li{list-style-type:none;margin:0;padding-bottom:5px;;}#static-page ul.section-nav{font-size:1.4em;list-style-type:disc;border-bottom:3px solid #dedede;margin:10px 0 20px;padding-bottom:10px;}#static-page ul.section-nav li{margin:0 0 10px 20px;}#static-page div.section a{text-decoration:underline;}#static-page div.section a:hover{text-decoration:none;}#static-page div.section h2,#static-page div.section h3{font-size:1.4em;margin-bottom:5px;}#static-page div.section h3{font-size:1.3em;color:#333333;}#static-page div.section h4{font-size:1.2em;color:#333333;}#static-page div.section h2 a{color:#000000;text-decoration:none;}#static-page div.section h2 a:hover{text-decoration:none;}#static-page div.section p{font-size:1.3em;margin-bottom:15px;}#static-page div.section ol,#static-page div.section ul{font-size:1.3em;margin:0 0 10px 30px;list-style-type:decimal;}#static-page div.section ul{list-style-type:disc;}#static-page div.section ol li,#static-page div.section ul li{padding-bottom:5px;}#static-page div.section ol li img{padding:5px 0;}#static-page div.section ol li em,#static-page div.section ul li em{font-style:normal;font-weight:bold;} #ec-promotions-page div.left-column{background:#ffffff url("http://media.economist.com/sites/default/files/custom_promotions_content/ec_promotions_ipad_and_iphone.jpg") no-repeat 0 0;}#ec-promotions-page div.left-column a.app-link{display:block;margin-top:380px;}#ec-promotions-page div.left-column div.promotion-video{border-top:3px solid #e0e0e0;margin-top:25px;padding-top:10px;}#ec-promotions-page h2{font-size:1.3em;font-weight:bold;margin-bottom:20px;}#ec-promotions-page div.left-column div.sponsors-box{border-top:3px solid #e0e0e0;margin-top:25px;padding-top:10px;}#ec-promotions-page div.left-column div.sponsors-box ul li{float:left;margin-right:40px;}#ec-promotions-page div.right-column div.btn-wrapper{height:30px;width:auto;background-color:#f4f8fa;border:1px solid #cddadd;padding:20px 0;margin-bottom:20px;}#ec-promotions-page div.right-column div.btn-box{margin:0 auto;width:430px;}#ec-promotions-page div.right-column div.btn-section{padding-top:15px;}#ec-promotions-page div.right-column a.app-btn{background:url('http://media.economist.com/sites/default/files/custom_promotions_content/ec_promotions_button_bkgd.jpg') repeat-x;font-size:13px;display:block;float:left;height:30px;line-height:30px;color:#FFFFFF;margin-right:30px;text-align:center;width:200px;}#ec-promotions-page div.right-column a.btn-ipad{margin-right:0;}#ec-promotions-page div.right-column h2.main-header{font-size:1.8em;margin-bottom:20px;}#ec-promotions-page div.right-column h2.head-divide{margin-bottom:10px;padding-top:10px;}#ec-promotions-page div.right-column ul.benefits-list{color:#000000;}#ec-promotions-page div.right-column ul.benefits-list li{list-style:disc;margin-bottom:20px;margin-left:20px;font-size:1.3em;}#ec-promotions-page div.right-column p{font-size:1.3em;line-height:17px;margin-bottom:15px;}#ec-promotions-page div.right-column p a{text-decoration:underline;}#ec-promotions-page div.right-column p a:hover{text-decoration:none;}#ec-promotions-page div.content-bottom{border-top:1px solid #999;margin-top:20px;padding-top:20px;}#ec-promotions-page div.content-bottom ul li{float:left;width:31%;margin-bottom:35px;height:175px;}#ec-promotions-page div.content-bottom ul li a{text-decoration:none;font-weight:bold;font-size:11px;}#ec-promotions-page div.content-bottom ul li.middle{padding-left:20px;margin:0 20px;border-left:1px solid #E0E0E0;border-right:1px solid #E0E0E0;width:30%;}#ec-promotions-page div.content-bottom ul li div.device-desc{float:left;margin-left:10px;width:70%;}#ec-promotions-page div.content-bottom ul li img{float:left;}#ec-promotions-page div.content-bottom ul li h3{font-size:14px;line-height:14px;margin:0 0 10px 0;}#ec-promotions-page div.content-bottom ul li p{line-height:1.1em;font-size:13px;margin-bottom:15px;}#ec-promotions-page div.content-bottom ul li ul{}#ec-promotions-page div.content-bottom ul li ul li{float:none;width:100%;margin-bottom:0;height:auto;} #footer-classifieds .block-ec_ads{float:left;}#leaderboard .block-ec_ads{float:left;} Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver& &,-345UVWXYZ[\]^_`abcdefghijklmnostU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1%$ '()$+WNS.base[NS.relative_[http://media.economist.com/sites/default/files/css/css_c3bf495a8099d8a1d735cac5fafbfa14.css./01X$classesZ$classname12UNSURLXNSObject#Ay5, 6789GWNS.keysZNS.objects#:;<=>?@ABCDEF HIJKLMNOPQRST !"]Last-Modified]Cache-Control_Content-EncodingVServer\Content-TypeTDate^Content-LengthTEtagZConnectionWExpiresSAgeTX-PxTVary_Tue, 10 May 2011 08:28:18 GMT_max-age=1204929Tgzip[PWS/1.7.2.1Xtext/css_Tue, 10 May 2011 21:27:17 GMTU36424_"b552b4-20344-4a2e7bcf28c80"Zkeep-alive_Tue, 24 May 2011 08:28:52 GMTU42034_ht iad-agg-n28.panthercdn.com_Accept-Encoding./pqqr2_NSMutableDictionary\NSDictionaryD./uvvw2_NSHTTPURLResponse]NSURLResponse)27:PRdrw  "0CJW\kp{"-MSsx opqrYimage/gif_Rhttp://media.economist.com/sites/all/themes/econfinal/images/icons/ajax-loader.gifO9GIF89aFFFzzzXXX$$$666hhh! NETSCAPE2.0!Created with ajaxload.info! ,w  !DBAH¬aD@ ^AXP@"UQ# B\; 1 o:2$v@ $|,3 _# d53" s5 e!! ,v i@e9DAA/`ph$Ca%@ pHxFuSx# .݄YfL_" p 3BW ]|L \6{|z87[7!! ,x  e9DE"2r,qPj`8@8bH, *0- mFW9LPE3+ (B"  f{*BW_/ @_$~Kr7Ar7!! ,v 4e9!H"* Q/@-4ép4R+-pȧ`P(6᠝U/  *,)(+/]"lO/*Ak K]A~666!! ,l ie9"* -80H=N; TEqe UoK2_WZ݌V1jgWe@tuH//w`?f~#6#!! ,~ ,e9"* ; pR%#0` 'c(J@@/1i4`VBV u}"caNi/ ] ))-Lel  mi} me[+!! ,y Ie9"M6*¨"7E͖@G((L&pqj@Z %@wZ) pl( ԭqu*R&c `))( s_J>_\'Gm7$+!! ,w Ie9*, (*(B5[1 ZIah!GexzJ0e6@V|U4Dm%$͛p \Gx }@+| =+ 1- Ea5l)+!! ,y )䨞'AKڍ,E\(l&;5 5D03a0--ÃpH4V % i p[R"| #  6iZwcw*!! ,y )䨞,K*0 a;׋аY8b`4n ¨Bbbx,( Ƚ  % >  2*i* /:+$v*!! ,u )䨞l[$ Jq[q 3`Q[5:IX!0rAD8 CvHPfiiQAP@pC %D PQ46  iciNj0w )#!! ,y ). q ,G Jr(J8 C*B,&< h W~-`, ,>; 8RN<, <1T] c' qk$ @)#!;Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver" &,-345QRSTUVWXYZ[\]^_`abcdefgklU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1!  '()$+WNS.base[NS.relative_Rhttp://media.economist.com/sites/all/themes/econfinal/images/icons/ajax-loader.gif./01X$classesZ$classname12UNSURLXNSObject#Ay:f 6789EWNS.keysZNS.objects:;<=>?@ABCD FGHIJKLMNOP]Last-Modified]Cache-ControlWExpiresSAgeVServer\Content-TypeTX-PxTDateTEtagZConnection^Content-Length_Wed, 27 Apr 2011 16:19:06 GMT_max-age=1209600_Mon, 23 May 2011 13:27:46 GMTV115176[PWS/1.7.2.1Yimage/gif_ht iad-agg-n28.panthercdn.com_Tue, 10 May 2011 21:27:22 GMT_"214ee-739-4a1e8ccb8f280"Zkeep-aliveT1849./hiij2_NSMutableDictionary\NSDictionary9./mnno2_NSHTTPURLResponse]NSURLResponse)27:PRd  ejs~ #*7<AFQ`+6;@DZgjosp tuv_Khttp://media.economist.com/sites/all/themes/econfinal/images/dropshadow.pngO]PNG  IHDR<EtEXtSoftwareAdobe ImageReadyqe<IDATxN@'!@iFb$mI ݓ!a9+qq3<8 k<:]<"%c;٭] Ui~^x,68{`+/,<@@ x<@@ x<<@ x<<@ x x<<@ x x<<@ x x<@@ x x<@@ x<@@ x+<@@ x<@@ x<<@ x<<@ x x<<@ x x<<@ x x<@@ x x<@@ x<@@ x<@ x<<@ x<<@ x x<<@ x x<@@ x x<@@ x<@@ x<@ x<<@ x<<@ x x<<@ x x<@@ x x<@@ x x\ x<@@ x x<@@ x<@@ x<@ x<<@ x<<@ x x<<@ x x<@@ x x<@@ x x<@@ x<@@ x<<@ x<<@ x x<<@ x x<<@ x x<@@ x x<@@ x<@@ x<@ x<<@ x<<@ x x<<@ x  x<<@ x x<<@ x x<@@ x x<@@ x<@@ x<@ x<<@ x<<@ x x<XRK#/<<@ x<<@ x<<@ x x<<@ x x<@@ x x<@@ x<@@ x<@ x<< ݔX<CŽ3>v^< 8c!<̂ŎYv=`&SN;ƨѳi0੮=\?v@sg\/8ӯyf_?4M2eIENDB`Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver" &,-345QRSTUVWXYZ[\]^_`abcdefgklU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1!  '()$+WNS.base[NS.relative_Khttp://media.economist.com/sites/all/themes/econfinal/images/dropshadow.png./01X$classesZ$classname12UNSURLXNSObject#Ay:a 6789EWNS.keysZNS.objects:;<=>?@ABCD FGHIJKLMNOP]Last-Modified]Cache-ControlWExpiresSAgeVServer\Content-TypeTX-PxTDateTEtagZConnection^Content-Length_Mon, 09 May 2011 15:16:28 GMT_max-age=1169143_Tue, 24 May 2011 08:29:21 GMTT6224[PWS/1.7.2.1Yimage/png_ht iad-agg-n28.panthercdn.com_Tue, 10 May 2011 21:27:22 GMT_"8cd7-105d-4a2d952d2eb00"Zkeep-aliveT4189./hiij2_NSMutableDictionary\NSDictionary]./mnno2_NSHTTPURLResponse]NSURLResponse)27:PRd  ^clwz#05:?JYy"-27;Q^afj~p oxyz_Ghttp://media.economist.com/sites/all/themes/econfinal/images/nav-bg.gifO+GIF89a!,D ;Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver" &,-345QRSTUVWXYZ[\]^_`abcdefgklU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1!  '()$+WNS.base[NS.relative_Ghttp://media.economist.com/sites/all/themes/econfinal/images/nav-bg.gif./01X$classesZ$classname12UNSURLXNSObject#Ay:f( 6789EWNS.keysZNS.objects:;<=>?@ABCD FGHIJKLMNOP]Last-Modified]Cache-ControlWExpiresSAgeVServer\Content-TypeTX-PxTDateTEtagZConnection^Content-Length_Wed, 27 Apr 2011 16:19:10 GMT_max-age=1209600_Tue, 24 May 2011 03:17:36 GMTU65386[PWS/1.7.2.1Yimage/gif_ht iad-agg-n28.panthercdn.com_Tue, 10 May 2011 21:27:22 GMT_"606d1-2b-4a1e8ccf5fb80"Zkeep-aliveR43./hiij2_NSMutableDictionary\NSDictionary+./mnno2_NSHTTPURLResponse]NSURLResponse)27:PRd  Z_hsv| ,16;FUu),15KXZ_cwp 3|}~_Xhttp://media.economist.com/sites/default/files/js/js_bb0dc130d3d7daa8f2775c9eae025bc3.jsO./* * jQuery JavaScript Library v1.3.2 * http://jquery.com/ * * Copyright (c) 2009 John Resig * Dual licensed under the MIT and GPL licenses. * http://docs.jquery.com/License * * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) * Revision: 6246 */ (function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("",""]||!O.indexOf("",""]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!O.indexOf("",""]||(!O.indexOf("",""]||!O.indexOf("",""]||!o.support.htmlSerialize&&[1,"div
","
"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}}); /* * Sizzle CSS Selector Engine - v0.9.3 * Copyright 2009, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ (function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return UT[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="

";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="
";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("
").append(M.responseText.replace(//g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='
';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();; // $Id: drupal.js,v 1.41.2.4 2009/07/21 08:59:10 goba Exp $ var Drupal = Drupal || { 'settings': {}, 'behaviors': {}, 'themes': {}, 'locale': {} }; /** * Set the variable that indicates if JavaScript behaviors should be applied */ Drupal.jsEnabled = true; /** * Attach all registered behaviors to a page element. * * Behaviors are event-triggered actions that attach to page elements, enhancing * default non-Javascript UIs. Behaviors are registered in the Drupal.behaviors * object as follows: * @code * Drupal.behaviors.behaviorName = function () { * ... * }; * @endcode * * Drupal.attachBehaviors is added below to the jQuery ready event and so * runs on initial page load. Developers implementing AHAH/AJAX in their * solutions should also call this function after new page content has been * loaded, feeding in an element to be processed, in order to attach all * behaviors to the new content. * * Behaviors should use a class in the form behaviorName-processed to ensure * the behavior is attached only once to a given element. (Doing so enables * the reprocessing of given elements, which may be needed on occasion despite * the ability to limit behavior attachment to a particular element.) * * @param context * An element to attach behaviors to. If none is given, the document element * is used. */ Drupal.attachBehaviors = function(context) { context = context || document; // Execute all of them. jQuery.each(Drupal.behaviors, function() { this(context); }); }; /** * Encode special characters in a plain-text string for display as HTML. */ Drupal.checkPlain = function(str) { str = String(str); var replace = { '&': '&', '"': '"', '<': '<', '>': '>' }; for (var character in replace) { var regex = new RegExp(character, 'g'); str = str.replace(regex, replace[character]); } return str; }; /** * Translate strings to the page language or a given language. * * See the documentation of the server-side t() function for further details. * * @param str * A string containing the English string to translate. * @param args * An object of replacements pairs to make after translation. Incidences * of any key in this array are replaced with the corresponding value. * Based on the first character of the key, the value is escaped and/or themed: * - !variable: inserted as is * - @variable: escape plain text to HTML (Drupal.checkPlain) * - %variable: escape text and theme as a placeholder for user-submitted * content (checkPlain + Drupal.theme('placeholder')) * @return * The translated string. */ Drupal.t = function(str, args) { // Fetch the localized version of the string. if (Drupal.locale.strings && Drupal.locale.strings[str]) { str = Drupal.locale.strings[str]; } if (args) { // Transform arguments before inserting them for (var key in args) { switch (key.charAt(0)) { // Escaped only case '@': args[key] = Drupal.checkPlain(args[key]); break; // Pass-through case '!': break; // Escaped and placeholder case '%': default: args[key] = Drupal.theme('placeholder', args[key]); break; } str = str.replace(key, args[key]); } } return str; }; /** * Format a string containing a count of items. * * This function ensures that the string is pluralized correctly. Since Drupal.t() is * called by this function, make sure not to pass already-localized strings to it. * * See the documentation of the server-side format_plural() function for further details. * * @param count * The item count to display. * @param singular * The string for the singular case. Please make sure it is clear this is * singular, to ease translation (e.g. use "1 new comment" instead of "1 new"). * Do not use @count in the singular string. * @param plural * The string for the plural case. Please make sure it is clear this is plural, * to ease translation. Use @count in place of the item count, as in "@count * new comments". * @param args * An object of replacements pairs to make after translation. Incidences * of any key in this array are replaced with the corresponding value. * Based on the first character of the key, the value is escaped and/or themed: * - !variable: inserted as is * - @variable: escape plain text to HTML (Drupal.checkPlain) * - %variable: escape text and theme as a placeholder for user-submitted * content (checkPlain + Drupal.theme('placeholder')) * Note that you do not need to include @count in this array. * This replacement is done automatically for the plural case. * @return * A translated string. */ Drupal.formatPlural = function(count, singular, plural, args) { var args = args || {}; args['@count'] = count; // Determine the index of the plural form. var index = Drupal.locale.pluralFormula ? Drupal.locale.pluralFormula(args['@count']) : ((args['@count'] == 1) ? 0 : 1); if (index == 0) { return Drupal.t(singular, args); } else if (index == 1) { return Drupal.t(plural, args); } else { args['@count['+ index +']'] = args['@count']; delete args['@count']; return Drupal.t(plural.replace('@count', '@count['+ index +']')); } }; /** * Generate the themed representation of a Drupal object. * * All requests for themed output must go through this function. It examines * the request and routes it to the appropriate theme function. If the current * theme does not provide an override function, the generic theme function is * called. * * For example, to retrieve the HTML that is output by theme_placeholder(text), * call Drupal.theme('placeholder', text). * * @param func * The name of the theme function to call. * @param ... * Additional arguments to pass along to the theme function. * @return * Any data the theme function returns. This could be a plain HTML string, * but also a complex object. */ Drupal.theme = function(func) { for (var i = 1, args = []; i < arguments.length; i++) { args.push(arguments[i]); } return (Drupal.theme[func] || Drupal.theme.prototype[func]).apply(this, args); }; /** * Parse a JSON response. * * The result is either the JSON object, or an object with 'status' 0 and 'data' an error message. */ Drupal.parseJson = function (data) { if ((data.substring(0, 1) != '{') && (data.substring(0, 1) != '[')) { return { status: 0, data: data.length ? data : Drupal.t('Unspecified error') }; } return eval('(' + data + ');'); }; /** * Freeze the current body height (as minimum height). Used to prevent * unnecessary upwards scrolling when doing DOM manipulations. */ Drupal.freezeHeight = function () { Drupal.unfreezeHeight(); var div = document.createElement('div'); $(div).css({ position: 'absolute', top: '0px', left: '0px', width: '1px', height: $('body').css('height') }).attr('id', 'freeze-height'); $('body').append(div); }; /** * Unfreeze the body height */ Drupal.unfreezeHeight = function () { $('#freeze-height').remove(); }; /** * Wrapper around encodeURIComponent() which avoids Apache quirks (equivalent of * drupal_urlencode() in PHP). This function should only be used on paths, not * on query string arguments. */ Drupal.encodeURIComponent = function (item, uri) { uri = uri || location.href; item = encodeURIComponent(item).replace(/%2F/g, '/'); return (uri.indexOf('?q=') != -1) ? item : item.replace(/%26/g, '%2526').replace(/%23/g, '%2523').replace(/\/\//g, '/%252F'); }; /** * Get the text selection in a textarea. */ Drupal.getSelection = function (element) { if (typeof(element.selectionStart) != 'number' && document.selection) { // The current selection var range1 = document.selection.createRange(); var range2 = range1.duplicate(); // Select all text. range2.moveToElementText(element); // Now move 'dummy' end point to end point of original range. range2.setEndPoint('EndToEnd', range1); // Now we can calculate start and end points. var start = range2.text.length - range1.text.length; var end = start + range1.text.length; return { 'start': start, 'end': end }; } return { 'start': element.selectionStart, 'end': element.selectionEnd }; }; /** * Build an error message from ahah response. */ Drupal.ahahError = function(xmlhttp, uri) { if (xmlhttp.status == 200) { if (jQuery.trim(xmlhttp.responseText)) { var message = Drupal.t("An error occurred. \n@uri\n@text", {'@uri': uri, '@text': xmlhttp.responseText }); } else { var message = Drupal.t("An error occurred. \n@uri\n(no information available).", {'@uri': uri }); } } else { var message = Drupal.t("An HTTP error @status occurred. \n@uri", {'@uri': uri, '@status': xmlhttp.status }); } return message.replace(/\n/g, '
'); } // Global Killswitch on the element $(document.documentElement).addClass('js'); // Attach all behaviors. $(document).ready(function() { Drupal.attachBehaviors(this); }); /** * The default themes. */ Drupal.theme.prototype = { /** * Formats text for emphasized display in a placeholder inside a sentence. * * @param str * The text to format (plain-text). * @return * The formatted text (html). */ placeholder: function(str) { return '' + Drupal.checkPlain(str) + ''; } }; ; Drupal.settings.omniture = Drupal.settings.omniture || {}; Drupal.behaviors.omniture = function (context) { var $context = $(context); // This section handles click tracking of forms, e.g. Post a comment. // Below is the format that it expects. // Drupal.settings.omniture.click_tracking[] = { selector: selector, event: event, name: name, ... } if (Drupal.settings.omniture.click_tracking) { $.each(Drupal.settings.omniture.click_tracking, function(k, v) { // Append an onclick function to the button if form_id exists in the DOM var ltData = this; $context.find(ltData.selector).bind(ltData.event, function() { Drupal.omniture.trackClick(this, ltData.name, { edge_server: ltData.edge_server, link_track_vars: ltData.link_track_vars }); }); }); } /** * This section handles click tracking for elements with * the data-omniture attribute. * * Example: Foo bar */ $context.find('*[data-ec-omniture]').click(function() { Drupal.omniture.trackClick(this, $(this).attr('data-ec-omniture')); }); }; // This function sends the link_name to both the Custom Link Tracking and // to the Omniture var associated with the form. Drupal.omniture = {}; Drupal.omniture.trackClick = function(obj, name, options) { if (typeof s_gi == "function") { var options = options || {}; var edge_server = options.edge_server || Drupal.settings.omniture.edge_server; var s = s_gi(edge_server); s.linkTrackVars = options.link_track_vars; s.linkTrackEvents = options.link_track_events? options.link_track_events: 'None'; s.link_track_vars = name; s.tl(options.skipDelay ? true : obj, 'o', name); } }; ; /** * Report abuse behaviors. */ Drupal.behaviors.ec_vote = function(context) { // Attach the reportAbuseForm to the report links. $(".report-anchor").each(function(index) { this.abuseReportObj = new Econ.reportAbuseLink(this, $(this.parentNode).attr("id").replace("abuse-cid-", "")); }); // RECOMMEND A COMMENT: Add ajax recommend functionality. $("div.recommend a").click(function(e) { e.preventDefault(); var commentId = $(this.parentNode).attr("id").replace("recommend-cid-", ""); var rec_url = $(this).attr("href") + '&mode=ajax'; $.ajax({ type: "GET", url: rec_url, beforeSend: function() { $('#recommend-cid-' + commentId + ' a').css("background-image","url(/sites/all/themes/econfinal/images/icons/ajax-loader.gif)"); }, success: function(data) { if (data) { $('#recommend-cid-' + commentId).html('Recommended (' + data +') '); } else { $('#recommend-cid-' + commentId + ' a').css("background-image","url(/sites/all/themes/econfinal/images/icons/icon-recommend.gif)"); } } }); }); } var Econ = Econ || {}; /** * Prototype functions for the report abuse link. */ Econ.reportAbuseLink = function(elm, cid) { this.cid = cid; this.elm = elm; this.recommend = '#recommend-cid-' + cid; this.permalink = '#permalink-cid-' + cid; this.abuselink = '#abuse-cid-' + cid; // Wire the report abuse links up. var obj = this; $(elm).click(function(e) { return obj.handleClick(e); }); } Econ.reportAbuseLink.prototype.handleClick = function(e) { // We want to append after our element. this.getAbuseForm(); return false; } Econ.reportAbuseLink.prototype.getAbuseForm = function() { // we should only have one active form at a time; if (Econ.reportAbuseLink.activeObj && Econ.reportAbuseLink.activeObj != this) { Econ.reportAbuseLink.activeObj.removeAbuseForm(); } Econ.reportAbuseLink.activeObj = this; // This is a quick little throbber for the retrieving of the form. $(this.recommend).addClass("hide"); $(this.permalink).addClass("hide"); $(this.abuselink).addClass("hide"); var throbber = $('
Getting Abuse Form...
'); $(this.elm).parent().after(throbber); var obj = this; $.getJSON(Drupal.settings.basePath + Drupal.settings.ec_vote.reportAbuseURL + '/' + this.cid, function(data) { throbber.remove(); obj.displayAbuseForm(data); return false; }); } Econ.reportAbuseLink.prototype.displayAbuseForm = function (data) { // Create the form. this.form = $('
Close
' + data.form + '
'); // Hide the recommend and report abuse links. $(this.recommend).addClass("hide"); $(this.permalink).addClass("hide"); $(this.abuselink).addClass("hide"); // Place the form on the DOM. $(this.elm).parent().after(this.form); // Display any errors on the form. if (data.messages.error && data.messages.error.length != 0) { for (var i = 0; i < data.messages.error.length; i++) { $('.reason-wrapper', this.form).before('

' + data.messages.error[i] + '

'); } } var obj = this; // Attach to the close button. // Close the report abuse box by clicking the close link. $('div.report-close').click(function(e){ obj.removeAbuseForm(); }); // Attach to the submit button. $('form', this.form).ajaxForm({ beforeSubmit: function(arr, $form, options) { // The array of form data takes the following form: // [ { name: 'username', value: 'jresig' }, { name: 'password', value: 'secret' } ] // Validate data. var errors = []; if (errors.length > 0) { for (var i = 0; i < errors.length; i++) { $('.reason-wrapper', obj.form).before('

' + errors[i] + '

'); } } // Add trobber. $(obj.form).html("
Reporting...
"); // Return false to cancel submit. return true; }, dataType: 'json', success: function(data){ obj.removeAbuseForm(); // On failure, redisplay the form. if (data.messages.error && data.messages.error.length != 0) { obj.displayAbuseForm(data); } // On success, remove the form and show the buttons with the report abuse // button switched out with "reported" text. else { // Show the links again, but replace last one with Reported message. $(obj.abuselink).html('Reported'); } } }); // Attach some textarea handling functions to the text area. // Remove the instructional text from the textarea when user focuses. var textareaDefaultValue = 'Add an optional description (up to 500 characters)'; if ($('textarea', this.form).val() == textareaDefaultValue) { $('textarea', this.form).addClass('abuse-textarea-default'); } $('textarea', this.form) .focus(function() { if ($(this).val() == textareaDefaultValue) { $(this).val(""); $(this).removeClass('abuse-textarea-default'); } }); // Wire up the policy box links. $("a.report-policy-link", this.form).click(function(){ if (!$("div.report-policybox").length){ // Show policy box. var policybox = $(Drupal.theme('policyBox', '')); $('.report-policybox-close', policybox).click(function(e) { $(this).parent().remove(); return false; }); $('.reason-wrapper', this.form).before(policybox); } return false; }); // Validate string length. textareaMaxlength($('textarea', this.form), 500); } Econ.reportAbuseLink.prototype.removeAbuseForm = function() { $(this.recommend).removeClass('hide'); $(this.permalink).removeClass('hide'); $(this.abuselink).removeClass('hide'); $(this.form).remove(); } function textareaMaxlength(element, maxlength){ var errorElementId = element.attr('id') + '-error'; $(element).keyup(function() { if (this.val().length > maxlength) { // Display an error if you type more than maxlength characters. if (!$("p#" + errorElementId).length) { $(this).before('

You have exceeded ' + maxlength + ' characters.

'); $(this).parents('form').find('input[type=submit]').attr('disabled', 'disabled'); } } else { // Remove the error (if exists) when the number of chars is less then maxlength. if ($("p#" + errorElementId).length) { $("p#" +errorElementId).remove(); $(this).parents('form').find('input[type=submit]').removeAttr('disabled'); } } }); } Drupal.theme.prototype.policyBox = function (caller) { var policy = ''; policy += '
'; policy += ''; policy += '

Comments Policy

'; policy += '

You are solely responsible for all content you post to the site. Libel, copyright and trade mark infringement, links to commercial websites, products, or sales materials, and offensive or threatening language are not permitted and may be removed based on our comments policy (for more information, please review our terms of use).

'; policy += '

Your pen name will appear alongside any comments that you post.

'; policy += '
'; return policy } ; /** * Hovertip - easy and elegant tooltips * * By Dave Cohen * With ideas and and javascript code borrowed from many folks. * (See URLS in the comments) * * Licensed under GPL. * Requires jQuery.js. , * which may be distributed under a different licence. * * $Date: 2008/05/09 21:52:18 $ * $Rev: $ * $Id: hovertip.js,v 1.4 2008/05/09 21:52:18 yogadex Exp $ * * This plugin helps you create tooltips. It supports: * * hovertips - these appear under the mouse when mouse is over the target * element. * * clicktips - these appear in the document when the target element is * clicked. * * You may define behaviors for additional types of tooltips. * * There are a variety of ways to add tooltips. Each of the following is * supported: * *

blah blah blah * important term * text that appears. * blah blah blah

* * or, * *

blah blah blah * important term * blah blah blah

*

term definition

the term means...

* * or, * *

blah blah blah * important term * blah blah blah

*

term definition

the term means...

* * * Hooks are available to customize both the behavior of activated tooltips, * and the syntax used to mark them up. * */ //// mouse events //// /** * To make hovertips appear correctly we need the exact mouse position. * These functions make that possible. */ // use globals to track mouse position var hovertipMouseX; var hovertipMouseY; function hovertipMouseUpdate(e) { var mouse = hovertipMouseXY(e); hovertipMouseX = mouse[0]; hovertipMouseY = mouse[1]; }; // http://www.howtocreate.co.uk/tutorials/javascript/eventinfo function hovertipMouseXY(e) { if( !e ) { if( window.event ) { //Internet Explorer e = window.event; } else { //total failure, we have no way of referencing the event return; } } if( typeof( e.pageX ) == 'number' ) { //most browsers var xcoord = e.pageX; var ycoord = e.pageY; } else if( typeof( e.clientX ) == 'number' ) { //Internet Explorer and older browsers //other browsers provide this, but follow the pageX/Y branch var xcoord = e.clientX; var ycoord = e.clientY; var badOldBrowser = ( window.navigator.userAgent.indexOf( 'Opera' ) + 1 ) || ( window.ScriptEngine && ScriptEngine().indexOf( 'InScript' ) + 1 ) || ( navigator.vendor == 'KDE' ); if( !badOldBrowser ) { if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) { //IE 4, 5 & 6 (in non-standards compliant mode) xcoord += document.body.scrollLeft; ycoord += document.body.scrollTop; } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) { //IE 6 (in standards compliant mode) xcoord += document.documentElement.scrollLeft; ycoord += document.documentElement.scrollTop; } } } else { //total failure, we have no way of obtaining the mouse coordinates return; } return [xcoord, ycoord]; }; //// target selectors //// /** * These selectors find the targets for a given tooltip element. * Several methods are supported. * * You may write your own selector functions to customize. */ /** * For this model: * target term... *
tooltip text
*/ targetSelectById = function(el, config) { var id; var selector; if (id = el.getAttribute('id')) { selector = '*[@'+config.attribute+'=\''+id+'\']'; return $(selector); } }; /** * For this model: * target term... *
tooltip text
*/ targetSelectByTargetAttribute = function(el, config) { target_list = el.getAttribute('target'); if (target_list) { // use for attribute to specify targets target_ids = target_list.split(' '); var selector = '#' + target_ids.join(',#'); return $(selector); } }; /** * For this model: * target termtooltip text */ targetSelectByPrevious = function(el, config) { sibling = el.previousSibling; // If the previous sibling is not an element, keep looking while (sibling && sibling.nodeType != 1) sibling = sibling.previousSibling; return $(sibling); }; /** * Make all siblings targets. Experimental. */ targetSelectBySiblings = function(el, config) { return $(el).siblings(); }; //// prepare tip elements //// /** * The tooltip element needs special preparation. You may define your own * prepare functions to customize the behavior. */ // adds a close link to clicktips clicktipPrepareWithCloseLink = function(o, config) { return o.append("close") .find('a.clicktip_close').click(function(e) { o.hide(); return false; }).end(); }; // ensure that hovertips do not disappear when the mouse is over them. // also position the hovertip as an absolutely positioned child of body. hovertipPrepare = function(o, config) { return o.hover(function() { hovertipHideCancel(this); }, function() { hovertipHideLater(this); }).css('position', 'absolute').each(hovertipPosition); }; // do not modify tooltips when preparing hovertipPrepareNoOp = function(o, config) { return o; }; //// manipulate tip elements ///// /** * A variety of functions to modify tooltip elements */ // move tooltips to body, so they are not descended from other absolutely // positioned elements. hovertipPosition = function(i) { document.body.appendChild(this); }; hovertipIsVisible = function(el) { return (jQuery.css(el, 'display') != 'none'); }; // show the tooltip under the mouse. // Introduce a delay, so tip appears only if cursor rests on target for more than an instant. hovertipShowUnderMouse = function(el) { hovertipHideCancel(el); if (!hovertipIsVisible(el)) { el.ht.showing = // keep reference to timer window.setTimeout(function() { el.ht.tip.css({ 'position':'absolute', 'z-index': '99', 'top': hovertipMouseY + 'px', 'left': hovertipMouseX + 'px'}) .show(); }, el.ht.config.showDelay); } }; // do not hide hovertipHideCancel = function(el) { if (el.ht.hiding) { window.clearTimeout(el.ht.hiding); el.ht.hiding = null; } }; // Hide a tooltip, but only after a delay. // The delay allow the tip to remain when user moves mouse from target to tooltip hovertipHideLater = function(el) { if (el.ht.showing) { window.clearTimeout(el.ht.showing); el.ht.showing = null; } if (el.ht.hiding) { window.clearTimeout(el.ht.hiding); el.ht.hiding = null; } el.ht.hiding = window.setTimeout(function() { if (el.ht.hiding) { // fadeOut, slideUp do not work on Konqueror el.ht.tip.hide(); } }, el.ht.config.hideDelay); }; //// prepare target elements //// /** * As we prepared the tooltip elements, the targets also need preparation. * * You may define your own custom behavior. */ // when clicked on target, toggle visibilty of tooltip clicktipTargetPrepare = function(o, el, config) { return o.addClass(config.attribute + '_target') .click(function() { el.ht.tip.toggle(); return false; }); }; // when hover over target, make tooltip appear hovertipTargetPrepare = function(o, el, config) { return o.addClass(config.attribute + '_target') .hover(function() { // show tip when mouse over target hovertipShowUnderMouse(el); }, function() { // hide the tip // add a delay so user can move mouse from the target to the tip hovertipHideLater(el); }); }; /** * hovertipActivate() is our jQuery plugin function. It turns on hovertip or * clicktip behavior for a set of elements. * * @param config * controls aspects of tooltip behavior. Be sure to define * 'attribute', 'showDelay' and 'hideDelay'. * * @param targetSelect * function finds the targets of a given tooltip element. * * @param tipPrepare * function alters the tooltip to display and behave properly * * @param targetPrepare * function alters the target to display and behave properly. */ jQuery.fn.hovertipActivate = function(config, targetSelect, tipPrepare, targetPrepare) { //alert('activating ' + this.size()); // unhide so jquery show/hide will work. return this.css('display', 'block') .hide() // don't show it until click .each(function() { if (!this.ht) this.ht = new Object(); this.ht.config = config; // find our targets var targets = targetSelect(this, config); if (targets && targets.size()) { if (!this.ht.targets) this.ht.targets = targetPrepare(targets, this, config); else this.ht.targets.add(targetPrepare(targets, this, config)); // listen to mouse move events so we know exatly where to place hovetips targets.mousemove(hovertipMouseUpdate); // prepare the tooltip element // is it bad form to call $(this) here? if (!this.ht.tip) this.ht.tip = tipPrepare($(this), config); } }) ; }; /** * Here's an example ready function which shows how to enable tooltips. * * You can make this considerably shorter by choosing only the markup style(s) * you will use. * * You may also remove the code that wraps hovertips to produce drop-shadow FX * * Invoke this function or one like it from your $(document).ready(). * * Here, we break the action up into several timout callbacks, to avoid * locking up browsers. */ function hovertipInit() { // specify the attribute name we use for our clicktips var clicktipConfig = {'attribute':'clicktip'}; /** * To enable this style of markup (id on tooltip): * target... *
blah blah
*/ window.setTimeout(function() { $('.clicktip').hovertipActivate(clicktipConfig, targetSelectById, clicktipPrepareWithCloseLink, clicktipTargetPrepare); }, 0); /** * To enable this style of markup (id on target): * target... *
blah blah
*/ window.setTimeout(function() { $('.clicktip').hovertipActivate(clicktipConfig, targetSelectByTargetAttribute, clicktipPrepareWithCloseLink, clicktipTargetPrepare); }, 0); // specify our configuration for hovertips, including delay times (millisec) var hovertipConfig = {'attribute':'hovertip', 'showDelay': 300, 'hideDelay': 700}; // use
blah blah
var hovertipSelect = 'div.hovertip'; // OPTIONAL: here we wrap each hovertip to apply special effect. (i.e. drop shadow): $(hovertipSelect).css('display', 'block').addClass('hovertip_wrap3'). wrap("
" + "
").each(function() { // fix class and attributes for newly wrapped elements var tooltip = this.parentNode.parentNode.parentNode; if (this.getAttribute('target')) tooltip.setAttribute('target', this.getAttribute('target')); if (this.getAttribute('id')) { var id = this.getAttribute('id'); this.removeAttribute('id'); tooltip.setAttribute('id', id); } }); hovertipSelect = 'div.hovertip_wrap0'; // end optional FX section if (1) { // enable some of the following methods, but not all /** * To enable this style of markup (id on tooltip): * target... *
blah blah
*/ window.setTimeout(function() { $(hovertipSelect).hovertipActivate(hovertipConfig, targetSelectById, hovertipPrepare, hovertipTargetPrepare); }, 0); /** * To enable this style of markup (id on target): * target... *
blah blah
*/ window.setTimeout(function() { $(hovertipSelect).hovertipActivate(hovertipConfig, targetSelectByTargetAttribute, hovertipPrepare, hovertipTargetPrepare); }, 0); } else { /** * To enable this style of markup (id on target): * target... *
blah blah
* * Note that your should enable either this method, or preceeding (target * attribute) method. Not both, as the div with class=hovertip will be * associated with more than one target. */ window.setTimeout(function() { $(hovertipSelect).hovertipActivate(hovertipConfig, targetSelectByPrevious, hovertipPrepare, hovertipTargetPrepare); }, 0); } hovertipSpanInit(); }; /** * This simplified alternative to hovertipInit supports markup like this: * * this is the text that always appearsthis is the text that appears on mouse hover. */ function hovertipSpanInit() { // specify our configuration for hovertips, including delay times (millisec) var hovertipConfig = {'attribute':'hovertip', 'showDelay': 300, 'hideDelay': 700}; var hovertipSpanSelect = 'span.hovertip'; // activate hovertips with wrappers for FX (drop shadow): $(hovertipSpanSelect).css('display', 'block').addClass('hovertip_wrap3'). wrap("" + "").each(function() { // fix class and attributes for newly wrapped elements var tooltip = this.parentNode.parentNode.parentNode; if (this.getAttribute('target')) tooltip.setAttribute('target', this.getAttribute('target')); if (this.getAttribute('id')) { var id = this.getAttribute('id'); this.removeAttribute('id'); tooltip.setAttribute('id', id); } }); hovertipSpanSelect = 'span.hovertip_wrap0'; window.setTimeout(function() { $(hovertipSpanSelect) .hovertipActivate(hovertipConfig, targetSelectByPrevious, hovertipPrepare, hovertipTargetPrepare); }, 0); }; /** * This simplified alternative to hovertipInit supports markup like this: * * this is the text that always appearsthis is the text that appears on mouse hover. * * In this case the text that always appeared will be followed by an icon inicating more information is available. */ function hoverinfoDivInit() { // specify our configuration for hovertips, including delay times (millisec) var hovertipConfig = {'attribute':'hovertip', 'showDelay': 300, 'hideDelay': 700}; var select = '.hoverinfo'; // activate hovertips with wrappers for FX (drop shadow): $(select).css('display', 'block').addClass('hovertip_wrap3'). wrap("
" + "
"); hovertipSpanSelect = 'div.hovertip_wrap0'; window.setTimeout(function() { $(hovertipSpanSelect) .before('') .hovertipActivate(hovertipConfig, targetSelectByPrevious, hovertipPrepare, hovertipTargetPrepare); }, 0); }; ; (function(){var g=1;var h=2;var i=3;var j=4;var k=true;var l=function(b,c,d){var e=b[c];var f;if(d.type==g)f=function(){var a=e.apply(this,arguments);return d.value.apply(this,[a,c])};else if(d.type==h)f=function(){d.value.apply(this,[arguments,c]);return e.apply(this,arguments)};else if(d.type==j)f=function(){return d.value.apply(this,arguments)};else if(d.type==i){f=function(){var a={object:this,args:arguments};return d.value.apply(a.object,[{arguments:a.args,method:c,proceed:function(){return e.apply(a.object,a.args)}}])}}f.unweave=function(){b[c]=e;pointcut=b=f=e=null};b[c]=f;return f};var m=function(a,b){var c=(typeof(a.target.prototype)!='undefined')?a.target.prototype:a.target;var d=[];if(b.type!=j&&typeof(c[a.method])=='undefined'){for(var e in c){if(c[e]!=null&&c[e]instanceof Function&&e.match(a.method)){d[d.length]=l(c,e,b)}}if(d.length==0)throw'No method: '+a.method;}else{d[0]=l(c,a.method,b)}return k?d:d[0]};jQuery.aop={after:function(a,b){return m(a,{type:g,value:b})},before:function(a,b){return m(a,{type:h,value:b})},around:function(a,b){return m(a,{type:i,value:b})},introduction:function(a,b){return m(a,{type:j,value:b})},setup:function(a){k=a.regexMatch}}})();; (function($, Drupal) { Drupal.jsonify = { /** * Performs an AJAX GET request on the URL returning * the results as JSON. If a callback is supplied, the * request is asynchronous. If not, the request is synchronous. */ get: function(url, callback) { if (typeof callback == "function") { $.ajax({ type: "GET", url: url, success: function(data) { callback(data); }, error: function() { callback(false); }, dataType: "json" }); } else { var result; $.ajax({ async: false, type: "GET", url: url, success: function(data) { result = data; }, error: function(data) { result = false; }, dataType: "json" }); return result; } }, load: function(type, id, callback) { var urls = { node: Drupal.settings.basePath + "jsonify/node/" + id, comment: Drupal.settings.basePath + "jsonify/comment/" + id }; if (type in urls) { return Drupal.jsonify.get(urls[type], callback); } else { throw Drupal.t("Jsonify Error: Unsupported type: @type. Supported types: node, comment.", {'@type': type}); } } }; })(jQuery, Drupal); ; /* $Id: lightbox.js,v 1.5.2.6.2.136 2010/09/24 08:39:40 snpower Exp $ */ /** * jQuery Lightbox * @author * Stella Power, * * Based on Lightbox v2.03.3 by Lokesh Dhakar * * Also partially based on the jQuery Lightbox by Warren Krewenki * * * Permission has been granted to Mark Ashmead & other Drupal Lightbox2 module * maintainers to distribute this file via Drupal.org * Under GPL license. * * Slideshow, iframe and video functionality added by Stella Power. */ var Lightbox = { auto_modal : false, overlayOpacity : 0.8, // Controls transparency of shadow overlay. overlayColor : '000', // Controls colour of shadow overlay. disableCloseClick : true, // Controls the order of the lightbox resizing animation sequence. resizeSequence: 0, // 0: simultaneous, 1: width then height, 2: height then width. resizeSpeed: 'normal', // Controls the speed of the lightbox resizing animation. fadeInSpeed: 'normal', // Controls the speed of the image appearance. slideDownSpeed: 'slow', // Controls the speed of the image details appearance. minWidth: 240, borderSize : 10, boxColor : 'fff', fontColor : '000', topPosition : '', infoHeight: 20, alternative_layout : false, imageArray : [], imageNum : null, total : 0, activeImage : null, inprogress : false, disableResize : false, disableZoom : false, isZoomedIn : false, rtl : false, loopItems : false, keysClose : ['c', 'x', 27], keysPrevious : ['p', 37], keysNext : ['n', 39], keysZoom : ['z'], keysPlayPause : [32], // Slideshow options. slideInterval : 5000, // In milliseconds. showPlayPause : true, autoStart : true, autoExit : true, pauseOnNextClick : false, // True to pause the slideshow when the "Next" button is clicked. pauseOnPrevClick : true, // True to pause the slideshow when the "Prev" button is clicked. slideIdArray : [], slideIdCount : 0, isSlideshow : false, isPaused : false, loopSlides : false, // Iframe options. isLightframe : false, iframe_width : 600, iframe_height : 400, iframe_border : 1, // Video and modal options. enableVideo : false, flvPlayer : '/flvplayer.swf', flvFlashvars : '', isModal : false, isVideo : false, videoId : false, modalWidth : 400, modalHeight : 400, modalHTML : null, // initialize() // Constructor runs on completion of the DOM loading. // The function inserts html at the bottom of the page which is used // to display the shadow overlay and the image container. initialize: function() { var s = Drupal.settings.lightbox2; Lightbox.overlayOpacity = s.overlay_opacity; Lightbox.overlayColor = s.overlay_color; Lightbox.disableCloseClick = s.disable_close_click; Lightbox.resizeSequence = s.resize_sequence; Lightbox.resizeSpeed = s.resize_speed; Lightbox.fadeInSpeed = s.fade_in_speed; Lightbox.slideDownSpeed = s.slide_down_speed; Lightbox.borderSize = s.border_size; Lightbox.boxColor = s.box_color; Lightbox.fontColor = s.font_color; Lightbox.topPosition = s.top_position; Lightbox.rtl = s.rtl; Lightbox.loopItems = s.loop_items; Lightbox.keysClose = s.keys_close.split(" "); Lightbox.keysPrevious = s.keys_previous.split(" "); Lightbox.keysNext = s.keys_next.split(" "); Lightbox.keysZoom = s.keys_zoom.split(" "); Lightbox.keysPlayPause = s.keys_play_pause.split(" "); Lightbox.disableResize = s.disable_resize; Lightbox.disableZoom = s.disable_zoom; Lightbox.slideInterval = s.slideshow_interval; Lightbox.showPlayPause = s.show_play_pause; Lightbox.showCaption = s.show_caption; Lightbox.autoStart = s.slideshow_automatic_start; Lightbox.autoExit = s.slideshow_automatic_exit; Lightbox.pauseOnNextClick = s.pause_on_next_click; Lightbox.pauseOnPrevClick = s.pause_on_previous_click; Lightbox.loopSlides = s.loop_slides; Lightbox.alternative_layout = s.use_alt_layout; Lightbox.iframe_width = s.iframe_width; Lightbox.iframe_height = s.iframe_height; Lightbox.iframe_border = s.iframe_border; Lightbox.enableVideo = s.enable_video; if (s.enable_video) { Lightbox.flvPlayer = s.flvPlayer; Lightbox.flvFlashvars = s.flvFlashvars; } // Make the lightbox divs. var layout_class = (s.use_alt_layout ? 'lightbox2-alt-layout' : 'lightbox2-orig-layout'); var output = '\ '; var loading = '
'; var modal = ''; var frame = ''; var imageContainer = ''; var details = '
'; var bottomNav = '
'; var image = ''; var hoverNav = '
'; var frameNav = '
'; var hoverNav = '
'; var frameNav = '
'; var caption = ''; var numberDisplay = ''; var close = ''; var zoom = ''; var zoomOut = ''; var pause = ''; var play = ''; $("body").append(output); $('#outerImageContainer').append(modal + frame + imageContainer + loading); if (!s.use_alt_layout) { $('#imageContainer').append(image + hoverNav); $('#imageData').append(details + bottomNav); $('#imageDetails').append(caption + numberDisplay); $('#bottomNav').append(frameNav + close + zoom + zoomOut + pause + play); } else { $('#outerImageContainer').append(bottomNav); $('#imageContainer').append(image); $('#bottomNav').append(close + zoom + zoomOut); $('#imageData').append(hoverNav + details); $('#imageDetails').append(caption + numberDisplay + pause + play); } // Setup onclick handlers. if (Lightbox.disableCloseClick) { $('#lightbox2-overlay').click(function() { Lightbox.end(); return false; } ).hide(); } $('#loadingLink, #bottomNavClose').click(function() { Lightbox.end('forceClose'); return false; } ); $('#prevLink, #framePrevLink').click(function() { Lightbox.changeData(Lightbox.activeImage - 1); return false; } ); $('#nextLink, #frameNextLink').click(function() { Lightbox.changeData(Lightbox.activeImage + 1); return false; } ); $('#bottomNavZoom').click(function() { Lightbox.changeData(Lightbox.activeImage, true); return false; } ); $('#bottomNavZoomOut').click(function() { Lightbox.changeData(Lightbox.activeImage, false); return false; } ); $('#lightshowPause').click(function() { Lightbox.togglePlayPause("lightshowPause", "lightshowPlay"); return false; } ); $('#lightshowPlay').click(function() { Lightbox.togglePlayPause("lightshowPlay", "lightshowPause"); return false; } ); // Fix positioning. $('#prevLink, #nextLink, #framePrevLink, #frameNextLink').css({ 'paddingTop': Lightbox.borderSize + 'px'}); $('#imageContainer, #frameContainer, #modalContainer').css({ 'padding': Lightbox.borderSize + 'px'}); $('#outerImageContainer, #imageDataContainer, #bottomNavClose').css({'backgroundColor': '#' + Lightbox.boxColor, 'color': '#'+Lightbox.fontColor}); if (Lightbox.alternative_layout) { $('#bottomNavZoom, #bottomNavZoomOut').css({'bottom': Lightbox.borderSize + 'px', 'right': Lightbox.borderSize + 'px'}); } else if (Lightbox.rtl == 1 && $.browser.msie) { $('#bottomNavZoom, #bottomNavZoomOut').css({'left': '0px'}); } // Force navigation links to always be displayed if (s.force_show_nav) { $('#prevLink, #nextLink').addClass("force_show_nav"); } }, // initList() // Loops through anchor tags looking for 'lightbox', 'lightshow' and // 'lightframe', etc, references and applies onclick events to appropriate // links. You can rerun after dynamically adding images w/ajax. initList : function(context) { if (context == undefined || context == null) { context = document; } // Attach lightbox to any links with rel 'lightbox', 'lightshow' or // 'lightframe', etc. $("a[rel^='lightbox']:not(.lightbox-processed), area[rel^='lightbox']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { if (Lightbox.disableCloseClick) { $('#lightbox').unbind('click'); $('#lightbox').click(function() { Lightbox.end('forceClose'); } ); } Lightbox.start(this, false, false, false, false); if (e.preventDefault) { e.preventDefault(); } return false; }); $("a[rel^='lightshow']:not(.lightbox-processed), area[rel^='lightshow']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { if (Lightbox.disableCloseClick) { $('#lightbox').unbind('click'); $('#lightbox').click(function() { Lightbox.end('forceClose'); } ); } Lightbox.start(this, true, false, false, false); if (e.preventDefault) { e.preventDefault(); } return false; }); $("a[rel^='lightframe']:not(.lightbox-processed), area[rel^='lightframe']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { if (Lightbox.disableCloseClick) { $('#lightbox').unbind('click'); $('#lightbox').click(function() { Lightbox.end('forceClose'); } ); } Lightbox.start(this, false, true, false, false); if (e.preventDefault) { e.preventDefault(); } return false; }); if (Lightbox.enableVideo) { $("a[rel^='lightvideo']:not(.lightbox-processed), area[rel^='lightvideo']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { if (Lightbox.disableCloseClick) { $('#lightbox').unbind('click'); $('#lightbox').click(function() { Lightbox.end('forceClose'); } ); } Lightbox.start(this, false, false, true, false); if (e.preventDefault) { e.preventDefault(); } return false; }); } $("a[rel^='lightmodal']:not(.lightbox-processed), area[rel^='lightmodal']:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { $('#lightbox').unbind('click'); // Add classes from the link to the lightbox div - don't include lightbox-processed $('#lightbox').addClass($(this).attr('class')); $('#lightbox').removeClass('lightbox-processed'); Lightbox.start(this, false, false, false, true); if (e.preventDefault) { e.preventDefault(); } return false; }); $("#lightboxAutoModal:not(.lightbox-processed)", context).addClass('lightbox-processed').click(function(e) { Lightbox.auto_modal = true; $('#lightbox').unbind('click'); Lightbox.start(this, false, false, false, true); if (e.preventDefault) { e.preventDefault(); } return false; }); }, // start() // Display overlay and lightbox. If image is part of a set, add siblings to // imageArray. start: function(imageLink, slideshow, lightframe, lightvideo, lightmodal) { Lightbox.isPaused = !Lightbox.autoStart; // Replaces hideSelectBoxes() and hideFlash() calls in original lightbox2. Lightbox.toggleSelectsFlash('hide'); // Stretch overlay to fill page and fade in. var arrayPageSize = Lightbox.getPageSize(); $("#lightbox2-overlay").hide().css({ 'width': '100%', 'zIndex': '10090', 'height': arrayPageSize[1] + 'px', 'backgroundColor' : '#' + Lightbox.overlayColor }); // Detect OS X FF2 opacity + flash issue. if (lightvideo && this.detectMacFF2()) { $("#lightbox2-overlay").removeClass("overlay_default"); $("#lightbox2-overlay").addClass("overlay_macff2"); $("#lightbox2-overlay").css({'opacity' : null}); } else { $("#lightbox2-overlay").removeClass("overlay_macff2"); $("#lightbox2-overlay").addClass("overlay_default"); $("#lightbox2-overlay").css({'opacity' : Lightbox.overlayOpacity}); } $("#lightbox2-overlay").fadeIn(Lightbox.fadeInSpeed); Lightbox.isSlideshow = slideshow; Lightbox.isLightframe = lightframe; Lightbox.isVideo = lightvideo; Lightbox.isModal = lightmodal; Lightbox.imageArray = []; Lightbox.imageNum = 0; var anchors = $(imageLink.tagName); var anchor = null; var rel_parts = Lightbox.parseRel(imageLink); var rel = rel_parts["rel"]; var rel_group = rel_parts["group"]; var title = (rel_parts["title"] ? rel_parts["title"] : imageLink.title); var rel_style = null; var i = 0; if (rel_parts["flashvars"]) { Lightbox.flvFlashvars = Lightbox.flvFlashvars + '&' + rel_parts["flashvars"]; } // Set the title for image alternative text. var alt = imageLink.title; if (!alt) { var img = $(imageLink).find("img"); if (img && $(img).attr("alt")) { alt = $(img).attr("alt"); } else { alt = title; } } if ($(imageLink).attr('id') == 'lightboxAutoModal') { rel_style = rel_parts["style"]; Lightbox.imageArray.push(['#lightboxAutoModal > *', title, alt, rel_style, 1]); } else { // Handle lightbox images with no grouping. if ((rel == 'lightbox' || rel == 'lightshow') && !rel_group) { Lightbox.imageArray.push([imageLink.href, title, alt]); } // Handle other items with no grouping. else if (!rel_group) { rel_style = rel_parts["style"]; Lightbox.imageArray.push([imageLink.href, title, alt, rel_style]); } // Handle grouped items. else { // Loop through anchors and add them to imageArray. for (i = 0; i < anchors.length; i++) { anchor = anchors[i]; if (anchor.href && typeof(anchor.href) == "string" && $(anchor).attr('rel')) { var rel_data = Lightbox.parseRel(anchor); var anchor_title = (rel_data["title"] ? rel_data["title"] : anchor.title); img_alt = anchor.title; if (!img_alt) { var anchor_img = $(anchor).find("img"); if (anchor_img && $(anchor_img).attr("alt")) { img_alt = $(anchor_img).attr("alt"); } else { img_alt = title; } } if (rel_data["rel"] == rel) { if (rel_data["group"] == rel_group) { if (Lightbox.isLightframe || Lightbox.isModal || Lightbox.isVideo) { rel_style = rel_data["style"]; } Lightbox.imageArray.push([anchor.href, anchor_title, img_alt, rel_style]); } } } } // Remove duplicates. for (i = 0; i < Lightbox.imageArray.length; i++) { for (j = Lightbox.imageArray.length-1; j > i; j--) { if (Lightbox.imageArray[i][0] == Lightbox.imageArray[j][0]) { Lightbox.imageArray.splice(j,1); } } } while (Lightbox.imageArray[Lightbox.imageNum][0] != imageLink.href) { Lightbox.imageNum++; } } } if (Lightbox.isSlideshow && Lightbox.showPlayPause && Lightbox.isPaused) { $('#lightshowPlay').show(); $('#lightshowPause').hide(); } // Calculate top and left offset for the lightbox. var arrayPageScroll = Lightbox.getPageScroll(); var lightboxTop = arrayPageScroll[1] + (Lightbox.topPosition == '' ? (arrayPageSize[3] / 10) : Lightbox.topPosition) * 1; var lightboxLeft = arrayPageScroll[0]; $('#frameContainer, #modalContainer, #lightboxImage').hide(); $('#hoverNav, #prevLink, #nextLink, #frameHoverNav, #framePrevLink, #frameNextLink').hide(); $('#imageDataContainer, #numberDisplay, #bottomNavZoom, #bottomNavZoomOut').hide(); $('#outerImageContainer').css({'width': '250px', 'height': '250px'}); $('#lightbox').css({ 'zIndex': '10500', 'top': lightboxTop + 'px', 'left': lightboxLeft + 'px' }).show(); Lightbox.total = Lightbox.imageArray.length; Lightbox.changeData(Lightbox.imageNum); }, // changeData() // Hide most elements and preload image in preparation for resizing image // container. changeData: function(imageNum, zoomIn) { if (Lightbox.inprogress === false) { if (Lightbox.total > 1 && ((Lightbox.isSlideshow && Lightbox.loopSlides) || (!Lightbox.isSlideshow && Lightbox.loopItems))) { if (imageNum >= Lightbox.total) imageNum = 0; if (imageNum < 0) imageNum = Lightbox.total - 1; } if (Lightbox.isSlideshow) { for (var i = 0; i < Lightbox.slideIdCount; i++) { window.clearTimeout(Lightbox.slideIdArray[i]); } } Lightbox.inprogress = true; Lightbox.activeImage = imageNum; if (Lightbox.disableResize && !Lightbox.isSlideshow) { zoomIn = true; } Lightbox.isZoomedIn = zoomIn; // Hide elements during transition. $('#loading').css({'zIndex': '10500'}).show(); if (!Lightbox.alternative_layout) { $('#imageContainer').hide(); } $('#frameContainer, #modalContainer, #lightboxImage').hide(); $('#hoverNav, #prevLink, #nextLink, #frameHoverNav, #framePrevLink, #frameNextLink').hide(); $('#imageDataContainer, #numberDisplay, #bottomNavZoom, #bottomNavZoomOut').hide(); // Preload image content, but not iframe pages. if (!Lightbox.isLightframe && !Lightbox.isVideo && !Lightbox.isModal) { $("#lightbox #imageDataContainer").removeClass('lightbox2-alt-layout-data'); imgPreloader = new Image(); imgPreloader.onerror = function() { Lightbox.imgNodeLoadingError(this); }; imgPreloader.onload = function() { var photo = document.getElementById('lightboxImage'); photo.src = Lightbox.imageArray[Lightbox.activeImage][0]; photo.alt = Lightbox.imageArray[Lightbox.activeImage][2]; var imageWidth = imgPreloader.width; var imageHeight = imgPreloader.height; // Resize code. var arrayPageSize = Lightbox.getPageSize(); var targ = { w:arrayPageSize[2] - (Lightbox.borderSize * 2), h:arrayPageSize[3] - (Lightbox.borderSize * 6) - (Lightbox.infoHeight * 4) - (arrayPageSize[3] / 10) }; var orig = { w:imgPreloader.width, h:imgPreloader.height }; // Image is very large, so show a smaller version of the larger image // with zoom button. if (zoomIn !== true) { var ratio = 1.0; // Shrink image with the same aspect. $('#bottomNavZoomOut, #bottomNavZoom').hide(); if ((orig.w >= targ.w || orig.h >= targ.h) && orig.h && orig.w) { ratio = ((targ.w / orig.w) < (targ.h / orig.h)) ? targ.w / orig.w : targ.h / orig.h; if (!Lightbox.disableZoom && !Lightbox.isSlideshow) { $('#bottomNavZoom').css({'zIndex': '10500'}).show(); } } imageWidth = Math.floor(orig.w * ratio); imageHeight = Math.floor(orig.h * ratio); } else { $('#bottomNavZoom').hide(); // Only display zoom out button if the image is zoomed in already. if ((orig.w >= targ.w || orig.h >= targ.h) && orig.h && orig.w) { // Only display zoom out button if not a slideshow and if the // buttons aren't disabled. if (!Lightbox.disableResize && Lightbox.isSlideshow === false && !Lightbox.disableZoom) { $('#bottomNavZoomOut').css({'zIndex': '10500'}).show(); } } } photo.style.width = (imageWidth) + 'px'; photo.style.height = (imageHeight) + 'px'; Lightbox.resizeContainer(imageWidth, imageHeight); // Clear onLoad, IE behaves irratically with animated gifs otherwise. imgPreloader.onload = function() {}; }; imgPreloader.src = Lightbox.imageArray[Lightbox.activeImage][0]; imgPreloader.alt = Lightbox.imageArray[Lightbox.activeImage][2]; } // Set up frame size, etc. else if (Lightbox.isLightframe) { $("#lightbox #imageDataContainer").addClass('lightbox2-alt-layout-data'); var src = Lightbox.imageArray[Lightbox.activeImage][0]; $('#frameContainer').html(''); // Enable swf support in Gecko browsers. if ($.browser.mozilla && src.indexOf('.swf') != -1) { setTimeout(function () { document.getElementById("lightboxFrame").src = Lightbox.imageArray[Lightbox.activeImage][0]; }, 1000); } if (!Lightbox.iframe_border) { $('#lightboxFrame').css({'border': 'none'}); $('#lightboxFrame').attr('frameborder', '0'); } var iframe = document.getElementById('lightboxFrame'); var iframeStyles = Lightbox.imageArray[Lightbox.activeImage][3]; iframe = Lightbox.setStyles(iframe, iframeStyles); Lightbox.resizeContainer(parseInt(iframe.width, 10), parseInt(iframe.height, 10)); } else if (Lightbox.isVideo || Lightbox.isModal) { $("#lightbox #imageDataContainer").addClass('lightbox2-alt-layout-data'); var container = document.getElementById('modalContainer'); var modalStyles = Lightbox.imageArray[Lightbox.activeImage][3]; container = Lightbox.setStyles(container, modalStyles); if (Lightbox.isVideo) { Lightbox.modalHeight = parseInt(container.height, 10) - 10; Lightbox.modalWidth = parseInt(container.width, 10) - 10; Lightvideo.startVideo(Lightbox.imageArray[Lightbox.activeImage][0]); } Lightbox.resizeContainer(parseInt(container.width, 10), parseInt(container.height, 10)); } } }, // imgNodeLoadingError() imgNodeLoadingError: function(image) { var s = Drupal.settings.lightbox2; var original_image = Lightbox.imageArray[Lightbox.activeImage][0]; if (s.display_image_size !== "") { original_image = original_image.replace(new RegExp("."+s.display_image_size), ""); } Lightbox.imageArray[Lightbox.activeImage][0] = original_image; image.onerror = function() { Lightbox.imgLoadingError(image); }; image.src = original_image; }, // imgLoadingError() imgLoadingError: function(image) { var s = Drupal.settings.lightbox2; Lightbox.imageArray[Lightbox.activeImage][0] = s.default_image; image.src = s.default_image; }, // resizeContainer() resizeContainer: function(imgWidth, imgHeight) { imgWidth = (imgWidth < Lightbox.minWidth ? Lightbox.minWidth : imgWidth); this.widthCurrent = $('#outerImageContainer').width(); this.heightCurrent = $('#outerImageContainer').height(); var widthNew = (imgWidth + (Lightbox.borderSize * 2)); var heightNew = (imgHeight + (Lightbox.borderSize * 2)); // Scalars based on change from old to new. this.xScale = ( widthNew / this.widthCurrent) * 100; this.yScale = ( heightNew / this.heightCurrent) * 100; // Calculate size difference between new and old image, and resize if // necessary. wDiff = this.widthCurrent - widthNew; hDiff = this.heightCurrent - heightNew; $('#modalContainer').css({'width': imgWidth, 'height': imgHeight}); // Detect animation sequence. if (Lightbox.resizeSequence) { var animate1 = {width: widthNew}; var animate2 = {height: heightNew}; if (Lightbox.resizeSequence == 2) { animate1 = {height: heightNew}; animate2 = {width: widthNew}; } $('#outerImageContainer').animate(animate1, Lightbox.resizeSpeed).animate(animate2, Lightbox.resizeSpeed, 'linear', function() { Lightbox.showData(); }); } // Simultaneous. else { $('#outerImageContainer').animate({'width': widthNew, 'height': heightNew}, Lightbox.resizeSpeed, 'linear', function() { Lightbox.showData(); }); } // If new and old image are same size and no scaling transition is necessary // do a quick pause to prevent image flicker. if ((hDiff === 0) && (wDiff === 0)) { if ($.browser.msie) { Lightbox.pause(250); } else { Lightbox.pause(100); } } var s = Drupal.settings.lightbox2; if (!s.use_alt_layout) { $('#prevLink, #nextLink').css({'height': imgHeight + 'px'}); } $('#imageDataContainer').css({'width': widthNew + 'px'}); }, // showData() // Display image and begin preloading neighbors. showData: function() { $('#loading').hide(); if (Lightbox.isLightframe || Lightbox.isVideo || Lightbox.isModal) { Lightbox.updateDetails(); if (Lightbox.isLightframe) { $('#frameContainer').show(); if ($.browser.safari || Lightbox.fadeInSpeed === 0) { $('#lightboxFrame').css({'zIndex': '10500'}).show(); } else { $('#lightboxFrame').css({'zIndex': '10500'}).fadeIn(Lightbox.fadeInSpeed); } } else { if (Lightbox.isVideo) { $("#modalContainer").html(Lightbox.modalHTML).click(function(){return false;}).css('zIndex', '10500').show(); } else { var src = unescape(Lightbox.imageArray[Lightbox.activeImage][0]); if (Lightbox.imageArray[Lightbox.activeImage][4]) { $(src).appendTo("#modalContainer"); $('#modalContainer').css({'zIndex': '10500'}).show(); } else { // Use a callback to show the new image, otherwise you get flicker. $("#modalContainer").hide().load(src, function () {$('#modalContainer').css({'zIndex': '10500'}).show();}); } $('#modalContainer').unbind('click'); } // This might be needed in the Lightframe section above. //$('#modalContainer').css({'zIndex': '10500'}).show(); } } // Handle display of image content. else { $('#imageContainer').show(); if ($.browser.safari || Lightbox.fadeInSpeed === 0) { $('#lightboxImage').css({'zIndex': '10500'}).show(); } else { $('#lightboxImage').css({'zIndex': '10500'}).fadeIn(Lightbox.fadeInSpeed); } Lightbox.updateDetails(); this.preloadNeighborImages(); } Lightbox.inprogress = false; // Slideshow specific stuff. if (Lightbox.isSlideshow) { if (!Lightbox.loopSlides && Lightbox.activeImage == (Lightbox.total - 1)) { if (Lightbox.autoExit) { Lightbox.slideIdArray[Lightbox.slideIdCount++] = setTimeout(function () {Lightbox.end('slideshow');}, Lightbox.slideInterval); } } else { if (!Lightbox.isPaused && Lightbox.total > 1) { Lightbox.slideIdArray[Lightbox.slideIdCount++] = setTimeout(function () {Lightbox.changeData(Lightbox.activeImage + 1);}, Lightbox.slideInterval); } } if (Lightbox.showPlayPause && Lightbox.total > 1 && !Lightbox.isPaused) { $('#lightshowPause').show(); $('#lightshowPlay').hide(); } else if (Lightbox.showPlayPause && Lightbox.total > 1) { $('#lightshowPause').hide(); $('#lightshowPlay').show(); } } // Adjust the page overlay size. var arrayPageSize = Lightbox.getPageSize(); var arrayPageScroll = Lightbox.getPageScroll(); var pageHeight = arrayPageSize[1]; if (Lightbox.isZoomedIn && arrayPageSize[1] > arrayPageSize[3]) { var lightboxTop = (Lightbox.topPosition == '' ? (arrayPageSize[3] / 10) : Lightbox.topPosition) * 1; pageHeight = pageHeight + arrayPageScroll[1] + lightboxTop; } $('#lightbox2-overlay').css({'height': pageHeight + 'px', 'width': arrayPageSize[0] + 'px'}); // Gecko browsers (e.g. Firefox, SeaMonkey, etc) don't handle pdfs as // expected. if ($.browser.mozilla) { if (Lightbox.imageArray[Lightbox.activeImage][0].indexOf(".pdf") != -1) { setTimeout(function () { document.getElementById("lightboxFrame").src = Lightbox.imageArray[Lightbox.activeImage][0]; }, 1000); } } }, // updateDetails() // Display caption, image number, and bottom nav. updateDetails: function() { $("#imageDataContainer").hide(); var s = Drupal.settings.lightbox2; if (s.show_caption) { var caption = Lightbox.filterXSS(Lightbox.imageArray[Lightbox.activeImage][1]); if (!caption) caption = ''; $('#caption').html(caption).css({'zIndex': '10500'}).show(); } // If image is part of set display 'Image x of x'. var numberDisplay = null; if (s.image_count && Lightbox.total > 1) { var currentImage = Lightbox.activeImage + 1; if (!Lightbox.isLightframe && !Lightbox.isModal && !Lightbox.isVideo) { numberDisplay = s.image_count.replace(/\!current/, currentImage).replace(/\!total/, Lightbox.total); } else if (Lightbox.isVideo) { numberDisplay = s.video_count.replace(/\!current/, currentImage).replace(/\!total/, Lightbox.total); } else { numberDisplay = s.page_count.replace(/\!current/, currentImage).replace(/\!total/, Lightbox.total); } $('#numberDisplay').html(numberDisplay).css({'zIndex': '10500'}).show(); } else { $('#numberDisplay').hide(); } $("#imageDataContainer").hide().slideDown(Lightbox.slideDownSpeed, function() { $("#bottomNav").show(); }); if (Lightbox.rtl == 1) { $("#bottomNav").css({'float': 'left'}); } Lightbox.updateNav(); }, // updateNav() // Display appropriate previous and next hover navigation. updateNav: function() { $('#hoverNav').css({'zIndex': '10500'}).show(); var prevLink = '#prevLink'; var nextLink = '#nextLink'; // Slideshow is separated as we need to show play / pause button. if (Lightbox.isSlideshow) { if ((Lightbox.total > 1 && Lightbox.loopSlides) || Lightbox.activeImage !== 0) { $(prevLink).css({'zIndex': '10500'}).show().click(function() { if (Lightbox.pauseOnPrevClick) { Lightbox.togglePlayPause("lightshowPause", "lightshowPlay"); } Lightbox.changeData(Lightbox.activeImage - 1); return false; }); } else { $(prevLink).hide(); } // If not last image in set, display next image button. if ((Lightbox.total > 1 && Lightbox.loopSlides) || Lightbox.activeImage != (Lightbox.total - 1)) { $(nextLink).css({'zIndex': '10500'}).show().click(function() { if (Lightbox.pauseOnNextClick) { Lightbox.togglePlayPause("lightshowPause", "lightshowPlay"); } Lightbox.changeData(Lightbox.activeImage + 1); return false; }); } // Safari browsers need to have hide() called again. else { $(nextLink).hide(); } } // All other types of content. else { if ((Lightbox.isLightframe || Lightbox.isModal || Lightbox.isVideo) && !Lightbox.alternative_layout) { $('#frameHoverNav').css({'zIndex': '10500'}).show(); $('#hoverNav').css({'zIndex': '10500'}).hide(); prevLink = '#framePrevLink'; nextLink = '#frameNextLink'; } // If not first image in set, display prev image button. if ((Lightbox.total > 1 && Lightbox.loopItems) || Lightbox.activeImage !== 0) { // Unbind any other click handlers, otherwise this adds a new click handler // each time the arrow is clicked. $(prevLink).css({'zIndex': '10500'}).show().unbind().click(function() { Lightbox.changeData(Lightbox.activeImage - 1); return false; }); } // Safari browsers need to have hide() called again. else { $(prevLink).hide(); } // If not last image in set, display next image button. if ((Lightbox.total > 1 && Lightbox.loopItems) || Lightbox.activeImage != (Lightbox.total - 1)) { // Unbind any other click handlers, otherwise this adds a new click handler // each time the arrow is clicked. $(nextLink).css({'zIndex': '10500'}).show().unbind().click(function() { Lightbox.changeData(Lightbox.activeImage + 1); return false; }); } // Safari browsers need to have hide() called again. else { $(nextLink).hide(); } } // Don't enable keyboard shortcuts so forms will work. if (!Lightbox.isModal) { this.enableKeyboardNav(); } }, // enableKeyboardNav() enableKeyboardNav: function() { $(document).bind("keydown", this.keyboardAction); }, // disableKeyboardNav() disableKeyboardNav: function() { $(document).unbind("keydown", this.keyboardAction); }, // keyboardAction() keyboardAction: function(e) { if (e === null) { // IE. keycode = event.keyCode; escapeKey = 27; } else { // Mozilla. keycode = e.keyCode; escapeKey = e.DOM_VK_ESCAPE; } key = String.fromCharCode(keycode).toLowerCase(); // Close lightbox. if (Lightbox.checkKey(Lightbox.keysClose, key, keycode)) { Lightbox.end('forceClose'); } // Display previous image (p, <-). else if (Lightbox.checkKey(Lightbox.keysPrevious, key, keycode)) { if ((Lightbox.total > 1 && ((Lightbox.isSlideshow && Lightbox.loopSlides) || (!Lightbox.isSlideshow && Lightbox.loopItems))) || Lightbox.activeImage !== 0) { Lightbox.changeData(Lightbox.activeImage - 1); } } // Display next image (n, ->). else if (Lightbox.checkKey(Lightbox.keysNext, key, keycode)) { if ((Lightbox.total > 1 && ((Lightbox.isSlideshow && Lightbox.loopSlides) || (!Lightbox.isSlideshow && Lightbox.loopItems))) || Lightbox.activeImage != (Lightbox.total - 1)) { Lightbox.changeData(Lightbox.activeImage + 1); } } // Zoom in. else if (Lightbox.checkKey(Lightbox.keysZoom, key, keycode) && !Lightbox.disableResize && !Lightbox.disableZoom && !Lightbox.isSlideshow && !Lightbox.isLightframe) { if (Lightbox.isZoomedIn) { Lightbox.changeData(Lightbox.activeImage, false); } else if (!Lightbox.isZoomedIn) { Lightbox.changeData(Lightbox.activeImage, true); } return false; } // Toggle play / pause (space). else if (Lightbox.checkKey(Lightbox.keysPlayPause, key, keycode) && Lightbox.isSlideshow) { if (Lightbox.isPaused) { Lightbox.togglePlayPause("lightshowPlay", "lightshowPause"); } else { Lightbox.togglePlayPause("lightshowPause", "lightshowPlay"); } return false; } }, preloadNeighborImages: function() { if ((Lightbox.total - 1) > Lightbox.activeImage) { preloadNextImage = new Image(); preloadNextImage.src = Lightbox.imageArray[Lightbox.activeImage + 1][0]; } if (Lightbox.activeImage > 0) { preloadPrevImage = new Image(); preloadPrevImage.src = Lightbox.imageArray[Lightbox.activeImage - 1][0]; } }, end: function(caller) { var closeClick = (caller == 'slideshow' ? false : true); if (Lightbox.isSlideshow && Lightbox.isPaused && !closeClick) { return; } // To prevent double clicks on navigation links. if (Lightbox.inprogress === true && caller != 'forceClose') { return; } Lightbox.disableKeyboardNav(); $('#lightbox').hide(); $("#lightbox2-overlay").fadeOut(); Lightbox.isPaused = true; Lightbox.inprogress = false; // Replaces calls to showSelectBoxes() and showFlash() in original // lightbox2. Lightbox.toggleSelectsFlash('visible'); if (Lightbox.isSlideshow) { for (var i = 0; i < Lightbox.slideIdCount; i++) { window.clearTimeout(Lightbox.slideIdArray[i]); } $('#lightshowPause, #lightshowPlay').hide(); } else if (Lightbox.isLightframe) { $('#frameContainer').empty().hide(); } else if (Lightbox.isVideo || Lightbox.isModal) { if (!Lightbox.auto_modal) { $('#modalContainer').hide().html(""); } Lightbox.auto_modal = false; } }, // getPageScroll() // Returns array with x,y page scroll values. // Core code from - quirksmode.com. getPageScroll : function() { var xScroll, yScroll; if (self.pageYOffset || self.pageXOffset) { yScroll = self.pageYOffset; xScroll = self.pageXOffset; } else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) { // Explorer 6 Strict. yScroll = document.documentElement.scrollTop; xScroll = document.documentElement.scrollLeft; } else if (document.body) {// All other Explorers. yScroll = document.body.scrollTop; xScroll = document.body.scrollLeft; } arrayPageScroll = [xScroll,yScroll]; return arrayPageScroll; }, // getPageSize() // Returns array with page width, height and window width, height. // Core code from - quirksmode.com. // Edit for Firefox by pHaez. getPageSize : function() { var xScroll, yScroll; if (window.innerHeight && window.scrollMaxY) { xScroll = window.innerWidth + window.scrollMaxX; yScroll = window.innerHeight + window.scrollMaxY; } else if (document.body.scrollHeight > document.body.offsetHeight) { // All but Explorer Mac. xScroll = document.body.scrollWidth; yScroll = document.body.scrollHeight; } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari. xScroll = document.body.offsetWidth; yScroll = document.body.offsetHeight; } var windowWidth, windowHeight; if (self.innerHeight) { // All except Explorer. if (document.documentElement.clientWidth) { windowWidth = document.documentElement.clientWidth; } else { windowWidth = self.innerWidth; } windowHeight = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode. windowWidth = document.documentElement.clientWidth; windowHeight = document.documentElement.clientHeight; } else if (document.body) { // Other Explorers. windowWidth = document.body.clientWidth; windowHeight = document.body.clientHeight; } // For small pages with total height less than height of the viewport. if (yScroll < windowHeight) { pageHeight = windowHeight; } else { pageHeight = yScroll; } // For small pages with total width less than width of the viewport. if (xScroll < windowWidth) { pageWidth = xScroll; } else { pageWidth = windowWidth; } arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight); return arrayPageSize; }, // pause(numberMillis) pause : function(ms) { var date = new Date(); var curDate = null; do { curDate = new Date(); } while (curDate - date < ms); }, // toggleSelectsFlash() // Hide / unhide select lists and flash objects as they appear above the // lightbox in some browsers. toggleSelectsFlash: function (state) { if (state == 'visible') { $("select.lightbox_hidden, embed.lightbox_hidden, object.lightbox_hidden").show(); } else if (state == 'hide') { $("select:visible, embed:visible, object:visible").not('#lightboxAutoModal select, #lightboxAutoModal embed, #lightboxAutoModal object').addClass("lightbox_hidden"); $("select.lightbox_hidden, embed.lightbox_hidden, object.lightbox_hidden").hide(); } }, // parseRel() parseRel: function (link) { var parts = []; parts["rel"] = parts["title"] = parts["group"] = parts["style"] = parts["flashvars"] = null; if (!$(link).attr('rel')) return parts; parts["rel"] = $(link).attr('rel').match(/\w+/)[0]; if ($(link).attr('rel').match(/\[(.*)\]/)) { var info = $(link).attr('rel').match(/\[(.*?)\]/)[1].split('|'); parts["group"] = info[0]; parts["style"] = info[1]; if (parts["style"] != undefined && parts["style"].match(/flashvars:\s?(.*?);/)) { parts["flashvars"] = parts["style"].match(/flashvars:\s?(.*?);/)[1]; } } if ($(link).attr('rel').match(/\[.*\]\[(.*)\]/)) { parts["title"] = $(link).attr('rel').match(/\[.*\]\[(.*)\]/)[1]; } return parts; }, // setStyles() setStyles: function(item, styles) { item.width = Lightbox.iframe_width; item.height = Lightbox.iframe_height; item.scrolling = "auto"; if (!styles) return item; var stylesArray = styles.split(';'); for (var i = 0; i< stylesArray.length; i++) { if (stylesArray[i].indexOf('width:') >= 0) { var w = stylesArray[i].replace('width:', ''); item.width = jQuery.trim(w); } else if (stylesArray[i].indexOf('height:') >= 0) { var h = stylesArray[i].replace('height:', ''); item.height = jQuery.trim(h); } else if (stylesArray[i].indexOf('scrolling:') >= 0) { var scrolling = stylesArray[i].replace('scrolling:', ''); item.scrolling = jQuery.trim(scrolling); } else if (stylesArray[i].indexOf('overflow:') >= 0) { var overflow = stylesArray[i].replace('overflow:', ''); item.overflow = jQuery.trim(overflow); } } return item; }, // togglePlayPause() // Hide the pause / play button as appropriate. If pausing the slideshow also // clear the timers, otherwise move onto the next image. togglePlayPause: function(hideId, showId) { if (Lightbox.isSlideshow && hideId == "lightshowPause") { for (var i = 0; i < Lightbox.slideIdCount; i++) { window.clearTimeout(Lightbox.slideIdArray[i]); } } $('#' + hideId).hide(); $('#' + showId).show(); if (hideId == "lightshowPlay") { Lightbox.isPaused = false; if (!Lightbox.loopSlides && Lightbox.activeImage == (Lightbox.total - 1)) { Lightbox.end(); } else if (Lightbox.total > 1) { Lightbox.changeData(Lightbox.activeImage + 1); } } else { Lightbox.isPaused = true; } }, triggerLightbox: function (rel_type, rel_group) { if (rel_type.length) { if (rel_group && rel_group.length) { $("a[rel^='" + rel_type +"\[" + rel_group + "\]'], area[rel^='" + rel_type +"\[" + rel_group + "\]']").eq(0).trigger("click"); } else { $("a[rel^='" + rel_type +"'], area[rel^='" + rel_type +"']").eq(0).trigger("click"); } } }, detectMacFF2: function() { var ua = navigator.userAgent.toLowerCase(); if (/firefox[\/\s](\d+\.\d+)/.test(ua)) { var ffversion = new Number(RegExp.$1); if (ffversion < 3 && ua.indexOf('mac') != -1) { return true; } } return false; }, checkKey: function(keys, key, code) { return (jQuery.inArray(key, keys) != -1 || jQuery.inArray(String(code), keys) != -1); }, filterXSS: function(str, allowed_tags) { var output = ""; $.ajax({ url: Drupal.settings.basePath + 'system/lightbox2/filter-xss', data: { 'string' : str, 'allowed_tags' : allowed_tags }, type: "POST", async: false, dataType: "json", success: function(data) { output = data; } }); return output; } }; // Initialize the lightbox. Drupal.behaviors.initLightbox = function (context) { $('body:not(.lightbox-processed)', context).addClass('lightbox-processed').each(function() { Lightbox.initialize(); return false; // Break the each loop. }); // Attach lightbox to any links with lightbox rels. Lightbox.initList(context); $('#lightboxAutoModal', context).triggerHandler('click'); }; ; // $Id: mollom.js,v 1.2.2.13 2010/08/07 02:49:44 dries Exp $ (function ($) { /** * Open Mollom privacy policy link in a new window. * * Required for valid XHTML Strict markup. */ Drupal.behaviors.mollomPrivacy = function (context) { $('.mollom-privacy a', context).click(function () { this.target = '_blank'; }); }; /** * Attach click event handlers for CAPTCHA links. */ Drupal.behaviors.mollomCaptcha = function (context) { $('a.mollom-switch-captcha', context).click(getMollomCaptcha); }; /** * Fetch a Mollom CAPTCHA and output the image or audio into the form. */ function getMollomCaptcha() { // Get the current requested CAPTCHA type from the clicked link. var newCaptchaType = $(this).hasClass('mollom-audio-captcha') ? 'audio' : 'image'; var context = $(this).parents('form'); // Extract the Mollom session id from the form. var mollomSessionId = $('input.mollom-session-id', context).val(); // Retrieve a CAPTCHA: $.getJSON(Drupal.settings.basePath + 'mollom/captcha/' + newCaptchaType + '/' + mollomSessionId, function (data) { if (!(data && data.content)) { return; } // Inject new CAPTCHA. $('.mollom-captcha-content', context).parent().html(data.content); // Update session id. $('input.mollom-session-id', context).val(data.session_id); // Add an onclick-event handler for the new link. Drupal.attachBehaviors(context); // Focus on the CATPCHA input. $('input[name="mollom[captcha]"]', context).focus(); } ); return false; } })(jQuery); ; if (window.Econ == undefined) { Econ = {}; } Econ.FormFeatures = {}; Econ.FormFeatures.Validate = function(formName, validateFields) { this.formName = formName this.validateFields = validateFields; this.submitForm = function() { var thisObj = this; var formName = this.formName; $('form' + formName).submit(function(){ return thisObj.emptyFields(); }); } this.emptyFields = function() { var formName = this.formName; var formSubmit = true; var thisObj = this; $(validateFields, formName).each(function(){ var $this = $(this); var parentElm = $this.parent(); if ($.trim($this.val()) == '' || $this.val() == 'invalid') { thisObj.invalidField(parentElm, 'This field is required'); if (formName == '#user-profile-form') { $('html, body').animate({ scrollTop: ($('fieldset:not(.fieldset-editable) div.messages-inline').offset().top - 50) }, 600); } formSubmit = false; } }); if ($(formName + ' div.messages-inline').length) { if ($('div.messages-inline').length == 1 && $('fieldset.penname-fieldset div.messages-inline').length) { formSubmit = true; } else { formSubmit = false; } } return formSubmit; } this.checkFields = function() { var thisObj = this; $(validateFields, formName).each(function(){ var $this = $(this); var parentElm = $this.parent(); $this.keypress(function(){ var errorBox = parentElm.next('div.messages-inline'); if ($.trim($this.val()) == '') { parentElm.removeClass('valid') } if (errorBox.length){ parentElm.removeClass('form-item-error'); errorBox.remove(); } }); $this.change(function(){ if ($this.val() == 'invalid') { thisObj.invalidField(parentElm, 'This field is required'); } }); $this.blur(function(){ switch($this.attr('type')){ case 'text': // Browser that don't recognize HTML5 types if ($this.hasClass('form-email')) { thisObj.testEmail($this, parentElm, 'E-mail address not valid'); } else if ($this.hasClass('form-email') || $this.attr('id') == 'edit-conf-mail' && $('#edit-conf-mail').length) { thisObj.verifyMatch('#edit-mail','#edit-conf-mail', 'E-mail addresses'); }else { thisObj.validField(parentElm); } break; case 'email': if ($.trim($this.val())) { thisObj.testEmail($this, parentElm, 'E-mail address not valid'); thisObj.verifyMatch('#edit-mail','#edit-conf-mail', 'E-mail addresses'); } else { thisObj.validField(parentElm); } break; case 'password': var formid = thisObj.formName; if (formid != '#user-login' && formid != '#user-login-block') { thisObj.verifyPassword($this, parentElm); } else { thisObj.validField(parentElm); } if ($('input.password-confirm').length) { thisObj.verifyMatch('.password-field', '.password-confirm', 'Passwords') } break; case 'select-one': if ($this.val() != 'invalid') { thisObj.validField(parentElm); } break; default: thisObj.validField(parentElm); } if ($.trim($this.val()) == '' && parentElm.hasClass('valid')){ parentElm.removeClass('valid'); } }); }); } this.validField = function(parentElm){ parentElm.removeClass('form-item-error').addClass('valid'); parentElm.next('div.messages-inline').remove(); } this.invalidField = function(parentElm, error){ parentElm.parents('form').removeClass('error-default'); parentElm.addClass('form-item-error'); if (!parentElm.next('div.messages-inline').length){ parentElm.removeClass('valid').after('
' + error +'
'); } } this.verifyMatch = function(idA, idB, type) { var elmA = $(idA).val(); var elmB = $(idB).val(); var parent = $(idB).parent(); if (elmA.length && elmB.length) { if (elmA == elmB) { this.validField(parent); } else { this.invalidField(parent, type + ' don\'t match'); } } } this.testEmail = function(field, parent, error) { var email_regex = field.val(); var checkAt = email_regex.indexOf('@'); var checkDot = email_regex.indexOf('.'); if ($.trim(field.val())) { if(checkAt > 0 && checkDot > 0) { this.validField(parent) } else { this.invalidField(parent, error); return false; } } return true; } this.verifyPassword = function(field, parent) { var passwordInput = field.val(); if (passwordInput.length > 0 && passwordInput.length < 8) { this.invalidField(parent, 'Please enter at least 8 characters.') } else { this.validField(parent); } } this.checkFields(); this.submitForm(); } Drupal.behaviors.formFeatures = function(){ if (typeof Drupal.settings.formvalidation == "undefined") return; var formName = Drupal.settings.formvalidation.formname; var validateFields = ('input[required="required"], input.required, select.required'); if (!$.isArray(formName)) { formName = [formName]; } $.each(formName, function(key, value) { new Econ.FormFeatures.Validate(value, validateFields); }); // Editable forms if (Drupal.settings.editableform != undefined) { var editableForm = Drupal.settings.editableform.formedit; } if (editableForm != undefined) { // We need this only for the penname. var storedData = $('input#edit-name').val(); $('*[name="editable"]').each(function(){ $(this).prepend('Edit'); }); $('fieldset[name="editable"] input[type="checkbox"]').attr('disabled', 'disabled'); $('').appendTo(editableForm); edit(editableForm); submitEditable(editableForm, storedData); resetForm(editableForm, storedData); // Placeholder functionality to replace the HTML5 one available for modern browsers Modernizr = {}; Modernizr.input = {}; if (!Modernizr.input.placeholder) { $('form input[placeholder]').each(function(){ var $this = $(this) var placheholder = $this.attr('placeholder'); $this.val(placheholder); $this.focus(function() { if ($this.val() == placheholder) { $this.val(''); } }); $this.blur(function() { if (!$this.val().length) { $this.val(placheholder); } }); }); } } } function edit(editableForm){ var editBlock = $('.edit-block'); editBlock.click(function(){ var parentFieldset = $(this).parents('fieldset'); // Remove the edit block; $(this).remove(); // Remove the edit state form all the other fieldsets (if any exists) and // reset the form values. This use the form reset default functionality. $('input.form-reset').trigger('click'); // Show the form elements for editing. parentFieldset.addClass('fieldset-editable').find('span.label').hide(); // Create the reset button and append to the current fildset. $('input.form-reset').appendTo(parentFieldset); // Append the form submit button to the current fieldset. $('input#edit-submit', editableForm).appendTo(parentFieldset); // Disable checkboxed. $('input[type="checkbox"], input[type="text"], select', parentFieldset).attr('disabled', ''); }); } function checkEmpty(jsFormValidation) { var formsubmit = true; $('form' + jsFormValidation + ' input[required="required"], form' + jsFormValidation + ' input.required, form' + jsFormValidation + ' select.required').each(function(){ var $this = $(this); var parentElm = $this.parent('div.form-item').attr('id'); var label = $('#' + jsFormValidation + ' #' + parentElm + ' label').text().toLowerCase(); label = label.replace('*', '').replace(':', ''); var error = 'This field is required'; if ($.trim($this.val()) == '' || $this.val() == 'invalid'){ invalidField(parentElm, error); formsubmit = false; } }); return formsubmit; } function submitEditable(editableForm, storedData) { $('input#edit-submit', editableForm).live('click', function(e){ var parentFieldset = $(this).parents('fieldset'); var $this = $(this); var empty = checkEmpty(editableForm); var submitBtn = $(''); var resetBtn = $(''); if (empty == false) { return false; } e.preventDefault(); var form = $("form" + editableForm); var parentFieldsetClass = parentFieldset.attr('class'); parentFieldsetClass = parentFieldsetClass.replace(' fieldset-editable', ''); $this.attr('disabled', 'disabled'); $('input.form-reset').attr('disabled', 'disabled'); $('fieldset[name="editable"] input[type="checkbox"]').attr('disabled', ''); var data = form.serialize(); $.ajax({ type: "POST", data: data, beforeSend: function(){ $this.after(''); }, success: function(html){ var htmlContent = $("form" + editableForm + " fieldset." + parentFieldsetClass, html).html(); $("fieldset." + parentFieldsetClass, form).html(htmlContent); $("fieldset." + parentFieldsetClass).attr('name'); // The form has no error. if (!$('div.form-item-error').length) { parentFieldset.removeClass('fieldset-editable'); $('select').each(function() { var valueSelected = $(this).attr('id'); $('label[for=' + valueSelected + '] span.label').text(': ' + $('#' + valueSelected + " :selected").text()).show(); }); $('div.form-item').removeClass('valid'); // Re-add the edit block. if ($("fieldset." + parentFieldsetClass, html).attr('name') == 'editable') { parentFieldset.prepend('Edit'); } resetBtn.appendTo(form); submitBtn.appendTo(form); $('fieldset.' + parentFieldsetClass + ' legend').after('
Your personal information has successfully been updated.
') if ($('div.fieldset-message').length) { // After 4 seconds, slowly fadeout and then remove the confirmation. setTimeout(function() { $('div.fieldset-message').fadeOut('slow', function() { $("div.fieldset-message").remove(); }); }, 4000); } $('fieldset[name="editable"] input[type="checkbox"]').attr('disabled', 'disabled'); } // The form has errors. else { $("fieldset." + parentFieldsetClass + " div.description").appendTo($("fieldset." + parentFieldsetClass)); $('input.form-reset').appendTo(parentFieldset); $('input#edit-name').keypress(function(){ var errorBox = $('div.messages-inline'); if (errorBox.length){ $('div.form-item-error').removeClass('form-item-error'); errorBox.remove(); } }); resetBtn.appendTo(parentFieldset); submitBtn.appendTo(parentFieldset); } edit(editableForm); } }); }); } function resetForm(editableForm, storedData){ $(editableForm + ' input.form-reset').live('click', function(e){ var parentFieldset = $(this).parents('fieldset'); var pennameFieldset = parentFieldset.hasClass('penname-fieldset'); if (pennameFieldset){ e.preventDefault(); $('input#edit-name').remove(); $('label[for=edit-name]').after(''); } parentFieldset.removeClass('fieldset-editable') $('div.form-item') $('span.label').show(); $('div.messages-inline').remove(); $('div.form-item').removeClass('form-item-error').removeClass('valid'); if(!parentFieldset.children('span.edit-block').length) { parentFieldset.prepend('Edit'); } edit(editableForm); $('fieldset[name="editable"] input[type="checkbox"]').attr('disabled', 'disabled'); }); } function invalidField(parentElm, error){ var parentElm = $('#' + parentElm); parentElm.addClass('form-item-error'); if (!parentElm.next('div.messages-inline').length){ parentElm.removeClass('valid').after('
' + error +'
'); } }; if (Drupal.jsEnabled) { $(document).ready(function() { if($('#edit-base-data').val() == 'comments') { $("#edit-abuse-reason-wrapper").slideUp('fast'); } $("#edit-base-data").change(function() { $("#edit-base-data option:selected").each(function () { if ($(this).text() == 'Abuse reports') { $("#edit-abuse-reason-wrapper").slideDown('fast'); $("#edit-abuse-reason").removeAttr("disabled"); } else { $("#edit-abuse-reason").attr("disabled","disabled"); $("#edit-abuse-reason-wrapper").slideUp('fast'); } }); }); // Add an error message if there are more then 5,000 chars in the comment on comment textarea commentMaxlength("edit-comment", 5000, "#comment-form-buttons", "commentform"); }); function commentMaxlength(element_id, maxlength, insBeforeElmt, caller) { var element = $('#' + element_id); var element_form = element.parents('form'); var submit_btn = element_form.find('#edit-submit'); var preview_btn = element_form.find('#edit-preview'); var error_div = 0; // If there is nothing in the element, disable the form. if (element.val() == '') { submit_btn.attr('disabled', 'disabled'); preview_btn.attr('disabled', 'disabled'); } // Check for keypresses, and see if we can re-enable it. element.bind('keyup', function() { if (element.val().length > maxlength) { // The following line of code will truncate the entered text at the maxlength, removing // $("#" + element_id).val($("#" + element_id).val().substr(0,maxlength)); if (error_div == 0) { var error_msg = 'You have exceeded ' + numberFormat(maxlength) + ' characters.'; error_div = $('
' + error_msg + '
'); $(insBeforeElmt).before(error_div); } // Only disable the comment form when the maxlength is passed. if (caller == 'commentform') { submit_btn.attr('disabled', 'disabled'); preview_btn.attr('disabled', 'disabled'); } } else if (caller == 'commentform' && $.trim(element.val()) == "") { if (error_div != 0) { error_div.remove(); error_div = 0; } submit_btn.attr('disabled', 'disabled'); preview_btn.attr('disabled', 'disabled'); } else { // Remove the error (if exists) when the number of chars is less or equal to the maxlength if (error_div != 0) { error_div.remove(); error_div = 0; } submit_btn.removeAttr('disabled'); preview_btn.removeAttr('disabled'); } }); } //This function formats numbers by adding commas function numberFormat(nStr){ nStr += ''; x = nStr.split('.'); x1 = x[0]; x2 = x.length > 1 ? '.' + x[1] : ''; var rgx = /(\d+)(\d{3})/; while (rgx.test(x1)) x1 = x1.replace(rgx, '$1' + ',' + '$2'); return x1 + x2; } } ; $(document).ready(function(){ $(".ec-article-lightbox").click(function(e){ e.preventDefault(); var add_width_main = 40; var add_width_sub = 20; var add_extra_height = 0; // Add an overlay grey area on top of the DOM strycture after the body. $("#page").before("
"); // Set the height of the overlay grey area to spread on all the visible area. $("#articleOverlay").height(document.body.clientHeight); // Get the html for the image var getImage = $(this).html(); // Create the overlay box. var overlayBox = '
'; overlayBox += '

You can move this image

' + getImage; overlayBox += '
'; overlayBox += '
'; // append the overlay box to the body. $("body").append(overlayBox); // Remove the enlarge. $("#articleimageWrapper img").next().remove(); // Remove any inline styles. $('#articleimageWrapper img').attr('style', ''); // Grab the source if available and append it to the overlayBox. if ($(this).prev().html()){ $("span.over-image-source").html($(this).prev().html()); } // Grab the caption if available and append it to the overlayBox. if ($(this).next().html()){ $("span.over-image-caption").html($(this).next().html()); var add_extra_height = 10; } // Place the overlay box in the center of the screen. $("#articleImgContainer").css("top", $(window).scrollTop() + 90 ); $("#articleImgContainer").css("left", (($(window).width()/2) - ($("#articleimageWrapper img").attr("width")/2) - 20)) // If the image is less then 180px width increase the size the overlayBox. if ($("#articleimageWrapper img").attr("width") < 180){ add_width_main = 80; add_width_sub = 60; $("#articleimageWrapper div span.over-image-source").css("margin-right", add_width_sub/2); $("#articleimageWrapper div span.over-image-caption").css("margin-left", add_width_sub/2); } // If the image is wider then the viewport it will be resized to fit in the screen. if ($("#articleimageWrapper img").attr("width") > $(window).width()){ var imageToResize = $("#articleimageWrapper img"); var maxWidth = $(window).width() - 100; resizeImage(imageToResize, maxWidth); $("#articleImgContainer").css("left", (($(window).width()/2) - (resizeImage(imageToResize, maxWidth)/2) - 20)) } $("#articleImgContainer").css("width", ($("#articleimageWrapper img").attr("width") + add_width_main) ) $("#articleimageWrapper").css("width", ($("#articleimageWrapper img").attr("width") + add_width_sub) ) $("#articleImgContainer").css("height", ($("#articleimageWrapper img").attr("height") + 40 + add_extra_height) ) $("#articleimageWrapper").css("height", ($("#articleimageWrapper img").attr("height") + 20) ) // Close the overlay if either the grey area or the close icon is clicked. $("#articleOverlay").click(function(){$("#articleImgContainer").remove(); $(this).remove()}); $("span.lightbox-close").click(function(){$("#articleImgContainer").remove(); $("#articleOverlay").remove()}); // Add the drag functionality. $("#articleImgContainer").bind("drag", function(event){$(this).css({top: event.offsetY,left: event.offsetX});}); }); }) /** * * Used to resize the image keeping the proportions * * @imageToResize * jQuery selector for the image. * * @maxWidth * Maximum width for the image to resize. * */ function resizeImage(imageToResize, maxWidth) { if ($(imageToResize).height() > $(imageToResize).width()) { var h = maxWidth; var w = Math.ceil($(imageToResize).width() / $(imageToResize).height() * maxWidth); } else { var w = maxWidth; var h = Math.ceil($(imageToResize).height() / $(imageToResize).width() * maxWidth); } $(imageToResize).css({ height: h, width: w }); return w; } ; // $Id$ /** * Paywall function to set cookies * @param * - meterTimer: the amount of * - timeframe: * 'fixedperiod': the cookies will be set every x days. * - nrOfDays: the number of days after the cookies expired. * 'fixedday': the cookies will be set a specific day of the week. * - fixedDay: the day of the week the cookies expired. * - nid: the ID of the current node. * - limit: how many articles can be viewed. */ Drupal.behaviors.paywallMetered = function(){ var nid = Drupal.settings.paywallMetered.nid; var referrers = Drupal.settings.paywallMetered.referrers; if (!isFromReferrer(referrers) && nid) { // To avoid mistaken clicks and article choosen by mistake we set a timer before // the cookies are set or updated. var meterTimer = Drupal.settings.paywallMetered.timeOut ? Drupal.settings.paywallMetered.timeOut : 5000; // Timer set to 5 seconds. setTimeout (function(){ var limit = Drupal.settings.paywallMetered.limit ? Drupal.settings.paywallMetered.limit : 5; var nidCookie = Drupal.settings.paywallMetered.nidCookie ? Drupal.settings.paywallMetered.nidCookie : 'nidlist'; var wallCookie = Drupal.settings.paywallMetered.wallCookie ? Drupal.settings.paywallMetered.wallCookie : 'limit'; var timeframe = Drupal.settings.paywallMetered.timeFrame ? Drupal.settings.paywallMetered.timeFrame : 'fixedperiod'; var cookieArray = $.cookie(nidCookie); //readCookie(nidCookie); var date = new Date(); // Change the cookies expiration date according to the timeframe set. if (timeframe == 'fixedperiod'){ var days = Drupal.settings.paywallMetered.nrOfDays ? Drupal.settings.paywallMetered.nrOfDays : 7; date.setTime(date.getTime()+(days*24*3600*1000)); } else { var fixedDay = Drupal.settings.paywallMetered.fixedDay ? Drupal.settings.paywallMetered.fixedDay : 'Friday'; var days = verifyDayLeft(fixedDay, date.getDay()); date = (date.getDate() + days) + "/" + (date.getMonth() + 1) + "/" + date.getFullYear(); } // If the cookies have been already set we need to append the new NID to the // node id list. if (cookieArray) { // Split the array to get the nids list and the expiry date. cookieArray = cookieArray.split('|'); var nidList = cookieArray[0]; var expiryDate = cookieArray[1]; expiryDate = new Date(expiryDate); // Split the nids list array to get the single nids. nidList = nidList.split(','); // If the node id doesn't exist and we haven't reached the limit append the new id. if (verifyNids(nidList, nid) && (nidList.length < limit)) { // If this is the last node id we can append wallCookie will be set to notallow. if ((nidList.length+1) == limit) { $.cookie( wallCookie, 'notallow', {expires: expiryDate, path: "/"} ); } nidList += ',' + nid; $.cookie( nidCookie, nidList + '|' + expiryDate, {expires: expiryDate, path: "/"} ); } } else { // Set the cookies for the first time (for the current timeframe). $.cookie( nidCookie, nid + '|' + date, {expires: date, path: "/"} ); $.cookie( wallCookie, 'allow', {expires: date, path: "/"} ); } }, meterTimer); } function verifyNids(nidList, nid){ // Verify that the current node id hasn't been already stored in the cookie. for(var i=0;i < nidList.length;i++) { if (nidList[i] == nid) { return false; } } return true; } function verifyDayLeft (startDay, thisDay) { // If the timeframe is set to fixed we need to find out how many days there // are left between today and the fixed expiry day, var weekDays = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"); for (i = 0;i < weekDays.length;i++) { if (startDay == weekDays[i]) { startDay = i; } } // The Week is an equivalence class modulo 7, // so we can use a modular distance calculation return (7 - (thisDay - startDay)) % 7; } function isFromReferrer (referrers) { for(var i=0;i < referrers.length;i++) { if (document.referrer.indexOf(referrers[i]) >= 0) { return true; } } return false; } } ; /* $Id: oo_engine_c.js,v 1.1 2009/11/16 13:41:04 cytefx Exp $ */ /* OnlineOpinion v4.1.7 */ /* This product and other products of OpinionLab, Inc. are protected by U.S. Patent No. 6606581, 6421724, 6785717 B1 and other patents pending. */ var OnlineOpinion=new Object();OnlineOpinion.util={SafeAddOnLoadEvent:function(func){if(!document.getElementById|!document.getElementsByTagName)return;var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=func}else{window.onload=function(){oldonload();func()}}},SafeAddOnUnLoadEvent:function(func){if(!document.getElementById|!document.getElementsByTagName)return;var oldonunload=window.onunload;if(typeof window.onunload!='function'){window.onunload=func}else{window.onunload=function(){func();oldonunload()}}},popup:function(url,wname,wfeatures){var wpopup=window.open(url,wname,wfeatures);if(typeof wpopup=='undefined'){if(document.all){document.getElementById("test").href=url;document.getElementById("test").click()}else{var newWindow=window.open(url,'_g');newWindow.focus()}};return false},walkAnchors:function(node,depth,internal_links_re,ooObj){var MAX_NODES=1000;var count=0;while(node&&depth>0){count++;if(count>=MAX_NODES){var handler=function(){OnlineOpinion.util.walkAnchors(node,depth,internal_links_re,ooObj)};setTimeout(handler,50);return}if(node.tagName=="A"||node.tagName=="AREA"){if(internal_links_re.test(node.href)){node.onmousedown=function(){ooObj.Preferences.Plugins.Events.poX=0}}}if(node.tagName=="INPUT"){if(node.type=="submit"||node.type=="image"){node.onmousedown=function(){ooObj.Preferences.Plugins.Events.poX=0}}}if(node.tagName=="FORM"){if(typeof node.onsubmit!='function'){node.onsubmit=function(){ooObj.Preferences.Plugins.Events.poX=0}}else{var oldonsubmit=node.onsubmit;node.onsubmit=function(){ooObj.Preferences.Plugins.Events.poX=0;oldonsubmit()}}}if(node.nodeType==1){var skipre=/^(script|style|textarea)/i;if(!skipre.test(node.tagName)&&node.childNodes.length>0){node=node.childNodes[0];depth++;continue}}if(node.nextSibling){node=node.nextSibling}else{while(depth>0){node=node.parentNode;depth--;if(node==null)break;if(node.nextSibling){node=node.nextSibling;break}}}}},change_parent_url:function(url){document.location=url}};OnlineOpinion.cookie=function(){this.cookie_name='oo_r';this.expiration=24*60*60*1000;this.rhex=function(num){var hex_chr='0123456789abcdef',_3='';for(var j=0;j<=3;j++)_3+=hex_chr.charAt((num>>(j*8+4))&0x0F)+hex_chr.charAt((num>>(j*8))&0x0F);return _3};this.str2blks_MD5=function(_3){var nblk=((_3.length+8)>>6)+1,blks=new Array(nblk*16);var i=0;for(;i>2]|=_3.charCodeAt(i)<<((i%4)*8);blks[i>>2]|=0x80<<((i%4)*8);blks[nblk*16-2]=_3.length*8;return blks};this._4=function(x,y){var lsw=(x&0xFFFF)+(y&0xFFFF),msw=(x>>16)+(y>>16)+(lsw>>16);return(msw<<16)|(lsw&0xFFFF)};this.rol=function(num,cnt){return(num<>>(32-cnt))};this.cmn=function(q,a,b,x,s,t){return this._4(this.rol(this._4(this._4(a,q),this._4(x,t)),s),b)};this._0=function(a,b,c,d,x,s){return this.cmn((b&c)|((~b)&d),a,0,x,s,0)};this._1=function(a,b,c,d,x,s){return this.cmn((b&c)|(b&d)|(c&d),a,0,x,s,1518500249)};this._2=function(a,b,c,d,x,s){return this.cmn(b^c^d,a,0,x,s,1859775393)};this._6=function(_3){var x=this.str2blks_MD5(_3),a=1732584193,b=-271733879,c=-1732584194,d=271733878;for(var i=0;i])+)?>|<\/\w+>/gi,'');for(var i=0;i0){c_start=document.cookie.indexOf(c_name+"=");if(c_start!=-1){c_start=c_start+c_name.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1)c_end=document.cookie.length;return unescape(document.cookie.substring(c_start,c_end))}}return""}};OnlineOpinion.onPageCCSubmitted=false;OnlineOpinion.instanceCount=0;OnlineOpinion.renderOnPageCC=function(iframe_id,div_id,json_id){var oIframe=document.getElementById(iframe_id),oDoc=oIframe.contentDocument||oIframe.contentWindow.document;oDoc.open();oDoc.write(unescapeHTML(cc_html).replace("resize(_c('_d'));",''));var intervalID=window.setInterval(function(){if(oDoc.body){if(!window.opera)oDoc.close();window.clearInterval(intervalID);var innerBody=oDoc.body,innerDoc=oDoc||frames[iframe_id].document,onPageCCDiv=document.getElementById(div_id),innerHeight=window.innerHeight||document.documentElement.clientHeight,scrollBars=(innerBody.scrollHeight+1)>innerHeight,frameHeight=scrollBars?innerHeight-40:innerBody.scrollHeight+1;oIframe.style.height=frameHeight+'px';if(scrollBars)oIframe.style.width='555px';innerBody.style.border="none";onPageCCDiv.style.display='block';onPageCCDiv.style.visibility='visible';innerDoc.getElementById('CommentCard').onsubmit=function(){var form_elements=this.elements,form_data=[],jsonp=document.createElement('script');for(var i=form_elements.length-1;i>=0;i--){switch(form_elements[i].type){case'checkbox':case'radio':if(form_elements[i].checked)form_data.push(form_elements[i].name+'='+encodeURIComponent(form_elements[i].value));break;case'submit':break;default:form_data.push(form_elements[i].name+'='+encodeURIComponent(form_elements[i].value))}};if(innerDoc.getElementsByName('thank_you')[0].value!='1'){document.getElementById('onlineopinion_cc_overlay').style.display='none'}document.body.appendChild(jsonp);jsonp.src='https://secure.opinionlab.com/rate36_json.asp?'+form_data.join('&')+'&jsonp=OnlineOpinion.renderThankYou';onPageCCDiv.style.display='none';OnlineOpinion.onPageCCSubmitted=true;document.body.removeChild(document.getElementById(json_id));oIframe.id='';onPageCCDiv.id='';return false}}},1000)};OnlineOpinion.renderThankYou=function(markup){if(markup=='Thank you')return;var temp_markup=markup.replace(/</g,'<').replace(/>/g,'>').replace(/"/g,"'").replace(/&/g,'&').replace("resize(_c('_d'))",'');var iframe=document.createElement('iframe'),cc_div=document.createElement('div'),close_link=document.createElement('a');iframe.className='onlineopinion_cc_frame';cc_div.className='onlineopinion_cc_div';cc_div.appendChild(iframe);document.body.appendChild(cc_div);cc_div.style.display='block';cc_div.style.visibility='hidden';var oDoc=iframe.contentDocument||iframe.contentWindow.document;oDoc.open();oDoc.write(temp_markup);var intervalID=window.setInterval(function(){if(oDoc.body){if(!window.opera)oDoc.close();window.clearInterval(intervalID);var innerBody=oDoc.body,innerDoc=oDoc||iframe.document;innerBody.style.border="none";var wWidth=window.innerWidth||document.body.clientWidth;if(!window.XMLHttpRequest)cc_div.style.position='absolute';cc_div.style.left=((wWidth-535)/2)+'px';iframe.style.height=(oDoc.body.scrollHeight+1)+'px';oDoc.getElementById('closeLink').getElementsByTagName('a')[0].onclick=function(){cc_div.style.display='none';document.getElementById('onlineopinion_cc_overlay').style.display='none'};close_link.onclick=function(){cc_div.style.display='none';document.getElementById('onlineopinion_cc_overlay').style.display='none'};close_link.href="javascript:void(0)";close_link.className="onlineopinion_cc_closelink";cc_div.insertBefore(close_link,iframe);if(navigator.userAgent.match(/(msie\s*([7-9]|\d{2}))|opera/i)){var onPageCCShadow=document.createElement("div"),onPageCCShadowTop=document.createElement("div"),onPageCCShadowBottom=document.createElement("div"),tempFrag=document.createDocumentFragment();onPageCCShadow.className='onlineopinion_cc_shadow';onPageCCShadowTop.className='onlineopinion_cc_shadow_top';onPageCCShadowBottom.className='onlineopinion_cc_shadow_bottom';tempFrag.appendChild(onPageCCShadow);tempFrag.appendChild(onPageCCShadowTop);tempFrag.appendChild(onPageCCShadowBottom);cc_div.appendChild(tempFrag)}cc_div.style.visibility='visible'}},1000)};OnlineOpinion.ocode=function(name){this.name=name;OnlineOpinion.instanceCount++;this.instanceNum=OnlineOpinion.instanceCount;function rematch(val,restr){var re=new RegExp(restr);var m=re.exec(val);if(m==null||m==''){return''}else{var s="";for(i=0;irate this page',ty_html:'',float_style:'fixed'};this.Metrics=new Object();this.Metrics.core={'width':screen.width,'height':screen.height,'referer':window.location.href,'prev':document.referrer,'time1':(new Date()).getTime(),'time2':null};this.Metrics.custom=new Object();this.Preferences.Plugins=new Object();this.Preferences.Plugins.Events={poE:0.0,onEntryDelay:0,poX:0.0,poC:{id:'',value:0.0},clickDelay:0,poWC:0.0};this.onEntry=function(){this._5();if(Math.random()>=1.0-this.Preferences.Plugins.Events.poE){if(this.Preferences.Plugins.Events.onEntryDelay){thisObj=this;setTimeout(function(){thisObj.show()},this.Preferences.Plugins.Events.onEntryDelay*1000)}else{this.show()}this.Preferences.Plugins.Events.poX=0.0}};this.onExit=function(){this._5();if(Math.random()>=1.0-this.Preferences.Plugins.Events.poX)this.show()};this.OnClick=function(){this._5();if(this.Preferences.Render.type=='inline'){this.show()}else if(Math.random()>=1.0-this.Preferences.Plugins.Events.poC){if(this.Preferences.Plugins.Events.clickDelay){thisObj=this;setTimeout(function(){thisObj.show()},this.Preferences.Plugins.Events.clickDelay*1000)}else{this.show()}this.Preferences.Plugins.Events.poX=0.0;this.Preferences.Plugins.Events.poC=0.0}};this.Preferences.Plugins.URLRewrite={active:false,full_url_rewrite:null,regex_search_pattern:'',regex_replace_pattern:''};this.Preferences.Plugins.CardOnPage={enabled:false};this._5=function(){if(this._a)return true;this._a=true;this.resetReferer();if(typeof OnlineOpinion.cookie!='undefined'&&this.Preferences.Persistence.cookie_type!=null){this.Cookie=new OnlineOpinion.cookie();if(typeof this.Preferences.Persistence.cookie_name!='undefined')this.Cookie.cookie_name=this.Preferences.Persistence.cookie_name;this.Cookie.expiration=1000*this.Preferences.Persistence.expiration;if(this.Cookie.matchurl(this.Metrics.core.referer,this.Preferences.Persistence.cookie_type)==1&&this.Preferences.Plugins.Events){this.Preferences.Plugins.Events.poX=0;this.Preferences.Plugins.Events.poE=0;return false}}else{this.Cookie=null}return true};this.render=function(onclick_func){this._5();this.Preferences.Render.main_div_id=this.Preferences.Render.main_div_id||'oo_feedback_'+this.instanceNum;var b=new this._9(),d=document,de=d.documentElement,db=d.body,w=window,divID=this.Preferences.Render.main_div_id,bVersion=parseFloat(b.version),compliant=d.compatMode=='CSS1Compat',sObj=compliant?de:db,tempContainer=document.createDocumentFragment();if(b.engine=="webkit"){sObj=db}if(b.engine==null||b.version==null||isNaN(parseInt(b.version,10))||(b.engine=='ie'&&parseFloat(b.version)<6)||(b.engine=='opera'&&parseInt(b.version,10)<8)||(b.engine=='gecko'&&parseInt(b.version,10)<20041107))return false;var mainDivObj=d.getElementById(divID);if(mainDivObj==null){if(this.Preferences.Render.type=='floating'){mainDivObj=d.createElement("div");mainDivObj.id=divID;mainDivObj.className='oo_feedback_float'}}if(mainDivObj.childNodes.length==0){if(this.Preferences.Render.type=='floating'){if(this.Preferences.Persistence.enabled&&this.Preferences.Persistence.cookie_type!=null){if(this.Cookie.matchurl(this.Metrics.core.referer,this.Preferences.Persistence.cookie_type)==1)return false}db.appendChild(mainDivObj);var olUpObj=tempContainer.appendChild(d.createElement("div"));olUpObj.className='olUp';olUpObj.tabIndex=0;olUpObj.onkeyup=function(e){e=e||window.event;if(e.keyCode!=13)return;onclick_func()};var olOverObj=tempContainer.appendChild(d.createElement("div"));olOverObj.className='olOver';if((b.engine=='ie'&&b.version<7||!compliant)&&this.Preferences.Render.click_html&&!this.Preferences.Render.disable_rollover){olUpObj.onmouseover=(function(olUpObj,olOverObj){return function(){olOverObj.style.display='block';olUpObj.style.display='none'}})(olUpObj,olOverObj);olOverObj.onmouseout=(function(olUpObj,olOverObj){return function(){olUpObj.style.display='block';olOverObj.style.display='none'}})(olUpObj,olOverObj)}if(this.Preferences.Render.img_path){var ooImg=olUpObj.appendChild(d.createElement("img"));ooImg.src=this.Preferences.Render.img_path}var fbText=olUpObj.appendChild(d.createElement("span"));fbText.className='fbText';fbText.innerHTML=this.Preferences.Render.feedback_html;if(this.Preferences.Render.transparent_background){var op_bg=olUpObj.appendChild(d.createElement("div"));op_bg.className='oo_transparent'}var feedback_text=null;if(this.Preferences.Render.div_alt_text){feedback_text=this.Preferences.Render.div_alt_text}else{if(document.all){feedback_text=fbText.innerText}else{feedback_text=fbText.textContent}}mainDivObj.alt=feedback_text;mainDivObj.title=feedback_text;olOverObj.innerHTML=this.Preferences.Render.click_html}if(this.Preferences.Render.type=='static'){mainDivObj.innerHTML=this.Preferences.Render.main_html}}mainDivObj.appendChild(tempContainer);if(this.Preferences.Render.type=='floating'){if(!this.Preferences.Render.float_style)this.Preferences.Render.float_style='fixed';var mdoStyle=mainDivObj.style,_b=this,floatStyle=this.Preferences.Render.float_style;if(floatStyle.match(/Content/)){var contentDiv=d.getElementById(_b.Preferences.Render.main_content_id||"content");if(contentDiv==null){floatStyle=this.Preferences.Render.float_style='fixed'}function getRightOfContent(){return contentDiv.offsetWidth+contentDiv.offsetLeft+1}function fixBackground(){if(_b.Preferences.Render.fix_background){db.style.backgroundAttachment="scroll";var margin=null;if(document.defaultView&&document.defaultView.getComputedStyle){margin=parseInt(document.defaultView.getComputedStyle(contentDiv,null).getPropertyValue("margin-left"),10)}else{margin=parseInt(contentDiv.currentStyle.marginLeft,10)}if(isNaN(margin)||margin==0){margin=contentDiv.offsetLeft||0}db.style.backgroundPosition=(Math.floor(contentDiv.scrollWidth*-0.5)-2+margin)+'px 0'}}}var handleIEQuirks=function(e){if(floatStyle.match(/^fixed/)){var newLeft=sObj.scrollLeft+sObj.clientWidth-mainDivObj.clientWidth;if(floatStyle=="fixedPreserveContent"&&newLeftmaxContentWidth){mdoStyle.left=getRightOfContent()-sObj.scrollLeft+'px';mdoStyle.right=null}else{mdoStyle.left=null;mdoStyle.right='0px'}}}}else if(floatStyle=="rightOfContent"){var rightOfContent=getRightOfContent()-sObj.scrollLeft+'px';mdoStyle.bottom='0px';mdoStyle.left=rightOfContent}if(floatStyle.match(/Content$/)){var preserve=floatStyle=="fixedPreserveContent";var gutter=d.createElement("div");db.replaceChild(gutter,mainDivObj);gutter.appendChild(mainDivObj);gutter.style.position="absolute";gutter.style.width=mainDivObj.offsetWidth+'px';gutter.style.right='0px';gutter.style.top='0px';gutter.style.height=sObj.scrollHeight+'px';resizeMove=function(e){var right=getRightOfContent();var runFix=false;if(preserve){var left=sObj.offsetWidth-mainDivObj.offsetWidth;if(left<=right)runFix=true}else{runFix=true}if(runFix){mdoStyle.left=right-sObj.scrollLeft+'px';if(e==null||e.type=='resize'){gutter.style.left=right+'px';fixBackground()}}else{gutter.style.right='0px';gutter.style.left=null;mdoStyle.right="0px";mdoStyle.left=null}}}if(resizeMove){if(b.engine=='ie'){w.attachEvent("onresize",resizeMove);w.attachEvent("onscroll",resizeMove)}else{w.addEventListener("resize",resizeMove,false);w.addEventListener("scroll",resizeMove,false)}resizeMove()}mainDivObj.style.visibility='visible'}}mainDivObj.onclick=onclick_func;return true};this.launchCC=function(){if(this.Cookie.matchurl(this.Metrics.core.referer,this.Preferences.Persistence.cookie_type)!=1){if(this.Preferences.Plugins.CardOnPage.enabled==true){if(this.Preferences.Plugins.CardOnPage.shown&&!OnlineOpinion.onPageCCSubmitted){var temp1=document.getElementById('onlineopinion_cc_div_'+this.instanceNum).style.display='block';var temp2=document.getElementById('onlineopinion_cc_overlay').style.display='block';temp2.onclick=this.hideCC(temp1,temp2)}else{var b=new this._9(),bVersion=parseFloat(b.version),d=document,db=document.body,de=d.documentElement,w=window,onPageCCdiv=db.appendChild(d.createElement("div")),onPageCCiframe=onPageCCdiv.appendChild(d.createElement("iframe")),onPageCCdivOverlay=d.getElementById("onlineopinion_cc_overlay")||db.appendChild(d.createElement("div")),close_link=d.createElement("a"),JSONP2=document.createElement("script");OnlineOpinion.CCcount++;onPageCCdivOverlay.id="onlineopinion_cc_overlay";onPageCCdiv.id='onlineopinion_cc_div_'+this.instanceNum;onPageCCdiv.className='onlineopinion_cc_div';onPageCCiframe.id='onlineopinion_iframe_'+this.instanceNum;onPageCCiframe.className='onlineopinion_cc_frame';onPageCCiframe.setAttribute("frameborder","0");if((b.engine=='ie'&&bVersion>=7)||b.engine=='opera'){var onPageCCShadow=d.createElement("div"),onPageCCShadowTop=d.createElement("div"),onPageCCShadowBottom=d.createElement("div"),tempFrag=d.createDocumentFragment();onPageCCShadow.className='onlineopinion_cc_shadow';onPageCCShadowTop.className='onlineopinion_cc_shadow_top';onPageCCShadowBottom.className='onlineopinion_cc_shadow_bottom';tempFrag.appendChild(onPageCCShadow);tempFrag.appendChild(onPageCCShadowTop);tempFrag.appendChild(onPageCCShadowBottom);onPageCCdiv.appendChild(tempFrag)}close_link.id='onlineopinion_cc_close_link_'+this.instanceNum;close_link.onclick=this.hideCC(onPageCCdiv,onPageCCdivOverlay);if(this.Preferences.Plugins.CardOnPage.overlay_close)onPageCCdivOverlay.onclick=this.hideCC(onPageCCdiv,onPageCCdivOverlay);close_link.href="javascript:void(0)";close_link.className="onlineopinion_cc_closelink";close_link.title=this.Preferences.Plugins.CardOnPage.close_link;onPageCCdiv.insertBefore(close_link,onPageCCiframe);var W=(b.engine=='webkit')?w.innerWidth:(b.engine=='opera'?db.clientWidth:de.clientWidth),H=(b.engine=='webkit')?w.innerHeight:(b.engine=='opera'?db.clientHeight:de.clientHeight),wx=535;onPageCCdiv.style.left=parseInt((W-wx)/2,10)+'px';if(this.Preferences.Plugins.CardOnPage.loader_path)onPageCCdivOverlay.style.backgroundImage='url('+this.Preferences.Plugins.CardOnPage.loader_path+')';JSONP2.id='onlineopinion_cc_jsonp_'+this.instanceNum;document.body.appendChild(JSONP2);if(!window.XMLHttpRequest){var blah=this;var interval=window.setInterval(function(){if(typeof(cc_html)!='undefined')window.clearInterval(interval);JSONP2.src='https://secure.opinionlab.com/ccc01/comment_card_json.asp?'+(blah.Preferences.Render.type=='asm'?'asm=1&':'')+blah.serialize(blah.Metrics.core,0)+'&custom_var='+blah.serialize(blah.Metrics.custom,1)+'&jsonp='+escape('OnlineOpinion.renderOnPageCC("'+onPageCCiframe.id+'","'+onPageCCdiv.id+'","'+JSONP2.id+'")')},1000)}JSONP2.src='https://secure.opinionlab.com/ccc01/comment_card_json.asp?'+(this.Preferences.Render.type=='asm'?'asm=1&':'')+this.serialize(this.Metrics.core,0)+'&custom_var='+this.serialize(this.Metrics.custom,1)+'&jsonp='+escape('OnlineOpinion.renderOnPageCC("'+onPageCCiframe.id+'","'+onPageCCdiv.id+'","'+JSONP2.id+'")');if(b.engine=='ie'&&bVersion<7){onPageCCdiv.style.position='absolute';onPageCCdivOverlay.style.position='absolute';onPageCCdivOverlay.style.height=document.documentElement.clientHeight+'px';onPageCCdivOverlay.style.width=document.documentElement.clientWidth+'px'}onPageCCdiv.style.visibility='hidden';onPageCCdiv.style.display='block';onPageCCdivOverlay.style.display='block';this.Preferences.Plugins.CardOnPage.shown=true;OnlineOpinion.onPageCCSubmitted=false}}else{var omtr_obj=typeof omtr_survey=='object'?this.serialize(omtr_survey,0):'';OnlineOpinion.util.popup('https://secure.opinionlab.com/ccc01/comment_card.asp?'+(this.Preferences.Render.type=='asm'?'asm=1&':'')+this.serialize(this.Metrics.core,0)+'&custom_var='+this.serialize(this.Metrics.custom,1)+omtr_obj,'OnlineOpinion','resizable=yes,copyhistory=yes,scrollbars='+(this.Preferences.Render.type=='asm'?'yes':'no')+',location=no,status=no,fullscreen=no,width=545,height=200,top='+parseInt((this.Metrics.core.height-200)/2,10)+',left='+parseInt((this.Metrics.core.width-545)/2,10))}}};this.hideCC=function(onPageCCdiv,onPageCCOverlay){return function(){var divs=typeof(document.getElementsByClassName)!='undefined'?document.getElementsByClassName('onlineopinion_cc_div'):getElementsByClass('onlineopinion_cc_div',null,null);for(var i=divs.length-1;i>=0;i--){divs[i].style.display='none'};onPageCCOverlay.style.display='none'};function getElementsByClass(searchClass,node,tag){var classElements=new Array();if(node==null)node=document;if(tag==null)tag='*';var els=node.getElementsByTagName(tag);var elsLen=els.length;var pattern=new RegExp("(^|\\s)"+searchClass+"(\\s|$)");for(i=0,j=0;i img', blankLink); // All the below have to pass for this to be considered a "blank" ad. var blankAd = true; blankAd = blankAd && blankLink.length > 0; // Ad contains a link. blankAd = blankAd && blankLink.attr('href').indexOf('doubleclick') > -1; // It is a doubleclick link. blankAd = blankAd && blankImg.length == 1; // That link contains one image. blankAd = blankAd && blankImg.attr('src').indexOf('grey.gif') > -1; // The name of that image contains "grey.gif". blankAd = blankAd && (blankImg.width() == 1 && blankImg.height() == 1); // And, that gif is one by one. // Remove wrapper div around grey.gif images i.e. blank ads. if (blankAd) { $(this).remove(); } }); } // Start Topics ribbon ad. function menuOn(imgEl) { imgEl.src = imgEl.src.replace(".gif", "_on.gif"); imgEl.position= 'relative;' } function menuOut(imgEl) { imgEl.src = imgEl.src.replace("_on.gif", ".gif"); imgEl.position='static;' } // End Topics ribbon ad.; /* OnlineOpinion (S3tS,1424b) */ /* This product and other products of OpinionLab, Inc. are protected by U.S. Patent No. 6606581, 6421724, 6785717 B1 and other patents pending. */ var custom_var,_sp='%3A\\/\\/',_rp='%3A//',_poE=0.0, _poX=0.0,_sH=screen.height,_d=document,_w=window,_ht=escape(_w.location.href),_hr=_d.referrer,_tm=(new Date()).getTime(),_kp=0,_sW=screen.width;_d.onkeypress=_fK;function _fK(_e){if(!_e)_e=_w.event;var _k=(typeof _e.which=='number')?_e.which:_e.keyCode;if((_kp==15&&_k==12))_w.open('https://dashboard.opinionlab.com/pv_controlboard.html?url='+_fC(_ht),'PageViewer','height=529,width=705,screenX='+((_sW-705)/2)+',screenY='+((_sH-529)/2)+',top='+((_sH-529)/2)+',left='+((_sW-705)/2)+',status=yes,toolbar=no,menubar=no,location=no,resizable=yes');_kp=_k};function _fC(_u){_aT=_sp+',\\/,\\.,-,_,'+_rp+',%2F,%2E,%2D,%5F';_aA=_aT.split(',');for(i=0;i<5;i++){eval('_u=_u.replace(/'+_aA[i]+'/g,_aA[i+5])')}return _u};function O_LC(){_w.open('https://secure.opinionlab.com/ccc01/comment_card.asp?time1='+_tm+'&time2='+(new Date()).getTime()+'&prev='+_fC(escape(_hr))+'&referer='+_fC(_ht)+'&height='+_sH+'&width='+_sW+'&custom_var='+custom_var,'comments','width=535,height=192,screenX='+((_sW-535)/2)+',screenY='+((_sH-192)/2)+',top='+((_sH-192)/2)+',left='+((_sW-535)/2)+',resizable=yes,copyhistory=yes,scrollbars=no')};function _fPe(){if(Math.random()>=1.0-_poE){O_LC();_poX=0.0}};function _fPx(){if(Math.random()>=1.0-_poX)O_LC()};window.onunload=_fPx;function O_GoT(_p){_d.write(''+_p+'');_fPe()}; Drupal.behaviors.masthead = function(context) { $('a.show-login').click(function(e) { if ($('form#user-login').length) { // We are already on the log-in page, we won't show the login box we will // scroll down to the login form instead. $('html, body').animate({ scrollTop: ($('form#user-login').offset().top - 30) }, 600); $('input[id="edit-name"]').focus(); e.preventDefault(); } }); } ; $(document).ready(function(){ /* for poor, ancient IE6 */ $("ul#header-navigation-main li.non-drop:not('.active')").hover(function(){ $(this).css('background-color', '#476E7E'); }, function(){ $(this).css('background-color', 'transparent'); }); /* ditto */ $('#header-navigation-main li ul.subnav li').hover(function(){ $(this).css('background-color', '#e6ecee'); $(this).css('cursor', 'pointer'); }, function(){ $(this).css('background-color', 'transparent'); }); /* Remove non-js class from main navigation so css hover doesn't fire */ $('ul#header-navigation-main.non-js').removeClass('non-js'); function toggleSubNavOn() { /* Close any active subnavs before opening a new one. */ $('#header-navigation-main li.highlighted').children('ul').hide(); $('#header-navigation-main li.highlighted').removeClass('highlighted'); if (!$(this).hasClass('active')) { $(this).children('ul').show(); $(this).addClass('highlighted'); } } function toggleSubNavOff() { if (!$(this).hasClass('active')) { $(this).children('ul').hide(); $(this).removeClass('highlighted'); } } /* Config options for hoverIntent. */ var config = { over: toggleSubNavOn, timeout: 500, out: toggleSubNavOff }; /* Target the top-level nav items. */ $('body.world-menu li.world, body.business-menu li.business-finance, body.economics-menu li.economics').hoverIntent(config); }); ; Drupal.behaviors.printerfriendly = function() { // If there is no printer friendly functionality for the specific node, disable // the link and display the browser print pop up. var defaultVersion = Drupal.settings.defaultversion; if (defaultVersion) { $("ul.ec-page-tools li.pt-print a").click(function(e){ e.preventDefault(); window.print(); }); } }; Drupal.behaviors.emailAFriend = function(){ // SHARE: Display the share-links by clicking on share $("li.pt-share a.pt-share-anchor").click(function(e){ e.preventDefault(); $(this).parent().addClass("pt-share-changeico") $(this).next().addClass("pt-share-show"); }); $("ul.pt-share").mouseover(function(){ $(this).addClass("pt-share-show"); }); $("li.pt-share").mouseout(function(){ $("ul", this).removeClass("pt-share-show"); }); // RECOMMEND: Add ajax recommend functionality $("ul li.pt-recommend a").click(function(e){ e.preventDefault(); // Check if there are both the compact and expanded page tools on the page // if yes syncronize the recommend functionality so that by clicking on one it // enables the other too. if (($("ul.ec-pt-compact").length) && ($("ul.ec-pt-expanded").length)) { elm = $("ul li.pt-recommend a"); } else { elm = $(this); } rec_url = elm.attr("href") + '/ajax'; $.ajax({ type: "GET", url: rec_url, beforeSend: function(){elm.addClass('ajax-loader');}, success: function(rec_nr){ elmParent= elm.parent(); elm.remove(); elmParent.addClass("recommended").append("Recommended (" + rec_nr + ")"); } }); }); // RIGHTS & REPRINTS: add "in beta" pop over message $("ul li.pt-randr-grey").mouseover(function(e){ if (!$("span.randr-na").length){ $("#page").before("Not available on the beta site"); $("span.randr-na").css("left", e.pageX).css("top", e.pageY - 30); } }); $("ul li.pt-randr-grey").mouseout(function(){ $("span.randr-na").remove(); }); // EMAIL A FRIEND: Display the email a friend form for the compact page-tools component $("ul.ec-pt-compact li.pt-email a").click(function(e){ e.preventDefault(); // Remove the compact email a friend if it exists (like clicking on the close buttons) if ($("div.eaf-compact").length) { $("div.eaf-compact").remove(); } else{ if ($("div.eaf-expanded").length) { $("div.eaf-expanded").remove(); } // Load the compact email a friend $("ul.ec-pt-compact").after(""); $(this).addClass("ajax-loader"); $("div.eaf-compact").load($("ul.ec-page-tools li.pt-email a").attr("href") + "/ajax", function(){eaf_form_functionality('compact')}); } }); // Display the email a friend form for the expanded page-tools component in node view $("ul.ec-pt-expanded li.pt-email a").not('ul.ec-pt-expanded-teaser li.pt-email a').click(function(e){ e.preventDefault(); // Remove the compact email a friend if it exists (like clicking on the close buttons) if ($("div.eaf-expanded").length) { $("div.eaf-expanded").remove(); } else{ if ($("div.eaf-compact").length) { $("div.eaf-compact").remove(); } // Load the expanded email a friend $("ul.ec-pt-expanded").after(""); $(this).addClass("ajax-loader"); $("div.eaf-expanded").load($(this).attr("href") + "/ajax", function(){eaf_form_functionality('expanded')}); } }); // Display the email a friend form for the expanded page-tools component in teaser view $("ul.ec-pt-expanded-teaser li.pt-email a").click(function(e){ e.preventDefault(); // Remove the compact email a friend if it exists (like clicking on the close buttons) if ($("div.eaf-expanded-teaser").length) { $("div.eaf-expanded-teaser").remove(); } // Load the expanded email a friend $(this).parent().parent().after(""); $(this).addClass("ajax-loader"); $("div.eaf-expanded-teaser").load($(this).attr("href") + "/ajax", function(){eaf_form_functionality('expanded')}); }); }; // EMAIL A FRIEND function eaf_form_functionality(form) { if ($('div.ec-email-a-friend p.eaf-thanks').length) { // After 4 seconds, slowly fadeout and then remove the confirmation. setTimeout(function() { $('div.ec-email-a-friend p.eaf-thanks').fadeOut('slow', function() { $("div.ec-email-a-friend").remove(); }); }, 4000); } $("div.eaf-" + form + " div.eaf-close").click(function(){ $("div.eaf-" + form).remove(); }); $("ul li.pt-email a").removeClass("ajax-loader"); $("div.eaf-" + form + " input.eaf_submit_btn").click(function(e){ e.preventDefault(); ec_eaf_submit(form); }); if ($("input.error").length) { $("input.eaf_submit_btn").after("
Some of the information you supplied appears to be incorrect.
"); } } // EMAIL A FRIEND: ajax functionality function ec_eaf_submit(form) { var url_eaf = $("form#ec-components-eaf").attr("action"); // create the ajax submit functionality $.ajax({ type: "POST", data: $("form#ec-components-eaf").serialize(), url: url_eaf, beforeSend: function(){ if ($("div.eaf-warning").length) { $("div.eaf-warning").remove(); } if (!$("span.ajax-working").length) { $("input.eaf_submit_btn").after("Working..."); } }, success: function(html, XMLHttpRequest){ $("div.eaf-" + form + " form").remove(); $("div.eaf-" + form).append(html); eaf_form_functionality(form); } }); } // function for the rights and syndication functionality function showRightsPopup(rl_url, title, pubdate, rights_content_id, type_id, dev, srTitle){ var publication = 'economist'; var titleText = title; var pubdate = pubdate; var contentid = rights_content_id; var typeId = type_id; var orderBeanReset = dev; var linkurl = rl_url + "?publisherName=economist" + "&publication=" + publication + "&title=" + titleText + "&publicationDate=" + pubdate + "&contentID=" + contentid + "&type=" + typeId + "&orderBeanReset=" + orderBeanReset; if (typeId == "SR"){ linkurl = linkurl + "&srTitle=" + srTitle; } rightsPopup = window.open(linkurl,"Rightslink","location=no,toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=650,height=550") }; $(document).ready(function(){ // POLL VOTE: Add ajax functionality $("#node-poll-article input#edit-vote").click(function(e){ e.preventDefault(); // create the set of data to be sent on form submission var data="choice=" + $('input[name=choice]:checked').val(); data += "&op=Submit+and+see+results"; data += "&form_build_id=" + $('input[name="form_build_id"]').val(); data += "&form_token=" + $('input[name="form_token"]').val(); data += "&ajax=true&form_id=poll_view_voting"; var url_poll = $("form#poll-view-voting").attr("action"); if ($('input[name=choice]:checked').val()){ $.ajax({ type: "POST", data: data, url: url_poll, beforeSend: function(){ $("input#edit-vote").after("Working..."); }, success: function(html, XMLHttpRequest){ $("div#node-poll-article div.content").remove(); $("div#node-poll-article").append(html) $("p.poll-feedback-link").append('Please leave additional feedback'); } }); } }); }); ; (function($, Drupal) { Drupal.behaviors.site_index = function(context) { var $context = $(context); if ($context.find('body').hasClass('site-index-processed')) { return; } $("li.site-index a").click(function(e) { var $overlay = $("
") .height(document.body.clientHeight) .insertBefore("#page"); var $container = $('
') .appendTo('body'); $("#site-map-box") .append("Working...") .load("/content/ajax/site-index", function() { sortMap(); }); // Place the overlay box in the center of the screen. $container.css({ top: $(window).scrollTop() + 30, left: $(window).width() / 2 - 427.5 }); // Close the overlay if either the grey area or the close icon is clicked. $overlay.click(function() { $container.remove(); $overlay.remove(); }); $("span.container-close").click(function() { $container.remove(); $overlay.remove(); }); return false; }); $context.find('body').addClass('site-index-processed'); }; function sortMap() { // Remove loader image. $("span.loader").remove(); // Remove opacity. $("#site-map-box div.list-box").css({ "filter": "alpha(opacity=100)", "-moz-opacity": "1", "opacity": "1" }); // Toggle the sorting of the site index window. $("a.site-map-ajax").click(function(e) { // Add transparency to site index window content. $("#site-map-box div.list-box").css({ "filter": "alpha(opacity=20)", "-moz-opacity": "0.2", "opacity": "0.2" }); // Load correct site index window content. $("#site-map-box") .append('Working...') .load($(this).attr("href") + '?ajax', function(){ sortMap(); }); return false; }); } })(jQuery, Drupal); ; $(document).ready(function(){ $("div.views-field-editor-intro div.field-content span.continue").click( function() { $("div.views-field-editor-intro div.field-content span.part2").addClass('expand'); $(this).remove(); } ); }) ; // Flash Player Version Detection - Rev 1.6 // Detect Client Browser type // Copyright(c) 2005-2006 Adobe Macromedia Software, LLC. All rights reserved. var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false; var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false; function ControlVersion() { var version; var axo; var e; // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry try { // version will be set for 7.X or greater players axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); version = axo.GetVariable("$version"); } catch (e) { } if (!version) { try { // version will be set for 6.X players only axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); // installed player is some revision of 6.0 // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29, // so we have to be careful. // default to the first public version version = "WIN 6,0,21,0"; // throws if AllowScripAccess does not exist (introduced in 6.0r47) axo.AllowScriptAccess = "always"; // safe to call for 6.0r47 or greater version = axo.GetVariable("$version"); } catch (e) { } } if (!version) { try { // version will be set for 4.X or 5.X player axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"); version = axo.GetVariable("$version"); } catch (e) { } } if (!version) { try { // version will be set for 3.X player axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"); version = "WIN 3,0,18,0"; } catch (e) { } } if (!version) { try { // version will be set for 2.X player axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); version = "WIN 2,0,0,11"; } catch (e) { version = -1; } } return version; } // JavaScript helper required to detect Flash Player PlugIn version information function GetSwfVer(){ // NS/Opera version >= 3 check for Flash plugin in plugin array var flashVer = -1; if (navigator.plugins != null && navigator.plugins.length > 0) { if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) { var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : ""; var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description; var descArray = flashDescription.split(" "); var tempArrayMajor = descArray[2].split("."); var versionMajor = tempArrayMajor[0]; var versionMinor = tempArrayMajor[1]; var versionRevision = descArray[3]; if (versionRevision == "") { versionRevision = descArray[4]; } if (versionRevision[0] == "d") { versionRevision = versionRevision.substring(1); } else if (versionRevision[0] == "r") { versionRevision = versionRevision.substring(1); if (versionRevision.indexOf("d") > 0) { versionRevision = versionRevision.substring(0, versionRevision.indexOf("d")); } } var flashVer = versionMajor + "." + versionMinor + "." + versionRevision; //alert("flashVer="+flashVer); } } // MSN/WebTV 2.6 supports Flash 4 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4; // WebTV 2.5 supports Flash 3 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3; // older WebTV supports Flash 2 else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2; else if ( isIE && isWin && !isOpera ) { flashVer = ControlVersion(); } return flashVer; } // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) { versionStr = GetSwfVer(); if (versionStr == -1 ) { return false; } else if (versionStr != 0) { if(isIE && isWin && !isOpera) { // Given "WIN 2,0,0,11" tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"] tempString = tempArray[1]; // "2,0,0,11" versionArray = tempString.split(","); // ['2', '0', '0', '11'] } else { versionArray = versionStr.split("."); } var versionMajor = versionArray[0]; var versionMinor = versionArray[1]; var versionRevision = versionArray[2]; // is the major.revision >= requested major.revision AND the minor version >= requested minor if (versionMajor > parseFloat(reqMajorVer)) { return true; } else if (versionMajor == parseFloat(reqMajorVer)) { if (versionMinor > parseFloat(reqMinorVer)) return true; else if (versionMinor == parseFloat(reqMinorVer)) { if (versionRevision >= parseFloat(reqRevision)) return true; } } return false; } } function AC_AddExtension(src, ext) { if (src.indexOf('?') != -1) return src.replace(/\?/, ext+'?'); else return src + ext; } function AC_Generateobj(objAttrs, params, embedAttrs) { var str = ''; if (isIE && isWin && !isOpera) { str += ' '; str += '>'; } else { str += '
' // Check for iphone/ipod/ipad devices if((navigator.userAgent.match(/iP(hone|od|ad)/i))) { alternateContent = '
This interactive content is not available. Your device doesn’t support Flash Player.
' } $("body object, body embed", context).each(function(){ var $this = $(this); // Replace the flash object with an instructinal box. $this.replaceWith(alternateContent); }); } } ; ;(function($){ // secure $ jQuery alias /*******************************************************************************************/ // jquery.event.drag.js - rev 10 // Copyright (c) 2008, Three Dub Media (http://threedubmedia.com) // Liscensed under the MIT License (MIT-LICENSE.txt) // http://www.opensource.org/licenses/mit-license.php // Created: 2008-06-04 | Updated: 2008-08-05 /*******************************************************************************************/ // Events: drag, dragstart, dragend /*******************************************************************************************/ // jquery method $.fn.drag = function( fn1, fn2, fn3 ){ if ( fn2 ) this.bind('dragstart', fn1 ); // 2+ args if ( fn3 ) this.bind('dragend', fn3 ); // 3 args return !fn1 ? this.trigger('mousedown',{ which:1 }) // 0 args : this.bind('drag', fn2 ? fn2 : fn1 ); // 1+ args }; // special event configuration var drag = $.event.special.drag = { distance: 0, // default distance dragged before dragstart setup: function( data ){ data = $.extend({ distance: drag.distance }, data || {}); $.event.add( this, "mousedown", drag.handler, data ); }, teardown: function(){ $.event.remove( this, "mousedown", drag.handler ); if ( this == drag.dragging ) drag.dragging = drag.proxy = null; // deactivate element selectable( this, true ); // enable text selection }, handler: function( event ){ var returnValue; // mousedown has initialized if ( event.data.elem ){ // update event properties... event.dragTarget = event.data.elem; // source element event.dragProxy = drag.proxy || event.dragTarget; // proxy element or source event.cursorOffsetX = event.data.x - event.data.left; // mousedown offset event.cursorOffsetY = event.data.y - event.data.top; // mousedown offset event.offsetX = event.pageX - event.cursorOffsetX; // element offset event.offsetY = event.pageY - event.cursorOffsetY; // element offset } // handle various events switch ( event.type ){ // mousedown, left click case !drag.dragging && event.which==1 && 'mousedown': // initialize drag $.extend( event.data, $( this ).offset(), { x: event.pageX, y: event.pageY, elem: this, dist2: Math.pow( event.data.distance, 2 ) // x + y = distance }); // store some initial attributes $.event.add( document.body, "mousemove mouseup", drag.handler, event.data ); selectable( this, false ); // disable text selection return false; // prevents text selection in safari // mousemove, check distance, start dragging case !drag.dragging && 'mousemove': // DRAGSTART >> if ( Math.pow( event.pageX-event.data.x, 2 ) + Math.pow( event.pageY-event.data.y, 2 ) // x + y = distance < event.data.dist2 ) break; // distance tolerance not reached drag.dragging = event.dragTarget; // activate element event.type = "dragstart"; // hijack event returnValue = $.event.handle.call( drag.dragging, event ); // trigger "dragstart", return proxy element drag.proxy = $( returnValue )[0] || drag.dragging; // set proxy if ( returnValue !== false ) break; // "dragstart" accepted, stop selectable( drag.dragging, true ); // enable text selection drag.dragging = drag.proxy = null; // deactivate element // mousemove, dragging case 'mousemove': // DRAG >> if ( drag.dragging ){ event.type = "drag"; // hijack event returnValue = $.event.handle.call( drag.dragging, event ); // trigger "drag" if ( $.event.special.drop ){ // manage drop events $.event.special.drop.allowed = ( returnValue !== false ); // prevent drop $.event.special.drop.handler( event ); // "dropstart", "dropend" } if ( returnValue !== false ) break; // "drag" not rejected, stop event.type = "mouseup"; // hijack event } // mouseup, stop dragging case 'mouseup': // DRAGEND >> $.event.remove( document.body, "mousemove mouseup", drag.handler ); // remove page events if ( drag.dragging ){ if ( $.event.special.drop ) // manage drop events $.event.special.drop.handler( event ); // "drop" event.type = "dragend"; // hijack event $.event.handle.call( drag.dragging, event ); // trigger "dragend" selectable( drag.dragging, true ); // enable text selection drag.dragging = drag.proxy = null; // deactivate element event.data = {}; } break; } } }; // toggles text selection attributes function selectable( elem, bool ){ if ( !elem ) return; // maybe element was removed ? elem.unselectable = bool ? "off" : "on"; // IE elem.onselectstart = function(){ return bool; }; // IE if ( elem.style ) elem.style.MozUserSelect = bool ? "" : "none"; // FF }; /*******************************************************************************************/ })( jQuery ); // confine scope ; /* * jQuery Form Plugin * version: 2.28 (10-MAY-2009) * @requires jQuery v1.2.2 or later * * Examples and documentation at: http://malsup.com/jquery/form/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ ;(function($) { /* Usage Note: ----------- Do not use both ajaxSubmit and ajaxForm on the same form. These functions are intended to be exclusive. Use ajaxSubmit if you want to bind your own submit handler to the form. For example, $(document).ready(function() { $('#myForm').bind('submit', function() { $(this).ajaxSubmit({ target: '#output' }); return false; // <-- important! }); }); Use ajaxForm when you want the plugin to manage all the event binding for you. For example, $(document).ready(function() { $('#myForm').ajaxForm({ target: '#output' }); }); When using ajaxForm, the ajaxSubmit function will be invoked for you at the appropriate time. */ /** * ajaxSubmit() provides a mechanism for immediately submitting * an HTML form using AJAX. */ $.fn.ajaxSubmit = function(options) { // fast fail if nothing selected (http://dev.jquery.com/ticket/2752) if (!this.length) { log('ajaxSubmit: skipping submit process - no element selected'); return this; } if (typeof options == 'function') options = { success: options }; var url = $.trim(this.attr('action')); if (url) { // clean url (don't include hash vaue) url = (url.match(/^([^#]+)/)||[])[1]; } url = url || window.location.href || '' options = $.extend({ url: url, type: this.attr('method') || 'GET' }, options || {}); // hook for manipulating the form data before it is extracted; // convenient for use with rich editors like tinyMCE or FCKEditor var veto = {}; this.trigger('form-pre-serialize', [this, options, veto]); if (veto.veto) { log('ajaxSubmit: submit vetoed via form-pre-serialize trigger'); return this; } // provide opportunity to alter form data before it is serialized if (options.beforeSerialize && options.beforeSerialize(this, options) === false) { log('ajaxSubmit: submit aborted via beforeSerialize callback'); return this; } var a = this.formToArray(options.semantic); if (options.data) { options.extraData = options.data; for (var n in options.data) { if(options.data[n] instanceof Array) { for (var k in options.data[n]) a.push( { name: n, value: options.data[n][k] } ); } else a.push( { name: n, value: options.data[n] } ); } } // give pre-submit callback an opportunity to abort the submit if (options.beforeSubmit && options.beforeSubmit(a, this, options) === false) { log('ajaxSubmit: submit aborted via beforeSubmit callback'); return this; } // fire vetoable 'validate' event this.trigger('form-submit-validate', [a, this, options, veto]); if (veto.veto) { log('ajaxSubmit: submit vetoed via form-submit-validate trigger'); return this; } var q = $.param(a); if (options.type.toUpperCase() == 'GET') { options.url += (options.url.indexOf('?') >= 0 ? '&' : '?') + q; options.data = null; // data is null for 'get' } else options.data = q; // data is the query string for 'post' var $form = this, callbacks = []; if (options.resetForm) callbacks.push(function() { $form.resetForm(); }); if (options.clearForm) callbacks.push(function() { $form.clearForm(); }); // perform a load on the target only if dataType is not provided if (!options.dataType && options.target) { var oldSuccess = options.success || function(){}; callbacks.push(function(data) { $(options.target).html(data).each(oldSuccess, arguments); }); } else if (options.success) callbacks.push(options.success); options.success = function(data, status) { for (var i=0, max=callbacks.length; i < max; i++) callbacks[i].apply(options, [data, status, $form]); }; // are there files to upload? var files = $('input:file', this).fieldValue(); var found = false; for (var j=0; j < files.length; j++) if (files[j]) found = true; var multipart = false; // var mp = 'multipart/form-data'; // multipart = ($form.attr('enctype') == mp || $form.attr('encoding') == mp); // options.iframe allows user to force iframe mode if (options.iframe || found || multipart) { // hack to fix Safari hang (thanks to Tim Molendijk for this) // see: http://groups.google.com/group/jquery-dev/browse_thread/thread/36395b7ab510dd5d if (options.closeKeepAlive) $.get(options.closeKeepAlive, fileUpload); else fileUpload(); } else $.ajax(options); // fire 'notify' event this.trigger('form-submit-notify', [this, options]); return this; // private function for handling file uploads (hat tip to YAHOO!) function fileUpload() { var form = $form[0]; if ($(':input[name=submit]', form).length) { alert('Error: Form elements must not be named "submit".'); return; } var opts = $.extend({}, $.ajaxSettings, options); var s = $.extend(true, {}, $.extend(true, {}, $.ajaxSettings), opts); var id = 'jqFormIO' + (new Date().getTime()); var $io = $('"); } }; IFrameBuster_59_09.prototype.createIframe = function(iframeLocation, iframeName, shouldCallback, args) { var iframe = document.createElement("IFRAME"); iframe.setAttribute("name", iframeName); iframe.style.width = "0px"; iframe.style.height = "0px"; iframe.frameBorder = "0"; iframe.scrolling = "no"; if(document.body) { document.body.appendChild(iframe); } else { document.documentElement.appendChild(iframe); } iframe.setAttribute("src", iframeLocation); if(shouldCallback) { var callback = this.createFunction("displayImageOnFailureBreakout", this, args); if(this.isFirefox() || this.isSafari() || this.isChrome()) { iframe.addEventListener("load", callback, true); } else if(this.isInternetExplorer()) iframe.attachEvent("onload", callback); } }; IFrameBuster_59_09.prototype.isInIFrame = function() { var pageIFrameRequest = ""; var iframeReq = ""; if(this.isInAdSenseIFrame()) return false; if(this.isInClientPreviewIFrame()) return true; if(typeof(iframeRequest) != "undefined") pageIFrameRequest = iframeRequest; if(iframeReq != "") pageIFrameRequest = iframeReq; if(self == top) return false; else if(String(pageIFrameRequest).toLowerCase() == "false") return false; else if(self.location.href.toLowerCase().indexOf("doubleclick.net/adi") > -1) return true; else if(("j") == "i") return true; else return this.checkWithTryCatch(); }; IFrameBuster_59_09.prototype.checkWithTryCatch = function() { try { if(self.parent.document) { if(self.parent.document.getElementsByTagName("frame").length == 0) { var frames = self.parent.frames; for(var i = 0; i < frames.length; i++) { if(frames[i] == self) return true; } } } else if ((this.isSafari() || this.isChrome()) && self.parent.document == undefined) { return true; } return false; } catch(e) { return true; } }; IFrameBuster_59_09.prototype.isBreakoutSuccessful = function() { try { return (self.frames[0].frames.length > 0 && typeof(self.frames[0].frames['DARTMotifIFrame']) != "undefined"); } catch(e) { return true; } }; IFrameBuster_59_09.prototype.getContainerIframe = function(hostWindow) { if(this.isFirefox() || this.isSafari() || this.isChrome()) { var iframeElements = hostWindow.parent.document.getElementsByTagName("iframe"); for(var k = 0; k < iframeElements.length; k++) { var iframeEle = iframeElements[k]; if(iframeEle.contentWindow == hostWindow) { return iframeEle; } } return null; } var targetWindow = hostWindow.parent; var frames = targetWindow.frames; for(var i = 0; i < frames.length; i++) { if(frames[i] == hostWindow) { return targetWindow.document.getElementsByTagName("iframe")[i]; } } return null; }; IFrameBuster_59_09.prototype.isInterstitialPlaying = function(targetWindow) { return (typeof(targetWindow.DoNotDisplayIA) == "number"); }; IFrameBuster_59_09.prototype.setInterstitialPlaying = function(targetWindow) { this.createJSVariable(targetWindow, "DoNotDisplayIA", 1); }; IFrameBuster_59_09.prototype.createJSVariable = function(targetWindow, variableName, variableValue) { targetWindow[variableName] = variableValue; }; IFrameBuster_59_09.prototype.serialize = function(obj) { var str = ""; for(var key in obj) { str += escape(key) + "="; str += escape(obj[key]) + "&"; } return str.substr(0, str.length - 1); }; IFrameBuster_59_09.prototype.checkAndLoadGlobalTemplate = function(targetWindow, creative, iframe, jsFile) { var key = ""; if(creative.type == this.CREATIVE_TYPE_EXPANDING) { key = "expandingIframe"; } else if(creative.type == this.CREATIVE_TYPE_FLOATING) { key = "floatingIframe"; } else if(creative.type == this.CREATIVE_TYPE_INPAGE_WITH_FLOATING) { key = "inpageFloatingIframe"; } var shouldLoad = false; if(!targetWindow.dartLoadedGlobalTemplates_59_09) { targetWindow.dartLoadedGlobalTemplates_59_09 = {}; shouldLoad = true; } var map = targetWindow.dartLoadedGlobalTemplates_59_09; if(!map[key]) { map[key] = { isLoading: false, isLoaded: false }; shouldLoad = true; } if(shouldLoad) { this.loadScriptFile(targetWindow, creative, iframe, jsFile, true); map[key].isLoading = true; return false; } else { return map[key].isLoaded; } }; IFrameBuster_59_09.prototype.loadScriptFile = function(targetWindow, creative, iframe, jsFile, isGlobalTemplate) { var script = targetWindow.document.createElement("SCRIPT"); if(isGlobalTemplate) { creative.gtStartLoadingTime = new Date().getTime(); } script.src = jsFile; var elements = targetWindow.document.getElementsByTagName("head"); if(this.isInternetExplorer() && elements.length > 0) { elements[0].appendChild(script); } else if(iframe.parentNode.parentNode) { iframe.parentNode.parentNode.appendChild(script); } else { iframe.parentNode.insertBefore(script, iframe); } }; document.write('\n \n '); function DARTExpandingUtil_59_09() { this.displayImage = function(variableName, target, hRef, imgSrc, width, height, altText, creative) { var iframeBuster = new IFrameBuster_59_09(); if(!iframeBuster.isBreakoutSuccessful()) { var outerDiv = this.toObject("IMAGE_PLACEHOLDER_DIV_" + variableName); outerDiv.innerHTML = ''+altText+''; this.trackBackupImageEvent(creative.adserverUrl); this.logThirdPartyBackupImageImpression(creative, true); } else { this.logThirdPartyFlashDisplayImpression(creative, true); } } this.getSalign = function(expandedWidth, expandedHeight, offsetTop,offsetLeft,offsetRight,offsetBottom) { var salign = ""; if (offsetTop == 0 && offsetBottom != expandedHeight) { salign += "T"; } else if (offsetTop != 0 && offsetBottom == expandedHeight) { salign += "B"; } if (offsetLeft == 0 && offsetRight != expandedWidth) { salign += "L"; } else if (offsetLeft != 0 && offsetRight == expandedWidth) { salign += "R"; } if ((salign == "T" || salign == "B") && (offsetLeft != 0 || offsetRight != expandedWidth)) { return ""; } if ((salign == "L" || salign == "R") && (offsetTop != 0 || offsetBottom != expandedHeight)) { return ""; } return salign; } } DARTExpandingUtil_59_09.prototype = new RichMediaCore_59_09; document.write('\n \n '); function PlcrInfo(filename, uid) { this.filename = filename; this.uniqueId = uid; } var richMediaPlcrMap = {}; richMediaPlcrMap["0"] = new PlcrInfo("plcr_1598804_0_1304112089166.js", "1304112088684"); var richMediaPlcrMap_1304112088684 = richMediaPlcrMap; var plcrInfo_1304112088684 = richMediaPlcrMap_1304112088684["240312903"]; if (!plcrInfo_1304112088684) { plcrInfo_1304112088684 = richMediaPlcrMap_1304112088684["0"]; } function RichMediaCreative_1304112088684(type) { var core = new RichMediaCore_59_09(); this.creativeIdentifier = "GlobalTemplate_" + "1304112088684" + (new Date()).getTime(); this.mtfNoFlush = "".toLowerCase(); this.globalTemplateVersion = "59_09"; this.isInterstitial = false; this.mediaServer = "http://s0.2mdn.net"; this.adServer = "http://ad.doubleclick.net"; this.adserverUrl = "http://ad.doubleclick.net/activity;src=1308080;met=1;v=1;pid=63087318;aid=240312903;ko=0;cid=41832587;rid=41850374;rv=1;"; this.stringPostingUrl = "http://ad.doubleclick.net/activity;src=1308080;stragg=1;v=1;pid=63087318;aid=240312903;ko=0;cid=41832587;rid=41850374;rv=1;rn=881523;"; this.swfParams = 'ct=US&st=PA&ac=412&zp=15260&bw=5&dma=10&city=13328&src=1308080&rv=1&rid=41850374&=728x90&'; this.renderingId = "41850374"; this.previewMode = (("%PreviewMode" == "true") ? true : false); this.debugEventsMode = (("%DebugEventsMode" == "true") ? true : false); this.pubHideObjects = ""; this.pubHideApplets = ""; this.mtfInline = ("".toLowerCase() == "true"); this.pubTop = core.convertUnit(""); this.pubLeft = core.convertUnit(""); this.pubDuration = ""; this.pubWMode = ""; this.isRelativeBody = ("" == "relative") ? true : false; this.debugJSMode = ("" == "true") ? true : false; this.adjustOverflow = ("" == "true"); this.asContext = (('' != "") ? ('&keywords=' + '') : "") + (('' != "") ? ('&latitude=' + '') : "") + (('' != "") ? ('&longitude=' + '') : ""); this.clickThroughUrl = "http://ad.doubleclick.net/click%3Bh%3Dv8/3b03/3/0/%2a/c%3B240312903%3B0-0%3B0%3B63087318%3B3454-728/90%3B41832587/41850374/1%3B%3B%7Efdr%3D240666910%3B0-0%3B0%3B56334081%3B3454-728/90%3B40620220/40638007/1%3B%3B%7Efdr%3D240080785%3B0-0%3B0%3B54699964%3B3454-728/90%3B41861245/41879032/1%3B%3B%7Esscs%3D%3f"; this.clickN = ""; this.type = type; this.uniqueId = plcrInfo_1304112088684.uniqueId; this.thirdPartyImpUrl = ""; this.thirdPartyFlashDisplayUrl = ""; this.thirdPartyBackupImpUrl = ""; this.surveyUrl = "http://cdn.doubleverify.com/script344.js?agnc=989951&cmp=5412030&crt=&crtname=&adnet=&dvtagver=3.3.1346.2176&adsrv=1&plc=63087318&advid=1308080&sid=1064062&adid="; this.googleContextDiscoveryUrl = "http://pagead2.googlesyndication.com/pagead/ads?client=dclk-3pas-query&output=xml&geo=true"; this.livePreviewSiteUrl = "%LivePreviewSiteUrl"; this.customScriptFileUrl = ""; this.servingMethod = "j"; this.mode = "Flash"; this.isHTML5Creative = this.mode.toLowerCase().indexOf("html5") != -1; if(this.previewMode && this.googleContextDiscoveryUrl.indexOf("adtest=on") == -1) { this.googleContextDiscoveryUrl += "&adtest=on"; } this.isHTML5PreviewMode = "%HTML5Preview" == "true"; this.forceHTML5Creative = ("" == "true") && core.isHTML5SupportedBrowser(); this.macro_j = "879473728021332122-2433577843"; this.macro_eenv = "j"; this.macro_g = "ct=US&st=PA&ac=412&zp=15260&bw=5&dma=10&city=13328"; this.macro_s = "N884.290293.IDEASPEOPLE"; this.macro_eaid = "240312903"; this.macro_n = "881523"; this.macro_m = "879473728021332122"; this.macro_erid = "41850374"; this.macro_ebuy = "5412030"; this.macro_ecid = "41832587"; this.macro_erv = "1"; this.macro_epid = "63087318"; this.macro_eadv = "1308080"; this.macro_esid = "1064062"; this.macro_ekid = "0"; } eval("RichMediaCreative_"+plcrInfo_1304112088684.uniqueId+" = RichMediaCreative_1304112088684;"); document.write('\n \n '); function generateExpandingFlashCode() { var core = new RichMediaCore_59_09(); var creative = new RichMediaCreative_1304112088684(core.CREATIVE_TYPE_EXPANDING); RichMediaCreative_1304112088684.prototype.csiBaseline = new Date().getTime(); RichMediaCreative_1304112088684.prototype.csiAdRespTime = isNaN("") ? -1 : RichMediaCreative_1304112088684.prototype.csiBaseline - parseFloat(""); core.logThirdPartyImpression(creative); if(core.isBrowserComplient(9) || (creative.isHTML5Creative && core.isHTML5SupportedBrowser())) { RichMediaCreative_1304112088684.prototype.shouldDisplayFlashAsset = !creative.forceHTML5Creative && core.isBrowserComplient(9); var mediaServer = "http://s0.2mdn.net"; var altImgTarget = "_blank"; var altImgHRef = "http://ad.doubleclick.net/activity;src%3D1308080%3Bmet%3D1%3Bv%3D1%3Bpid%3D63087318%3Baid%3D240312903%3Bko%3D0%3Bcid%3D41832587%3Brid%3D41850374%3Brv%3D1%3Bcs%3Dw%3Beid1%3D546696%3Becn1%3D1%3Betm1%3D0%3B_dc_redir%3Durl%3fhttp://ad.doubleclick.net/click%3Bh%3Dv8/3b03/3/0/%2a/c%3B240312903%3B0-0%3B0%3B63087318%3B3454-728/90%3B41832587/41850374/1%3B%3B%7Efdr%3D240666910%3B0-0%3B0%3B56334081%3B3454-728/90%3B40620220/40638007/1%3B%3B%7Efdr%3D240080785%3B0-0%3B0%3B54699964%3B3454-728/90%3B41861245/41879032/1%3B%3B%7Esscs%3D%3fhttp://www.exxonmobil.com"; var altImgSrc = "http://s0.2mdn.net/1308080/PID_1598804_XOM_NatGas_728x90.jpg"; var altImgWidth = "728"; var altImgHeight = "90"; var altImgAltText = ""; var expandingUtil = new DARTExpandingUtil_59_09(); var iframeBuster = new IFrameBuster_59_09(); var plcrJs = "http://s0.2mdn.net/1308080/" + plcrInfo_1304112088684.filename; if(iframeBuster.isInIFrame()) { var iframeJs = "http://s0.2mdn.net/879366/expandingIframeGlobalTemplate_v2_59_09" + (creative.debugJSMode ? "_origin" : "" ) + ".js"; RichMediaCreative_1304112088684.prototype.globalTemplateJs = iframeJs; var variableName = "41850374_1_" + (new Date()).getTime(); var args = new Array(variableName, altImgTarget, altImgHRef, altImgSrc, altImgWidth, altImgHeight, altImgAltText, creative); iframeBuster.writeIFrame(creative, plcrJs, iframeJs, args); if(!iframeBuster.isInFriendlyIFrame()) { document.write('
'); } } else { if(creative.customScriptFileUrl != "") { document.write(''); } RichMediaCreative_1304112088684.prototype.globalTemplateJs = "http://s0.2mdn.net/879366/expandingGlobalTemplate_v2_59_09" + (creative.debugJSMode ? "_origin" : "" ) + ".js"; RichMediaCore_59_09.prototype.trackCsiEvent("pb"); document.write(''); } } else { document.write(''); core.trackBackupImageEvent(creative.adserverUrl); core.logThirdPartyBackupImageImpression(creative, false); } core.writeSurveyURL(creative); } generateExpandingFlashCode(); document.write('\n \n '); var core = new RichMediaCore_59_09(); if(core.isInMsnAjaxEnvironment()) { window.setTimeout("document.close();", 1000); } document.write('\n'); Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver &,-345EFGHIJKLMNOSTU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1 '()$+WNS.base[NS.relative_http://ad.doubleclick.net/adj/teg.tdqk/ak3o/a/p;subs=n;wsub=n;sdn=n;!c=13745782;dcopt=ist;pos=ldr_top;sz=728x90;tile=1;ord=507883020?./01X$classesZ$classname12UNSURLXNSObject#Ay5 6789?WNS.keysZNS.objects:;<=> @ABCD_Content-EncodingVServer\Content-Type^Content-LengthTDateTgzipZDCLK-AdSvr_application/x-javascriptU11365_Tue, 10 May 2011 21:27:17 GMT./PQQR2_NSMutableDictionary\NSDictionary!./UVVW2_NSHTTPURLResponse]NSURLResponse)27:PRd}%49>IdjX _:http://s0.2mdn.net/1308080/plcr_1598804_0_1304112089166.jsOQ if(typeof(dartRichmediaCreatives) == "undefined") { dartRichmediaCreatives = new Array(); } function PlacementCreative_1304112088684(creative) { for(var property in creative) { this[property] = creative[property]; } this.getAsset = function(type) { return this.assets[type]; } this.macrosInExits = new Object(); this.macrosInExits["%j"] = "j"; this.macrosInExits["%eenv!"] = "eenv"; this.macrosInExits["%g"] = "g"; this.macrosInExits["%s"] = "s"; this.macrosInExits["%eaid!"] = "eaid"; this.macrosInExits["%n"] = "n"; this.macrosInExits["%m"] = "m"; this.macrosInExits["%erid!"] = "erid"; this.macrosInExits["%ebuy!"] = "ebuy"; this.macrosInExits["%ecid!"] = "ecid"; this.macrosInExits["%erv!"] = "erv"; this.macrosInExits["%epid!"] = "epid"; this.macrosInExits["%eadv!"] = "eadv"; this.macrosInExits["%esid!"] = "esid"; this.macrosInExits["%ekid!"] = "ekid"; this.replaceMacros = function(url, creative) { for(var macro in this.macrosInExits) { if(url.indexOf(macro) != -1) { var value = creative["macro_" + this.macrosInExits[macro]]; url = url.replace(new RegExp(macro, "g"), value); } } return url; } this.fullScreenEnabled = false; this.requiredPlayerVersion = 9; this.asVersion = 3; this.assets = new Object(); this.exitEvents = new Object(); this.timerEvents = new Object(); this.counterEvents = new Object(); this.standardEvents = new Object(); this.standardEvents["EVENT_VIDEO_UNMUTE"] = { reportingId: "21" }; this.standardEvents["EVENT_VIDEO_STOP"] = { reportingId: "20" }; this.standardEvents["EVENT_VIDEO_PAUSE"] = { reportingId: "15" }; this.standardEvents["DYNAMIC_CREATIVE_IMPRESSION"] = { reportingId: "23" }; this.standardEvents["EVENT_VIDEO_VIEW_TIMER"] = { reportingId: "12" }; this.standardEvents["EVENT_VIDEO_MUTE"] = { reportingId: "16" }; this.standardEvents["DISPLAY_TIMER"] = { reportingId: "2" }; this.standardEvents["INTERACTION_TIMER"] = { reportingId: "3" }; this.standardEvents["BACKUP_IMAGE_IMPRESSION"] = { reportingId: "9" }; this.standardEvents["EVENT_USER_INTERACTION"] = { reportingId: "4" }; this.standardEvents["EVENT_VIDEO_PLAY"] = { reportingId: "11" }; this.standardEvents["HTML5_CREATIVE_IMPRESSION"] = { reportingId: "25" }; this.standardEvents["EVENT_VIDEO_REPLAY"] = { reportingId: "17" }; this.standardEvents["EXPAND_TIMER"] = { reportingId: "10" }; this.standardEvents["FULL_SCREEN_VIDEO"] = { reportingId: "19" }; this.standardEvents["FULL_SCREEN_VIDEO_COMPLETES"] = { reportingId: "6" }; this.standardEvents["EVENT_VIDEO_MIDPOINT"] = { reportingId: "18" }; this.standardEvents["FULL_SCREEN_AVERAGE_VIEW_TIME"] = { reportingId: "7" }; this.standardEvents["EVENT_VIDEO_COMPLETE"] = { reportingId: "13" }; this.standardEvents["EVENT_VIDEO_INTERACTION"] = { reportingId: "14" }; this.standardEvents["EVENT_FULLSCREEN"] = { reportingId: "22" }; this.standardEvents["FULL_SCREEN_VIDEO_PLAYS"] = { reportingId: "5" }; this.standardEvents["EVENT_MANUAL_CLOSE"] = { reportingId: "8" }; this.exitEvents["learnMore"] = { reportingId: 546696, url: this.replaceMacros("http://www.exxonmobil.com", creative), customizedWindow: false, windowFeatures: "width=-1,height=-1,top=0,left=0,location=yes,menubar=yes,status=yes,toolbar=yes,scrollbars=yes", targetWindow: "_blank" }; this.timerEvents["expPanel Expansion"] = { reportingId: 546695, sourceComponentName: "", sourceStandardEventId: "-1" }; var exitKeyvalues = ""; var delimiter = "{DELIM}"; for(var exitName in this.exitEvents) { if (!core.isPartOfArrayPrototype(exitName)) { var exit = this.exitEvents[exitName]; var value = "name:" + escape(exitName) + "," + "url:" + escape(exit.url) + "," + "target:" + (exit.customizedWindow ? "popup" : escape(exit.targetWindow)); exitKeyvalues += ((this.asVersion > 1) ? value : escape(value)) + delimiter; } } exitKeyvalues = exitKeyvalues.substring(0, exitKeyvalues.length - delimiter.length); this.videoComponents = new Object(); this.videoComponents["bannerVid"] = { trackCustomEvents: false, startMuted: false, autoBuffer: true, lowBWVideo: "http://gcdn.2mdn.net/StudioFiles/videos/148502/281570/1303245143679_XOM_natGas_313x177.flv", midBWVideo: "http://gcdn.2mdn.net/StudioFiles/videos/148502/281570/1303245143679_XOM_natGas_313x177.flv", highBWVideo: "http://gcdn.2mdn.net/StudioFiles/videos/148502/281570/1303245143679_XOM_natGas_313x177.flv", lowBWFallbackVideo: "", midBWFallbackVideo: "", highBWFallbackVideo: "", loopCount: 0, isStreaming: false }; this.isAbsoluteUrl = function(url) { return (url.indexOf("http:") == 0 || url.indexOf("rtmp:") == 0); } this.childAssets = new Object(); this.childAssets["exxon_natGas_728x90_child.swf"] = { isHostedByCdn: false, cdnName: "PID_1598804_exxon_natGas_728x90_child.swf", isVideo: false, streamingUrl: "", progressiveUrl: "" } this.childAssets["XOM_natGas_313x177.flv"] = { isHostedByCdn: true, cdnName: "1303245143679_XOM_natGas_313x177.flv", isVideo: true, streamingUrl: "rtmp://rmcdn.f.2mdn.net/ondemand/StudioFiles/videos/148502/281570/1303245143679_XOM_natGas_313x177.flv", progressiveUrl: "http://gcdn.2mdn.net/StudioFiles/videos/148502/281570/1303245143679_XOM_natGas_313x177.flv" } this.assetsKeyValues = ""; for(var assetName in this.childAssets) { if (!core.isPartOfArrayPrototype(assetName)) { var asset = this.childAssets[assetName]; if(!asset.isHostedByCdn) { var fileUrl = creative.mediaServer + "/1308080/" + asset.cdnName; this.assetsKeyValues += escape(assetName) + "=" + escape(fileUrl) + "&"; } else if(asset.isVideo) { this.assetsKeyValues += escape("STR_" + assetName) + "=" + escape(asset.streamingUrl) + "&"; this.assetsKeyValues += escape("PRO_" + assetName) + "=" + escape(asset.progressiveUrl) + "&"; } else { this.assetsKeyValues += escape(assetName) + "=" + escape(asset.progressiveUrl) + "&"; } } } var videoKeyValues = ""; this.processVideoUrl = function(videoUrl, downloadPrefix, urlType, videoComponentName) { var urlKey; if(this.isAbsoluteUrl(videoUrl)) { urlKey = escape(urlType + "_" + videoComponentName); this.assetsKeyValues += urlKey + "=" + escape(videoUrl) + "&"; } else { urlKey = videoUrl.length > 0 ? escape(downloadPrefix + videoUrl) : ""; } return urlKey; } var componentDelimiter = "{DELIM}"; for(var name in this.videoComponents) { if (!core.isPartOfArrayPrototype(name)) { var vc = this.videoComponents[name]; var value = "name:" + escape(name) + componentDelimiter; if (!vc.html5Video) { var prefix = (vc.isStreaming) ? "STR_" : "PRO_"; var value = "name:" + escape(name) + ",startMuted:" + escape(vc.startMuted) + ",autoBuffer:" + escape(vc.autoBuffer) + ",loopCount:" + escape(vc.loopCount) + ",isStreaming:" + escape(vc.isStreaming); var lowVideo = this.processVideoUrl(vc.lowBWVideo, prefix, "low_video", name); var midVideo = this.processVideoUrl(vc.midBWVideo, prefix, "mid_video", name); var highVideo = this.processVideoUrl(vc.highBWVideo, prefix, "high_video", name); var fallbackLowVideo = this.processVideoUrl(vc.lowBWFallbackVideo, "PRO_", "low_fallback", name); var fallbackMidVideo = this.processVideoUrl(vc.midBWFallbackVideo, "PRO_", "mid_fallback", name); var fallbackHighVideo = this.processVideoUrl(vc.highBWFallbackVideo, "PRO_", "high_fallback", name); value += ",vfp_low:" + lowVideo + ",vfp_mid:" + midVideo + ",vfp_high:" + highVideo + ",pfp_low:" + fallbackLowVideo + ",pfp_mid:" + fallbackMidVideo + ",pfp_high:" + fallbackHighVideo + componentDelimiter; } videoKeyValues += value; } } videoKeyValues = videoKeyValues.substring(0, videoKeyValues.length - componentDelimiter.length); this.assetsKeyValues = this.assetsKeyValues.substring(0, this.assetsKeyValues.length - 1); var isGCNAd = (creative.asContext != "") ? "true" : "false"; var adSiteUrl = core.getSitePageUrl(creative); this.queryStringBase = this.swfParams + '&click='+ escape(creative.clickThroughUrl) + '&clickN=' + creative.clickN + '&rid=' + creative.renderingId + "&assets=" + escape(this.assetsKeyValues) + "&vcData=" + escape(videoKeyValues) + "&exitEvents=" + escape(exitKeyvalues) + "&googleDiscoveryUrl=" + escape(creative.googleContextDiscoveryUrl) + "&adSiteUrl=" + escape(adSiteUrl) + "&isGCNAd=" + isGCNAd; } function Expanding_1304112088684(creative, type, coreCode) { this.getExpandingDivStyleSheet = function(cssKeyValues) { if(cssKeyValues == "") { return ""; } var cssKeyValueArray = cssKeyValues.split(";"); var expandingDivCSS = ""; for (var i = 0; i < cssKeyValueArray.length; i++ ) { if(cssKeyValueArray[i]!=null && cssKeyValueArray[i].replace(/^\s+|\s+$/g, "") != "") { var cssKeyVal = cssKeyValueArray[i].split(":"); if(cssKeyVal[0] != "display") { if(expandingDivCSS != "") expandingDivCSS += ";"; expandingDivCSS += cssKeyVal[0] + ":" + cssKeyVal[1]; } } } return expandingDivCSS; } this.variableName = "0_1_" + (new Date()).getTime(); this.wmode = "transparent"; this.zIndex = "1000000"; this.width = "728"; this.height = "90"; this.expandedWidth = "728"; this.expandedHeight = "260"; this.offsetTop = "0"; this.offsetLeft = "0"; this.offsetRight = "728"; this.offsetBottom = "90"; this.salign = coreCode.getSalign(this.expandedWidth, this.expandedHeight, this.offsetTop, this.offsetLeft, this.offsetRight, this.offsetBottom); this.url = creative.mediaServer + "/1308080/PID_1598804_exxon_natGas_728x90_parent.swf"; this.duration = "none"; this.startTime = "0"; this.hideDropdowns = "false" == "true"; this.hideIframes = "false" == "true"; this.hideScrollbars = "false" == "true"; this.hideObjects = (creative.pubHideObjects != "") ? (creative.pubHideObjects.toLowerCase() == "true") : "false" == "true"; this.hideApplets = (creative.pubHideApplets != "") ? (creative.pubHideApplets.toLowerCase() == "true") : "false" == "true"; this.assetType = type; this.isMainAsset = true; this.pushContents = "false" == "true"; this.animationTime = isNaN("0") ? 0 : parseFloat("0"); this.displayInline = creative.mtfInline; this.cssProperty = ""; this.expandingDivStyleSheet = this.getExpandingDivStyleSheet(this.cssProperty); this.styleProperties = new Object(); this.expEnvironment = coreCode.isInAdSenseIFrame() ? "adsense" : "basic"; this.queryString = creative.queryStringBase + "&JS=0" + '&varName=' + this.variableName + '&td=' + escape(self.location.hostname) + creative.asContext + "&assetType=" + type + "&expEnv=" + this.expEnvironment; } function ExpandingHTML_1304112088684(creative, type, coreCode) { this.getExpandingDivStyleSheet = function(cssKeyValues) { if(cssKeyValues == "") { return ""; } var cssKeyValueArray = cssKeyValues.split(";"); var expandingDivCSS = ""; for (var i = 0; i < cssKeyValueArray.length; i++ ) { if(cssKeyValueArray[i]!=null && cssKeyValueArray[i].replace(/^\s+|\s+$/g, "") != "") { var cssKeyVal = cssKeyValueArray[i].split(":"); if(cssKeyVal[0] != "display") { if(expandingDivCSS != "") expandingDivCSS += ";"; expandingDivCSS += cssKeyVal[0] + ":" + cssKeyVal[1]; } } } return expandingDivCSS; } this.variableName = "0__" + (new Date()).getTime(); this.zIndex = ""; this.width = ""; this.height = ""; this.expandedWidth = ""; this.expandedHeight = ""; this.offsetTop = ""; this.offsetLeft = ""; this.offsetRight = ""; this.offsetBottom = ""; this.url = creative.mediaServer + "/1308080/"; this.duration = ""; this.startTime = ""; this.hideDropdowns = "" == "true"; this.hideIframes = "" == "true"; this.hideScrollbars = "" == "true"; this.hideObjects = (creative.pubHideObjects != "") ? (creative.pubHideObjects.toLowerCase() == "true") : "" == "true"; this.hideApplets = (creative.pubHideApplets != "") ? (creative.pubHideApplets.toLowerCase() == "true") : "" == "true"; this.assetType = type; this.isMainAsset = true; this.pushContents = "" == "true"; this.animationTime = isNaN("") ? 0 : parseFloat(""); this.displayInline = creative.mtfInline; this.cssProperty = ""; this.expandingDivStyleSheet = this.getExpandingDivStyleSheet(this.cssProperty); this.styleProperties = new Object(); this.expEnvironment = coreCode.isInAdSenseIFrame() ? "adsense" : "basic"; this.queryString = creative.queryStringBase + "&JS=0" + '&varName=' + this.variableName + creative.asContext + "&assetType=" + type + "&expEnv=" + this.expEnvironment; this.allowtransparency = "true"; } if(typeof(richMediaIFrameCreatives) != "undefined" && richMediaIFrameCreatives["1304112088684"]) { var core = new RichMediaCore_59_09(); var breakoutCreative = self.richMediaIFrameCreatives["1304112088684"]; var baseCreative = breakoutCreative.baseCreative; var creative = new PlacementCreative_1304112088684(baseCreative); var isFlashAssetExist = true; if(creative.shouldDisplayFlashAsset) { creative.assets[core.ASSET_TYPE_EXPANDING] = new Expanding_1304112088684(creative, core.ASSET_TYPE_EXPANDING, core); isFlashAssetExist = creative.assets[core.ASSET_TYPE_EXPANDING].url.toLowerCase().indexOf(".swf") != -1; } if(creative.forceHTML5Creative || creative.isHTML5PreviewMode || !creative.shouldDisplayFlashAsset || !isFlashAssetExist) { creative.shouldDisplayHTML5Asset = true; creative.assets[core.ASSET_TYPE_EXPANDING] = new ExpandingHTML_1304112088684(creative, core.ASSET_TYPE_EXPANDING, core); } self.richMediaIFrameCreatives["1304112088684"].creative = creative; var iframeRenderer = new IFrameCreativeRenderer_59_09(); iframeRenderer.showCreative("1304112088684"); } else { var core = new RichMediaCore_59_09(); var baseCreative = new RichMediaCreative_1304112088684(core.CREATIVE_TYPE_EXPANDING); var creative = new PlacementCreative_1304112088684(baseCreative); var isFlashAssetExist = true; if(creative.shouldDisplayFlashAsset) { creative.assets[core.ASSET_TYPE_EXPANDING] = new Expanding_1304112088684(creative, core.ASSET_TYPE_EXPANDING, core); isFlashAssetExist = creative.assets[core.ASSET_TYPE_EXPANDING].url.toLowerCase().indexOf(".swf") != -1; } if(creative.forceHTML5Creative || creative.isHTML5PreviewMode || !creative.shouldDisplayFlashAsset || !isFlashAssetExist) { creative.shouldDisplayHTML5Asset = true; creative.assets[core.ASSET_TYPE_EXPANDING] = new ExpandingHTML_1304112088684(creative, core.ASSET_TYPE_EXPANDING, core); } dartRichmediaCreatives[dartRichmediaCreatives.length] = creative; RichMediaCore_59_09.prototype.trackCsiEvent("gb"); document.write(''); } RichMediaCore_59_09.prototype.trackCsiEvent("pe") Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver$ &,-345STUVWXYZ[\]^_`abcdefghijkopU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1#" '()$+WNS.base[NS.relative_:http://s0.2mdn.net/1308080/plcr_1598804_0_1304112089166.js./01X$classesZ$classname12UNSURLXNSObject#Ay6 g 6789FWNS.keysZNS.objects!:;<=>?@ABCDE GHIJKLMNOPQR TVaryWExpires]Cache-Control_X-Xss-ProtectionSAge_Content-Encoding\Content-TypeVServerTDate^Content-Length_X-Content-Type-Options]Last-Modified_Accept-Encoding_Wed, 11 May 2011 10:20:57 GMT_public, max-age=86400]1; mode=blockU39981Tgzip_text/javascriptTsffe_Tue, 10 May 2011 10:20:57 GMTT3755Wnosniff_Fri, 29 Apr 2011 21:23:36 GMT./lmmn2_NSMutableDictionary\NSDictionaryQ./qrrs2_NSHTTPURLResponse]NSURLResponse)27:PRd OT]hkqz0=DIXq&FKOeruz~t _=http://s0.2mdn.net/879366/expandingGlobalTemplate_v2_59_09.jsOif(typeof dartCallbackObjects=="undefined")var dartCallbackObjects=new Array;if(typeof dartCreativeDisplayManagers=="undefined")var dartCreativeDisplayManagers=new Object;if(typeof dartMotifAds=="undefined")var dartMotifAds=new Array;if(!self.dartLoadedGlobalTemplates_59_09)self.dartLoadedGlobalTemplates_59_09={};if(self.dartLoadedGlobalTemplates_59_09["expanding"])self.dartLoadedGlobalTemplates_59_09["expanding"].isLoaded=true; function RichMediaCreativeDisplayManager_59_09(a,b){this.creative=a;this.creativeIdentifier=a.creativeIdentifier;this.previewMode=a.previewMode;this.debugEventsMode=a.debugEventsMode;this.renderingId=a.renderingId;this.creativeType=a.type;this.mtfNoFlush=a.mtfNoFlush;this.dartPopupArray=new Object;this.isDisplayTimerRunning=false;this.fsCommandHandlers=new Object;this.rootElementArray=new Array;this.sourceIframe=typeof b!="undefined"?b:null;this.overlay=null;this.dartEventBin=null;this.previewHandler= null;this.importantEventArray=new Array(this.STANDARD_EVENT_INTERACTIVE_IMPRESSION,this.STANDARD_EVENT_VIDEO_PLAY,this.STANDARD_EVENT_VIDEO_VIEW_COMPLETE,this.STANDARD_EVENT_EXPAND_TIMER,this.STANDARD_EVENT_DYNAMIC_CREATIVE_IMPRESSION);this.adListener=null;this.init(a);dartMotifAds[dartMotifAds.length]=this.creative}RichMediaCreativeDisplayManager_59_09.prototype=new RichMediaCore_59_09; RichMediaCreativeDisplayManager_59_09.prototype.init=function(a){this.buildImportantEventList(a);this.createEventBin(a);this.assets=new Object;for(var b in this.creative.assets)if(!this.isPartOfArrayPrototype(b)){var c=this.creative.assets[b];this.assets[c.variableName]=c}if(a.type==this.CREATIVE_TYPE_FLOATING_WITH_REMINDER||a.type==this.CREATIVE_TYPE_INPAGE_WITH_FLOATING||a.type==this.CREATIVE_TYPE_INPAGE_WITH_OVERLAY)this.dualAssetManager=new DualAssetManager_59_09(a,this);if(a.type==this.CREATIVE_TYPE_EXPANDING|| a.type==this.CREATIVE_TYPE_FLOATING||a.type==this.CREATIVE_TYPE_FLOATING_WITH_REMINDER||a.type==this.CREATIVE_TYPE_INPAGE_WITH_FLOATING)this.pageElementsManager=new PageElementsManager_59_09(a,this)}; RichMediaCreativeDisplayManager_59_09.prototype.buildImportantEventList=function(a){for(var b=0;b=2&&c<3){b.blur();window.blur()}}}; RichMediaCreativeDisplayManager_59_09.prototype.reportCustomVariable=function(a,b){if(!this.previewMode){var c=this.creative.stringPostingUrl;var d=new Date;c+="×tamp="+d.getTime()+";"+"str="+unescape(a)+";"+"strtype="+b;var e=document.createElement("img");e.src=c}else{var f=this.getEventBin();if(f!=null)f.logCustomVariable(unescape(a),b,this.creative.renderingId)}}; RichMediaCreativeDisplayManager_59_09.prototype.setDynamicServeId=function(a){var b=this.getEventBin();if(b){b.setDynamicServeId(a);var c=this.getStandardEventId(this.STANDARD_EVENT_DYNAMIC_CREATIVE_IMPRESSION);b.logMetEvent("Count",c,this.creative.renderingId,false,this.STANDARD_EVENT_DYNAMIC_CREATIVE_IMPRESSION);b.flushMetCounters(this.creative.renderingId)}}; RichMediaCreativeDisplayManager_59_09.prototype.getFireFoxVersion=function(){var a=navigator.userAgent.toUpperCase();if(a.indexOf("GECKO")!=-1)if(a.indexOf("FIREFOX")!=-1)return parseFloat(a.substr(a.lastIndexOf("/")+1));return null}; RichMediaCreativeDisplayManager_59_09.prototype.conduitInitialized=function(a){if(this.creative.shouldDisplayHTML5Asset)this.setAdParameters(a);else{RichMediaCore_59_09.prototype.trackCsiEvent("fe");var b=this.getAsset(a);b.conduitInitialized=true;if(this.shouldCsi(b,this.creative.type))RichMediaCore_59_09.prototype.reportCsi(this.creative)}};RichMediaCreativeDisplayManager_59_09.prototype.setTimerAdjustment=function(a,b,c){this.getEventBin().setTimerAdjustment(a,b,c)}; RichMediaCreativeDisplayManager_59_09.prototype.getEventBin=function(){if(!this.previewMode)return this.dartEventBin;else if(this.debugEventsMode)return this.dartDebugEventBin;else return null};RichMediaCreativeDisplayManager_59_09.prototype.getStandardEventId=function(a){return this.creative.standardEvents[a].reportingId}; RichMediaCreativeDisplayManager_59_09.prototype.getEventId=function(a,b){var c;if(a=="Start"||a=="Stop")c=this.creative.timerEvents[b];else if(a=="Count")c=this.creative.counterEvents[b];else if(a=="Exit")c=this.creative.exitEvents[b];return c!=null?c.reportingId:-1};RichMediaCreativeDisplayManager_59_09.prototype.evaluateBoolean=function(a){var b=typeof a;return b=="string"&&a=="true"||b=="boolean"&&a}; RichMediaCreativeDisplayManager_59_09.prototype.logEvent=function(a,b,c,d,e){var f;b=unescape(b);e=this.evaluateBoolean(e);d=this.evaluateBoolean(d);if(e)f=this.getEventId(a,b);else f=this.getStandardEventId(b);if(f==-1)return;if(a==="Exit")a="Count";if(b==this.STANDARD_EVENT_DISPLAY_TIMER)this.logDisplayTimerEvent(a,c);else{var g=this.getEventBin();if(g)g.logMetEvent(a,f,c,d,b)}}; RichMediaCreativeDisplayManager_59_09.prototype.getCustomVideoEventId=function(a,b,c){var d=this.getStandardEventId(c);var e;if(a=="Start"||a=="Stop")e=this.creative.timerEvents;else e=this.creative.counterEvents;var f="";for(var g in e){var h=e[g];if(h.sourceComponentName==b&&h.sourceStandardEventId==d){f=h.reportingId;break}}return f}; RichMediaCreativeDisplayManager_59_09.prototype.logVideoEvent=function(a,b,c){b=unescape(b);var d=this.creative.videoComponents[b];var e=this.getEventBin();var f=this.getStandardEventId(c);if(e)e.logMetEvent(a,f,this.creative.renderingId,false,c);if(d.trackCustomEvents){var g=this.getCustomVideoEventId(a,b,c);if(e)e.logMetEvent(a,g,this.creative.renderingId,false,c)}}; RichMediaCreativeDisplayManager_59_09.prototype.stopStandardTimers=function(a){this.logEvent("Stop",this.STANDARD_EVENT_DISPLAY_TIMER,a);this.logEvent("Stop",this.STANDARD_EVENT_INTERACTION_TIMER,a);this.logEvent("Stop",this.STANDARD_EVENT_VIDEO_VIEW_TIMER,a)}; RichMediaCreativeDisplayManager_59_09.prototype.logDisplayTimerEvent=function(a,b){var c=this.getEventBin();if(a=="Start"){if(!this.isDisplayTimerRunning){if(c)c.logMetEvent("Start","2",b);this.isDisplayTimerRunning=true}}else if(a=="Stop")if(this.isDisplayTimerRunning){if(c)c.logMetEvent("Stop","2",b);this.isDisplayTimerRunning=false}};RichMediaCreativeDisplayManager_59_09.prototype.flushCounters=function(a){var b=this.getEventBin();if(b)b.flushMetCounters(a)}; RichMediaCreativeDisplayManager_59_09.prototype.scheduleTurnOffEventBinFlushing=function(a,b){var c=this.getEventBin();if(c)this.registerTimeoutHandler(b*1000,"turnOffFlushing('"+a+"')",c)};RichMediaCreativeDisplayManager_59_09.prototype.setShouldFlush=function(a,b){var c=this.getEventBin();if(c)c.setMetShouldFlush(a,b)};RichMediaCreativeDisplayManager_59_09.prototype.getShouldFlush=function(a){var b=this.getEventBin();return b&&b.getShouldFlush(a)}; RichMediaCreativeDisplayManager_59_09.prototype.registerUrl=function(a,b){var c=this.getEventBin();if(c)c.registerEventBinUrl(a,b)};RichMediaCreativeDisplayManager_59_09.prototype.logExitEventFlushCounters=function(a,b,c,d){this.logEvent("Exit",a,b,c,d);this.flushCounters(b)};RichMediaCreativeDisplayManager_59_09.prototype.logEventFlushCounters=function(a,b,c,d,e){this.logExitEventFlushCounters(b,c,d,e)}; RichMediaCreativeDisplayManager_59_09.prototype._logEventFlushCountersOpenPopup=function(a,b,c,d,e,f,g){this.logEvent(a,b,c,true);this.flushCounters(c);this.openPopup(d,e,f,g)};RichMediaCreativeDisplayManager_59_09.prototype.getExitUrl=function(a,b){var c=b==undefined?this.creative.exitEvents[a].url:b;var d=this.creative.clickThroughUrl;var e=this.creative.clickN!=""?parseInt(this.creative.clickN):1;if(d.indexOf("?")>=0||d.indexOf("&")>=0)for(var f=0;f0)this.registerTimeoutHandler(eval(b)*1000,"stopDisplay('"+a+"')",this)};RichMediaCreativeDisplayManager_59_09.prototype.tellCompanionAssetStop=function(a){this.dualAssetManager.tellCompanionAssetStop(a)}; RichMediaCreativeDisplayManager_59_09.prototype.tellCompanionAssetStart=function(a){this.dualAssetManager.tellCompanionAssetStart(a)};RichMediaCreativeDisplayManager_59_09.prototype.tellCompanionAssetHide=function(a){this.dualAssetManager.tellCompanionAssetHide(a)};RichMediaCreativeDisplayManager_59_09.prototype.tellCompanionAssetShow=function(a){this.dualAssetManager.tellCompanionAssetShow(a)}; RichMediaCreativeDisplayManager_59_09.prototype.getAsset=function(a){for(var b in this.creative.assets)if(this.creative.assets[b].variableName==a)return this.creative.assets[b];return null};RichMediaCreativeDisplayManager_59_09.prototype.getHTML5Asset=function(a){for(var b in this.creative.assets)if(this.creative.assets[b].url==a)return this.creative.assets[b];return null}; RichMediaCreativeDisplayManager_59_09.prototype.tellAssetHide=function(a){var b=this.getAssetType(a);if(b==this.ASSET_TYPE_OVERLAY)this.closePopupAsset(a);else this.stopDisplay(a)};RichMediaCreativeDisplayManager_59_09.prototype.tellAssetShow=function(a){this._startDisplay(a,false)};RichMediaCreativeDisplayManager_59_09.prototype.tellAssetStart=function(a){if(this.isFlashScriptingSupported())this.playFlash(a)}; RichMediaCreativeDisplayManager_59_09.prototype.tellAssetStop=function(a){var b=this.toObject("FLASH_"+a);if(b&&this.isFlashScriptingSupported())b.StopPlay()};RichMediaCreativeDisplayManager_59_09.prototype.tellAssetGotoFrame=function(a,b){var c=this.toObject("FLASH_"+a);if(c&&this.isFlashScriptingSupported())c.GotoFrame(b)};RichMediaCreativeDisplayManager_59_09.prototype.isAssetPlaying=function(a){var b=this.toObject("FLASH_"+a);if(b&&this.isFlashScriptingSupported())return b.IsPlaying();return false}; RichMediaCreativeDisplayManager_59_09.prototype.replayAsset=function(a){var b=this.toObject("DIV_"+a);if(b&&b.style.visibility!="visible"){b.style.visibility="visible";var c=this.getAsset(a);if(c!=null){var d=this.toObject("FLASH_"+a);d.Rewind();d.StopPlay();this.scheduleDisplay(a,c.duration,true);if(c.isMainAsset){var e=this.getRenderingId(a);this.logEvent("Start","DISPLAY_TIMER",e)}}}}; RichMediaCreativeDisplayManager_59_09.prototype.openPopup=function(a,b,c,d){if(c)var e=window.open(a,b,c);else e=window.open(a,b);this.dartPopupArray[b]=e;if(eval(d))window.focus();return e}; RichMediaCreativeDisplayManager_59_09.prototype.notifyPreviewHandler=function(a,b){if(this.creative.debugEventsMode&&this.previewHandler)try{if(b=="startDisplay"){var c=this.generateGlobalCallback("replayAsset('"+a.variableName+"')",this);this.previewHandler.onAssetDisplayed("DIV_"+a.variableName,a.assetType,c)}else if(b=="stopDisplay")this.previewHandler.onBeforeAssetRemoved("DIV_"+a.variableName,a.assetType)}catch(d){}}; RichMediaCreativeDisplayManager_59_09.prototype.stopDisplay=function(a){var b=this.toObject("DIV_"+a);if(b.style.visibility=="hidden")return;var c=this.getAsset(a);this.notifyPreviewHandler(c,"stopDisplay");var d=this.toObject("FLASH_"+a);if(!d)d=this.toObject("IFRAME_"+a);var e=this.creative.renderingId;if(c.isMainAsset)this.stopStandardTimers(e);this.flushCounters(e);if(!this.isAnyCompanionVisible(a))this.scheduleTurnOffEventBinFlushing(e,2);b.removeChild(d);b.style.visibility="hidden";this._adjustWindowElements(a, false)};RichMediaCreativeDisplayManager_59_09.prototype.isAnyCompanionVisible=function(a){for(var b in this.assets)if(!this.isPartOfArrayPrototype(b)&&b!=a){var c=this.toObject("DIV_"+b);if(c&&c.style.visibility=="visible")return true}return false};RichMediaCreativeDisplayManager_59_09.prototype.addEntityProperties=function(a,b,c,d,e,f,g){this.pageElementsManager.addEntityProperties(a,b,c,d,e,f,g)}; RichMediaCreativeDisplayManager_59_09.prototype.doNotAdjustIFrame=function(a,b){this.pageElementsManager.doNotAdjustIFrame(a,b)};RichMediaCreativeDisplayManager_59_09.prototype.doNotAdjustObject=function(a,b){this.pageElementsManager.doNotAdjustObject(a,b)};RichMediaCreativeDisplayManager_59_09.prototype.getRenderingId=function(a){var b=a.split("_");return b.length>1?b[0]:null}; RichMediaCreativeDisplayManager_59_09.prototype.createFunctionCall=function(a,b){var c=a+"(";var d=0;for(var e=0;e0)c+=", ";c+='"'+b[e]+'"';d++}c+=")";return c};RichMediaCreativeDisplayManager_59_09.prototype._splitArgs=function(a){var b=new Array;var c=unescape(a);var d=c.split("#mtf#");for(var e=0;e0&&typeof b.TCurrentFrame!="undefined"&&b.TCurrentFrame("/")>=0)this.setFlashVariable(this.creative.asVersion,b,"globalTemplateScriptLoaded","1");else{var c="dartCreativeDisplayManagers['"+this.creativeIdentifier+"'].finishDispatchScriptLoaded('"+a+"');";window.setTimeout(c,100)}}catch(d){c="dartCreativeDisplayManagers['"+ this.creativeIdentifier+"'].finishDispatchScriptLoaded('"+a+"');";window.setTimeout(c,100)}};RichMediaCreativeDisplayManager_59_09.prototype.unloadPopup=function(){var a=this.renderingId;if(a){this.flushCounters(a);this.stopStandardTimers(a)}};RichMediaCreativeDisplayManager_59_09.prototype.forceAnimation=function(a){var b=this.toObject("FLASH_"+a);var c=this.toObject("DIV_"+a);if(c.style.visibility=="visible"){b.Zoom(50);b.Zoom(0)}}; RichMediaCreativeDisplayManager_59_09.prototype.isFlashScriptingSupported=function(){return this.isWindows()||this.isMac()&&(this.isFirefox()||this.isSafari()||this.isChrome())};RichMediaCreativeDisplayManager_59_09.prototype.registerCreativeElement=function(a){this.rootElementArray[this.rootElementArray.length]=a}; RichMediaCreativeDisplayManager_59_09.prototype.removeChildNode=function(a,b){if(a.hasChildNodes()){var c=a.childNodes;for(var d=0;d2?arguments.slice(2):[];return function(){return b.apply(a,arguments.slice?arguments.concat(c):arguments)}};RichMediaCreativeDisplayManager_59_09.prototype.messageHandler=function(a){if(this.html5IframeElement.contentWindow==a.source)this.messageCommandHandler(a)}; RichMediaCreativeDisplayManager_59_09.prototype.messageCommandHandler=function(a){var b=a.data;var c=this._parseCommandString(unescape(b));var d=this.createFunctionCall(c.command,c.argArray);try{eval('dartCreativeDisplayManagers["'+this.creativeIdentifier+'"].'+d)}catch(e){}}; RichMediaCreativeDisplayManager_59_09.prototype.invokeEnablerFunction=function(a,b,c){var d={};d.methodName=a;if(b&&b.join&&b.length>0)b=b.join("#mtf#");d.args=b?b:null;var e=this.getAsset(c);var f=document.getElementById("IFRAME_"+c).contentWindow;var g=this.getSiteProtocol(e.url)+"//"+this.getSiteHost(e.url);if(f)f.postMessage(escape(this.serializeCommand(d)),g)};RichMediaCreativeDisplayManager_59_09.prototype.serializeCommand=function(a){return escape(a.methodName)+"="+escape(a.args)}; RichMediaCreativeDisplayManager_59_09.prototype.setAdParameters=function(a){var b=this.getHTML5Asset(a);if(b!=null)this.invokeEnablerFunction("setAdParameters",b.queryString,b.variableName)}; function RichMediaEventBin_59_09(a,b,c){this.dartIntervalArray=b?new Array:new Array(10,20,50,120,240);this.dartEventBinCollection=new Array;this.dartRegistrationTime=null;this.dartMaxTimeMilliseconds=20*60*1000;this.dartCreativeIdentifier=a;this.timerAdjustments=new Array;this.lastEventFlushingTime=null;this.minimumFlushingDuration=5*1000;this.importantEventsArray=c;this.dynamicServeId=null}RichMediaEventBin_59_09.prototype=new RichMediaCore_59_09; RichMediaEventBin_59_09.prototype.setTimerAdjustment=function(a,b,c){var d=new Object;d.eventId=a;d.startAdjustmentTime=parseInt(b);d.stopAdjustmentTime=parseInt(c);this.timerAdjustments[a]=d}; RichMediaEventBin_59_09.prototype.registerEventBinUrl=function(a,b){if(!this.dartEventBinCollection[a]){var c=new Array;c["counter"]=new Array;c["timer"]=new Array;c["duration"]=new Array;c["nonCumulativeCounters"]=new Array;c["flushUrl"]=b;c["shouldFlush"]=true;this.dartEventBinCollection[a]=c;this.dartRegistrationTime=new Date;this.setFlushInterval(a)}};RichMediaEventBin_59_09.prototype.setDynamicServeId=function(a){this.dynamicServeId=a}; RichMediaEventBin_59_09.prototype.logMetEvent=function(a,b,c,d){if(this.dartEventBinCollection[c]&&b&&!isNaN(b))switch(a){case "Count":{this.processCounter(b,c,d);break}case "Start":{this.processStart(b,c);break}case "Stop":{this.processStopTimer(b,c);break}default:break}}; RichMediaEventBin_59_09.prototype.processCounter=function(a,b,c){var d=this.getNonCumulativeCountersArray(b);var e=this.getCounterArray(b);c=c&&(c=="true"||c==true);if(!c){if(!d[a])e[a]=1;d[a]=true}else{if(!e[a])e[a]=0;e[a]=e[a]+1}};RichMediaEventBin_59_09.prototype.processStart=function(a,b){var c=this.getTimerArray(b);if(!c[a]){var d=new Date;var e=this.timerAdjustments[a];if(e){var f=d.getTime()+e.startAdjustmentTime;d.setTime(f)}c[a]=d;this.processCounter(a,b,false)}}; RichMediaEventBin_59_09.prototype.processStopTimer=function(a,b){var c=this.getTimerArray(b);var d=this.getDurationArray(b);if(c[a]){var e=c[a];var f=new Date;var g=f.getTime()-e.getTime();if(g<0||g>this.dartMaxTimeMilliseconds)g=0;d[a]=d[a]?d[a]+g:g;c[a]=false;return true}return false};RichMediaEventBin_59_09.prototype.shouldFlush=function(){var a=(new Date).getTime();return this.lastEventFlushingTime==null?true:a-this.lastEventFlushingTime>this.minimumFlushingDuration}; RichMediaEventBin_59_09.prototype.hasAnyImportantEventPending=function(a){var b=this.getCounterArray(a);for(var c in b)if(!this.isPartOfArrayPrototype(c)&&b[c]>0)for(var d=0;d0||j> 0){b+="eid"+f+"="+g+";";b+="ecn"+f+"="+i+";";b+="etm"+f+"="+j+";"}c[g]=c[g]-i;d[g]=d[g]-j*1000;if(h)e[g]=new Date;f++}this.lastEventFlushingTime=(new Date).getTime();this.postData(b,a)}}};RichMediaEventBin_59_09.prototype.turnOffFlushing=function(a){this.flushMetCounters(a);this.setMetShouldFlush(false)}; RichMediaEventBin_59_09.prototype.postData=function(a,b){if(a.length){var c=new Date;var d=this.splitActivity(a);for(var e=0;e0;b=b.substr(f)){var g=b;var h=g.substr(0,e);f=h.lastIndexOf(d)+d.length;h=g.substr(0,f);g=g.substr(f);f+=g.indexOf(";")+1;c[c.length]=b.substr(0,f)}return c};RichMediaEventBin_59_09.prototype.getCounterArray=function(a){var b=this.dartEventBinCollection[a];return b["counter"]}; RichMediaEventBin_59_09.prototype.getTimerArray=function(a){var b=this.dartEventBinCollection[a];return b["timer"]};RichMediaEventBin_59_09.prototype.getDurationArray=function(a){var b=this.dartEventBinCollection[a];return b["duration"]};RichMediaEventBin_59_09.prototype.getNonCumulativeCountersArray=function(a){var b=this.dartEventBinCollection[a];return b["nonCumulativeCounters"]};RichMediaEventBin_59_09.prototype.getFlushUrl=function(a){var b=this.dartEventBinCollection[a];return b["flushUrl"]}; RichMediaEventBin_59_09.prototype.getShouldFlush=function(a){var b=this.dartEventBinCollection[a];return b["shouldFlush"]};RichMediaEventBin_59_09.prototype.setMetShouldFlush=function(a,b){var c=this.dartEventBinCollection[a];if(c)c["shouldFlush"]=b};RichMediaEventBin_59_09.prototype.isInAllowedTimeframe=function(){var a=new Date;return!(a.getTime()-this.dartRegistrationTime.getTime()>this.dartMaxTimeMilliseconds)}; RichMediaEventBin_59_09.prototype.roundNumber=function(a,b){b=b?b:0;return Math.round(a*Math.pow(10,b))/Math.pow(10,b)};RichMediaEventBin_59_09.prototype.setFlushInterval=function(a){for(var b=0;bf.zIndex&&(f.position=="relative"||f.position=="absolute")){d.style.originalZIndex=this.getStyle(d).zIndex;d.style.zIndex=c.style.zIndex}}else if(typeof d.style.originalZIndex!= "undefined")d.style.zIndex=d.style.originalZIndex;d=d.parentNode}};PageElementsManager_59_09.prototype._adjustElements=function(a,b){var c=self.document.getElementsByTagName(b);b=b.toLowerCase();for(var d=0;d';a.setAttribute("Motif_IFramePlaceHolderDivIndex", this.iframePlaceHolderDivIndex);c=new Object;this.hiddenIframes[this.iframePlaceHolderDivIndex]=c;this.iframePlaceHolderDivIndex++}else{var d=a.getAttribute("Motif_IFramePlaceHolderDivIndex");var e="MOTIF_IFRAMEPLACEHOLDER_"+d;b=document.getElementById(e);c=this.hiddenIframes[parseInt(d)]}c.width=a.width;c.height=a.height;b.style.width=c.width;b.style.height=c.height;b.firstChild.width=c.width;b.firstChild.height=c.height;a.style.visibility="hidden";a.width=0;a.height=0}; PageElementsManager_59_09.prototype.displayFirefoxIFrame=function(a){var b=a.getAttribute("Motif_IFramePlaceHolderDivIndex");var c="MOTIF_IFRAMEPLACEHOLDER_"+b;var d=document.getElementById(c);var e=this.hiddenIframes[parseInt(b)];if(d!=null){a.width=e.width;a.height=e.height;d.style.width="0px";d.style.height="0px";d.firstChild.width=0;d.firstChild.height=0}a.style.visibility=a.getAttribute("initialVisibility")}; PageElementsManager_59_09.prototype.adjustScrollbars=function(a){var b=self.document.documentElement;var c=document.compatMode&&document.compatMode=="CSS1Compat";c|=this.isSafari();if(a)if(c){b.style.originalOverflow=typeof b.currentStyle=="object"?b.currentStyle.overflow:b.style.overflow;b.style.overflow="hidden"}else self.document.body.scroll="no";else if(c){if(typeof b.style.originalOverflow!="undefined")b.style.overflow=b.style.originalOverflow}else self.document.body.scroll="yes"}; function ExpandingManager_59_09(a,b){this.creative=a;this.displayManager=b;this.init()}ExpandingManager_59_09.prototype=new RichMediaCore_59_09; ExpandingManager_59_09.prototype.init=function(){if(this.isInAdSenseIFrame()){this.creativeToolset=new CreativeToolset;var a=this.creative.assets[this.ASSET_TYPE_EXPANDING];var b="dartCallbackObjects["+this.getCallbackObjectIndex(this)+"].adSenseExpand(expandedWidth, expandedHeight, direction)";var c=new Function("expandedWidth","expandedHeight","direction",b);var d="dartCallbackObjects["+this.getCallbackObjectIndex(this)+"].adSenseCollapse(collapsedWidth, collapsedHeight)";var e=new Function("collapsedWidth", "collapsedHeight",d);var f=parseInt(a.offsetLeft)+parseInt(a.width);var g=parseInt(a.expandedWidth)-parseInt(a.offsetLeft);var h=parseInt(a.offsetTop)+parseInt(a.height);var i=parseInt(a.expandedHeight)-parseInt(a.offsetTop);var j={width:Math.max(f,g),height:Math.max(h,i),expansionCallback:c,collapseCallback:e};this.creativeToolset.enableExpansion(j)}if(this.isInWinLiveAPIPlatform())this.displayManager.adListener=new MSNAdListener_59_09(this.creative.assets[this.ASSET_TYPE_EXPANDING]);else if(this.isInYahooCrossDomainIframe())this.displayManager.adListener= new YahooAdListener_59_09(this.creative.assets[this.ASSET_TYPE_EXPANDING])};ExpandingManager_59_09.prototype.adSenseExpand=function(a,b,c){try{var d=["tl","tr","br","bl"];var e=this.toObject("FLASH_"+this.creative.assets[this.ASSET_TYPE_EXPANDING].variableName);this.setFlashVariable(this.creative.asVersion,e,"mde_expandedDirection",d[c])}catch(f){}}; ExpandingManager_59_09.prototype.adSenseCollapse=function(a,b){try{var c=this.toObject("FLASH_"+this.creative.assets[this.ASSET_TYPE_EXPANDING].variableName);this.setFlashVariable(this.creative.asVersion,c,"mde_expandedState","collapsed")}catch(d){}};ExpandingManager_59_09.prototype.getPosition=function(a,b){return"position:absolute;"+"top:"+(0-a)+"px;"+"left:"+(0-b)+"px;"}; ExpandingManager_59_09.prototype.startAnimation=function(a,b,c){if(a.animationState==null){var d=new Object;d.isRunning=false;d.animateCallback=this.generateGlobalCallback('updateExpandingViewPort("'+a.variableName+'", '+c+")",this);d.expandMode=true;var e=parseInt(a.height);d.currentHeight=e;var f=parseInt(a.expandedHeight);var g=f-e;var h=a.animationTime*1000;d.updateInterval=50;var i=Math.ceil(h/d.updateInterval);d.stepLength=Math.ceil(g/(i+1));a.animationState=d}a.animationState.expandMode=b; if(!a.animationState.isRunning){a.animationState.isRunning=true;this.updateExpandingViewPort(a.variableName,c)}}; ExpandingManager_59_09.prototype.updateExpandingViewPort=function(a,b){var c=this.displayManager.getAsset(a);var d=c.animationState;var e=false;var f="auto";var g="auto";var h="auto";if(d.expandMode){var i=parseInt(c.expandedHeight);d.currentHeight+=d.stepLength;if(d.currentHeight>=i){d.currentHeight=i;e=true}}else{var j=parseInt(c.height);f=c.offsetTop;g=c.offsetRight;h=c.offsetLeft;d.currentHeight-=d.stepLength;if(d.currentHeight<=j){d.currentHeight=j;e=true}}var k=this.toObject("EXPANDO_PLACEHOLDER_"+ a);k.style.height=d.currentHeight+"px";var l=f=="auto"?c.expandedWidth:c.width;this.displayManager.clipFlashObject(c,l,d.currentHeight,f,g,d.currentHeight,h,b);if(e)d.isRunning=false;else window.setTimeout(d.animateCallback,d.updateInterval)}; ExpandingManager_59_09.prototype.getExpandingDirection=function(a){var b=this.getElementPosition("OUTER_DIV_"+a.variableName);var c=this.getWindowDimension();var d=this.getAvailableVeticalDirection(c.height,b.top,a.height);var e=this.getAvailableHorizontalDirection(c.width,b.left,a.width);return d+e};ExpandingManager_59_09.prototype.getAvailableVeticalDirection=function(a,b,c){var d=a-(b+parseInt(c));return b>=d?"t":"b"}; ExpandingManager_59_09.prototype.getAvailableHorizontalDirection=function(a,b,c){var d=a-(b+parseInt(c));return b>=d?"l":"r"};ExpandingManager_59_09.prototype.isMultiDirectionalExpanding=function(a){try{return this.getFlashVariable(this.creative.asVersion,a,"isMultiDirectional")=="true"}catch(b){return false}}; ExpandingManager_59_09.prototype.adjustParentOverflow=function(a){for(;a;){if(a.tagName!="BODY"){var b=this.getStyle(a);if(b.overflow=="hidden"||b.overflowX&&b.overflowX=="hidden"||b.overflowY&&b.overflowY=="hidden")a.style.overflow="visible"}if(a.tagName=="BODY")break;a=a.parentNode}};function ScriptExpandingRenderer_59_09(a){this.flashUtil=new FlashUtil_59_09(a)}ScriptExpandingRenderer_59_09.prototype=new RichMediaCore_59_09; ScriptExpandingRenderer_59_09.prototype.renderFlashExpanding=function(a,b){var c=a.assets[this.ASSET_TYPE_EXPANDING];var d=b.getPosition(c.offsetTop,c.offsetLeft);var e="dartCreativeDisplayManagers['"+a.creativeIdentifier+"'].onMouseOut('"+c.variableName+"');";var f="dartCreativeDisplayManagers['"+a.creativeIdentifier+"'].onMouseOver('"+c.variableName+"');";var g=c.expandingDivStyleSheet!=""?c.expandingDivStyleSheet+";":"";document.write('
');var h=c.queryString;h+="&td="+escape(self.location.hostname)+"&wmode="+c.wmode;h+=b.usesSalignForExpanding(c.salign,c.wmode)?"&scaleMode=noScale":"";h+="&ispushdown="+c.pushContents;var i=this.flashUtil.getObjectHtml("id","FLASH_"+c.variableName,"name","FLASH_"+c.variableName,"WIDTH",c.expandedWidth,"HEIGHT",c.expandedHeight,"movie",c.url,"quality","high","wmode",c.wmode,"salign",c.salign,"queryString",h,"onmouseover",f,"onmouseout",e);RichMediaCore_59_09.prototype.trackCsiEvent("fb"); document.write(i);document.write("
")}; ScriptExpandingRenderer_59_09.prototype.renderHtml5Expanding=function(a,b,c){var d=a.assets[this.ASSET_TYPE_EXPANDING];var e=c.getPosition(d.offsetTop,d.offsetLeft);var f="dartCreativeDisplayManagers['"+a.creativeIdentifier+"'].onMouseOutHtml5('"+d.variableName+"');";var g="dartCreativeDisplayManagers['"+a.creativeIdentifier+"'].onMouseOverHtml5('"+d.variableName+"');";var h="dartCreativeDisplayManagers['"+a.creativeIdentifier+"'].onTouchEndHtml5('"+d.variableName+"');";var i="dartCreativeDisplayManagers['"+ a.creativeIdentifier+"'].onTouchHtml5('"+d.variableName+"');";var j=d.expandingDivStyleSheet!=""?d.expandingDivStyleSheet+";":"";var k="IFRAME_"+d.variableName;document.write('
');document.write("");document.write("
");b.html5IframeElement=document.getElementById(k);b.attachMessageHandler();b.registerUrl(a.renderingId,a.adserverUrl);b.logHTML5Impression()}; ScriptExpandingRenderer_59_09.prototype.displayExpanding=function(a,b,c){var d=a.assets[this.ASSET_TYPE_EXPANDING];var e=d.expandingDivStyleSheet!=""?";"+d.expandingDivStyleSheet:"";var f="";var g=d.pushContents&&this.isInternetExplorer()&&this.getIEVersion()>=8;if(d.displayInline&&!g)f=this.isSafari()||this.isChrome()?"display:inline-table;":"display:inline;";var h=d.displayInline?e:";"+d.cssProperty;document.write(' '); document.write('');document.write('
');document.write('
');document.write('');if(a.shouldDisplayHTML5Asset)this.renderHtml5Expanding(a, b,c);else{this.renderFlashExpanding(a,c);this.logThirdPartyFlashDisplayImpression(a,false)}document.write("
");document.write("
");this.startDisplay(a,b);if(a.adjustOverflow)c.adjustParentOverflow(this.toObject("OUTER_DIV_"+d.variableName))}; ScriptExpandingRenderer_59_09.prototype.startDisplay=function(a,b){var c=a.assets[this.ASSET_TYPE_EXPANDING];if(!a.shouldDisplayHTML5Asset){b.doNotAdjustObject(c.variableName,"FLASH_"+c.variableName);b.fsHook("FLASH_"+c.variableName);b.registerUrl(a.renderingId,a.adserverUrl)}b.addEntityProperties(c.variableName,c.hideDropdowns,c.hideIframes,c.hideScrollbars,c.hideObjects,c.hideApplets,true);b.collapseAsset(c.variableName)};function FlashUtil_59_09(a){this.creative=a}FlashUtil_59_09.prototype=new RichMediaCore_59_09; FlashUtil_59_09.prototype.getObjectHtml=function(){var a=this.getArgs(arguments);return this.generateObj(a.objAttrs,a.params,a.embedAttrs)}; FlashUtil_59_09.prototype.getArgs=function(a){var b=new Object;b.embedAttrs=new Object;b.params=new Object;b.objAttrs=new Object;var c="";var d=false;for(var e=0;e '}d+="5&&this.creative.fullScreenEnabled)if(b>=9.115||b>=9.28&&a=="window")return true;return false};function ScriptCreativeRenderer_59_09(){}ScriptCreativeRenderer_59_09.prototype=new RichMediaCore_59_09; ScriptCreativeRenderer_59_09.prototype.showCreative=function(a){a.isProcessed=true;var b=a.type;var c=new RichMediaCreativeDisplayManager_59_09(a);dartCreativeDisplayManagers[a.creativeIdentifier]=c;if(b==this.CREATIVE_TYPE_INPAGE){var d=new InpageRenderer_59_09(a);d.displayInpage(a,c)}else if(b==this.CREATIVE_TYPE_EXPANDING){d=new ScriptExpandingRenderer_59_09(a);var e=new ExpandingManager_59_09(a,c);e.init();c.setExpandingManager(e);d.displayExpanding(a,c,e)}else if(b==this.CREATIVE_TYPE_FLOATING){var f= a.assets[this.ASSET_TYPE_FLOATING];var g=new FloatingManager_59_09(a,c);if(this._isValidStartTime(f.startTime))c.registerTimeoutHandler(eval(f.startTime)*1000,"displayFloatingFlash()",g)}else if(b==this.CREATIVE_TYPE_INPAGE_WITH_OVERLAY){var h=new InpageRenderer_59_09(a);h.displayInpage(a,c);var i=new RichMediaOverlay_59_09(a,c);c.registerOverlay(i);i.scheduleOverlay()}else if(b==this.CREATIVE_TYPE_INPAGE_WITH_FLOATING){h=new InpageRenderer_59_09(a);h.displayInpage(a,c);f=a.assets[this.ASSET_TYPE_FLOATING]; g=new FloatingManager_59_09(a,c);c.setFloatingManager(g);if(this._isValidStartTime(f.startTime))c.registerTimeoutHandler(eval(f.startTime)*1000,"displayFloatingFlash()",g)}if(!a.shouldDisplayHTML5Asset&&c.isFlashScriptingSupported()){c.scheduleCallbackOnLoad("triggerPoliteDownload()");c.triggerDispatchScriptLoaded()}};ScriptCreativeRenderer_59_09.prototype.showOnPageLoad=function(a){var b=dartRichmediaCreatives[a];this.showCreative(b)}; ScriptCreativeRenderer_59_09.prototype.isGlobalTemplateCompatible=function(a){var b="expanding";if(a.globalTemplateVersion!="59_09")return false;switch(a.type){case this.CREATIVE_TYPE_FLOATING:return b=="floating";case this.CREATIVE_TYPE_EXPANDING:return b=="expanding";case this.CREATIVE_TYPE_INPAGE:return b=="inpage";case this.CREATIVE_TYPE_INPAGE_WITH_FLOATING:return b=="inpageFloating";case this.CREATIVE_TYPE_INPAGE_WITH_OVERLAY:return b=="inpageOverlay";default:return false}}; ScriptCreativeRenderer_59_09.prototype.show=function(){this.registerPageLoadHandler("pageLoaded()",this);for(var a=0;a?@ABCDE GHIJKLMNOPQR TVaryWExpiresSAge_X-Xss-Protection]Cache-Control_Content-Encoding\Content-TypeVServerTDate^Content-Length_X-Content-Type-Options]Last-Modified_Accept-Encoding_Sat, 07 May 2011 23:11:00 GMTU72333]1; mode=block_public, max-age=86400Tgzip_text/javascriptTsffe_Sun, 08 May 2011 23:21:57 GMTU12424Wnosniff_Thu, 21 Apr 2011 19:50:02 GMT./lmmn2_NSMutableDictionary\NSDictionary./qrrs2_NSHTTPURLResponse]NSURLResponse)27:PRd RW`knt} 3@GL[t"*JOSivy~t o_http://s0.2mdn.net/dot.gifO+GIF89a!,L;O.bplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver &,-345OPQRSTUVWXYZ[\]^_`abcghU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1 '()$+WNS.base[NS.relative_http://s0.2mdn.net/dot.gif./01X$classesZ$classname12UNSURLXNSObject#AxZ 6789DWNS.keysZNS.objects:;<=>?@ABC EFGHIJKLMNWExpiresSAge_X-Xss-Protection]Cache-Control\Content-TypeVServerTDate^Content-Length_X-Content-Type-Options]Last-Modified_Sat, 07 May 2011 23:36:42 GMTU64005]1; mode=block_public, max-age=86400Yimage/gifTsffe_Sun, 08 May 2011 23:37:14 GMTR43Wnosniff_Sun, 01 Feb 2009 08:00:00 GMT./deef2_NSMutableDictionary\NSDictionary+./ijjk2_NSHTTPURLResponse]NSURLResponse)27:PRd  +09DGMV_ahp{})7W]k  (l6 3_http://cdn.doubleverify.com/script344.js?agnc=989951&cmp=5412030&crt=&crtname=&adnet=&dvtagver=3.3.1346.2176&adsrv=1&plc=63087318&advid=1308080&sid=1064062&adid=O ]function Args() { var caller = this._findCaller(); if (!caller) { this._isHttps = window.location.match("^https") == "https"; this._queryString = "no_match_script"; } else { this._isHttps = caller.src.match("^https") == "https"; var qString = caller.src.replace(/^[^\?]+\??/, ''); if (qString) { this._queryString = qString + "&"; } } } if (!Args._SeenScriptCache) Args._SeenScriptCache = new Array(); Args.prototype._findCaller = function() { var scripts = document.getElementsByTagName('script'); for (var i = scripts.length - 1; i >= 0; i--) { var src = scripts[i].src; if (src.match(/^[^\?]+\?/) && src.match(/doubleverify\.com/) && !Args._SeenScriptCache[i]) { if (src.match('script344.js')) { Args._SeenScriptCache[i] = 1; return scripts[i]; } } else { Args._SeenScriptCache[i] = 1; } } return null; } try { window.parentIsPermitted = false; window.DVCurWin = window; try { for (i = 0; i <= 10; i++) { if ((window.DVCurWin.parent != null) && (window.DVCurWin.parent != window.DVCurWin)) { var loc = window.DVCurWin.parent.location.toString(); var x = loc.length; if (x > 0) { window.DVCurWin = window.DVCurWin.parent; window.parentIsPermitted = true; } else { window.parentIsPermitted = false; break; } } else { if (i == 0) { window.parentIsPermitted = true; } break; } } } catch (e) { window.parentIsPermitted = false; } if (window.DVCurWin.document.referrer.length == 0) { window.DVURL = window.DVCurWin.location; } else { if (window.parentIsPermitted) { window.DVURL = window.DVCurWin.location; } else { window.DVURL = window.DVCurWin.document.referrer; } } var serverName = 'log30.doubleverify.com'; var args = new Args(); if (!args._isHttps) { var rand = Math.random(); var frameUrl = 'http://' + serverName + '/visitor.aspx?query=' + escape(args._queryString) + '&num=344&srcurl=' + escape(DVURL) + '&random=' + escape(rand); var dv_el = document.createElement('span'); dv_el.style.display = "none"; dv_el.innerHTML = "clear pixel"; document.body.insertBefore(dv_el, document.body.firstChild); } } catch (ex) { } Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver" &,-345QRSTUVWXYZ[\]^_`abcdefgklU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1!  '()$+WNS.base[NS.relative_http://cdn.doubleverify.com/script344.js?agnc=989951&cmp=5412030&crt=&crtname=&adnet=&dvtagver=3.3.1346.2176&adsrv=1&plc=63087318&advid=1308080&sid=1064062&adid=./01X$classesZ$classname12UNSURLXNSObject#Ay6z= 6789EWNS.keysZNS.objects:;<=>?@ABCD FGHIJKLMNOPTVary]Cache-Control]Accept-Ranges_Content-EncodingVServer\Content-TypeTDate^Content-LengthTEtagZConnection]Last-Modified_Accept-Encoding\max-age=3600TnoneTgzipVApache_application/x-javascript_Tue, 10 May 2011 21:27:18 GMTS979_-"24ab06a8f98e955e1a585143c40c8022:1297858267"Zkeep-alive_Wed, 16 Feb 2011 12:11:07 GMT./hiij2_NSMutableDictionary\NSDictionary ]./mnno2_NSHTTPURLResponse]NSURLResponse)27:PRd   "$&(468:<>@BDFHJO]k~/3cnp o_Shttp://media.economist.com/sites/all/themes/econfinal/images/the-economist-logo.gifOGIF89aY**ccLK<;{| 11VVEEnn$$uuYYA@55@>QQ !pn]]qqDB}XV iiKQ2/ura_vvPO68HFWVrr34npUS ..&#CD&(((!42[] %&^_ ??^[~~  SRQS42:8DBHGup hdggxwEJ!,YYG*\ȰÇ#JHQziȱǏ CIɓ(SIp˗0cʜI_˚8ss͞@ 'ѣH4ӧ>3BJ(ӪXҼW\1,ٳb͢]U-۷P~u߿Yvgѥ LZydZ2)XF-1g떭~3k ֔UJc/%cgF b?@jxa :Aujl}(C+޸ Ł@^=aJUaza~MX8ђ?7Ey楄Uab| <( H`'8?la- BO ,!!Z"z+B]aA,:NX-dǏ,# cCSK-6V]$Cd,c|Dp,!r%/XVj*Gob L0t.P- dy i?ObpF?` P,@#[fMK(%LB2 ,j\J=曱P?S"9@?0AL` m,V+8 r`OӉp9Oƺc?tL(2E2^0@]@ XaV4b좆tF @?ikA"i,F t;Ë>6? B-8@,Sp}+HW9lC.0mƊ5 9,68^ 6}$m,#-Cѡ\RXJ "K0r$/T0ø ,RTP]E,p -/8& i,VL@Nh X(AuE-b'xB aKr@*'ӈp rz8v E kp;pK@l3`D">qzQ,A P46@?z0 RE-nQ )#, %L(\Bq6RL,[=seŠv[]26; +,'YR.42LP~1E@&`f(\<vhĘC y\(_- \Q؈>G9#S)_$nL60 Ef)UPBP_”#ӖxXQc0g;j!w11! \dآ2q]{ኽrs.nG+A-6OaHu Mo6{Ӫ”eqI&»!&~/,6Nn>Tkװcj/,^dhtZ5H ] O MH*q! x4,2 '"E.ch@hA}ڈ zC)80  FP<P@Z K| &pDžtl`*BsVQ+j #PYݔ |C,& X`G\1J [Dj+`-j"@B(;^ xha'7 (X`yE$Qs\1pgZ!:ѡW K'-.ц#(@ CEiG/KB1"e$ȧLx0ݐWd9`Xq' A{ aW04 i? L` "t AQsP`#G(PZ+qb>x?<Ʌ"p8^C AbQ hPY$)8΀xuvpt\+?c=:UϠv9Ǝj!D Qө`xbpZab 6ʏPL@>XگDq$z1`ZP,z)ZxAq0 qiye`H pP"`s{pTb;pfX1O)& @ \^F 1G `W&0  P e @C :2 Ƕ\O0{* Q]p6І (H6 k0y x,> ` )9DY Pw`mPxv4X`ӑ% G3R IbE0 q Dx B@ &0apVbX<`plkI\Q *K`АƐ#=lA0P " D I 6' x&YÐw2 } W h% u 0-pVTZP pXxa"Aq*  9 *z6&@ _ @ n0jx%HypmF@ ~Y-n4(+ʨ χ HBq[-x0YW3Wڇ*1/ f$卄J lPLQ (PYo Kn`ӈ;/@R` ^R @ po9Y`oi}i"Ye 0P$p|h;1i Ap݃i9Q @ @<܀w %%n$ ΐr#f94wmٛuv@O%(v.ڨ@! T,rJZɕ'p} ɎnT$`t鶟PZP4  zV Ja@ @O)!1]4m H<$@3  3&5:E<{'@w/6EGK'MPJ ppl{ ]0 @8p#%X! eE9`R@`hs P9' -@^@ wPo5 + 1$\Bjp" P`!0; fptD\0'!XP` U0` y o` j0 F P\''<09ȅ< }@ȅ ` ]N!p / t! (( S0[( q'P @? Ԇ gp  FPY2Gdg S` SPd a6=?nSE@M p d EPނ +=P`R CFф2 x `! f-XL%mh%[[ jp a~V L 6v ݜ?H877z c=W/38jeփ&.YQ@պզ )8vDeYr [i0Oq^%bl+<96zzQ|BYٷ $Xmg10}d  Z>TQQ !~;Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver" &,-345QRSTUVWXYZ[\]^_`abcdefgklU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1!  '()$+WNS.base[NS.relative_Shttp://media.economist.com/sites/all/themes/econfinal/images/the-economist-logo.gif./01X$classesZ$classname12UNSURLXNSObject#Ay6k 6789EWNS.keysZNS.objects:;<=>?@ABCD FGHIJKLMNOP]Last-Modified]Cache-ControlWExpiresSAgeVServer\Content-TypeTX-PxTDateTEtagZConnection^Content-Length_Wed, 27 Apr 2011 16:19:10 GMT^max-age=607363_Thu, 12 May 2011 10:50:40 GMTV472760[PWS/1.7.2.1Yimage/gif_ht iad-agg-n28.panthercdn.com_Tue, 10 May 2011 21:27:17 GMT_"28645-158d-4a1e8ccf5fb80"Zkeep-aliveT5517./hiij2_NSMutableDictionary\NSDictionary./mnno2_NSHTTPURLResponse]NSURLResponse)27:PRd  fkt  $+8=BGRa *5:?CYfinrp _&http://platform.twitter.com/widgets.jsOowindow.twttr=window.twttr||{}; (function(){function m(c){c=c||window.event;for(var a=c.target||c.srcElement,b,d;a&&a.nodeName.toLowerCase()!=="a";)a=a.parentNode;if(a&&a.nodeName.toLowerCase()==="a"&&a.href)if(b=a.href.match(t)){b=Math.round(u/2-n/2);d=0;if(o>k)d=Math.round(o/2-k/2);window.open(a.href,"intent",v+",width="+n+",height="+k+",left="+b+",top="+d);c.returnValue=false;c.preventDefault&&c.preventDefault()}}function p(c){var a,b;for(b in c){a=w.apply(this,b.split("."));for(var d=0,e;e=a[d];d++)(new c[b](e)).render()}}function w(c, a){var b,d=[],e,g;try{if(document.querySelectorAll)d=document.querySelectorAll(c+"."+a);else if(document.getElementsByClassName){b=document.getElementsByClassName(a);for(e=0;g=b[e];e++)g.tagName.toLowerCase()==c&&d.push(g)}else{b=document.getElementsByTagName(c);var h=RegExp("\\b"+a+"\\b");for(e=0;g=b[e];e++)g.className.match(h)&&d.push(g)}}catch(j){}return d}function q(c){for(var a=[],b=0,d=c.length;b0)d+=":"+location.port;f=f.match(/^\/[^\/]/)?[location.protocol,"//",d,f].join(""):[location.protocol,"//",d,location.pathname.replace(/\/([^\/]+)$/,"/"),f].join("")}break a}f=null}f= f||y}f=f}this.url=f;this.statusID=b.status_id||c.getAttribute("data-status-id");this.related=b.related||c.getAttribute("data-related");this.counturl=b.counturl||c.getAttribute("data-counturl");this.searchlink=b.searchlink||c.getAttribute("data-searchlink");this.placeid=b.placeid||c.getAttribute("data-placeid");B[a]||(a="horizontal");this.count=a;A[e]||(e="en");this.lang=e};(function(c,a){for(var b in a)c[b]=a[b];return c})(twttr.TweetButton.prototype,{parameters:function(){var c;c=this.statusID?{status_id:this.statusID}: {text:this.text,url:this.url,via:this.via,related:this.related,count:this.count,lang:this.lang,counturl:this.counturl,searchlink:this.searchlink,placeid:this.placeid};c._=(new Date).getTime();var a=[],b;for(b in c)c[b]!==null&&typeof c[b]!=="undefined"&&a.push(encodeURIComponent(b).replace(/\+/g,"%2B")+"="+encodeURIComponent(c[b]).replace(/\+/g,"%2B"));return a.sort().join("&")},render:function(){if(!twttr.TweetButton.fragment){twttr.TweetButton.fragment=document.createElement("div");twttr.TweetButton.fragment.innerHTML= ''}var c=twttr.TweetButton.fragment.firstChild.cloneNode(false),a=(window.location.protocol.match(/s\:$/)||0)&&!twttr.widgets.ignoreSSL?"https":"http",b=twttr.widgets.host.replace("{i}",l++);if(l==3)l=0;c.src=a+"://"+b+"/widgets/tweet_button.html?"+this.parameters();a=z[this.lang][this.count];c.style.width=a[0]+"px";c.style.height=a[1]+"px";c.title=C[this.lang]; (a=this.originElement.parentNode)&&a.replaceChild(c,this.originElement)}});var s={"a.twitter-share-button":twttr.TweetButton};p(s);(function(c){var a,b,d=function(){document.readyState=="complete"&&a()},e,g=function(){try{document.documentElement.doScroll("left");a()}catch(h){}};if(window.addEventListener){a=function(){if(!b){b=true;c()}window.removeEventListener("DOMContentLoaded",a,false);window.removeEventListener("load",a,false)};window.addEventListener("DOMContentLoaded",a,false);window.addEventListener("load", a,false)}else if(window.attachEvent){e=window.setInterval(g,13);a=function(){if(!b){b=true;c()}window.clearInterval(e);window.detachEvent("onreadystatechange",d);window.detachEvent("onload",a)};window.attachEvent("onreadystatechange",d);window.attachEvent("onload",a)}})(function(){p(s)})})(); Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver &,-345MNOPQRSTUVWXYZ[\]^_cdU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1 '()$+WNS.base[NS.relative_&http://platform.twitter.com/widgets.js./01X$classesZ$classname12UNSURLXNSObject#Ay5 6789CWNS.keysZNS.objects:;<=>?@AB DEFGHIJKLTVary]Accept-Ranges_Content-Encoding\Content-Type^Content-LengthTDateTEtagZConnection]Last-Modified_Accept-EncodingTnoneTgzip_application/javascriptT2684_Tue, 10 May 2011 21:27:17 GMT_""37e62a8a261d657e9e9950998d62e140"Zkeep-alive_Mon, 02 May 2011 18:39:12 GMT./`aab2_NSMutableDictionary\NSDictionaryo./effg2_NSHTTPURLResponse]NSURLResponse)27:PRd  5:CNQW`ikrz $6;@Y^~h( Zimage/jpeg_Jhttp://media.economist.com/sites/default/files/images/20090530/2209US3.jpgOLBJFIFdd7Ducky<"Chicago skyline&Adobed $.L@       ! 10"2@A3$PB#4% !1A"Qa2q0B Rbr#3@ѢCs$4@P!`p1 0a!1AQaq 0@ /r!B8wh]31KKHaVTh ї]O\P!1"U Ov O*X%ժxw Ze3I,Z-mKS!:3 A`ebOa K9 Q-6ytjԬ)]o ̶٥] gs2Y V tEic`$/B?Gyj$Q>GAfNZY³Dv]l2@"9> 3YR;ppppC 8P忺 GYR,]N%/5qxY-HK.՘kG+%SЋs-jӼDFsyݡOp88 \cz0('i'%hzm]R(1$E,k3V 0U94jvvr}.KdyC *2$EJa2Ek +U4w4'te~sǴk?6/oX/3/Wf3"\s#C-m<>?OSf;;Ӂ4u'k=.n<.ۜZy895/3?1Տ欼]miiOS^}vwo {Zdx;Z8 5i|^oW|gN}3z}pvykewjZ}z|3:zA6%o@Wo~jw8gzia}}yynOA˳tԑvaMLnc}MW˵M揆~g.yy_cF9pw0;86zWϽl^S<׼8y[ݝpapy |y1z0=V'zZK5?W6vhyv_sRyzzbRC6-}] Umܥ]\ua Eh&SL[Lǝ ,Y]<g B4+S]Uo./Hjm5tkQS)S)ljil'!@"eWLʋBdٍ69o{p/DNH3VY3(N : QP83*򋊹W@ *5Ħ2Z1ikB ֧UVp&Kūer.Wz\B!\\q^d<=Փg!rJE72q B4 X}Sߨ U\UJQf 7<2-LnHqekcp\i.n=ֲ'NhRfƆTiG %؟T\[9CӸNzaVDb.2*&" \'Ftkôth\|Փc̚\}WȒQ4H`¤"ͫy3ULBnLMʈKU.+bş c!c|daF<}y2K9(X=l^V}<t0۔守J[s]|?o9Y.|n9FgsUʹ"^W"4TR:g)!7ONFȴ)ed/zz\j8.Q?kH\%cͪr9^7&R1\a ӹ1״ÿzXG xxLL ɸm9q^3+4收[4x͇5xY]Ȩ~/N>4 c9ZnWA%qLx.F>2𾢚 M(;"p4˞C@ǐ0sxq<$N6Ws[!ŒfyF5F< pƳ&f&Er ihƚF7d\¯Tٵj:i eSNY[1Fr2sϚl5rfDZlŸ}|xƞS,䤮u)?/훿si#ll~>DicJ [rL磑!Q$.^=Aضȸ ( vTZH!K-""K1ɑq8;eG3͹[&8lޚǏ뭖H_tM`1d;iYekZر&{|@ãm͈C\mK)ѭqGr*FF*t\:96IjWs"ƒ~-1Ekd(Ι/shq-8%!) iʔ+ɕ h&sc"ҷ_#}l-h#OƷ! xY<(vLd T2q4 G,4(XKYֹ|Óv&VD-,zkbcG(gBR4fOfa|opRozi76'dy0K8rK LB}w59p )Od>k|ls4T9;ĺj%U7;hrk`{%B$Wcq"s9 >r/),&jUryW={ܮ4ңV2 a~})L?a4Wҿ!訨>*jUt![EEEEEN|TTAUkUwG5P|[jktUW^W+U*p*UM:\nꢢJ vU E[QGEMTWBWb"AQ\j-D5y7GWZ**|7"U ePWRPq݌؄ъ]T>AUr=W.AJjSZkRJtͳ]TR6)9U3weݾ+uV#NIQz&'I5Q*vMA͡95TBzn*0T?sB(#1U҉m#w!Fv٨=WC%qWlj~LAK݊';f?jSQfjc#r=ÕʩڳȪmDG*)!\*O܎EzU%1;+В zs;h #UNjڪBU`TAQQQZ 8**'vDЗB-\MD |H *%ލqaN5ꭦ(ZQRuBEUr TEU7{*(:[4V64(v?EoꪪU~*56U_ $;~ӝ4V b@ n*****|Cj\jQXT8^UW+Ɣ[!EEEnjU^檪W]Tb4~*0 dZ m.*PUjQ6| =V&vEҚQZAbV. wU&Un6H_i*'wMh[-rr1h MdB=;F'UHSvJ Vl%c`+D MvI*Dދ62FwNrFIQ7yݿr ?qfjQ7W *9nKE/MmUlKUU5H;Xj-O  B!FSJvꉄ"ZA#4 khG+UQrk1•DnKYP*Fs!2DTJ"QuUW":*P&%utwn\1 @ҶU]ժ\MDz.ې@@ ҪU\*UWQE?US??CQOXOaC=??џӷЍpGvo&?UqƞrV^iM>~ʉG4a #^,=4ɊU8}ɖ{+mY ֖]$ha©ګ%FpT*4"-wDX:VV*(L}#H@dzc,.iZ "q|W%YjWj5gi4KD UbUГ5R'{[?jY 7G4u]U0UbuUbR4vVFqXxWkET8QNtCOp-@9/Ot#6aT.}X*PSevS.'Wc3&ǪњE&TNȵpʑn > 4NQ1i ĺ?nAWdɓU%hxdpy&ۈ\ 5IbT@"ޫAEw.^Fv˥fGAATyMb)1k@ XuXW~1bpOn͇T V7drWp.bPrODpZΫw,V(Οzf<=%/jynS'el} `{3]̫€0+k˅7.QjYPsT*Evח 6Y2yvsBr]3"_b taZ1B7L(]=€E'"3M,\pֈ'Qnu`bAc!c魳8Ѩʑe'@uW>fYo82XTjm@l fmݪH!t_pR~9ՒMb碔=98(f3Zb"y^HM,+y1E:L[m淌Kv7X WFk淢 >JGjR -JCxaPP#nGo.31pz!(Ƨ.=!;[ %(ja (4@$ԅdX}gڌ,J:j1܅s歾7) [ݽ埒rjI|B1f<(t [Qs+2>AOoq6'QlQٍl\R&7Ne`J{XɘlyqrMD]Qp "nk76}[Xh-*9VQd:*U,Ոuzm0z}H2٩zU`OŠfZȕ3"k %\+[8Bڌ~p]=A4p2U)$EjfO'pC۬bu[]":܈ ܋_7 n6-&8b6˘[l!ڣEt#su@M/J'm |QJ[M'{Y\΢35U O Ar i^TF-pR7c G3d!n@m_w.sUWpD)_]F-@DNhAtQƪ's|,b9yVS(ټRK%9ݑ*Ts0)cP* ' [iOvf i{pT]'$/6On`fޠA#+N33иG9Jja퉈p.!S2qxb(D }`?L ŴyBWT;!]O;o}k<; 5Fm@JzgXs> ة~# wDWD((@~,3x|CmTG-@fK @"ֱ 6Q1p~ iS-^0 ^%ĵhrfYnnW8`>dA,`+0*g&MZ x\]m 4}txansZs/1'ohT'5}tM2ʎL rq;i5S?3eF˜ZMMFTz#F|ǽ@) qbŹ"4>38YK|@#{)m#]MjC*-;׆x.¦WqD's(Ц8ViOUac"^}J4+?NFlA6.+[=(#[;6]fQvf4U`lP]Fj4ANw2,&"i@}3dCkEO/+V(ޠ e2F9d(#R#(aܲ篖\8ǑP?s̍UOo4Y)q 689_{f08<G,˂{Cr%,<`ҼGN쩐!r ki!r->Mv8PiA8Tzk ,sĭp3)¦RnO ^|KZ lhid iؕ C"`(hj!3w*C^(?${\fќ}]6r(KO;Gwl3nsBQO?ب is B`PX̨G0z՝уOD&jtEBW^wCx%\8§y˳ eNu'0%TN41=JWyy'Ymx Pw׷ɖ\/nw^%AX,zQGH1;}P$4>{LB(m+qq5 +:\r*e;!>Ў]s3sA5~eʅN ݿ"z (̃ٮj5S>rvwDH^^ x^UXWo 5ẓݦ"r`߶eo\.:&e3_CXON 8z+61 V[PKj5X>-ma<4t!avm7opr_0N!BkℬVY0%V\0y~/:mW4_Ԫ"=\ipfc Τ%q]:f̅Un-9F4i+̹t6? GXkKR¾(ej:!fђF1w#2~/Z^':2hBu0=U70,ʡ> Jbo]ݎᐈ%1!&[{Zu`-YX_21V+`#J1BaMp>+L;VT8}JpH)r7f&aݷvp 87v1bK-t\,X,Gν7bXcd.fE[^2m,j-`yK˟HЀG*ʯP5?Lˏb -J%ۧ# fN7"{M;xvӨ=qp`az فl/CY@6߉ e%Z/j?7-]z`NaCn\Y:e~(^: V=ȺeO f KR~,Lt)?䢤 8^)2!kHCD|\j73 4~if緈vZ1M@Mڣ~!h mf65B^IW\}p o!>^:#OpDkC6/k4- ~RUb-p .aqrCDH}zd*?O[lvy's~'y_+;+2`+=R9D*(Ņs0Qy} `fdijKצ?m?Dznz?ߣ?ќu89m0=_?!}n\Tt]}7._ʡu*YM_L9}y̩R _%tC)D0z/ypr t%råO%5˗.\idkM'&9JJ^T%rL9ΠOC>03&km 3=:,rZr.G:Ø㋛'Z)Df2yVLMS6_sCjZƥyekaAYCe=1)aї0ĸAuUF(%2"F7IEg~!{JF_VĸJr[/$9&|MJ.|%!A/TSCSq &VT:Wз}Iit׬;Q?!Rԩ].1rKKsWѯ_K/#r˗/.\}+W+J4eu_}+ΡJ%jT:q JWҺ!ѽ*[o'0E%K"ǡ&>E}Q%! 2 .g\Y)-өh>,\"ȯj HTRBH X/^qYe^Ck1*\rh=9"R^_ %8]B,fxJ1+SGxMTEPuѦq97CFTIQ)T)CQvBV`k`QST4E('Mˮ#D[ZzұP;N3T1-x:K.b!s(; DY -L V aVLT,YƧZko(DI51X-@\7EN7Ri7 |Yh|w2RF"jrgHl?5cqdny˸&\@&_9Xaѩ4`L|̡%'j%FQE A[)u2T_ISlʟ\ bKyJ^q2=C$\XP Зpa,Sd^\/3*e])k|zr\ ;a)p<;eW}sOèt\KT P"*zh7K3[$XW2DTts5|d%+AbN˗-_jӺo: _4^>yY gwm$*C=,B@Za~5u2lO+G5 GB@S:6/{5tS1v+"qڬ(ϧ7Φgƨ 2pG_'wMe1ɝjWE#6.˓h$]B %}WpuYaPW-Vդ"ղ!ShϢnkj:"ѣA=?Oߗh+zak;ջvmu=㪜z_m?ǁ{s-Ř4ԷzdԩE0Z_bɼgx0{{#aψbɝLh~!yd״e:8*p 7@`Lnn1cߋyf:a܀<>c܋^b -~i,`  nrJ@aU-V]z5/cV8T˚=A rŀ Qۗڠ6g8 UX7p Ot<_rXsf.C !_w=״)rxcXS 8~& 6ma0c59qx Fb ԶDS;җAF3)P19ه*Zķ$ V507x*%+W%M@=tt+wP]ާ~5iv&%hlHyZ{;J!d˪ =q-K ͏Q@!:UyRįtܘRB顈(hsܭ|x%\UWJs`"@.݈U+ƠEXD;D (0z.^w̋%J%t1X}Т_ j#l. 7h jN{bs2qma"Pe5zEPltW tFhF{Atyx񨩻7a*D*Zg)rLol^^`,HX#hSdU"Ba7ddfVW@LGFS*"m3To]~s]AB-Dm;+̀Su`{;xHcWh"yw偫CS/󙭡vw @ kX?q ֹ*4v贇s|_zi45m¿ =]X)4ؔQUie㎋!*TD jF֎$\i.v1h7if8>:JxQJa,iJAk&|C/%[^'22 49wҡ9cƛ+▟,KxR\>D-C i}JH@*]2 +KRd✌w%xf롮>UIYInkr| pj En"7{?&]|?p] $[?"zf$rˍ5 %=r~c3AJ;[muL4xċP31"]bL 7x;Rù-lM#@wPǰ,n(dK H[M621`O /@Md h0yDxKN܁PTKF~#`揼)2MH~`~T{@ No0Tѐ ,'H-~5 -L| 0rzPv erEsMFbfO^JX!h.&ʢ&fd%@qO&-F (غaZqiԯ\ p^:|D:Kqjia#f`ݳ D5GX~W(t= tw02GtBM޻r, aPc0J#Jhl<l`M.VJ LY2Yxݥ}e1ݪ{ACuV2fSK:B:#q4r Pr2P@4s/߁-ұUj]_aWpe=D l֡hQAUl{{ľVw4f(>1@W`e(PX%Ձ~6-}+]Z9\)(^3s7\h?5.eOz`4ۇj-%uP4ѯۅ ,\53rhK i5m՜n\ >) 7jEe,-WNV,|j P>" qu (yӇ'151n^FCxNVY4ײ@XmVsqc2\bԕΚ(Ҁ= !UOܕ-3Z""n0Z58^/ٍ5G 6P}UoQ^̔{Ynx D%Ӂk䋶v`(GCP P*%YզAZǸ~nQcl y5:lvV{qca0F.R\*Pu)ZUZQLQheHT eaNejwrJkIDWn82}EEEΣqeӡkOdrLjd=(&)eGQ(뫶4VDbIWA,9^#@G* bdL&ڶ V{"Thbʡ@ErW^- u~+ZzQZpw2 ""Qh%0}"'$sabK3n:n5BT1Wp\~f&m%ADzѴes{]wEUDpP-e^թ(S9{z9QY5+r%e="p{JMd T aHQ Ue?051b)۸27G&Ch%B6<aCZwRSEyF5X! Kz Wg42f]r wE*6uEbe@1\B= )/9Ĥ0x6|\\sWeEI/`(֡Zp=8((RB!2&k|Kik @iZ+\V#Bˋӄyo4W1 FhQA#-ЇDvTlfu+ijM˰`{if72[fq9~#~ڊH(ET@RoB$6)V#rpigh (*T [K[rpOV֣cBȣ9t_v4:GvXOh\+Lk .,9ݣ* 48X$h+o%׫*DdǸS*NQB*;cAj.(=FTTW `Y`( 2TWZipU_0-TpWcQ +0c-Qfc#`nC4,K;2;׿\R4S-@z-2 "PbeǦqBk ~r&./9r< ߵ\ԂAZyY)p e_1" [w(;P RPZn-yVq CANBBԐQǙ{\{'aliQ$W+}6RNl/3 py("v05bT@`+e$$4 8!+b1eK]6,o-%tL(-WeQv)56Tjsy,/o0`ZdKdZBu.Uw-[buDM,l{%S%q'ŝ˕݈/ EGxA[iCm*l+pրXFFJG(TWK7Me"kܲ 77,ٜKVtpB(+.h&445vh5q]L^=ʱ+ؿU7 p3z%0PXqHЕ-.,z"'|º4{CGG+5q3cSys.Zx^.PU]vŢk-@`(&%0+n!2 .mN_6ělƅ49bQE9KpÀE}P'M`Emt?l#8~A7O}O>?sg}|plO6c:p!qx?aBfP*Jc_TUPCw3eeeaeŏJۤE^Q!~1ܡQ!cPin5.\rMyD: =0=.!^GH2X=5-K.\r䗀@Ibr5 qlzbn1Q1qD=K?pOܱq5И- pEj[9P-4,$Ħj_-vy^pe/5pdFI)Y5ܽ ~UYG7\2j Q2^ 1YQm+USJhf Չ ψQ~`6(ıL0ֈ!M: *$ \hOKtbqn(6{,h`%(y>&%˱3,8waCP06/J1 wk11E$m@Yk,SSdTA)X\]"*Q*Q[*a0J^WQCцi??T% -D#x+J*T(Ɩ$`֠@:\ a. ǥZ6eăebtR"JK\XR Jq.f ʕ*TRJc#Gt+b *$a.QPiu/TbJ*TRt *6YQ J\}.\BD+ mt=!{eRJ*TRCQQU$wb !c&|EO T$9x)_J*WQ QRJZ"BAU.>a*daNVrڄǘ1\"cuA-Fb%A*!EPGMJ-Ay.TԦVF U2s[^_E˗`e0%wQvѹxuY3)"ѥp> EN%KdhqÌUSxm))@.p0*b9)UmI60Rrtl$Әz*餚@,ڨaq?trekkJ'6tOsgMCE5)a 4Kewa"PR'(Q&4_+Y,,Citt#!/5br I;Y/]­|@t^jXEZK\gPl*U*v\*bΜ~b9e>rI^T%#}&Zz^qĠ HޢB_@aP oS0os!ȿpzDjZ੅♖rJq\9 W1ԷUVrB2B凉T݋<Ǣv_Υ+ٙW?MHPZ)CRh0}CK1-vv.fTqficN+ r'FT"Ր  | 2 KzBe!%L@ PZx?s-ZYJrEb'00 LļQssk?+UKg Jr@~ȩj Pb2_K7WQԢTj|@ߴ_ڵ 5Ĕ(P Yp奍q-3):TK3 \;\V[Xj|K+ w6ij?AGObplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver" &,-345QRSTUVWXYZ[\]^_`abcdefgklU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1!  '()$+WNS.base[NS.relative_6http://media.economist.com/images/20090530/2209US3.jpg./01X$classesZ$classname12UNSURLXNSObject#Ay6tr 6789EWNS.keysZNS.objects:;<=>?@ABCD FGHIJKLMNOP]Last-Modified]Cache-ControlWExpiresSAgeVServer\Content-TypeTX-PxTDateTEtagZConnection^Content-Length_Thu, 28 May 2009 09:21:22 GMT]max-age=14400_Tue, 10 May 2011 23:01:42 GMTT8736[PWS/1.7.2.1Zimage/jpeg_>ms iad-agg-n28 ( iad-agg-n35), ht-d iad-agg-n35.panthercdn.com_Tue, 10 May 2011 21:27:18 GMT_"b2adb4aa75dfc91:3400"Zkeep-aliveU19522./hiij2_NSMutableDictionary\NSDictionaryLB./mnno2_NSHTTPURLResponse]NSURLResponse)27:PRd  INWbekt} %*5Ddr(39>BXehmqp o_Ihttp://media.economist.com/sites/default/files/images/20090530/CUS511.gifO GIF89aXcdfʨ!sޝd֬pqt|~UVX$Xku# GGI657\sxRhsatfu~rĤItnbzhw?gxPn|[Rm!,XpH,Ȥrl:ШtJZVzxL.znp~t\~ct_[luY|f~p wa΍a^bv_`:__  ^]GM@.ݾׅa|GQQ@+X :*|A5x2 N2Бf<zWm9jNBX&` @Vm~YB *8qႀ]#ectw`ToV&,}<|AV{h^/x=n`:MI=E2Lr9c_V_ q04s'Hs/2cցߨCF8upswvOp 7Ut4X -`Hi}B @y#>D4@Ǚ WAz# L4F=~ɗ@'@@_d=!V̅.( 2֘ 6( : > B (Y$JrA)#e`^cTuFD҈40S 9FD_B@q`)NmtVz2}K g!pF,@HI lYR B P&]-W4@kC @a!f ީ^Lj $:<z1WdP*gqCۅpid^%<x<h.T@ { (+3^@NaDۗ`@6؛,_UXuAz5dξ"HEDSӚE̩>ЫѧZ~2 N;=>u-.SySew{1R: 3{c3UB|Qge.v$V7󉮒+}8^ZhU ~8x]*m?6ג0,T3 :kL>Dk[Cv6 OP5^4sCd7Urod!S~/wu>iA q_AEP[d' ol bVZ "fE5fMԺh ^k٘@BE bhQQ9i@zͰys\j4VO]h%yb Zန:;M8[G>qx>,UH;##IIǂ0jG=L^|C߆j= a0K{R:})I@N I1sU|yCL}Bx0i?QK B0^LenZЩoP>7ND@y^l!C\f, n5攪*PvC p -8D NJB|c aC0c`H`v=Dg ЎViZzmecˋ桶Xm!Z-K-i ށp K–"ֵv]?pw=.E>|ہo  }S`\R8H;'L [.pBې!AP@0GL('2!lhc<88αw<{f䍇Y" /Dq=t|1ED@0g8r󞫀=yRddK(z'1婢&VÌXV M#V>6@ jSXm=dn25 S؅  ~]qW77Ay]G}op/LeBO?sԺ <75ot%OziHzxaZXz0SֲNcS,U{)22%L!+PVn]Cv~{m8nmh!G#%X]K7  'DGpnwwЁy@v`vx g[5]`m mqq w@rA2WsL.sP?t%H(k gwXȃ:I",5&K]foǖ)o^vllnpl6u kcmЇF41P=0|'/HKflbZL5s k7lFzfc8ltyr"izpReWBzeT6jPh zqv4w¸cĘIx?N02Vz@՘c׈؃|U!Rxgc`bh胍 ibY n76Ynn5Y@BDFhqpEqk0oPopq,468e}Гmmo(2FHJɇL `pCZ ֕jphքa)df#3z)u $}bcq02uw PkGo^W'rWbkV: :d'X Awo)y`SP b? SV2)FAy*$bypy 5jtt!AX'9qϩv [P^̲1y$\ľ 9nym.q4l6| 'lg˷P 0fVǔ{+Xekepy+|~\j8Ө|>K~!eyrLdA0V ճ830nqy#ChGF}kq?ĺkeK;rs#& A%aʧ\,K&'sv zA\ ]t,`*i%3/Rj%\!<(0=?&0Ǵd3~SȄNxK(0|^Z,\ ,@5Ml3];}9:ѳc0eP#QܲEGM҉jLni݆X dm~pbL/1}%@](2& c-x{q8tc3 c&ҜDԽ3A@e#-c*?s+2>~d]CD|CM 3:2J'}& h-/3@8 UT-́ L-{<:"ݖ5mgi}XEcAu ۫⋨@Z2Uz'~ z341Z& wOCB˾_EݺJ}I6Оq-= n},A*s,r.r}D=:}_LkN4RT L\[>;438mF] f'n\m0 dKƽ)b.d'~fbhNJle/?eb'AC0}\ȰPNs%`F )ѩ慊n͎n0>4 졊473Muz(P՚ikN`%pZ/ȣr>t.c: >jȆo[˫zBtVb3B얛\>c>^U__0 L-NMPٟ*@^An=EOV9T-INK>SނT oFuHjp2,  Ox%ΖCs^WO9niAϢC_AF%FKM?B/FRYkCmζ^L/N(_9sl&g߿gUoWY_ P0.;x*Lδw.4h޺6@Z}Syo>AqjJ I- d%2e0E/MRѝ/>MJ/`Ob_q 5o?^--H%h]DY//NXy ?:X4I)4$Z-ZY] ^a.'6Ěv ֕\l&(p q2"(MOG G'W-0.:t@u0DWJQMUW[)_Gcf xuywIG#)uD!:w." x/{붐pE*g\Z턈z$[6"x@G!RN~YQȐ7JEt4JE&6EBج&R'%TLlF Hg Q|.I@LutL*diSO기Sի :ں+P*I`i9"SPAw O=N.aTNЀqDPഐEgB.k:h& ܛa_<9S9_t%ԫ;R|y9tq$jvW]G?>Ko8` 2?JTf@m;X0y0?eAa,tÛ4,?%@FԪDg8#qQyуc@OQ9P `όp|!mC%` 'ŀ)uHRRKdgHrb4g&J.7K3BL"\n w j|O-cP1 !< +CR:>ԁNԋPu;P@.2r>OM\3tՂ/X(6J@M:KY>Qtaiͨ6kU2.elIŤp9]hM]1ܵ(%s*+OcM5*M.e-u[؋x5R9%ʶ]>dL(Tn#aNZ饙nzA"Z뭍,;4.쳣$9"$лNHOL? ( \zv< _WuCcDNgD](7"@|2]P@\,iD9+-^O`D,lHod\q~1q;2p/ȶ~gնCMW&ZL߂ds>0,qb &5b}Z .%`: ՠO I.`PV2$\\  8L-6D`?<5*iFd-@^ W Pe <,"`NŴ47ӂh-K\6m 졎^b&F6HY"Ty<'rXjR߱,CJO ۝?`GkP*>0 P>#ybFr+ $`YF=%;|&IiSɄ.lM9sMCj+ M|?REQ8dq14:$i"I$)Ӛl),69Kʼט1搩O~2EH/*-&+JWʀS+/0+m%'rBMkmG'nrPv؋lETY;-ɩ7(eDE5#\ sVEsF40*>ʄUv  ^lN- ͖<-l2%&ADr2gBfBbjq&< }t:q4@}PQrp]gݒLdLLLRЧ'?n 5HbaN2<߁55.73ќuX#hb0^,-}r6EE= zW#(9hLz$@HAE-tlC$.4/bsVBy#.=~9rIߢbpJ{4SDfr[o-6ޭѭ0v`zگu{ζ(e[{62̝uw}x7<݃;Obplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver" &,-345QRSTUVWXYZ[\]^_`abcdefgklU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1!  '()$+WNS.base[NS.relative_5http://media.economist.com/images/20090530/CUS511.gif./01X$classesZ$classname12UNSURLXNSObject#Ay7 6789EWNS.keysZNS.objects:;<=>?@ABCD FGHIJKLMNOP]Last-Modified]Cache-ControlWExpiresSAgeVServer\Content-TypeTX-PxTDateTEtagZConnection^Content-Length_Thu, 28 May 2009 10:34:56 GMT]max-age=14400_Wed, 11 May 2011 01:27:19 GMTQ0[PWS/1.7.2.1Yimage/gif_?ms iad-agg-n28 ( iad-agg-n27), rf-ht iad-agg-n27 ( origin>CONN)_Tue, 10 May 2011 21:27:19 GMT_"3a4eccf17fdfc91:3400"Zkeep-aliveT8203./hiij2_NSMutableDictionary\NSDictionary ./mnno2_NSHTTPURLResponse]NSURLResponse)27:PRd  HMVadjs|~ $)4Ccq $/49=S`chlp _4http://www.apture.com/js/apture.js?siteToken=EOi4ZeKO (function(){ var B=window.apture,A=window.apture=B||{}; if(!A.isApp){ A.prefs={};A.referer="http://www.economist.com/node/13745782/print?story_id=13745782";A.visitId=256102550241068;A.abtests={};A.userCookieId=null; A.aptureConfig = { magicLinks: {"status":207,"mlinks":[]} }; A.siteToken="EOi4ZeK"; A.capabilities=21764; A.getPage=function(){return apture.make("Page", {tmmLinks:[],id:0});}; A.siteId=208644; A.maxPageLinks=200; A.platformName="Unknown"; A.platformId=11; A.barTitle="http://www.economist.com/"; A.scrollOffset=200; A.barColor="#fe0000"; A.barTitleColor="#ffffff"; A.logoFilename="http://apture.s3.amazonaws.com/0000012c56c6d1f07269ff18007f000000000001.logo_officina.png"; A.siteSearchUrls=["http://www.economist.com/"]; A.shadowColor="#000000"; A.twitterHandle="TheEconomist"; A.baked=1; A.auto=1; A.isApp=1; //License terms: http://www.apture.com/license/ if(!B){ (function(s){var b=eval("(/*@cc_on!@*/0?(window.XMLHttpRequest/*@cc_on&&@_jscript_version>=5.7@*/?'ie7':null):(window.navigator.userAgent.toLowerCase().search(/iphone|ipad|android/)>-1)?null:(document.childNodes&&!document.all&&!navigator.taintEnabled)?'khtml':(document.getBoxObjectFor||(window.mozInnerScreenX===0||window.mozInnerScreenX))?'gecko':'unk')");if(b){s.type='text/javascript';s.charset='utf-8';s.src="http://cdn.apture.com/media/storage."+b+".v30919596.js";s.defer='true';(document.getElementsByTagName("head").item(0)||document.body).appendChild(s)}})(document.createElement('script')) } else if(A.initApp)A.initApp(); }else{var i = A.prefs; if(i&&(i.created||i.editing))alert("This page has multiple Apture script tags in the HTML template. Please remove all but one of them.") }})(); Oubplist00 X$versionT$topY$archiverX$objects_WebResourceResponse_NSKeyedArchiver &,-345MNOPQRSTUVWXYZW[\W]abU$null  !"#$%V$classR$3R$8S$10S$11R$5R$6R$4R$7R$2R$9R$0R$1 '()$+WNS.base[NS.relative_4http://www.apture.com/js/apture.js?siteToken=EOi4ZeK./01X$classesZ$classname12UNSURLXNSObject#Ay5;T 6789CWNS.keysZNS.objects:;<=>?@AB DEFGHIJKLSP3pWExpires]Cache-Control\Content-Type^Content-LengthTDateTEtagZSet-Cookie]Last-Modified_MCP="NON CURa ADMa DEVa TAIa PSAa PSDa IVAa IVDa HISa OUR LEG UNI COM NAV INT"_Tue, 10 May 2011 21:27:17 GMTYmax-age=0_text/javascriptT1714_""0db56519128e802b600a9acc8cf547d4"_PAC=1XCi9jKjZk; Domain=.apture.com; expires=Sun, 17-Jan-2037 19:14:07 GMT; Path=/./^__`2_NSMutableDictionary\NSDictionary./cdde2_NSHTTPURLResponse]NSURLResponse)27:PRd  CHQ\_enwy &v/48N[^cg{f 3_#http://edge.quantserve.com/quant.jsOif(!__qc){var __qc={qcdst:function(){if(__qc.qctzoff(0)!=__qc.qctzoff(6))return 1;return 0;},qctzoff:function(m){var d1=new Date(2000,m,1,0,0,0,0);var t=d1.toGMTString();var d3=new Date(t.substring(0,t.lastIndexOf(" ")-1));return d1-d3;},qceuc:function(s){if(typeof(encodeURIComponent)=='function'){return encodeURIComponent(s);} else{return escape(s);}},qcrnd:function(){return Math.round(Math.random()*2147483647);},qcgc:function(n){var v='';var c=document.cookie;if(!c)return v;var i=c.indexOf(n+"=");var len=i+n.length+1;if(i>-1){var end=c.indexOf(";",len);if(end<0)end=c.length;v=c.substring(len,end);} return v;},qcdomain:function(){var d=document.domain;if(d.substring(0,4)=="www.")d=d.substring(4,d.length);var a=d.split(".");var len=a.length;if(len<3)return d;var e=a[len-1];if(e.length<3)return d;d=a[len-2]+"."+a[len-1];return d;},qhash2:function(h,s){for(var i=0;i0){s+=";fpan=0;fpa="+a;} else{var da=new Date();a='P0-'+__qc.qcrnd()+'-'+da.getTime();u.cookie="__qca="+a+"; expires=Sun, 18 Jan 2038 00:00:00 GMT; path=/; domain="+d;a=__qc.qcgc("__qca");if(a.length>0){s+=";fpan=1;fpa="+a;} else{s+=";fpan=u;fpa=";}} return s;},qcdc:function(n){document.cookie=n+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/; domain="+__qc.qcdomain();},qpxload:function(img){if(img&&typeof(img.width)=="number"&&img.width==3){__qc.qcdc("__qca");}},qcp:function(p,myqo){var s='',a=null;var media='webpage',event='load';if(myqo!=null){for(var k in myqo){if(typeof(k)!='string'){continue;} if(typeof(myqo[k])!='string'){continue;} if(k=='qacct'){a=myqo[k];continue;} s+=';'+k+p+'='+__qc.qceuc(myqo[k]);if(k=='media'){media=myqo[k];} if(k=='event'){event=myqo[k];}}} if(typeof a!="string"){if((typeof _qacct=="undefined")||(_qacct.length==0))return'';a=_qacct;} if(media=='webpage'&&event=='load'){for(var i=0;i<__qc.qpixelsent.length;i++){if(__qc.qpixelsent[i]==a)return'';} __qc.qpixelsent.push(a);} if(media=='ad'){__qc.qad=1;} s=';a'+p+'='+a+s;return s;},qcesc:function(s){return s.replace(/\./g,'%2E').replace(/,/g,'%2C');},qcd:function(o){return(typeof(o)!="undefined"&&o!=null);},qcogl:function(){var m=document.getElementsByTagName('meta');var o='';for(var i=0;i=1000)return o;if(__qc.qcd(m[i])&&__qc.qcd(m[i].attributes)&&__qc.qcd(m[i].attributes.property)&&__qc.qcd(m[i].attributes.property.value)&&__qc.qcd(m[i].content)){var p=m[i].attributes.property.value;var c=m[i].content;if(p.length>3&&p.substring(0,3)=='og:'){if(o.length>0)o+=',';var l=(c.length>80)?80:c.length;o+=__qc.qcesc(p.substring(3,p.length))+'.'+__qc.qcesc(c.substring(0,l));}}} return __qc.qceuc(o);},firepixel:function(qoptions){var e=(typeof(encodeURIComponent)=='function')?"n":"s";var r=__qc.qcrnd();var sr='',qo='',qm='',url='',ref='',je='u',ns='1';var qocount=0;__qc.qad=0;if(typeof __qc.qpixelsent=="undefined"){__qc.qpixelsent=new Array();} if(typeof qoptions!="undefined"&&qoptions!=null){__qc.qopts=qoptions;for(var k in __qc.qopts){if(typeof(__qc.qopts[k])=='string'){qo=__qc.qcp("",__qc.qopts);break;}else if(typeof(__qc.qopts[k])=='object'&&__qc.qopts[k]!=null){++qocount;qo+=__qc.qcp("."+qocount,__qc.qopts[k]);}}}else if(typeof _qacct=="string"){qo=__qc.qcp("",null);} if(qo.length==0)return;var ce=(navigator.cookieEnabled)?"1":"0";if(typeof navigator.javaEnabled!='undefined')je=(navigator.javaEnabled())?"1":"0";if(typeof _qmeta!="undefined"&&_qmeta!=null){qm=';m='+__qc.qceuc(_qmeta);_qmeta=null;} if(self.screen){sr=screen.width+"x"+screen.height+"x"+screen.colorDepth;} var d=new Date();var dst=__qc.qcdst();var qs='http';if(window.location.protocol=='https:'){qs+='s';} qs+="://pixel.quantserve.com";var fp=__qc.qcsc();if(window.location&&window.location.href)url=__qc.qceuc(window.location.href);if(window.document&&window.document.referrer)ref=__qc.qceuc(window.document.referrer);if(self==top)ns='0';var ogl=__qc.qcogl();var img=new Image();img.alt="";img.src=qs+'/pixel'+';r='+r+fp+';ns='+ns+';url='+url+';ref='+ref+';ce='+ce+';je='+je+';sr='+sr+';enc='+e+';ogl='+ogl+';dst='+dst+';et='+d.getTime()+';tzo='+d.getTimezoneOffset()+qo+qm;img.onload=function(){__qc.qpxload(img);}},quantserve:function(){if(typeof _qevents=='undefined'){_qevents=[];} if(typeof _qoptions!="undefined"&&_qoptions!=null){__qc.firepixel(_qoptions);_qoptions=null;}else if(!_qevents.length&&typeof _qacct!="undefined"){__qc.firepixel(null);} if(!__qc.evts){for(var k in _qevents){__qc.firepixel(_qevents[k]);} _qevents={push:function(){var a=arguments;for(var i=0;i?@ABCDEF HIJKLMNOPQRST !"TVary]Cache-Control_Content-Encoding\Content-TypeVServer^Content-LengthTDateTEtagZConnectionSP3pWExpiresZSet-Cookie]Last-Modified_Accept-Encoding_%private, no-transform, max-age=604800Tgzip_application/x-javascriptRQST2157_Tue, 10 May 2011 21:27:17 GMT[M0-a0f50c61Uclose_BCP="NOI DSP COR NID CURa ADMa DEVa PSAo PSDo OUR SAMa IND COM NAV"_Tue, 17 May 2011 21:27:17 GMT_dmc=4dc9adb5-7e202-77bcc-27e24; expires=Tue, 10-May-2016 21:27:17 GMT; path=/; domain=.quantserve.com_Tue, 10-May-2011 21:27:17 GMT./pqqr2_NSMutableDictionary\NSDictionary./uvvw2_NSHTTPURLResponse]NSURLResponse)27:PRd:?HSV\enpw%*/:>FQ_q8X +x9 _.http://js.revsci.net/gateway/gw.js?csid=J08782OK//Vermont 12.4.0-1203 (2011-04-19 22:06:07 UTC) var rsi_now= new Date(); var rsi_csid= 'J08782';if(typeof(csids)=="undefined"){var csids=[rsi_csid];}else{csids.push(rsi_csid);};function rsiClient(Da){this._rsiaa=Da;this._rsiba=1;this._rsica=1;this._rsida=0;this._rsiea=0;this._rsifa=0;this._rsiga="1003161";this._rsiha="pix04.revsci.net";this._rsiia="js";this._rsija="b";this._rsika="3";this._rsila=3;this._rsima=1;this._rsina=new Array();this._rsioa=0;this._rsipa=null;this._rsiqa=null;this._rsira=null;this._rsisa=null;this._rsita=null;this._rsiua=null;this._rsiva=0;this.DM_cat=function(Ea){this._rsipa=Ea;};this.DM_name=function(Fa){this._rsiqa=Fa;};this.DM_keywords=function(st){this._rsira=st;};this.DM_event=function(Ga){this._rsisa=Ga;};this.DM_addToLoc=function(n,v){this._rsita=_rsiwa(this._rsita,n,v);};this.DM_addEncToLoc=function(n,v){this.DM_addToLoc(_rsixa(n),_rsixa(v));};this.DM_setLoc=function(u){this._rsita=u;};this.rsi_c=function(Da){this._rsiaa=Da;};this.rsi_ral=function(Ha){this._rsiba=Ha;};this.rsi_riu=function(Ia){this._rsica=Ia;};this.rsi_tiu=function(Ja){this._rsida=Ja;};this.rsi_m=function(Ka){this._rsiea=Ka;};this.rsi_dw=function(La){this._rsifa=La;};this.rsi_s=function(Ma){this._rsiha=Ma;};this.rsi_t=function(Na){this._rsiia=Na;};this.rsi_en=function(Oa){this._rsija=Oa;};this.rsi_cn=function(Pa){this._rsika=Pa;};this.rsi_us=function(Qa){this._rsila=Qa;};this.rsi_ra=function(ra){this._rsima=ra;};this.DM_tag=function(){var Ra;if(this._rsioa==0||this._rsiea==1){if(typeof(DM_prepClient)=="function"){DM_prepClient(this._rsiaa,this);}var Sa=this._rsiya();if(this._rsiia=="gif"){Ra=new Image(2,3);Ra.src=Sa;this._rsina[this._rsina.length]=Ra;}else if(this._rsiia=="js"){if(this._rsifa==1){document.write(" clear pixel

This is a printer friendly version of the page. Go back to the website version »

Cities and their deficits

Staring into the abyss

Lay off 4,000 workers, or let the mayor cut the grass?

Getty Images

CHICAGO’S skyline may be glorious (see above), but the city’s big shoulders are slumped. In November the city passed a budget to close a $469m shortfall. But in the first four months of 2009 a gap opened again, of $96m. By the end of the year, the city expects it to be about $300m.

A recent report by the Philadelphia Research Initiative, an arm of the Pew Charitable Trust, looks at how 13 cities are dealing with budget problems. All but one have deficits, thanks to the fall in property taxes, the dramatic drop in consumer spending, high unemployment and the subsequent decrease in income tax revenues. Budgeting, usually a headache endured annually, has become a chronic migraine for many city governments. Even pessimistic revenue projections have had to be revised.

Most cities are cutting services. Hiring freezes are the norm. Employee-related costs—payroll, pensions and health benefits—make up the largest part of any city budget, generally 60-75% (and more than 80% of Chicago’s). Richard Daley, Chicago’s mayor, recently proposed that the city’s 3,600 non-unionised workers should take 16 days of unpaid holiday by December 31st. New York City is preparing to cut 3,800 municipal jobs. Atlanta, meanwhile, is imposing a 36-hour work week for almost all its city workers, including the police. This has saved “the Big Peach” $11.5m.

In Chicago Mr Daley wants unionised employees, who comprise 90% of all city workers, to make concessions as well. The unions, unsurprisingly, are refusing to budge. They want a guarantee that if they comply with Mr Daley’s demands now, they will not face layoffs as Chicago’s revenues continue their downward slide. Antonio Villaraigosa, Los Angeles’s mayor, is seeking 1,200 city worker layoffs and 26 furlough days to close his $529m deficit. Up to 2,800 could be fired unless the unions make concessions. Boston has had better luck with its unions, who have recently given up pay rises or deferred them.

Union concessions are also needed to reduce pension and health costs. These will be even trickier to negotiate. Underfunded pension plans are a growing worry for many cities. Philadelphia wants new recruits to contribute more to their pensions. Kansas City hopes to reduce health costs though increased employee contributions.

The Pew report also looked at how cities are generating revenue. Many of them, like Boston, do not have the authority to raise taxes and must rely on state funding. New York City requires state approval to levy sales taxes, while a public vote is needed in Columbus, Ohio. Even where cities have some flexibility, argues Michael Pagano of the University of Illinois at Chicago, they cannot tap important engines of growth, hospitals and universities, because these are tax-exempt. Chris Briem, an economist at the University of Pittsburgh, thinks a commuter tax would help offset costs. As he points out (and as many mayors have long argued), suburban commuters still use the city police and drive on city streets.

Fees may be an easier option. New York’s mayor, Michael Bloomberg, wants to impose a five-cent fee on plastic bags. Seattle has raised fees for rubbish collection. Several cities are considering leasing municipal assets. Chicago has raised $3.5 billion since 2005 by leasing a tollway, garages and parking meters. Credit for such deals, however, is drying up.

All in all, the future looks grim. Even if the economy recovers tomorrow, there is generally an 18-24-month lag before cities feel it. Many will be in worse shape in 2010 and 2011, according to the National League of Cities, a lobby group. But most are plugging present holes with little thought for the morrow.

The one bright spot in the Pew report, surprisingly, is Pittsburgh. The city and its region, once synonymous with steel, lost 120,000 manufacturing jobs in the 1980s. But over three decades it diversified. Now its main industries, health care and education, are thriving. The waterfront, once lined with factories, has been transformed into parks. Bethlehem Steel’s former home is now the site for a casino resort. Pittsburgh narrowly avoided bankruptcy in 2003, and was forced into state receivership. But it actually has a surplus now.

Pittsburgh is in relatively good shape because it largely missed the housing and dotcom booms enjoyed by the rest of the county. Indeed, it is currently building a new sports arena and a new hospital. Because of its 2003 brush with bankruptcy, it cut its city workforce by a quarter, implemented a salary freeze and made many hard decisions, such as closing fire stations. The other cities in Pew’s report could learn a few lessons from Pittsburgh.

When all else fails, there is still civic pride to fall back on. Some cities are appealing to their citizens—to help at a youth centre, for example, when its budget has been cut. The mayor of Toledo, Ohio, is going one step further. He is personally mowing a city park’s grass.

Latest blog posts - All times are GMT
Why buy Skype?
From Schumpeter - 33 mins ago
The ecstasy of influence
From Prospero - 2 hours 46 mins ago
A golden fleece?
From Babbage - 3 hours 36 mins ago
Useless men
From Free exchange - 3 hours 53 mins ago
More from our blogs »
Products & events
Stay informed today and every day

Subscribe to The Economist's free e-mail newsletters and alerts.


Subscribe to The Economist's latest article postings on Twitter


See a selection of The Economist's articles, events, topical videos and debates on Facebook.

Feedback
Click here to
rate this page
+=O\avAJO`v  DDDDDD]=-_pЮԣG\wٴjCnno6b34I& "7]2333'383I3^3s333NNNNNNNOUU-Uke_jjjk&s0sEshuv,v=v y ~ ~ ~ J 1  p   X  1 B |  A :CT%B))*,5u::*:ZEzJJ/JV[M[^[afQfbfo5sst<~EVhZm~w^H]r 06(%± ?PUARب9  ~]Iaab=L&Uf!nTeǴX]n]]ej-j>jKjpr1rFrrc