var szGoGoVersion="1.0.0.4";var _B=0;var _C=1;var _A=2;var _E=0,_D=1,CONST_ENP_MEDIA_FILE=2,CONST_ENP_TAGSCRIPT=3;var CONST_ENP_INDEX_MEDIA_FILE=0;var CONST_ENPA_INDEX_MEDIA_ENTRY=0;var _G=0,_F=1,CONST_PS_READY=2,_H=3;var g_fCreatingThumbnail= 0;var CONST_DISCUSSION_GRIP_WIDTH=770;var SCROLLBARHEIGHT=20;var CONST_STARTING_EVENT="event%3d",CONST_STARTING_TIME="time%3d",CONST_AUTO_START="autostart%3d",CONST_PROFILE="profile%3d",CONST_DISABLE_PRELOAD="nopreload%3d";var CONST_PREROLL_ANIMATION="progressbar.gif",CONST_PREROLL_IMGSTATIC="progresbarstatic.gif",CONST_PREROLL_LOADINGTEXT="LoadingWaitDiv_Play_NotReady",CONST_PREROLL_LOADEDTEXT="LoadingWaitDiv_Play_Ready",CONST_PREROLL_IMGLOGO="producerlogo.gif";var CONST_SLIDE_MINWIDTH=200;var CONST_PPT_CROP=2;var MAX_TOC_INDENT=4;var CONST_PPT_RATIO=1.333;var g_InitialCSSDirectory;var CONST_LINK_SCRIPT='javascript:document.open();document.write(\'<HTML><BODY BGCOLOR=transparent><A href="%1!s!" TARGET=_blank>%2!s!</A></BODY></HTML>\');document.close();';var CONST_IMAGE_SCRIPT ='javascript:document.open();document.write(\'<HTML><BODY onload="parent.PreLoad()" onresize="parent.R()" bgColor="transparent" style="overflow:hidden"><Img border=0 id="im" iw=%2!s! ih=%3!s! style="position:absolute;visibility:hidden" mysrc="%1!s!" onload="parent.Load()"></BODY></HTML>\');document.close();';var CONST_PREROLL_SCRIPT='javascript:document.write(\'<HTML><HEAD><script id=TPIRCSAVAJ src="%1!s!" language="JavaScript"></script></HEAD><BODY></BODY></HTML>\');document.close();';var CONST_PREROLL_CSS='javascript:document.open();document.write(\'<HTML><HEAD><LINK id=KNILCSS href="%1!s!" REL=stylesheet type=text/css></HEAD><BODY></BODY></HTML>\');document.close();';var CONST_PREROLL_EMZ='javascript:document.open();document.write(\'<HTML><BODY><IMG id=ZME src="%1!s!"></BODY></HTML>\');document.close();';var CONST_PREROLL_MSO='javascript:document.open();document.write(\'<HTML><HEAD><LINK id=KNILOSM href="%1!s!" REL=OLE-Object-Data ></HEAD><BODY></BODY></HTML>\');document.close();';var CONST_PREROLL_IMAGE_SCRIPT ='<div style="overflow:hidden"><img border=0 id="LoadingWaitDiv_Img" iw=%2!s! ih=%3!s! src="%1!s!" style="visibility:hidden" ></div>';var _ZA=new Array();var _aA=new Array();var _cA=new Array();var _WA=-1;var _VA=null;var _YA=null;var _bA;var _XA=null;var g_bIsNS=0;var g_nPlayStatus=_G;var g_bUseMP7=1
var g_bHandlingMarkerHitEvent=0;var _UA;var g_bPausedForDownload=1;var _eA=":";var _SA=0.0,_TA=0.0;var g_bHasReadyStateChangeEvent=0;var g_bTrackingY=-1;var g_OSE=null;var g_OSE_DServers=null;var _PA=null;var _dA=new Array();var g_szPath="";var g_bPlayWhenReady=0;var g_szProfileIndex="0";var g_fStartingTime=0;var g_fStartingEvent=0;var g_bPreviewMode=0,g_bPrerollOnlyMode=0;var g_iCurrentOnClickEvent=0;var g_iCurrentSlide=-1;var g_bStatic=0;var g_bLastSlideStatic=0;var g_bForceReload=0;var g_rgrgCustomDIVLists=null;var g_rgCustomTags=new Array("WMAlignProportional","WMAlignSpacing","WMAlignBottom","WMAlignRight","WMPrerollDisplay","WMBodyWidth","WMBodyHeight","WMParentHeight");var g_rgEventTags=new Array();var g_rgTOC;var g_fIgnoreMessages=0;var g_nCurrentClock=0;var g_szDuration;var g_nTimerID=-1;var g_bUseBandwidthManagement=0;var g_bDisablePrecache=0;var g_pHiddenFrame=null;var g_bPauseAfterBuffer=0;var g_bPlayAfterBuffer=0;var g_bRecalcPlayerClockPosition=1;var g_bIsIE55=NaN,g_bIsIE60=NaN,g_bIsOSNT4=NaN;var g_nMinimumDicussionTop=310;var g_nLastTOCContentDivWidth=0;var g_nNumTimesTrySetCurrentPositon=0;var g_bCannotSeekYet=0;var g_bTOCGenerated=0;var g_bMediaFileCued=0;var g_nSeekEntryWhenOpen=-1;var g_fSeekTimeWhenOpen=-1;var g_nResizeRetries=0;var m_szProtocol="http";var g_nIgnoreThisEvent=-1;var g_bPlayWhenOpen=0;var g_nSeekToEvent=-1;var m_bNeedRebuildItemArray=0;var g_bIsBMCSS=0;function GetGoGoVersion()
{return szGoGoVersion;}function InitializeGoGoProd()
{g_nPlayStatus=_F;g_InitialCSSDirectory=g_InitialCSSFile.substr(0,g_InitialCSSFile.indexOf("/"));var _fB=escape(window.location.search);_fB=_fB.toUpperCase();if(_fB=="%3FPREVIEW")
{g_bPreviewMode=1;}else if(_fB=="%3FPREROLL")
{g_bPrerollOnlyMode=1;}else if(_fB=="%3FTHUMBNAIL")
{g_fCreatingThumbnail= 1;SlidesDiv.style.visibility="visible";SlidesDiv.innerHTML="<img src=Slide.jpg id=\"SlidesFrame\" width=100% height=100% align=\"middle\">";HTML1Div.style.visibility="visible";HTML1Div.innerHTML="<img src=HTML.jpg id=\"HTML1Frame\" width=100% height=100% align=\"middle\">";}_y();document.title=UnescapeHTML(g_szLoadingTitle);g_szPath=window.location.href;var nSlash=g_szPath.lastIndexOf("/");if(nSlash!=-1)
g_szPath=g_szPath.substr(0,nSlash+1);m_szProtocol=window.location.protocol.substr(0,4).toLowerCase();if(_I())
{if(!g_bPreviewMode&&!g_bPrerollOnlyMode&&m_szProtocol=="http"&&!g_bDisablePrecache)
g_bUseBandwidthManagement=1;}if(g_fStartingEvent!=0)
{g_fStartingTime=_ZA[g_fStartingEvent].fTime;}g_szDuration=_EA(g_nDuration);setTimeout("document.all.LINKLAYOUT.href=g_InitialCSSFile;",1);setTimeout("InitializeGoGoProdPartDeux()",250);}function InitializeGoGoProdPartDeux()
{if(LINKLAYOUT.readyState!="complete")
{setTimeout("InitializeGoGoProdPartDeux()",250);return;}InitCustomDIVTagLists();PrerollScreen_SetStatus();MediaPlayer_SetButtonImageInternal(PlayerPlayPause,"PlayerPlayPause_Rest");MediaPlayer_SetButtonImageInternal(PlayerPrevious,"PlayerPrevious_Rest");MediaPlayer_SetButtonImageInternal(PlayerNext,"PlayerNext_Rest");MediaPlayer_SetButtonImageInternal(PlayerDiscussion,"PlayerDiscussion_Rest");ProducerLogoDiv.style.visibility=g_szProducerLink!="" ? "visible":"hidden";if(g_szProducerLink!="")
{ProducerLink.href=g_szProducerLink;ProducerLogoImg.src=CONST_PREROLL_IMGLOGO;}if(!g_bPrerollOnlyMode)
{_AA();if(!g_bPreviewMode&&!g_bUseMP7)
{var szEscaped=escape(g_szPath);var re=new RegExp("%u[0123456789ABCDEF]{4}","i");if(szEscaped.match(re))
{if(confirm(UnescapeHTML(g_szNonAsciiPathMsg)))
navigate(g_szWMPURL);}}}if(g_fCreatingThumbnail)
{setTimeout("window.external.CaptureThumbnail()",1);}}function InitCustomDIVTagLists()
{if(g_rgrgCustomDIVLists)
return;g_rgrgCustomDIVLists=new Array();var i,j,pTags=document.all.tags("DIV");var nCustomTagsLen=g_rgCustomTags.length;for(i=0;i<pTags.length;i++)
{var pDIV=pTags(i);for(j=0;j<nCustomTagsLen;j++)
{if(pDIV.currentStyle.getAttribute(g_rgCustomTags[j]))
{if(!g_rgrgCustomDIVLists[g_rgCustomTags[j]])
g_rgrgCustomDIVLists[g_rgCustomTags[j]]=new Array();g_rgrgCustomDIVLists[g_rgCustomTags[j]][g_rgrgCustomDIVLists[g_rgCustomTags[j]].length]=pDIV;}}}}function ExtractURLParameter(szParamName,szHash,nType)
{var _AB,szParam,varRetVal=0;_AB=szHash.search(szParamName);if(_AB!=-1)
{szParam=szHash.substring(_AB+szParamName.length);if(nType==0)
{varRetVal=parseInt(szParam);if(isNaN(varRetVal))
varRetVal=0;}else if(nType==1)
{varRetVal=parseFloat(szParam);if(isNaN(varRetVal))
varRetVal=0;}else
{varRetVal=0;}}return varRetVal;}function UnescapeHTML(szEscaped)
{var szUnescaped=unescape(szEscaped);szUnescaped=szUnescaped.replace(new RegExp("<br>","ig"),"\n");szUnescaped=szUnescaped.replace(new RegExp("&amp;","ig"),"&");szUnescaped=szUnescaped.replace(new RegExp("&#35;","ig"),"#");szUnescaped=szUnescaped.replace(new RegExp("&frasl;","ig"),"/");szUnescaped=szUnescaped.replace(new RegExp("&#63;","ig"),"?");szUnescaped=szUnescaped.replace(new RegExp("&#92;","ig"),"\\");szUnescaped=szUnescaped.replace(new RegExp("&quot;","ig"),"\"");szUnescaped=szUnescaped.replace(new RegExp("&lt;","ig"),"<");szUnescaped=szUnescaped.replace(new RegExp("&gt;","ig"),">");szUnescaped=szUnescaped.replace(new RegExp("&#37;","ig"),"%");return szUnescaped;}function UninitializeGoGoProd()
{MediaPlayer_StopClock();}@if (@ENABLE_LOGGING)
@end
function _AA()
{MediaPlayer.attachEvent("PositionChange",MediaPlayer_PositionChange);MediaPlayer.attachEvent("PlayStateChange",MediaPlayer_PlayStateChange);MediaPlayer.attachEvent("scriptCommand",MediaPlayer_ScriptCommand);MediaPlayer.attachEvent("buffering",MediaPlayer_Buffering);MediaPlayer.attachEvent("openStateChange",MediaPlayer_OpenStateChange);MediaPlayer.attachEvent("Error",MediaPlayer_OnError);MediaPlayer.attachEvent("Warning",MediaPlayer_OnWarning);LINKLAYOUT.attachEvent("onreadystatechange",LinkLayout_OnReadyStateChange);SlidesFrame.attachEvent("onreadystatechange",SlidesFrame_OnReadyStateChange);HTML1Frame.attachEvent("onreadystatechange",HTML1Frame_OnReadyStateChange);document.attachEvent("onstop",Document_OnStop);if(g_bUseBandwidthManagement&&_aA.length>0)
{_i();}else
{if(g_nPlayStatus<CONST_PS_READY)
g_nPlayStatus=CONST_PS_READY;_w();}}function Document_OnStop()
{g_bUseBandwidthManagement=0;if(g_nPlayStatus<CONST_PS_READY)
{g_nPlayStatus=CONST_PS_READY;_w();}g_nIgnoreThisEvent=-1;}function _i()
{var i,_oA=_ZA.length,j,_yA;var _tA=_aA.length;for(i=0;i<_oA;i++)
{var _LB=_ZA[i];_LB.CalcTotalSize();}_VA=_K;var _IB=new Date();_UA=_IB.getTime();_aA[0].Download();}function _K(nar)
{var _IB=new Date();_SA=_aA[0].nTotalSize / ((_IB.getTime()-_UA) / 1000.0);_aA[0].nDownloadStatus=_A;_q();_BA();}function _BA()
{if(_cA.length&&g_bUseBandwidthManagement)
{_WA=-1;_o();}else
{if(g_nPlayStatus<CONST_PS_READY)
g_nPlayStatus=CONST_PS_READY;_w();}}function _o()
{if(_WA>=0)
{_aA[_cA[_WA]].nDownloadStatus=_A;if(_WA>0&&_UA!=-1)
{if(m_bNeedRebuildItemArray||_aA[_cA[_WA]].nSize>10000)
{var _IB=new Date();_SA+=_aA[_cA[_WA]].nSize / ((_IB.getTime()-_UA) / 1000.0);_SA=_SA / 2.0;var _MA=Math.abs(_SA-_TA) / _SA;if(m_bNeedRebuildItemArray||_MA>g_fRescheduleThreshold)
{_q();_BA();m_bNeedRebuildItemArray=0;return;}}}if(g_nPlayStatus==_F&&_WA>=0&&_aA[_cA[_WA]].fLatestSendTime>=g_fStartingTime)
{g_nPlayStatus=CONST_PS_READY;_w();}}while(g_bUseBandwidthManagement&&_WA+1<_cA.length)
{_WA++;var _NB=_aA[_cA[_WA]];if(_NB.nDownloadStatus==_B)
{_VA=_o;_aA[_cA[_WA]].Download(_o);return;}}}function _j(x,y)
{if(_aA[x].fEarliestTimeNeeded<_aA[y].fEarliestTimeNeeded)
return -1;else if(_aA[x].fEarliestTimeNeeded>_aA[y].fEarliestTimeNeeded)
return 1;return 0;}function _q()
{var i,_tA=_aA.length,_gA=0;var _OA=_ZA[_ZA.length-1].fTime;_cA=new Array();_WA=-1;_TA=_SA;for(i=_tA-1;i>=0;i--)
{var _NB=_aA[i];if(_NB.nDownloadStatus==_B &&_NB.IsNeededAfterEventID(g_nSeekToEvent))
{var _NA=_NB.nSize / _SA;_NA=_NA*g_fDownloadFudgeMultiplier+g_fDownloadFudgeAddend;if(_NB.fEarliestTimeNeeded>_OA)
{_NB.fLatestSendTime=_OA-_NA;}else
{_NB.fLatestSendTime=_NB.fEarliestTimeNeeded-_NA;}_OA=_NB.fLatestSendTime;_cA[_gA]=_NB.nID;_gA++;}}_cA.sort(_j);}function _w()
{_CA();PrerollScreen_SetStatus();if(!g_bPreviewMode)
{_ZA[g_fStartingEvent].CueMediaFile();}if(g_bPreviewMode||g_bPlayWhenReady)
{StartPresentation();}}function StartPresentation()
{if(event)
event.returnValue=0;if(g_bPrerollOnlyMode)
return;_CA();if(!g_bPreviewMode)
{_ZA[g_fStartingEvent].CueMediaFile();}g_nPlayStatus=_H;PrerollScreen_SetStatus();if(g_strESerivceDiv.length>0)
{EServiceDIV.insertAdjacentHTML("afterBegin",unescape(g_strESerivceDiv));try
{EServiceInit();}catch(e)
{}}if(!g_bPreviewMode)
{g_bPauseAfterBuffer=0;MediaPlayer_Play();}MediaPlayer_StartClock();if(g_fStartingTime!=0)
SetPresentationTime(g_fStartingTime,0);else
{if(g_bPreviewMode)
g_fStartingTime=MediaPlayer_GetCurrentPosition();SetPresentationTime(g_fStartingTime,1);}}function _I()
{if(isNaN(g_bIsIE55))
{var ua=window.navigator.userAgent
var msie=ua.indexOf ("MSIE ")
if(msie>0)
g_bIsIE55=(parseFloat (ua.substring (msie+5,ua.indexOf (";",msie)))>=5.5);else
g_bIsIE55=0;}return g_bIsIE55;}function CheckOSNT4()
{if(isNaN(g_bIsOSNT4))
{var ua=window.navigator.userAgent
g_bIsOSNT4=(ua.indexOf("Windows NT)")!=-1||ua.indexOf("Windows NT;")!=-1||ua.indexOf("Windows NT 4.0")!=-1);}return g_bIsOSNT4;}function CheckBrowserIE60()
{if(isNaN(g_bIsIE60))
{var ua=window.navigator.userAgent
var msie=ua.indexOf ("MSIE ")
if(msie>0)
g_bIsIE60=(parseFloat (ua.substring (msie+5,ua.indexOf (";",msie)))>=6.0);else
g_bIsIE60=0;}return g_bIsIE60;}function MediaPlayer_Create()
{var _dB="";if(window.location.search=="?PREVIEW")
{g_bUseMP7=0;var _dB="<OBJECT classid=\""+g_FakePlayerCLSID+"\" id=\"MediaPlayer\" width=320 height=240 align=\"middle\"></OBJECT>";MediaPlayerDiv.innerHTML+=_dB;}else if(window.location.search=="?THUMBNAIL")
{MediaPlayerDiv.innerHTML+="<img src=Video.jpg id=\"MediaPlayer\" width=320 height=240 align=\"middle\">";}else
{var pWMP=null;try
{if(g_bUseMP7)
pWMP=new ActiveXObject("WMPlayer.OCX.7")
if(!pWMP)
throw "No player";pWMP=null;_dB="<OBJECT classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 width=320 height=240 id=MediaPlayer name=MediaPlayer type=application/x-oleobject standby=\"\"> <PARAM NAME=\"URL\" VALUE=\"\"><PARAM NAME=\"autoStart\" VALUE=\"0\"><PARAM NAME=\"invokeURLs\" VALUE=\"0\"><PARAM NAME=\"baseURL\" VALUE=\"\"><PARAM NAME=\"volume\" VALUE=\"100\"><PARAM NAME=\"mute\" VALUE=\"0\"><PARAM NAME=\"uiMode\" VALUE=\"none\"><PARAM NAME=\"enabled\" VALUE=\"-1\"><PARAM NAME=\"enableContextMenu\" VALUE=\"-1\"><PARAM NAME=\"captioningID\" VALUE=\"Misc8Div\"></OBJECT>";MediaPlayerDiv.innerHTML+=_dB;}catch(e)
{pWMP=new ActiveXObject("MediaPlayer.MediaPlayer.1");try
{if(!pWMP)
throw e;pWMP=null;g_bUseMP7=0;var _dB="<OBJECT ID=\"MediaPlayer\" name=\"MediaPlayer\" WIDTH=320 HEIGHT=240 CLASSID=\"CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95\" STANDBY=\"Loading Windows Media Player components...\" TYPE=\"application/x-oleobject\"  CODEBASE=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701\"><PARAM NAME=\"ShowControls\" VALUE=\"False\"> <PARAM NAME=\"AutoRewind\" VALUE=\"False\"> <PARAM NAME=\"AutoStart\" VALUE=\"0\"><PARAM NAME=\"AutoSize\" VALUE=\"0\"></OBJECT>";MediaPlayerDiv.innerHTML+=_dB;}catch(e)
{if(window.confirm(UnescapeHTML(g_szNoMediaPlayer)))
navigate(g_szWMPURL);else
navigate("about:blank");}}}}function MediaPlayer_EnableErrorDialogs(bEnabled)
{if(g_bUseMP7)
{MediaPlayer.settings.enableErrorDialogs=bEnabled;}else
{MediaPlayer.SendErrorEvents=!bEnabled;MediaPlayer.SendWarningEvents=!bEnabled;}}function MediaPlayer_StartClock()
{if(g_nTimerID==-1)
{MediaPlayer_UpdatePlayerClock(-1);g_nTimerID=setInterval("MediaPlayer_UpdatePlayerClock(-1)",1000);}}function MediaPlayer_StopClock()
{if(g_nTimerID!=-1)
{clearInterval(g_nTimerID);g_nTimerID=-1;}}function MediaPlayer_Buffering(bStart)
{if(bStart)
{window.status=g_szBufferingStatus;}else
{window.status="";if(g_bPauseAfterBuffer)
{setTimeout("MediaPlayer_Pause();",1);g_bPauseAfterBuffer=0;}if(g_bPlayAfterBuffer)
{setTimeout("MediaPlayer_Play()",1);g_bPlayAfterBuffer=0;}if(!g_bUseMP7)
{if(g_nSeekEntryWhenOpen!=-1)
{MediaPlayer_SetCurrentLocation(g_nSeekEntryWhenOpen,g_fSeekTimeWhenOpen);g_nSeekEntryWhenOpen=-1;if(g_fStartingTime<=0.0)
g_fIgnoreMessages=0;}else if(g_fSeekTimeWhenOpen!=-1)
{MediaPlayer_SetCurrentLocation(g_nSeekEntryWhenOpen,g_fSeekTimeWhenOpen);g_fSeekTimeWhenOpen=-1;g_fIgnoreMessages=0;}}}}function MediaPlayer_OnError()
{var hr=MediaPlayer_ErrorCode();if(hr==-2147220968)
{if(window.confirm(UnescapeHTML(g_szNoMediaPlayer)))
navigate(g_szWMPURL);else
navigate("about:blank");}else if(hr==-2146828283&&g_fIgnoreMessages)
{}}function MediaPlayer_OnWarning(lType,lParam,sDescription)
{}function MediaPlayer_OpenStateChange(lNewState)
{if((g_bUseMP7&&lNewState==13))
{if(g_nSeekEntryWhenOpen!=-1)
{MediaPlayer_SetCurrentLocation(g_nSeekEntryWhenOpen,g_fSeekTimeWhenOpen);g_nSeekEntryWhenOpen=-1;if(g_fStartingTime<=0.0)
g_fIgnoreMessages=0;if(g_bPauseAfterBuffer&&!IsPresentationStreaming())
{setTimeout("MediaPlayer_Pause()",1);g_bPauseAfterBuffer=0;}}else if(g_fStartingTime>0.0&&g_fSeekTimeWhenOpen!=-1)
{MediaPlayer_SetCurrentLocation(g_nSeekEntryWhenOpen,g_fSeekTimeWhenOpen);g_fSeekTimeWhenOpen=-1;g_fIgnoreMessages=0;}}else if(!g_bUseMP7&&lNewState==5&&g_bPlayWhenOpen)
{setTimeout("MediaPlayer_Play()",1);g_bPlayWhenOpen=0;}try
{if(!g_bUseMP7&&lNewState==5)
{var i;for(i=1;i<=MediaPlayer.CodecCount;i++)
{if(!MediaPlayer.GetCodecInstalled(i))
{alert(UnescapeHTML(g_szNoCodec +"  "+ MediaPlayer.GetCodecDescription(i)+"("+MediaPlayer.GetCodecURL(i)+")"));break;}}}}catch(e)
{ }}function MediaPlayer_ClearErrors()
{if(g_bUseMP7)
MediaPlayer.error.clearErrorQueue();}function Window_OnResize()
{if(!PrerollScreen_DisplayTags())
{g_nResizeRetries++;if(g_nResizeRetries<8)
setTimeout("Window_OnResize()",400);else
g_nResizeRetries=0;return;}if(g_nPlayStatus==_H||g_fCreatingThumbnail)
{try
{MediaPlayer_OnResize();}catch(e)
{g_nResizeRetries++;if(g_nResizeRetries<10)
setTimeout("Window_OnResize()",200);else
g_nResizeRetries=0;return;}g_nResizeRetries=0;var i,j;if(g_rgrgCustomDIVLists&&g_rgrgCustomDIVLists["WMAlignProportional"])
{for(i=0;g_rgrgCustomDIVLists&&i<g_rgrgCustomDIVLists["WMAlignProportional"].length;i++)
{var pAlignRightTag=g_rgrgCustomDIVLists["WMAlignProportional"][i];var _FB=document.body.clientWidth-_r(pAlignRightTag)-pAlignRightTag.currentStyle.WMAlignProportional;var _rA=_FB / CONST_PPT_RATIO;if(_s(pAlignRightTag)+ _rA>document.body.clientHeight)
{_rA=document.body.clientHeight-_s(pAlignRightTag)-pAlignRightTag.currentStyle.WMAlignProportional;_FB=_rA*CONST_PPT_RATIO;}if((_FB>CONST_SLIDE_MINWIDTH)&& (_rA>=1))
{pAlignRightTag.runtimeStyle.width=_FB;pAlignRightTag.runtimeStyle.height=_rA;var _FB=_FB-CONST_PPT_CROP;var _rA=_rA-CONST_PPT_CROP;pAlignRightTag.runtimeStyle.clip='rect(0px '+_FB+'px '+_rA+'px 0px)';if(g_rgrgCustomDIVLists["WMAlignSpacing"])
{for(j=0;g_rgrgCustomDIVLists&&j<g_rgrgCustomDIVLists["WMAlignSpacing"].length;j++)
{var dvtag=g_rgrgCustomDIVLists["WMAlignSpacing"][j];var nSpace=GetStyleValue_Integer(dvtag.currentStyle.WMAlignSpacing);if(nSpace)
{dvtag.runtimeStyle.top=_rA+_s(pAlignRightTag)+nSpace;dvtag.runtimeStyle.width=_FB;}}}}}}if(g_rgrgCustomDIVLists&&g_rgrgCustomDIVLists["WMAlignBottom"])
{for(i=0;g_rgrgCustomDIVLists&&i<g_rgrgCustomDIVLists["WMAlignBottom"].length;i++)
{var pDivTag=g_rgrgCustomDIVLists["WMAlignBottom"][i];var _rA=document.body.clientHeight-_s(pDivTag)-pDivTag.currentStyle.WMAlignBottom;if(_rA>=1)
{pDivTag.runtimeStyle.height=_rA;}}}if(g_rgrgCustomDIVLists&&g_rgrgCustomDIVLists["WMAlignRight"])
{for(i=0;g_rgrgCustomDIVLists&&i<g_rgrgCustomDIVLists["WMAlignRight"].length;i++)
{var pDivTag=g_rgrgCustomDIVLists["WMAlignRight"][i];var _FB=document.body.clientWidth-_r(divtag)-pDivTag.currentStyle.WMAlignRight;if(_FB>=CONST_SLIDE_MINWIDTH)
{pDivTag.runtimeStyle.width=_FB;}}}if(!g_rgrgCustomDIVLists)
{g_nResizeRetries++;if(g_nResizeRetries<8)
setTimeout("Window_OnResize()",500);else
g_nResizeRetries=0;return;}if(TOCContentDiv.clientWidth!=g_nLastTOCContentDivWidth)
EllipsifyTOC();g_nLastTOCContentDivWidth=TOCContentDiv.clientWidth;}else (g_nPlayStatus==_F)
{setTimeout("PrerollImageResize()",1);}SetDynamicDivDimensions();g_nResizeRetries=0;}function RemoveCustomDIVAttributes()
{if(!g_rgrgCustomDIVLists)
return;var i,j;for(j=0;j<g_rgCustomTags.length;j++)
{if(g_rgrgCustomDIVLists[g_rgCustomTags[j]])
{for(i=0;i<g_rgrgCustomDIVLists[g_rgCustomTags[j]].length;i++)
{var pTag=g_rgrgCustomDIVLists[g_rgCustomTags[j]][i];pTag.runtimeStyle.removeAttribute("width",0);pTag.runtimeStyle.removeAttribute("height",0);pTag.runtimeStyle.removeAttribute("top",0);pTag.runtimeStyle.removeAttribute("left",0);pTag.runtimeStyle.clip='rect(auto auto auto auto)';}}}for(i=0;i<document.anchors.length;i++)
{document.anchors[i].runtimeStyle.removeAttribute("backgroundImage",0);}g_rgrgCustomDIVLists=null;}function Window_OnScroll()
{SetDynamicDivDimensions();document.recalc(1);}function MediaPlayer_OnResize()
{if(g_nPlayStatus==_H||g_fCreatingThumbnail)
{MediaPlayerControlsDiv.style.visibility="hidden";var _FB=MediaPlayerControlsDiv.offsetWidth;var nOffset=GetStyleValue_Integer(MediaPlayerControlsDiv.currentStyle.WMPlayerClockOffset);var nBLLeft=PlayerBL.offsetLeft;var nBLWidth=PlayerBL.offsetWidth;var nBLHeight=PlayerBL.offsetHeight;var nBRWidth=PlayerBR.offsetWidth;PlayerBR.style.left=_FB-(nBLLeft+nBRWidth);PlayerBC.style.width=_FB-(nBLWidth+nBRWidth);PlayerBC.style.height=nBLHeight;if(g_bRecalcPlayerClockPosition)
{PlayerClock.style.left=_FB-PlayerClock.offsetWidth-nBRWidth+nOffset;if(PlayerClock.offsetWidth>50)
PlayerClock.style.visibility="visible";g_nMinimumDicussionTop=MediaPlayerDiv.offsetTop+MediaPlayerDiv.offsetHeight+PlayerBC.offsetHeight+2;if(GetStyleValue_Integer(DiscussionDiv.style.top)<GetStyleValue_Integer(g_nMinimumDicussionTop))
{DiscussionDiv.style.top=g_nMinimumDicussionTop;SetDivContentHeight();}g_bRecalcPlayerClockPosition=0;}MediaPlayerControlsDiv.style.visibility="visible";}}function FindTimeDeltaIntoMediaFile(_JA)
{var _LB=null,i,_oA=_ZA.length,fStartOfNewMediaFile,szCurrentASFFile;fStartOfNewMediaFile=0.0;g_nIgnoreThisEvent=1;szCurrentASFFile=_ZA[0].GetParamByName("MediaPlayer").ArgumentList[0];for(i=1;i<_oA;i++)
{_LB=_ZA[i];if(_LB.fTime>_JA)
break;var _PB=_LB.GetParamByName("MediaPlayer");if(_PB.ArgumentList[0]!=szCurrentASFFile)
{szCurrentASFFile=_PB.ArgumentList[0];fStartOfNewMediaFile=_LB.fTime;g_nIgnoreThisEvent=i;}}var fAns=_JA-fStartOfNewMediaFile;if(fAns<0.0)
fAns=0.0;return fAns;}function MediaPlayer_SetCurrentPosition(_IA,bAndPlay)
{g_fIgnoreMessages=1;if(g_bUseMP7)
{if(MediaPlayer_CanSeek())
MediaPlayer.Controls.currentPosition=_IA;else
g_nIgnoreThisEvent=-1;}else
{if(g_bPreviewMode)
{MediaPlayer.CurrentPosition=_IA;}else
{if(MediaPlayer.CanSeek)
{g_nNumTimesTrySetCurrentPositon=0;if(bAndPlay)
MediaPlayer.Play();if(MediaPlayer.CurrentPosition!=_IA)
setTimeout("MediaPlayer.CurrentPosition="+_IA+";",1);MediaPlayer_UpdateControls(MediaPlayer.playState);}else if(g_nNumTimesTrySetCurrentPositon<20)
{var szMediaFile=_ZA[0].GetMediaFilename();if(szMediaFile.substr(0,5).toLowerCase()=="mms:"||m_szProtocol!="http")
{setTimeout("MediaPlayer_SetCurrentPosition("+_IA+","+bAndPlay+");",500);g_nNumTimesTrySetCurrentPositon++;}g_nIgnoreThisEvent=-1;}else
{g_nNumTimesTrySetCurrentPositon=0;}}}g_fIgnoreMessages=0;}function MediaPlayer_GetCurrentPosition()
{if(g_bUseMP7)
return MediaPlayer.Controls.currentPosition;else
return MediaPlayer.CurrentPosition;}function MediaPlayer_CanSeek()
{if(g_bUseMP7)
return MediaPlayer.Controls.isAvailable("CurrentPosition");else
return MediaPlayer.CanSeek;}function MediaPlayer_PlayPause()
{if(g_bUseMP7)
{if(MediaPlayer.PlayState==3)
MediaPlayer.Controls.Pause();else
MediaPlayer.Controls.Play();}else
{if(MediaPlayer.PlayState==2)
MediaPlayer.Pause();else
MediaPlayer.Play();}}function MediaPlayer_Play()
{if(g_bUseMP7)
{var _DB=MediaPlayer.PlayState;if(_DB==1||_DB==2||_DB==3||_DB==10)
{MediaPlayer.Controls.Play();return 1;}return 0;}else
{var _DB=MediaPlayer.PlayState;if(_DB==0||_DB==1)
{MediaPlayer.Play();return 1;}return 0;}}function MediaPlayer_Pause()
{if(g_bUseMP7)
{var _DB=MediaPlayer.PlayState;if(_DB==1||_DB==10)
{MediaPlayer.Controls.Play();MediaPlayer.Controls.Pause();return 1;}else if(_DB==3)
{MediaPlayer.Controls.Pause();return 1;}return 0;}else
{var _DB=MediaPlayer.PlayState;if(_DB==0)
{MediaPlayer.Play();MediaPlayer.Pause();return 1;}else if(_DB==2)
{MediaPlayer.Pause();return 1;}return 0;}}function MediaPlayer_IsPlaying()
{if(g_bUseMP7)
{var _DB=MediaPlayer.PlayState;if(_DB==3)
return 1;}else if(!g_bUseMP7)
{var _DB=MediaPlayer.PlayState;if(_DB==2)
return 1;}return 0;}function MediaPlayer_Stop()
{if(g_bUseMP7)
{MediaPlayer.Controls.Stop();}else
{MediaPlayer.Stop();}}function MediaPlayer_Previous()
{if(IsPresentationNotLocalOnNT4())
return;var _RB;_RB=_f(_XA,-1);if(_RB!=null)
{_t(_RB,0);}}function MediaPlayer_Next()
{if(IsPresentationNotLocalOnNT4())
return;var _OB;_OB=_f(_XA,1);if(_OB!=null)
{_t(_OB,0);}}function MediaPlayer_SetButtonImageInternal(_KA,szBtnClass)
{_KA.className=szBtnClass;}function MediaPlayer_SetButtonImage(_KA,_VB)
{var szClass=_KA.id+"_"+_VB;if(_KA.id=="PlayerPlayPause")
{if(MediaPlayer_IsPlaying())
szClass="PlayerPause_"+_VB;else
szClass="PlayerPlayPause_"+_VB;}MediaPlayer_SetButtonImageInternal(_KA,szClass);}function MediaPlayer_ButtonRollOver(_KA)
{if(window.event&&_KA.contains(window.event.fromElement))
return 0;if(_KA.WMEnabled==0)
return;if(_KA.id=="PlayerPlayPause")
{if(_KA.className.indexOf("PlayerPause_")== -1)
window.status=g_szPlayStatus;else
window.status=g_szPauseStatus;}else if(_KA.id=="PlayerStop")
window.status=g_nPlayStatus;else if(_KA.id=="PlayerPrevious")
window.status=g_szPrevStatus;else if(_KA.id=="PlayerNext")
window.status=g_szNextStatus;else if(_KA.id=="PlayerDiscussion")
window.status=g_szDiscussStatus;else
{}MediaPlayer_SetButtonImage(_KA,"Hover");}function MediaPlayer_ButtonRollOut(_KA)
{if(window.event&&_KA.contains(window.event.toElement))
return 0;window.status="";if(_KA.WMEnabled==0)
return;MediaPlayer_SetButtonImage(_KA,"Rest");}function MediaPlayer_OnMouseDown(_KA)
{if(event.type.toLowerCase()== "keydown")
if(event.keyCode!=13)
return;if(_KA.WMEnabled==0)
return;MediaPlayer_SetButtonImage(_KA,"Down");}function MediaPlayer_OnMouseUp(_KA)
{if(event.type.toLowerCase()== "keyup")
if(event.keyCode!=13)
return;if(_KA.WMEnabled==0)
return;MediaPlayer_SetButtonImage(_KA,"Rest");if(window.event&&_KA.contains(window.event.srcElement))
{if(_KA.id=="PlayerPlayPause")
{g_bPauseAfterBuffer=0;g_nIgnoreThisEvent=-1;MediaPlayer_PlayPause();if(MediaPlayer_IsPlaying())
window.status=g_szPauseStatus;else
window.status=g_szPlayStatus;}else if(_KA.id=="PlayerStop")
MediaPlayer_Stop();else if(_KA.id=="PlayerPrevious")
MediaPlayer_Previous();else if(_KA.id=="PlayerNext")
MediaPlayer_Next();else if(_KA.id=="PlayerDiscussion")
DiscussionToggle();else
{}}}function MediaPlayer_SetFilename(_cB)
{if(g_bUseMP7)
{var _aB=escape(MediaPlayer.URL);var _eB=escape(_cB);if(_aB.search(_eB)== -1)
{MediaPlayer.URL=_cB;}}else
{var _aB=escape(MediaPlayer.Filename);var _eB=escape(_cB);if(_aB.search(_eB)== -1)
{MediaPlayer.Filename=_cB;}}}function IsPresentationNotLocalOnNT4()
{return CheckOSNT4()&&!g_bUseMP7&&IsPresentationNotLocalPlayback();}function IsPresentationNotLocalPlayback()
{if(g_bUseMP7)
{var szProto=MediaPlayer.network.sourceProtocol.toLowerCase();return (szProto!="file");}else
{var nProto=MediaPlayer.SourceProtocol;return (nProto!=7);}return 0;}function IsPresentationStreaming()
{if(g_bUseMP7)
{var szProto=MediaPlayer.network.sourceProtocol.toLowerCase();return (szProto=="mmsu"||szProto=="mmst");}else
{var nProto=MediaPlayer.SourceProtocol;return (nProto== 3||nProto==4);}return 0;}function MediaPlayer_SetCurrentLocation(nEntry,fTime)
{var fEntryStartTime=0.0;if(!g_bPreviewMode&&!g_bPrerollOnlyMode)
{fEntryStartTime=FindTimeDeltaIntoMediaFile(fTime);}else
{fEntryStartTime=fTime;}var bAndPlay=MediaPlayer_IsPlaying();if(!g_bPreviewMode&&!MediaPlayer_IsCurrentEntry(nEntry))
{if(!bAndPlay)
{if(g_bUseMP7&&g_fStartingTime!=fTime)
{g_bPlayAfterBuffer=0;g_bPauseAfterBuffer=1;}MediaPlayer_Play();}else
{g_bPlayAfterBuffer=1;g_bPauseAfterBuffer=0;}}if(g_bPreviewMode||(!MediaPlayer_SetCurrentEntry(nEntry)))
{MediaPlayer_SetCurrentPosition(fEntryStartTime,bAndPlay);}else
{if(g_nSeekEntryWhenOpen==-1)
{g_nSeekEntryWhenOpen=nEntry;g_fSeekTimeWhenOpen=fTime;g_fIgnoreMessages=1;}}}function MediaPlayer_IsCurrentEntry(nEntry)
{if(nEntry==-1)
return 0;if(g_bUseMP7)
{if(nEntry<MediaPlayer.currentPlaylist.count)
{if(MediaPlayer.currentPlaylist.item(nEntry).isIdentical(MediaPlayer.currentMedia))
{return 1;}}}else
{if(MediaPlayer_IsPlaying()&& nEntry<MediaPlayer.EntryCount)
{if((nEntry +1)== MediaPlayer.GetCurrentEntry())
{return 1;}}}return 0;}function MediaPlayer_SetCurrentEntry(nEntry)
{if(nEntry==-1)
return 0;if(g_bUseMP7)
{if(nEntry<MediaPlayer.currentPlaylist.count)
{if(!MediaPlayer.currentPlaylist.item(nEntry).isIdentical(MediaPlayer.currentMedia))
{if(MediaPlayer_IsPlaying())
{MediaPlayer.controls.playItem(MediaPlayer.currentPlaylist.item(nEntry));}else
MediaPlayer.controls.currentItem=MediaPlayer.currentPlaylist.item(nEntry);return 1;}}}else
{if(MediaPlayer_IsPlaying()&& nEntry<MediaPlayer.EntryCount)
{if((nEntry +1)!= MediaPlayer.GetCurrentEntry())
{MediaPlayer.SetCurrentEntry(nEntry+1);return 1;}}}return 0;}function MediaPlayer_GetCurrentEntry()
{if(g_bUseMP7)
{var i,_fA=MediaPlayer.currentPlaylist.count;for(i=0;i<_fA;i++)
{if(MediaPlayer.currentPlaylist.item(i).isIdentical(MediaPlayer.currentMedia))
return i;}return 0;}else
{try
{return MediaPlayer.GetCurrentEntry()-1;}catch(e)
{return 0;}}}function MediaPlayer_PositionChange(fOldPos,fNewPos)
{MediaPlayer_UpdatePlayerClock(-1);}function MediaPlayer_PlayStateChange(lOldState,lNewState)
{if(g_bUseMP7)
MediaPlayer_UpdateControls(lOldState);else
MediaPlayer_UpdateControls(lNewState);if(g_bPreviewMode)
{if(lNewState==2)
MediaPlayer_StartClock();else
MediaPlayer_StopClock();}}function MediaPlayer_UpdateControls(playState)
{try
{var _UB=PlayerPlayPause.style.backgroundImage;if((g_bUseMP7&&playState==3)|| (!g_bUseMP7&&playState==2))
MediaPlayer_SetButtonImageInternal(PlayerPlayPause,"PlayerPause_Rest");else
MediaPlayer_SetButtonImageInternal(PlayerPlayPause,"PlayerPlayPause_Rest");}catch(e)
{}}function MediaPlayer_UpdatePlayerClock()
{if(arguments.length)
{if(arguments[0]==-1)
g_nCurrentClock=GetPresentationTime();else
g_nCurrentClock=arguments[0];}PlayerClock.innerText=_EA(g_nCurrentClock)+" / "+g_szDuration;if(g_bCannotSeekYet)
{if(MediaPlayer_CanSeek())
{setTimeout("MediaPlayer_UpdateNextPrevButtons();",1);}}}function MediaPlayer_UpdateNextPrevButtons()
{if(!g_rgTOC.length||_bA==g_rgTOC[0]||g_bCannotSeekYet)
{PlayerPrevious.WMEnabled=0;PlayerPrevious.style.cursor="default";try
{if(PlayerPrevious.filters.item(0).enabled==0)
{PlayerPrevious.filters.item(2).stop();PlayerPrevious.filters.item(2).apply();PlayerPrevious.filters.item(0).enabled=1;PlayerPrevious.filters.item(1).enabled=1;PlayerPrevious.filters.item(2).play();}}catch(e)
{ }}else
{PlayerPrevious.WMEnabled=1;PlayerPrevious.style.cursor="hand";try
{if(PlayerPrevious.filters.item(0).enabled==1)
{PlayerPrevious.filters.item(2).stop();PlayerPrevious.filters.item(2).apply();PlayerPrevious.filters.item(0).enabled=0;PlayerPrevious.filters.item(1).enabled=0;PlayerPrevious.filters.item(2).play();}}catch(e)
{ }}if(!g_rgTOC.length||_bA==g_rgTOC[g_rgTOC.length-1] ||g_bCannotSeekYet)
{PlayerNext.WMEnabled=0;PlayerNext.style.cursor="default";try
{if(PlayerNext.filters.item(0).enabled==0)
{PlayerNext.filters.item(2).stop();PlayerNext.filters.item(2).apply();PlayerNext.filters.item(0).enabled=1;PlayerNext.filters.item(1).enabled=1;PlayerNext.filters.item(2).play();}}catch(e)
{ }}else
{PlayerNext.WMEnabled=1;PlayerNext.style.cursor="hand";try
{if(PlayerNext.filters.item(0).enabled==1)
{PlayerNext.filters.item(2).stop();PlayerNext.filters.item(2).apply();PlayerNext.filters.item(0).enabled=0;PlayerNext.filters.item(1).enabled=0;PlayerNext.filters.item(2).play();}}catch(e)
{ }}}function MediaPlayer_ScriptCommand(scType,Param)
{if(g_fIgnoreMessages)
{return;}g_bHandlingMarkerHitEvent=1;if(scType=="EVAL")
{if(Param!="EVAL")
eval(Param);}g_bHandlingMarkerHitEvent=0;}function MediaPlayer_ErrorDescription()
{if(g_bUseMP7)
return MediaPlayer.error.item(0).errorDescription;else
return MediaPlayer.ErrorDescription;}function MediaPlayer_ErrorCode()
{if(g_bUseMP7)
return MediaPlayer.error.item(0).errorCode;else
return MediaPlayer.ErrorCode;}function DiscussionHR_OnMouseDown()
{DiscussionHR.setCapture();g_bTrackingY=DiscussionDiv.style.pixelTop-event.clientY;}function DiscussionHR_OnMouseUp()
{g_bTrackingY=-1;DiscussionHR.releaseCapture();}function DiscussionHR_OnMouseMove()
{var nBottomBorder=GetStyleValue_Integer(DiscussionDiv.currentStyle.paddingBottom);var nTopBorder=GetStyleValue_Integer(DiscussionGripImage.currentStyle.height);var nContent=GetStyleValue_Integer(DiscussionContentDiv.currentStyle.WMMinHeight);var nMinMoveHeight=(document.body.clientHeight+document.body.scrollTop)-(nBottomBorder+nTopBorder+nContent);var nCurrPos=event.clientY+document.body.scrollTop;if(g_bTrackingY!=-1)
{if((event.clientY+document.body.scrollTop)> g_nMinimumDicussionTop&&nCurrPos<nMinMoveHeight)
DiscussionDiv.style.top=event.clientY+document.body.scrollTop;else if((event.clientY+document.body.scrollTop)< g_nMinimumDicussionTop)
DiscussionDiv.style.top=g_nMinimumDicussionTop;SetDivContentHeight();SetDynamicDivDimensions();}}function DiscussionToggle()
{if(DiscussionDiv.style.display=="none")
{DiscussionDiv.style.display="inline";var _jA=document.body.clientHeight-180;if(_jA>g_nMinimumDicussionTop)
{DiscussionDiv.style.top=_jA;}else
{DiscussionDiv.style.top=g_nMinimumDicussionTop;}if(_I())
{DiscussionDiv.filters.item(0).Apply();DiscussionDiv.style.visibility="visible";OSEObjectsDiv.style.visibility="visible";ViewDiv.style.visibility="visible";DiscussionDiv.filters.item(0).Play();}else
{DiscussionDiv.style.visibility="visible";OSEObjectsDiv.style.visibility="visible";ViewDiv.style.visibility="visible";}SetDivContentHeight();SetDynamicDivDimensions();CreateDiscussionServerObjects();}else
{DiscussionDiv.runtimeStyle.removeAttribute("height",0);DiscussionDiv.style.visibility="hidden";OSEObjectsDiv.style.visibility="hidden";ViewDiv.style.visibility="hidden";DiscussionDiv.style.display="none";}}function SetEvent(_sA)
{if(!g_bPreviewMode&&_sA==g_nIgnoreThisEvent)
{return;}_u(_sA,1);}function ItemNode()
{var i,_GB=arguments.length;if(_GB<3)
return;this.nID=arguments[0];if(typeof(this.nID)!= "number")
return;this.szSourceFile=arguments[1];if(typeof(this.szSourceFile)!= "string")
return;var pArgs=new Array();this.szSourceFile=FillArgumentArray(this.szSourceFile,pArgs);if(pArgs.length==3&&this.szSourceFile=="IMAGE")
{this.szPrerollFile=MakeAbsolutePath(pArgs[0]);var _jB=CONST_IMAGE_SCRIPT;_jB=_jB.replace(new RegExp("%1!s!","i"),pArgs[0]);_jB=_jB.replace(new RegExp("%2!s!","i"),pArgs[1]);this.szSourceFile=_jB.replace(new RegExp("%3!s!","i"),pArgs[2]);}else
this.szSourceFile=MakeAbsolutePath(this.szSourceFile);this.nSize=arguments[2];if(typeof(this.nSize)!= "number")
return;this.rgDependancies=new Array();for(i=3;i<_GB;i++)
{this.rgDependancies[i-3]=arguments[i];}this.nTotalSize=-1;this.nDownloadStatus=_B;this.fEarliestTimeNeeded=-1;this.fLatestSendTime=-1;this.Download=_l;this.CalcTotalSizeAtTime=_k;this.IsNeededAfterEventID=ItemNode_IsNeededAfterEventID;this.nEventItemList=new Array();}function ItemNode_IsNeededAfterEventID(nID)
{if(nID==-1)
return 1;for(var i=0;i<this.nEventItemList.length;i++)
if(nID<=this.nEventItemList[i])
return 1;return 0;}function _n(argTwo)
{if(!g_bUseBandwidthManagement)
return;try
{var pFrame;if(g_bIsBMCSS)
pFrame=g_pHiddenFrame.frameElement;else
pFrame=g_pHiddenFrame;if(g_nPlayStatus!=_G&&pFrame.readyState=="complete"&&pFrame.src!="")
{if(!argTwo)
{window.setTimeout("_n(1)",100,"JavaScript");return;}var _BB=_YA.length;if(_BB>0)
{var _uA=_YA[_BB-1];var _NB=_aA[_uA];_NB.nDownloadStatus=_A;var j,_hA=_NB.rgDependancies.length;for(j=0;j<_hA;j++)
{if(_aA[_NB.rgDependancies[j]].nDownloadStatus==_B)
{_aA[_NB.rgDependancies[j]].Download();return;}}if(_BB>1)
{var _xA=_uA+1;pParentItem=_aA[_YA[_BB-2]];var j,_hA=pParentItem.rgDependancies.length;for(j=_xA;j<_hA;j++)
{var pNextSibling=_aA[pParentItem.rgDependancies[_xA]];if(pNextSibling==_B)
{pNextSibling.Download();return;}}_YA.length=_YA.length-1;_n();}else
{_VA();}}}else
{if(!g_bHasReadyStateChangeEvent)
{window.setTimeout("_n()",200,"JavaScript");}}}catch(e)
{}}function _l()
{if(!_YA)
_YA=new Array();_YA[_YA.length]=this.nID;if(this.nDownloadStatus==_B)
{if(g_pHiddenFrame)
{try
{var pDoc=document.frames("HideFrame").document;pDoc.open();pDoc.close();if(!g_bIsBMCSS)
g_pHiddenFrame.removeNode(1);}catch(e)
{g_pHiddenFrame.id="LeakedHiddenFrame";}g_pHiddenFrame=null;}g_pHiddenFrame=document.createElement("<iframe>");g_pHiddenFrame.style.display="none";g_pHiddenFrame.id="HideFrame";var _IB=new Date();_UA=_IB.getTime();var szExt,_cB;if(this.szPrerollFile)
{_cB=this.szPrerollFile;}else
{_cB=this.szSourceFile;}g_bIsBMCSS=0;szExt=_cB.substr(_cB.length-3).toLowerCase();if(szExt=="css")
{var _jB=CONST_PREROLL_CSS;_jB=_jB.replace(new RegExp("%1!s!","i"),_cB);g_pHiddenFrame=HiddenFrame;g_pHiddenFrame.WMNextSrc=_jB;g_bIsBMCSS=1;}else if(szExt==".js")
{var _jB=CONST_PREROLL_SCRIPT;_jB=_jB.replace(new RegExp("%1!s!","i"),_cB);g_pHiddenFrame.WMNextSrc=_jB;}else if(szExt=="emz"||szExt=="wmz"||szExt=="wmf")
{var _jB=CONST_PREROLL_EMZ;_jB=_jB.replace(new RegExp("%1!s!","i"),_cB);g_pHiddenFrame.WMNextSrc=_jB;}else if(szExt=="mso")
{var _jB=CONST_PREROLL_MSO;_jB=_jB.replace(new RegExp("%1!s!","i"),_cB);g_pHiddenFrame.WMNextSrc=_jB;}else if(szExt=="htm"||szExt=="jpg"||szExt=="gif"||szExt=="bmp"||szExt=="png"||szExt=="xml")
{g_pHiddenFrame.WMNextSrc=_cB;}else
{}window.setTimeout("NavigateHIDDENFrame();",100);if(!g_bHasReadyStateChangeEvent)
{window.setTimeout("_n()",200,"JavaScript");}return 1;}else
{_UA=-1;_n();return 0;}}function NavigateHIDDENFrame()
{g_pHiddenFrame.src=g_pHiddenFrame.WMNextSrc;if(!g_bIsBMCSS)
document.body.appendChild(g_pHiddenFrame);}function _k(fTime)
{if(this.nTotalSize==-1||(this.fEarliestTimeNeeded==-1||fTime<this.fEarliestTimeNeeded))
{var j,_hA;this.fEarliestTimeNeeded=fTime;this.nTotalSize=this.nSize;_hA=this.rgDependancies.length;for(j=0;j<_hA;j++)
{this.nTotalSize+=_aA[this.rgDependancies[j]].CalcTotalSizeAtTime(fTime);}return this.nTotalSize;}return 0;}function AddItem(pItemNode)
{_aA[_aA.length]=pItemNode;}function MakeAbsolutePath(_jB)
{var knExtensionLen=3;var szExt=_jB.substr(_jB.length-knExtensionLen,knExtensionLen).toLowerCase();if(_jB.indexOf(":")== -1 &&
_jB.charAt(0)!="/")
{if(szExt=="asx")
{return g_szPath+g_szProfileIndex+_jB;}else
return g_szPath+_jB;}return _jB;}function FillArgumentArray(_jB,pArguments)
{var _AB=_jB.indexOf("?,?");if(_AB!=-1)
{szArgument=_jB.substr(_AB+3);_jB=_jB.substr(0,_AB);while((_AB=szArgument.indexOf("?,?"))!=-1)
if(_AB!=-1)
{pArguments[pArguments.length]=szArgument.substr(0,_AB);szArgument=szArgument.substr(_AB+3);}pArguments[pArguments.length]=szArgument;}return _jB;}function _M(nType,szTagOrCommand,_jB,nItemNodeIndex,pArguments)
{this.nType=nType;this.szTagOrCommand=szTagOrCommand;this._jB=_jB;this.nItemNodeIndex=nItemNodeIndex;var i;this.ArgumentList=new Array();for(i=0;i<pArguments.length;i++)
{this.ArgumentList[i]=pArguments[i];}}function EventNode()
{var i,_GB=arguments.length;if(_GB<2)
return;this.GetParamTagname=_X;this.GetParamValue=_Y;this.GetParamType=EventNode_GetParamType;this.GetParamArgument=EventNode_GetParamArgument;this.GetParamItemNodeIndex=EventNode_GetParamItemNodeIndex;this.GetParamByName=_W;this.GetMediaFilename=_U;this.GetMediaFileEntry=EventNode_GetMediaFileEntry;this.GetTOCTitle=_b;this.GetTOCIndent=_a;this.GetTime=_c;this.CalcTotalSize=_P;this.AreAllItemsDownloaded=_O;this.ApplyEventParam=_N;this.ExecuteEvent=_R;this.CueMediaFile=_Q;this.ClickSlide=EventNode_ClickSlide;this.GetSlide=_Z;this.GetHTML1=_S;this.GetLayout=_T;this.nID=arguments[0];if(typeof(this.nID)!= "number")
return;this.fTime=arguments[1];if(typeof(this.fTime)!= "number")
return;this.nRelativeSize=-1;this.ParameterList=new Array();for(i=2;i<_GB;i++)
{var _sA,nType,szTagOrCommand,_jB="",nItemNodeIndex=-1,szArgument,pArguments;var szParam=arguments[i];if(szParam.charAt(0)== "#")
{nType=_D;}else
{nType=_E;}_AB=szParam.indexOf("=");if(_AB!=-1)
{szTagOrCommand=szParam.substr(0,_AB);_jB=szParam.substr(_AB+1);if(_jB.charAt(0)== "<"&&(_AB=_jB.indexOf(">"))!=-1)
{var szIndex=_jB.substring(1,_AB);nItemNodeIndex=parseInt(szIndex);_jB=_aA[nItemNodeIndex].szSourceFile;}pArguments=new Array();_jB=FillArgumentArray(_jB,pArguments)
if(_jB=="LINK"&&pArguments.length==2)
{_jB=CONST_LINK_SCRIPT;_jB=_jB.replace(new RegExp("%1!s!","i"),pArguments[0]);_jB=_jB.replace(new RegExp("%2!s!","i"),pArguments[1]);nType=CONST_ENP_TAGSCRIPT;}else if(_jB=="IMAGE"&&pArguments.length==3)
{_jB=CONST_IMAGE_SCRIPT;_jB=_jB.replace(new RegExp("%1!s!","i"),pArguments[0]);_jB=_jB.replace(new RegExp("%2!s!","i"),pArguments[1]);_jB=_jB.replace(new RegExp("%3!s!","i"),pArguments[2]);nType=CONST_ENP_TAGSCRIPT;}else
{_jB=MakeAbsolutePath(_jB);}}else
szTagOrCommand=szParam;if(szTagOrCommand=="MediaPlayer")
{nType=CONST_ENP_MEDIA_FILE;}this.ParameterList[i-2]=new _M(nType,szTagOrCommand,_jB,nItemNodeIndex,pArguments);}}function _X(_EB)
{if(_EB>=this.ParameterList.length)
return;return this.ParameterList[_EB].szTagOrCommand;}function _Y(_EB)
{if(_EB>=this.ParameterList.length)
return;return this.ParameterList[_EB]._jB;}function EventNode_GetParamType(_EB)
{if(_EB>=this.ParameterList.length)
return;return this.ParameterList[_EB].nType;}function EventNode_GetParamArgument(_EB,nWhichArg)
{if(_EB>=this.ParameterList.length)
return;if(nWhichArg>=this.ParameterList[_EB].ArgumentList.length)
return;return this.ParameterList[_EB].ArgumentList[nWhichArg];}function _W(_kB)
{var i,re,_fA=this.ParameterList.length;re=new RegExp(_kB,"i");for(i=0;i<_fA;i++)
{var _AB;_AB=this.ParameterList[i].szTagOrCommand.search(re);if(_AB!=-1)
{return this.ParameterList[i];}}return null;}function EventNode_GetParamItemNodeIndex(_EB)
{if(_EB>=this.ParameterList.length)
return;return this.ParameterList[_EB].nItemNodeIndex;}function _Q()
{if(g_bMediaFileCued)
return;var szParam;szParam=this.GetMediaFilename();if(szParam)
{MediaPlayer_SetFilename(unescape(szParam));}g_bMediaFileCued=1;return 0;}function _U()
{var _PB=this.GetParamByName("MediaPlayer");if(_PB)
return _PB._jB;else
return null;}function EventNode_GetMediaFileEntry()
{var _PB=this.GetParamByName("MediaPlayer");if(_PB)
{return parseInt(_PB.ArgumentList[CONST_ENPA_INDEX_MEDIA_ENTRY]);}return null;}function _b()
{var _SB=this.GetParamByName("#TOCTitle"),i;if(_SB==null)
return 0;var _iB=_SB._jB;if(_iB)
{_iB=unescape(_iB);var replaced="";for(i=0;i<_iB.length;i++)
{if(_iB.charAt(i)== '<')
replaced+="&lt;";else
replaced+=_iB.charAt(i);}_iB=replaced;}return _iB;}function _a()
{var _LB=this.GetParamByName("#TOCIndent");if(_LB)
return _LB._jB;else
return 0
}function _c()
{return this.fTime;}function _O()
{if(g_bPreviewMode)
return 1;var i,_fA=this.ParameterList.length;for(i=0;i<_fA;i++)
{var _AB;_AB=this.ParameterList[i].nItemNodeIndex;if(_AB!=-1)
{if(_aA[_AB].nDownloadStatus==_B)
return 0;}}return 1;}function _Z()
{var _LB=this.GetParamByName("SlidesFrame");if(_LB)
return _LB._jB;else
return null;}function _S()
{var _LB=this.GetParamByName("HTML1");if(_LB)
return _LB._jB;else
return null;}function _T()
{var _LB=this.GetParamByName("Layout");if(_LB)
return _LB._jB;else
return null;}function _P()
{var i,_fA=this.ParameterList.length;this.nRelativeSize=0;for(i=0;i<_fA;i++)
{var _PB=this.ParameterList[i]
if(_PB.nItemNodeIndex!=-1)
{this.nRelativeSize+=_aA[_PB.nItemNodeIndex].CalcTotalSizeAtTime(this.fTime);_aA[_PB.nItemNodeIndex].nEventItemList[_aA[_PB.nItemNodeIndex].nEventItemList.length]=this.nID;}}}function _R(_FA)
{setTimeout("_DA()",1);MediaPlayer_UpdatePlayerClock(-1);for(i=0;i<this.ParameterList.length;i++)
{var _hB,_jB,nType;nType=this.GetParamType(i);_hB=this.GetParamTagname(i);_jB=this.GetParamValue(i);if(nType==CONST_ENP_MEDIA_FILE)
{if(!_FA&&!g_bHandlingMarkerHitEvent)
{MediaPlayer_SetCurrentLocation(this.GetMediaFileEntry(),this.fTime);}}else if(nType==_D)
{if(_hB=="#EVAL")
{try
{eval(_jB);}catch(e)
{}}else if(_hB=="#SLIDECLICK")
{var _AB=_jB.indexOf(",");if(_AB!=-1)
{var szArgument=_jB.substr(_AB+1);_jB=_jB.substr(0,_AB);this.ClickSlide(parseInt(_jB),parseInt(szArgument));}}}else
{var j,pTag=null;for(j=0;j<g_rgEventTags.length;j++)
{if(g_rgEventTags[j].id==_hB)
{pTag=g_rgEventTags[j];break;}}if(!pTag)
{pTag=document.all.item(_hB);if(!pTag)
return;g_rgEventTags[g_rgEventTags.length]=pTag;}var nNodeIndex=this.GetParamItemNodeIndex(i);if(nNodeIndex==-1||pTag.IndexNodeIndex!=nNodeIndex||g_bForceReload)
{this.ApplyEventParam(pTag,_jB,nType);pTag.IndexNodeIndex=nNodeIndex;}}}}function NavigateIFRAME(szFrameID)
{var pFrame=document.all.item(szFrameID);if(pFrame)
{try
{if(pFrame.WMNextSrc.indexOf("javascript:")== 0 &&
pFrame.WMNextSrc.indexOf("PreLoad()")==-1)
{if(_I())
pFrame.contentWindow.navigate(unescape(pFrame.WMNextSrc));else
pFrame.navigate(unescape(pFrame.WMNextSrc));}else
pFrame.src=unescape(pFrame.WMNextSrc);}catch(e)
{window.setTimeout("NavigateIFRAME(\""+pFrame.id+"\");",100);}pFrame.parentElement.runtimeStyle.removeAttribute("visibility",0);}}function _N(pTag,_jB,nType)
{if(pTag!=null)
{if(pTag.nodeName=="IFRAME")
{if(_jB=="")
{pTag.parentElement.runtimeStyle.visibility="hidden";}else
{if(g_bForceReload||pTag.WMNextSrc!=_jB||g_bStatic!=g_bLastSlideStatic)
{g_bForceReload=0;if(pTag.id!="SlidesFrame"||!_I())
{pTag.parentElement.runtimeStyle.visibility="hidden";}if(nType==CONST_ENP_TAGSCRIPT)
pTag.src="";pTag.WMNextSrc=_jB;if(_jB.indexOf("PreLoad()")!=-1)
{pTag.src="";g_bStatic=0;g_iCurrentOnClickEvent=0;g_iCurrentSlide=-1;}else if(g_bStatic&&pTag.id=="SlidesFrame"&&nType!=CONST_ENP_TAGSCRIPT)
{pTag.WMNextSrc=pTag.WMNextSrc+"#0";}window.setTimeout("NavigateIFRAME(\""+pTag.id+"\");",50);g_bLastSlideStatic=g_bStatic;}}}else if(pTag.nodeName=="LINK")
{g_bRecalcPlayerClockPosition=1;var i,pTags=document.all.tags("DIV");for(i=0;i<pTags.length;i++)
{var pDIV=pTags(i);pDIV.style.removeExpression("width");pDIV.style.removeExpression("height");}setTimeout("UpdateCSSFile(\""+unescape(_jB)+"\");",1);}else
{return 0;}return 1;}return 0;}function UpdateCSSFile(szVal)
{document.all.LINKLAYOUT.href=szVal;RemoveCustomDIVAttributes();g_bRecalcPlayerClockPosition=1;}function Slide_DelayClick(delayedAttempts)
{if(delayedAttempts>10)
return;var i=0;try
{if(SlidesFrame)
SlidesFrame.document.body.pptNext();}catch(e)
{setTimeout("Slide_DelayClick("+(delayedAttempts+1)+")",50);}}function EventNode_ClickSlide(iIndex,iSlide)
{if(g_iCurrentSlide==iSlide)
{if(iIndex==0&&g_iCurrentOnClickEvent!=0)
{g_bStatic=0;g_bForceReload=1;g_iCurrentOnClickEvent=0;}else if(!g_bStatic&&g_iCurrentOnClickEvent<iIndex)
{for(i=0;i<iIndex-g_iCurrentOnClickEvent;i++)
Slide_DelayClick(1);g_iCurrentOnClickEvent=iIndex;}}else if(iIndex==0)
{g_iCurrentOnClickEvent=0;g_iCurrentSlide=iSlide;g_bStatic=0;}else
{g_iCurrentOnClickEvent=-1;g_iCurrentSlide=iSlide;g_bStatic=1;}}function AddEvent(_MB)
{_ZA[_ZA.length]=_MB;}function SetPresentationTime(_JA,_FA)
{var _LB=null,i,_oA=_ZA.length;_LB=_ZA[0];for(i=1;i<_oA;i++)
{if(_ZA[i].fTime>_JA)
{break;}_LB=_ZA[i];}if(!g_bPreviewMode&&_JA!=0.0)
{if(g_bUseMP7||_JA!=0.0)
g_fIgnoreMessages=1;if(!g_bUseMP7)
g_bPlayWhenOpen=1;}g_nSeekEntryWhenOpen=_LB.GetMediaFileEntry();g_fSeekTimeWhenOpen=_JA;_t(_LB,_FA);}function GetPresentationTime()
{var fCurrentPosition=MediaPlayer_GetCurrentPosition();var nCurrentEntry=MediaPlayer_GetCurrentEntry();if(fCurrentPosition<=0.0||isNaN(fCurrentPosition))
fCurrentPosition=0.0;var i,nWMVCount=g_rgfWMVStartTimes.length;if(nCurrentEntry<0||nCurrentEntry>=nWMVCount)
fRetVal=fCurrentPosition;else
fRetVal=g_rgfWMVStartTimes[nCurrentEntry]+fCurrentPosition;if(fRetVal>g_nDuration)
fRetVal=g_nDuration;return fRetVal;}function _u(nID,_FA)
{var _fA=_ZA.length;if(nID>=0&&nID<_fA)
{return _t(_ZA[nID],_FA);}}function _t(_LB,_FA)
{if(_LB==null)
{return 0;}if(_XA&&!_FA)
{if(_LB.GetMediaFileEntry()== _XA.GetMediaFileEntry())
{var bCannotSeek=!MediaPlayer_CanSeek();if(g_bCannotSeekYet!=bCannotSeek)
setTimeout("MediaPlayer_UpdateNextPrevButtons();",1);if(bCannotSeek)
{return 0;}}}if(g_bUseBandwidthManagement&&_XA)
{if(_LB.nID!=_XA.nID+1)
{g_nSeekToEvent=_LB.nID;m_bNeedRebuildItemArray=1;}}_XA=_LB;_LB.ExecuteEvent(_FA);if(g_bUseBandwidthManagement&&!_LB.AreAllItemsDownloaded())
{g_bPausedForDownload=1;try
{setTimeout("MediaPlayer_Pause();",1);}catch(e)
{ }_q();_BA();window.setTimeout("_p("+_FA+")",400,"JavaScript");}}function _p(_FA)
{if(!_XA.AreAllItemsDownloaded())
{window.setTimeout("_p("+_FA+")",400,"JavaScript");}else
{g_bPausedForDownload=0;MediaPlayer_Play();_XA.ExecuteEvent(_FA);}}function _f(_HB,_iA)
{var i,_fA=_ZA.length;for(i=_HB.nID+_iA;i>=0&&i<_fA;i+=_iA)
{if(_ZA[i].GetTOCTitle()!= 0)
{return _ZA[i];}}if(_iA<0)
return _ZA[0];else
return _ZA[_fA-1];}function _r(elem)
{if(elem.offsetParent!=null)
return elem.offsetLeft+_r(elem.offsetParent);return elem.offsetLeft;}function _s(elem)
{if(elem.offsetParent!=null)
return elem.offsetTop+_s(elem.offsetParent);return elem.offsetTop;}function EllipsifyTOC(pSingleDiv)
{if(CheckBrowserIE60())
return;var _lB=TOCContentDiv;var _pA=_r(TOCContentDiv);var _qA=_pA+TOCContentDiv.clientWidth;if(_qA==0)
return;if(!pSingleDiv)
{var divs=TOCContentDiv.all.tags("div"),i
for(i=0;i<divs.length;i++)
{var pDiv=divs[i];EllipsifyDiv(pDiv,_qA);}}else
{EllipsifyDiv(pSingleDiv,_qA);}}function EllipsifyDiv(pDiv,nParentLimitX)
{pDiv.innerHTML=_ZA[parseInt(pDiv.WMEventID)].GetTOCTitle();var _JB=document.body.createTextRange();_JB.moveToElementText(pDiv);var _kA,_lA,bDoIt=0;_kA=_JB.boundingLeft;_lA=_kA+_JB.boundingWidth;if(_JB.boundingWidth==0)
return;while(_lA>nParentLimitX)
{_JB.moveEnd("word",-1);bDoIt=1;_lA=_kA+_JB.boundingWidth;}if(bDoIt)
{_JB.moveEnd("word",1);_lA=_kA+_JB.boundingWidth;while(_lA>nParentLimitX)
{_JB.moveEnd("character",-1);bDoIt=1;_lA=_kA+_JB.boundingWidth;}_JB.moveEnd("character",-2);pDiv.innerText=pDiv.innerText.substr(0,_JB.text.length)+"...";}}function _y()
{datObj=new Date("5:05am Jan 14 1969");szTest=datObj.toLocaleString();_eA=szTest.slice(szTest.lastIndexOf("05")+2,szTest.lastIndexOf("00"));}function _EA(tm)
{var nSeconds=tm;var nHours=Math.floor(nSeconds / 3600);nSeconds-=(nHours*3600);var nMins=Math.floor(nSeconds / 60);nSeconds=Math.round(nSeconds-(nMins*60));if(nSeconds==60)
{nSeconds=0;nMins++;}var szTime=nHours+_eA;if(nMins<10)
szTime+="0";szTime+=nMins+_eA;if(nSeconds<10)
szTime+="0";szTime+=nSeconds;return szTime;}function _CA()
{if(g_bTOCGenerated)
return;var _LB,i,_fA=_ZA.length,_ZB,_iB,nStartTime=0,bFirstPass=1;_ZB='';rgtmIndent=new Array();rgtmDur=new Array();for(i=0;i<MAX_TOC_INDENT;i++)
rgtmIndent[i]=g_nDuration;for(i=_fA-1;i>=0;i--)
{_LB=_ZA[i];if(_LB.GetTOCTitle())
{iIndent=_LB.GetTOCIndent();var tmLast=rgtmIndent[iIndent];for(j=iIndent;j<MAX_TOC_INDENT;j++)
rgtmIndent[j]=_LB.GetTime();rgtmDur[i]=tmLast-_LB.GetTime();}}for(i=0;i<_fA;i++)
{_LB=_ZA[i];_iB=_LB.GetTOCTitle();if(_iB)
{tm= _LB.GetTime();iIndent=_LB.GetTOCIndent();var _zB=iIndent*16;var _bB='TOC_ClickEntry('+_LB.nID.toString()+')';var szEventID=_LB.nID.toString();var szToolTip=_iB+","+g_szLength+" -- "+ _EA(rgtmDur[i]);var szCursor="";var nEntry=_LB.GetMediaFileEntry();_ZB+='<div id=_TOC'+ szEventID+' WMEventID="'+szEventID+'" WMEntry='+nEntry+' class=TOCEntryNormal style="'+szCursor+'text-indent:'+ _zB +'px" NOWRAP title="'+szToolTip+'" onclick="'+ _bB+'" onkeydown="'+_bB+'" TABINDEX=1>'+_iB+'</div>';}}g_rgTOC=new Array();TOCContentDiv.innerHTML=_ZB;var pDivs=TOCContentDiv.all.tags("DIV");for(i=0;i<pDivs.length;i++)
{g_rgTOC[g_rgTOC.length]=pDivs(i);}g_rgTOC.sort(new Function("x","y","if (parseInt(x.WMEventID)<parseInt(y.WMEventID)) return -1;else return 1;"));g_bTOCGenerated=1;}function TOC_ClickEntry(nID)
{if(event.type.toLowerCase()== "keydown")
if(event.keyCode!=13)
return;if(IsPresentationNotLocalOnNT4())
return;g_nIgnoreThisEvent=-1;_u(nID,0);event.returnValue=0;}function _DA()
{var _LB=_XA;var pTag,i;for(i=g_rgTOC.length-1;i>=0;i--)
{if(_LB.nID>=parseInt(g_rgTOC[i].WMEventID))
{pTag=g_rgTOC[i];break;}}if(pTag==null&&g_rgTOC.length)
{pTag=g_rgTOC[0];}if(pTag!=null)
{if(_bA!=null)
_bA.className="TOCEntryNormal";pTag.className="TOCEntryNowPlaying";var _rA=TOCContentDiv.offsetHeight+TOCContentDiv.scrollTop;var nOffset=pTag.offsetTop+pTag.offsetHeight;if((nOffset-2)> _rA)
TOCContentDiv.scrollTop=nOffset-TOCContentDiv.offsetHeight;else
{if(pTag.offsetTop<TOCContentDiv.scrollTop)
{TOCContentDiv.scrollTop=pTag.offsetTop;}}EllipsifyTOC(_bA);_bA=pTag;EllipsifyTOC(pTag);try
{if(g_bPreviewMode)
pTag.blur();else
pTag.focus();}catch(e)
{ }}else
{}setTimeout("MediaPlayer_UpdateNextPrevButtons();",1);}function LinkLayout_OnReadyStateChange()
{if(g_nPlayStatus==_H)
{var _gB=LINKLAYOUT.readyState;if(_gB=="complete")
{setTimeout("window.onresize()",1);EllipsifyTOC();if(!_I())
{SlidesDiv.children.item("SlidesFrame").style.visibility=SlidesDiv.style.visibility;HTML1Div.children.item("HTML1Frame").style.visibility=HTML1Div.style.visibility;}}else if(_gB=="loading")
{}}}function SlidesFrame_OnReadyStateChange()
{var srcElement=window.event.srcElement
if(srcElement.readyState=="complete"&&srcElement.src!="")
{SlidesDiv.style.visibility="visible";}else
{SlidesDiv.style.visibility="hidden";}}function HTML1Frame_OnReadyStateChange()
{var _gB=window.event.srcElement.readyState;var srcElement=window.event.srcElement;if(srcElement.readyState=="complete"&&srcElement.src!="")
{HTML1Div.style.visibility="visible";}else
{HTML1Div.style.visibility="hidden";}}function PrerollScreen_SetStatus()
{InitCustomDIVTagLists();if(g_nPlayStatus==_G||g_nPlayStatus==_F)
{_jB=CONST_PREROLL_IMAGE_SCRIPT;_jB=_jB.replace(new RegExp("%1!s!","i"),unescape(g_szLoadingImg));_jB=_jB.replace(new RegExp("%2!s!","i"),g_szLoadingImgWidth);_jB=_jB.replace(new RegExp("%3!s!","i"),g_szLoadingImgHeight);LoadingWaitDiv_ImgDiv.innerHTML=_jB;LoadingWaitDiv_TitleDiv.innerHTML=unescape(g_szLoadingTitle);LoadingWaitDiv_PresenterDiv.innerHTML=unescape(g_szLoadingPresenter);LoadingWaitDiv_DescDiv.innerHTML=unescape(g_szLoadingDesc);if(g_bPrerollOnlyMode)
{LoadingWaitDiv_Play.innerHTML="";LoadingWaitDiv_Anm.src=CONST_PREROLL_IMGSTATIC;}else
{LoadingWaitDiv_Play.innerHTML=unescape(g_szLoadingWait);LoadingWaitDiv_Play.title=unescape(g_szLoadingWait);LoadingWaitDiv_Anm.src=CONST_PREROLL_ANIMATION;}LoadingWaitDiv_Play.className=CONST_PREROLL_LOADINGTEXT;if(g_szLoadingImg=="")
LoadingWaitDiv_ImgDiv.style.display="none";}else if(g_nPlayStatus==CONST_PS_READY)
{LoadingWaitDiv_Play.innerHTML=unescape(g_szLoadingPlay);LoadingWaitDiv_Play.title=unescape(g_szLoadingPlay);g_bPausedForDownload=0;LoadingWaitDiv_Anm.src=CONST_PREROLL_IMGSTATIC;LoadingWaitDiv_Play.className=CONST_PREROLL_LOADEDTEXT;try
{LoadingWaitDiv_A.focus();}catch(e)
{ }}else
{PlayerPlayPause.title=g_PlayPauseTip;PlayerPrevious.title=g_PreviousTip;PlayerNext.title=g_NextTip;if(g_szDiscussionServerURL.length&&!g_bPreviewMode)
{PlayerDiscussion.style.visibility="visible";PlayerDiscussion.title=g_DiscussionTip;}}setTimeout("window.onresize()",1);}function PrerollScreen_DisplayTags()
{InitCustomDIVTagLists();if(g_nPlayStatus==_H||g_fCreatingThumbnail)
{if(g_rgrgCustomDIVLists["WMPrerollDisplay"])
{var i;for(i=0;g_rgrgCustomDIVLists&&i<g_rgrgCustomDIVLists["WMPrerollDisplay"].length;i++)
{var pTag=g_rgrgCustomDIVLists["WMPrerollDisplay"][i];if(pTag.currentStyle.WMPrerollDisplay=="inline")
pTag.style.display="none";else if(pTag.currentStyle.WMPrerollDisplay=="none")
pTag.style.display="inline";}if(!g_rgrgCustomDIVLists)
return 0;}}else
{if(g_rgrgCustomDIVLists["WMPrerollDisplay"])
{var i;for(i=0;g_rgrgCustomDIVLists&&i<g_rgrgCustomDIVLists["WMPrerollDisplay"].length;i++)
{var pTag=g_rgrgCustomDIVLists["WMPrerollDisplay"][i];if(pTag.currentStyle.WMPrerollDisplay=="inline")
pTag.style.display="inline";else if(pTag.currentStyle.WMPrerollDisplay=="none")
pTag.style.display="none";}if(!g_rgrgCustomDIVLists)
return 0;}}return 1;}function SetDynamicDivDimensions()
{InitCustomDIVTagLists();var i;if(g_rgrgCustomDIVLists["WMBodyWidth"])
{for(i=0;i<g_rgrgCustomDIVLists["WMBodyWidth"].length;i++)
{var divtag=g_rgrgCustomDIVLists["WMBodyWidth"][i];var szVis=divtag.style.visibility;if(szVis.length&&szVis=="hidden")
continue;if(divtag.currentStyle.WMBodyWidth)
{divtag.runtimeStyle.width=document.body.clientWidth;}}}if(g_rgrgCustomDIVLists["WMBodyHeight"])
{for(i=0;i<g_rgrgCustomDIVLists["WMBodyHeight"].length;i++)
{var divtag=g_rgrgCustomDIVLists["WMBodyHeight"][i];var szVis=divtag.style.visibility;if(szVis.length&&szVis=="hidden")
continue;var nTop=GetStyleValue_Integer(divtag.currentStyle.top);var nOffset=GetStyleValue_Integer(divtag.currentStyle.WMBodyHeight);if(document.body.clientHeight>=nTop+nOffset)
{divtag.runtimeStyle.height=(document.body.clientHeight+document.body.scrollTop)-nTop-nOffset;}}}if(g_rgrgCustomDIVLists["WMParentHeight"])
{for(i=0;i<g_rgrgCustomDIVLists["WMParentHeight"].length;i++)
{var divtag=g_rgrgCustomDIVLists["WMParentHeight"][i];var _rA=GetStyleValue_Integer(divtag.parentElement.currentStyle.height);if(document.body.clientHeight>=1&&divtag.parentElement.style.visibility=="visible"&&_rA>=divtag.currentStyle.WMParentHeight)
{divtag.runtimeStyle.height=_rA-divtag.currentStyle.WMParentHeight;}}}if(DiscussionDiv.style.visibility=="visible")
{DiscussionGripImage.runtimeStyle.left=(document.body.clientWidth-CONST_DISCUSSION_GRIP_WIDTH) / 2;SetDivContentHeight();}}function GetStyleValue_Integer(tagVal)
{if(isNaN(parseInt(tagVal)))
{return 0;}else
{return parseInt(tagVal);}}function SetDivContentHeight()
{var htMin=GetStyleValue_Integer(DiscussionContentDiv.currentStyle.WMMinHeight);var ht=(document.body.clientHeight+document.body.scrollTop)-(GetStyleValue_Integer(DiscussionDiv.style.top)+SCROLLBARHEIGHT);if(ht>htMin)
DiscussionContentDiv.style.height= ht;else
DiscussionContentDiv.style.height= htMin;}function _g()
{if(_dA==null)
return;var enm=new Enumerator(ViewDiv.all.tags("table"));var str=new String();var _GA=0;for(;!enm.atEnd();enm.moveNext())
{str=enm.item().id;if(_J(str.substr(0,7),"Replies"))
{var obj=new Object();obj.id=str.substr(7,str.length);obj.state=document.all.item(str).style.display;var _WB=new String();_WB="Arrow"+obj.id;_WB=document.all.item(_WB).src;obj.file =_WB;_dA[_GA++]=obj;}}}function _v()
{if(_dA==null)
return;var _GA=0;for(;_GA<_dA.length;_GA++)
{var strID=new String();strID="Replies"+_dA[_GA].id;if(document.all.item(strID))
{document.all.item(strID).style.display=_dA[_GA].state;var _WB=new String();_WB="Arrow"+_dA[_GA].id;document.all.item(_WB).src=_dA[_GA].file;}}}function _e()
{try
{var d=g_OSE_DServers.Add(g_szDiscussionServerURL ,g_szDiscussionServerURL);d.SetAsDefault();_PA=g_OSE.OpenDiscussions(location.href);}catch (e)
{return 0;}return 1;}function CreateDiscussionServerObjects()
{try
{g_OSE=new ActiveXObject("OSE.Global");g_OSE_DServers=new ActiveXObject("OSE.DiscussionServers");}catch(e)
{ViewDiv.innerHTML="<br><CENTER><SPAN class=DiscussErrorText>"+g_szDiscussionActiveXDownloadFailed+"</SPAN></CENTER>";return;}if(g_OSE!=null&&g_OSE_DServers!=null)
{if(_e())
RefreshDiscussions();else
ViewDiv.innerHTML="<br><CENTER><SPAN class=DiscussErrorText>"+g_szDiscussionConnectionFailed+"</SPAN></CENTER>";}}function AddNewTopic()
{MediaPlayer_Pause();try
{var nTime=GetPresentationTime();var szPos=_EA(nTime);for(i=1;i<=_PA.Count;i++)
{if(_J(_PA(i).Bookmark,szPos))
{alert(_PA(i).Bookmark+" "+g_szDiscussionTopicExists);MediaPlayer_PlayPause();return;}}var arg=new Array();arg[0]=szPos;arg[1]="AddTopic";arg[2]="";arg[3]="";var text=showModalDialog("AdEdDlg.htm",arg,"status:no;dialogHeight=345px;dialogWidth=450px;resizable=yes;help=no;");if(text!=null)
{_PA.Add(text[0],nTime.toString(),szPos);_PA(_PA.Count).Discussions.Add(text[1],text[2],"1");CreateDiscussionServerObjects();}}catch (e)
{alert(e.description);}MediaPlayer_Play();}function Reply (level)
{MediaPlayer_Pause();try
{var obj=_h(level,"Reply");var arg=new Array();arg[0]=_PA(obj.top).Bookmark;arg[1]="Reply";arg[2]=_PA(obj.top).Discussions(obj.bottom).Subject;arg[3]=_PA(obj.top).Discussions(obj.bottom).Text;arg[4]=_PA(obj.top).Subject;var text=showModalDialog("AdEdDlg.htm",arg,"status:no;dialogHeight=345px;dialogWidth=450px;resizable=yes;help=no;");if(text!=null)
{if(obj.numBottom!=_PA(obj.top).Discussions.Count)
{for(i=1;i<=_PA(obj.top).Discussions.Count;i++)
{num=parseInt(_PA(obj.top).Discussions(i).Bookmark);if(num>obj.numBottom)
{num+=1;_PA(obj.top).Discussions(i).AutoCommit=0;_PA(obj.top).Discussions(i).Bookmark=num.toString();_PA(obj.top).Discussions(i).Commit();}}}obj.numBottom+=1;_PA(obj.top).Discussions.Add(text[1],text[2],obj.numBottom.toString());CreateDiscussionServerObjects();}}catch(e)
{alert(e.description);}MediaPlayer_Play();}function Edit (level)
{MediaPlayer_Pause();try
{var obj=_h(level,"Edit");var arg=new Array();arg[0]=_PA(obj.top).Bookmark;arg[1]="Edit";arg[2]=_PA(obj.top).Discussions(obj.bottom).Subject;arg[3]=_PA(obj.top).Discussions(obj.bottom).Text;arg[4]=_PA(obj.top).Subject;var text=showModalDialog("AdEdDlg.htm",arg,"status:no;dialogHeight=345px;dialogWidth=450px;resizable=yes;help=no;");if(text!=null)
{_PA(obj.top).Discussions(obj.bottom).AutoCommit=0;_PA(obj.top).Discussions(obj.bottom).Subject=text[1];_PA(obj.top).Discussions(obj.bottom).Text=text[2];_PA(obj.top).Discussions(obj.bottom).Commit();CreateDiscussionServerObjects();}}catch(e)
{alert(e.description);}MediaPlayer_Play();}function Delete (level)
{MediaPlayer_Pause();try
{var obj=_h(level,"Delete");var _TB=g_szDiscussionConfirmDeleteDiscussion;if(_PA(obj.top).Discussions.Count==1)
_TB=g_szDiscussionConfirmDeleteTopic;if(confirm(_TB))
{_PA(obj.top).Discussions(obj.bottom).Delete();for(i=1;i<=_PA(obj.top).Discussions.Count;i++)
{var num=parseInt(_PA(obj.top).Discussions(i).Bookmark);if(num>obj.numBottom)
{num-=1;_PA(obj.top).Discussions(i).AutoCommit=0;_PA(obj.top).Discussions(i).Bookmark=num.toString();_PA(obj.top).Discussions(i).Commit();}}if(_PA(obj.top).Discussions.Count==0)
_PA(obj.top).Delete();CreateDiscussionServerObjects();}}catch(e)
{alert(e.description);}MediaPlayer_Play();}function RefreshDiscussions()
{if(g_OSE!=null&&g_OSE_DServers!=null&&_PA!=null)
{_g();var rgTop=new Array(_PA.Count);for(i=0;i<rgTop.length;i++)
rgTop[i]=_PA(i+1);rgTop.sort(SortByField("Bookmark"));var view="";var level ="";view+="<TABLE><TR>";view+="<TD class=DiscussAddRefreshTopic onclick=AddNewTopic() onmouseover=\"this.style.cursor=\'hand\'\">"+g_szDiscussionAddNewTopic+"</TD>";view+="<TD class=DiscussAddRefreshTopic onclick=CreateDiscussionServerObjects() onmouseover=\"this.style.cursor=\'hand\'\">"+g_szDiscussionRefreshTopics+"</TD>";view+="</TR></TABLE>";for(i=0;i<rgTop.length;i++)
{view+="";view+="<TABLE cellpadding=0 cellspacing=0 width=100% ID=Topic"+(rgTop[i].Text)+" class=DiscussTopic style=\"border-collapse:collapse\"><TR>";view+= "<TD>&nbsp;<IMG ID=Arrow"+i+" align=middle onclick=ExpandCollapse("+i+") style=\"cursor:hand\" src=\""+g_InitialCSSDirectory+"/PArrow.gif\">&nbsp;</td>";view+= "<TD width=75% onclick=SetTopic(\"Topic"+rgTop[i].Text+"\") title=\""+g_szDiscussionTopicTooltip+"\" align=left>"+rgTop[i].Subject+"</TD>";view+= "<TD width=25% onclick=SetTopic(\"Topic"+rgTop[i].Text+"\") title=\""+g_szDiscussionTopicTooltip+"\" align=right style=\"padding-right:10px\">"+_EA(rgTop[i].Text)+"&#32;<IMG src=\""+g_InitialCSSDirectory+"/Clock.gif\" "+rgTop[i].Bookmark+"</TD>";view+="</TR></TABLE>";var rgBottom=new Array();for(k=1;k<=rgTop[i].Discussions.Count;k++)
{rgBottom[rgTop[i].Discussions(k).Bookmark-1]=rgTop[i].Discussions(k);}if(rgBottom.length!=rgTop[i].Discussions.Count)
alert ("Bottom array #"+i+" has "+rgBottom.length+"  element(s) instead of "+rgTop[i].Discussions.Count);view+="<TABLE ID=Replies"+i+" width=100% style=\"border-collapse:collapse;display:none;\">";for(j=1;j<=rgBottom.length;j++)
{level=rgTop[i].Bookmark+"/"+rgBottom[j-1].Bookmark;_LA=0;if(j>1)
{_XB=rgBottom[j-1].Subject;_YB=rgBottom[j-2].Subject;_LA=_J(_XB,_YB);}if(!_LA)
view+="<TR><TD colspan=5 class=DiscussSubject>"+g_szDiscussionSubject+": <B>"+rgBottom[j-1].Subject+"</B></TD></TR>";view+="<TR><TD class=DiscussAuthor width=35%>"+rgBottom[j-1].Author+"</TD>";view+="<TD class=DiscussReplyEditDelete width=10% align=center>";view+="<SPAN ID=Reply"+level+" onclick=Reply(this.id) onmouseover=\"this.style.cursor=\'hand\'\">"+g_szDiscussionReply+"</SPAN></TD>";view+="<TD class=DiscussReplyEditDelete width=10% align=center>";view+="<SPAN ID=Edit" +level+" onclick=Edit(this.id) onmouseover=\"this.style.cursor=\'hand\'\">"+g_szDiscussionEdit+"</SPAN></TD>";view+="<TD class=DiscussReplyEditDelete width=10% align=center>";view+="<SPAN ID=Delete"+level+" onclick=Delete(this.id) onmouseover=\"this.style.cursor=\'hand\'\">"+g_szDiscussionDelete+"</SPAN></TD>";var dtUTC=new Date(rgBottom[j-1].TimeStamp);var dtLcl=new Date(Date.UTC(dtUTC.getYear(),dtUTC.getMonth(),dtUTC.getDate(),dtUTC.getHours(),dtUTC.getMinutes(),dtUTC.getSeconds(),dtUTC.getMilliseconds()));view+="<TD class=DiscussTimeStamp width=35% align=right>"+dtLcl.toString()+"</TD></TR>";view+="<TR><TD colspan=5 class=DiscussText>"+rgBottom[j-1].Text+"</TD></TR>";}view+="</TABLE>";view+="<BR>";}ViewDiv.innerHTML=view;_v();}else
{ViewDiv.innerHTML="<CENTER><SPAN class=DiscussErrorText>"+g_szDiscussionConnectionFailed +"</SPAN></CENTER>";return;}}function _h(level,action)
{var obj=new Object();var str=new String(level);var index=str.search("/");var strTop=str.substring(action.length,index);var numBottom=parseInt(str.substr(index+1,str.length));var l=1;while(l<=_PA.Count)
{if(_J(_PA(l).Bookmark,strTop))
break;l++;}var s=1;while(s<=_PA(l).Discussions.Count)
{if(parseInt(_PA(l).Discussions(s).Bookmark)==numBottom)
break;s++;}obj.top=l;obj.bottom=s;obj.numBottom=numBottom;return obj;}function SetTopic(refTime)
{var str=new String(refTime);str=str.substr(5,str.length);var _LB=null,i,_oA=_ZA.length;_LB=_ZA[0];for(i=1;i<_oA;i++)
{if(_ZA[i].fTime>parseFloat(str))
{break;}_LB=_ZA[i];}_u(_LB.nID,1);MediaPlayer_SetCurrentLocation(_LB.GetMediaFileEntry(),parseFloat(str));}function _J (str1,str2)
{var str1=new String(str1);var str2=new String(str2);if(str1.length!=str2.length)
return 0;c=0;while(str1.charAt(c)==str2.charAt(c)&&c<str1.length)
c++;return (c==str1.length);}function SortByField(field)
{function FieldSort(v1,v2)
{if(v1[field]>v2[field])
return 1;else if(v1[field]<v2[field])
return -1;else
return 0;}return FieldSort;}function MyRec (name,index)
{this.name=name;this.index=index;}function _m()
{return "index: "+this.index+" name: "+this.name;}MyRec.prototype.toString=_m;function ExpandCollapse(a)
{var strReplies=new String();strReplies="Replies"+a.toString();var strArrow=new String();strArrow="Arrow"+a.toString();var str=new String(document.all.item(strArrow).src);if(str.toLowerCase().indexOf("parrow.gif")!=-1)
document.all.item(strArrow).src =g_InitialCSSDirectory+"/Marrow.gif";else
document.all.item(strArrow).src =g_InitialCSSDirectory+"/Parrow.gif";if(document.all.item(strReplies).style.display=="")
document.all.item(strReplies).style.display="none";else
document.all.item(strReplies).style.display="";}function ShowDiscussionsPara_onclick()
{if(ShowDiscussionsPara.innerText==g_szDiscussionShowDiscussions)
{ShowDiscussionsPara.innerText=g_szDiscussionHideDiscussions;ViewDiv.style.visibility="visible";CreateDiscussionServerObjects();}else
{ShowDiscussionsPara.innerText=g_szDiscussionShowDiscussions;ViewDiv.style.visibility="hidden";}}function R()
{if(SlidesFrame&&SlidesFrame.im)
{W=SlidesFrame.document.body.clientWidth;H=SlidesFrame.document.body.clientHeight;newW=SlidesFrame.im.iw;newH=SlidesFrame.im.ih;f=(1.0*W)/newW;if(H<newH*f)
f=(1.0*H)/newH;if(W<SlidesFrame.im.iw||H<SlidesFrame.im.ih)
{newW=newW*f;newH=newH*f;}s=SlidesFrame.im.style;s.posWidth=newW;s.posHeight=newH;s.posLeft=(W-newW)/2;s.posTop=(H-newH)/2;}}function PreLoad()
{if(SlidesFrame&&SlidesFrame.im)
SlidesFrame.im.src=MakeAbsolutePath(SlidesFrame.im.mysrc);else
setTimeout("PreLoad()",100);}function Load()
{if(SlidesFrame&&SlidesFrame.im)
{if(SlidesFrame.im.style.visibility=="hidden")
{R();R();SlidesFrame.im.style.visibility="visible";}}}function PrerollImageResize()
{LoadingWaitDiv_Img.style.visibility="hidden";LoadingWaitDiv_Img.style.posWidth=g_szLoadingImgWidth;LoadingWaitDiv_Img.style.posHeight=g_szLoadingImgHeight;var _FB=document.body.clientWidth;_FB=_FB<=96 ? 96:_FB;var _rA=document.body.clientHeight-(LoadingWaitDiv.clientHeight-LoadingWaitDiv_Img.clientHeight);_rA=_rA<=96 ? 96:_rA;var nNewWidth=g_szLoadingImgWidth;var nNewHeight=g_szLoadingImgHeight;var fAspect=(1.0*_FB) / nNewWidth;if(_rA<nNewHeight*fAspect)
fAspect=(1.0*_rA) / nNewHeight;if(_FB<g_szLoadingImgWidth||_rA<g_szLoadingImgHeight)
{nNewWidth=nNewWidth*fAspect;nNewHeight=nNewHeight*fAspect;}var pImageStyle=LoadingWaitDiv_Img.style;pImageStyle.posWidth=nNewWidth;pImageStyle.posHeight=nNewHeight;LoadingWaitDiv_Img.style.visibility="visible";document.recalc(1);}