var SetTimeOutPeriod;function calcage(c,b,a){s=((Math.floor(c/b))%a).toString();if(LeadingZero&&s.length<2){s="0"+s}return s}function CountBack(a){if(a<0){document.getElementById("cntdwn").innerHTML=FinishMessage;return}DisplayStr=DisplayFormat.replace(/%%D%%/g,calcage(a,86400,100000));DisplayStr=DisplayStr.replace(/%%H%%/g,calcage(a,3600,24));DisplayStr=DisplayStr.replace(/%%M%%/g,calcage(a,60,60));DisplayStr=DisplayStr.replace(/%%S%%/g,calcage(a,1,60));document.getElementById("digital_clock_daydigit1").innerHTML=calcage(a,86400,100000);document.getElementById("digital_clock_hourdigit1").innerHTML=calcage(a,3600,24);document.getElementById("digital_clock_mindigit1").innerHTML=calcage(a,60,60);if(CountActive){setTimeout("CountBack("+(a+CountStepper)+")",SetTimeOutPeriod)}}function putspan(c,b){var a=("<span id='cntdwn' style='background-color:"+c+"; color:"+b+"'></span>");if(CurrentMeeting=="DiamondLeague"){a+=("<div id='CountDownClock'><div id='digital_clock_format'><div id='digital_clock_daydigit1'></div><div class='digital_clock_separator'></div><div id='digital_clock_hourdigit1'></div><div class='digital_clock_separator'></div><div id='digital_clock_mindigit1'></div></div><div class='rightsection_1_oslo'>"+MeetingName+"</div></div>")
}else{a+=("<div id='CountDownClockStart'><div id='digital_clock_formatStart'><div id='digital_clock_daydigit1'></div><div class='digital_clock_separator'></div><div id='digital_clock_hourdigit1'></div><div class='digital_clock_separator'></div><div id='digital_clock_mindigit1'></div></div><div class='rightsection_1_oslo'></div></div>")}document.getElementById("CountDownClockDiv").innerHTML=a}function init(){if(document.getElementById("CountDownClockDiv")!=null){if(typeof(BackColor)=="undefined"){BackColor="white"}if(typeof(ForeColor)=="undefined"){ForeColor="black"}if(typeof(TargetDate)=="undefined"){TargetDate="12/31/2020 5:00 AM"}if(typeof(DisplayFormat)=="undefined"){DisplayFormat="%%D%% Days, %%H%% Hours, %%M%% Minutes, %%S%% Seconds."}if(typeof(CountActive)=="undefined"){CountActive=true}if(typeof(FinishMessage)=="undefined"){FinishMessage=""}if(typeof(CountStepper)!="number"){CountStepper=-1}if(typeof(LeadingZero)=="undefined"){LeadingZero=true}CountStepper=Math.ceil(CountStepper);
if(CountStepper==0){CountActive=false}SetTimeOutPeriod=(Math.abs(CountStepper)-1)*1000+990;putspan(BackColor,ForeColor);var a=new Date(TargetDate);var b=new Date(ServerCurrentDate);if(CountStepper>0){ddiff=new Date(b-a)}else{ddiff=new Date(a-b)}gsecs=Math.floor(ddiff.valueOf()/1000);CountBack(gsecs)}};var sImageUrl="";function Left(b,a){if(a<=0){return""}else{if(a>String(b).length){return b}else{return String(b).substring(0,a)}}}function Right(b,a){if(a<=0){return""}else{if(a>String(b).length){return b}else{var c=String(b).length;return String(b).substring(c,c-a)}}}function navImage(g,l){var j=document.getElementById("imgContainer");var i=document.getElementById("ImageName").value;var m=i.substring(i.indexOf("?"));var r=new PageQuery(m);var b=document.getElementById("sFileName").value;var u=unescape(r.getValue("obj"));var q=unescape(r.getValue("wid"));var v=unescape(r.getValue("hei"));var c=unescape(r.getValue("rgn"));var h=unescape(r.getValue("lng"));var k=unescape(r.getValue("cvt"));var B=c.split(",");var f=parseFloat(B[2]);switch(g){case"in":var A=f*0.75;break;case"reset":var A=1;break;case"none":var A=f;break;default:if(f!==1){var A=f/0.75}else{var A=1}break}var e=parseFloat(B[0]);var w=parseFloat(B[1]);var y=1-A;var D=(y*A);switch(l){case"NW":var x=e-D;var n=w-D;break;case"N":var x=e;
var n=w-D;break;case"NE":var x=e+D;var n=w-D;break;case"W":var x=e-D;var n=w;break;case"E":var x=e+D;var n=w;break;case"SW":var x=e-D;var n=w+D;break;case"S":var x=e;var n=w+D;break;case"SE":var x=e+D;var n=w+D;break;default:var x=e-(D/2);var n=w-(D/2);break}if(x<0){x=0}if(x>y){x=y}if(n<0){n=0}if(n>y){n=y}var s=x;var t=n;var a=A;var z=A;var C=s+","+t+","+a+","+z;b=document.getElementById("sFileName").value;var p=b+"&obj="+u+"&wid="+q+"&hei="+v+"&rgn="+C+"&lng="+h+"&cvt="+k;var o=new Array();o=b.split("/");var d=new Array();d=o[o.length-1];document.getElementById("sZoomImageUrl").value="/Templates/IAAFDiamondLeague/Plugins/ImageServer.aspx?fif="+p;window.setTimeout(("changeImage()"),100)}function changeImage(){var a=document.getElementById("imgContainer");var b=document.getElementById("sZoomImageUrl").value;a.src=b;document.getElementById("ImageName").value=b}function processNavigation(h){var e="";var a=document.getElementById("imgContainer");var b=(document.all)?window.event:h;var c=(document.all)?b.offsetX:b.clientX;
var d=(document.all)?b.offsetY:b.clientY;var f=a.width;var g=a.height;if(d<(g/3)){e+="N"}else{if(d>(g*(2/3))){e+="S"}}if(c<(f/3)){e+="W"}else{if(c>(f*(2/3))){e+="E"}}if(e==""){e="none"}navImage("in",e)}function PageQuery(b){if(b.length>1){this.q=b.substring(1,b.length)}else{this.q=null}this.keyValuePairs=new Array();if(b){for(var a=0;a<this.q.split("&").length;a++){this.keyValuePairs[a]=this.q.split("&")[a]}}this.getKeyValuePairs=function(){return this.keyValuePairs};this.getValue=function(c){for(var d=0;d<this.keyValuePairs.length;d++){if(this.keyValuePairs[d].split("=")[0]==c){return this.keyValuePairs[d].split("=")[1]}}return false};this.getParameters=function(){var c=new Array(this.getLength());for(var d=0;d<this.keyValuePairs.length;d++){c[d]=this.keyValuePairs[d].split("=")[0]}return c};this.getLength=function(){return this.keyValuePairs.length}}function DL_GetElementLeft(a){if(!a&&this){a=this}var b=a.offsetLeft;var c=a.offsetParent;while(c!=null){b+=c.offsetLeft;c=c.offsetParent
}return b}function DL_GetElementTop(b){if(!b&&this){b=this}var a=b.offsetTop;var c=b.offsetParent;while(c!=null){a+=c.offsetTop;c=c.offsetParent}return a}function setProperties(b,a){resizeBy(b-150,a-150)}function showArrow(a){alert("Here in Show");if(document.all){document.all[a].style.display=""}else{if(document.getElementById){document.getElementById(a).style.display=""}else{if(document.layers){document.layers[a].style.display=""}}}}function hideArrows(){alert("Here in hide");if(document.getElementById){document.getElementById("topArrow").style.display="none";document.getElementById("bottomArrow").style.display="none";document.getElementById("leftArrow").style.display="none";document.getElementById("rightArrow").style.display="none"}else{if(document.all){document.all.topArrow.style.display="none";document.all.bottomArrow.style.display="none";document.all.leftArrow.style.display="none";document.all.rightArrow.style.display="none"}}};Array.prototype.removeDuplicates=function(){for(var a=1;a<this.length;a++){if(this[a][0]==this[a-1][0]){this.splice(a,1)}}};Array.prototype.empty=function(){for(var a=0;a<=this.length;a++){this.shift()}};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};function LyteBox(){this.theme="grey";this.hideFlash=true;this.outerBorder=true;this.resizeSpeed=8;this.maxOpacity=80;this.navType=1;this.autoResize=true;this.doAnimations=true;this.borderSize=12;this.slideInterval=4000;this.showNavigation=true;this.showClose=true;this.showDetails=true;this.showPlayPause=true;this.autoEnd=true;this.pauseOnNextClick=false;this.pauseOnPrevClick=true;if(this.resizeSpeed>10){this.resizeSpeed=10}if(this.resizeSpeed<1){resizeSpeed=1}this.resizeDuration=(11-this.resizeSpeed)*0.15;this.resizeWTimerArray=new Array();this.resizeWTimerCount=0;this.resizeHTimerArray=new Array();this.resizeHTimerCount=0;this.showContentTimerArray=new Array();this.showContentTimerCount=0;this.overlayTimerArray=new Array();
this.overlayTimerCount=0;this.imageTimerArray=new Array();this.imageTimerCount=0;this.timerIDArray=new Array();this.timerIDCount=0;this.slideshowIDArray=new Array();this.slideshowIDCount=0;this.imageArray=new Array();this.activeImage=null;this.slideArray=new Array();this.activeSlide=null;this.frameArray=new Array();this.activeFrame=null;this.checkFrame();this.isSlideshow=false;this.isLyteframe=false;
/*@cc_on
		/*@if (@_jscript)
			this.ie = (document.all && !window.opera) ? true : false;
		/*@else @*/
this.ie=false;
/*@end
	@*/
this.ie7=(this.ie&&window.XMLHttpRequest);this.initialize()}LyteBox.prototype.initialize=function(){this.updateLyteboxItems();var b=this.doc.getElementsByTagName("body").item(0);if(this.doc.getElementById("lbOverlay")){b.removeChild(this.doc.getElementById("lbOverlay"));b.removeChild(this.doc.getElementById("lbMain"))}var c=this.doc.createElement("div");c.setAttribute("id","lbOverlay");c.setAttribute((this.ie?"className":"class"),this.theme);if((this.ie&&!this.ie7)||(this.ie7&&this.doc.compatMode=="BackCompat")){c.style.position="absolute"
}c.style.display="none";b.appendChild(c);var s=this.doc.createElement("div");s.setAttribute("id","lbMain");s.style.display="none";b.appendChild(s);var l=this.doc.createElement("div");l.setAttribute("id","lbOuterContainer");l.setAttribute((this.ie?"className":"class"),this.theme);s.appendChild(l);var i=this.doc.createElement("div");i.setAttribute("id","lbIframeContainer");i.style.display="none";l.appendChild(i);var q=this.doc.createElement("iframe");q.setAttribute("id","lbIframe");q.setAttribute("name","lbIframe");q.style.display="none";i.appendChild(q);var e=this.doc.createElement("div");e.setAttribute("id","lbImageContainer");l.appendChild(e);var g=this.doc.createElement("img");g.setAttribute("id","lbImage");e.appendChild(g);var v=this.doc.createElement("div");v.setAttribute("id","lbLoading");l.appendChild(v);var h=this.doc.createElement("div");h.setAttribute("id","lbDetailsContainer");h.setAttribute((this.ie?"className":"class"),this.theme);s.appendChild(h);var d=this.doc.createElement("div");
d.setAttribute("id","lbDetailsData");d.setAttribute((this.ie?"className":"class"),this.theme);h.appendChild(d);var o=this.doc.createElement("div");o.setAttribute("id","lbDetails");d.appendChild(o);var a=this.doc.createElement("span");a.setAttribute("id","lbCaption");o.appendChild(a);var n=this.doc.createElement("div");n.setAttribute("id","lbHoverNav");e.appendChild(n);var f=this.doc.createElement("div");f.setAttribute("id","lbBottomNav");d.appendChild(f);var t=this.doc.createElement("a");t.setAttribute("id","lbPrev");t.setAttribute((this.ie?"className":"class"),this.theme);t.setAttribute("href","#");n.appendChild(t);var j=this.doc.createElement("a");j.setAttribute("id","lbNext");j.setAttribute((this.ie?"className":"class"),this.theme);j.setAttribute("href","#");n.appendChild(j);var u=this.doc.createElement("span");u.setAttribute("id","lbNumberDisplay");o.appendChild(u);var r=this.doc.createElement("span");r.setAttribute("id","lbNavDisplay");r.style.display="none";o.appendChild(r);var k=this.doc.createElement("a");
k.setAttribute("id","lbClose");k.setAttribute((this.ie?"className":"class"),this.theme);k.setAttribute("href","#");f.appendChild(k);var m=this.doc.createElement("a");m.setAttribute("id","lbPause");m.setAttribute((this.ie?"className":"class"),this.theme);m.setAttribute("href","#");m.style.display="none";f.appendChild(m);var p=this.doc.createElement("a");p.setAttribute("id","lbPlay");p.setAttribute((this.ie?"className":"class"),this.theme);p.setAttribute("href","#");p.style.display="none";f.appendChild(p)};LyteBox.prototype.updateLyteboxItems=function(){var c=(this.isFrame)?window.parent.frames[window.name].document.getElementsByTagName("a"):document.getElementsByTagName("a");for(var b=0;b<c.length;b++){var a=c[b];var d=String(a.getAttribute("rel"));if(a.getAttribute("href")){if(d.toLowerCase().match("lytebox")){a.onclick=function(){myLytebox.start(this,false,false);return false}}else{if(d.toLowerCase().match("lyteshow")){a.onclick=function(){myLytebox.start(this,true,false);return false}
}else{if(d.toLowerCase().match("lyteframe")){a.onclick=function(){myLytebox.start(this,false,true);return false}}}}}}};LyteBox.prototype.start=function(l,e,h){if(this.ie&&!this.ie7){this.toggleSelects("hide")}if(this.hideFlash){this.toggleFlash("hide")}this.isLyteframe=(h?true:false);var d=this.getPageSize();var b=this.doc.getElementById("lbOverlay");var a=this.doc.getElementsByTagName("body").item(0);b.style.height=d[1]+"px";b.style.display="";this.appear("lbOverlay",(this.doAnimations?0:this.maxOpacity));var c=(this.isFrame)?window.parent.frames[window.name].document.getElementsByTagName("a"):document.getElementsByTagName("a");if(this.isLyteframe){this.frameArray=[];this.frameNum=0;if((l.getAttribute("rel")=="lyteframe")){var k=l.getAttribute("rev");this.frameArray.push(new Array(l.getAttribute("href"),l.getAttribute("title"),(k==null||k==""?"width: 400px; height: 400px; scrolling: auto;":k)))}else{if(l.getAttribute("rel").indexOf("lyteframe")!=-1){for(var f=0;f<c.length;f++){var j=c[f];
if(j.getAttribute("href")&&(j.getAttribute("rel")==l.getAttribute("rel"))){var k=j.getAttribute("rev");this.frameArray.push(new Array(j.getAttribute("href"),j.getAttribute("title"),(k==null||k==""?"width: 400px; height: 400px; scrolling: auto;":k)))}}this.frameArray.removeDuplicates();while(this.frameArray[this.frameNum][0]!=l.getAttribute("href")){this.frameNum++}}}}else{this.imageArray=[];this.imageNum=0;this.slideArray=[];this.slideNum=0;if((l.getAttribute("rel")=="lytebox")){this.imageArray.push(new Array(l.getAttribute("href"),l.getAttribute("title")))}else{if(l.getAttribute("rel").indexOf("lytebox")!=-1){for(var f=0;f<c.length;f++){var j=c[f];if(j.getAttribute("href")&&(j.getAttribute("rel")==l.getAttribute("rel"))){this.imageArray.push(new Array(j.getAttribute("href"),j.getAttribute("title")))}}this.imageArray.removeDuplicates();while(this.imageArray[this.imageNum][0]!=l.getAttribute("href")){this.imageNum++}}if(l.getAttribute("rel").indexOf("lyteshow")!=-1){for(var f=0;f<c.length;
f++){var j=c[f];if(j.getAttribute("href")&&(j.getAttribute("rel")==l.getAttribute("rel"))){this.slideArray.push(new Array(j.getAttribute("href"),j.getAttribute("title")))}}this.slideArray.removeDuplicates();while(this.slideArray[this.slideNum][0]!=l.getAttribute("href")){this.slideNum++}}}}var g=this.doc.getElementById("lbMain");g.style.top=(this.getPageScroll()+(d[3]/15))+"px";g.style.display="";if(!this.outerBorder){this.doc.getElementById("lbOuterContainer").style.border="none";this.doc.getElementById("lbDetailsContainer").style.border="none"}else{this.doc.getElementById("lbOuterContainer").style.borderBottom="";this.doc.getElementById("lbOuterContainer").setAttribute((this.ie?"className":"class"),this.theme)}this.doc.getElementById("lbOverlay").onclick=function(){myLytebox.end();return false};this.doc.getElementById("lbMain").onclick=function(m){var m=m;if(!m){if(window.parent.frames[window.name]&&(parent.document.getElementsByTagName("frameset").length<=0)){m=window.parent.window.event
}else{m=window.event}}var i=(m.target?m.target.id:m.srcElement.id);if(i=="lbMain"){myLytebox.end();return false}};this.doc.getElementById("lbClose").onclick=function(){myLytebox.end();return false};this.doc.getElementById("lbPause").onclick=function(){myLytebox.togglePlayPause("lbPause","lbPlay");return false};this.doc.getElementById("lbPlay").onclick=function(){myLytebox.togglePlayPause("lbPlay","lbPause");return false};this.isSlideshow=e;this.isPaused=(this.slideNum!=0?true:false);if(this.isSlideshow&&this.showPlayPause&&this.isPaused){this.doc.getElementById("lbPlay").style.display="";this.doc.getElementById("lbPause").style.display="none"}if(this.isLyteframe){this.changeContent(this.frameNum)}else{if(this.isSlideshow){this.changeContent(this.slideNum)}else{this.changeContent(this.imageNum)}}};LyteBox.prototype.changeContent=function(b){if(this.isSlideshow){for(var a=0;a<this.slideshowIDCount;a++){window.clearTimeout(this.slideshowIDArray[a])}}this.activeImage=this.activeSlide=this.activeFrame=b;
if(!this.outerBorder){this.doc.getElementById("lbOuterContainer").style.border="none";this.doc.getElementById("lbDetailsContainer").style.border="none"}else{this.doc.getElementById("lbOuterContainer").style.borderBottom="";this.doc.getElementById("lbOuterContainer").setAttribute((this.ie?"className":"class"),this.theme)}this.doc.getElementById("lbLoading").style.display="";this.doc.getElementById("lbImage").style.display="none";this.doc.getElementById("lbIframe").style.display="none";this.doc.getElementById("lbPrev").style.display="none";this.doc.getElementById("lbNext").style.display="none";this.doc.getElementById("lbIframeContainer").style.display="none";this.doc.getElementById("lbDetailsContainer").style.display="none";this.doc.getElementById("lbNumberDisplay").style.display="none";if(this.navType==2||this.isLyteframe){object=this.doc.getElementById("lbNavDisplay");object.innerHTML='&nbsp;&nbsp;&nbsp;<span id="lbPrev2_Off" style="display: none;" class="'+this.theme+'">&laquo; prev</span><a href="#" id="lbPrev2" class="'+this.theme+'" style="display: none;">&laquo; prev</a> <b id="lbSpacer" class="'+this.theme+'">||</b> <span id="lbNext2_Off" style="display: none;" class="'+this.theme+'">next &raquo;</span><a href="#" id="lbNext2" class="'+this.theme+'" style="display: none;">next &raquo;</a>';
object.style.display="none"}if(this.isLyteframe){var c=myLytebox.doc.getElementById("lbIframe");var d=this.frameArray[this.activeFrame][2];var f=d.split(";");for(var a=0;a<f.length;a++){if(f[a].indexOf("width:")>=0){var g=f[a].replace("width:","");c.width=g.trim()}else{if(f[a].indexOf("height:")>=0){var j=f[a].replace("height:","");c.height=j.trim()}else{if(f[a].indexOf("scrolling:")>=0){var e=f[a].replace("scrolling:","");c.scrolling=e.trim()}else{if(f[a].indexOf("border:")>=0){}}}}}this.resizeContainer(parseInt(c.width),parseInt(c.height))}else{imgPreloader=new Image();imgPreloader.onload=function(){var k=imgPreloader.width;var l=imgPreloader.height;if(myLytebox.autoResize){var h=myLytebox.getPageSize();var m=h[2]-150;var i=h[3]-150;if(k>m){l=Math.round(l*(m/k));k=m;if(l>i){k=Math.round(k*(i/l));l=i}}else{if(l>i){k=Math.round(k*(i/l));l=i;if(k>m){l=Math.round(l*(m/k));k=m}}}}var n=myLytebox.doc.getElementById("lbImage");n.src=(myLytebox.isSlideshow?myLytebox.slideArray[myLytebox.activeSlide][0]:myLytebox.imageArray[myLytebox.activeImage][0]);
n.width=k;n.height=l;myLytebox.resizeContainer(k,l);imgPreloader.onload=function(){}};imgPreloader.src=(this.isSlideshow?this.slideArray[this.activeSlide][0]:this.imageArray[this.activeImage][0])}};LyteBox.prototype.resizeContainer=function(d,c){this.wCur=this.doc.getElementById("lbOuterContainer").offsetWidth;this.hCur=this.doc.getElementById("lbOuterContainer").offsetHeight;this.xScale=((d+(this.borderSize*2))/this.wCur)*100;this.yScale=((c+(this.borderSize*2))/this.hCur)*100;var b=(this.wCur-this.borderSize*2)-d;var a=(this.hCur-this.borderSize*2)-c;if(!(a==0)){this.hDone=false;this.resizeH("lbOuterContainer",this.hCur,c+this.borderSize*2,this.getPixelRate(this.hCur,c))}else{this.hDone=true}if(!(b==0)){this.wDone=false;this.resizeW("lbOuterContainer",this.wCur,d+this.borderSize*2,this.getPixelRate(this.wCur,d))}else{this.wDone=true}if((a==0)&&(b==0)){if(this.ie){this.pause(250)}else{this.pause(100)}}this.doc.getElementById("lbPrev").style.height=c+"px";this.doc.getElementById("lbNext").style.height=c+"px";
this.doc.getElementById("lbDetailsContainer").style.width=(d+(this.borderSize*2)+(this.ie&&this.doc.compatMode=="BackCompat"&&this.outerBorder?2:0))+"px";this.showContent()};LyteBox.prototype.showContent=function(){if(this.wDone&&this.hDone){for(var a=0;a<this.showContentTimerCount;a++){window.clearTimeout(this.showContentTimerArray[a])}if(this.outerBorder){this.doc.getElementById("lbOuterContainer").style.borderBottom="none"}this.doc.getElementById("lbLoading").style.display="none";if(this.isLyteframe){this.doc.getElementById("lbIframe").style.display="";this.appear("lbIframe",(this.doAnimations?0:100))}else{this.doc.getElementById("lbImage").style.display="";this.appear("lbImage",(this.doAnimations?0:100));this.preloadNeighborImages()}if(this.isSlideshow){if(this.activeSlide==(this.slideArray.length-1)){if(this.autoEnd){this.slideshowIDArray[this.slideshowIDCount++]=setTimeout("myLytebox.end('slideshow')",this.slideInterval)}}else{if(!this.isPaused){this.slideshowIDArray[this.slideshowIDCount++]=setTimeout("myLytebox.changeContent("+(this.activeSlide+1)+")",this.slideInterval)
}}this.doc.getElementById("lbHoverNav").style.display=(this.showNavigation&&this.navType==1?"":"none");this.doc.getElementById("lbClose").style.display=(this.showClose?"":"none");this.doc.getElementById("lbDetails").style.display=(this.showDetails?"":"none");this.doc.getElementById("lbPause").style.display=(this.showPlayPause&&!this.isPaused?"":"none");this.doc.getElementById("lbPlay").style.display=(this.showPlayPause&&!this.isPaused?"none":"");this.doc.getElementById("lbNavDisplay").style.display=(this.showNavigation&&this.navType==2?"":"none")}else{this.doc.getElementById("lbHoverNav").style.display=(this.navType==1&&!this.isLyteframe?"":"none");if((this.navType==2&&!this.isLyteframe&&this.imageArray.length>1)||(this.frameArray.length>1&&this.isLyteframe)){this.doc.getElementById("lbNavDisplay").style.display=""}else{this.doc.getElementById("lbNavDisplay").style.display="none"}this.doc.getElementById("lbClose").style.display="";this.doc.getElementById("lbDetails").style.display="";this.doc.getElementById("lbPause").style.display="none";
this.doc.getElementById("lbPlay").style.display="none"}this.doc.getElementById("lbImageContainer").style.display=(this.isLyteframe?"none":"");this.doc.getElementById("lbIframeContainer").style.display=(this.isLyteframe?"":"none");try{this.doc.getElementById("lbIframe").src=this.frameArray[this.activeFrame][0]}catch(b){}}else{this.showContentTimerArray[this.showContentTimerCount++]=setTimeout("myLytebox.showContent()",200)}};LyteBox.prototype.updateDetails=function(){var object=this.doc.getElementById("lbCaption");var sTitle=(this.isSlideshow?this.slideArray[this.activeSlide][1]:(this.isLyteframe?this.frameArray[this.activeFrame][1]:this.imageArray[this.activeImage][1]));object.style.display="";object.innerHTML=(sTitle==null?"":sTitle);this.updateNav();this.doc.getElementById("lbDetailsContainer").style.display="";object=this.doc.getElementById("lbNumberDisplay");if(this.isSlideshow&&this.slideArray.length>1){object.style.display="";object.innerHTML=eval(this.activeSlide+1)+" ("+this.slideArray.length+")";
this.doc.getElementById("lbNavDisplay").style.display=(this.navType==2&&this.showNavigation?"":"none")}else{if(this.imageArray.length>1&&!this.isLyteframe){object.style.display="";object.innerHTML=eval(this.activeImage+1)+" ("+this.imageArray.length+")";this.doc.getElementById("lbNavDisplay").style.display=(this.navType==2?"":"none")}else{if(this.frameArray.length>1&&this.isLyteframe){object.style.display="";object.innerHTML=eval(this.activeFrame+1)+" ("+this.frameArray.length+")";this.doc.getElementById("lbNavDisplay").style.display=""}else{this.doc.getElementById("lbNavDisplay").style.display="none"}}}this.appear("lbDetailsContainer",(this.doAnimations?0:100))};LyteBox.prototype.updateNav=function(){if(this.isSlideshow){if(this.activeSlide!=0){var a=(this.navType==2?this.doc.getElementById("lbPrev2"):this.doc.getElementById("lbPrev"));a.style.display="";a.onclick=function(){if(myLytebox.pauseOnPrevClick){myLytebox.togglePlayPause("lbPause","lbPlay")}myLytebox.changeContent(myLytebox.activeSlide-1);
return false}}else{if(this.navType==2){this.doc.getElementById("lbPrev2_Off").style.display=""}}if(this.activeSlide!=(this.slideArray.length-1)){var a=(this.navType==2?this.doc.getElementById("lbNext2"):this.doc.getElementById("lbNext"));a.style.display="";a.onclick=function(){if(myLytebox.pauseOnNextClick){myLytebox.togglePlayPause("lbPause","lbPlay")}myLytebox.changeContent(myLytebox.activeSlide+1);return false}}else{if(this.navType==2){this.doc.getElementById("lbNext2_Off").style.display=""}}}else{if(this.isLyteframe){if(this.activeFrame!=0){var a=this.doc.getElementById("lbPrev2");a.style.display="";a.onclick=function(){myLytebox.changeContent(myLytebox.activeFrame-1);return false}}else{this.doc.getElementById("lbPrev2_Off").style.display=""}if(this.activeFrame!=(this.frameArray.length-1)){var a=this.doc.getElementById("lbNext2");a.style.display="";a.onclick=function(){myLytebox.changeContent(myLytebox.activeFrame+1);return false}}else{this.doc.getElementById("lbNext2_Off").style.display=""
}}else{if(this.activeImage!=0){var a=(this.navType==2?this.doc.getElementById("lbPrev2"):this.doc.getElementById("lbPrev"));a.style.display="";a.onclick=function(){myLytebox.changeContent(myLytebox.activeImage-1);return false}}else{if(this.navType==2){this.doc.getElementById("lbPrev2_Off").style.display=""}}if(this.activeImage!=(this.imageArray.length-1)){var a=(this.navType==2?this.doc.getElementById("lbNext2"):this.doc.getElementById("lbNext"));a.style.display="";a.onclick=function(){myLytebox.changeContent(myLytebox.activeImage+1);return false}}else{if(this.navType==2){this.doc.getElementById("lbNext2_Off").style.display=""}}}}this.enableKeyboardNav()};LyteBox.prototype.enableKeyboardNav=function(){document.onkeydown=this.keyboardAction};LyteBox.prototype.disableKeyboardNav=function(){document.onkeydown=""};LyteBox.prototype.keyboardAction=function(b){var a=key=escape=null;a=(b==null)?event.keyCode:b.which;key=String.fromCharCode(a).toLowerCase();escape=(b==null)?27:b.DOM_VK_ESCAPE;if((key=="x")||(key=="c")||(a==escape)){myLytebox.end()
}else{if((key=="p")||(a==37)){if(myLytebox.isSlideshow){if(myLytebox.activeSlide!=0){myLytebox.disableKeyboardNav();myLytebox.changeContent(myLytebox.activeSlide-1)}}else{if(myLytebox.isLyteframe){if(myLytebox.activeFrame!=0){myLytebox.disableKeyboardNav();myLytebox.changeContent(myLytebox.activeFrame-1)}}else{if(myLytebox.activeImage!=0){myLytebox.disableKeyboardNav();myLytebox.changeContent(myLytebox.activeImage-1)}}}}else{if((key=="n")||(a==39)){if(myLytebox.isSlideshow){if(myLytebox.activeSlide!=(myLytebox.slideArray.length-1)){myLytebox.disableKeyboardNav();myLytebox.changeContent(myLytebox.activeSlide+1)}}else{if(myLytebox.isLyteframe){if(myLytebox.activeFrame!=(myLytebox.frameArray.length-1)){myLytebox.disableKeyboardNav();myLytebox.changeContent(myLytebox.activeFrame+1)}}else{if(myLytebox.activeImage!=(myLytebox.imageArray.length-1)){myLytebox.disableKeyboardNav();myLytebox.changeContent(myLytebox.activeImage+1)}}}}}}};LyteBox.prototype.preloadNeighborImages=function(){if(this.isSlideshow){if((this.slideArray.length-1)>this.activeSlide){preloadNextImage=new Image();
preloadNextImage.src=this.slideArray[this.activeSlide+1][0]}if(this.activeSlide>0){preloadPrevImage=new Image();preloadPrevImage.src=this.slideArray[this.activeSlide-1][0]}}else{if((this.imageArray.length-1)>this.activeImage){preloadNextImage=new Image();preloadNextImage.src=this.imageArray[this.activeImage+1][0]}if(this.activeImage>0){preloadPrevImage=new Image();preloadPrevImage.src=this.imageArray[this.activeImage-1][0]}}};LyteBox.prototype.togglePlayPause=function(b,a){if(this.isSlideshow&&b=="lbPause"){for(var c=0;c<this.slideshowIDCount;c++){window.clearTimeout(this.slideshowIDArray[c])}}this.doc.getElementById(b).style.display="none";this.doc.getElementById(a).style.display="";if(b=="lbPlay"){this.isPaused=false;if(this.activeSlide==(this.slideArray.length-1)){this.end()}else{this.changeContent(this.activeSlide+1)}}else{this.isPaused=true}};LyteBox.prototype.end=function(c){var b=(c=="slideshow"?false:true);if(this.isSlideshow&&this.isPaused&&!b){return}this.disableKeyboardNav();
this.doc.getElementById("lbMain").style.display="none";this.fade("lbOverlay",(this.doAnimations?this.maxOpacity:0));this.toggleSelects("visible");if(this.hideFlash){this.toggleFlash("visible")}if(this.isSlideshow){for(var a=0;a<this.slideshowIDCount;a++){window.clearTimeout(this.slideshowIDArray[a])}}if(this.isLyteframe){this.initialize()}};LyteBox.prototype.checkFrame=function(){if(window.parent.frames[window.name]&&(parent.document.getElementsByTagName("frameset").length<=0)){this.isFrame=true;this.lytebox="window.parent."+window.name+".myLytebox";this.doc=parent.document}else{this.isFrame=false;this.lytebox="myLytebox";this.doc=document}};LyteBox.prototype.getPixelRate=function(c,a){var b=(a>c)?a-c:c-a;if(b>=0&&b<=100){return 10}if(b>100&&b<=200){return 15}if(b>200&&b<=300){return 20}if(b>300&&b<=400){return 25}if(b>400&&b<=500){return 30}if(b>500&&b<=600){return 35}if(b>600&&b<=700){return 40}if(b>700){return 45}};LyteBox.prototype.appear=function(f,b){var c=this.doc.getElementById(f).style;
c.opacity=(b/100);c.MozOpacity=(b/100);c.KhtmlOpacity=(b/100);c.filter="alpha(opacity="+(b+10)+")";if(b==100&&(f=="lbImage"||f=="lbIframe")){try{c.removeAttribute("filter")}catch(a){}this.updateDetails()}else{if(b>=this.maxOpacity&&f=="lbOverlay"){for(var d=0;d<this.overlayTimerCount;d++){window.clearTimeout(this.overlayTimerArray[d])}return}else{if(b>=100&&f=="lbDetailsContainer"){try{c.removeAttribute("filter")}catch(a){}for(var d=0;d<this.imageTimerCount;d++){window.clearTimeout(this.imageTimerArray[d])}this.doc.getElementById("lbOverlay").style.height=this.getPageSize()[1]+"px"}else{if(f=="lbOverlay"){this.overlayTimerArray[this.overlayTimerCount++]=setTimeout("myLytebox.appear('"+f+"', "+(b+20)+")",1)}else{this.imageTimerArray[this.imageTimerCount++]=setTimeout("myLytebox.appear('"+f+"', "+(b+10)+")",1)}}}}};LyteBox.prototype.fade=function(d,a){var b=this.doc.getElementById(d).style;b.opacity=(a/100);b.MozOpacity=(a/100);b.KhtmlOpacity=(a/100);b.filter="alpha(opacity="+a+")";if(a<=0){try{b.display="none"
}catch(c){}}else{if(d=="lbOverlay"){this.overlayTimerArray[this.overlayTimerCount++]=setTimeout("myLytebox.fade('"+d+"', "+(a-20)+")",1)}else{this.timerIDArray[this.timerIDCount++]=setTimeout("myLytebox.fade('"+d+"', "+(a-10)+")",1)}}};LyteBox.prototype.resizeW=function(b,j,h,d,e){if(!this.hDone){this.resizeWTimerArray[this.resizeWTimerCount++]=setTimeout("myLytebox.resizeW('"+b+"', "+j+", "+h+", "+d+")",100);return}var g=this.doc.getElementById(b);var c=e?e:(this.resizeDuration/2);var f=(this.doAnimations?j:h);g.style.width=(f)+"px";if(f<h){f+=(f+d>=h)?(h-f):d}else{if(f>h){f-=(f-d<=h)?(f-h):d}}this.resizeWTimerArray[this.resizeWTimerCount++]=setTimeout("myLytebox.resizeW('"+b+"', "+f+", "+h+", "+d+", "+(c+0.02)+")",c+0.02);if(parseInt(g.style.width)==h){this.wDone=true;for(var a=0;a<this.resizeWTimerCount;a++){window.clearTimeout(this.resizeWTimerArray[a])}}};LyteBox.prototype.resizeH=function(b,d,h,e,f){var c=f?f:(this.resizeDuration/2);var g=this.doc.getElementById(b);var j=(this.doAnimations?d:h);
g.style.height=(j)+"px";if(j<h){j+=(j+e>=h)?(h-j):e}else{if(j>h){j-=(j-e<=h)?(j-h):e}}this.resizeHTimerArray[this.resizeHTimerCount++]=setTimeout("myLytebox.resizeH('"+b+"', "+j+", "+h+", "+e+", "+(c+0.02)+")",c+0.02);if(parseInt(g.style.height)==h){this.hDone=true;for(var a=0;a<this.resizeHTimerCount;a++){window.clearTimeout(this.resizeHTimerArray[a])}}};LyteBox.prototype.getPageScroll=function(){if(self.pageYOffset){return this.isFrame?parent.pageYOffset:self.pageYOffset}else{if(this.doc.documentElement&&this.doc.documentElement.scrollTop){return this.doc.documentElement.scrollTop}else{if(document.body){return this.doc.body.scrollTop}}}};LyteBox.prototype.getPageSize=function(){var a,e,f,c;if(window.innerHeight&&window.scrollMaxY){a=this.doc.scrollWidth;e=(this.isFrame?parent.innerHeight:self.innerHeight)+(this.isFrame?parent.scrollMaxY:self.scrollMaxY)}else{if(this.doc.body.scrollHeight>this.doc.body.offsetHeight){a=this.doc.body.scrollWidth;e=this.doc.body.scrollHeight}else{a=this.doc.getElementsByTagName("html").item(0).offsetWidth;
e=this.doc.getElementsByTagName("html").item(0).offsetHeight;a=(a<this.doc.body.offsetWidth)?this.doc.body.offsetWidth:a;e=(e<this.doc.body.offsetHeight)?this.doc.body.offsetHeight:e}}if(self.innerHeight){f=(this.isFrame)?parent.innerWidth:self.innerWidth;c=(this.isFrame)?parent.innerHeight:self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){f=this.doc.documentElement.clientWidth;c=this.doc.documentElement.clientHeight}else{if(document.body){f=this.doc.getElementsByTagName("html").item(0).clientWidth;c=this.doc.getElementsByTagName("html").item(0).clientHeight;f=(f==0)?this.doc.body.clientWidth:f;c=(c==0)?this.doc.body.clientHeight:c}}}var b=(e<c)?c:e;var d=(a<f)?f:a;return new Array(d,b,f,c)};LyteBox.prototype.toggleFlash=function(a){var f=this.doc.getElementsByTagName("object");for(var c=0;c<f.length;c++){f[c].style.visibility=(a=="hide")?"hidden":"visible"}var d=this.doc.getElementsByTagName("embed");for(var c=0;c<d.length;c++){d[c].style.visibility=(a=="hide")?"hidden":"visible"
}if(this.isFrame){for(var c=0;c<parent.frames.length;c++){try{f=parent.frames[c].window.document.getElementsByTagName("object");for(var g=0;g<f.length;g++){f[g].style.visibility=(a=="hide")?"hidden":"visible"}}catch(b){}try{d=parent.frames[c].window.document.getElementsByTagName("embed");for(var g=0;g<d.length;g++){d[g].style.visibility=(a=="hide")?"hidden":"visible"}}catch(b){}}}};LyteBox.prototype.toggleSelects=function(a){var c=this.doc.getElementsByTagName("select");for(var d=0;d<c.length;d++){c[d].style.visibility=(a=="hide")?"hidden":"visible"}if(this.isFrame){for(var d=0;d<parent.frames.length;d++){try{c=parent.frames[d].window.document.getElementsByTagName("select");for(var f=0;f<c.length;f++){c[f].style.visibility=(a=="hide")?"hidden":"visible"}}catch(b){}}}};LyteBox.prototype.pause=function(b){var c=new Date();var a=c.getTime()+b;while(true){c=new Date();if(c.getTime()>a){return}}};if(window.addEventListener){window.addEventListener("load",initLytebox,false)}else{if(window.attachEvent){window.attachEvent("onload",initLytebox)
}else{window.onload=function(){initLytebox()}}}function initLytebox(){myLytebox=new LyteBox()};function ToggleMute(a){var b=new Array();if(document.getElementById(a)!=null){b=document.getElementById(a).src.split("/");if(b[b.length-1].toLowerCase()=="volumeon.gif"){document.getElementById(a).src=document.getElementById(a).src.replace("VolumeOn","VolumeMute");soundManager.mute()}else{document.getElementById(a).src=document.getElementById(a).src.replace("VolumeMute","VolumeOn");soundManager.unmute()}}}function NavToURL(b,a){window.location.href=a}function Redirect(a){window.location.href=a;return false}function WindowOpen(d,a,b,c){window.open(d,a,"width="+b+",height="+c+",fullscreen=yes,scrollbars=yes,toolbar=yes");return false}function HtmlDecode(a){if(a!=""){var b=document.createElement("div");b.innerHTML=a;a=b.firstChild.data;delete b}return a}PopUpReport="";PopUpLeftClientId="";PopUpFlash="";PopUpFlashLeftClientId="";function PopUpImageAlign(f,e){var c=document.getElementById(f);var d=document.getElementById(e);if(navigator.appName.indexOf("Microsoft")==0){var b=window.navigator.appVersion.split(";");
var a=b[1].split(" ");if(a[2]=="7.0"){d.style.height=(c.offsetHeight+20)+"px"}else{d.style.height=(c.offsetHeight-160)+"px"}}else{d.style.height=(c.offsetHeight-160)+"px"}}function popImageSecondary(a,c,b){var d=$find(c);if(c=="PopupExtenderReportHistory"){PopUpReport=a;PopUpLeftClientId=b;d.add_shown(SetFocus)}else{PopUpFlash=a;PopUpFlashLeftClientId=b;d.add_shown(SetFocusFlash)}}function SetFocus(){var c;var b;c=document.getElementById(PopUpReport).offsetHeight;b=document.getElementById(PopUpLeftClientId);if(navigator.appName.indexOf("Microsoft")==0){var a=window.navigator.appVersion.split(";");var d=a[1].split(" ");if(d[2]=="7.0"){b.style.height=(c+20)+"px"}else{b.style.height=(c-160)+2+"px"}}else{b.style.height=(c-160)+2+"px"}}function SetFocusFlash(){imageHeight=document.getElementById(PopUpFlash).offsetHeight;popLeft=document.getElementById(PopUpFlashLeftClientId);if(navigator.appName.indexOf("Microsoft")==0){var a=window.navigator.appVersion.split(";");var b=a[1].split(" ");if(b[2]=="7.0"){popLeft.style.height=(imageHeight+20)+"px"
}else{popLeft.style.height=(imageHeight-160)+2+"px"}}else{popLeft.style.height=(imageHeight-160)+2+"px"}}function printArticle(e){var d=new String();var a="<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><link rel='Stylesheet' type='text/css' href='/Styles/style.css'/><link rel='Stylesheet' type='text/css' href='/Styles/print.css' media='print'/></head><body><div style='background-color:white;width:785px;height:auto;'><div><img src='/commonimages/PopUp/header_758-wide.gif'/></div><center><div style='width:758px;' align='center'>";var c="</div></center></div></body></html>";var f=document.getElementById(e);var b=window.open();d=a+f.innerHTML;d=d+c;b.document.writeln(d);b.document.close();b.focus();b.print();return false}function closePopUp(a){$find(a).hide();return false}function AlignImageForFlash(c,b){var d=document.getElementById(c).offsetWidth;var a=document.getElementById(c).offsetHeight;
if(d<150&&d!=""){var e=(150-d)/2;document.getElementById(b).style.marginLeft=(e)+"px";document.getElementById(b).style.marginRight=e+"px"}}function AlignImageWithZoom(d,c,e,b){var f=document.getElementById(d).offsetWidth;var a=document.getElementById(d).offsetHeight;if(f<215&&f!=""){var g=(215-f)/2;document.getElementById(c).style.marginLeft=(g)+"px";document.getElementById(c).style.marginRight=(g)+"px"}document.getElementById(e).style.width=(f-25)+"px";document.getElementById(b).style.width=f+"px"}function AlignImageWithZoomSecondary(d,c,e,b,f,a){if(f<215&&f!=""){var g=(215-f)/2;document.getElementById(c).style.marginLeft=(g)+"px";document.getElementById(c).style.marginRight=(g)+"px"}document.getElementById(e).style.width=(f-25)+"px";document.getElementById(b).style.width=f+"px"}function GetImageZoomed(c,h){var g=new Array();var a=new Array();var d=document.getElementById(c).value.split(";");var b=d[1];var e=d[2];if(d[0].indexOf("/Images/",0)>=0){g=d[0].split("/Images/");document.getElementById("imgContainer").src="/images/"+g[1];
document.getElementById("imgContainer").style.width=b;document.getElementById("imgContainer").style.height=e;document.getElementById("sFileName").value="/images/"+g[1]}else{g=d[0].split("/Global/");if(g.length>0){document.getElementById("imgContainer").src="/Global/"+g[1];document.getElementById("sFileName").value="/Global/"+g[1];document.getElementById("imgContainer").style.width=b;document.getElementById("imgContainer").style.height=e}}document.getElementById("ImageName").value=document.getElementById("sFileName").value+"&obj=iip,1.0&wid="+b+"&hei="+e+"&rgn=0,0,1,1&lng=en&cvt=jpeg";document.getElementById("imgContainer").style.marginLeft="0px";if(b<574){var f=(574-b)-100;document.getElementById("imgContainer").style.marginLeft=(f)+"px"}$find(h).show();return false}function GetNewsId(a,b){window.location.href="?NewsId="+a+"&Type="+b}function PlayMovie(d,b){var a;a=d+"_videoPlayer";if(b=="Flash"){document.getElementById(a).SetVariable("player:jsPlay","")}else{if(b=="RealMediaPlayer"){if(!CheckPlugins("RealPlayer")){document.getElementById(a).DoPlay()
}}else{if(b=="QuickTime"){document.getElementById(a).Play()}}}var c=$("#AudioVolume");ToggleMute($("img",c).attr("id"));return false}function InitializeSlider(){if($(".carousel").length!=0){$(".carousel").jCarouselLite({btnNext:"#btnNext",btnPrev:"#btnPrev",visible:6,scroll:6})}}function SetUpJQueryMarquee(){if($("#scroller_container").length!=0){$jScroller.add("#scroller_container","#scroller","left",4,true);$jScroller.start()}}function InitializeMusic(){soundManager.debugMode=false;soundManager.url="/Templates/IAAFDiamondLeague/Configurations/FlashPlayer/";soundManager.onload=function(){if($("#hdnAudio").length!=0){var a=soundManager.createSound({id:"audioPlayer",url:document.getElementById("hdnAudio").value,volume:25});a.play()}};soundManager.onerror=function(){try{disableSoundInMyApp()}catch(a){}}}TargetDate="";ServerCurrentDate="";CurrentMeeting="";MeetingName="";$(document).ready(function(){if($("#sitebannerimage").length!=0){$("#sitebannerimage").innerfade({speed:"slow",timeout:4000,type:"sequence",containerheight:"220px"})
}if($("#meetingsitebannerareaimage").length!=0){$("#meetingsitebannerareaimage").innerfade({speed:"slow",timeout:4000,type:"sequence",containerheight:"220px"})}if($("#footerleftsponsor").length!=0){$("#footerleftsponsor").innerfade({animationtype:"slide",speed:"slow",timeout:4000,type:"sequence",containerheight:"70px"})}if($("#footerrightsponsorControl").length!=0){$("#footerrightsponsorControl").innerfade({animationtype:"slide",speed:"slow",timeout:4000,type:"sequence",containerheight:"70px"})}if($("#footermainsponsor").length!=0){$("#footermainsponsor").innerfade({animationtype:"slide",speed:"slow",timeout:4000,type:"sequence",containerheight:"70px",position:"relative"})}if($("#diamondSponsorSkeleton").length!=0){$("#diamondSponsorSkeleton").innerfade({animationtype:"slide",speed:"slow",timeout:4000,type:"sequence",containerheight:"76px",position:"relative"})}if($("#titlePartnerSkeleton").length!=0){$("#titlePartnerSkeleton").innerfade({animationtype:"slide",speed:"slow",timeout:4000,type:"sequence",containerheight:"76px",position:"relative"})
}onAjaxPostBack();InitializeSlider();InitializeCountDownClock();InitializeMusic();initLytebox()});function onAjaxPostBack(){if($("#dlNewsRotator").length!=0){$("#dlNewsRotator").innerfade({speed:"slow",timeout:6000,type:"sequence",containerheight:"auto"})}if($("#meetingNewsRotator").length!=0){$("#meetingNewsRotator").innerfade({speed:"slow",timeout:6000,type:"sequence",containerheight:"auto"})}SetUpJQueryMarquee()}function InitializeCountDownClock(){if($("#CountDownClockDiv").length!=0){TargetDate=document.getElementById("hiddenTargetDate").value;ServerCurrentDate=document.getElementById("hiddenServerCurrentDate").value;CurrentMeeting=document.getElementById("hiddenCurrentMeeting").value;MeetingName=document.getElementById("hiddenMeetingName").value;init()}}function InitializeSingleBannerImage(b,a){if(b!=""&&b!="undefined"&&b!="#"){document.getElementById("sitebannerNavigator").href=b;document.getElementById("sitebannerNavigator").title=b;document.getElementById("sitebannerNavigator").style.display=""
}else{document.getElementById("sitebannerNavigator").style.display="none"}}function AlignImage(d,i,e,h){var c=document.getElementById(d).offsetWidth;var f=document.getElementById(d).offsetHeight;if(c<=215&&c!=""){var b=(215-c)/2;if(navigator.appName.indexOf("Microsoft")==0){var g=window.navigator.appVersion.split(";");var a=g[1].split(" ");if(a[2]=="7.0"){document.getElementById(i).style.paddingRight=b+"px"}else{document.getElementById(i).style.paddingRight=b+"px"}}else{document.getElementById(i).style.paddingRight=b+"px"}var j=f-document.getElementById("AlbumText").offsetHeight-70;document.getElementById(h).style.marginTop=j+"px";document.getElementById(i).style.width=c+"px"}else{if((f>=100)||(c=="")){var j=f-document.getElementById("AlbumText").offsetHeight-70;document.getElementById(h).style.marginTop=j+"px"}}}function StartSlideShow(a){myLytebox.start(document.getElementById(a),true,false);return false}function NavigateImage(a,b){switch(a){case"Prev":MoveToImage(parseInt(document.getElementById(b).value)-1);
break;case"Next":MoveToImage(parseInt(document.getElementById(b).value)+1);break}}function MoveToImage(f){var e=$("#slider1");var a=$("li",e);if(f>=0&&f<a.length){var g="";var b=$("img",a[f]);if(typeof(b.attr("OnClick"))=="function"){var c=b.attr("OnClick").toString().replace("function onclick()","").replace("{","").replace("}","");g=jQuery.trim(c.toString().replace("return LoadImage(",""))}else{g=b.attr("OnClick").replace("Javascript:return LoadImage(","")}g=g.substring(0,g.length-1);var d=g.split('",');LoadImage(d[0].replace('"',""),d[1].replace('"',""),d[2].replace('"',""),d[3].replace('"',""),d[4].replace('"',""),d[5].replace('"',""),f,d[7].replace('"',""))}}function resizeImageBorder(a){document.getElementById("DivSummary").style.width=parseInt(a)+"px";document.getElementById("DivNavigationBar").style.width=parseInt(a)+"px"}function PopUpProperty_GetValue(a){return document.getElementById(a).value}function PopUpProperty_Closed(a,b){if(a!=null){document.getElementById(b).value=a}}function AssignAlbumCover(b,a){document.getElementById(a).value=b
}function SwapImage(f,c,b,h,l,j,g,k){var i=document.getElementById(b).src;var a=document.getElementById(c).value;var d=document.getElementById(f).value;var e=document.getElementById(g).value;document.getElementById(b).src=document.getElementById(j).value;document.getElementById(c).value=document.getElementById(l).innerText;document.getElementById(f).value=document.getElementById(h).src;document.getElementById(g).value=document.getElementById(k).value;document.getElementById(h).src=d;if(a!="&nbsp;"){document.getElementById(l).innerText=a}else{document.getElementById(l).innerHtml=a}document.getElementById(j).value=i;document.getElementById(k).value=e;return false}function changeImg(b,a){if(a.type=="mouseover"){b.style.color="#006DB3"}else{if(a.type=="mouseout"){b.style.color="#006DB3"}}};var agt=navigator.userAgent.toLowerCase();var ie=(agt.indexOf("msie")!=-1);var ns=(navigator.appName.indexOf("Netscape")!=-1);var win=((agt.indexOf("win")!=-1)||(agt.indexOf("32bit")!=-1));var mac=(agt.indexOf("mac")!=-1);var pluginlist="";if(ie&&win){pluginlist=detectIE("Adobe.SVGCtl","SVG Viewer")+detectIE("SWCtl.SWCtl.1","Shockwave Director")+detectIE("ShockwaveFlash.ShockwaveFlash.1","Shockwave Flash")+detectIE("rmocx.RealPlayer G2 Control.1","RealPlayer")+detectIE("QuickTimeCheckObject.QuickTimeCheck.1","QuickTime")+detectIE("MediaPlayer.MediaPlayer.1","Windows Media Player")+detectIE("PDF.PdfCtrl.5","Acrobat Reader")}if(ns||!win){nse="";for(var i=0;i<navigator.mimeTypes.length;i++){nse+=navigator.mimeTypes[i].type.toLowerCase()}pluginlist=detectNS("image/svg-xml","SVG Viewer")+detectNS("application/x-director","Shockwave Director")+detectNS("application/x-shockwave-flash","Shockwave Flash")+detectNS("audio/x-pn-realaudio-plugin","RealPlayer")+detectNS("video/quicktime","QuickTime")+detectNS("application/x-mplayer2","Windows Media Player")+detectNS("application/pdf","Acrobat Reader")
}function detectIE(b,a){result=false;document.write('<SCRIPT LANGUAGE=VBScript>\n on error resume next \n result = IsObject(CreateObject("'+b+'"))</SCRIPT>\n');if(result){return a+","}else{return""}}function detectNS(b,a){n="";if(nse.indexOf(b)!=-1){if(navigator.mimeTypes[b].enabledPlugin!=null){n=a+","}}return n}pluginlist+=navigator.javaEnabled()?"Java,":"";if(pluginlist.length>0){pluginlist=pluginlist.substring(0,pluginlist.length-1)}function CheckPlugins(a){var b=false;if(a=="RealMediaPlayer"){if(pluginlist!=null&&pluginlist.indexOf("RealPlayer")==-1){document.getElementById("redirectionControl").style.display="";document.getElementById("redirectionText").innerText="Realplayer plugin is current not installed on this machine.";document.getElementById("redirectionLink").innerText="Click here to download";document.getElementById("redirectionLink").href="http://www.real.com";document.getElementById("redirectionLink").target="_blank";b=true}}return b};(function(a){a.fn.innerfade=function(b){return this.each(function(){a.innerfade(this,b)})};a.innerfade=function(d,g){var e={animationtype:"fade",speed:"normal",type:"sequence",timeout:2000,containerheight:"auto",runningclass:"innerfade",children:null,position:"absolute"};if(g){a.extend(e,g)}if(e.children===null){var f=a(d).children()}else{var f=a(d).children(e.children)}if(f.length>1){a(d).css("position","relative").css("height",e.containerheight).addClass(e.runningclass);for(var h=0;h<f.length;h++){a(f[h]).css("z-index",String(f.length-h)).css("position",e.position).hide()}if(e.type=="sequence"){setTimeout(function(){a.innerfade.next(f,e,1,0)},e.timeout);a(f[0]).show()}else{if(e.type=="random"){var b=Math.floor(Math.random()*(f.length));setTimeout(function(){do{c=Math.floor(Math.random()*(f.length))}while(b==c);a.innerfade.next(f,e,c,b)},e.timeout);a(f[b]).show()}else{if(e.type=="random_start"){e.type="sequence";var c=Math.floor(Math.random()*(f.length));setTimeout(function(){a.innerfade.next(f,e,(c+1)%f.length,c)
},e.timeout);a(f[c]).show()}else{alert("Innerfade-Type must either be 'sequence', 'random' or 'random_start'")}}}}};a.innerfade.next=function(d,c,b,e){if(c.animationtype=="slide"){if(a(d[b]).attr("tagName")=="A"&&jQuery.browser.msie&&jQuery.browser.version=="7.0"){a(d[e]).css("display","none");a(d[b]).css("display","block")}else{a(d[e]).slideUp(c.speed);a(d[b]).slideDown(c.speed)}}else{if(c.animationtype=="fade"){a(d[e]).fadeOut(c.speed);a(d[b]).fadeIn(c.speed,function(){removeFilter(a(this)[0])})}else{alert("Innerfade-animationtype must either be 'slide' or 'fade'")}}if(c.type=="sequence"){if((b+1)<d.length){b=b+1;e=b-1}else{b=0;e=d.length-1}}else{if(c.type=="random"){e=b;while(b==e){b=Math.floor(Math.random()*d.length)}}else{alert("Innerfade-Type must either be 'sequence', 'random' or 'random_start'")}}setTimeout((function(){a.innerfade.next(d,c,b,e)}),c.timeout)}})(jQuery);function removeFilter(a){if(a.parentNode!=null){if(a.parentNode.id=="meetingsitebannerimage"||a.parentNode.id=="sitebannerimage"){if($(a).attr("tagName")=="A"){document.getElementById("sitebannerNavigator").style.display="";
document.getElementById("sitebannerNavigator").href=$(a).attr("href")}else{document.getElementById("sitebannerNavigator").style.display="none"}}}if(a.style.removeAttribute){a.style.removeAttribute("filter")}};$jScroller={info:{Name:"ByRei jScroller Plugin for jQuery",Version:0.4,Author:"Markus Bordihn (http://markusbordihn.de)",Description:"Next Generation Autoscroller"},config:{obj:[],refresh:120,regExp:{px:/([0-9,.\-]+)px/}},cache:{timer:0,init:0},add:function(a,c,d,b,e){if($(a).length&&$(c).length&&d&&b>=1){$(a).css({overflow:"hidden"});$(c).css({position:"absolute",left:0,top:0});$jScroller.config.obj.push({parent:$(a),child:$(c),direction:d,speed:b,pause:false});if(e){$(c).hover(function(){$jScroller.pause($(c),true)},function(){$jScroller.pause($(c),false)})}}},pause:function(c,a){if(c&&typeof a!=="undefined"){for(var b in $jScroller.config.obj){if($jScroller.config.obj[b].child!=null){if($jScroller.config.obj[b].child.attr("id")===c.attr("id")){$jScroller.config.obj[b].pause=a}}}}},start:function(){if($jScroller.cache.timer===0&&$jScroller.config.refresh>0){$jScroller.cache.timer=window.setInterval($jScroller.scroll,$jScroller.config.refresh)}if(!$jScroller.cache.init){$(window).blur($jScroller.stop);
$(window).focus($jScroller.start);$(window).resize($jScroller.start);$(window).scroll($jScroller.start);$(document).mousemove($jScroller.start);if($.browser.msie){window.focus()}$jScroller.cache.init=1}},stop:function(){if($jScroller.cache.timer){window.clearInterval($jScroller.cache.timer);$jScroller.cache.timer=0}},get:{px:function(a){var b="";if(a){if(a.match($jScroller.config.regExp.px)){if(typeof a.match($jScroller.config.regExp.px)[1]!=="undefined"){b=a.match($jScroller.config.regExp.px)[1]}}}return b}},scroll:function(){for(var g in $jScroller.config.obj){if($jScroller.config.obj.hasOwnProperty(g)){var a=$jScroller.config.obj[g],d=Number(($jScroller.get.px(a.child.css("left"))||0)),c=Number(($jScroller.get.px(a.child.css("top"))||0)),e=a.parent.height(),f=a.parent.width(),h=a.child.height(),b=a.child.width();if(!a.pause){switch(a.direction){case"up":if(c<=-1*h){c=e}a.child.css("top",c-a.speed+"px");break;case"right":if(d>=f){d=-1*b}a.child.css("left",d+a.speed+"px");break;case"left":if(d<=-1*b){d=f
}a.child.css("left",d-a.speed+"px");break;case"down":if(c>=e){c=-1*h}a.child.css("top",c+a.speed+"px");break}}}}}};/*
   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(e,a){this.flashVersion=9;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 b=null;var f=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 d=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(f.flashVersion!=8&&f.flashVersion!=9){alert('soundManager.flashVersion must be 8 or 9. "'+f.flashVersion+'" is invalid. Reverting to '+f._defaultFlashVersion+".");f.flashVersion=f._defaultFlashVersion}f.version=f.versionNumber+(f.flashVersion==9?" (AS3/Flash 9)":" (AS2/Flash 8)");
if(f.flashVersion>8){f.defaultOptions=f._mergeObjects(f.defaultOptions,f.flash9Options);f.features.buffering=true}if(f.flashVersion>8&&f.useMovieStar){f.defaultOptions=f._mergeObjects(f.defaultOptions,f.movieStarOptions);f.filePatterns.flash9=new RegExp("\\.(mp3|"+f.netStreamTypes.join("|")+")(\\?.*)?$","i");f.features.movieStar=true}else{f.useMovieStar=false;f.features.movieStar=false}f.filePattern=f.filePatterns[(f.flashVersion!=8?"flash9":"flash8")];f.movieURL=(f.flashVersion==8?"soundmanager2.swf":"soundmanager2_flash9.swf");f.features.peakData=f.features.waveformData=f.features.eqData=(f.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 c="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 '+c+", 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(f._didInit&&!f._disabled)};this.getMovie=function(h){return f.isIE?window[h]:(f.isSafari?d(h)||document[h]:d(h))};this.loadFromXML=function(h){try{f.o._loadFromXML(h)}catch(i){f._failSafely();
return true}};this.createSound=function(h){var k="soundManager.createSound(): ";if(!f._didInit){throw f._complain(k+f.strings.notReady,arguments.callee.caller)}if(arguments.length==2){h={id:arguments[0],url:arguments[1]}}var i=f._mergeObjects(h);var l=i;if(l.id.toString().charAt(0).match(/^[0-9]$/)){var j=k+'Warning: Sound ID "'+l.id+'" should be a string, starting with a non-numeric character';f._wD(j,2)}f._wD(k+l.id+" ("+l.url+")",1);if(f._idCheck(l.id,true)){f._wD(k+l.id+" exists",1);return f.sounds[l.id]}if(f.flashVersion>8&&f.useMovieStar){if(l.isMovieStar===null){l.isMovieStar=(l.url.match(f.netStreamPattern)?true:false)}if(l.isMovieStar){f._wD(k+"using MovieStar handling")}if(l.isMovieStar&&(l.usePeakData||l.useWaveformData||l.useEQData)){f._wD("Warning: peak/waveform/eqData features unsupported for non-MP3 formats");l.usePeakData=false;l.useWaveformData=false;l.useEQData=false}}f.sounds[l.id]=new b(l);f.soundIDs[f.soundIDs.length]=l.id;if(f.flashVersion==8){f.o._createSound(l.id,l.onjustbeforefinishtime)
}else{f.o._createSound(l.id,l.url,l.onjustbeforefinishtime,l.usePeakData,l.useWaveformData,l.useEQData,l.isMovieStar,(l.isMovieStar?l.useVideo:false),(l.isMovieStar?l.bufferTime:false))}if(l.autoLoad||l.autoPlay){if(f.sounds[l.id]){f.sounds[l.id].load(l)}}if(l.autoPlay){f.sounds[l.id].play()}return f.sounds[l.id]};this.createVideo=function(h){if(arguments.length==2){h={id:arguments[0],url:arguments[1]}}if(f.flashVersion>=9){h.isMovieStar=true;h.useVideo=true}else{f._wD("soundManager.createVideo(): flash 9 required for video. Exiting.",2);return false}if(!f.useMovieStar){f._wD("soundManager.createVideo(): MovieStar mode not enabled. Exiting.",2)}return f.createSound(h)};this.destroySound=function(j,h){if(!f._idCheck(j)){return false}for(var k=0;k<f.soundIDs.length;k++){if(f.soundIDs[k]==j){f.soundIDs.splice(k,1);continue}}f.sounds[j].unload();if(!h){f.sounds[j].destruct()}delete f.sounds[j]};this.destroyVideo=this.destroySound;this.load=function(h,i){if(!f._idCheck(h)){return false}f.sounds[h].load(i)
};this.unload=function(h){if(!f._idCheck(h)){return false}f.sounds[h].unload()};this.play=function(h,i){if(!f._didInit){throw f._complain("soundManager.play(): "+f.strings.notReady,arguments.callee.caller)}if(!f._idCheck(h)){if(typeof i!="Object"){i={url:i}}if(i&&i.url){f._wD('soundController.play(): attempting to create "'+h+'"',1);i.id=h;f.createSound(i)}else{return false}}f.sounds[h].play(i)};this.start=this.play;this.setPosition=function(h,i){if(!f._idCheck(h)){return false}f.sounds[h].setPosition(i)};this.stop=function(h){if(!f._idCheck(h)){return false}f._wD("soundManager.stop("+h+")",1);f.sounds[h].stop()};this.stopAll=function(){f._wD("soundManager.stopAll()",1);for(var h in f.sounds){if(f.sounds[h] instanceof b){f.sounds[h].stop()}}};this.pause=function(h){if(!f._idCheck(h)){return false}f.sounds[h].pause()};this.pauseAll=function(){for(var h=f.soundIDs.length;h--;){f.sounds[f.soundIDs[h]].pause()}};this.resume=function(h){if(!f._idCheck(h)){return false}f.sounds[h].resume()};this.resumeAll=function(){for(var h=f.soundIDs.length;
h--;){f.sounds[f.soundIDs[h]].resume()}};this.togglePause=function(h){if(!f._idCheck(h)){return false}f.sounds[h].togglePause()};this.setPan=function(h,i){if(!f._idCheck(h)){return false}f.sounds[h].setPan(i)};this.setVolume=function(h,i){if(!f._idCheck(h)){return false}f.sounds[h].setVolume(i)};this.mute=function(h){if(typeof h!="string"){h=null}if(!h){f._wD("soundManager.mute(): Muting all sounds");for(var j=f.soundIDs.length;j--;){f.sounds[f.soundIDs[j]].mute()}f.muted=true}else{if(!f._idCheck(h)){return false}f._wD('soundManager.mute(): Muting "'+h+'"');f.sounds[h].mute()}};this.muteAll=function(){f.mute()};this.unmute=function(h){if(typeof h!="string"){h=null}if(!h){f._wD("soundManager.unmute(): Unmuting all sounds");for(var j=f.soundIDs.length;j--;){f.sounds[f.soundIDs[j]].unmute()}f.muted=false}else{if(!f._idCheck(h)){return false}f._wD('soundManager.unmute(): Unmuting "'+h+'"');f.sounds[h].unmute()}};this.unmuteAll=function(){f.unmute()};this.toggleMute=function(h){if(!f._idCheck(h)){return false
}f.sounds[h].toggleMute()};this.getMemoryUse=function(){if(f.flashVersion==8){return 0}if(f.o){return parseInt(f.o._getMemoryUse(),10)}};this.disable=function(h){if(typeof h=="undefined"){h=false}if(f._disabled){return false}f._disabled=true;f._wD("soundManager.disable(): Shutting down",1);for(var j=f.soundIDs.length;j--;){f._disableObject(f.sounds[f.soundIDs[j]])}f.initComplete(h)};this.canPlayURL=function(h){return(h?(h.match(f.filePattern)?true:false):null)};this.getSoundById=function(h,j){if(!h){throw new Error("SoundManager.getSoundById(): sID is null/undefined")}var i=f.sounds[h];if(!i&&!j){f._wD('"'+h+'" is an invalid sound ID.',2)}return i};this.onready=function(h,i){if(h&&h instanceof Function){if(f._didInit){f._wD("soundManager.onready(): Queueing handler")}if(!i){i=window}f._addOnReady(h,i);f._processOnReady();return true}else{throw f.strings.needFunction}};this.oninitmovie=function(){};this.onload=function(){soundManager._wD("soundManager.onload()",1)};this.onerror=function(){};
this._idCheck=this.getSoundById;this._complain=function(i,p){var j="Error: ";if(!p){return new Error(j+i)}var k=new Error("");var o=null;if(k.stack){try{var m="@";var l=k.stack.split(m);o=l[4]}catch(h){o=k.stack}}if(typeof console!="undefined"&&typeof console.trace!="undefined"){console.trace()}var n=j+i+". \nCaller: "+p.toString()+(k.stack?" \nTop of stacktrace: "+o:(k.message?" \nMessage: "+k.message:""));return new Error(n)};var g=function(){return false};g._protected=true;this._disableObject=function(h){for(var i in h){if(typeof h[i]=="function"&&typeof h[i]._protected=="undefined"){h[i]=g}}i=null};this._failSafely=function(h){if(typeof h=="undefined"){h=false}if(!f._disabled||h){f._wD("soundManager: Failed to initialise.",2);f.disable(h)}};this._normalizeMovieURL=function(h){var i=null;if(h){if(h.match(/\.swf(\?.*)?$/i)){i=h.substr(h.toLowerCase().lastIndexOf(".swf?")+4);if(i){return h}}else{if(h.lastIndexOf("/")!=h.length-1){h=h+"/"}}}return(h&&h.lastIndexOf("/")!=-1?h.substr(0,h.lastIndexOf("/")+1):"./")+f.movieURL
};this._getDocument=function(){return(document.body?document.body:(document.documentElement?document.documentElement:document.getElementsByTagName("div")[0]))};this._getDocument._protected=true;this._setPolling=function(i,h){if(!f.o||!f.allowPolling){return false}f.o._setPolling(i,h)};this._createMovie=function(u,i){var n=null;var o=(i?i:f.url);var v=(f.altURL?f.altURL:o);if(f.debugURLParam.test(window.location.href.toString())){f.debugMode=true}if(f._didAppend&&f._appendSuccess){return false}f._didAppend=true;f._setVersionInfo();f.url=f._normalizeMovieURL(f._overHTTP?o:v);i=f.url;if(f.useHighPerformance&&f.useMovieStar&&f.defaultOptions.useVideo===true){n="soundManager note: disabling highPerformance, not applicable with movieStar mode + useVideo";f.useHighPerformance=false}f.wmode=(!f.wmode&&f.useHighPerformance&&!f.useMovieStar?"transparent":f.wmode);if(f.wmode!==null&&f.flashLoadTimeout!==0&&!f.useHighPerformance&&!f.isIE&&navigator.platform.match(/win32/i)){f.specialWmodeCase=true;
f._wD("soundManager note: Removing wmode, preventing off-screen SWF loading issue");f.wmode=null}if(f.flashVersion==8){f.allowFullScreen=false}var p={name:u,id:u,src:i,width:"100%",height:"100%",quality:"high",allowScriptAccess:"always",bgcolor:f.bgColor,pluginspage:"http://www.macromedia.com/go/getflashplayer",type:"application/x-shockwave-flash",wmode:f.wmode,allowfullscreen:(f.allowFullScreen?"true":"false")};if(!f.wmode){delete p.wmode}var w=null;var z=null;if(f.isIE){w=document.createElement("div");var l='<object id="'+u+'" data="'+i+'" type="application/x-shockwave-flash" width="100%" height="100%"><param name="movie" value="'+i+'" /><param name="AllowScriptAccess" value="always" /><param name="quality" value="high" />'+(f.wmode?'<param name="wmode" value="'+f.wmode+'" /> ':"")+'<param name="bgcolor" value="'+f.bgColor+'" /><param name="allowFullScreen" value="'+(f.allowFullScreen?"true":"false")+'" /><!-- --></object>'}else{w=document.createElement("embed");for(z in p){if(p.hasOwnProperty(z)){w.setAttribute(z,p[z])
}}}var q=document.createElement("div");q.id=f.debugID+"-toggle";var y={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};q.appendChild(document.createTextNode("-"));q.onclick=f._toggleDebug;q.title="Toggle SM2 debug console";if(navigator.userAgent.match(/msie 6/i)){q.style.position="absolute";q.style.cursor="hand"}for(z in y){if(y.hasOwnProperty(z)){q.style[z]=y[z]}}var j=f._getDocument();if(j){f.oMC=d("sm2-container")?d("sm2-container"):document.createElement("div");if(!f.oMC.id){f.oMC.id="sm2-container";f.oMC.className="movieContainer";var m=null;var r=null;if(f.useHighPerformance){m={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"}}else{m={position:"absolute",width:"8px",height:"8px",top:"-9999px",left:"-9999px"}}var A=null;for(A in m){if(m.hasOwnProperty(A)){f.oMC.style[A]=m[A]}}try{if(!f.isIE){f.oMC.appendChild(w)
}j.appendChild(f.oMC);if(f.isIE){r=f.oMC.appendChild(document.createElement("div"));r.className="sm2-object-box";r.innerHTML=l}f._appendSuccess=true}catch(t){throw new Error(f.strings.appXHTML)}}else{f.oMC.appendChild(w);if(f.isIE){r=f.oMC.appendChild(document.createElement("div"));r.className="sm2-object-box";r.innerHTML=l}f._appendSuccess=true}if(!d(f.debugID)&&((!f._hasConsole||!f.useConsole)||(f.useConsole&&f._hasConsole&&!f.consoleOnly))){var k=document.createElement("div");k.id=f.debugID;k.style.display=(f.debugMode?"block":"none");if(f.debugMode&&!d(q.id)){try{j.appendChild(q)}catch(h){throw new Error(f.strings.appXHTML)}j.appendChild(k)}}j=null}if(n){f._wD(n)}f._wD("-- SoundManager 2 "+f.version+(f.useMovieStar?", MovieStar mode":"")+(f.useHighPerformance?", high performance mode, ":", ")+((f.useFastPolling?"fast":"normal")+" polling mode")+(f.wmode?", wmode: "+f.wmode:"")+" --",1);f._wD("soundManager._createMovie(): Trying to load "+i+(!f._overHTTP&&f.altURL?" (alternate URL)":""),1)
};this._writeDebug=function(i,p,k){if(!f.debugMode){return false}if(typeof k!="undefined"&&k){i=i+" | "+new Date().getTime()}if(f._hasConsole&&f.useConsole){var n=f._debugLevels[p];if(typeof console[n]!="undefined"){console[n](i)}else{console.log(i)}if(f.useConsoleOnly){return true}}var h="soundmanager-debug";try{var j=d(h);if(!j){return false}var m=document.createElement("div");if(++f._wdCount%2===0){m.className="sm2-alt"}if(typeof p=="undefined"){p=0}else{p=parseInt(p,10)}m.appendChild(document.createTextNode(i));if(p){if(p>=2){m.style.fontWeight="bold"}if(p==3){m.style.color="#ff3333"}}j.insertBefore(m,j.firstChild)}catch(l){}j=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&&f.debugMode){f._wD=f._wDAlert}this._toggleDebug=function(){var i=d(f.debugID);var h=d(f.debugID+"-toggle");if(!i){return false}if(f._debugOpen){h.innerHTML="+";i.style.display="none"
}else{h.innerHTML="-";i.style.display="block"}f._debugOpen=!f._debugOpen};this._toggleDebug._protected=true;this._debug=function(){f._wD("--- soundManager._debug(): Current sound objects ---",1);for(var h=0,k=f.soundIDs.length;h<k;h++){f.sounds[f.soundIDs[h]]._debug()}};this._debugTS=function(h,j,k){if(typeof sm2Debugger!="undefined"){try{sm2Debugger.handleEvent(h,j,k)}catch(i){}}};this._debugTS._protected=true;this._mergeObjects=function(n,h){var j={};for(var l in n){if(n.hasOwnProperty(l)){j[l]=n[l]}}var k=(typeof h=="undefined"?f.defaultOptions:h);for(var m in k){if(k.hasOwnProperty(m)&&typeof j[m]=="undefined"){j[m]=k[m]}}return j};this.createMovie=function(h){if(h){f.url=h}f._initMovie()};this.go=this.createMovie;this._initMovie=function(){if(f.o){return false}f.o=f.getMovie(f.id);if(!f.o){if(!f.oRemoved){f._createMovie(f.id,f.url)}else{if(!f.isIE){f.oMC.appendChild(f.oRemoved)}else{f.oMC.innerHTML=f.oRemovedHTML}f.oRemoved=null;f._didAppend=true}f.o=f.getMovie(f.id)}if(f.o){f._wD("soundManager._initMovie(): Got "+f.o.nodeName+" element ("+(f._didAppend?"created via JS":"static HTML")+")",1);
if(f.flashLoadTimeout>0){f._wD("soundManager._initMovie(): Waiting for ExternalInterface call from Flash..")}}if(typeof f.oninitmovie=="function"){setTimeout(f.oninitmovie,1)}};this.waitForExternalInterface=function(){if(f._waitingForEI){return false}f._waitingForEI=true;if(f._tryInitOnFocus&&!f._isFocused){f._wD(f.strings.waitFocus);return false}if(f.flashLoadTimeout>0){if(!f._didInit){f._wD(f.strings.waitImpatient)}setTimeout(function(){if(!f._didInit){f._wD("soundManager: No Flash response within reasonable time after document load.\nPossible causes: Loading "+f.movieURL+" failed, Flash version under "+f.flashVersion+", no support, flash blocked or JS-Flash security error.",2);if(!f._overHTTP){f._wD(f.strings.localFail,2)}f._debugTS("flashtojs",false,": Timed out"+(f._overHTTP)?" (Check flash security or flash blockers)":" (No plugin/missing SWF?)")}if(!f._didInit&&f._okToDisable){f._failSafely(true)}},f.flashLoadTimeout)}else{if(!f._didInit){f._wD(f.strings.waitForever)}}};this.handleFocus=function(){if(f._isFocused||!f._tryInitOnFocus){return true
}f._okToDisable=true;f._isFocused=true;f._wD("soundManager.handleFocus()");if(f._tryInitOnFocus){window.removeEventListener("mousemove",f.handleFocus,false)}f._waitingForEI=false;setTimeout(f.waitForExternalInterface,500);if(window.removeEventListener){window.removeEventListener("focus",f.handleFocus,false)}else{if(window.detachEvent){window.detachEvent("onfocus",f.handleFocus)}}};this.initComplete=function(h){if(f._didInit){return false}f._didInit=true;f._wD("-- SoundManager 2 "+(f._disabled?"failed to load":"loaded")+" ("+(f._disabled?"security/load error":"OK")+") --",1);if(f._disabled||h){f._wD("soundManager.initComplete(): calling soundManager.onerror()",1);f._processOnReady();f._debugTS("onload",false);f.onerror.apply(window);return false}else{f._debugTS("onload",true)}if(f.waitForWindowLoad&&!f._windowLoaded){f._wD("soundManager: Waiting for window.onload()");if(window.addEventListener){window.addEventListener("load",f._initUserOnload,false)}else{if(window.attachEvent){window.attachEvent("onload",f._initUserOnload)
}}return false}else{if(f.waitForWindowLoad&&f._windowLoaded){f._wD("soundManager: Document already loaded")}f._initUserOnload()}};this._addOnReady=function(h,i){f._onready.push({method:h,scope:(i||null),fired:false})};this._processOnReady=function(){if(!f._didInit){return false}var k={success:(!f._disabled)};var l=[];for(var h=0,m=f._onready.length;h<m;h++){if(f._onready[h].fired!==true){l.push(f._onready[h])}}if(l.length){f._wD("soundManager: Firing "+l.length+" onready() item"+(l.length>1?"s":""));for(h=0,m=l.length;h<m;h++){if(l[h].scope){l[h].method.apply(l[h].scope,[k])}else{l[h].method(k)}l[h].fired=true}}};this._initUserOnload=function(){window.setTimeout(function(){f._processOnReady();f._wD("soundManager.initComplete(): calling soundManager.onload()",1);f.onload.apply(window);f._wD("soundManager.onload() complete",1)})};this.init=function(){f._wD("-- soundManager.init() --");f._initMovie();if(f._didInit){f._wD("soundManager.init(): Already called?");return false}if(window.removeEventListener){window.removeEventListener("load",f.beginDelayedInit,false)
}else{if(window.detachEvent){window.detachEvent("onload",f.beginDelayedInit)}}try{f._wD("Attempting to call Flash from JS..");f.o._externalInterfaceTest(false);if(!f.allowPolling){f._wD("Polling (whileloading()/whileplaying() support) is disabled.",1)}f._setPolling(true,f.useFastPolling?true:false);if(!f.debugMode){f.o._disableDebug()}f.enabled=true;f._debugTS("jstoflash",true)}catch(h){f._wD("js/flash exception: "+h.toString());f._debugTS("jstoflash",false);f._failSafely(true);f.initComplete();return false}f.initComplete()};this.beginDelayedInit=function(){f._wD("soundManager.beginDelayedInit()");f._windowLoaded=true;setTimeout(f.waitForExternalInterface,500);setTimeout(f.beginInit,20)};this.beginInit=function(){if(f._initPending){return false}f.createMovie();f._initMovie();f._initPending=true;return true};this.domContentLoaded=function(){f._wD("soundManager.domContentLoaded()");if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",f.domContentLoaded,false)}f.go()
};this._externalInterfaceOK=function(){if(f.swfLoaded){return false}f._wD("soundManager._externalInterfaceOK()");f._debugTS("swf",true);f._debugTS("flashtojs",true);f.swfLoaded=true;f._tryInitOnFocus=false;if(f.isIE){setTimeout(f.init,100)}else{f.init()}};this._setSandboxType=function(h){var i=f.sandbox;i.type=h;i.description=i.types[(typeof i.types[h]!="undefined"?h:"unknown")];f._wD("Flash security sandbox type: "+i.type);if(i.type=="localWithFile"){i.noRemote=true;i.noLocal=false;f._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(i.type=="localWithNetwork"){i.noRemote=false;i.noLocal=true}else{if(i.type=="localTrusted"){i.noRemote=false;i.noLocal=false}}}};this.reboot=function(){f._wD("soundManager.reboot()");if(f.soundIDs.length){f._wD("Destroying "+f.soundIDs.length+" SMSound objects...")
}for(var h=f.soundIDs.length;h--;){f.sounds[f.soundIDs[h]].destruct()}try{if(f.isIE){f.oRemovedHTML=f.o.innerHTML}f.oRemoved=f.o.parentNode.removeChild(f.o);f._wD("Flash movie removed.")}catch(j){f._wD("Warning: Failed to remove flash movie.",2)}f.enabled=false;f._didInit=false;f._waitingForEI=false;f._initPending=false;f._didAppend=false;f._appendSuccess=false;f._disabled=false;f._waitingforEI=true;f.swfLoaded=false;f.soundIDs={};f.sounds=[];f.o=null;for(h=f._onready.length;h--;){f._onready[h].fired=false}f._wD("soundManager: Rebooting...");window.setTimeout(soundManager.beginDelayedInit,20)};this.destruct=function(){f._wD("soundManager.destruct()");f.disable(true)};b=function(h){var i=this;this.sID=h.id;this.url=h.url;this.options=f._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(f.debugMode){var m=null;var l=[];var n=null;var k=null;var j=64;for(m in i.options){if(i.options[m]!==null){if(i.options[m] instanceof Function){n=i.options[m].toString();
n=n.replace(/\s\s+/g," ");k=n.indexOf("{");l[l.length]=" "+m+": {"+n.substr(k+1,(Math.min(Math.max(n.indexOf("\n")-1,j),j))).replace(/\n/g,"")+"... }"}else{l[l.length]=" "+m+": "+i.options[m]}}}f._wD("SMSound() merged options: {\n"+l.join(", \n")+"\n}")}};this._debug();this.id3={};this.resetProperties=function(j){i.bytesLoaded=null;i.bytesTotal=null;i.position=null;i.duration=null;i.durationEstimate=null;i.loaded=false;i.playState=0;i.paused=false;i.readyState=0;i.muted=false;i.didBeforeFinish=false;i.didJustBeforeFinish=false;i.isBuffering=false;i.instanceOptions={};i.instanceCount=0;i.peakData={left:0,right:0};i.waveformData={left:[],right:[]};i.eqData=[]};i.resetProperties();this.load=function(j){if(typeof j!="undefined"){i._iO=f._mergeObjects(j);i.instanceOptions=i._iO}else{j=i.options;i._iO=j;i.instanceOptions=i._iO;if(i._lastURL&&i._lastURL!=i.url){f._wD("SMSound.load(): Using manually-assigned URL");i._iO.url=i.url;i.url=null}}if(typeof i._iO.url=="undefined"){i._iO.url=i.url}f._wD("soundManager.load(): "+i._iO.url,1);
if(i._iO.url==i.url&&i.readyState!==0&&i.readyState!=2){f._wD("soundManager.load(): current URL already assigned.",1);return false}i.url=i._iO.url;i._lastURL=i._iO.url;i.loaded=false;i.readyState=1;i.playState=0;try{if(f.flashVersion==8){f.o._load(i.sID,i._iO.url,i._iO.stream,i._iO.autoPlay,(i._iO.whileloading?1:0))}else{f.o._load(i.sID,i._iO.url,i._iO.stream?true:false,i._iO.autoPlay?true:false);if(i._iO.isMovieStar&&i._iO.autoLoad&&!i._iO.autoPlay){i.pause()}}}catch(k){f._wD("SMSound.load(): Exception: JS-Flash communication failed, or JS error.",2);f._debugTS("onload",false);f.onerror();f.disable()}};this.unload=function(){if(i.readyState!==0){f._wD('SMSound.unload(): "'+i.sID+'"');if(i.readyState!=2){i.setPosition(0,true)}f.o._unload(i.sID,f.nullURL);i.resetProperties()}};this.destruct=function(){f._wD('SMSound.destruct(): "'+i.sID+'"');f.o._destroySound(i.sID);f.destroySound(i.sID,true)};this.play=function(j){if(!j){j={}}i._iO=f._mergeObjects(j,i._iO);i._iO=f._mergeObjects(i._iO,i.options);
i.instanceOptions=i._iO;if(i.playState==1){var k=i._iO.multiShot;if(!k){f._wD('SMSound.play(): "'+i.sID+'" already playing (one-shot)',1);return false}else{f._wD('SMSound.play(): "'+i.sID+'" already playing (multi-shot)',1)}}if(!i.loaded){if(i.readyState===0){f._wD('SMSound.play(): Attempting to load "'+i.sID+'"',1);i._iO.stream=true;i._iO.autoPlay=true;i.load(i._iO)}else{if(i.readyState==2){f._wD('SMSound.play(): Could not load "'+i.sID+'" - exiting',2);return false}else{f._wD('SMSound.play(): "'+i.sID+'" is loading - attempting to play..',1)}}}else{f._wD('SMSound.play(): "'+i.sID+'"')}if(i.paused){i.resume()}else{i.playState=1;if(!i.instanceCount||f.flashVersion>8){i.instanceCount++}i.position=(typeof i._iO.position!="undefined"&&!isNaN(i._iO.position)?i._iO.position:0);if(i._iO.onplay){i._iO.onplay.apply(i)}i.setVolume(i._iO.volume,true);i.setPan(i._iO.pan,true);f.o._start(i.sID,i._iO.loop||1,(f.flashVersion==9?i.position:i.position/1000))}};this.start=this.play;this.stop=function(j){if(i.playState==1){i.playState=0;
i.paused=false;if(i._iO.onstop){i._iO.onstop.apply(i)}f.o._stop(i.sID,j);i.instanceCount=0;i._iO={}}};this.setPosition=function(j,l){if(typeof j=="undefined"){j=0}var k=Math.min(i.duration,Math.max(j,0));i._iO.position=k;if(!l){}f.o._setPosition(i.sID,(f.flashVersion==9?i._iO.position:i._iO.position/1000),(i.paused||!i.playState))};this.pause=function(){if(i.paused||i.playState===0){return false}f._wD("SMSound.pause()");i.paused=true;f.o._pause(i.sID);if(i._iO.onpause){i._iO.onpause.apply(i)}};this.resume=function(){if(!i.paused||i.playState===0){return false}f._wD("SMSound.resume()");i.paused=false;f.o._pause(i.sID);if(i._iO.onresume){i._iO.onresume.apply(i)}};this.togglePause=function(){f._wD("SMSound.togglePause()");if(i.playState===0){i.play({position:(f.flashVersion==9?i.position:i.position/1000)});return false}if(i.paused){i.resume()}else{i.pause()}};this.setPan=function(j,k){if(typeof j=="undefined"){j=0}if(typeof k=="undefined"){k=false}f.o._setPan(i.sID,j);i._iO.pan=j;if(!k){i.pan=j
}};this.setVolume=function(k,j){if(typeof k=="undefined"){k=100}if(typeof j=="undefined"){j=false}f.o._setVolume(i.sID,(f.muted&&!i.muted)||i.muted?0:k);i._iO.volume=k;if(!j){i.volume=k}};this.mute=function(){i.muted=true;f.o._setVolume(i.sID,0)};this.unmute=function(){i.muted=false;var j=typeof i._iO.volume!="undefined";f.o._setVolume(i.sID,j?i._iO.volume:i.options.volume)};this.toggleMute=function(){if(i.muted){i.unmute()}else{i.mute()}};this._whileloading=function(k,j,l){if(!i._iO.isMovieStar){i.bytesLoaded=k;i.bytesTotal=j;i.duration=Math.floor(l);i.durationEstimate=parseInt((i.bytesTotal/i.bytesLoaded)*i.duration,10);if(i.durationEstimate===undefined){i.durationEstimate=i.duration}if(i.readyState!=3&&i._iO.whileloading){i._iO.whileloading.apply(i)}}else{i.bytesLoaded=k;i.bytesTotal=j;i.duration=Math.floor(l);i.durationEstimate=i.duration;if(i.readyState!=3&&i._iO.whileloading){i._iO.whileloading.apply(i)}}};this._onid3=function(m,o){f._wD('SMSound._onid3(): "'+this.sID+'" ID3 data received.');
var k=[];for(var n=0,l=m.length;n<l;n++){k[m[n]]=o[n]}i.id3=f._mergeObjects(i.id3,k);if(i._iO.onid3){i._iO.onid3.apply(i)}};this._whileplaying=function(l,j,n,m,k){if(isNaN(l)||l===null){return false}if(i.playState===0&&l>0){l=0}i.position=l;if(i._iO.usePeakData&&typeof j!="undefined"&&j){i.peakData={left:j.leftPeak,right:j.rightPeak}}if(i._iO.useWaveformData&&typeof n!="undefined"&&n){i.waveformData={left:n.split(","),right:m.split(",")}}if(i._iO.useEQData&&typeof k!="undefined"&&k){i.eqData=k}if(i.playState==1){if(i.isBuffering){i._onbufferchange(0)}if(i._iO.whileplaying){i._iO.whileplaying.apply(i)}if(i.loaded&&i._iO.onbeforefinish&&i._iO.onbeforefinishtime&&!i.didBeforeFinish&&i.duration-i.position<=i._iO.onbeforefinishtime){f._wD("duration-position &lt;= onbeforefinishtime: "+i.duration+" - "+i.position+" &lt= "+i._iO.onbeforefinishtime+" ("+(i.duration-i.position)+")");i._onbeforefinish()}}};this._onload=function(j){j=(j==1?true:false);f._wD('SMSound._onload(): "'+i.sID+'"'+(j?" loaded.":" failed to load? - "+i.url),(j?1:2));
if(!j){if(f.sandbox.noRemote===true){f._wD("SMSound._onload(): Reminder: Flash security is denying network/internet access",1)}if(f.sandbox.noLocal===true){f._wD("SMSound._onload(): Reminder: Flash security is denying local access",1)}}i.loaded=j;i.readyState=j?3:2;if(i._iO.onload){i._iO.onload.apply(i)}};this._onbeforefinish=function(){if(!i.didBeforeFinish){i.didBeforeFinish=true;if(i._iO.onbeforefinish){f._wD('SMSound._onbeforefinish(): "'+i.sID+'"');i._iO.onbeforefinish.apply(i)}}};this._onjustbeforefinish=function(j){if(!i.didJustBeforeFinish){i.didJustBeforeFinish=true;if(i._iO.onjustbeforefinish){f._wD('SMSound._onjustbeforefinish(): "'+i.sID+'"');i._iO.onjustbeforefinish.apply(i)}}};this._onfinish=function(){if(i._iO.onbeforefinishcomplete){i._iO.onbeforefinishcomplete.apply(i)}i.didBeforeFinish=false;i.didJustBeforeFinish=false;if(i.instanceCount){i.instanceCount--;if(!i.instanceCount){i.playState=0;i.paused=false;i.instanceCount=0;i.instanceOptions={}}if(!i.instanceCount||i._iO.multiShotEvents){if(i._iO.onfinish){f._wD('SMSound._onfinish(): "'+i.sID+'"');
i._iO.onfinish.apply(i)}}}else{if(i.useVideo){}}};this._onmetadata=function(j){f._wD("SMSound.onmetadata()");if(!j.width&&!j.height){f._wD("No width/height given, assuming defaults");j.width=320;j.height=240}i.metadata=j;i.width=j.width;i.height=j.height;if(i._iO.onmetadata){f._wD('SMSound._onmetadata(): "'+i.sID+'"');i._iO.onmetadata.apply(i)}f._wD("SMSound.onmetadata() complete")};this._onbufferchange=function(j){if(i.playState===0){return false}if(j==i.isBuffering){f._wD("_onbufferchange: ignoring false default / loaded sound");return false}i.isBuffering=(j==1?true:false);if(i._iO.onbufferchange){f._wD("SMSound._onbufferchange(): "+j);i._iO.onbufferchange.apply(i)}};this._ondataerror=function(j){if(i.playState>0){f._wD("SMSound._ondataerror(): "+j);if(i._iO.ondataerror){i._iO.ondataerror.apply(i)}}else{}}};this._onfullscreenchange=function(i){f._wD("onfullscreenchange(): "+i);f.isFullScreen=(i==1?true:false);if(!f.isFullScreen){try{window.focus();f._wD("window.focus()")}catch(h){}}};
if(window.addEventListener){window.addEventListener("focus",f.handleFocus,false);window.addEventListener("load",f.beginDelayedInit,false);window.addEventListener("unload",f.destruct,false);if(f._tryInitOnFocus){window.addEventListener("mousemove",f.handleFocus,false)}}else{if(window.attachEvent){window.attachEvent("onfocus",f.handleFocus);window.attachEvent("onload",f.beginDelayedInit);window.attachEvent("unload",f.destruct)}else{f._debugTS("onload",false);soundManager.onerror();soundManager.disable()}}if(document.addEventListener){document.addEventListener("DOMContentLoaded",f.domContentLoaded,false)}}if(typeof SM2_DEFER=="undefined"||!SM2_DEFER){soundManager=new SoundManager()};