// this code has been compiled by Google's Closure Compiler (http://closure-compiler.appspot.com/home)
// to view the uncompressed code with pretty indents, proper variable names, and lots of comments,
// visit http://www.sikaband.com/scripts.js

serveBGCSS();window.onload=function(){reflection();drawgrid();Browser()!="msie"&&bandNavigate("bandFoundation");mPlayer=new musicPlayer;mPlayer.initialize();vPlayer=new videoPlayer;vPlayer.initialize();initiateYouTubeVids();Navigate("Popup");setTimeout("Fade('infoBox','in');",2E3)};function serveBGCSS(){var b=document.getElementById("bgcss"),a=Browser();a=="webkit"&&b.setAttribute("href","style_bg_webkit.css");a=="firefox"&&b.setAttribute("href","style_bg_mozilla.css")} function myGetElementsByClassName(b,a){if(b.getElementsByClassName)return b.getElementsByClassName(a);else{for(var d=b.getElementsByTagName("*"),c=[],e=RegExp("\\b"+a+"\\b"),f=0,g=0;g<d.length;g++)d[g].className&&d[g].className.search(e)==0&&(c[f]=d[g],f++);return c}}function getCSSRule(b){b=b.toLowerCase();if(document.styleSheets){var a=document.styleSheets[1],d=0,c=!1;do{if((c=a.cssRules?a.cssRules[d]:a.rules[d])&&c.selectorText&&c.selectorText.toLowerCase()==b)return c;d++}while(c)}return!1} function Browser(){var b=navigator.userAgent;return b.search(/WebKit/)!=-1?"webkit":b.search(/Firefox/)!=-1?"firefox":b.search(/MSIE/)!=-1?"msie":!1} function drawgrid(){var b=document.getElementById("gridlines").getContext("2d"),a=b.createLinearGradient(0,0,0,1E3);a.addColorStop(0,"rgba(150,150,150,.01)");a.addColorStop(0.05,"rgba(150,150,150,.2)");b.strokeStyle=Browser()=="msie"?"rgba(150,150,150,.2)":a;b.beginPath();for(a=40;a<=1960;a+=80){var d=(a-1E3)*30+1E3;b.moveTo(a,0);b.lineTo(d,2E3)}b.closePath();b.lineWidth=2;b.stroke();b.beginPath();for(a=15;a<=2E3;a=15+a*1.7)b.moveTo(0,a),b.lineTo(2E3,a);b.closePath();b.lineWidth=2;b.stroke()} function initiateYouTubeVids(){myGetElementsByClassName(document.getElementById("Popup"),"youTubeVid")[0].innerHTML='<object width="500" height="311"><param name="movie" value="http://www.youtube.com/v/0XwcYMZUcP4?fs=1&amp;hl=en_US&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/0XwcYMZUcP4?fs=1&amp;hl=en_US&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="311"></embed></object>'} function linkOver(b){b=myGetElementsByClassName(document.getElementById("navbox"),b);for(var a=0;a<b.length;a++)b[a].style.color="#98F",b[a].style.textShadow="0px 0px 6px black, 0px 0px 30px rgba(150,200,255,1)"} function linkOut(b){b=myGetElementsByClassName(document.getElementById("navbox"),b);for(var a=0;a<b.length;a++)document.body.currentStyle?(b[a].style.color=b[a].parentNode.currentStyle.color,b[a].style.textShadow=b[a].parentNode.currentStyle.textShadow):(b[a].style.color="inherit",b[a].style.textShadow="inherit")}var contentBoxes=[],slideUpContainers=[]; function initNavigation(){Object.prototype.isDown=!0;Object.prototype.isExpanded=!1;Object.prototype.hasFlyIn=!1;Object.prototype.hasWipe=!1;for(var b=document.getElementById("navbox").getElementsByTagName("a"),a=0;a<b.length;a++){var d=b[a].id.replace("link","");contentBoxes[a]=document.getElementById(d);contentBoxes[a].setAttribute("ondblclick",'Navigate("'+contentBoxes[a].id+'");')}slideUpContainers=myGetElementsByClassName(document,"slideupcontainer");b=document.getElementsByTagName("div");for(a= 0;a<b.length;a++)b[a].hasFlyIn=!1,b[a].hasWipe=!1;document.getElementById("Music").hasFlyIn=!0;document.getElementById("Band").hasWipe=!0}function Navigate(b){b=document.getElementById(b);if(b.isDown){for(var a=0;a<contentBoxes.length;a++)contentBoxes[a].isDown||sendDown(contentBoxes[a].id);sendUp(b.id)}else sendDown(b.id)} function sendUp(b){function a(){if(l<=h&&!c.isDown)o=k-l,c.style.height=l+"px",c.style.top=o+"px",l+=p,setTimeout(a,m);else if(!c.isDown)o=k-h,c.style.height=h+"px",c.style.top=o+"px",setTimeout(d,40)}function d(){g>k&&o==0&&addMoreLink(c.id);for(i=0;i<slideUpContainers.length;i++)if(slideUpContainers[i].id!=c.parentNode.id)slideUpContainers[i].style.width="0px";c.style.textShadow="inherit";c.hasFlyIn&&FlyIn(b+"FlyIn","in");c.hasWipe&&WipeReveal(b)}var c=document.getElementById(b);c.parentNode.style.width= "100%";var e;document.body.currentStyle&&(e=parseInt(c.firstChild.currentStyle.paddingBottom));document.defaultView&&(e=parseInt(document.defaultView.getComputedStyle(c.firstChild,"").paddingBottom));var f;document.body.currentStyle&&(f=parseInt(c.currentStyle.borderTopWidth),f+=parseInt(c.currentStyle.borderBottomWidth));document.defaultView&&(f=parseInt(document.defaultView.getComputedStyle(c,"").borderTopWidth),f+=parseInt(document.defaultView.getComputedStyle(c,"").borderBottomWidth));c.borderPaddingHeight= f;var g=c.scrollHeight+e,h,k=c.parentNode.offsetHeight-c.borderPaddingHeight,l=c.offsetHeight,o,p=Math.round(Math.min(g,k)/10),m=30;c.style.overflow="hidden";c.style.textShadow="none";c.style.visibility="visible";h=Math.min(g,k);c.isDown=!1;b!="Music"&&(document.getElementById("reflectedContent")||reflectContent(c.id));a()} function sendDown(b){function a(){if(f>=h&&c.isDown)f-=h,g=e-f-c.borderPaddingHeight,c.style.height=f+"px",c.style.top=g+"px",setTimeout(a,k);else if(c.isDown)c.style.height="0px",c.style.top=e-c.borderPaddingHeight+"px",c.style.visibility="hidden",setTimeout(d,40)}function d(){if(c.hasWipe)for(var a=myGetElementsByClassName(c,b+"Wipe"),d=0;d<a.length;d++)a[d].style.visibility="hidden";a=!0;for(d=0;d<contentBoxes.length;d++)contentBoxes[d].isDown||(a=!1);if(a)for(d=0;d<slideUpContainers.length;d++)slideUpContainers[d].style.width= "0px"}var c=document.getElementById(b);c.hasFlyIn&&FlyIn(b+"FlyIn","out");eraseReflectedContent();c.lastChild.id=="morelink"&&removeMoreLink(c.id);if(c.isExpanded)c.parentNode.style.webkitBoxReflect=expandedReflection,c.style.height=c.parentNode.offsetHeight-c.borderPaddingHeight+"px",c.isExpanded=!1;var e=c.parentNode.offsetHeight,f=c.offsetHeight,g,h=Math.round(Math.min(c.scrollHeight,e-c.borderPaddingHeight)/10),k=30;c.style.overflow="hidden";c.style.textShadow="none";c.style.visibility="visible"; c.parentNode.style.width="100%";c.isDown=!0;a()}function addMoreLink(b){b=document.getElementById(b);var a=document.createElement("a");a.setAttribute("id","morelink");a.setAttribute("href",'javascript:expandContent("'+b.id+'");');a.innerHTML="more... ";b.appendChild(a)}function removeMoreLink(b){b=document.getElementById(b);var a=document.getElementById("morelink");b.removeChild(a)}var expandedReflection; function expandContent(b){eraseReflectedContent();b=document.getElementById(b);var a=b.parentNode;if(document.defaultView)expandedReflection=document.defaultView.getComputedStyle(b.parentNode,"").webkitBoxReflect;a.style.webkitBoxReflect="none";b.style.height=b.scrollHeight+"px";removeMoreLink(b.id);a.style.width="100%";b.isExpanded=!0} function reflection(){if(Browser()!="webkit"){for(var b=[],a=document.getElementById("navbox").getElementsByTagName("a"),d=0;d<a.length;d++)b[d]=a[d];for(d=0;d<b.length;d++)a=document.createElement("div"),a.className=b[d].className+" navreflected",a.style.marginLeft="0px",a.style.top=b[d].offsetTop+b[d].offsetHeight+"px",a.style.left=b[d].offsetLeft+"px",a.innerHTML=b[d].innerHTML,b[d].parentNode.insertBefore(a,b[d])}} function reflectContent(b){if(Browser()!="webkit"){b=document.getElementById(b);var a=document.createElement("div");a.className="contentreflected";a.style.width=b.offsetWidth+"px";a.style.top=b.parentNode.offsetHeight+"px";a.style.left="50%";if(document.defaultView)a.style.marginLeft=document.defaultView.getComputedStyle(b,"").marginLeft;else if(b.currentStyle.left)a.style.marginLeft=b.currentStyle.marginLeft;a.setAttribute("id","reflectedContent");b.parentNode.appendChild(a)}} function eraseReflectedContent(){if(document.getElementById("reflectedContent")){var b=document.getElementById("reflectedContent");b.parentNode.removeChild(b)}} function FlyIn(b,a){function d(){m>h?(e.style.fontSize=m+"px",q=p-e.offsetWidth/2+"px",e.style.marginLeft=q,e.style.opacity=n,e.style.filter="alpha(opacity="+Math.round(n*100)+")",n+=v*n*3,m-=w,setTimeout(d,x)):(e.style.opacity=k,e.style.filter="alpha(opacity="+Math.round(k*100)+")",e.style.fontSize=h+"px",e.style.marginLeft=g+"px")}function c(){m<y?(e.style.fontSize=m+"px",q=p-e.offsetWidth/2+"px",e.style.marginLeft=q,e.style.opacity=n,e.style.filter="alpha(opacity="+n*100+")",n-=n*0.75,m+=w,setTimeout(c, x)):(e.style.visibility="hidden",e.style.opacity="",e.style.fontSize="",e.style.marginLeft="",e.style.top="")}if(Browser()!="msie"){var e=document.getElementById(b),f=e.offsetWidth;if(document.defaultView)var g=parseInt(document.defaultView.getComputedStyle(e,"").marginLeft),h=parseInt(document.defaultView.getComputedStyle(e,"").fontSize),k=document.defaultView.getComputedStyle(e,"").opacity;else g=parseInt(e.currentStyle.marginLeft),h=parseInt(e.currentStyle.fontSize),k=1;var l,o=getCSSRule("#"+ b);o&&(l=parseInt(o.style.top));o=document.getElementById(b.split("FlyIn")[0]);e.style.top=l+o.offsetTop+"px";var p=g+f/2,m=50,w=Math.round((parseInt(m)-parseInt(h))/7),v=1/7,n,x=50,q;if(a=="in")e.style.visibility="visible",n=v/2,d();else if(a=="out"){timeinterval=70;var y=30;m=h;n=k;c()}}} function WipeReveal(b){function a(){d[0].offsetWidth<c?(d[0].style.width=g+"px",g+=f,setTimeout(a,e)):d[0].style.width=c+"px"}var d=myGetElementsByClassName(document.getElementById(b),b+"Wipe"),c=d[0].offsetWidth,e=30,f=c/30,g=f;d[0].style.width="0px";d[0].style.visibility="visible";a()} function bandNavigate(b){var a=document.getElementById(b),d=document.getElementById(b+"Link"),c=myGetElementsByClassName(a.parentNode,"bandContent");b=document.getElementById("Band");var e;document.getElementById("bandContentContainer").style.height=a.scrollHeight+"px";for(var f=0;f<c.length;f++)c[f].style.visibility="hidden",e=document.getElementById(c[f].id+"Link"),e.style.color="",e.style.textShadow="";a.style.visibility="visible";d.style.color="#8DF";d.style.textShadow="0px 0px 20px #AAF";if(b.isExpanded)b.style.height= b.parentNode.offsetHeight-b.borderPaddingHeight+"px",b.isExpanded=!1;a=a.scrollHeight+a.parentNode.offsetTop;a>b.parentNode.offsetHeight&&b.lastChild.id!="morelink"&&b.offsetHeight>=b.parentNode.offsetHeight&&addMoreLink("Band");a<=b.parentNode.offsetHeight&&b.lastChild.id=="morelink"&&removeMoreLink("Band")} function nextShow(){var b,a,d;d=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];(function(){var a=new Date,d=new Date,f=[],g;g=myGetElementsByClassName(document.getElementById("Shows"),"showDate");for(i=0;i<g.length;i++)if(f=g[i].innerHTML.split(/\./),d.setFullYear("20"+f[2],f[0]-1,f[1]),Math.round(a.getTime()/864E5)<=Math.round(d.getTime()/864E5)){b=document.getElementById("showlist").getElementsByTagName("tr")[i];break}})();b?(a=myGetElementsByClassName(b,"showDate")[0].innerHTML, myGetElementsByClassName(b,"showVenue"),myGetElementsByClassName(b,"showTime"),d=d[parseInt(a.split(/\./)[0],10)-1],a=a.split(/\./)[1],document.getElementById("NextShowDate").innerHTML=d+" "+a):document.getElementById("NextShowDate").innerHTML="TBA";setTimeout("Fade('NextShow','in');",1E3);setTimeout("Fade('NextShow','out');",16E3)} function Fade(b,a){function d(){f<=1?(e.style.opacity=f,e.style.filter="alpha(opacity="+Math.round(f*100)+")",f+=h,setTimeout(d,g)):(e.style.opacity=1,e.style.filter="alpha(opacity=100)")}function c(){f>=0?(e.style.opacity=f,e.style.filter="alpha(opacity="+Math.round(f*100)+")",f-=h/2,setTimeout(c,g)):(e.style.opacity=0,e.style.filter="alpha(opacity=0)")}var e=document.getElementById(b),f,g=20,h=0.05;a=="in"&&(f=0,d());a=="out"&&(f=1,c())}var halIsRunning=!1; function halColors(){function b(){mPlayer.currentSong.isPlaying?(j=p%c.length,r=(j+1)%c.length,s=c[j],t=e[j],u=f[j],z=g[j],A=h[j],B=k[j],w=(c[j]-c[r])/l[j],v=(e[j]-e[r])/l[j],n=(f[j]-f[r])/l[j],x=(g[j]-g[r])/l[j],q=(h[j]-h[r])/l[j],y=(k[j]-k[r])/l[j],p++,m=0,setTimeout(a,500)):halIsRunning=!1}function a(){s-=w;t-=v;u-=n;z-=x;A-=q;B-=y;C="background-image:-webkit-gradient(radial,50% 50%, 0, 50% 50%, 100,color-stop(0.00,rgba("+Math.round(z)+","+Math.round(A)+","+Math.round(B)+",1)),color-stop(0.15,rgba("+ Math.round(s)+","+Math.round(t)+","+Math.round(u)+",1)),color-stop(0.40,rgba("+Math.round(s)+","+Math.round(t)+","+Math.round(u)+",.5)),color-stop(1.00,rgba(0,0,0,0)));\tbackground-image:-moz-radial-gradient(center center 45deg,circle farthest-corner,rgba("+Math.round(z)+","+Math.round(A)+","+Math.round(B)+",1) 0px,rgba("+Math.round(s)+","+Math.round(t)+","+Math.round(u)+",1) 15px,rgba("+Math.round(s)+","+Math.round(t)+","+Math.round(u)+",.5) 40px,rgba(0,0,0,0) 100px);";d.setAttribute("style",C); m<l[j]?(m++,setTimeout(a,o)):b()}halIsRunning=!0;var d=document.getElementById("halGlow"),c=[],e=[],f=[],g=[],h=[],k=[];c[0]=110;e[0]=50;f[0]=170;g[0]=140;h[0]=90;k[0]=230;c[1]=62;e[1]=130;f[1]=120;g[1]=100;h[1]=185;k[1]=170;c[2]=25;e[2]=25;f[2]=150;g[2]=70;h[2]=55;k[2]=190;var l=[20,40,40],o=30,p=0,m=0,w,v,n,x,q,y,C,s,t,u,z,A,B,j,r;b()} function noAudioTag(){document.getElementById("songList").innerHTML='<center>Your browser does not support the HTML5 Audio tag.<br />It\'s time to <a href="http://www.wedontsupportie.com/page/browsers" target="_blank">get a better browser</a>.</center>'}var mPlayer; function musicPlayer(){var b;this.initialize=function(){this.songInfo=document.getElementById("songInfo");this.playButton=document.getElementById("APplayButton");this.playButton.addEventListener("click",this,!1);this.actualTime=document.getElementById("APtime");this.scrubOuter=document.getElementById("APscrubOuter");this.scrubMiddle=document.getElementById("APscrubInnerTrack");this.scrubInner=document.getElementById("APscrubInner");this.scrubOuter.addEventListener("mousedown",this,!1);document.addEventListener("mouseup", this,!1);this.scrubWidth=this.scrubMiddle.offsetWidth;document.addEventListener("keypress",this,!1);this.songDump=document.getElementById("songDump");this.library=document.getElementById("songList");var a=document.createElement("ul");this.library.appendChild(a);var d,c,e="even";b=this.songDump.childNodes;for(var f=0;f<b.length;f++)d=b[f],d.nodeName.toUpperCase()!="AUDIO"?(d.parentNode.removeChild(d),f--):(d.addEventListener("ended",this,!1),c=decodeURI(d.currentSrc),c=c.split("/"),c=c[c.length-1], c=c.split(/\.mp3|\.ogg/)[0].replace(/_/g," ").replace(/\.\b/g,"[").replace(/\b\./g,"]").split("-"),d.id=c[0].replace(/ /g,"_"),d.title=c[0],d.fullTrack=c.length>3,c=document.createElement("li"),c.className="songListing",c.id=d.id+"_songListing",e=="even"?(c.className+=" even",e="odd"):(c.className+=" odd",e="even"),c.innerHTML=d.title,c.style.cursor="pointer",d.fullTrack&&(c.innerHTML+=" (full track)"),d.title=="Destiny [live in the studio]"&&(c.innerHTML+=' <a href="http://www.nimbitmusic.com/Sika" target="_blank" class="buyLink" id="DestinyBuyLink">[buy]</a>'), c.addEventListener("click",this,!1),a.appendChild(c));this.songChange(b[0]);this.currentSong.isPlaying=!1};this.getOffset=function(){var a;if(document.defaultView)a=document.defaultView.getComputedStyle(this.scrubOuter,"").paddingLeft;else if(this.scrubOuter.currentStyle)a=this.scrubOuter.currentStyle.paddingLeft;return this.scrubOuter.getBoundingClientRect().left+parseInt(a)};this.handleEvent=function(a){switch(a.type){case "timeupdate":this.updateTime();break;case "click":a.currentTarget===this.playButton&& this.clickPlay();a.currentTarget.className.indexOf("songListing")>-1&&this.lookUpAndPlayTrack(a);break;case "mousedown":a.currentTarget===this.scrubOuter&&this.scrubStart(a);break;case "mousemove":this.scrubTracking(a);break;case "mouseup":this.scrubbing&&this.scrubStop(a);break;case "keypress":this.keyPress(a);break;case "ended":this.songEnd()}};this.clickPlay=function(){this.currentSong.isPlaying?this.pauseSong():this.playSong()};this.playSong=function(){this.currentSong.play();this.currentSong.isPlaying= !0;this.playButton.innerHTML="\u25ae\u25ae";this.highlight(this.currentSong);halIsRunning||halColors()};this.pauseSong=function(){this.currentSong.pause();this.currentSong.isPlaying=!1;this.playButton.innerHTML="\u25ba"};this.resetSong=function(){this.currentSong.currentTime=0;this.currentSong.removeEventListener("timeupdate",this,!1)};this.updateTime=function(){var a=Math.floor(this.currentSong.currentTime/60),b=Math.floor(this.currentSong.currentTime%60);b.toString().length<2&&(b="0"+b);this.actualTime.innerHTML= a+":"+b;a=this.scrubWidth*(this.currentSong.currentTime/this.currentSong.duration);if(!this.scrubbing)this.scrubInner.style.width=a+"px"};this.scrubStart=function(a){a.preventDefault();document.addEventListener("mousemove",this,!1);this.scrubbing=!0;this.scrubTracking(a)};this.scrubStop=function(a){document.removeEventListener("mousemove",this,!1);a=a.pageX-this.getOffset();a<0&&(a=0);if(a>this.scrubWidth)a=this.scrubWidth;this.scrubInner.style.width=a+"px";this.currentSong.currentTime=this.currentSong.duration* (a/this.scrubWidth);this.scrubbing=!1};this.scrubDrop=function(a){if(this.scrubbing&&a.relatedTarget.id!="scrubInner"&&a.relatedTarget.id!="scrubOuter")document.removeEventListener("mousemove",scrubTracking,!1),this.scrubbing=!1};this.scrubTracking=function(a){a=a.pageX-this.getOffset();a<0&&(a=0);if(a>this.scrubWidth)a=this.scrubWidth;this.scrubInner.style.width=a+"px"};this.keyPress=function(a){a.which==32&&document.getElementById("Contact").isDown&&document.getElementById("News").isDown&&this.clickPlay()}; this.songChange=function(a){this.currentSong&&(this.resetSong(),this.pauseSong());this.currentSong=a;this.currentSong.addEventListener("timeupdate",this,!1);this.actualTime.innerHTML="0:00"};this.lookUpAndPlayTrack=function(a){var b;if(!a)a=window.event;if(a.target)b=a.target;else if(a.srcElement)b=a.srcElement;if(b.nodeType==3)b=b.parentNode;b.className.indexOf("buyLink")<=-1&&(a=b.id.split("_songListing")[0],this.songChange(document.getElementById(a)),this.playSong())};this.songEnd=function(){for(var a= 0,d=0;d<b.length;d++)b[d]==this.currentSong&&(a=b[d+1]);a?(this.songChange(a),this.playSong()):this.songChange(b[0])};this.highlight=function(a){if(this.currentSong)for(var b=myGetElementsByClassName(document.getElementById("songList"),"songListing"),c=0;c<b.length;c++){var e=b[c].id.split("_songListing")[0].replace(/_/g," ");a.title==e?b[c].className+=" playing":b[c].className=b[c].className.replace(/\b\splaying\b/,"")}}}var vPlayer; function videoPlayer(){this.initialize=function(){this.library=document.getElementById("video");this.titleBar=document.getElementById("VPtitle");for(var b=document.getElementById("video"),a=document.getElementById("VPplaylist").getElementsByTagName("li"),d=[".mp4",".webm",".ogg"],c,e,f,g=0;g<a.length;g++){c=a[g].innerHTML.replace(/ /g,"_");a[g].addEventListener("click",this,!1);a[g].style.cursor="pointer";a[g].className="vidListing";a[g].id=c+"_link";e=document.createElement("video");e.id=c;e.setAttribute("controls", "controls");e.setAttribute("width","368");e.setAttribute("height","208");for(var h=0;h<d.length;h++)f=document.createElement("source"),f.setAttribute("src","Video/Tour2010/"+c+d[h]),e.appendChild(f);c=document.createElement("div");c.id="noVideo";c.innerHTML='<span>Your browser does not<br />support the HTML5 Video tag.<br />It\'s time to <a href="http://www.wedontsupportie.com/page/browsers" target="_blank">get a better browser</a>.</span>';e.appendChild(c);b.appendChild(e)}this.vidChange(b.getElementsByTagName("video")[0], !1)};this.handleEvent=function(b){switch(b.type){case "click":b.currentTarget.className.search(/\bvidListing\b/)==0&&this.lookUpAndPlayVid(b)}};this.lookUpAndPlayVid=function(b){var a;if(!b)b=window.event;if(b.target)a=b.target;else if(b.srcElement)a=b.srcElement;if(a.nodeType==3)a=a.parentNode;b=a.innerHTML.replace(/ /g,"_");this.vidChange(document.getElementById(b),!0)};this.vidChange=function(b,a){var d;if(this.currentVid)this.currentVid.currentTime=0,this.currentVid.pause(),this.currentVid.style.display= "none",d=document.getElementById(this.currentVid.id+"_link"),d.style.listStyleImage="none";this.currentVid=b;this.currentVid.style.display="block";this.titleBar.innerHTML=this.currentVid.id.replace(/_/g," ");d=document.getElementById(this.currentVid.id+"_link");d.style.listStyleImage="url('Images/PlayIcon.png')";a&&this.currentVid.play()}};
