'); var a = window.open('', '', 'width=700,height=960'); a.document.open("text/html"); a.document.write(html.join("")); a.document.close(); } }var tempo = 99.0,changedpage=0,lb,rb,sco,sco2,pb,pi,bg1,bg2,ic1,ic0,ic2,ic3,ic4,aic0,aic1,aic2,aic3,aic4,l1,l2,pdfadd,ss,styp,sic,pauseon=0,meton=0,speedval=1.0,currpage=1,currpagearryno=1,introbars=1; //no intro 5=4var introdelay=2000,iipage=1,no_pages=17;ss='/school/svg/';var images = new Array();var blankImage = new Image();blankImage.src ="/school/svg/blank3.svg"; var imageCache = {"": blankImage};window.onload = function(){ document.onkeyup = function(event){ var e = (!event) ? window.event : event; var kcode=e.keyCode evenwhen(kcode); };};window.onkeydown = function(event) { var e = (!event) ? window.event : event;var kcode=e.keyCode if (kcode==32){ var elem if (e.srcElement) elem = e.srcElement; else if (e.target) elem = e.target; if (elem.tagName.toLowerCase()=='input' || elem.tagName.toLowerCase()=='textarea') {} else{ if(lb==null){ initiatestuff();playmain(kcode); } else{ callpause2(); } return false; } }};var meton=0,everyplayed2=0,everyplayed=0,carryon=true,play_status=0,totdone,toty,score='bassoon/silent_night_fantasy_BN';function callpause2(){ var num_listened=readCookie('num_listened') if (num_listened=='undefined'||num_listened=='NaN'){num_listened=0;} if (num_listened>3){ overlay();return ; } else{ callpause();} }styp="main";var page_printed=0;var cp4p; const newPButton = document.querySelector(".icon_printer"); newPButton.addEventListener("click", async () => { if (!showTwoPages){var src=document.getElementById('score').src; printdiv(src,0);return;} if (page_printed==0){ cp4p=currpage; if (currpage<10){ cp4p='00'+cp4p; } else if(currpage<100){cp4p='0'+cp4p;} //var printstring=ss+score+cp4p+'.png'; alert('This will print the left hand page. Press print again to print the right hand page. \n\nTo print entire pieces in one go, and for higher quality printing from our PDF files, please subscribe.'); var src=document.getElementById('score').src; src = src.replace(/(\d{2})\.svg$/, '0$1.svg'); src = src.replace(/svg/g, 'png'); page_printed=1; printdiv(src,0); } else {page_printed=0; //var printstring=ss+score+cp4p+'.png'; alert('This will now print the right hand page. Press print again to print the left hand page, or for longer pieces, navigate to next pages and press print again.'); var src=document.getElementById('score2').src; src = src.replace(/(\d{2})\.svg$/, '0$1.svg'); src = src.replace(/svg/g, 'png'); printdiv(src,0) }});function convertToPdfUrl(url) { if (url.includes('/png/')) { url = url.replace('/png/', '/pdf/'); let lastPngIndex = url.lastIndexOf('.png'); if (lastPngIndex !== -1) { url = url.substring(0, lastPngIndex - 3) + url.substring(lastPngIndex); } url = url.replace('.png', '.pdf'); } else if (url.includes('/svg/')) { url = url.replace('/svg/', '/pdf/'); let lastSvgIndex = url.lastIndexOf('.svg'); if (lastSvgIndex !== -1) { url = url.substring(0, lastSvgIndex - 2) + url.substring(lastSvgIndex); } url = url.replace('.svg', '.pdf'); } return url;}function openPDF(){}function doprint() { var isSafari = window.safari !== undefined; if(lb==null){initiatestuff()} alert('N.B. This will print only the current page.\n\nIf this piece has more than one page, you will need to print each page individually. Navigate to other pages using the << and >> buttons.\n\nTo print entire pieces in one go, and for higher quality printing from our PDF files, please subscribe.') var ssrc=sco.src; var src=document.getElementById('score').src; printdiv(src,0)} class ConfirmDialog { constructor({ questionText, trueButtonText, falseButtonText, parent }) { this.questionText = questionText || "Are you sure?"; this.trueButtonText = trueButtonText || "Yes"; this.falseButtonText = falseButtonText || "No"; this.parent = parent || document.body; this.dialog = undefined; this.trueButton = undefined; this.falseButton = undefined; this._createDialog(); this._appendDialog(); } confirm() { return new Promise((resolve, reject) => { const somethingWentWrongUponCreation = !this.dialog || !this.trueButton || !this.falseButton; if (somethingWentWrongUponCreation) { reject('Someting went wrong when creating the modal'); return; } this.dialog.showModal(); this.trueButton.focus(); this.trueButton.addEventListener("click", () => { resolve(true); this._destroy(); }); this.falseButton.addEventListener("click", () => { resolve(false); this._destroy(); }); }); } _createDialog() { this.dialog = document.createElement("dialog"); this.dialog.classList.add("confirm-dialog"); const question = document.createElement("div"); question.textContent = this.questionText; question.classList.add("confirm-dialog-question"); this.dialog.appendChild(question); const buttonGroup = document.createElement("div"); buttonGroup.classList.add("confirm-dialog-button-group"); this.dialog.appendChild(buttonGroup); this.falseButton = document.createElement("button"); this.falseButton.classList.add( "confirm-dialog-button", "confirm-dialog-button--false" ); this.falseButton.type = "button"; this.falseButton.textContent = this.falseButtonText; buttonGroup.appendChild(this.falseButton); this.trueButton = document.createElement("button"); this.trueButton.classList.add( "confirm-dialog-button", "confirm-dialog-button--true" ); this.trueButton.type = "button"; this.trueButton.textContent = this.trueButtonText; buttonGroup.appendChild(this.trueButton); } _appendDialog() { this.parent.appendChild(this.dialog); } _destroy() { this.parent.removeChild(this.dialog); delete this; }} function getCachedImageFromMap (path, map) { let image = map[path]; if (image) return image; image = new Image(); image.src = path; map[path] = image; return image;} var scfile=ss+score+'01.svg'; var scfile2=ss+score+'02.svg'; function playalongacc(pltype) { if(ison0) { hideLoopGuide(); } if(lb==null){initiatestuff()} switch (pltype){ case 1: if (ison1==0&&document.getElementById('pausebefore').checked==true){ pauseamount=5;updatecountin(); pppa=pauseamount+1; } else{ pauseamount=0;pppa=0;stopplayalongreturntostandardview() } break; case 2: if (ison2==0&&document.getElementById('pausebefore').checked==true){ pauseamount=5;updatecountin(); pppa=pauseamount+1; } else{ pauseamount=0;pppa=0;stopplayalongreturntostandardview() } break; case 3: if (ison3==0&&document.getElementById('pausebefore').checked==true){ pauseamount=5;updatecountin(); pppa=pauseamount+1; } else{ pauseamount=0;pppa=0;stopplayalongreturntostandardview() } break; case 4: if (ison4==0&&document.getElementById('pausebefore').checked==true){ pauseamount=5;updatecountin(); pppa=pauseamount+1; } else{ pauseamount=0;pppa=0;stopplayalongreturntostandardview() } break; } stimer = window.setTimeout( "playalongacc2("+pltype+")", (pppa*1000)); checkIfShouldShowTwoPages(); }var baseUrl = '';function playalongacc2(pltype, keepPlayState, wasOn){ let wasStoped = pauseon || !wasOn; if(typeof bpp !== 'undefined' && typeof ppt !== 'undefined') { temp_IS_HIGHLIGHT_ON=IS_HIGHLIGHT_ON; } else{ temp_IS_HIGHLIGHT_ON=false;l1.style.visibility='hidden'; } var bon=0; stopplayalongreturntostandardview() if (ison1||ison2||ison3||ison4) { playalongstop() } else { if (!keepPlayState || !wasStoped) { startTimeframe(DESIRED_FPS); } l1.style.visibility='visible'; } var num_listened=readCookie('num_listened') if(num_listened=='undefined'||num_listened=='NaN'){num_listened=0;} if(everyplayed==0){num_listened=p(num_listened)+1;eraseCookie('num_listened');createCookie('num_listened',num_listened,1);everyplayed=1;} if(num_listened>3){overlay();return } var aisp=document.getElementById('aispacer'); switch (pltype){ case 1: if (ison1==0){ bon=1;ison1=1;ison2=0;ison3=0;ison4=0;ison0=0;ic1.src=sic;aud=document.getElementById('demo1'); pico.style.display='inline-block!important';ic2.style.display='none';aic0.style.display='none';aic2.style.display='none'; aisp.style.display='inline-flex';aisp.style.visibiliy='visible'; if(ic3){aic3.style.display='none';ic3.style.display='none';} if(ic4){aic4.style.display='none';ic4.style.display='none';} } break; case 2: if(ison2==0){bon=1;ison1=0;ison2=1;ison4=0;ison3=0;ison0=0;ic2.src=sic;aud=document.getElementById('demo2'); pico.style.display='inline-block!important';ic1.style.display='none';aic0.style.display='none';aic1.style.display='none';aisp.style.display='inline-flex';aisp.style.visibiliy='visible'; if(ic3){aic3.style.display='none';ic3.style.display='none';} if(ic4){aic4.style.display='none';ic4.style.display='none';} } break; case 3: if(ison3==0){bon=1;ison1=0;ison2=0;ison4=0;ison3=1;ison0=0;ic3.src=sic;aud=document.getElementById('demo3'); pico.style.display='inline-block!important';ic1.style.display='none';aic0.style.display='none';aic1.style.display='none';aisp.style.display='inline-flex';aisp.style.visibiliy='visible' aic2.style.display='none';ic2.style.display='none'; if(ic4){aic4.style.display='none';ic4.style.display='none';} } break; case 4: if(ison4==0){bon=1;ison1=0;ison2=0;ison3=0;ison4=1;ison0=0;ic4.src=sic;aud=document.getElementById('demo4'); pico.style.display='inline-block!important';ic1.style.display='none';aic0.style.display='none';aic1.style.display='none';aisp.style.display='inline-flex';aisp.style.visibiliy='visible' aic2.style.display='none';ic2.style.display='none'; if(ic3){aic3.style.display='none';ic3.style.display='none';} } break;} aud.addEventListener('timeframe',checkbartimeupdate); aud.addEventListener('timeframe',checktimeupdateparts); rb.classList.remove("pagenav_disabled"); aud.addEventListener('timeframe',function(){ if (aud.currentTime< 79) { if(currpage!=1&&changedpage==0){ currpage=1 lb.classList.remove("pagenav_disabled");rb.classList.remove("pagenav_disabled"); } if (currpage==max_playalong_page||showTwoPages&&(currpage+1 == max_playalong_page)){rb.classList.add("pagenav_disabled");} lb.classList.add("pagenav_disabled"); } },false); if (bon==1) { pb.style.display='flex';pico.style.display='inline-block';document.getElementById('metandtemp').style.visibility='visible'; aud.addEventListener('timeframe', updateProgress, false); aud.addEventListener('ended', audioend); updateplaybackrate(document.getElementById('speed').value) speedval=document.getElementById('speed').value aud.play();aud.currentTime = 0; baseUrl=ss+'bassoon/silent_night_fantasy_bn_bn'; switchScore("score", `${baseUrl}01.svg`); partopen=1; if(baseUrl==''){baseUrl=ss+score;} checkIfShouldShowTwoPages(); } else { pb.style.display='none';document.getElementById('metandtemp').style.visibiliy='hidden';pico.style.display='none'; ison1=0;ison2=0;ison3=0;ison4=0; } if(keepPlayState) { if (wasStoped) { pauseon=0; callpause(); setTimeout(() => { checkbartimeupdate(); updateProgress(); }, 100) } } } var no_part_pages=5;function stopplayalongreturntostandardview() {if(lb==null){initiatestuff()}l1.style.visibility = 'hidden';ic1.style.display='block';ic2.style.display='block';if(ic3){ic3.style.display='block';}if(ic4){ic4.style.display='block';}ic0.style.display='block';aic1.style.display='inline-block';aic2.style.display='inline-block';if(aic3){aic3.style.display='inline-block';}if(aic4){aic4.style.display='inline-block';}aic0.style.display='inline-block';aisp=document.getElementById('aispacer');aisp.style.display='none';aisp.style.visibility='hidden';pico.src='/imc/pause.png';document.getElementById('icon0').src = '/imc/play.png';document.getElementById('progress').style.width = "0%";ic1.src = '/imc/playalong.png';currpage=1;document.getElementById('demo0').pause();document.getElementById('demo1').pause(); if(ison1==1||ison2==1||ison3==1||ison4==1){ switchScore("score", `${baseUrl}01.svg`); partopen=1; }else{ switchScore('score', ss+score+'01.svg'); if(no_pages>1){ switchScore('score2',ss+score+'02.svg'); } } if (!ext_traditional){ lb.classList.add("pagenav_disabled"); if (no_pages>2||!showTwoPages&&no_pages>1){rb.classList.remove("pagenav_disabled");}}} function playalongstop() { resizeStage(); stop=true; l1.style.visibility = 'hidden'; sco.style.top='0'; document.getElementById('mainscore').style.height='100%'; document.getElementById('icon0').src = '/imc/play.png';ic1.src = '/imc/playalong.png'; document.getElementById('demo0').pause(); document.getElementById('demo1').pause();} function createCookie(name,value,days) {if (days) { var expires="",date=new Date(),midnight=new Date(date.getFullYear(),date.getMonth(),date.getDate(),23,59,59); expires = "; expires=" + midnight.toGMTString(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); }else var expires = "";document.cookie = name+"="+value+expires+"; path=/";var gtxt=''if(3-value>1){gtxt=(3-value)+' free plays';}else if (3-value==1){gtxt=(3-value)+' free play';}else if (3-value<1){gtxt='0 free plays';}else{gtxt='3 free plays';} var pleft=document.getElementById('playleft'); pleft.innerHTML=gtxt+' left today. Subscribe for unlimited plays.'; pleft.style.dispaly='block';pleft.style.visibility='visible';}var pt = []; pt[1] = { e:34, p:1 }; pt[2] = { e:66, p:2 }; pt[3] = { e:76, p:3 }; pt[4] = { e:86, p:4 }; pt[5] = { e:101, p:5 }; pt[6] = { e:126, p:6 }; pt[7] = { e:143, p:7 }; pt[8] = { e:160, p:8 }; pt[9] = { e:179, p:9 }; pt[10] = { e:217, p:10 }; pt[11] = { e:260, p:11 }; pt[12] = { e:305, p:12 }; pt[13] = { e:349, p:13 }; pt[14] = { e:368, p:14 }; pt[15] = { e:385, p:15 }; pt[16] = { e:406, p:16 }; pt[17] = { e:461, p:17 }; var ppt = []; ppt[1] = { e:79, p:1 };ppt[2] = { e:139, p:2 };ppt[3] = { e:186, p:3 };ppt[4] = { e:297, p:4 };ppt[5] = { e:461, p:5 }; var bt = []; bt[1]={e:30,b:1};bt[2]={e:65,b:2};bt[3]={e:100,b:3};bt[4]={e:130,b:4};bt[5]={e:160,b:5};bt[6]={e:190,b:6};bt[7]={e:220,b:7};bt[8]={e:248,b:8};bt[9]={e:268,b:9};bt[10]={e:284,b:10};bt[11]={e:298,b:11};bt[12]={e:313,b:12};bt[13]={e:343,b:13};bt[14]={e:373,b:14};bt[15]={e:403,b:15};bt[16]={e:423,b:16};bt[17]={e:453,b:17};bt[18]={e:483,b:18};bt[19]={e:513,b:19};bt[20]={e:543,b:20};bt[21]={e:573,b:21};bt[22]={e:603,b:22};bt[23]={e:633,b:23};bt[24]={e:664,b:24};bt[25]={e:699,b:25};bt[26]={e:734,b:26};bt[27]={e:764,b:27};bt[28]={e:794,b:28};bt[29]={e:834,b:29};bt[30]={e:859,b:30};bt[31]={e:889,b:31};bt[32]={e:919,b:32};bt[33]={e:949,b:33};bt[34]={e:979,b:34};bt[35]={e:1009,b:35};bt[36]={e:1039,b:36};bt[37]={e:1069,b:37};bt[38]={e:1099,b:38};bt[39]={e:1129,b:39};bt[40]={e:1159,b:40};bt[41]={e:1169,b:41};bt[42]={e:1179,b:42};bt[43]={e:1189,b:43};bt[44]={e:1199,b:44};bt[45]={e:1209,b:45};bt[46]={e:1219,b:46};bt[47]={e:1229,b:47};bt[48]={e:1239,b:48};bt[49]={e:1249,b:49};bt[50]={e:1259,b:50};bt[51]={e:1269,b:51};bt[52]={e:1279,b:52};bt[53]={e:1289,b:53};bt[54]={e:1299,b:54};bt[55]={e:1309,b:55};bt[56]={e:1319,b:56};bt[57]={e:1329,b:57};bt[58]={e:1339,b:58};bt[59]={e:1349,b:59};bt[60]={e:1359,b:60};bt[61]={e:1369,b:61};bt[62]={e:1379,b:62};bt[63]={e:1389,b:63};bt[64]={e:1399,b:64};bt[65]={e:1409,b:65};bt[66]={e:1419,b:66};bt[67]={e:1429,b:67};bt[68]={e:1439,b:68};bt[69]={e:1449,b:69};bt[70]={e:1459,b:70};bt[71]={e:1469,b:71};bt[72]={e:1479,b:72};bt[73]={e:1489,b:73};bt[74]={e:1499,b:74};bt[75]={e:1509,b:75};bt[76]={e:1519,b:76};bt[77]={e:1529,b:77};bt[78]={e:1539,b:78};bt[79]={e:1549,b:79};bt[80]={e:1559,b:80};bt[81]={e:1569,b:81};bt[82]={e:1579,b:82};bt[83]={e:1589,b:83};bt[84]={e:1599,b:84};bt[85]={e:1609,b:85};bt[86]={e:1619,b:86};bt[87]={e:1629,b:87};bt[88]={e:1639,b:88};bt[89]={e:1649,b:89};bt[90]={e:1659,b:90};bt[91]={e:1669,b:91};bt[92]={e:1679,b:92};bt[93]={e:1689,b:93};bt[94]={e:1699,b:94};bt[95]={e:1709,b:95};bt[96]={e:1719,b:96};bt[97]={e:1729,b:97};bt[98]={e:1739,b:98};bt[99]={e:1749,b:99};bt[100]={e:1759,b:100};bt[101]={e:1769,b:101};bt[102]={e:1779,b:102};bt[103]={e:1789,b:103};bt[104]={e:1799,b:104};bt[105]={e:1809,b:105};bt[106]={e:1819,b:106};bt[107]={e:1829,b:107};bt[108]={e:1839,b:108};bt[109]={e:1849,b:109};bt[110]={e:1859,b:110};bt[111]={e:1869,b:111};bt[112]={e:1880,b:112};bt[113]={e:1897,b:113};bt[114]={e:1915,b:114};bt[115]={e:1928,b:115};bt[116]={e:1943,b:116};bt[117]={e:1958,b:117};bt[118]={e:1985,b:118};bt[119]={e:2011,b:119};bt[120]={e:2037,b:120};bt[121]={e:2063,b:121};bt[122]={e:2089,b:122};bt[123]={e:2115,b:123};bt[124]={e:2141,b:124};bt[125]={e:2171,b:125};bt[126]={e:2198,b:126};bt[127]={e:2224,b:127};bt[128]={e:2254,b:128};bt[129]={e:2280,b:129};bt[130]={e:2306,b:130};bt[131]={e:2339,b:131};bt[132]={e:2365,b:132};bt[133]={e:2391,b:133};bt[134]={e:2417,b:134};bt[135]={e:2443,b:135};bt[136]={e:2469,b:136};bt[137]={e:2495,b:137};bt[138]={e:2521,b:138};bt[139]={e:2548,b:139};bt[140]={e:2574,b:140};bt[141]={e:2600,b:141};bt[142]={e:2626,b:142};bt[143]={e:2652,b:143};bt[144]={e:2678,b:144};bt[145]={e:2704,b:145};bt[146]={e:2730,b:146};bt[147]={e:2756,b:147};bt[148]={e:2782,b:148};bt[149]={e:2808,b:149};bt[150]={e:2835,b:150};bt[151]={e:2861,b:151};bt[152]={e:2890,b:152};bt[153]={e:2916,b:153};bt[154]={e:2943,b:154};bt[155]={e:2969,b:155};bt[156]={e:2995,b:156};bt[157]={e:3021,b:157};bt[158]={e:3047,b:158};bt[159]={e:3073,b:159};bt[160]={e:3099,b:160};bt[161]={e:3127,b:161};bt[162]={e:3180,b:162};bt[163]={e:3206,b:163};bt[164]={e:3232,b:164};bt[165]={e:3258,b:165};bt[166]={e:3284,b:166};bt[167]={e:3310,b:167};bt[168]={e:3337,b:168};bt[169]={e:3363,b:169};bt[170]={e:3389,b:170};bt[171]={e:3415,b:171};bt[172]={e:3441,b:172};bt[173]={e:3467,b:173};bt[174]={e:3493,b:174};bt[175]={e:3519,b:175};bt[176]={e:3545,b:176};bt[177]={e:3571,b:177};bt[178]={e:3597,b:178};bt[179]={e:3624,b:179};bt[180]={e:3651,b:180};bt[181]={e:3677,b:181};bt[182]={e:3722,b:182};bt[183]={e:3748,b:183};bt[184]={e:3775,b:184};bt[185]={e:3801,b:185};bt[186]={e:3827,b:186};bt[187]={e:3853,b:187};bt[188]={e:3879,b:188};bt[189]={e:3918,b:189};bt[190]={e:3930,b:190};bt[191]={e:3956,b:191};bt[192]={e:3982,b:192};bt[193]={e:4008,b:193};bt[194]={e:4034,b:194};bt[195]={e:4060,b:195};bt[196]={e:4086,b:196};bt[197]={e:4112,b:197};bt[198]={e:4138,b:198};bt[199]={e:4164,b:199};bt[200]={e:4191,b:200};bt[201]={e:4221,b:201};bt[202]={e:4247,b:202};bt[203]={e:4273,b:203};bt[204]={e:4299,b:204};bt[205]={e:4325,b:205};bt[206]={e:4352,b:206};bt[207]={e:4378,b:207};bt[208]={e:4404,b:208};bt[209]={e:4430,b:209};bt[210]={e:4456,b:210};bt[211]={e:4482,b:211};bt[212]={e:4508,b:212};bt[213]={e:4534,b:213};bt[214]={e:4560,b:214};bt[215]={e:4586,b:215};bt[216]={e:4612,b:216}; var bp = []; bp[1]={t:135,l:93,w:140,h:138 };bp[2]={t:135,l:234,w:120,h:138 };bp[3]={t:135,l:354,w:74,h:138 };bp[4]={t:135,l:428,w:182,h:138 };bp[5]={t:372,l:50,w:109,h:144 };bp[6]={t:372,l:159,w:114,h:144 };bp[7]={t:372,l:273,w:80,h:144 };bp[8]={t:372,l:353,w:128,h:144 };bp[9]={t:372,l:482,w:128,h:144 };bp[10]={t:615,l:50,w:169,h:151 };bp[11]={t:615,l:219,w:140,h:151 };bp[12]={t:615,l:359,w:141,h:151 };bp[13]={t:615,l:500,w:110,h:151 };bp[14]={t:89,l:51,w:209,h:142 };bp[15]={t:89,l:260,w:187,h:142 };bp[16]={t:89,l:447,w:153,h:142 };bp[17]={t:338,l:51,w:211,h:168 };bp[18]={t:338,l:262,w:169,h:168 };bp[19]={t:338,l:431,w:178,h:168 };bp[20]={t:614,l:51,w:167,h:152 };bp[21]={t:614,l:218,w:81,h:152 };bp[22]={t:614,l:299,w:73,h:152 };bp[23]={t:614,l:373,w:110,h:152 };bp[24]={t:614,l:483,w:126,h:152 };bp[25]={t:89,l:50,w:560,h:154 };bp[26]={t:341,l:50,w:560,h:168 };bp[27]={t:607,l:50,w:560,h:159 };bp[28]={t:89,l:51,w:549,h:170 };bp[29]={t:350,l:51,w:549,h:161 };bp[30]={t:600,l:51,w:549,h:166 };bp[31]={t:89,l:50,w:560,h:179 };bp[32]={t:329,l:50,w:397,h:221 };bp[33]={t:329,l:447,w:164,h:221 };bp[34]={t:631,l:50,w:309,h:135 };bp[35]={t:631,l:359,w:251,h:135 };bp[36]={t:89,l:51,w:217,h:153 };bp[37]={t:89,l:268,w:130,h:153 };bp[38]={t:89,l:398,w:107,h:153 };bp[39]={t:89,l:505,w:104,h:153 };bp[40]={t:354,l:51,w:221,h:164 };bp[41]={t:354,l:272,w:85,h:164 };bp[42]={t:354,l:357,w:84,h:164 };bp[43]={t:354,l:441,w:84,h:164 };bp[44]={t:354,l:525,w:84,h:164 };bp[45]={t:630,l:51,w:122,h:136 };bp[46]={t:630,l:173,w:93,h:136 };bp[47]={t:630,l:265,w:91,h:136 };bp[48]={t:630,l:356,w:91,h:136 };bp[49]={t:630,l:447,w:96,h:136 };bp[50]={t:630,l:543,w:66,h:136 };bp[51]={t:89,l:50,w:113,h:142 };bp[52]={t:89,l:163,w:84,h:142 };bp[53]={t:89,l:247,w:90,h:142 };bp[54]={t:89,l:337,w:85,h:142 };bp[55]={t:89,l:421,w:91,h:142 };bp[56]={t:89,l:512,w:98,h:142 };bp[57]={t:347,l:50,w:142,h:150 };bp[58]={t:347,l:192,w:127,h:150 };bp[59]={t:347,l:319,w:95,h:150 };bp[60]={t:347,l:414,w:65,h:150 };bp[61]={t:347,l:479,w:65,h:150 };bp[62]={t:347,l:545,w:65,h:150 };bp[63]={t:612,l:50,w:95,h:154 };bp[64]={t:612,l:145,w:112,h:154 };bp[65]={t:612,l:257,w:120,h:154 };bp[66]={t:612,l:378,w:121,h:154 };bp[67]={t:612,l:498,w:112,h:154 };bp[68]={t:89,l:51,w:137,h:141 };bp[69]={t:89,l:188,w:110,h:141 };bp[70]={t:89,l:299,w:100,h:141 };bp[71]={t:89,l:399,w:109,h:141 };bp[72]={t:89,l:508,w:101,h:141 };bp[73]={t:344,l:51,w:102,h:157 };bp[74]={t:344,l:153,w:103,h:157 };bp[75]={t:344,l:256,w:74,h:157 };bp[76]={t:344,l:330,w:60,h:157 };bp[77]={t:344,l:390,w:59,h:157 };bp[78]={t:344,l:449,w:59,h:157 };bp[79]={t:344,l:509,w:100,h:157 };bp[80]={t:614,l:51,w:134,h:152 };bp[81]={t:614,l:185,w:106,h:152 };bp[82]={t:614,l:291,w:100,h:152 };bp[83]={t:614,l:391,w:106,h:152 };bp[84]={t:614,l:497,w:113,h:152 };bp[85]={t:89,l:50,w:137,h:141 };bp[86]={t:89,l:187,w:117,h:141 };bp[87]={t:89,l:305,w:117,h:141 };bp[88]={t:89,l:422,w:79,h:141 };bp[89]={t:89,l:501,w:109,h:141 };bp[90]={t:351,l:50,w:110,h:152 };bp[91]={t:351,l:160,w:66,h:152 };bp[92]={t:351,l:227,w:66,h:152 };bp[93]={t:351,l:293,w:66,h:152 };bp[94]={t:351,l:359,w:66,h:152 };bp[95]={t:351,l:425,w:93,h:152 };bp[96]={t:351,l:518,w:92,h:152 };bp[97]={t:622,l:50,w:131,h:144 };bp[98]={t:622,l:181,w:102,h:144 };bp[99]={t:622,l:283,w:63,h:144 };bp[100]={t:622,l:345,w:63,h:144 };bp[101]={t:622,l:408,w:63,h:144 };bp[102]={t:622,l:471,w:75,h:144 };bp[103]={t:622,l:547,w:64,h:144 };bp[104]={t:89,l:51,w:82,h:142 };bp[105]={t:89,l:133,w:53,h:142 };bp[106]={t:89,l:186,w:81,h:142 };bp[107]={t:89,l:267,w:72,h:142 };bp[108]={t:89,l:339,w:91,h:142 };bp[109]={t:89,l:430,w:91,h:142 };bp[110]={t:89,l:521,w:88,h:142 };bp[111]={t:356,l:51,w:117,h:144 };bp[112]={t:356,l:168,w:47,h:144 };bp[113]={t:356,l:215,w:137,h:144 };bp[114]={t:356,l:353,w:126,h:144 };bp[115]={t:356,l:478,w:85,h:144 };bp[116]={t:356,l:563,w:46,h:144 };bp[117]={t:626,l:51,w:72,h:140 };bp[118]={t:626,l:123,w:49,h:140 };bp[119]={t:626,l:172,w:41,h:140 };bp[120]={t:626,l:213,w:41,h:140 };bp[121]={t:626,l:254,w:41,h:140 };bp[122]={t:626,l:295,w:40,h:140 };bp[123]={t:626,l:335,w:105,h:140 };bp[124]={t:626,l:440,w:105,h:140 };bp[125]={t:626,l:544,w:65,h:140 };bp[126]={t:89,l:50,w:113,h:135 };bp[127]={t:89,l:163,w:84,h:135 };bp[128]={t:89,l:247,w:84,h:135 };bp[129]={t:89,l:331,w:119,h:135 };bp[130]={t:89,l:449,w:81,h:135 };bp[131]={t:89,l:531,w:79,h:135 };bp[132]={t:354,l:50,w:80,h:142 };bp[133]={t:354,l:130,w:166,h:142 };bp[134]={t:354,l:296,w:132,h:142 };bp[135]={t:354,l:428,w:91,h:142 };bp[136]={t:354,l:518,w:92,h:142 };bp[137]={t:626,l:50,w:147,h:141 };bp[138]={t:626,l:197,w:63,h:141 };bp[139]={t:626,l:260,w:63,h:141 };bp[140]={t:626,l:323,w:160,h:141 };bp[141]={t:626,l:483,w:127,h:141 };bp[142]={t:89,l:51,w:128,h:128 };bp[143]={t:89,l:179,w:105,h:128 };bp[144]={t:89,l:283,w:127,h:128 };bp[145]={t:89,l:410,w:114,h:128 };bp[146]={t:89,l:524,w:85,h:128 };bp[147]={t:270,l:51,w:163,h:132 };bp[148]={t:270,l:214,w:131,h:132 };bp[149]={t:270,l:345,w:134,h:132 };bp[150]={t:270,l:478,w:131,h:132 };bp[151]={t:456,l:51,w:174,h:127 };bp[152]={t:456,l:225,w:146,h:127 };bp[153]={t:456,l:371,w:121,h:127 };bp[154]={t:456,l:492,w:117,h:127 };bp[155]={t:637,l:51,w:162,h:129 };bp[156]={t:637,l:213,w:134,h:129 };bp[157]={t:637,l:347,w:132,h:129 };bp[158]={t:637,l:479,w:130,h:129 };bp[159]={t:89,l:50,w:202,h:135 };bp[160]={t:89,l:252,w:174,h:135 };bp[161]={t:89,l:426,w:174,h:135 };bp[162]={t:356,l:50,w:206,h:140 };bp[163]={t:356,l:256,w:75,h:140 };bp[164]={t:356,l:331,w:43,h:140 };bp[165]={t:356,l:374,w:67,h:140 };bp[166]={t:356,l:441,w:47,h:140 };bp[167]={t:356,l:488,w:61,h:140 };bp[168]={t:356,l:549,w:61,h:140 };bp[169]={t:628,l:50,w:92,h:138 };bp[170]={t:628,l:142,w:59,h:138 };bp[171]={t:628,l:201,w:97,h:138 };bp[172]={t:628,l:298,w:105,h:138 };bp[173]={t:628,l:403,w:98,h:138 };bp[174]={t:628,l:501,w:109,h:138 };bp[175]={t:89,l:51,w:112,h:176 };bp[176]={t:89,l:163,w:130,h:176 };bp[177]={t:89,l:293,w:109,h:176 };bp[178]={t:89,l:402,w:106,h:176 };bp[179]={t:89,l:507,w:102,h:176 };bp[180]={t:583,l:51,w:212,h:184 };bp[181]={t:583,l:263,w:337,h:184 };bp[182]={t:89,l:50,w:317,h:190 };bp[183]={t:89,l:367,w:126,h:190 };bp[184]={t:89,l:494,w:116,h:190 };bp[185]={t:585,l:50,w:161,h:181 };bp[186]={t:585,l:211,w:132,h:181 };bp[187]={t:585,l:343,w:267,h:181 };bp[188]={t:89,l:51,w:257,h:213 };bp[189]={t:89,l:308,w:240,h:213 };bp[190]={t:89,l:548,w:52,h:213 };bp[191]={t:590,l:51,w:143,h:176 };bp[192]={t:590,l:194,w:103,h:176 };bp[193]={t:590,l:298,w:91,h:176 };bp[194]={t:590,l:388,w:57,h:176 };bp[195]={t:590,l:445,w:164,h:176 };bp[196]={t:89,l:50,w:162,h:172 };bp[197]={t:89,l:212,w:140,h:172 };bp[198]={t:89,l:352,w:140,h:172 };bp[199]={t:89,l:492,w:118,h:172 };bp[200]={t:362,l:50,w:141,h:147 };bp[201]={t:362,l:191,w:110,h:147 };bp[202]={t:362,l:301,w:51,h:147 };bp[203]={t:362,l:352,w:53,h:147 };bp[204]={t:362,l:405,w:51,h:147 };bp[205]={t:362,l:456,w:54,h:147 };bp[206]={t:362,l:510,w:64,h:147 };bp[207]={t:362,l:574,w:36,h:147 };bp[208]={t:611,l:50,w:140,h:156 };bp[209]={t:611,l:190,w:157,h:156 };bp[210]={t:611,l:346,w:34,h:156 };bp[211]={t:611,l:380,w:33,h:156 };bp[212]={t:611,l:413,w:32,h:156 };bp[213]={t:611,l:445,w:33,h:156 };bp[214]={t:611,l:478,w:57,h:156 };bp[215]={t:611,l:535,w:37,h:156 };bp[216]={t:611,l:572,w:34,h:156 }; var bpp = []; bpp[1]={t:154,l:57,w:148,h:21 };bpp[2]={t:154,l:205,w:126,h:21 };bpp[3]={t:154,l:331,w:85,h:21 };bpp[4]={t:154,l:416,w:187,h:21 };bpp[5]={t:228,l:57,w:130,h:20 };bpp[6]={t:228,l:187,w:147,h:20 };bpp[7]={t:228,l:335,w:101,h:20 };bpp[8]={t:228,l:436,w:167,h:20 };bpp[9]={t:302,l:57,w:201,h:21 };bpp[10]={t:302,l:258,w:172,h:21 };bpp[11]={t:302,l:431,w:172,h:21 };bpp[12]={t:388,l:57,w:191,h:20 };bpp[13]={t:388,l:248,w:70,h:20 };bpp[14]={t:388,l:318,w:134,h:20 };bpp[15]={t:388,l:452,w:141,h:20 };bpp[16]={t:462,l:57,w:183,h:21 };bpp[17]={t:462,l:240,w:130,h:21 };bpp[18]={t:462,l:369,w:234,h:21 };bpp[19]={t:536,l:57,w:225,h:21 };bpp[20]={t:536,l:282,w:152,h:21 };bpp[21]={t:536,l:434,w:88,h:21 };bpp[22]={t:536,l:522,w:81,h:21 };bpp[23]={t:610,l:57,w:194,h:20 };bpp[24]={t:610,l:251,w:176,h:20 };bpp[25]={t:610,l:427,w:176,h:20 };bpp[26]={t:684,l:57,w:230,h:21 };bpp[27]={t:684,l:287,w:316,h:21 };bpp[28]={t:757,l:57,w:537,h:21 };bpp[29]={t:108,l:57,w:318,h:20 };bpp[30]={t:108,l:375,w:219,h:20 };bpp[31]={t:189,l:57,w:546,h:20 };bpp[32]={t:270,l:57,w:546,h:20 };bpp[33]={t:351,l:57,w:135,h:21 };bpp[34]={t:351,l:192,w:223,h:21 };bpp[35]={t:351,l:414,w:189,h:21 };bpp[36]={t:433,l:57,w:232,h:20 };bpp[37]={t:433,l:289,w:148,h:20 };bpp[38]={t:433,l:437,w:51,h:20 };bpp[39]={t:433,l:487,w:116,h:20 };bpp[40]={t:514,l:57,w:238,h:20 };bpp[41]={t:514,l:295,w:94,h:20 };bpp[42]={t:514,l:390,w:94,h:20 };bpp[43]={t:514,l:484,w:50,h:20 };bpp[44]={t:514,l:534,w:69,h:20 };bpp[45]={t:595,l:57,w:131,h:20 };bpp[46]={t:595,l:188,w:102,h:20 };bpp[47]={t:595,l:290,w:55,h:20 };bpp[48]={t:595,l:345,w:102,h:20 };bpp[49]={t:595,l:447,w:102,h:20 };bpp[50]={t:595,l:548,w:55,h:20 };bpp[51]={t:676,l:57,w:143,h:21 };bpp[52]={t:676,l:200,w:114,h:21 };bpp[53]={t:676,l:314,w:84,h:21 };bpp[54]={t:676,l:397,w:84,h:21 };bpp[55]={t:676,l:481,w:122,h:21 };bpp[56]={t:757,l:57,w:132,h:21 };bpp[57]={t:757,l:189,w:71,h:21 };bpp[58]={t:757,l:260,w:103,h:21 };bpp[59]={t:757,l:363,w:103,h:21 };bpp[60]={t:757,l:467,w:50,h:21 };bpp[61]={t:757,l:517,w:86,h:21 };bpp[62]={t:108,l:57,w:138,h:20 };bpp[63]={t:108,l:195,w:94,h:20 };bpp[64]={t:108,l:290,w:95,h:20 };bpp[65]={t:108,l:385,w:109,h:20 };bpp[66]={t:108,l:494,w:109,h:20 };bpp[67]={t:201,l:57,w:163,h:21 };bpp[68]={t:201,l:220,w:134,h:21 };bpp[69]={t:201,l:353,w:116,h:21 };bpp[70]={t:201,l:469,w:134,h:21 };bpp[71]={t:293,l:57,w:147,h:21 };bpp[72]={t:293,l:203,w:163,h:21 };bpp[73]={t:293,l:366,w:118,h:21 };bpp[74]={t:293,l:484,w:119,h:21 };bpp[75]={t:386,l:57,w:138,h:20 };bpp[76]={t:386,l:195,w:94,h:20 };bpp[77]={t:386,l:290,w:95,h:20 };bpp[78]={t:386,l:385,w:109,h:20 };bpp[79]={t:386,l:494,w:109,h:20 };bpp[80]={t:479,l:57,w:163,h:21 };bpp[81]={t:479,l:220,w:134,h:21 };bpp[82]={t:479,l:353,w:116,h:21 };bpp[83]={t:479,l:469,w:134,h:21 };bpp[84]={t:572,l:57,w:144,h:20 };bpp[85]={t:572,l:201,w:159,h:20 };bpp[86]={t:572,l:360,w:115,h:20 };bpp[87]={t:572,l:474,w:129,h:20 };bpp[88]={t:665,l:57,w:86,h:21 };bpp[89]={t:665,l:143,w:58,h:21 };bpp[90]={t:665,l:201,w:115,h:21 };bpp[91]={t:665,l:316,w:115,h:21 };bpp[92]={t:665,l:431,w:57,h:21 };bpp[93]={t:665,l:488,w:58,h:21 };bpp[94]={t:665,l:546,w:57,h:21 };bpp[95]={t:757,l:57,w:84,h:21 };bpp[96]={t:757,l:141,w:55,h:21 };bpp[97]={t:757,l:196,w:55,h:21 };bpp[98]={t:757,l:251,w:55,h:21 };bpp[99]={t:757,l:306,w:81,h:21 };bpp[100]={t:757,l:387,w:55,h:21 };bpp[101]={t:757,l:442,w:55,h:21 };bpp[102]={t:757,l:497,w:106,h:21 };bpp[103]={t:108,l:57,w:150,h:20 };bpp[104]={t:108,l:207,w:62,h:20 };bpp[105]={t:108,l:269,w:179,h:20 };bpp[106]={t:108,l:448,w:89,h:20 };bpp[107]={t:108,l:537,w:66,h:20 };bpp[108]={t:189,l:57,w:110,h:20 };bpp[109]={t:189,l:167,w:157,h:20 };bpp[110]={t:189,l:324,w:106,h:20 };bpp[111]={t:189,l:430,w:105,h:20 };bpp[112]={t:189,l:535,w:68,h:20 };bpp[113]={t:270,l:57,w:150,h:20 };bpp[114]={t:270,l:207,w:122,h:20 };bpp[115]={t:270,l:329,w:121,h:20 };bpp[116]={t:270,l:449,w:154,h:20 };bpp[117]={t:351,l:57,w:149,h:21 };bpp[118]={t:351,l:206,w:120,h:21 };bpp[119]={t:351,l:326,w:66,h:21 };bpp[120]={t:351,l:392,w:211,h:21 };bpp[121]={t:433,l:57,w:159,h:20 };bpp[122]={t:433,l:216,w:86,h:20 };bpp[123]={t:433,l:302,w:87,h:20 };bpp[124]={t:433,l:388,w:117,h:20 };bpp[125]={t:433,l:506,w:49,h:20 };bpp[126]={t:433,l:555,w:49,h:20 };bpp[127]={t:514,l:57,w:205,h:20 };bpp[128]={t:514,l:262,w:140,h:20 };bpp[129]={t:514,l:402,w:99,h:20 };bpp[130]={t:514,l:501,w:102,h:20 };bpp[131]={t:595,l:57,w:133,h:20 };bpp[132]={t:595,l:190,w:82,h:20 };bpp[133]={t:595,l:272,w:59,h:20 };bpp[134]={t:595,l:331,w:137,h:20 };bpp[135]={t:595,l:468,w:135,h:20 };bpp[136]={t:676,l:57,w:201,h:21 };bpp[137]={t:676,l:258,w:172,h:21 };bpp[138]={t:676,l:430,w:173,h:21 };bpp[139]={t:757,l:57,w:197,h:21 };bpp[140]={t:757,l:254,w:138,h:21 };bpp[141]={t:757,l:392,w:138,h:21 };bpp[142]={t:757,l:531,w:72,h:21 };bpp[143]={t:108,l:57,w:93,h:20 };bpp[144]={t:108,l:150,w:85,h:20 };bpp[145]={t:108,l:235,w:78,h:20 };bpp[146]={t:108,l:313,w:78,h:20 };bpp[147]={t:108,l:390,w:60,h:20 };bpp[148]={t:108,l:450,w:64,h:20 };bpp[149]={t:108,l:514,w:80,h:20 };bpp[150]={t:201,l:57,w:152,h:21 };bpp[151]={t:201,l:209,w:77,h:21 };bpp[152]={t:201,l:286,w:53,h:21 };bpp[153]={t:201,l:340,w:78,h:21 };bpp[154]={t:201,l:418,w:77,h:21 };bpp[155]={t:201,l:495,w:53,h:21 };bpp[156]={t:201,l:548,w:55,h:21 };bpp[157]={t:293,l:57,w:147,h:21 };bpp[158]={t:293,l:204,w:90,h:21 };bpp[159]={t:293,l:294,w:118,h:21 };bpp[160]={t:293,l:413,w:90,h:21 };bpp[161]={t:293,l:503,w:100,h:21 };bpp[162]={t:386,l:57,w:96,h:20 };bpp[163]={t:386,l:153,w:105,h:20 };bpp[164]={t:386,l:258,w:107,h:20 };bpp[165]={t:386,l:365,w:98,h:20 };bpp[166]={t:386,l:463,w:67,h:20 };bpp[167]={t:386,l:531,w:72,h:20 };bpp[168]={t:479,l:57,w:88,h:21 };bpp[169]={t:479,l:145,w:60,h:21 };bpp[170]={t:479,l:205,w:59,h:21 };bpp[171]={t:479,l:265,w:34,h:21 };bpp[172]={t:479,l:299,w:95,h:21 };bpp[173]={t:479,l:394,w:87,h:21 };bpp[174]={t:479,l:480,w:60,h:21 };bpp[175]={t:479,l:540,w:63,h:21 };bpp[176]={t:572,l:57,w:107,h:20 };bpp[177]={t:572,l:164,w:85,h:20 };bpp[178]={t:572,l:249,w:60,h:20 };bpp[179]={t:572,l:309,w:60,h:20 };bpp[180]={t:572,l:369,w:63,h:20 };bpp[181]={t:572,l:432,w:86,h:20 };bpp[182]={t:572,l:518,w:85,h:20 };bpp[183]={t:665,l:57,w:94,h:21 };bpp[184]={t:665,l:151,w:65,h:21 };bpp[185]={t:665,l:215,w:65,h:21 };bpp[186]={t:665,l:280,w:64,h:21 };bpp[187]={t:665,l:344,w:65,h:21 };bpp[188]={t:665,l:409,w:65,h:21 };bpp[189]={t:665,l:474,w:65,h:21 };bpp[190]={t:665,l:538,w:65,h:21 };bpp[191]={t:757,l:57,w:102,h:21 };bpp[192]={t:757,l:159,w:73,h:21 };bpp[193]={t:757,l:231,w:73,h:21 };bpp[194]={t:757,l:304,w:73,h:21 };bpp[195]={t:757,l:377,w:73,h:21 };bpp[196]={t:757,l:450,w:73,h:21 };bpp[197]={t:757,l:523,w:76,h:21 }; var delaytime=parseInt(bt[1].e)*2;var pageBeforeChanging;function changepage1(e) { console.log(currpage) let base; let playTimes; let maxPages; let playingpart; let readytogo; document.getElementById('layer1').style.visibility = 'hidden'; if (lb == null) { initiatestuff(); } if (ison1 ||ison2 ||ison3||ison4) { if(typeof bpp !== 'undefined' && typeof ppt !== 'undefined') { playTimes = ppt; } else { playTimes = pt; } base = baseUrl; maxPages = max_playalong_page; playingpart=true; } else { playingpart=false; playTimes = pt; base = ss+score; maxPages = no_pages; } let mult = showTwoPages ? 2 : 1; if (changedpage==0) { pageBeforeChanging = currpage; changedpage = 1; manual_scroll=1; } if (carryon == 1 && e == 'r' && currpage + mult <= maxPages ) { currpage += mult; var cp; cp = formatPageNumber(currpage,playingpart); if (!playingpart&&curtransp!=0) { switchScore("score", thissc+'_'+curtranspdir+curtransp+cp+'.gif'); } else { switchScore("score", base+cp+'.svg');} if (showTwoPages) { if (currpage + 1 <= maxPages ) { var currpageplus1 = currpage+1; cp2 = formatPageNumber(currpageplus1,playingpart); if (!playingpart&&curtransp!=0){ switchScore("score2", thissc+'_'+curtranspdir+curtransp+cp2+'.gif'); } else { switchScore("score2", base+cp2+'.svg'); } } else { switchScore("score2", ''); score2.style.width='11542px'; } } lb.classList.remove("pagenav_disabled") if (currpage >= maxPages ||(showTwoPages&&currpage+1 >= maxPages)) { rb.classList.add("pagenav_disabled") } } else if ('l' == e && currpage > 1 * mult) { currpage -= mult; var cp; cp = formatPageNumber(currpage,playingpart); if (!playingpart&&curtransp!=0) { switchScore("score", thissc+'_'+curtranspdir+curtransp+cp+'.gif'); } else { switchScore("score", base+cp+'.svg'); } if (showTwoPages) { if (currpage + 1 <= maxPages) { var currpageplus1 = currpage+1; cp2 = formatPageNumber(currpageplus1,playingpart); if (!playingpart&&curtransp!=0) { switchScore("score2", thissc+'_'+curtranspdir+curtransp+cp2+'.gif'); } else { switchScore("score2", base+cp2+'.svg'); } } else { switchScore("score2", ''); score2.style.width='11542px'; } } rb.classList.remove("pagenav_disabled") if (1 == currpage) { lb.classList.add("pagenav_disabled") } }}function formatPageNumber(page, isPlayingPart=false) { if (isPlayingPart || curtransp == 0) { return page < 10 ? '0' + page : page; } else { return page < 10 ? '00' + page : (page < 100 ? '0' + page : page); }}function changepage2(dir) { hideLoopGuide(); changepage1(dir);}function changepage_playalong(dir) { if(lb==null){ initiatestuff(); } document.getElementById('layer1').style.visibility='hidden'; if( ison3==1||ison2==1||ison4==1){ //changing part var ds=sco.src; if(dir=='r') { switchScore('score', bumpStringInt(ds,dir)); } else { switchScore('score', bumpStringInt(ds,dir)); } } else { if (changedpage==0) { pageBeforeChanging = currpage; changedpage = 1; } var cp2 if(carryon==true){ if(dir=='r'&&(currpage<5)) { currpage=currpage+1; if (currpage<10){cp2='00'+(currpage)} else if (currpage<100){cp2='0'+(currpage)} else {cp2=currpage} switchScore("score", baseUrl+cp2+'.svg'); lb.classList.remove("pagenav_disabled"); if (currpage==max_playalong_page||showTwoPages&&(currpage+1 == max_playalong_page)){rb.classList.add("pagenav_disabled");} } else if(dir=='l'&&(currpage>1)) { currpage=currpage-1; if (currpage<10){cp2='00'+(currpage)} else if (currpage<100){cp2='0'+(currpage)} else {cp2=currpage} switchScore("score", baseUrl+cp2+'.svg'); rb.classList.remove("pagenav_disabled"); if (currpage==1){lb.classList.add("pagenav_disabled");} } } }}var pauseamount=0;var pppa=0;var stimer; function playmain(stype){ baseUrl=''; temp_IS_HIGHLIGHT_ON=IS_HIGHLIGHT_ON; manual_scroll=0;if(g){ clearTimeout(g);} if(ison1) { hideLoopGuide(); } if (document.getElementById('pausebefore').checked==true&&ison0 == 0){ pauseamount=5;updatecountin(); pppa=pauseamount+1;} else {pauseamount=0;pppa=0} stimer = window.setTimeout( "playmain2("+stype+")", (pppa*1000)); stopplayalongreturntostandardview() resizeStage();} getCachedImageFromMap(ss+score+'01.svg', imageCache); getCachedImageFromMap(ss+score+'02.svg', imageCache); getCachedImageFromMap(ss+score+'03.svg', imageCache); getCachedImageFromMap(ss+score+'04.svg', imageCache); getCachedImageFromMap(ss+score+'05.svg', imageCache); getCachedImageFromMap(ss+score+'06.svg', imageCache); getCachedImageFromMap(ss+score+'07.svg', imageCache); getCachedImageFromMap(ss+score+'08.svg', imageCache); getCachedImageFromMap(ss+score+'09.svg', imageCache); getCachedImageFromMap(ss+score+'09.svg', imageCache); getCachedImageFromMap(ss+score+'09.svg', imageCache); getCachedImageFromMap(ss+score+'09.svg', imageCache); getCachedImageFromMap(ss+score+'09.svg', imageCache); getCachedImageFromMap(ss+score+'09.svg', imageCache); getCachedImageFromMap(ss+score+'09.svg', imageCache); getCachedImageFromMap(ss+score+'09.svg', imageCache); getCachedImageFromMap(ss+score+'09.svg', imageCache); getCachedImageFromMap(ss+'bassoon/silent_night_fantasy_bn_bn01.svg', imageCache); getCachedImageFromMap(ss+'bassoon/silent_night_fantasy_bn_bn02.svg', imageCache); getCachedImageFromMap(ss+'bassoon/silent_night_fantasy_bn_bn03.svg', imageCache); getCachedImageFromMap(ss+'bassoon/silent_night_fantasy_bn_bn04.svg', imageCache); getCachedImageFromMap(ss+'bassoon/silent_night_fantasy_bn_bn05.svg', imageCache); function playmain2(stype, keepPlayState, wasOn) { partopen=0; let wasStoped = pauseon || !wasOn; if(lb==null){initiatestuff()} if (stype==0){ stopplayalongreturntostandardview() } if (ison0) { playalongstop();changedpage=0; } else { if (!keepPlayState || !wasStoped) { startTimeframe(DESIRED_FPS); } l1.style.visibility='visible'; } var num_listened=readCookie('num_listened') if (num_listened=='undefined'||num_listened=='NaN'){num_listened=0;} if (everyplayed==0){ num_listened=p(num_listened)+1; eraseCookie('num_listened') createCookie('num_listened',num_listened,1) everyplayed=1; } if (num_listened>3){overlay();return ;} if (ison0 == 0) { ison0 = 1;ison1=0 ;ison2=0;ison3=0;ison4=0; document.getElementById('icon0').src = sic; aud=document.getElementById('demo0') pb.style.display='flex'; document.getElementById('metandtemp').style.visibility='visible'; pico.style.display='inline-block'; ic1.style.display='none'; ic2.style.display='none'; aic1.style.display='none'; aic2.style.display='none'; if (ic3){ ic3.style.display='none'; aic3.style.display='none'; } if (ic4){ ic4.style.display='none'; aic4.style.display='none'; } aisp=document.getElementById('aispacer'); aisp.style.display='inline-flex';aisp.style.visibiliy='visible'; checkIfShouldShowTwoPages(); aud.addEventListener('timeframe',function(){ if (aud.currentTime< 34) { if(currpage!=1&&changedpage==0){ currpage=1 switchScore('score', ss+score+'0'+(currpage)+'.svg'); lb.classList.remove("pagenav_disabled"); rb.classList.remove("pagenav_disabled"); if (currpage==no_pages||showTwoPages&&(currpage+1 == no_pages)){rb.classList.add("pagenav_disabled");} } } },false); aud.addEventListener('timeframe',checktimeupdate); aud.addEventListener('timeframe',checkbartimeupdate); aud.addEventListener('timeframe', updateProgress, false);aud.addEventListener('ended', audioend); updateplaybackrate(document.getElementById('speed').value) aud.play();aud.currentTime = 0; if (stype==0) { switchScore('score', scfile); switchScore('score2', scfile2); currpage=1; if(!ext_traditional){ lb.classList.add("pagenav_disabled"); if(no_pages>1&&!showTwoPages||no_pages>2){rb.classList.remove("pagenav_disabled"); } } } } else { ison0 = 0; pb.style.display='none'; pico.style.display='none'; switchScore('score', scfile); switchScore('score2', scfile2); document.getElementById('metandtemp').style.visibility='hidden'; if (stype==0){ stopplayalongreturntostandardview(); l1.style.visibility='hidden'; stopLoop(); } } if(keepPlayState) { if (wasStoped) { pauseon=0; callpause(); setTimeout(() => { checkbartimeupdate(); updateProgress(); }, 100) } } resizeStage(); }function uptr(nop,currpage){ if(lb==null){initiatestuff();} lb.classList.remove("pagenav_disabled");rb.classList.remove("pagenav_disabled"); if ((currpage==nop)||showTwoPages&&(currpage==nop-1)){rb.classList.add("pagenav_disabled"); } if (currpage==1){lb.classList.add("pagenav_disabled");}}function audioend(){ if(ison0==1){playmain(0)} else if (ison1==1){playalongacc(1)} else if (ison2==1){playalongacc(2)} else if (ison3==1){playalongacc(3)} else if (ison4==1){playalongacc(4)}}var changingpage = false;var oldpage;function checktimeupdate() { let showingPages = 1; if (showTwoPages) { showingPages = 2; if (pt.length % 2 === 0) { pt.push({ e: pt[pt.length - 1].e }); } } let pageI = pt.findIndex((page) => { return (page || {e:0}).e - PAGE_TURNING_TIME>= aud.currentTime; }); if (pageI <= -1) pageI = 1; let curPage = pt[pageI] || {e:0}; if (ison0 == 1 && changedpage == 0) { if (oldpage == null) { oldpage = 0; } else { oldpage = currpage; } // Math to make f(1) -> 1 f(2) -> 1 f(3) -> 3 f(4) -> 3 if showing 2 pages // and f(x) -> x, if showing only 1 page let page = Math.max(1, curPage.p || 1); currpage = Math.ceil(page / showingPages) * showingPages - Math.floor(0.5 * showingPages); if (showingPages === 2) { currpagearryno = pageI - (page % 2 ? 0 : 1); } else { currpagearryno = pageI; } var cp = currpage.toString().padStart(2, "0"); let newSrc; newSrc = ss+score+cp+'.svg'; switchScore("score", newSrc); if (showTwoPages && currpage + 1 <= no_pages) { var currpageplus1 = currpage + 1; let cp2 = currpageplus1.toString().padStart(2, "0"); if (curtransp != 0) { cp2 = currpageplus1.toString().padStart(3, "0"); newSrc = thissc + "_" + curtranspdir+curtransp + cp2 + ".gif"; } else { newSrc = ss + score + cp2 + ".svg"; } } else { newSrc = ""; } if ( sco2.src !== sco.src ) { switchScore("score2", newSrc); if(newSrc.length==0 &&curtransp == 0){ score2.style.width='11542px'; } } uptr(no_pages, currpage); }}function checktimeupdateparts() { var delaytime=p(bt[1].e)*200; if (showTwoPages) { if (ppt.length % 2 === 0) { ppt.push({ e: ppt[ppt.length - 1].e }); } } let pageI = ppt.findIndex((page) => { return (page || {e:0}).e + p(delaytime/1000) - PAGE_TURNING_TIME >= aud.currentTime; }); if (pageI <= -1) pageI = 1; let curPage = ppt[pageI] || {e:0}; if (ison1 == 1 && changedpage == 0) { if (oldpage == null) { oldpage = 0; } else { oldpage = currpage; } // f(1) -> 1 f(2) -> 1 f(3) -> 3 f(4) -> 3 if showing 2 pages // and f(x) -> x, if showing only 1 page let page = Math.max(1, curPage.p || 1); if (showTwoPages) { currpage = Math.ceil(page / 2) * 2 - 1; currpagearryno = pageI - (page % 2 ? 0 : 1); } else { currpage = page; currpagearryno = pageI; } var cp = currpage.toString().padStart(2, "0"); let newSrc; if (baseUrl !== '') { newSrc = baseUrl + cp + '.svg'; } else { newSrc = ss+score+cp+'.svg'; } switchScore("score", newSrc); if (showTwoPages && currpage + 1 <= no_part_pages) { var currpageplus1 = currpage + 1; var cp2 = currpageplus1.toString().padStart(2, "0"); if (baseUrl !== '') { newSrc = baseUrl + cp2 + '.svg'; } else { newSrc = ss+score+cp2+'.svg'; } } else { newSrc = ''; } if(sco2.src !== sco.src) { switchScore("score2", newSrc); } uptr(max_playalong_page, currpage) }}function isElementInViewport (el) { var rect = el.getBoundingClientRect(); return ( rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && /* or $(window).height() */ rect.right <= (window.innerWidth || document.documentElement.clientWidth) /* or $(window).width() */ );}function checkbartimeupdate() { var delaytime=p(bt[1].e)*200; var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor); var chrome_delay if (isChrome){ chrome_delay=aud.currentTime/500 } else{ chrome_delay=0 } if (ison0==1){delaytime=0;} if (((aud.currentTime+chrome_delay)*1000) Download Score PDF (8notes Premium) Bassoon Request New Transposition Arrangements of this piece also available for: Artist: Christian Morris (biography) Info: There's mystery, excitement and some gorgeous crunchy harmonies in this extended fantasy on one of the world's best-loved carols. Time Signature: 3/4 (View more 3/4 Music) Range: C3-Bb5 Score Key: F major (Sounding Pitch) (View more F major Music for Bassoon ) Tempo Marking: Andante =60 Duration: 8:43 Number of Pages: 17 Difficulty: Advanced Level: Recommended for Advanced Players Instrument: (View more Advanced Bassoon Music) Style: Classical(View more Classical Bassoon Music) Tags: Copyright: © Copyright 2000-2024 Red Balloon Technology Ltd (8notes.com) Info We Wish You a Jazzy Christmas by Christian Morris Close X You have reached your limit for today. Individual Subscriptions: Click here for more info on 8notes PREMIUM
Standard Parts
Request Additional Parts Request Large Note Part Request Part with Chords
Request New Version
You might also like:
A History of Powered Flight: Kitty Hawk by Christian Morris
Bossa Nova Bleak Midwinter by Christian Morris
O Come All Ye Boogie-Woogie Faithful by Christian Morris
Bran's Lament by Christian Morris
Emmanuel Rock by Christian Morris
Join 8notes PREMIUM for unlimited playback & transpositions
Morris, Christian - Silent Night Fantasy for Bassoon - Free Sheet music for Bassoon (2024)
Top Articles
Eliza.deniz Leaks
15229 S 18th Dr, Phoenix, AZ 85045 - MLS 6753074 - Coldwell Banker
Kayenta Art Festival 2023
Latest Posts
Recommended Articles
- How Many Weapons In Castrol Honda Superbike World Champions
- Motoko, a programming language for building directly on the internet
- Invisible Crater Tropes
- What happens if you make money under the table?
- Spellmaster: The Saga Pet
- Best Wellness Treatments in the World 2024 – Travel Curator
- All Might: Rising - The Animation Discord Bot
- 10X Magnifying Glass with Light and Clamp, Real Glass Stand Lighted Ma
- A Quick and Simple Korean Skincare Routine for Men
- 40 (2024) Movie Trailer
- How to Whiten Teeth with Hydrogen Peroxide: Comprehensive Guide
- Murder Avenue Fps Drops
- Around The World Mosaics All Easter Eggs
- Burning News
- Venus To Mamoru! Village
- If It Makes You Happy (2019) Movie Quotes
- Interdentalbürsten | Zahnzwischenraumbürsten von TePe
- The Original Drugstore Beauty Icon—These Are the 13 Best Olay Products of All Time
- Preview: Sunderland vs. Bristol City - prediction, team
- Can You Sleep With False Eyelashes?
- Everything You Need to Know About Supports, Braces and Compression Sleeves: For Sports and Everyday Life
- Infp Eden's Bowy
- Dragon Quest Monsters: Caravan Heart Hard Drive Space
- Newest Yu Inaba Movie
- HP Ink & Toner Cartridge Recycling
- NS630 3월 한 달 사용기~?베스트 사용후기 - 디스크체어
- Still rockin': As a singer turns 80, the Christmas song she sang as a teen is a holiday staple
- Death Is Not the End: An Oral History of Final Destination
- Top 20 places for Hair colouring in Amsterdam - Treatwell
- School Of Love: Clubs! Where To Buy
- The Happy Card Battle Pyramid
- Films Like Killing Bites
- Nelson Piquet Networth December 2024, Height, Weight, Age, Bio
- Super Kickers League Ultimate für PS4 kaufen | Preisvergleich
- ‘The Haunting of Hill House’ Is Netflix’s First Great Horror Series
- Jungle woordenschat - Leermiddelen
- Room 105 | Rotten Tomatoes
- Maurice Pialat Movies
- Wedge Of Interval Dub Movie
- Who Wrote The Movie Cherry (2010)
- Amino Acids - Benefits, Structure & Function | Biology Dictionary
- Hello Kitty's Animation Theater Watch Online Hd
- Is In Love And War The Last Movie
- Geforce Avenger
- Movies Similar To 我有特殊沟通技巧
- Main Character In Secret Of The Haunted Mansion
- Mineralogical and stable isotope investigations of minerals from caves on Cerna Valley (Romania)
- When Was Goldfish Warning! The Movie Created
- Dermatologists Say This Star Acne-Fighting Ingredient Can Also Be Used To Treat Dandruff And Psoriasis
- Achieving 4-Pack, 6-Pack or 8-Pack Abs
- Fran Granada Jerk
- The 28 best men’s skincare gift sets
- Where To Watch The Katharina Luther (2017)
- Where Can I Find Escape From Tomorrow (2013)
- Myanimelist Mysteria Friends Season 2
- Fateful Lovemeter S2 Ep 22
- เกมปรารถนา 1080P Download
- [DS] Pushing WWIII While Their World Is Collapsing,Patriot Gloves Are Coming Off,Soon!!! – Ep. 3515
- 10 Derm-Approved Facial Tools That'll Work Wonders On Your Skin
- Olivia Wilde Says Movie-Loving Girls Are Told to Be Actresses While Boys Are Told to Be Directors
- How I avoid orange tones with tanning oil | 20 Trivia Questions & Answers
- Aria Montgomery - frwiki.wiki
- What Year Did The Movie Lady Gaga: Radio 1 Big Weekend (2011) Come Out
- The Mess You Leave Behind Full Movie Eng Sub
- Acupression Pantoufles De Maison Massage Pour Hommes Et Femmes Chaussures • EUR 28,55
- Ne le dis à personne... - Harlan Coben
- Activated Carbon Colostomy Bag Disposable Adhesive Drainable Ostomy Pouch • $15.96
- 2024's Best Tattoo Pen Machines: Artist's Recommendations
- Saw Palmetto : Capsules - Confort urinaire et Prostate
- FE-DBD for skin disinfection
- Ultrasonic Peeling Remover Blackhead Ultrasonic Skin Scrubber Deep Cleaning Face Lifting Remove Pore Acne Facial Scrubber Shovel 2024
- Who Was 叛逆者 Based On
- The Gateless Gate (2018) Full Movie Online Free
- Ranma ½: Chuugoku Nekonron Daikessen! Okite Yaburi No Gekitou-Hen!! Trigger Warnings
- Who Was The Life Of Mammals Based On
- Resources Top 5: FireFly lights up ASX as Canadian copper takes flight - Stockhead
- Are There Any Books After Concours De Rêve : La Clé Des Songes
- Get Rid Of Odors For Good With These Potent Shoe Deodorizer Sprays
- Watch Kimi Ni Furetara Ep 6
- Ne3 Pro Smart Ear Wax Removal Cleaner with Hd Camera LED Light Wireless Otoscope Tool Kit White
- 1492 – Die Eroberung des Paradieses
- Takako Fuji Languages Spoken
- Empty rides, closed theme park attracts photographers to Yongma Land
- How Many Episodes In Bloom Into You: Regarding Saeki Sayaka
- How Many Episodes In Bloom Into You: Regarding Saeki Sayaka
- How Many Episodes In Bloom Into You: Regarding Saeki Sayaka
- How Many Episodes In Bloom Into You: Regarding Saeki Sayaka
- How Many Episodes In Bloom Into You: Regarding Saeki Sayaka
- How To Cheat Gas Station Weed Simulator 2024
- Live Carrier Aces
- Ron Dyens Partner 2020
- Shall We Date?: My Sweet Prince - TV Tropes
- ✨ Hq8 Shaver Heads, Shaving Heads for Philips Norelco Shaving Razor Replacement Blade Head — 🛍️ The Retail Market
- Slay the Holidays in Style With the 34 Best Clothing Sales to Shop Right Now
- I'm a scientist studying lung cancer in young people - now I've got it
- Scott Toilet Paper Scott 1000 Sheets Per Roll Toilet Paper, 32 Rolls (4 Packs of 8), Bath Tissue $23.99
- Dani Kind And Parents
- The Meaning Behind The Song: Because of You by Kelly Clarkson - Musician Wages
- Adult Cloth Diapers and Plastic Pants: A Complete Guide DryDy
- The Predictive Airliner
Article information
Author: Rob Wisoky
Last Updated:
Views: 6175
Rating: 4.8 / 5 (68 voted)
Reviews: 91% of readers found this page helpful
Author information
Name: Rob Wisoky
Birthday: 1994-09-30
Address: 5789 Michel Vista, West Domenic, OR 80464-9452
Phone: +97313824072371
Job: Education Orchestrator
Hobby: Lockpicking, Crocheting, Baton twirling, Video gaming, Jogging, Whittling, Model building
Introduction: My name is Rob Wisoky, I am a smiling, helpful, encouraging, zealous, energetic, faithful, fantastic person who loves writing and wants to share my knowledge and understanding with you.