
/************
       TITLE: Pulse.Player Object
     VERSION: 4.5
        TYPE: Object Definition
      AUTHOR: Chris van Rensburg
   COPYRIGHT: (c)2002-2003 Pulse Entertainment Inc. <http://www.pulse3d.com>
 DESCRIPTION: Implements a JavaScript object class that acts as an abstraction for the Pulse Player
************/

(function(){var _a=navigator,_b=document,_c='undefined',_d='boolean',_e='string',_f=false,_g=true,_h=null,_i=Math,_j=window;if(typeof Pulse==_c)Pulse={};function _k(_l,_m){return _l.indexOf(_m)!= -1}function _n(_o,_p){if(typeof _p=='object'){for(var _q in _p)_o[_q]=_p[_q];}}function _r(_o,_s){for(var _q in _s)if(typeof _o[_q]==_c||_o[_q]==_h)_o[_q]=_s[_q];for(var _q in _o){if(typeof _s[_q]==_c)delete _o[_q];}}function _t(_u,_p){if(typeof _u==_e)eval(_u);else if(typeof _u=='function')_u(_p);}function _v(_w){var _x='';if(typeof _b.cookie!=_c&&_b.cookie!=_h){var _y=_b.cookie.replace(new RegExp(' ','g'),''),_z=_y.split(';');for(var _A=0;_A<_z.length;_A++){var _B=_z[_A].split('=');
if(unescape(_B[0])==_w){_x=(typeof _B[1]==_e)?unescape(_B[1]):'';break;}}}return _x;}function _C(_D){return(typeof _b.getElementById!=_c)?_b.getElementById(_D):_h}function _E(){return'Pulse_GIN_'+(Pulse.GINs=(typeof Pulse.GINs!=_c)? ++Pulse.GINs:0)}function _F(_w,_x){return'<PARAM NAME="'+_w+'" VALUE="'+_x+'">'}function _G(_H){var _I=(_J(this)&&this._K)?_L:_M;return'<IMG SRC="'+_N+'images/'+((_J(this)?this._O():_P)?_I._Q:'get-pulse-player-unsupported-browser.gif')+'" WIDTH='+_I._R+' HEIGHT='+_I._S+' HSPACE=1 VSPACE=1 BORDER=0 '+((typeof _H==_e)?_H:'')+'>';}function _J(_o){return typeof _o.objectName!=_c}function _T(_w,_x,_U,_V){if(typeof _x==_c||_x==_h){_x='';_V='Mon, 1 Jan 1990 12:00:00 UTC';}else{if(typeof _V!=_e){var _W=new Date();_W.setFullYear(_W.getFullYear()+1);_V=_W.toGMTString();}}_b.cookie=escape(_w)+'='+escape(_x)+';'+((typeof _U!=_c&&_U!=_h)?('path='+_U+';'):'')+'expires='+_V+';';}function _X(_Y,_Z){if(_Y!=_h){if(typeof _Y==_e){_X(_C(_Y),_Z)
}else if(typeof _Y=='object'&&typeof _Y.tagName==_c&&_Y.self!=_Y){if(typeof _Y.length=='number'){for(var _0=0;_0<_Y.length;_0++)_X(_Y[_0],_Z);}else{for(var _1 in _Y)_X(_Y[_0],_Z);}}else{_Z=_Z!==_f;_Y.style.visibility=_Z?'inherit':'hidden';}}}function _2(_Y,_3,_4){if(typeof _Y==_e)_Y=_C(_Y);if(_Y!=_h){_Y.Pulse_Player_onClick=_3;_Y.onclick=function(event){this.Pulse_Player_onClick(event);return false};_Y.style.cursor=GECKO?'pointer':'hand';if(typeof _Y.title==_c||_Y.title==_h||_Y.title=='')_Y.title=_4;}}function _5(_6,_7){if(typeof _7!=_c&&_7!=_h){if(typeof _7==_e)_7=_C(_7);if(_7!=null)_7.innerHTML=_6;}else{document.write(_6);}}function _8(_9,_ba){function _bb(_bc){return(typeof _bc.objectName!=_c)?_bc.objectClass:_bc;}function _bd(_be,_q){var _ba=_bb(_be).propertyProfiles;return(typeof _ba[_q]!=_c)?_ba[_q]._bf:_q;}function _bg(_q){var _bh=_bd(this,_q);return(typeof this[_bh]!=_c)?this[_bh]:_h;}function _bi(_p){var _be=this,_9=_bb(_be),_ba=_9.propertyProfiles,_bj=_9.propertyMap,_bk={},_bh;for(var _q in _p){
_bh=_bd(_be,_q);if(typeof _p[_q]!=_c&&_p[_q]!=_be[_bh]){if(typeof _ba[_q]!=_c){_bk[_q]=_ba[_q];}else if(typeof _bj[_bh]!=_c){_bk[_bh]=_bj[_bh];}_be[_bh]=_p[_q];}}if(_J(_be)){for(_q in _bk){if(typeof _bk[_q]._bl!=_c){_be.tempMethod=_bk[_q]._bl;_be.tempMethod();}}}}function _bm(_p){var _be=this,_9=_bb(_be),_bn={};_9.instances[_9.instances.length]=_j[_be.objectName]=_be;for(var _q in _9.propertyProfiles){var _bh=_bd(_be,_q);if(typeof _9[_bh]!=_c)_bn[_q]=_9[_bh];}_n(_bn,_p);_be.set(_bn);}function _bo(_l){return _l.replace(new RegExp('\\[#pathToResources\\]','g'),_N).replace(new RegExp('\\[#objectName\\]','g'),this.objectName);}function _bp(_bq,_u){var _be=this;if(typeof _be.eventHandlers==_c)_be.eventHandlers=[];_be.eventHandlers[_be.eventHandlers.length]={_bq:_bq,_u:_u};}function _br(_bq,_u){var _be=this;if(typeof _bq==_c)_bq='veeperReady';if(_be.hasEventFired(_bq)){_t(_u);}else{if(typeof _be.onceEventHandlers==_c)_be.onceEventHandlers={};if(typeof _be.onceEventHandlers[_bq]!=_e)_be.onceEventHandlers[_bq]='';
_be.onceEventHandlers[_bq]+=_u+';';}}function _bs(_bq,_bt){var _be=this;if(typeof _be.eventHandlers!=_c){if(typeof _be.onceEventHandlers==_c)_be.onceEventHandlers={};var _bu=_be.eventHandlers,_bv=(typeof _be.onceEventHandlers[_bq]==_e)?_be.onceEventHandlers[_bq]:'',_bw={name:_bq,instance:_be};_n(_bw,_bt);_be.onceEventHandlers[_bq]=_g;if(_bv!='')_t(_bv);for(var _bx=0;_bx<_bu.length;_bx++){var _by=_bu[_bx];if(_by!=_h&&(_by._bq==_bq||_by._bq=='*'))_t(_by._u,_bw);}function _bz(_m){return _bq.indexOf(_m)==0}if(_bz('VeeperReady')){_be._bA();}else if(_bz('veeperEvent soundDone')||_bz('BvrComplete')){_be._bs('Audio Stopped');}else if((_bz('Load ')&&_bq!='Load Main')||_bz('BvrStart')){_be._bs('Audio Started');}}}function _bB(_bq){return typeof this.onceEventHandlers!=_c&&this.onceEventHandlers[_bq]===_g;}function _bC(_bq,_u){var _be=this;if(typeof _be.eventHandlers!=_c){var _bu=_be.eventHandlers;for(var _bx=0;_bx<_bu.length;_bx++){var _by=_bu[_bx];if(_by!=_h&&(typeof _u==_c||_bu[_bx]._u==_u))_bu[_bx]=_h;}}}
var _bD=_9.prototype;_9.propertyProfiles={};_9.propertyMap={};if(typeof _ba!=_c){for(var _bh in _ba){var _bE=_ba[_bh],_bF=typeof _bE=='object',_q=_bF?_bE.name:_bE,_bG=_9.propertyProfiles[_q]=_9.propertyMap[_bh]={_bf:_bh};if(_bF){if(typeof _bE.defaultValue!=_c)_bG._bH=_bE.defaultValue;if(typeof _bE.onChange!=_c)_bG._bl=_bE.onChange;}}}_9.addEventHandler=_bD.addEventHandler=_bp;_9.doOnceEvent=_bD.doOnceEvent=_br;_9.fireEvent=_bD.fireEvent=_bs;_9.get=_bD.get=_bg;_9.hasEventFired=_bD.hasEventFired=_bB;_9.removeEventHandler=_bD.removeEventHandler=_bC;_9.set=_bD.set=_bi;_bD.setupInstance=_bm;_bD.substituteResources=_bo;_bD.objectClass=_9;_9.instances=[];}var _bI=Pulse.Player=function(_p){var _be=this;var _bJ=_be._bJ=_E();_be._bK={clickToLoad:{_bL:_g,_bM:_f,_bN:_f,_bO:'Click to bring me to life!',_bP:_g,_bQ:_bJ+'.clickToLoad ()'},clickToInstall:{_bL:_g,_bM:_f,_bN:_g,_bP:_f,_bQ:_bJ+'.clickToInstall ()'},installing:{_bL:_g,_bM:_f,_bN:_f,_bO:'DOWNLOADING PULSE PLAYER... Please be patient.',_bP:_g},prepareToLoad:{
_bL:_g,_bM:_f,_bN:_f,_bO:'Loading...',_bP:_g},loading:{_bL:_g,_bM:_f,_bR:_g,_bN:_f,_bO:'Loading....',_bP:_g},loaded:{_bL:_g,_bM:_g,_bR:_g,_bN:_f,_bO:'',_bP:_f},disabled:{_bL:_g,_bM:_f,_bN:_f,_bO:'',_bP:_g}};_be._bS=_be._bK.disabled;_be._bT=_be._bU=_be._bV=_be._bR=_be._bW=_be._bX=_f;_be._bY=_be._bZ=_h;_be._b0=NAV4;_be._b1={};_be._b2=0;_be._b3=_bJ+'Player';_be.eventsInJavaEnabled=_f;_be.objectName=_bJ;_be.displayStates=_be._bK;_be.doScriptBucket='';_be.playerId=_be._b3;_be.supportsScripting= !MACIE;_be.setupInstance(_p);_be._b4();return _bI.instancesByPlayerId[_be._b3]=_be;},_b5=_bI.prototype;_b5.clickToInstall=function(){if(this._K){_b6=_b7;for(var _b8=0;_b8<_b9.length;_b8++)if(_b9[_b8]._K)_b9[_b8]._ca(_g);}else{if(typeof _bI.startInstall!=_c)_bI.startInstall();}};_b5.clickToLoad=function(){this._cb(this._cc());};_b5.emulateReadyEventsUpdate=function(){var _be=this;_be._cd();if(_be._bZ!=_h&&(typeof _be._bZ.Do!=_c|| !_be._ce())){_be._cf();_be._bA();}};_b5.placeholderClick=function(){_t(this._bS._bQ);};
_b5.placeholderOver=function(_bW){var _be=this,_bJ=_be._bJ,_cg=_bW||_be._b1.alwaysShowCaption||_be._bS._bP,_bN=(_bW||_be._b1.alwaysShowButton)&&_be._bS._bN&&_be._O();_be._bW=_bW;_X(_bJ+'Caption',_cg);_X(_bJ+'Button',_bN);_j.status=_bW?_be._ch:_j.defaultStatus;};_b5.setState=function(_ci){if(typeof _ci==_e)_ci=this._bK[_ci];var _be=this,_bR=_ci._bR===_g,_cj=_C(_be._bJ+'PlayerDiv');if(_ci!=_be._bS){_be._bS=_ci;_be._cf();_be._ck();_be._cl();if(_bR!=_be._bR){_be._bR=_bR;if(_bR){_cj.innerHTML=_be._cm();var _cn=_be._bJ+'.setState (\'loaded\')';_be.removeEventHandler('Load Main',_cn);_be.addEventHandler('Load Main',_cn);if(!_be._co())_be._bY=setInterval(_be._bJ+'.emulateReadyEventsUpdate ()',100);}else{_be._bZ=_h;if(!(GECKO&&WIN32))_cj.innerHTML='';_be._bs('Unload Main');_be.onceEventHandlers={};}}if(_ci==_be._bK.prepareToLoad)setTimeout(_be._bJ+'.setState (\'loading\')',10);_be._bs('State Changed');}};_b5.tryDoScript=function(_cp){var _be=this;function doScript(){_be._bZ.Do(_cp)};_be._cd();if(_be._bZ!=_h){
var _cq=typeof _be._bZ.Do!=_c;if(!_be._ce()||_cq)_be._cr(_cp);if(_be._ce()&&_cq)eval('try {doScript ()} catch (e) {}');}};_b5._O=function(){return this._K?_cs:_ct;};_b5._cr=function(_cp){if(_k(_cp,'play pkg')||_k(_cp,'behave=Start')){if(!this._co())this._bs('Audio Started');}else if(_k(_cp,'stopSyncPkg;')||_k(_cp,'stopSync;')){this._bs('Audio Stopped');}};_b5._bA=function(){this._bs('Load Main');setTimeout(this._bJ+'.fireEvent (\'veeperReady\')',1000);};_b5._cf=function(){if(this._bY!=_h){clearInterval(this._bY);this._bY=_h;}};_b5._cm=function(){var _be=this,_6='',_cu=' ID="'+_be._b3+'"'+' WIDTH='+_be._R+' HEIGHT='+_be._S+' STYLE="visibility:visible"',_Q=_be._Q;if(_be._K){var _cv=_Q.substr(0,_Q.lastIndexOf('/')),_cw=_Q.substr(_Q.lastIndexOf('/')+1),_cx=_F('load','Geometry')+_F('background','0x'+_be._cy)+_F('showperf','no')+((_be._cz!='')?_F('clickTo',_be._cz):'')+
_F('command',((_be._cA.match(new RegExp('((^)|(;))\\s*frame\\s+','i'))==null)?('frame fit='+_be._cB+' zoom='+_be._cC+';'):'')+_be._cA.replace(new RegExp('"','g'),'\\"'));if(_be._co())_j[_be._b3+'_onEvent']=new Function('eventName',_be._bJ+'.onEvent (eventName); return false');if(_b6==_b7){_6='<'+_b7+_cu+_cD+(_cE?'':' codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_0-win.cab"')+'>'+_F('name',_be._b3)+_F('type','application/x-java-applet;jpi-version=1.4')+(_cv!=''?_F('codebase',_cv):'')+_F('archive',_cw)+_F('code','CVRender.class')+_F('scriptable',_g)+_F('mayscript',_be._co())+_cx+'</'+_b7+'>';}else if(_b6==_cF){_6='<'+_cF+_cu+' NAME="'+_be._b3+'"'+' CODE=CVRender.class'+(_cv!=''?(' CODEBASE="'+_cv+'"'):'')+' ARCHIVE="'+(MACIE?_Q:_cw)+'"'+(_be._co()?' MAYSCRIPT':'')+'>'+_cx+'</APPLET>';}}else if(typeof _be.nativeGetPlayerHtml!=_c){_6=_be.nativeGetPlayerHtml();}return _6;};_b5._cc=function(){return this._cG()?((this._cH&& !(MAC&&this._K))?'prepareToLoad':'loaded'):(this._K?'disabled':this._cI)
};_b5._cd=function(){var _be=this;if(_be._bZ==_h){if(typeof _b.getElementById!=_c){_be._bZ=_C(_be._b3);}else if(typeof _b.embeds!=_c&&typeof _b.embeds[_be._b3]!=_c){_be._bZ=_b.embeds[_be._b3];}else if(typeof _b.applets!=_c&&typeof _b.applets[_be._b3]!=_c){_be._bZ=_b.applets[_be._b3];}}};_b5._cb=_b5.setState;_b5._ck=function(_cp){var _cj=_C(this._bJ+'PlayerDiv'),_cJ=this._bS._bM&& !this._bX;if(_cj!=_h){if(GECKO&& !this._K){_X(_cj,_cJ);}else{_cj.style.left=_cj.style.top=(_cJ?'0':'-10000')+'px';}}_X(this._bJ+'PlaceholderDiv',!_cJ&&this._bS._bL);};_b5._b4=function(){var _be=this;_be.playerTag=(typeof _be._Q==_e&&_k(_be._Q,'.jar'))?_cF:((_a.appName=='Microsoft Internet Explorer')?_b7:'EMBED');_be._K=_be.playerTag==_cF;};_b5.doScript=function(_cp,_cK){var _be=this;if(_cp.charAt(_cp.length-1)!=';')_cp+=';';if(_be._bT){_be.doScriptBucket+=_cp;}else{if(_be._ce()){_be.doOnceEvent(_cK,_be._bJ+'.tryDoScript (\''+_cp+'\')');}else if(_be._cG()&&_be._bU){var _cL=_be._cA;_be._bS=_be._bK.disabled;_be._bR=_f;_be._bZ=_h;
_be._cA+=';'+_cp;_be._cb('loaded');_be._cA=_cL;_be._cr(_cp);}}};_b5.embed=function(_p){var _be=this,_bJ=_be._bJ;_be._bU=_g;_be.set(_p);_be._bK.clickToInstall._bO=_be._O()?(_bI.isInstalled?'This content requires a new version of Pulse Player. Click to upgrade!':'Click to bring this page to life with the Pulse Player!'):'Your browser is not supported by the Pulse Player. Click for more info...';if(_be._b0){_be._bS=_be._cG()?_be._bK.loaded:_be._bK[_be._cI];_b.write(_be._cG()?_be._cm():_be.getPlaceholderHtml());if(_be._K)_be._bY=setInterval(_bJ+'.emulateReadyEventsUpdate ()',100);}else{var _cM=_cN+_bJ+'MasterDiv" STYLE="position:relative; width:'+_be._R+'px; height:'+_be._S+'px;">'+_cN+_bJ+'PlaceholderDiv" STYLE="'+_cO+'">'+_cP+_cN+_bJ+'PlayerDiv" STYLE="'+_cO+'">'+_cP+_cP;_5(_cM,_be._7);_be._bV=_be._K&& !_cQ;_be._ca(!_be._bV&&(!_be._K||_cE));}};function _cR(_cS){if(typeof _cS.hAlign==_e)_cS.hAlign={left:0,center:0.5,right:1}[_cS.hAlign];if(typeof _cS.hAlign!='number')_cS.hAlign=0.5;
if(typeof _cS.vAlign==_e)_cS.vAlign={top:0,center:0.5,bottom:1}[_cS.vAlign];if(typeof _cS.vAlign!='number')_cS.vAlign=0.5;if(typeof _cS.fit!=_e)_cS.fit='yes';if(typeof _cS.zoom==_c)_cS.zoom=1;var _cT=((_cS.fit=='no')?Math.max(_cS.viewWidth/_cS.imageWidth,_cS.viewHeight/_cS.imageHeight):Math.min(_cS.viewWidth/_cS.imageWidth,_cS.viewHeight/_cS.imageHeight))*_cS.zoom,_cU=Math.round(_cS.imageWidth*_cT),_cV=Math.round(_cS.imageHeight*_cT),_cW=Math.round((_cS.viewWidth-_cU)*_cS.hAlign),_cX=Math.round((_cS.viewHeight-_cV)*_cS.vAlign),_6='<div style="position:relative; width:'+_cS.viewWidth+'px; height:'+_cS.viewHeight+'px;">'+'<img'+' src="'+_cS.imageUrl+'"'+' hspace=0 vspace=0 border=0'+' style="position:absolute; left:'+_cW+'px; top:'+_cX+'px; width:'+_cU+'px; height:'+_cV+'px; clip:rect('+(0-_cX)+'px, '+(_cS.viewWidth-_cW)+'px, '+(_cS.viewHeight-_cX)+'px, '+(0-_cW)+'px)"'+'>'+'</div>';return _6;}_b5.getPlaceholderHtml=function(_bO){_r(this._b1,_bI._b1);var _be=this,_bJ=_be._bJ,_cY=_be._R,_cZ=_be._S,_b1=_be._b1,
_c0=_b1.borderThickness,_c1=_b1.borderColor,_c2=_cY-_c0*2,_c3=_cZ-_c0*2,_c4=_i.floor(_c2/103*9),_c5='<A HREF="javascript://" ONMOUSEOVER="'+_bJ+'.placeholderOver (true); return true" ONMOUSEOUT="'+_bJ+'.placeholderOver (false); return true" ONCLICK="'+_bJ+'.placeholderClick (); return false">',_c6='&nbsp;',_c7=(_cY>=_M._R+2&&_cZ>=_M._S+2)&&_be._bS._bN,_c8=_c9=_i.max(_c0-1,0),_da=_i.min(_c2+2,_cY),_db=_be._ch=(typeof _bO==_e)?_bO:_be._bS._bO,_dc=(_c2*_c3>=4250)&&_db!='',_dd=(_be._bW||_be._b1.alwaysShowCaption||_be._bS._bP)?'inherit':'hidden',_de=_cY-_M._R-2-_i.max(_c0-1,0),_df=_cZ-_M._S-2-_i.max(_c0-1,0),_dg=(_b1.alwaysShowButton&&_be._O())?'inherit':'hidden',_dh='<IMG SRC="'+_N+'images/blank.gif" WIDTH='+_c2+' HEIGHT='+_c3+' BORDER=0 HSPACE=0 VSPACE=0>',_6;if(_b1.src!=''){_c6=_cR({imageUrl:_b1.src,imageWidth:_b1.width,imageHeight:_b1.height,viewWidth:_c2,viewHeight:_c3,fit:_be._cB,zoom:_be._cC});}if(_cY>0&&_cZ>0){if(typeof _b.getElementById!=_c){_6=
_cN+_bJ+'Div" STYLE="position:relative; width:'+_cY+'px; height:'+_cZ+'px; background:#'+_c1+';">'+'<DIV STYLE="position:absolute; left:'+_c0+'px; top:'+_c0+'px; width:'+_c2+'px; height:'+_c3+'px; background:#'+_b1.bgColor+';">'+_c6+_cP;if(_dc){_6+=_cN+_bJ+'Caption" STYLE=" visibility:'+_dd+'; position:absolute; left:'+_c8+'px; top:'+_c9+'px; width:'+_da+'px;"><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR=#'+_c1+'><TR><TD><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=#FFFFFF><TR><TD><DIV STYLE="color:#'+_c1+'; font-family:Arial,Helvetica,Verdana; font-size:10px; text-align:center;">'+_db+_cP+'</TD></TR></TABLE></TD></TR></TABLE>'+_cP;}_6+=(_c7?(_cN+_bJ+'Button" STYLE="position:absolute; left:'+_de+'px; top:'+_df+'px; background:#'+_c1+'; visibility:'+_dg+';">'+_be.getPlayerImageHtml()+_cP):'')+'<DIV STYLE="'+_cO+' width:'+_c2+'px; height:'+_c3+'px;">'+_c5+_dh+'</A>'+_cP;_6+=_cP;}else{_6=
'<TABLE WIDTH='+_cY+' HEIGHT='+_cZ+' BORDER=0 CELLSPACING=0 CELLPADDING='+_c0+' BGCOLOR='+_c1+'><TR><TD>'+'<TABLE WIDTH=100% HEIGHT=100% BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=#'+_b1.bgColor+'><TR><TD>'+_c5+_c6+'</A>'+'</TD></TR></TABLE>'+'</TD></TR></TABLE>';}}return _6;};_b5.onEvent=function(_bq){setTimeout(this._bJ+'.fireEvent (\''+(''+_bq).replace(new RegExp('\n','g'),'\\n').replace(new RegExp('\r','g'),'\\r').replace(new RegExp('\f','g'),'\\f').replace(new RegExp('\'','g'),'\\\'')+'\')',0);};_b5.playAudio=function(_di){var _be=this;if(!_dj){if(typeof _di==_c)_di=_be._di;_be._di=_di;if(_di!=''){if(_be._K){if(_be._di.toLowerCase()=='[internal audio]'){_be.doScript('play obj=LipSyncBox behave=Start heading=no');}else{_be.doScript('play pkg='+_be._di+' obj=LipSyncBox heading=no');}}else if(typeof _be.nativePlayAudio!=_c){_be.nativePlayAudio();}}}};_b5.playInternalAudio=function(){this.playAudio('[internal audio]')};_b5.refresh=function(){if(this._bU){this._ca(_f);this._ca(_g);}};
_b5.updatePlaceholder=_b5._cl=function(){var _dk=_C(this._bJ+'PlaceholderDiv');_dk.innerHTML=this.getPlaceholderHtml();_X(_dk,this._bS._bL);this.placeholderOver(this._bW);};_b5.getPlayerImageHtml=_G;_b5.getCurrentState=function(){return this._bS};_b5.isAdequate=_b5._cG=function(){return this._K?_cs:_bI.isAdequate;};_b5.isReady=function(){return this.hasEventFired('Load Main')};_bI.requestPlayerHidden=_b5.requestPlayerHidden=function(_dl,_dm){var _be=this;if(_J(_be)){if(typeof _dm!=_e||_be.get(_dm)){var _dn=_be._bX;_be._b2+=_dl;_be._bX=_be._b2>0;if(_be._bX!=_dn)_be._ck();}}else{for(var _b8=0;_b8<_b9.length;_b8++)_b9[_b8].requestPlayerHidden(_dl,_dm);}};_b5.routeDoScriptToBucket=function(_ca){_ca=_ca!==_f;if(_ca!=this._bT){this._bT=_ca;if(_ca)this.doScriptBucket='';}};_b5.defineState=function(_ci,_p){if(typeof _ci==_e){var _bK=this._bK;if(typeof _bK[_ci]==_c){_bK[_ci]={_bL:_g,_bM:_f,_bN:_f,_bO:'',_bP:_f};}_ci=_bK[_ci];}if(typeof _p.caption!=_c)_ci._bO=_p.caption;
if(typeof _p.placeholderVisible!=_c)_ci._bL=_p.placeholderVisible;if(typeof _p.alwaysShowCaption!=_c)_ci._bP=_p.alwaysShowCaption;if(typeof _p.clickAction!=_c)_ci._bQ=_p.clickAction;};_b5.playerSupportsScripting=_b5._ce=function(){return this.isAdequate()&& !MACIE;};_b5.playerSupportsEvents=_b5._co=function(){return this.isAdequate()&& !MACIE&&(!this._K||(_cQ&&_cE&&this.eventsInJavaEnabled&& !(GECKO&&MAC)&& !_do));};var _M={_Q:'get-pulse-player.gif',_R:78,_S:33},_L={_Q:'get-java.gif',_R:78,_S:33},_dj=_v('Pulse_Player_globalMute')=='1',_N='http://www.pulse3d.com/javascript/';if(typeof _b.getElementsByTagName!=_c){var _dp=_b.getElementsByTagName('SCRIPT');for(var _dq=0;_dq<_dp.length;_dq++){var _dr=_dp[_dq].src,_ds=_dr.indexOf('Pulse.Player.js');if(_ds!= -1){_N=_dr.substr(0,_dr.lastIndexOf('/',_ds)+1);break;}}}_bI._b1={bgColor:'FFFFFF',alwaysShowButton:_g,alwaysShowCaption:_f,borderThickness:1,borderColor:'4B77DA',src:_N+'images/placeholder-veeper-shadow.gif',width:123,height:165};var
 _dt=_a.userAgent.toLowerCase(),_du=(typeof _a.platform!=_c)?_a.platform.toLowerCase():'',_dv=_dw=_f;function _dx(_m){return _k(_dt,_m)}WIN32=MAC=MACX=IE3=IE4=NAV3=NAV4=OPERA=GECKO=_f;if(_k(_du,'win')){WIN32=_g;}else if(_k(_du,'mac')){MAC=_g;MACX=_dt.indexOf('mac os x')!= -1;if(!MACX){var _dy=_dt.match(new RegExp('msie\\s*(\\d+\\.\\d*|\\d+)'));MACX=_dy!=_h&&typeof _dy[1]!=_c&&_dy[1]>='5.2';}}if(_dx('opera')){OPERA=_g;}else if(_dx('gecko')){GECKO=_g;}else if(_dx('msie')){IE3=parseFloat('0'+_dt.substr(_dt.indexOf('msie')+5),10)<4;IE4= !IE3;_dv=parseFloat('0'+_dt.substr(_dt.indexOf('msie')+5),10)>=6;}else if(_dx('mozilla')&& !_dx('spoofer')&& !_dx('compatible')&& !_dx('opera')&& !_dx('webtv')&& !_dx('hotjava')){NAV3=parseFloat(_a.appVersion)<4;NAV4= !NAV3;_dw=_f;}MACIE=MAC&&IE4;var _ct=(IE4&&WIN32)||(GECKO&&(WIN32||MAC));_bI.client={jvmVendor:'',jvmVersion:''};_bI.isInstalled=_bI.isAdequate=_g;_bI.browserSupported=_ct;_bI.version='';_bI.getGlobalMute=function(){return _dj};_bI.setGlobalMute=function(_dz,_dA){
if(_dz!=_dj){_dj=_dz;if(_dz)_bI.stopAudio();_bI._bs('Global Mute Changed',{isByUser:(typeof _dA!=_c)?_dA:1});_T('Pulse_Player_globalMute',_dz?'1':'0')}};_bI.toggleGlobalMute=function(_dA){_bI.setGlobalMute(!_bI.getGlobalMute(),_dA);};_bI.enable=_b5.enable=_b5._ca=function(_dB,_bO){var _be=this;if(_J(_be)){if(typeof _bO!=_c)_be._bK.disabled._bO=_bO;_be._cb(_dB?(_be._dC?_be._cc():'clickToLoad'):'disabled');}else{for(var _b8=0;_b8<_b9.length;_b8++)_b9[_b8]._ca(_dB,_bO);}};_bI.setPlaceholder=_b5.setPlaceholder=function(_p){_n(this._b1,_p);};_bI.stopAudio=_b5.stopAudio=_b5.stopAudioPlayback=function(){if(_J(this)){this.doScript('stopSyncPkg; stopSync;');}else{for(var _b8=0;_b8<_b9.length;_b8++)_b9[_b8].stopAudio();}};_bI.instancesByPlayerId={};_bI.pathToResources=_N;_bI.addPropertiesToObject=_n;_bI.conformObjectToTemplate=_r;_bI.execHandler=_t;_bI.getCookie=_v;_bI.getElementById=_C;_bI.getGIN=_E;_bI.getParamStr=_F;_bI.getPlayerImageHtml=_G;_bI.getScaledImgHtml=_cR;_bI.insertHtml=_5;_bI.isInstance=_J;
_bI.setCookie=_T;_bI.showElement=_X;_bI.inherit=_8;_bI.wireElementOnclick=_2;_8(_bI,{_di:'audioUrl',_dC:'autoLoad',_cy:'bgColor',_cz:'clickTo',_cI:'clickToInstallState',_cA:'command',_7:'container',_dD:'coreVersion',_cB:'fit',_dE:'frameRate',_dF:'hardware',_S:'height',_dG:'hideOnExit',_dH:'hideOnScroll',_dI:'hideOnScrollShowAfter',_cH:'loadingIndicator',_Q:{name:'src',onChange:_b5._b4},_R:'width',_cC:'zoom'});_bI.set({_di:'',_dC:_g,_cy:'ffffff',_cz:'',_cI:'clickToInstall',_cA:'',_7:_h,_dD:'5.2.0.0',_cB:'yes',_dE:30,_dF:1,_S:160,_dG:_g,_dH:_f,_dI:250,_cH:_g,_Q:'veeper.pw3',_R:120,_cC:1});_bI._bs=_b5._bs=_bI.fireEvent;_bI.setEmbedProperties=_b5.setEmbedProperties=_bI.set;var _b9=_bI.instances,_b7='OBJECT',_cF='APPLET',_cO='position:absolute; left:0px; top:0px;',_cN='<DIV ID="',_cP='</DIV>',_do=_f;var _b6=_cF,_dJ=(MAC&& !MACX)||_dx('camino')||_dx('chimera')||_dx('safari')||_dx('icab'),_dK=typeof _a.javaEnabled==_c||_a.javaEnabled()||MACIE,_cs=_cE= !_dJ&&(_dK||(IE4&&WIN32)),_cQ= !_cs||MACIE,
_cD=' classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"';if(!_cQ){var _dL='Pulse_Player_jvmSniffer',_dM=_N+'resources',_dN='Sniffer.jar',_dO='Sniffer.class',_dP,_dQ=' STYLE="position:absolute; left:-1000px; top:-1000px;"',_dR=' id="'+_dL+'"'+_dQ+' WIDTH="2" HEIGHT="2"',_dS='<param name=load value="Geometry">'+'<param name=background value="0xffffff">'+'<param name=command value="frame fit=no;play behave=Start">',_dT='Pulse_Player_testForJava2Element';function _dU(){_cQ=_g;for(var _b8=0;_b8<_b9.length;_b8++){var _dV=_b9[_b8];if(_dV._K){if(_cE){if(_dV._bV)_dV._ca(_g);}else{var _cI=_dV._bK.clickToInstall;_cI._bO='Click to bring this page to life with Java!';_cI._bN=_f;_dV._cb('clickToInstall');}}}}function _dW(){if(!_cQ){if(_C(_dT)!=_h){_cE=_f;_dU();}else{setTimeout(_dW,500);}}}_j[_dL+'_onEvent']=function(_dX){var _dY=(_dX+'').split(' ; '),_dZ=_bI.client.jvmVendor=_dY[0],_d0=_bI.client.jvmVersion=_dY[1],_d1=_k(_dZ.toLowerCase(),'sun');if(_d1){_do=_d0.substr(0,5)>='1.4.1'&&_j!=top;if(IE4)_b6=_b7;}
_cE= !_d1||parseFloat(_d0.substr(0,3))>1.2;_dU();};if(IE4&&WIN32){if(!_dK){_b6=_b7;}else{_b.writeln('<p id="Pulse_Player_testForMsJvmElement"'+_dQ+'></p>');var _d2=_C('Pulse_Player_testForMsJvmElement');_d2.addBehavior("#default#clientCaps");if(!_d2.isComponentInstalled('{08B0E5C0-4FCB-11CF-AAA5-00401C608500}','ComponentID'))_b6=_b7;}}if(_b6==_b7){_dP='<'+_b7+_dR+_cD+'>'+_F('codebase',_dM)+_F('archive',_dN)+_F('code',_dO)+_F('name',_dL)+_F('type','application/x-java-applet')+_F('scriptable',_g)+_F('mayscript',_g)+_dS+'<p id="'+_dT+'"'+_dQ+'"></p>'+'</'+_b7+'>';}else{_dP='<'+_cF+_dR+' NAME="'+_dL+'"'+' CODEBASE="'+_dM+'"'+' ARCHIVE="'+_dN+'"'+' CODE="'+_dO+'"'+' MAYSCRIPT'+'>'+_dS+'</APPLET>';}_b.writeln(_dP);setTimeout(_dW,500);}var _d3=_j.onscroll,_d4=_f,_d5=_h;function _d6(){if(_d5!=_h){clearTimeout(_d5);_d5=_h;}}_bI.scrollingDone=function(){_d4=_f;_d6();_bI.requestPlayerHidden(-1,'hideOnScroll');};window.onscroll=function(_dX){if(!_d4){_d4=_g;_bI.requestPlayerHidden(1,'hideOnScroll');}_d6();
_d5=setTimeout('Pulse.Player.scrollingDone ()',_bI._dI);_t(_d3,_dX);};if(GECKO||(IE4&&WIN32)){var _d7=_j.onunload;_j.onunload=function(_dX){if(GECKO)_bI.stopAudio();if(!GECKO)_bI.requestPlayerHidden(1,'hideOnExit');for(var _b8=0;_b8<_b9.length;_b8++){var _dV=_b9[_b8];if(_dV._bZ!=_h){if(typeof _dV._bZ.releaseResources!=_c)_dV._bZ.releaseResources();_dV._bZ=_h;}}_t(_d7,_dX);};}if((IE4&&WIN32)){var _d8=_j.onbeforeunload;_j.onbeforeunload=function(_dX){_bI.requestPlayerHidden(1,'hideOnExit');_t(_d8,_dX);};}})();