IBSYS.using("media");IBSYS.media.SlideshowPlayer={init:function(el,config){if(!swfobject.hasFlashPlayerVersion("6.0.65")){el.innerHTML='<div align="center" valign="middle"><p style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#444444; line-height:1.5;">'+"To watch videos, you need a newer version of <strong>Flash.</strong><br /><br />"+"After you install Flash, you may need to restart your browser.<br />"+"Copy this URL first, so that you can find your way back to the video:<br />"+'<form><input id=thisPage name="this_page_url" type="text" size="30" maxlength="256" readonly="true" align="middle" value='+document.location.href+" /></form>"+'</p><br /><div id="FlashInstallPromptDiv"><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">'+'<img src="/sh/flex3MediaPlayer/images/getflash.jpg" alt="Get Flash" border="0" /></a></div><br />';}else{if(!swfobject.hasFlashPlayerVersion("9.0.28")){document.title=document.title.slice(0,47)+" - Flash Player Installation";var eiSwf="/_public/js/lib/swfobject_2.0/expressInstall.swf";var fv={MMredirectURL:window.location.href,MMplayerType:(typeof ActiveXObject=="function"?"ActiveX":"PlugIn"),MMdoctitle:document.title};var atts={id:el.id};swfobject.embedSWF(eiSwf,el.id,"640","405","6.0.65",eiSwf,fv,{},atts);}else{this.renderPlayer(el,config);}}},renderPlayer:function(el,config){this.coid=config.coid;var flashVars={coid:this.coid,host:config.host||window.location.host,slideDelay:config.slideDelay||5,backgroundColor:config.backgroundColor||"#000000",highlightColor:config.highlightColor||"990000",primaryTextColor:config.primaryTextColor||"#FFFFFF",highlightTextColor:config.highlightTextColor||"#CC0000",skin:config.skin||"/sh/flex3MediaPlayer/skins/postDefaultSkin.swf",contentService:config.contentService||"/ec/content-service/services/contentSOAP"};var swf=config.swf||"/sh/flex3MediaPlayer/swf/Slideshow.swf";var bgColor=config.bgColor||"#000000";el=typeof el=="string"?document.getElementById(el):el;var container=el;var slideshowDiv=document.createElement("div");slideshowDiv.setAttribute("id",el.id+"_slideshow");slideshowDiv.style.width=config.width;slideshowDiv.style.height=config.height;slideshowDiv.style.position="absolute";container.appendChild(slideshowDiv);IBSYS.media.genericFlash2.init(slideshowDiv,{swfUrl:swf,width:config.width,height:config.height,background:bgColor,flashVars:flashVars});var jsep=config.jsonEndPoint||"/ec/content-service/json/getContent";var url=jsep+"?contentId=urn:ibsys:content:"+this.coid;YAHOO.util.Connect.asyncRequest("GET",url,{success:this.onContentService,scope:this});},onContentService:function(r){var meta=YAHOO.lang.JSON.parse(r.responseText);this.headline=meta.headline;var d=meta.metadata;if(d.length>0){for(var i=0;d.length;i++){if(d[i].type=="urn:ibsys:taxonomy:pool"){this.pool=d[i].tag;break;}}}}};IBSYS.ad.AdManager.setEventMapping("slideChanged",{mapping:[{Strategy:{Name:"Default"},Rules:[{Type:"CheckValue",check:{position:"type"},expect:"DOM"},{Type:"adPositionSizeIn",sizes:"300x250,160x600,728x90"}]}]});IBSYS.tracking.trackingManager.setEventMapping("slideChanged",[{Strategy:{Name:"WebTrends",Parameters:{dcsID:{propPath:"siteinfo.thirdparty_info.WT_info.id"},"WT.ti":{propPath:"IBSYS.media.SlideshowPlayer.headline"},"WT.cg_n":{meta:"WT.cg_n"},ib_station:{propPath:"siteinfo.callletters.uc"},ib_partner:{propPath:"siteinfo.owner"},ib_pool:{propPath:"IBSYS.media.SlideshowPlayer.pool"},mtype:"Slideshow",ib_coid:{propPath:"IBSYS.media.SlideshowPlayer.coid"},slide:{eventSource:"slideNumber"}}}}]);