/* Concatenated and compressed,  containing: js/shared/flash_detect.js,js/shared/soundmanager2.js,js/shared/tabalert.js */var FlashDetect=new function(){var a=this;a.installed=false;a.raw="";a.major=-1;a.minor=-1;a.revision=-1;a.revisionStr="";var b=[{name:"ShockwaveFlash.ShockwaveFlash.7",version:function(h){return d(h)}},{name:"ShockwaveFlash.ShockwaveFlash.6",version:function(k){var h="6,0,21";try{k.AllowScriptAccess="always";h=d(k)}catch(j){}return h}},{name:"ShockwaveFlash.ShockwaveFlash",version:function(h){return d(h)}}];var d=function(k){var h=-1;try{h=k.GetVariable("$version")}catch(j){}return h};var g=function(h){var k=-1;try{k=new ActiveXObject(h)}catch(j){k={activeXError:true}}return k};var c=function(j){var h=j.split(",");return{raw:j,major:parseInt(h[0].split(" ")[1],10),minor:parseInt(h[1],10),revision:parseInt(h[2],10),revisionStr:h[2]}};var f=function(l){var j=l.split(/ +/);var k=j[2].split(/\./);var h=j[3];return{raw:l,major:parseInt(k[0],10),minor:parseInt(k[1],10),revisionStr:h,revision:e(h)}};var e=function(h){return parseInt(h.replace(/[a-zA-Z]/g,""),10)||a.revision};a.majorAtLeast=function(h){return a.major>=h};a.minorAtLeast=function(h){return a.minor>=h};a.revisionAtLeast=function(h){return a.revision>=h};a.versionAtLeast=function(j){var k=[a.major,a.minor,a.revision];var h=Math.min(k.length,arguments.length);for(i=0;i<h;i++){if(k[i]>=arguments[i]){if(i+1<h&&k[i]==arguments[i]){continue}else{return true}}else{return false}}};a.FlashDetect=function(){if(navigator.plugins&&navigator.plugins.length>0){var l="application/x-shockwave-flash";var k=navigator.mimeTypes;if(k&&k[l]&&k[l].enabledPlugin&&k[l].enabledPlugin.description){var h=k[l].enabledPlugin.description;var m=f(h);a.raw=m.raw;a.major=m.major;a.minor=m.minor;a.revisionStr=m.revisionStr;a.revision=m.revision;a.installed=true}}else{if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){var h=-1;for(var j=0;j<b.length&&h==-1;j++){var n=g(b[j].name);if(!n.activeXError){a.installed=true;h=b[j].version(n);if(h!=-1){var m=c(h);a.raw=m.raw;a.major=m.major;a.minor=m.minor;a.revision=m.revision;a.revisionStr=m.revisionStr}}}}}}()};FlashDetect.JS_RELEASE="1.0.4";if(FlashDetect.installed===false){SM2_DEFER=true;
/*
   SoundManager 2: Javascript Sound for the Web
   --------------------------------------------
   http://schillmania.com/projects/soundmanager2/

   Copyright (c) 2008, Scott Schiller. All rights reserved.
   Code licensed under the BSD License:
   http://schillmania.com/projects/soundmanager2/license.txt

   V2.95a.20090717
*/
}var soundManager=null;function SoundManager(b,a){this.flashVersion=8;this.debugMode=true;this.useConsole=true;this.consoleOnly=false;this.waitForWindowLoad=false;this.nullURL="null.mp3";this.allowPolling=true;this.useFastPolling=false;this.useMovieStar=false;this.bgColor="#ffffff";this.useHighPerformance=false;this.flashLoadTimeout=1000;this.wmode=null;this.allowFullScreen=true;this.defaultOptions={autoLoad:false,stream:true,autoPlay:false,onid3:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onstop:null,onfinish:null,onbeforefinish:null,onbeforefinishtime:5000,onbeforefinishcomplete:null,onjustbeforefinish:null,onjustbeforefinishtime:200,multiShot:true,multiShotEvents:false,position:null,pan:0,volume:100};this.flash9Options={isMovieStar:null,usePeakData:false,useWaveformData:false,useEQData:false,onbufferchange:null,ondataerror:null};this.movieStarOptions={onmetadata:null,useVideo:false,bufferTime:null};var f=null;var e=this;this.version=null;this.versionNumber="V2.95a.20090717";this.movieURL=null;this.url=null;this.altURL=null;this.swfLoaded=false;this.enabled=false;this.o=null;this.id=(a||"sm2movie");this.oMC=null;this.sounds={};this.soundIDs=[];this.muted=false;this.isFullScreen=false;this.isIE=(navigator.userAgent.match(/MSIE/i));this.isSafari=(navigator.userAgent.match(/safari/i));this.debugID="soundmanager-debug";this.debugURLParam=/([#?&])debug=1/i;this.specialWmodeCase=false;this._onready=[];this._debugOpen=true;this._didAppend=false;this._appendSuccess=false;this._didInit=false;this._disabled=false;this._windowLoaded=false;this._hasConsole=(typeof console!="undefined"&&typeof console.log!="undefined");this._debugLevels=["log","info","warn","error"];this._defaultFlashVersion=8;this._oRemoved=null;this._oRemovedHTML=null;var g=function(h){return document.getElementById(h)};this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i};this.netStreamTypes=["aac","flv","mov","mp4","m4v","f4v","m4a","mp4v","3gp","3g2"];this.netStreamPattern=new RegExp("\\.("+this.netStreamTypes.join("|")+")(\\?.*)?$","i");this.filePattern=null;this.features={buffering:false,peakData:false,waveformData:false,eqData:false,movieStar:false};this.sandbox={type:null,types:{remote:"remote (domain-based) rules",localWithFile:"local with file access (no internet access)",localWithNetwork:"local with network (internet access only, no local access)",localTrusted:"local, trusted (local + internet access)"},description:null,noRemote:null,noLocal:null};this._setVersionInfo=function(){if(e.flashVersion!=8&&e.flashVersion!=9){alert('soundManager.flashVersion must be 8 or 9. "'+e.flashVersion+'" is invalid. Reverting to '+e._defaultFlashVersion+".");e.flashVersion=e._defaultFlashVersion}e.version=e.versionNumber+(e.flashVersion==9?" (AS3/Flash 9)":" (AS2/Flash 8)");if(e.flashVersion>8){e.defaultOptions=e._mergeObjects(e.defaultOptions,e.flash9Options);e.features.buffering=true}if(e.flashVersion>8&&e.useMovieStar){e.defaultOptions=e._mergeObjects(e.defaultOptions,e.movieStarOptions);e.filePatterns.flash9=new RegExp("\\.(mp3|"+e.netStreamTypes.join("|")+")(\\?.*)?$","i");e.features.movieStar=true}else{e.useMovieStar=false;e.features.movieStar=false}e.filePattern=e.filePatterns[(e.flashVersion!=8?"flash9":"flash8")];e.movieURL=(e.flashVersion==8?"soundmanager2.swf":"soundmanager2_flash9.swf");e.features.peakData=e.features.waveformData=e.features.eqData=(e.flashVersion>8)};this._overHTTP=(document.location?document.location.protocol.match(/http/i):null);this._waitingforEI=false;this._initPending=false;this._tryInitOnFocus=(this.isSafari&&typeof document.hasFocus=="undefined");this._isFocused=(typeof document.hasFocus!="undefined"?document.hasFocus():null);this._okToDisable=!this._tryInitOnFocus;this.useAltURL=!this._overHTTP;var d="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html";this.strings={notReady:"Not loaded yet - wait for soundManager.onload() before calling sound-related methods",appXHTML:"soundManager._createMovie(): appendChild/innerHTML set failed. May be app/xhtml+xml DOM-related.",localFail:'soundManager: Loading this page from local/network file system (not over HTTP?) Flash security likely restricting JS-Flash access. Consider adding current URL to "trusted locations" in the Flash player security settings manager at '+d+", or simply serve this content over HTTP.",waitFocus:"soundManager: Special case: Waiting for focus-related event..",waitImpatient:"soundManager: Getting impatient, still waiting for Flash.. ;)",waitForever:"soundManager: Waiting indefinitely for Flash...",needFunction:"soundManager.onready(): Function object expected"};this.supported=function(){return(e._didInit&&!e._disabled)};this.getMovie=function(h){return e.isIE?window[h]:(e.isSafari?g(h)||document[h]:g(h))};this.loadFromXML=function(h){try{e.o._loadFromXML(h)}catch(j){e._failSafely();return true}};this.createSound=function(j){var m="soundManager.createSound(): ";if(!e._didInit){throw e._complain(m+e.strings.notReady,arguments.callee.caller)}if(arguments.length==2){j={id:arguments[0],url:arguments[1]}}var k=e._mergeObjects(j);var h=k;if(h.id.toString().charAt(0).match(/^[0-9]$/)){var l=m+'Warning: Sound ID "'+h.id+'" should be a string, starting with a non-numeric character';e._wD(l,2)}e._wD(m+h.id+" ("+h.url+")",1);if(e._idCheck(h.id,true)){e._wD(m+h.id+" exists",1);return e.sounds[h.id]}if(e.flashVersion>8&&e.useMovieStar){if(h.isMovieStar===null){h.isMovieStar=(h.url.match(e.netStreamPattern)?true:false)}if(h.isMovieStar){e._wD(m+"using MovieStar handling")}if(h.isMovieStar&&(h.usePeakData||h.useWaveformData||h.useEQData)){e._wD("Warning: peak/waveform/eqData features unsupported for non-MP3 formats");h.usePeakData=false;h.useWaveformData=false;h.useEQData=false}}e.sounds[h.id]=new f(h);e.soundIDs[e.soundIDs.length]=h.id;if(e.flashVersion==8){e.o._createSound(h.id,h.onjustbeforefinishtime)}else{e.o._createSound(h.id,h.url,h.onjustbeforefinishtime,h.usePeakData,h.useWaveformData,h.useEQData,h.isMovieStar,(h.isMovieStar?h.useVideo:false),(h.isMovieStar?h.bufferTime:false))}if(h.autoLoad||h.autoPlay){if(e.sounds[h.id]){e.sounds[h.id].load(h)}}if(h.autoPlay){e.sounds[h.id].play()}return e.sounds[h.id]};this.createVideo=function(h){if(arguments.length==2){h={id:arguments[0],url:arguments[1]}}if(e.flashVersion>=9){h.isMovieStar=true;h.useVideo=true}else{e._wD("soundManager.createVideo(): flash 9 required for video. Exiting.",2);return false}if(!e.useMovieStar){e._wD("soundManager.createVideo(): MovieStar mode not enabled. Exiting.",2)}return e.createSound(h)};this.destroySound=function(j,h){if(!e._idCheck(j)){return false}for(var k=0;k<e.soundIDs.length;k++){if(e.soundIDs[k]==j){e.soundIDs.splice(k,1);continue}}e.sounds[j].unload();if(!h){e.sounds[j].destruct()}delete e.sounds[j]};this.destroyVideo=this.destroySound;this.load=function(h,j){if(!e._idCheck(h)){return false}e.sounds[h].load(j)};this.unload=function(h){if(!e._idCheck(h)){return false}e.sounds[h].unload()};this.play=function(h,j){if(!e._didInit){throw e._complain("soundManager.play(): "+e.strings.notReady,arguments.callee.caller)}if(!e._idCheck(h)){if(typeof j!="Object"){j={url:j}}if(j&&j.url){e._wD('soundController.play(): attempting to create "'+h+'"',1);j.id=h;e.createSound(j)}else{return false}}e.sounds[h].play(j)};this.start=this.play;this.setPosition=function(h,j){if(!e._idCheck(h)){return false}e.sounds[h].setPosition(j)};this.stop=function(h){if(!e._idCheck(h)){return false}e._wD("soundManager.stop("+h+")",1);e.sounds[h].stop()};this.stopAll=function(){e._wD("soundManager.stopAll()",1);for(var h in e.sounds){if(e.sounds[h] instanceof f){e.sounds[h].stop()}}};this.pause=function(h){if(!e._idCheck(h)){return false}e.sounds[h].pause()};this.pauseAll=function(){for(var h=e.soundIDs.length;h--;){e.sounds[e.soundIDs[h]].pause()}};this.resume=function(h){if(!e._idCheck(h)){return false}e.sounds[h].resume()};this.resumeAll=function(){for(var h=e.soundIDs.length;h--;){e.sounds[e.soundIDs[h]].resume()}};this.togglePause=function(h){if(!e._idCheck(h)){return false}e.sounds[h].togglePause()};this.setPan=function(h,j){if(!e._idCheck(h)){return false}e.sounds[h].setPan(j)};this.setVolume=function(j,h){if(!e._idCheck(j)){return false}e.sounds[j].setVolume(h)};this.mute=function(h){if(typeof h!="string"){h=null}if(!h){e._wD("soundManager.mute(): Muting all sounds");for(var j=e.soundIDs.length;j--;){e.sounds[e.soundIDs[j]].mute()}e.muted=true}else{if(!e._idCheck(h)){return false}e._wD('soundManager.mute(): Muting "'+h+'"');e.sounds[h].mute()}};this.muteAll=function(){e.mute()};this.unmute=function(h){if(typeof h!="string"){h=null}if(!h){e._wD("soundManager.unmute(): Unmuting all sounds");for(var j=e.soundIDs.length;j--;){e.sounds[e.soundIDs[j]].unmute()}e.muted=false}else{if(!e._idCheck(h)){return false}e._wD('soundManager.unmute(): Unmuting "'+h+'"');e.sounds[h].unmute()}};this.unmuteAll=function(){e.unmute()};this.toggleMute=function(h){if(!e._idCheck(h)){return false}e.sounds[h].toggleMute()};this.getMemoryUse=function(){if(e.flashVersion==8){return 0}if(e.o){return parseInt(e.o._getMemoryUse(),10)}};this.disable=function(j){if(typeof j=="undefined"){j=false}if(e._disabled){return false}e._disabled=true;e._wD("soundManager.disable(): Shutting down",1);for(var h=e.soundIDs.length;h--;){e._disableObject(e.sounds[e.soundIDs[h]])}e.initComplete(j)};this.canPlayURL=function(h){return(h?(h.match(e.filePattern)?true:false):null)};this.getSoundById=function(j,k){if(!j){throw new Error("SoundManager.getSoundById(): sID is null/undefined")}var h=e.sounds[j];if(!h&&!k){e._wD('"'+j+'" is an invalid sound ID.',2)}return h};this.onready=function(j,h){if(j&&j instanceof Function){if(e._didInit){e._wD("soundManager.onready(): Queueing handler")}if(!h){h=window}e._addOnReady(j,h);e._processOnReady();return true}else{throw e.strings.needFunction}};this.oninitmovie=function(){};this.onload=function(){soundManager._wD("soundManager.onload()",1)};this.onerror=function(){};this._idCheck=this.getSoundById;this._complain=function(j,l){var k="Error: ";if(!l){return new Error(k+j)}var n=new Error("");var o=null;if(n.stack){try{var p="@";var q=n.stack.split(p);o=q[4]}catch(m){o=n.stack}}if(typeof console!="undefined"&&typeof console.trace!="undefined"){console.trace()}var h=k+j+". \nCaller: "+l.toString()+(n.stack?" \nTop of stacktrace: "+o:(n.message?" \nMessage: "+n.message:""));return new Error(h)};var c=function(){return false};c._protected=true;this._disableObject=function(j){for(var h in j){if(typeof j[h]=="function"&&typeof j[h]._protected=="undefined"){j[h]=c}}h=null};this._failSafely=function(h){if(typeof h=="undefined"){h=false}if(!e._disabled||h){e._wD("soundManager: Failed to initialise.",2);e.disable(h)}};this._normalizeMovieURL=function(h){var j=null;if(h){if(h.match(/\.swf(\?.*)?$/i)){j=h.substr(h.toLowerCase().lastIndexOf(".swf?")+4);if(j){return h}}else{if(h.lastIndexOf("/")!=h.length-1){h=h+"/"}}}return(h&&h.lastIndexOf("/")!=-1?h.substr(0,h.lastIndexOf("/")+1):"./")+e.movieURL};this._getDocument=function(){return(document.body?document.body:(document.documentElement?document.documentElement:document.getElementsByTagName("div")[0]))};this._getDocument._protected=true;this._setPolling=function(h,j){if(!e.o||!e.allowPolling){return false}e.o._setPolling(h,j)};this._createMovie=function(y,n){var t=null;var w=(n?n:e.url);var r=(e.altURL?e.altURL:w);if(e.debugURLParam.test(window.location.href.toString())){e.debugMode=true}if(e._didAppend&&e._appendSuccess){return false}e._didAppend=true;e._setVersionInfo();e.url=e._normalizeMovieURL(e._overHTTP?w:r);n=e.url;if(e.useHighPerformance&&e.useMovieStar&&e.defaultOptions.useVideo===true){t="soundManager note: disabling highPerformance, not applicable with movieStar mode + useVideo";e.useHighPerformance=false}e.wmode=(!e.wmode&&e.useHighPerformance&&!e.useMovieStar?"transparent":e.wmode);if(e.wmode!==null&&e.flashLoadTimeout!==0&&!e.useHighPerformance&&!e.isIE&&navigator.platform.match(/win32/i)){e.specialWmodeCase=true;e._wD("soundManager note: Removing wmode, preventing off-screen SWF loading issue");e.wmode=null}if(e.flashVersion==8){e.allowFullScreen=false}var B={name:y,id:y,src:n,width:"100%",height:"100%",quality:"high",allowScriptAccess:"always",bgcolor:e.bgColor,pluginspage:"http://www.macromedia.com/go/getflashplayer",type:"application/x-shockwave-flash",wmode:e.wmode,allowfullscreen:(e.allowFullScreen?"true":"false")};if(!e.wmode){delete B.wmode}var o=null;var A=null;if(e.isIE){o=document.createElement("div");var u='<object id="'+y+'" data="'+n+'" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="'+n+'" /><param name="AllowScriptAccess" value="always" /><param name="quality" value="high" />'+(e.wmode?'<param name="wmode" value="'+e.wmode+'" /> ':"")+'<param name="bgcolor" value="'+e.bgColor+'" /><param name="allowFullScreen" value="'+(e.allowFullScreen?"true":"false")+'" /><!-- --></object>'}else{o=document.createElement("embed");for(A in B){if(B.hasOwnProperty(A)){o.setAttribute(A,B[A])}}}var j=document.createElement("div");j.id=e.debugID+"-toggle";var k={position:"fixed",bottom:"0px",right:"0px",width:"1.2em",height:"1.2em",lineHeight:"1.2em",margin:"2px",textAlign:"center",border:"1px solid #999",cursor:"pointer",background:"#fff",color:"#333",zIndex:10001};j.appendChild(document.createTextNode("-"));j.onclick=e._toggleDebug;j.title="Toggle SM2 debug console";if(navigator.userAgent.match(/msie 6/i)){j.style.position="absolute";j.style.cursor="hand"}for(A in k){if(k.hasOwnProperty(A)){j.style[A]=k[A]}}var v=e._getDocument();if(v){e.oMC=g("sm2-container")?g("sm2-container"):document.createElement("div");if(!e.oMC.id){e.oMC.id="sm2-container";e.oMC.className="movieContainer";var p=null;var q=null;if(e.useHighPerformance){p={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"}}else{p={position:"absolute",width:"8px",height:"8px",top:"-9999px",left:"-9999px"}}var l=null;for(l in p){if(p.hasOwnProperty(l)){e.oMC.style[l]=p[l]}}try{if(!e.isIE){e.oMC.appendChild(o)}v.appendChild(e.oMC);if(e.isIE){q=e.oMC.appendChild(document.createElement("div"));q.className="sm2-object-box";q.innerHTML=u}e._appendSuccess=true}catch(z){throw new Error(e.strings.appXHTML)}}else{e.oMC.appendChild(o);if(e.isIE){q=e.oMC.appendChild(document.createElement("div"));q.className="sm2-object-box";q.innerHTML=u}e._appendSuccess=true}if(!g(e.debugID)&&((!e._hasConsole||!e.useConsole)||(e.useConsole&&e._hasConsole&&!e.consoleOnly))){var m=document.createElement("div");m.id=e.debugID;m.style.display=(e.debugMode?"block":"none");if(e.debugMode&&!g(j.id)){try{v.appendChild(j)}catch(h){throw new Error(e.strings.appXHTML)}v.appendChild(m)}}v=null}if(t){e._wD(t)}e._wD("-- SoundManager 2 "+e.version+(e.useMovieStar?", MovieStar mode":"")+(e.useHighPerformance?", high performance mode, ":", ")+((e.useFastPolling?"fast":"normal")+" polling mode")+(e.wmode?", wmode: "+e.wmode:"")+" --",1);e._wD("soundManager._createMovie(): Trying to load "+n+(!e._overHTTP&&e.altURL?" (alternate URL)":""),1)};this._writeDebug=function(j,q,l){if(!e.debugMode){return false}if(typeof l!="undefined"&&l){j=j+" | "+new Date().getTime()}if(e._hasConsole&&e.useConsole){var h=e._debugLevels[q];if(typeof console[h]!="undefined"){console[h](j)}else{console.log(j)}if(e.useConsoleOnly){return true}}var p="soundmanager-debug";try{var n=g(p);if(!n){return false}var m=document.createElement("div");if(++e._wdCount%2===0){m.className="sm2-alt"}if(typeof q=="undefined"){q=0}else{q=parseInt(q,10)}m.appendChild(document.createTextNode(j));if(q){if(q>=2){m.style.fontWeight="bold"}if(q==3){m.style.color="#ff3333"}}n.insertBefore(m,n.firstChild)}catch(k){}n=null};this._writeDebug._protected=true;this._wdCount=0;this._wdCount._protected=true;this._wD=this._writeDebug;this._wDAlert=function(h){alert(h)};if(window.location.href.indexOf("debug=alert")+1&&e.debugMode){e._wD=e._wDAlert}this._toggleDebug=function(){var j=g(e.debugID);var h=g(e.debugID+"-toggle");if(!j){return false}if(e._debugOpen){h.innerHTML="+";j.style.display="none"}else{h.innerHTML="-";j.style.display="block"}e._debugOpen=!e._debugOpen};this._toggleDebug._protected=true;this._debug=function(){e._wD("--- soundManager._debug(): Current sound objects ---",1);for(var k=0,h=e.soundIDs.length;k<h;k++){e.sounds[e.soundIDs[k]]._debug()}};this._debugTS=function(l,h,j){if(typeof sm2Debugger!="undefined"){try{sm2Debugger.handleEvent(l,h,j)}catch(k){}}};this._debugTS._protected=true;this._mergeObjects=function(j,h){var m={};for(var k in j){if(j.hasOwnProperty(k)){m[k]=j[k]}}var l=(typeof h=="undefined"?e.defaultOptions:h);for(var n in l){if(l.hasOwnProperty(n)&&typeof m[n]=="undefined"){m[n]=l[n]}}return m};this.createMovie=function(h){if(h){e.url=h}e._initMovie()};this.go=this.createMovie;this._initMovie=function(){if(e.o){return false}e.o=e.getMovie(e.id);if(!e.o){if(!e.oRemoved){e._createMovie(e.id,e.url)}else{if(!e.isIE){e.oMC.appendChild(e.oRemoved)}else{e.oMC.innerHTML=e.oRemovedHTML}e.oRemoved=null;e._didAppend=true}e.o=e.getMovie(e.id)}if(e.o){e._wD("soundManager._initMovie(): Got "+e.o.nodeName+" element ("+(e._didAppend?"created via JS":"static HTML")+")",1);if(e.flashLoadTimeout>0){e._wD("soundManager._initMovie(): Waiting for ExternalInterface call from Flash..")}}if(typeof e.oninitmovie=="function"){setTimeout(e.oninitmovie,1)}};this.waitForExternalInterface=function(){if(e._waitingForEI){return false}e._waitingForEI=true;if(e._tryInitOnFocus&&!e._isFocused){e._wD(e.strings.waitFocus);return false}if(e.flashLoadTimeout>0){if(!e._didInit){e._wD(e.strings.waitImpatient)}setTimeout(function(){if(!e._didInit){e._wD("soundManager: No Flash response within reasonable time after document load.\nPossible causes: Loading "+e.movieURL+" failed, Flash version under "+e.flashVersion+", no support, flash blocked or JS-Flash security error.",2);if(!e._overHTTP){e._wD(e.strings.localFail,2)}e._debugTS("flashtojs",false,": Timed out"+(e._overHTTP)?" (Check flash security or flash blockers)":" (No plugin/missing SWF?)")}if(!e._didInit&&e._okToDisable){e._failSafely(true)}},e.flashLoadTimeout)}else{if(!e._didInit){e._wD(e.strings.waitForever)}}};this.handleFocus=function(){if(e._isFocused||!e._tryInitOnFocus){return true}e._okToDisable=true;e._isFocused=true;e._wD("soundManager.handleFocus()");if(e._tryInitOnFocus){window.removeEventListener("mousemove",e.handleFocus,false)}e._waitingForEI=false;setTimeout(e.waitForExternalInterface,500);if(window.removeEventListener){window.removeEventListener("focus",e.handleFocus,false)}else{if(window.detachEvent){window.detachEvent("onfocus",e.handleFocus)}}};this.initComplete=function(h){if(e._didInit){return false}e._didInit=true;e._wD("-- SoundManager 2 "+(e._disabled?"failed to load":"loaded")+" ("+(e._disabled?"security/load error":"OK")+") --",1);if(e._disabled||h){e._wD("soundManager.initComplete(): calling soundManager.onerror()",1);e._processOnReady();e._debugTS("onload",false);e.onerror.apply(window);return false}else{e._debugTS("onload",true)}if(e.waitForWindowLoad&&!e._windowLoaded){e._wD("soundManager: Waiting for window.onload()");if(window.addEventListener){window.addEventListener("load",e._initUserOnload,false)}else{if(window.attachEvent){window.attachEvent("onload",e._initUserOnload)}}return false}else{if(e.waitForWindowLoad&&e._windowLoaded){e._wD("soundManager: Document already loaded")}e._initUserOnload()}};this._addOnReady=function(j,h){e._onready.push({method:j,scope:(h||null),fired:false})};this._processOnReady=function(){if(!e._didInit){return false}var k={success:(!e._disabled)};var h=[];for(var m=0,l=e._onready.length;m<l;m++){if(e._onready[m].fired!==true){h.push(e._onready[m])}}if(h.length){e._wD("soundManager: Firing "+h.length+" onready() item"+(h.length>1?"s":""));for(m=0,l=h.length;m<l;m++){if(h[m].scope){h[m].method.apply(h[m].scope,[k])}else{h[m].method(k)}h[m].fired=true}}};this._initUserOnload=function(){window.setTimeout(function(){e._processOnReady();e._wD("soundManager.initComplete(): calling soundManager.onload()",1);e.onload.apply(window);e._wD("soundManager.onload() complete",1)})};this.init=function(){e._wD("-- soundManager.init() --");e._initMovie();if(e._didInit){e._wD("soundManager.init(): Already called?");return false}if(window.removeEventListener){window.removeEventListener("load",e.beginDelayedInit,false)}else{if(window.detachEvent){window.detachEvent("onload",e.beginDelayedInit)}}try{e._wD("Attempting to call Flash from JS..");e.o._externalInterfaceTest(false);if(!e.allowPolling){e._wD("Polling (whileloading()/whileplaying() support) is disabled.",1)}e._setPolling(true,e.useFastPolling?true:false);if(!e.debugMode){e.o._disableDebug()}e.enabled=true;e._debugTS("jstoflash",true)}catch(h){e._wD("js/flash exception: "+h.toString());e._debugTS("jstoflash",false);e._failSafely(true);e.initComplete();return false}e.initComplete()};this.beginDelayedInit=function(){e._wD("soundManager.beginDelayedInit()");e._windowLoaded=true;setTimeout(e.waitForExternalInterface,500);setTimeout(e.beginInit,20)};this.beginInit=function(){if(e._initPending){return false}e.createMovie();e._initMovie();e._initPending=true;return true};this.domContentLoaded=function(){e._wD("soundManager.domContentLoaded()");if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",e.domContentLoaded,false)}e.go()};this._externalInterfaceOK=function(){if(e.swfLoaded){return false}e._wD("soundManager._externalInterfaceOK()");e._debugTS("swf",true);e._debugTS("flashtojs",true);e.swfLoaded=true;e._tryInitOnFocus=false;if(e.isIE){setTimeout(e.init,100)}else{e.init()}};this._setSandboxType=function(h){var j=e.sandbox;j.type=h;j.description=j.types[(typeof j.types[h]!="undefined"?h:"unknown")];e._wD("Flash security sandbox type: "+j.type);if(j.type=="localWithFile"){j.noRemote=true;j.noLocal=false;e._wD("Flash security note: Network/internet URLs will not load due to security restrictions. Access can be configured via Flash Player Global Security Settings Page: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html",2)}else{if(j.type=="localWithNetwork"){j.noRemote=false;j.noLocal=true}else{if(j.type=="localTrusted"){j.noRemote=false;j.noLocal=false}}}};this.reboot=function(){e._wD("soundManager.reboot()");if(e.soundIDs.length){e._wD("Destroying "+e.soundIDs.length+" SMSound objects...")}for(var h=e.soundIDs.length;h--;){e.sounds[e.soundIDs[h]].destruct()}try{if(e.isIE){e.oRemovedHTML=e.o.innerHTML}e.oRemoved=e.o.parentNode.removeChild(e.o);e._wD("Flash movie removed.")}catch(j){e._wD("Warning: Failed to remove flash movie.",2)}e.enabled=false;e._didInit=false;e._waitingForEI=false;e._initPending=false;e._didAppend=false;e._appendSuccess=false;e._disabled=false;e._waitingforEI=true;e.swfLoaded=false;e.soundIDs={};e.sounds=[];e.o=null;for(h=e._onready.length;h--;){e._onready[h].fired=false}e._wD("soundManager: Rebooting...");window.setTimeout(soundManager.beginDelayedInit,20)};this.destruct=function(){e._wD("soundManager.destruct()");e.disable(true)};f=function(h){var j=this;this.sID=h.id;this.url=h.url;this.options=e._mergeObjects(h);this.instanceOptions=this.options;this._iO=this.instanceOptions;this.pan=this.options.pan;this.volume=this.options.volume;this._lastURL=null;this._debug=function(){if(e.debugMode){var m=null;var o=[];var l=null;var n=null;var k=64;for(m in j.options){if(j.options[m]!==null){if(j.options[m] instanceof Function){l=j.options[m].toString();l=l.replace(/\s\s+/g," ");n=l.indexOf("{");o[o.length]=" "+m+": {"+l.substr(n+1,(Math.min(Math.max(l.indexOf("\n")-1,k),k))).replace(/\n/g,"")+"... }"}else{o[o.length]=" "+m+": "+j.options[m]}}}e._wD("SMSound() merged options: {\n"+o.join(", \n")+"\n}")}};this._debug();this.id3={};this.resetProperties=function(k){j.bytesLoaded=null;j.bytesTotal=null;j.position=null;j.duration=null;j.durationEstimate=null;j.loaded=false;j.playState=0;j.paused=false;j.readyState=0;j.muted=false;j.didBeforeFinish=false;j.didJustBeforeFinish=false;j.isBuffering=false;j.instanceOptions={};j.instanceCount=0;j.peakData={left:0,right:0};j.waveformData={left:[],right:[]};j.eqData=[]};j.resetProperties();this.load=function(k){if(typeof k!="undefined"){j._iO=e._mergeObjects(k);j.instanceOptions=j._iO}else{k=j.options;j._iO=k;j.instanceOptions=j._iO;if(j._lastURL&&j._lastURL!=j.url){e._wD("SMSound.load(): Using manually-assigned URL");j._iO.url=j.url;j.url=null}}if(typeof j._iO.url=="undefined"){j._iO.url=j.url}e._wD("soundManager.load(): "+j._iO.url,1);if(j._iO.url==j.url&&j.readyState!==0&&j.readyState!=2){e._wD("soundManager.load(): current URL already assigned.",1);return false}j.url=j._iO.url;j._lastURL=j._iO.url;j.loaded=false;j.readyState=1;j.playState=0;try{if(e.flashVersion==8){e.o._load(j.sID,j._iO.url,j._iO.stream,j._iO.autoPlay,(j._iO.whileloading?1:0))}else{e.o._load(j.sID,j._iO.url,j._iO.stream?true:false,j._iO.autoPlay?true:false);if(j._iO.isMovieStar&&j._iO.autoLoad&&!j._iO.autoPlay){j.pause()}}}catch(l){e._wD("SMSound.load(): Exception: JS-Flash communication failed, or JS error.",2);e._debugTS("onload",false);e.onerror();e.disable()}};this.unload=function(){if(j.readyState!==0){e._wD('SMSound.unload(): "'+j.sID+'"');if(j.readyState!=2){j.setPosition(0,true)}e.o._unload(j.sID,e.nullURL);j.resetProperties()}};this.destruct=function(){e._wD('SMSound.destruct(): "'+j.sID+'"');e.o._destroySound(j.sID);e.destroySound(j.sID,true)};this.play=function(l){if(!l){l={}}j._iO=e._mergeObjects(l,j._iO);j._iO=e._mergeObjects(j._iO,j.options);j.instanceOptions=j._iO;if(j.playState==1){var k=j._iO.multiShot;if(!k){e._wD('SMSound.play(): "'+j.sID+'" already playing (one-shot)',1);return false}else{e._wD('SMSound.play(): "'+j.sID+'" already playing (multi-shot)',1)}}if(!j.loaded){if(j.readyState===0){e._wD('SMSound.play(): Attempting to load "'+j.sID+'"',1);j._iO.stream=true;j._iO.autoPlay=true;j.load(j._iO)}else{if(j.readyState==2){e._wD('SMSound.play(): Could not load "'+j.sID+'" - exiting',2);return false}else{e._wD('SMSound.play(): "'+j.sID+'" is loading - attempting to play..',1)}}}else{e._wD('SMSound.play(): "'+j.sID+'"')}if(j.paused){j.resume()}else{j.playState=1;if(!j.instanceCount||e.flashVersion>8){j.instanceCount++}j.position=(typeof j._iO.position!="undefined"&&!isNaN(j._iO.position)?j._iO.position:0);if(j._iO.onplay){j._iO.onplay.apply(j)}j.setVolume(j._iO.volume,true);j.setPan(j._iO.pan,true);e.o._start(j.sID,j._iO.loop||1,(e.flashVersion==9?j.position:j.position/1000))}};this.start=this.play;this.stop=function(k){if(j.playState==1){j.playState=0;j.paused=false;if(j._iO.onstop){j._iO.onstop.apply(j)}e.o._stop(j.sID,k);j.instanceCount=0;j._iO={}}};this.setPosition=function(l,k){if(typeof l=="undefined"){l=0}var m=Math.min(j.duration,Math.max(l,0));j._iO.position=m;if(!k){}e.o._setPosition(j.sID,(e.flashVersion==9?j._iO.position:j._iO.position/1000),(j.paused||!j.playState))};this.pause=function(){if(j.paused||j.playState===0){return false}e._wD("SMSound.pause()");j.paused=true;e.o._pause(j.sID);if(j._iO.onpause){j._iO.onpause.apply(j)}};this.resume=function(){if(!j.paused||j.playState===0){return false}e._wD("SMSound.resume()");j.paused=false;e.o._pause(j.sID);if(j._iO.onresume){j._iO.onresume.apply(j)}};this.togglePause=function(){e._wD("SMSound.togglePause()");if(j.playState===0){j.play({position:(e.flashVersion==9?j.position:j.position/1000)});return false}if(j.paused){j.resume()}else{j.pause()}};this.setPan=function(l,k){if(typeof l=="undefined"){l=0}if(typeof k=="undefined"){k=false}e.o._setPan(j.sID,l);j._iO.pan=l;if(!k){j.pan=l}};this.setVolume=function(k,l){if(typeof k=="undefined"){k=100}if(typeof l=="undefined"){l=false}e.o._setVolume(j.sID,(e.muted&&!j.muted)||j.muted?0:k);j._iO.volume=k;if(!l){j.volume=k}};this.mute=function(){j.muted=true;e.o._setVolume(j.sID,0)};this.unmute=function(){j.muted=false;var k=typeof j._iO.volume!="undefined";e.o._setVolume(j.sID,k?j._iO.volume:j.options.volume)};this.toggleMute=function(){if(j.muted){j.unmute()}else{j.mute()}};this._whileloading=function(k,l,m){if(!j._iO.isMovieStar){j.bytesLoaded=k;j.bytesTotal=l;j.duration=Math.floor(m);j.durationEstimate=parseInt((j.bytesTotal/j.bytesLoaded)*j.duration,10);if(j.durationEstimate===undefined){j.durationEstimate=j.duration}if(j.readyState!=3&&j._iO.whileloading){j._iO.whileloading.apply(j)}}else{j.bytesLoaded=k;j.bytesTotal=l;j.duration=Math.floor(m);j.durationEstimate=j.duration;if(j.readyState!=3&&j._iO.whileloading){j._iO.whileloading.apply(j)}}};this._onid3=function(n,k){e._wD('SMSound._onid3(): "'+this.sID+'" ID3 data received.');var o=[];for(var m=0,l=n.length;m<l;m++){o[n[m]]=k[m]}j.id3=e._mergeObjects(j.id3,o);if(j._iO.onid3){j._iO.onid3.apply(j)}};this._whileplaying=function(l,m,o,k,n){if(isNaN(l)||l===null){return false}if(j.playState===0&&l>0){l=0}j.position=l;if(j._iO.usePeakData&&typeof m!="undefined"&&m){j.peakData={left:m.leftPeak,right:m.rightPeak}}if(j._iO.useWaveformData&&typeof o!="undefined"&&o){j.waveformData={left:o.split(","),right:k.split(",")}}if(j._iO.useEQData&&typeof n!="undefined"&&n){j.eqData=n}if(j.playState==1){if(j.isBuffering){j._onbufferchange(0)}if(j._iO.whileplaying){j._iO.whileplaying.apply(j)}if(j.loaded&&j._iO.onbeforefinish&&j._iO.onbeforefinishtime&&!j.didBeforeFinish&&j.duration-j.position<=j._iO.onbeforefinishtime){e._wD("duration-position &lt;= onbeforefinishtime: "+j.duration+" - "+j.position+" &lt= "+j._iO.onbeforefinishtime+" ("+(j.duration-j.position)+")");j._onbeforefinish()}}};this._onload=function(k){k=(k==1?true:false);e._wD('SMSound._onload(): "'+j.sID+'"'+(k?" loaded.":" failed to load? - "+j.url),(k?1:2));if(!k){if(e.sandbox.noRemote===true){e._wD("SMSound._onload(): Reminder: Flash security is denying network/internet access",1)}if(e.sandbox.noLocal===true){e._wD("SMSound._onload(): Reminder: Flash security is denying local access",1)}}j.loaded=k;j.readyState=k?3:2;if(j._iO.onload){j._iO.onload.apply(j)}};this._onbeforefinish=function(){if(!j.didBeforeFinish){j.didBeforeFinish=true;if(j._iO.onbeforefinish){e._wD('SMSound._onbeforefinish(): "'+j.sID+'"');j._iO.onbeforefinish.apply(j)}}};this._onjustbeforefinish=function(k){if(!j.didJustBeforeFinish){j.didJustBeforeFinish=true;if(j._iO.onjustbeforefinish){e._wD('SMSound._onjustbeforefinish(): "'+j.sID+'"');j._iO.onjustbeforefinish.apply(j)}}};this._onfinish=function(){if(j._iO.onbeforefinishcomplete){j._iO.onbeforefinishcomplete.apply(j)}j.didBeforeFinish=false;j.didJustBeforeFinish=false;if(j.instanceCount){j.instanceCount--;if(!j.instanceCount){j.playState=0;j.paused=false;j.instanceCount=0;j.instanceOptions={}}if(!j.instanceCount||j._iO.multiShotEvents){if(j._iO.onfinish){e._wD('SMSound._onfinish(): "'+j.sID+'"');j._iO.onfinish.apply(j)}}}else{if(j.useVideo){}}};this._onmetadata=function(k){e._wD("SMSound.onmetadata()");if(!k.width&&!k.height){e._wD("No width/height given, assuming defaults");k.width=320;k.height=240}j.metadata=k;j.width=k.width;j.height=k.height;if(j._iO.onmetadata){e._wD('SMSound._onmetadata(): "'+j.sID+'"');j._iO.onmetadata.apply(j)}e._wD("SMSound.onmetadata() complete")};this._onbufferchange=function(k){if(j.playState===0){return false}if(k==j.isBuffering){e._wD("_onbufferchange: ignoring false default / loaded sound");return false}j.isBuffering=(k==1?true:false);if(j._iO.onbufferchange){e._wD("SMSound._onbufferchange(): "+k);j._iO.onbufferchange.apply(j)}};this._ondataerror=function(k){if(j.playState>0){e._wD("SMSound._ondataerror(): "+k);if(j._iO.ondataerror){j._iO.ondataerror.apply(j)}}else{}}};this._onfullscreenchange=function(h){e._wD("onfullscreenchange(): "+h);e.isFullScreen=(h==1?true:false);if(!e.isFullScreen){try{window.focus();e._wD("window.focus()")}catch(j){}}};if(window.addEventListener){window.addEventListener("focus",e.handleFocus,false);window.addEventListener("load",e.beginDelayedInit,false);window.addEventListener("unload",e.destruct,false);if(e._tryInitOnFocus){window.addEventListener("mousemove",e.handleFocus,false)}}else{if(window.attachEvent){window.attachEvent("onfocus",e.handleFocus);window.attachEvent("onload",e.beginDelayedInit);window.attachEvent("unload",e.destruct)}else{e._debugTS("onload",false);soundManager.onerror();soundManager.disable()}}if(document.addEventListener){document.addEventListener("DOMContentLoaded",e.domContentLoaded,false)}}if(typeof SM2_DEFER=="undefined"||!SM2_DEFER){soundManager=new SoundManager()}var namespace=function(d){var a=d.split(".");var c=window;for(var b=0;b<a.length;b++){if(!c[a[b]]){c[a[b]]={}}c=c[a[b]]}};namespace("BCNTRY.odat.tab.alerts.utils");BCNTRY.odat.tab.alerts.utils.bind=function(b,c,a){return function(){var f=[];if(a){for(var d=0;d<a.length;d++){f.push(a[d])}}if(arguments){for(var e=0;e<arguments.length;e++){f.push(arguments[e])}}return b.apply(c||window,f)}};namespace("BCNTRY.odat.tab.alerts");BCNTRY.odat.tab.alerts.SoundManager={_isSoundSupported:true,_cookieName:BCNTRY.site.catalog+"TabAlertSoundEnabled",_cookieExpires:null,_cookiePath:"/",_soundId:BCNTRY.site.catalog+"TabAlertSound",initSound:function(a){soundManager.createSound({id:this._soundId,url:a})},init:function(c,a){this._cookieExpires=30;var b=this.getCookie(this._cookieName);if(!b){this.setCookie(this._cookieName,"0",this._cookieExpires,this._cookiePath)}if(soundManager!==null){soundManager.debugMode=false;soundManager.consoleOnly=true;soundManager.url=a;soundManager.onload=BCNTRY.odat.tab.alerts.utils.bind(this.initSound,this,[c]);soundManager.onerror=BCNTRY.odat.tab.alerts.utils.bind(this.soundNotSupported,this)}else{this.soundNotSupported()}},soundNotSupported:function(){this._isSoundSupported=false;this.setCookie(this._cookieName,"0",this._cookieExpires,this._cookiePath)},play:function(){if(this.isEnabled()===true){soundManager.play(this._soundId)}},setCookie:function(b,c,a,d){_setCookie(b,c,a,d)},getCookie:function(a){return _readCookie(a)},setEnabled:function(){if(this._isSoundSupported===true){var a=this.getCookie(this._cookieName);a=(a?(a=="1"?"0":"1"):"1");this.setCookie(this._cookieName,a,this._cookieExpires,this._cookiePath);this.setSoundOnOffLink()}},isEnabled:function(){return(this.getCookie(this._cookieName)=="1")},setSoundOnOffLink:function(){if(this.isEnabled()===true){document.getElementById("tabAlertSoundOnOff").src="/images/"+BCNTRY.site.catalog+"/tabAlertSoundOn.gif"}else{document.getElementById("tabAlertSoundOnOff").src="/images/"+BCNTRY.site.catalog+"/tabAlertSoundOff.gif"}if(this._isSoundSupported===true){document.getElementById("tabAlertSoundOnOffLink").title="Sound"}else{document.getElementById("tabAlertSoundOnOffLink").title="No sound supported, you need to install Adobe Flash plugin on your browser!"}}};BCNTRY.odat.tab.alerts.SoundManager.init(BCNTRY.site.tabAlertSoundUrl,"/docs/bin/swf/");BCNTRY.odat.tab.alerts.Item=function(a,c,b,d){this._skuClass=a;this._title=c;this._price="$"+b;this._discount=d+"% off"};BCNTRY.odat.tab.alerts.TabAlerter=function(e,f,a,b,c,d){this._siteName=e;this._favIconUrl=f;this._greyFavIconUrl=a;this._item=b;this._sound=c;this._titleAlternateDelay=d;this._isTabAlertEnabled=false;this._currentFavIcon=this._favIconUrl};BCNTRY.odat.tab.alerts.TabAlerter.prototype.sendOmnitureStopEventTracking=function(){ScTrackTabAlertStop();ScTrackTabAlertClick(this._item._skuClass)};BCNTRY.odat.tab.alerts.TabAlerter.prototype.sendOmnitureStartEventTracking=function(){var a=this._siteName+": "+this._item._title+" - "+this._item._price+" - "+this._item._discount;ScTrackTabAlertStart(a)};BCNTRY.odat.tab.alerts.TabAlerter.prototype.enableTabAlert=function(a){this._isTabAlertEnabled=a};BCNTRY.odat.tab.alerts.TabAlerter.prototype.isTabAlertEnabled=function(){return this._isTabAlertEnabled};BCNTRY.odat.tab.alerts.TabAlerter.prototype.playSound=function(){try{this._sound.play()}catch(a){if(this.isTabAlertEnabled()===true){setTimeout(BCNTRY.odat.tab.alerts.utils.bind(this.playSound,this),500)}}};BCNTRY.odat.tab.alerts.TabAlerter.prototype.removeFavIconLinkIfExists=function(){var a=document.getElementsByTagName("head")[0];var b=document.getElementById("odatFavicon");if(b&&b.type=="image/vnd.microsoft.icon"&&b.rel=="shortcut icon"){a.removeChild(b)}};BCNTRY.odat.tab.alerts.TabAlerter.prototype.addFavIconLink=function(c){if(YAHOO.env.ua.gecko>0){var b=document.createElement("link");b.type="image/vnd.microsoft.icon";b.rel="shortcut icon";b.id="odatFavicon";b.href=c;this.removeFavIconLinkIfExists();var a=document.getElementsByTagName("head")[0];a.appendChild(b)}};BCNTRY.odat.tab.alerts.TabAlerter.prototype.nextFavIcon=function(){return(this._currentFavIcon==this._favIconUrl)?this._greyFavIconUrl:this._favIconUrl};BCNTRY.odat.tab.alerts.TabAlerter.prototype.animateTab=function(a){if(this.isTabAlertEnabled()===true){document.title=a;this._currentFavIcon=this.nextFavIcon();this.addFavIconLink(this._currentFavIcon)}};BCNTRY.odat.tab.alerts.TabAlerter.prototype.alertTab=function(){if(this.isTabAlertEnabled()===true){this.animateTab(this._siteName);setTimeout(BCNTRY.odat.tab.alerts.utils.bind(this.animateTab,this,[this._item._title]),this._titleAlternateDelay);setTimeout(BCNTRY.odat.tab.alerts.utils.bind(this.animateTab,this,[this._item._discount]),(this._titleAlternateDelay*2));setTimeout(BCNTRY.odat.tab.alerts.utils.bind(this.alertTab,this),(this._titleAlternateDelay*3))}};BCNTRY.odat.tab.alerts.TabAlerter.prototype.start=function(){this.originalTitle=document.title;this.enableTabAlert(true);this.alertTab();this.sendOmnitureStartEventTracking();this.playSound()};BCNTRY.odat.tab.alerts.TabAlerter.prototype.resetTab=function(){document.title=this.originalTitle;this._currentFavIcon=this._favIconUrl;this.addFavIconLink(this._favIconUrl)};BCNTRY.odat.tab.alerts.TabAlerter.prototype.stop=function(){this.resetTab();this.sendOmnitureStopEventTracking()};BCNTRY.odat.tab.alerts.TabAlertManager={_tabAlerter:null,timeoutTabAlert:function(){if(this._tabAlerter!==null&&typeof this._tabAlerter!=="undefined"){if(this._tabAlerter.isTabAlertEnabled()===true){this._tabAlerter.enableTabAlert(false);this._tabAlerter.resetTab()}}},stopTabAlert:function(a){if(this._tabAlerter!==null&&typeof this._tabAlerter!=="undefined"){if(this._tabAlerter.isTabAlertEnabled()===true){this._tabAlerter.enableTabAlert(false);this._tabAlerter.stop()}}return false},startTabAlert:function(){try{var b=new BCNTRY.odat.tab.alerts.Item(BCNTRY.page_data.skuClass,BCNTRY.page_data.productTitle,BCNTRY.page_data.price,BCNTRY.page_data.discount);this._tabAlerter=new BCNTRY.odat.tab.alerts.TabAlerter(BCNTRY.site.name,BCNTRY.site.favicon,BCNTRY.site.faviconGrey,b,BCNTRY.odat.tab.alerts.SoundManager,2000);this._tabAlerter.start();setTimeout(BCNTRY.odat.tab.alerts.utils.bind(this.timeoutTabAlert,this),(BCNTRY.site.tabAlertTimeout*1000))}catch(a){}return 0},initializeTabAlert:function(){BCNTRY.odat.tab.alerts.SoundManager.setSoundOnOffLink();var a=_readCookie("odat_has_refreshed")||"";if(a!==null&&a!==""){this.startTabAlert()}}};if(YAHOO.env.ua.ie>0){YAHOO.util.Event.addListener(document,"focusin",function(a){YAHOO.util.Event.stopEvent(a);this.stopTabAlert()},BCNTRY.odat.tab.alerts.TabAlertManager,true)}else{YAHOO.util.Event.addListener(document,"focus",function(a){YAHOO.util.Event.stopEvent(a);this.stopTabAlert()},BCNTRY.odat.tab.alerts.TabAlertManager,true)};