(function(){if(window.SWFObject){return }var A={util:{},SWFObjectUtil:{}};A.SWFObject=function(F,D,L,G,I,K,M,H,B,E){if(!document.getElementById){return }this.DETECT_KEY=E?E:"detectflash";this.skipDetect=A.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];if(F){this.setAttribute("swf",F)}if(D){this.setAttribute("id",D)}if(L){this.setAttribute("width",L)}if(G){this.setAttribute("height",G)}if(I){this.setAttribute("version",new A.PlayerVersion(I.toString().split(".")))}this.installedVer=A.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){if(!A.unloadSet){A.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",A.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",A.SWFObjectUtil.prepUnload);A.unloadSet=true}}if(K){this.addParam("bgcolor",K)}var C=M?M:"high";this.addParam("quality",C);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var J=(H)?H:window.location;this.setAttribute("xiRedirectUrl",J);this.setAttribute("redirectUrl","");if(B){this.setAttribute("redirectUrl",B)}};A.SWFObject.prototype={useExpressInstall:function(B){this.xiSWFPath=!B?"expressinstall.swf":B;this.setAttribute("useExpressInstall",true)},setAttribute:function(B,C){this.attributes[B]=C},getAttribute:function(B){return this.attributes[B]||""},addParam:function(B,C){this.params[B]=C},getParams:function(){return this.params},addVariable:function(B,C){this.variables[B]=C},getVariable:function(B){return this.variables[B]||""},getVariables:function(){return this.variables},getVariablePairs:function(){var B=[];var C;var D=this.getVariables();for(C in D){B[B.length]=C+"="+D[C]}return B},getSWFHTML:function(){var E="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}E='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+(this.getAttribute("style")||"")+'"';E+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var D=this.getParams();for(var B in D){E+=[B]+'="'+D[B]+'" '}var C=this.getVariablePairs().join("&");if(C.length>0){E+='flashvars="'+C+'"'}E+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}E='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+(this.getAttribute("style")||"")+'">';E+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var D=this.getParams();for(var B in D){E+='<param name="'+B+'" value="'+D[B]+'" />'}var C=this.getVariablePairs().join("&");if(C.length>0){E+='<param name="flashvars" value="'+C+'" />'}E+="</object>"}return E},write:function(B){if(this.getAttribute("useExpressInstall")){var C=new A.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(C)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var D=(typeof B=="string")?document.getElementById(B):B;D.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};A.SWFObjectUtil.getPlayerVersion=function(){var D=new A.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var B=navigator.plugins["Shockwave Flash"];if(B&&B.description){D=new A.PlayerVersion(B.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var E=1;var C=3;while(E){try{C++;E=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+C);D=new A.PlayerVersion([C,0,0])}catch(F){E=null}}}else{try{var E=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(F){try{var E=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");D=new A.PlayerVersion([6,0,21]);E.AllowScriptAccess="always"}catch(F){if(D.major==6){return D}}try{E=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(F){}}if(E!=null){D=new A.PlayerVersion(E.GetVariable("$version").split(" ")[1].split(","))}}}return D};A.PlayerVersion=function(B){this.major=B[0]!=null?parseInt(B[0]):0;this.minor=B[1]!=null?parseInt(B[1]):0;this.rev=B[2]!=null?parseInt(B[2]):0};A.PlayerVersion.prototype.versionIsValid=function(B){if(this.major<B.major){return false}if(this.major>B.major){return true}if(this.minor<B.minor){return false}if(this.minor>B.minor){return true}if(this.rev<B.rev){return false}return true};A.util={getRequestParameter:function(E){var D=document.location.search||document.location.hash;if(E==null){return D}if(D){var C=D.substring(1).split("&");for(var B=0;B<C.length;B++){if(C[B].substring(0,C[B].indexOf("="))==E){return C[B].substring((C[B].indexOf("=")+1))}}}return""}};A.SWFObjectUtil.cleanupSWFs=function(){var D=document.getElementsByTagName("OBJECT");for(var C=D.length-1;C>=0;C--){D[C].style.display="none";for(var B in D[C]){if(typeof D[C][B]=="function"){D[C][B]=function(){}}}}};if(!document.getElementById&&document.all){document.getElementById=function(B){return document.all[B]}}window.getQueryParamValue=A.util.getRequestParameter;window.FlashObject=A.SWFObject;window.SWFObject=A.SWFObject})();(function(){if(window.OMPlayer){return }var H=15,G={},M=[],R=null,N=true,B=false,P=0;var J={PREMIUM_SHORT:"02",PREMIUM_LONG:"03",PRE_ROLL:"09",POST_ROLL:"10",MID_ROLL:"11"};function I(X){var C=X.length,Z=X[0];if(Z&&Z.id!=X[C-1].id){var Y=0;while(C--){if(X[C].id==Z.id){Y=C;break}}if((Y+1)<X.length){return X[Y+1]}}}function V(X){var C=null;switch(X){case"100x35":return"logo";case"728x90":return"leaderboard";case"300x250":return"island";case"300x251":return"island2"}return"invalid"}function L(C){var Y=C.nextClip||I(C.playlist.clips);if(Y){var X=new Date();X.setTime(X.getTime()+15000);setCookie("next_media_id",Y.id,X,"/",Global.DOMAIN_NAME);window.location.href=Y.url}}function S(C){var X=C||{},Y={};X.c1=1;X.c2="7258911";X.c3="own";if(window.OAS_AD){if(OAS_AD.Metas.sectionname=="rosie"||OAS_AD.Metas.sectionname=="lifeclass"){X.c6=OAS_AD.Metas.sectionname}else{if(OAS_AD.Metas.contentsource=="own"){X.c6="own"}}}$R(1,14).each(function(Z){if(X["c"+Z]){Y["c"+Z]=X["c"+Z]}});if(getCookie("JAVASCRIPT_DEBUG")){console.log(Object.toQueryString(Y))}if(window.COMSCORE){COMSCORE.beacon(Y)}}function Q(X){var C=X.chapters?X.chapters.length:0;if(C){if(X.chapters[C-1].title=="postroll"){C--}S({c5:J.PREMIUM_LONG,c10:X.currentChapter+"-"+(C+1)});X.currentChapter++}else{S({c5:J.PREMIUM_SHORT})}}function U(C){var X=getCookie("next_media_id");deleteCookie("next_media_id");return(C.id==X)}function T(X,a){var b=a.playingTime,Y=X.type,C=window.AD_OBJECT||{},c=C.preview?"test":"",Z;if(Y!="audio"){Y="video"}if(b>=60){Z=Math.round(Math.random())?"30":"15"}else{if(b>=30){Z="15"}}return Z?(Y+Z+c):null}function K(d){var g=G[d.id],C=g.options,f=document.getElementById(d.id),Y=g.playlist.clips||[],a=d.status,b,Z;function h(j){var i,k=j=="endslate";if(j){i=MEDIA_AD(j,b.keywords);f.sendEvent("playad",{tag:i,companionSizes:["300x250","728x90","100x35"]})}}function X(){f.sendEvent("stop");b.adState=null;b=Y[g.current+1];if(b){g.current++;if(C.refresh){L(g)}else{f.sendEvent("clip",b)}var i=getCookie("ENTITY_ID");if(g.type=="audio"&&i){var j="op=rms_event&type=play_media_done&entity_id="+i+"&article_id="+b.id+"&media_type="+g.type;new Ajax.Request("/cgi-bin/ajax_processor.cgi",{method:"post",postBody:j})}}}b=Y[g.current];switch(a){case"USER_PLAY":return !(!C.skip_ads&&(Z=T(g,b)));break;case"PLAYING":if(!b.initialized){b.initialized=true;b.currentChapter=1;if(g.nextClip){var e=new Ajax.Request(g.nextClip.url,{method:"get"})}if(!C.skip_ads&&(Z=T(g,b))){S({c5:J.PRE_ROLL});b.adState="preroll";h(Z)}else{Q(b)}}break;case"READY":b.autoPlay=U(b);f.sendEvent("clip",b);break;case"COMPLETED":X();break;case"COMPANIONS":if(d.isVAST){E(d.vastXML)}else{if(d.companions){for(var c=0;c<d.companions.length;c++){W(d.companions[c].src,d.companions[c].size)}}}break;case"ADCOMPLETE":if(b.adState=="postroll"){X()}else{Q(b);f.sendEvent("play")}break;case"CHAPTER":if(d.chapter.start!=0){f.sendEvent("pause");if(d.chapter.title=="postroll"){S({c5:J.POST_ROLL});b.adState="postroll";h("endslate")}else{S({c5:J.MID_ROLL});b.adState="midroll";h("videomidroll")}}break}}function O(C){var Z=C.size.split("x"),b=C.options,Y=b.xml,X="http://media.oprah.com/flash/player",a=getCookie("OMPLAYER_PATH")||("/auth/OMP"+H+".swf");if(Y){Y=Y.replace(/^\/player\//,"/config/")}else{if(C.type=="dated"){Y="/config/tows_config.xml"}else{if(C.type=="allstars"){Y="/config/allstars_config.xml"}else{if(C.type=="embed"){Y="/config/tows_config.xml"}else{Y="/config/config2.xml"}}}}var c=new SWFObject(X+a,C.id,Z[0],Z[1],"9.0.115","#FFFFFF");c.addParam("allowFullScreen","true");c.addParam("wmode",b.wmode||(C.type=="dated"?"transparent":"window"));c.addParam("allowscriptaccess","always");c.addVariable("config",X+Y);c.addVariable("s_account",window.s_account||"harpodev");if(b.s_playername){c.addVariable("s_playername",b.s_playername)}if(b.refresh&&C.nextClip){c.addVariable("continuousplay","true")}if(c.write(C.container)){return c}}function W(Y,X,C){if(!Y){return }size=X.split("x");var a="dart_ad_"+V(X),Z=document.getElementById(a);if(Z){if(!C){Y='<iframe src="'+Y+'" width="'+size[0]+'" height="'+size[1]+'" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" allowtransparency="true"></iframe>'}Z.innerHTML=X=="100x35"?"":Y}}function E(C){var Z;C=C.replace(/[\n\r]+/mg,"");C="<root>"+C+"</root>";if(window.DOMParser){var a=new DOMParser();Z=a.parseFromString(C,"text/xml")}else{if(window.ActiveXObject){Z=new ActiveXObject("Microsoft.XMLDOM");Z.async="false";Z.loadXML(C)}}var Y=Z.getElementsByTagName("Companion");if(Y.length){for(var X=0;X<Y.length;X++){F(Y[X])}}else{}}function F(f){var h=f.getAttribute("width")+"x"+f.getAttribute("height"),Z="dart_ad_"+V(h),X=document.getElementById(Z);if(X){var d=f.getElementsByTagName("StaticResource")[0],b=f.getElementsByTagName("IFrameResource")[0],c=f.getElementsByTagName("HTMLResource")[0],Y=f.getElementsByTagName("CompanionClickThrough")[0],g=h.split("x");if(c&&c.childNodes.length){var C=c.childNodes[0].nodeValue;C=C.replace("[timestamp]",""+(new Date()).getTime());document.getElementById(Z).innerHTML=C}else{if(b&&b.childNodes.length){var C=b.childNodes[0].nodeValue;C=C.replace("[timestamp]",""+(new Date()).getTime());document.getElementById(Z).innerHTML='<iframe frameborder="0" scrolling="no" width="'+g[0]+'" height="'+g[1]+'" src="'+C+'"></iframe>'}else{if(d&&d.childNodes.length){var e=d.getAttribute("creativeType"),C=d.childNodes[0].nodeValue;if(Y&&Y.childNodes.length){Y=Y.childNodes[0].nodeValue}if(e=="application/x-shockwave-flash"){var a=new SWFObject(C,Z+"_swf",g[0],g[1],"9.0.115","#FFFFFF");a.addParam("allowscriptaccess","always");a.write(Z)}else{if(e=="image/jpeg"&&Y){document.getElementById(Z).innerHTML='<a href="'+Y+'"><img src="'+C+'"/></a>'}}}}}}}function D(h){var X=0,Y=$(h.container),l=h.size.split("x"),b=h.playlist.clips[0],Z=document.createElement("video"),C=document.createElement("source"),a=T(h,b);C.src=b.contentPath;C.type="video/mp4";Z.width=l[0];Z.height=l[1];Z.poster=b.posterFramePath;Z.controls=true;Y.innerHTML="";Z.appendChild(C);Y.appendChild(Z);Z.load();if(!N||!a){return }R=new google.ima.AdsLoader();R.addEventListener(google.ima.AdsLoadedEvent.Type.ADS_LOADED,d,false);R.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,f,false);var g={adTagUrl:MEDIA_AD(a)};R.requestAds(g);var e;var i=Z;function f(m){}function c(p,m){var o=e.getAds()[0];var r=o.getCompanionAds(p,m,{resourceType:google.ima.CompanionAdSelectionSettings.ResourceType.STATIC,creativeType:google.ima.CompanionAdSelectionSettings.CreativeType.ALL});var n=r[0];var n=r[0];var q=n?n.getContent():"";if(q){W(q,p+"x"+m,true)}}function d(m){e=m.getAdsManager();e.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,f);e.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,k);e.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,j);var n=true;i.addEventListener("play",function(){if(n){n=false;try{c(300,250);c(728,90);c(100,35);e.play(i)}catch(o){}}},false)}function k(){i.pause();i.controls=false;S({c5:J.PRE_ROLL})}function j(){S({c5:J.PREMIUM_SHORT});i.controls=true;i.play()}}var A=function(C,X){var Z=this,Y=X||{};Z.id="omp_"+(P++);Z.type=Y.type||"video";Z.playlist={id:Z.id,clips:[]};Z.current=0;Z.firstrun=true;Z.container=C;Z.size=Y.size||(Y.type=="dated"?"290x164":"640x405");Z.options=Y;Z.addClip=function(c){c.currentChapter=0;Z.playlist.clips.push(c)};G[Z.id]=Z;function a(){var d;if(Y.refresh){Z.nextClip=I(Z.playlist.clips)}Z.swfobj=O(Z);if(Z.swfobj){var c=document.getElementById(Z.id);Z.sendEvent=function(e){return c.sendEvent?c.sendEvent(e):false};Z.getCurrentState=function(){return c.getCurrentState?c.getCurrentState():false}}else{$(Z.container).select(".loading_animation").invoke("setStyle",{display:"none"});$(Z.container).select(".no_flash_message").invoke("setStyle",{display:"block"})}}function b(){if(R||!N){D(Z)}else{M.push(Z)}}Z.load=function(){if(navigator.userAgent.match(/\b(?:iPad|iPhone|iPod)\b/)){document.observe?document.observe("dom:loaded",b):b()}else{document.observe?document.observe("dom:loaded",a):a()}}};A.initAdLoader=function(){for(var C=0;C<M.length;C++){D(M[C])}};window.OMPlayer=A;window.onPlayerEvent=K})();(function(){var B={};var E=new Template(['<div class="font16" style="background-color:#f0f0f0;border:1px solid #e9dbd8;','padding:0px; width:330px; overflow:hidden;" id="#{uid}">','<div class="font12""><img src="#{logo_img}" width="330" height="57"','style="" align="absmiddle">',"</div>",'<div style="padding:10px">','<div style="text-align:left">','<table cellpadding="0" cellspacing="0" border="0">','<tr><td><a href="#{user_page}" ','><img src="#{image}" ','border="0" style="height:70px"/></a></td>','<td valign="top" style="padding-left:10px;">','<div alt="#{name}" title="#{name}"><a class="georgia16 bold ocom_purple" href="#{user_page}" ',">#{name}</a></div>",'<div class="font12">Joined: #{date}</div>','<div class="font12" style="display:#{loc_display}">Location: #{loc}</div>',"</td></tr>","</table>","</div>",'<div style="text-align:left">#{hist_box}</div>','<div class="clearfix" style="color:#7F756A; padding-top:25px">','<span class="follow_me" onclick="followMe(\'#{eid}\')" style="float:left; cursor:pointer">','<img align="absmiddle" src="',Global.STATIC_SERVER,'/images/community/Icon_plus_Trans_090810.png"/>','<span class="georgia12 bold ocom_purple" style="padding-left:5px">Add Me to Your Feed</span>',"</span>",'<a class="georgia12 bold ocom_purple" style="padding-left:80px; float:right" href="#{user_page}">View More</a>',"</div>","</div>","</div>"].join(""));var D=new Template(['<div class="clearfix" style="padding: 10px 2px">','<div class="column" style="width:75px">','<div style="width:65px; height:45px; overflow:hidden">','<a href="#{url}"><img src="#{image}" height="45"></a>',"</div>","</div>",'<div class="column font12" style="width:190px">','<div class="font12">#{text}</div>','<a class="ocom_purple font12" href="#{url}" ','style="display:block; padding:3px 0;">#{title}</a>','<div class="font10">#{date}</div>',"</div>",'<div class="column" style="width:35px; text-align:right"><img src="#{icon}"/></div>',"</div>"].join(""));function F(I,N,K,G){if(B.box==N){return }else{if(B.box){B.box.remove()}}B={box:N,el:I};var J=[],O="user_info_"+I.id,L=I.cumulativeOffset(),H=I.offsetWidth,P=I.offsetHeight;N.setStyle({position:"absolute",top:(L.top+P)+"px",left:(L.left+H)+"px"});for(var M=0;M<K.history.length;M++){J.push(D.evaluate(K.history[M]))}K.hist_box=J.join("");K.uid=O;K.eid=G;K.logo_img=Global.STATIC_SERVER+"/images/community/Img_TopActivityBox_Trans_090710.png";K.loc_display=K.loc?"block":"none";N.update(E.evaluate(K));N.select("a").invoke("observe","click",function(){A(I,N)});if(getCookie("ENTITY_ID")==G){N.down(".follow_me").hide()}document.body.appendChild(N)}function A(G,H,I){if(B.box){B.box.remove()}B={}}function C(K,J,G){var H=$(K);if(!H){return }var I=new Element("div",{style:"padding:10px; background-color:#ffffff"});H.hover({onOver:F.curry(H,I,J,G),onOut:A.curry(H,I,J,G),extendTo:I,delayOut:100})}window.Maui.UserInfoPopup=C})();if(window.Prototype){document.observe("dom:loaded",function(){if(!window.s){return }var E,F=new RegExp("^[\\s]*|[\\s]*$","mg");function B(K,L,J){L=L||K._track_desc[0];s.linkTrackVars="pageName,prop15,prop16,prop17,prop18,prop19";s.prop15=window.location;if(J){s.prop16=J}s.prop17=L;s.prop18=K.href;s.prop19=K.innerHTML;s.tl(true,"o",K.innerHTML);if(window.getCookie&&window.getCookie("LINKTRACK_DEBUG")){alert(L+" : "+K.innerHTML)}}function G(M,N,O){var L=Math.random()+"",J=L*10000000000000,K='<iframe src="'+location.protocol+"//fls.doubleclick.net/activityi;src=2955354;"+N+"ord="+J+'?" width="1" height="1" frameborder="0" style="display:none"></iframe>';$(document.body).insert({bottom:K});if(O){setTimeout(O,100)}}function A(J,M,K){var L=typeof J=="string"?$$(J):J;L.each(function(N){if(!N._track_desc){N.observe("click",function(O){if(K){G(N,N._track_desc[0])}else{B(N,N._track_desc[0])}if(N.href&&N.name!="fb_share"&&!O.metaKey&&!O.ctrlKey&&!N.target&&N.href.indexOf("javascript:")!=0){Event.stop(O);setTimeout(function(){window.location=N.href},100)}})}N._track_desc=[M]})}function H(J){var K=$$("#feed_tabs .selected");if(K.length){A("#feed_container a","feed-"+K[0].innerHTML.toLowerCase())}}function D(K){var J=K.memo,L;L=J=="ratings"?"who rated this":J;A("#container a",L)}function C(J){var K,L;if(J.className=="tows"){K="twix"}else{L=Element.down(J,".rr_header");if(L){K=L.innerHTML.toLowerCase().replace(F,"")}else{K=J.className}}return"RR-"+K}A("a","general links");A("#top_nav_links a, #ocom_mainnav a, #ocom_subnav a","top nav");A("#ocom_header .ocom_logo a","promo 1");A("#ocom_header .ocom_leaderboard a","promo 2");A("#ocom_header .ocom_index_ad a","promo 3");A("#top_welcome_bar a","top welcome bar");A("#ocom_welcome_nav a","header welcome bar");A("#ocom_own_promo a","own promo logo");A("#sponsored_logo a","promo 4");A("#ocom_hot_topics a","hot topic");A("#ocom_footer a","footer nav");A(".featured_story a","featured stories");A("#feat_sub_container a","featured stories");A("#sections_main_container a","main subsections");A("#article_byline_links a","byline links");A(".related_articles a","related links");E=$("right_rail_wrapper");if(E){E.childElements().each(function(J){if(J.id&&J.id.indexOf("module")==0){A("#"+J.id+" a",C(J))}})}E=$("feed_container");if(E){E.observe("feed:loaded",H)}E=$("comments_tab");if(E){E.observe("comments:loaded",D)}var I=1;E=$$(".featured_story1 a");while(E.length||I==1){A(E,"featured_story"+I);E=$$(".featured_story"+(++I)+" a")}window.Maui||(Maui={});Maui.omnitureTrackLink=A;Maui.floodlightTrackLink=function(K,J){A(K,J,true)};Maui.floodlightTrack=G})};function messageUser(A){if(!loginCheck({onLogin:messageUser,login_req:1})){return }articleMessageLB("write",A)}function sendArticle(A,B,C){if(!loginCheck({onLogin:sendArticle,login_req:1})){return }articleMessageLB("article",A,B,C)}function sendLink(B,A){if(!loginCheck({onLogin:sendLink,login_req:1})){return }linkMessageLB(B,A)}function popMovePlayer(A,B){if((screen.width>=1024)&&(screen.height>=768)){popURL(A,{width:980,height:665})}else{location=B}}function triggerPopupPage(B,A,C){popURL(B,{width:A,height:C})}function shareCurrentPage(D,B,G,A){var B=B||location.href,G=G||$$("title")[0].innerHTML,F="",C="";if(D=="email"){if(!loginCheck({onLogin:shareCurrentPage,login_req:1})){return }try{F=window.OAS_AD.Metas.contentid||"";C=window.OAS_AD.Metas.mediatype||"";if(C=="article"){C="text"}}catch(E){}if(F.match(/\.xml$/)){sendArticle("entity_id",$H({content_id:F,atype:C}).toQueryString())}else{if(A&&A=="storyboard"){linkMessageLB(G,B,{obj_type:A})}else{linkMessageLB(G,B)}}}else{if(D=="facebook"){popURL("http://www.facebook.com/sharer.php?"+$H({u:B,t:G}).toQueryString(),{width:634,height:518})}else{if(D=="retweet"){popURL("http://api.tweetmeme.com/share?url="+encodeURIComponent(B),{width:800,height:400})}else{if(D=="twitter"){popURL("http://twitter.com/share?"+$H({url:B,text:G}).toQueryString(),{width:634,height:518})}}}}}var shareOwnVideoPage=shareCurrentPage;
