function jtabChord(t){if(this.scale=jtab.WesternScale,this.baseNotes=this.scale.BaseNotes,this.baseChords=jtab.Chords,this.chordArray=null,this.isValid=!1,this.fullChordName=t,this.isCustom=null!=this.fullChordName.match(/\%/),this.isCaged=null!=this.fullChordName.match(/\:/),this.isCaged){var a=this.fullChordName.split(":");this.chordName=a[0],this.cagedPos=a[1]}else if(this.isCustom){var a=this.fullChordName.match(/\[(.+?)\]/);a?this.chordName=a[1]:this.chordName=""}else this.chordName=this.fullChordName,this.cagedPos=1;this.rootExt=this.chordName.replace(/^[A-G#b]{1,2}/,""),this.rootNote=this.chordName.substr(0,this.chordName.length-this.rootExt.length);var s=this.baseNotes[this.rootNote];s?(this.baseName=s[0]+this.rootExt,this.cagedBaseShape=s[1],this.cagedBaseFret=s[2]):(this.cagedBaseShape="",this.cagedBaseFret=0),this.isCaged&&this.cagedPos>1?this.setCagedChordArray():this.isCustom?this.setCustomChordArray():this.setChordArray(this.baseName)}var jtab={Version:"1.3.1",element_count:0,Strings:{AboutDialog:'About jTab

jTab version: {V}

http://jtab.tardate.com

'},Chords:{C:[[0,[-1],[3,3],[2,2],[0],[1,1],[0]],[12,[-1,-1],[15,4],[14,3],[12,1],[13,2],[12,1]]],Cm:[[0,[-1],[3,4],[1,2],[0],[1,1],[-1]],[12,[-1,-1],[15,4],[13,3],[12,1],[13,2],[-1,-1]]],C6:[[0,[-1],[0],[2,2],[2,3],[1,1],[3,4]],[12,[-1,-1],[12,1],[14,3],[14,3],[13,2],[15,4]]],Cm6:[[0,[-1],[-1],[1,1],[2,3],[1,2],[3,4]],[]],C69:[[0,[-1],[3,2],[2,1],[2,1],[3,3],[3,4]],[]],C7:[[0,[-1],[3,3],[2,2],[3,4],[1,1],[0]],[12,[-1,-1],[15,3],[14,2],[15,4],[13,1],[12]]],Cm7:[[0,[-1],[-1],[1,1],[3,3],[1,1],[3,4]],[]],Cmaj7:[[0,[-1],[3,3],[2,2],[0],[0],[0]],[12,[-1,-1],[15,4],[14,3],[12,1],[12,1],[12,1]]],C7b5:[[2,[-1],[3,1],[4,3],[3,2],[5,4],[-1]],[]],"C7#5":[[0,[-1],[-1],[2,2],[3,3],[1,1],[4,4]],[]],Cm7b5:[[0,[-1],[3,1],[4,3],[3,2],[4,4],[-1]],[]],C7b9:[[0,[-1],[3,3],[2,1],[3,4],[2,2],[0]],[]],C9:[[0,[-1],[3,2],[2,1],[3,3],[3,4],[-1]],[]],Cm9:[[0,[-1],[3,2],[1,1],[3,3],[3,3],[3,3]],[]],Cmaj9:[[0,[-1],[3,3],[0],[0],[0],[0]],[12,[-1],[15,3],[12,1],[12,1],[12,1],[12,1]]],Cadd9:[[0,[-1],[3,2],[2,1],[0],[3,3],[0]],[12,[-1],[15,3],[14,2],[12,1],[15,4],[12,1]]],C13:[[2,[-1],[3,1],[5,2],[3,1],[5,3],[5,4]],[]],Csus2:[[2,[-1],[3,1],[5,3],[5,4],[3,1],[3,1]],[]],Csus4:[[2,[-1],[3,1],[5,2],[5,3],[6,4],[3,1]],[]],Cdim:[[0,[-1],[3,3],[4,4],[2,2],[1,1],[-1]],[]],Cdim7:[[0,[-1],[-1],[1,1],[2,3],[1,2],[2,4]],[]],Caug:[[0,[-1],[-1],[2,2],[1,1],[1,1],[4,4]],[]],"C#":[[0,[-1],[4,4],[3,4],[1,1],[2,2],[1,1]],[]],"C#m":[[0,[-1],[-1],[2,2],[1,1],[2,3],[0]],[]],"C#6":[[0,[-1],[-1],[3,2],[3,3],[2,1],[4,4]],[]],"C#m6":[[0,[-1],[4,3],[2,1],[3,2],[2,1],[4,4]],[]],"C#69":[[2,[-1],[4,2],[3,1],[3,1],[4,3],[4,4]],[]],"C#7":[[0,[-1],[-1],[3,2],[4,3],[2,1],[4,4]],[]],"C#m7":[[0,[-1],[-1],[2,1],[4,3],[2,1],[4,4]],[]],"C#maj7":[[0,[-1],[4,4],[3,3],[1,1],[1,1],[1,1]],[]],"C#7b5":[[0,[3,2],[0],[3,3],[4,4],[2,1],[-1]],[]],"C#7#5":[[0,[-1],[4,3],[3,2],[2,1],[0],[-1]],[]],"C#m7b5":[[0,[-1],[2,1],[2,2],[0],[2,3],[0]],[]],"C#7b9":[[0,[-1],[4,2],[3,1],[4,3],[3,1],[4,4]],[]],"C#9":[[3,[-1],[4,1],[6,2],[6,3],[4,1],[4,1]],[]],"C#m9":[[0,[0],[2,2],[1,1],[1,1],[2,3],[0]],[]],"C#maj9":[[0,[-1],[4,4],[1,1],[1,1],[1,1],[1,1]],[]],"C#add9":[[0,[1,1],[-1],[1,1],[1,1],[2,2],[1,1]],[]],"C#13":[[3,[-1],[4,1],[6,2],[4,1],[6,3],[6,4]],[]],"C#sus2":[[0,[-1],[-1],[3,3],[3,4],[1,1],[1,1]],[]],"C#sus4":[[0,[-1],[-1],[3,2],[3,3],[4,4],[1,1]],[]],"C#dim":[[0,[-1],[-1],[2,1],[3,3],[2,2],[3,4]],[]],"C#dim7":[[0,[-1],[-1],[2,1],[3,3],[2,2],[3,4]],[]],"C#aug":[[0,[-1],[4,4],[3,3],[2,1],[2,2],[-1]],[]],D:[[0,[-1],[0],[0],[2,1],[3,3],[2,2]],[12,[-1,-1],[12,1],[12,1],[14,3],[15,4],[14,2]]],Dm:[[0,[-1],[0],[0],[2,2],[3,3],[1,1]],[12,[-1,-1],[12,1],[12,1],[14,3],[15,4],[13,2]]],D6:[[0,[-1],[0],[0],[2,2],[0],[2,3]],[12,[-1,-1],[12,1],[12,1],[14,3],[12,1],[14,4]]],Dm6:[[0,[-1],[2,2],[0],[2,3],[0],[1,1]],[12,[-1,-1],[14,3],[12,1],[14,4],[12,1],[1,2]]],D69:[[3,[-1],[5,2],[4,1],[4,1],[5,3],[5,4]],[]],D7:[[0,[-1],[0],[0],[2,2],[1,1],[2,3]],[12,[-1,-1],[12,1],[12,1],[14,3],[13,2],[14,4]]],Dm7:[[0,[-1],[-1],[0],[2,2],[1,1],[1,1]],[12,[-1,-1],[-1,-1],[12,1],[14,4],[13,2],[13,3]]],Dmaj7:[[0,[-1],[5,4],[4,3],[2,1],[2,1],[2,1]],[]],D7b5:[[4,[-1],[5,1],[6,3],[5,2],[7,4],[-1]],[]],"D7#5":[[0,[-1],[-1],[0],[4,3],[1,1],[2,2]],[12,[-1,-1],[-1,-1],[12,1],[16,4],[13,2],[14,3]]],Dm7b5:[[0,[-1],[-1],[0],[1,1],[1,1],[1,1]],[12,[-1,-1],[-1,-1],[12,1],[12,2],[12,3],[12,4]]],D7b9:[[3,[-1],[5,2],[4,1],[5,3],[4,1],[5,4]],[]],D9:[[0,[2,2],[-1],[0],[2,3],[1,1],[0]],[12,[14,4],[-1,-1],[12,1],[14,3],[13,2],[12,1]]],Dm9:[[0,[-1],[-1],[3,3],[2,2],[1,1],[0]],[12,[-1,-1],[-1,-1],[15,4],[14,3],[13,2],[12,1]]],Dmaj9:[[0,[-1],[5,4],[2,1],[2,1],[2,1],[2,1]],[]],Dadd9:[[0,[-1],[-1],[0],[2,1],[3,2],[0]],[12,[-1,-1],[-1,-1],[12,1],[14,3],[15,4],[12,1]]],D13:[[4,[-1],[5,1],[7,2],[5,1],[7,3],[7,4]],[]],Dsus2:[[0,[-1],[-1],[0],[2,1],[3,3],[0]],[12,[-1,-1],[-1,-1],[12,1],[14,3],[15,4],[12,1]]],Dsus4:[[0,[-1],[-1],[0],[2,1],[3,3],[3,4]],[12,[-1,-1],[-1,-1],[12,1],[14,2],[15,3],[15,4]]],Ddim:[[0,[-1],[-1],[0],[1,1],[0],[1,2]],[12,[-1,-1],[-1,-1],[12,1],[13,2],[12,1],[13,3]]],Ddim7:[[0,[-1],[2,3],[0],[1,1],[0],[1,2]],[12,[-1,-1],[14,4],[12,1],[13,2],[12,1],[13,3]]],Daug:[[0,[-1],[-1],[0],[3,2],[3,3],[2,1]],[12,[-1,-1],[-1,-1],[12,1],[15,3],[15,4],[14,2]]],Eb:[[0,[-1],[-1],[5,4],[3,1],[4,3],[3,2]],[]],Ebm:[[0,[-1],[-1],[4,3],[3,2],[4,4],[2,1]],[]],Eb6:[[0,[-1],[3,1],[5,3],[3,1],[4,2],[3,1]],[]],Ebm6:[[0,[-1],[-1],[1,1],[3,3],[1,1],[2,2]],[]],Eb69:[[0,[-1],[-1],[1,1],[0],[1,2],[1,3]],[]],Eb7:[[0,[-1],[-1],[1,1],[3,3],[2,2],[3,4]],[]],Ebm7:[[0,[-1],[-1],[1,1],[3,4],[2,2],[2,3]],[]],Ebmaj7:[[0,[-1],[-1],[1,1],[3,2],[3,3],[3,4]],[]],Eb7b5:[[0,[-1],[-1],[1,1],[2,2],[2,3],[4,4]],[]],"Eb7#5":[[0,[-1],[-1],[1,1],[4,4],[2,2],[3,3]],[]],Ebm7b5:[[0,[-1],[-1],[1,1],[2,2],[2,3],[2,4]],[]],Eb7b9:[[0,[-1],[-1],[1,1],[0],[2,3],[0]],[]],Eb9:[[0,[3,4],[1,1],[1,1],[0],[2,1],[1,1]],[]],Ebm9:[[0,[2,2],[1,1],[1,1],[3,4],[2,3],[1,1]],[]],Ebmaj9:[[0,[-1],[-1],[1,1],[0],[3,4],[1,2]],[]],Ebadd9:[[0,[3,4],[2,2],[2,2],[0],[-1],[1,1]],[]],Eb13:[[4,[-1],[6,2],[5,1],[6,3],[8,4],[8,4]],[]],Ebsus2:[[0,[1,1],[1,1],[1,1],[3,3],[-1],[1,1]],[]],Ebsus4:[[0,[-1],[-1],[1,1],[3,3],[4,4],[4,4]],[]],Ebdim:[[0,[-1],[-1],[1,1],[2,3],[1,2],[2,4]],[]],Ebdim7:[[0,[-1],[-1],[1,1],[2,3],[1,2],[2,4]],[]],Ebaug:[[0,[3,3],[2,2],[1,1],[0],[0],[3,4]],[]],E:[[0,[0],[2,2],[2,3],[1,1],[0],[0]],[12,[12,1],[14,3],[14,4],[13,2],[12,1],[12,1]]],Em:[[0,[0],[2,2],[2,3],[0],[0],[0]],[12,[12,1],[14,3],[14,4],[12,1],[12,1],[12,1]]],E6:[[0,[0],[2,2],[2,3],[1,1],[2,4],[0]],[12,[12,1],[14,3],[14,3],[13,2],[14,4],[12,1]]],Em6:[[0,[0],[2,1],[2,2],[0],[2,3],[0]],[12,[12,1],[14,2],[14,3],[12,1],[14,4],[12,1]]],E69:[[0,[-1],[2,2],[2,2],[1,1],[2,3],[2,3]],[]],E7:[[0,[0],[2,2],[0],[1,1],[0],[0]],[12,[12,1],[14,3],[12,1],[13,2],[12,1],[12,1]]],Em7:[[0,[0],[2,2],[2,3],[0],[3,4],[0]],[12,[12,1],[14,2],[14,3],[12,1],[15,4],[12,1]]],Emaj7:[[0,[0],[2,3],[1,1],[1,2],[0],[0]],[12,[12,1],[14,4],[13,2],[13,3],[12,1],[12,1]]],E7b5:[[0,[-1],[1,1],[0],[1,2],[3,4],[0]],[12,[-1,-1],[13,2],[12,1],[13,3],[15,4],[12,1]]],"E7#5":[[0,[0],[3,4],[0],[1,1],[1,2],[-1]],[12,[12,1],[15,4],[12,1],[13,3],[13,2],[-1]]],Em7b5:[[0,[-1],[-1],[2,1],[3,2],[3,3],[3,4]],[]],E7b9:[[0,[0],[2,3],[0],[1,1],[0],[1,2]],[12,[12,1],[14,4],[12,1],[13,3],[12,1],[13,2]]],E9:[[0,[0],[2,2],[0],[1,1],[0],[2,3]],[12,[12,1],[14,3],[12,1],[13,2],[12,1],[14,4]]],Em9:[[0,[0],[2,1],[0],[0],[0],[2,2]],[12,[12,1],[14,2],[12,1],[12,1],[12,1],[14,4]]],Emaj9:[[0,[0],[2,2],[1,1],[1,1],[0],[2,4]],[12,[12,1],[14,3],[13,2],[13,2],[12,1],[14,4]]],Eadd9:[[0,[2,2],[2,3],[2,4],[1,1],[0],[0]],[12,[14,3],[14,3],[14,4],[13,2],[12,1],[12,1]]],E13:[[0,[0],[2,2],[0],[1,1],[2,3],[0]],[12,[12,1],[14,3],[12,1],[13,2],[14,4],[12,1]]],Esus2:[[0,[-1],[2,1],[4,3],[4,4],[-1],[0]],[12,[-1,-1],[14,2],[16,3],[16,4],[-1],[12,1]]],Esus4:[[0,[0],[2,2],[2,3],[2,4],[0],[0]],[12,[12,1],[14,2],[14,3],[14,4],[12,1],[12,1]]],Edim:[[0,[-1],[1,1],[2,2],[3,4],[2,3],[-1]],[]],Edim7:[[0,[-1],[-1],[2,1],[3,3],[2,2],[3,4]],[]],Eaug:[[0,[0],[3,4],[2,3],[1,1],[1,2],[0]],[12,[12,1],[15,4],[14,3],[13,2],[13,2],[12,1]]],F:[[0,[1,1],[3,3],[3,4],[2,2],[1,1],[1,1]],[]],Fm:[[0,[1,1],[3,3],[3,4],[1,1],[1,1],[1,1]],[]],F6:[[0,[-1],[3,2],[3,3],[2,1],[3,4],[-1]],[]],Fm6:[[0,[-1],[-1],[0],[1,1],[1,1],[1,1]],[]],F69:[[0,[1,1],[0],[0],[0],[1,2],[1,3]],[]],F7:[[0,[1,1],[3,3],[1,1],[2,2],[1,1],[1,1]],[]],Fm7:[[0,[1,1],[3,3],[3,4],[1,1],[4,4],[1,1]],[]],Fmaj7:[[0,[1,1],[-1],[2,3],[2,4],[1,2],[-1]],[]],F7b5:[[0,[1,1],[-1],[1,2],[2,3],[0],[-1]],[]],"F7#5":[[0,[1,1],[-1],[1,2],[2,3],[2,4],[-1]],[]],Fm7b5:[[2,[-1],[-1],[3,1],[4,2],[4,3],[4,4]],[]],F7b9:[[0,[-1],[-1],[3,2],[2,1],[4,4],[2,1]],[]],F9:[[0,[3,3],[0],[3,4],[2,2],[1,1],[1,1]],[]],Fm9:[[0,[-1],[-1],[1,1],[1,1],[1,1],[3,4]],[]],Fmaj9:[[0,[0],[0],[3,3],[0],[1,1],[3,4]],[]],Fadd9:[[0,[-1],[-1],[3,3],[2,2],[1,1],[3,4]],[]],F13:[[0,[1,1],[0],[1,2],[3,4],[3,4],[3,4]],[]],Fsus2:[[0,[-1],[3,3],[3,4],[0],[1,1],[1,1]],[]],Fsus4:[[0,[1,1],[3,2],[3,3],[3,4],[1,1],[1,1]],[]],Fdim:[[0,[-1],[-1],[0],[1,1],[0],[1,2]],[]],Fdim7:[[0,[-1],[2,3],[0],[1,1],[0],[1,2]],[]],Faug:[[0,[1,1],[-1],[3,4],[2,2],[2,3],[1,1]],[]],"F#":[[0,[2,1],[4,3],[4,4],[3,2],[2,1],[2,1]],[]],"F#m":[[0,[2,1],[4,3],[4,4],[2,1],[2,1],[2,1]],[]],"F#6":[[0,[2,1],[4,3],[-1],[3,2],[4,4],[-1]],[]],"F#m6":[[0,[-1],[-1],[1,1],[2,2],[2,3],[2,4]],[]],"F#69":[[0,[2,2],[1,1],[1,1],[1,1],[2,3],[2,4]],[]],"F#7":[[0,[2,1],[4,3],[2,1],[3,2],[2,1],[2,1]],[]],"F#m7":[[0,[2,1],[4,3],[4,4],[2,1],[5,4],[2,1]],[]],"F#maj7":[[0,[2,1],[-1],[3,3],[3,4],[2,2],[-1]],[]],"F#7b5":[[0,[2,2],[-1],[2,3],[3,4],[1,1],[-1]],[]],"F#7#5":[[0,[2,2],[-1],[2,3],[3,4],[3,4],[-1]],[]],"F#m7b5":[[0,[-1],[-1],[2,2],[2,3],[1,1],[2,4]],[]],"F#7b9":[[0,[2,2],[1,1],[2,3],[0],[2,4],[0]],[]],"F#9":[[0,[2,1],[4,3],[2,1],[3,2],[2,1],[4,4]],[]],"F#m9":[[0,[3,3],[0],[3,4],[1,1],[2,3],[2,3]],[]],"F#maj9":[[0,[2,1],[-1],[3,2],[3,3],[-1],[4,4]],[]],"F#add9":[[0,[2,2],[1,1],[-1],[1,1],[2,3],[2,4]],[]],"F#13":[[0,[2,1],[4,3],[2,1],[3,2],[4,4],[2,1]],[]],"F#sus2":[[0,[2,2],[-1],[-1],[1,1],[2,3],[2,4]],[]],"F#sus4":[[0,[2,1],[4,2],[4,3],[4,4],[2,1],[2,1]],[]],"F#dim":[[0,[-1],[-1],[1,1],[2,3],[1,2],[2,4]],[]],"F#dim7":[[0,[-1],[-1],[1,1],[2,3],[1,2],[2,4]],[]],"F#aug":[[0,[2,1],[-1],[4,4],[3,2],[3,3],[2,1]],[]],G:[[0,[3,3],[2,2],[0],[0],[0],[3,4]],[12,[15,3],[14,2],[12,1],[12,1],[12,1],[15,4]]],Gm:[[0,[3,2],[1,1],[0],[0],[3,3],[3,4]],[12,[15,3],[13,2],[12,1],[12,1],[15,4],[15,4]]],G6:[[0,[3,3],[2,2],[0],[0],[0],[0]],[12,[15,4],[14,3],[12,1],[12,1],[12,1],[12,1]]],Gm6:[[0,[-1],[-1],[2,1],[3,3],[3,3],[3,3]],[]],G69:[[0,[3,3],[2,1],[0],[2,2],[0],[0]],[12,[15,4],[14,3],[12,1],[14,2],[12,1],[12,1]]],G7:[[0,[3,3],[2,2],[0],[0],[0],[1,1]],[12,[15,4],[14,3],[12,1],[12,1],[12,1],[13,2]]],Gm7:[[0,[-1],[1,1],[3,3],[0],[3,4],[-1]],[12,[-1],[13,2],[15,3],[12,1],[15,4],[-1]]],Gmaj7:[[0,[3,3],[2,2],[0],[0],[0],[2,1]],[12,[15,3],[14,2],[12,1],[12,1],[12,1],[14,4]]],G7b5:[[0,[3,2],[-1],[3,3],[4,4],[2,1],[-1]],[],[4,[-1],[-1],[5,1],[6,2],[6,3],[7,4]]],"G7#5":[[0,[3,1],[-1],[3,2],[4,3],[4,4],[-1]],[]],Gm7b5:[[2,[3,1],[4,2],[3,1],[3,1],[6,4],[3,1]],[]],G7b9:[[0,[3,4],[2,3],[0],[1,1],[0],[1,2]],[12,[15,4],[14,3],[12,1],[13,2],[12,1],[13]]],G9:[[0,[3,3],[-1],[0],[2,2],[0],[1,1]],[12,[15,4],[-1],[12,1],[14,3],[12,1],[13,2]]],Gm9:[[2,[3,1],[5,3],[3,1],[3,1],[3,1],[5,4]],[]],Gmaj9:[[0,[3,3],[-1],[0],[2,1],[0],[2,2]],[12,[15,4],[-1],[12,1],[14,3],[12,1],[14,2]]],Gadd9:[[0,[3,2],[0],[0],[0],[0],[3,3]],[12,[15,3],[12,1],[12,1],[12,1],[12,1],[15,4]]],G13:[[0,[3,2],[2,1],[3,3],[0],[0],[0]],[12,[15,3],[14,2],[15,3],[12,1],[12,1],[12,1]]],Gsus2:[[0,[3,1],[0],[0],[0],[3,3],[3,4]],[12,[15,2],[12,1],[12,1],[12,1],[15,3],[15,4]]],Gsus4:[[2,[3,1],[5,2],[5,3],[5,4],[3,1],[3,1]],[]],Gdim:[[2,[-1],[-1],[5,2],[6,4],[5,3],[3,1]],[]],Gdim7:[[0,[-1],[-1],[2,1],[3,3],[2,2],[3,4]],[]],Gaug:[[0,[3,1],[-1],[5,4],[4,2],[4,3],[3,1]],[]],"G#":[[0,[4,4],[3,3],[1,1],[1,1],[1,1],[-1]],[]],"G#m":[[0,[-1],[2,2],[1,1],[1,1],[4,4],[4,4]],[]],"G#6":[[0,[-1],[-1],[1,1],[1,1],[1,1],[1,1]],[]],"G#m6":[[0,[-1],[-1],[1,1],[1,2],[0],[1,3]],[]],"G#69":[[0,[4,2],[3,1],[3,1],[3,1],[4,3],[4,4]],[]],"G#7":[[0,[-1],[-1],[1,1],[1,1],[1,1],[2,2]],[]],"G#m7":[[3,[4,1],[6,3],[4,1],[4,1],[7,4],[4,1]],[]],"G#maj7":[[0,[-1],[-1],[1,1],[1,1],[1,1],[3,3]],[]],"G#7b5":[[2,[4,2],[-1],[4,3],[5,4],[3,2],[-1]],[]],"G#7#5":[[3,[4,1],[-1],[4,2],[5,3],[5,4],[-1]],[]],"G#m7b5":[[0,[4,1],[5,2],[4,1],[4,1],[7,4],[4,1]],[]],"G#7b9":[[0,[4,3],[3,2],[4,4],[2,1],[-1],[-1]],[]],"G#9":[[0,[2,2],[1,1],[1,1],[1,1],[1,1],[2,4]],[]],"G#m9":[[0,[2,2],[1,1],[1,1],[1,1],[0],[2,4]],[]],"G#maj9":[[2,[4,2],[3,1],[5,4],[3,1],[4,3],[-1]],[]],"G#add9":[[0,[-1],[1,1],[1,1],[1,1],[1,1],[-1]],[]],"G#13":[[0,[4,3],[3,2],[4,4],[1,1],[1,1],[1,1]],[]],"G#sus2":[[0,[-1],[1,1],[1,2],[1,3],[-1],[-1]],[]],"G#sus4":[[0,[-1],[-1],[1,1],[1,1],[2,2],[4,4]],[]],"G#dim":[[0,[-1],[-1],[0],[1,1],[0],[1,2]],[]],"G#dim7":[[0,[-1],[-1],[0],[1,1],[0],[1,2]],[]],"G#aug":[[0,[0,-1],[3,4],[2,3],[1,1],[1,2],[0,-1]],[]],A:[[0,[-1],[0],[2,2],[2,1],[2,3],[0]],[12,[-1,-1],[12,1],[14,2],[14,3],[14,4],[12,1]]],Am:[[0,[-1],[0],[2,2],[2,3],[1,1],[0]],[12,[-1,-1],[12,1],[14,3],[14,4],[13,2],[12,1]]],A6:[[0,[-1],[0],[2,1],[2,1],[2,1],[2,1]],[12,[-1,-1],[12,1],[14,3],[14,3],[14,3],[14,3]]],Am6:[[0,[-1],[0],[2,2],[2,3],[1,1],[2,4]],[12,[-1,-1],[12,1],[14,3],[14,3],[13,2],[14,4]]],A69:[[3,[5,2],[4,1],[4,1],[4,1],[5,3],[5,4]],[]],A7:[[0,[-1],[0],[2,2],[0],[2,3],[0]],[12,[-1,-1],[12,1],[14,2],[12,1],[14,3],[12,1]]],Am7:[[0,[-1],[0],[2,2],[0],[1,1],[0]],[12,[-1,-1],[12,1],[14,3],[12,1],[13,2],[12,1]]],Amaj7:[[0,[-1],[0],[2,2],[1,1],[2,3],[0]],[12,[-1,-1],[12,1],[14,3],[13,2],[14,4],[12,1]]],A7b5:[[3,[5,2],[-1],[5,3],[6,4],[4,1],[-1]],[]],"A7#5":[[4,[5,1],[-1],[5,2],[6,3],[6,4],[-1]],[]],Am7b5:[[0,[-1],[-1],[1,1],[2,3],[1,2],[3,4]],[]],A7b9:[[0,[-1],[0],[2,1],[3,3],[2,2],[3,4]],[12,[-1,-1],[12,""],[14,1],[15,3],[14,2],[15,4]]],A9:[[0,[-1],[0],[2,1],[4,4],[2,2],[3,3]],[12,[-1],[12],[14,1],[16,4],[14,2],[15,3]]],Am9:[[0,[-1],[0],[1,1],[1,1],[1,1],[3,4]],[12,[-1],[12,1],[13,2],[13,2],[13,2],[15,4]]],Amaj9:[[0,[-1],[0],[2,1],[4,3],[2,1],[4,4]],[12,[-1],[12],[14,1],[16,3],[14,1],[16,4]]],Aadd9:[[0,[-1],[0],[2,2],[2,3],[0],[0]],[12,[-1],[12,1],[14,3],[14,4],[12,1],[12,1]]],A13:[[0,[-1],[0],[2,1],[0],[2,2],[3,3]],[12,[-1],[12,1],[14,2],[12,1],[14,3],[15,4]]],Asus2:[[0,[-1],[0],[2,1],[2,2],[0],[0]],[12,[-1],[12,1],[14,3],[14,4],[12,1],[12,1]]],Asus4:[[0,[-1],[0],[2,1],[2,2],[3,3],[0]],[12,[-1],[12,1],[14,2],[14,3],[15,4],[12,1]]],Adim:[[0,[-1],[0],[1,1],[2,3],[1,2],[-1]],[12,[-1],[12,1],[13,2],[14,4],[13,3],[-1]]],Adim7:[[0,[-1],[-1],[1,1],[2,3],[1,2],[2,4]],[]],Aaug:[[0,[-1],[0],[3,4],[2,2],[2,3],[1,1]],[12,[-1],[12],[15,4],[14,2],[14,3],[13,1]]],Bb:[[0,[-1],[1,1],[3,3],[3,3],[3,3],[1,1]],[]],Bbm:[[0,[-1],[1,1],[3,3],[3,4],[2,2],[1,1]],[]],Bb6:[[0,[-1],[1,1],[3,3],[3,3],[3,3],[3,3]],[]],Bbm6:[[0,[-1],[1,1],[3,3],[0],[2,2],[-1]],[]],Bb69:[[0,[-1],[1,1],[0],[0],[1,2],[1,3]],[]],Bb7:[[0,[-1],[1,1],[3,3],[1,1],[4,4],[1,1]],[]],Bbm7:[[0,[-1],[1,1],[3,3],[1,1],[2,2],[1,1]],[]],Bbmaj7:[[0,[-1],[1,1],[3,3],[2,2],[3,4],[1,1]],[]],Bb7b5:[[4,[6,2],[-1],[6,3],[7,4],[5,1],[-1]],[]],"Bb7#5":[[5,[6,1],[-1],[6,2],[7,3],[7,4],[-1]],[]],Bbm7b5:[[0,[-1],[1,1],[-1],[1,2],[2,3],[-1]],[]],Bb7b9:[[6,[-1],[-1],[8,2],[7,1],[9,4],[7,1]],[]],Bb9:[[0,[1,1],[1,2],[0],[1,3],[1,3],[1,3]],[]],Bbm9:[[5,[-1],[-1],[-1],[6,1],[6,1],[8,4]],[]],Bbmaj9:[[0,[-1],[1,1],[0],[2,4],[1,2],[1,3]],[]],Bbadd9:[[0,[1,1],[1,1],[0],[3,4],[1,1],[1,1]],[]],Bb13:[[0,[-1],[1,1],[0],[1,2],[3,4],[3,4]],[]],Bbsus2:[[0,[-1],[1,1],[3,3],[3,4],[1,1],[1,1]],[]],Bbsus4:[[0,[-1],[1,1],[3,2],[3,3],[4,4],[1,1]],[]],Bbdim:[[0,[-1],[1,1],[2,2],[3,4],[2,3],[-1]],[]],Bbdim7:[[0,[-1],[-1],[2,1],[3,3],[2,2],[3,4]],[]],Bbaug:[[0,[-1],[1,1],[4,4],[3,2],[3,3],[2,1]],[]],B:[[0,[-1],[2,1],[4,3],[4,3],[4,3],[2,1]],[]],Bm:[[0,[-1],[2,1],[4,3],[4,4],[3,2],[2,1]],[]],B6:[[0,[-1],[2,1],[4,3],[4,3],[4,3],[4,3]],[]],Bm6:[[0,[-1],[-1],[4,2],[4,3],[3,1],[4,4]],[]],B69:[[0,[-1],[2,2],[1,1],[1,1],[2,3],[2,4]],[]],B7:[[0,[-1],[2,2],[1,1],[2,3],[0],[2,4]],[]],Bm7:[[0,[-1],[2,2],[0],[2,3],[0],[2,4]],[]],Bmaj7:[[0,[-1],[2,1],[4,3],[3,2],[4,4],[2,1]],[]],B7b5:[[5,[7,2],[-1],[7,3],[8,4],[6,1],[-1]],[]],"B7#5":[[0,[-1],[2,2],[1,1],[2,3],[0],[3,4]],[]],Bm7b5:[[0,[-1],[2,2],[0],[2,3],[0],[1,1]],[]],B7b9:[[0,[-1],[2,2],[1,1],[2,3],[1,1],[2,4]],[]],B9:[[6,[7,1],[9,3],[7,1],[8,2],[7,1],[9,4]],[]],Bm9:[[0,[-1],[2,1],[0],[2,2],[2,3],[2,4]],[]],Bmaj9:[[0,[-1],[2,2],[1,1],[3,4],[2,3],[2,3]],[]],Badd9:[[0,[-1],[2,1],[4,3],[4,4],[2,1],[2,1]],[]],B13:[[0,[-1],[2,2],[1,1],[2,3],[0],[4,4]],[]],Bsus2:[[0,[-1],[2,1],[4,3],[4,4],[2,1],[2,1]],[]],Bsus4:[[0,[-1],[2,1],[4,2],[4,3],[5,4],[2,1]],[]],Bdim:[[0,[-1],[2,1],[3,2],[4,4],[3,3],[-1]],[]],Bdim7:[[0,[-1],[-1],[0],[1,1],[0],[1,2]],[]],Baug:[[0,[-1],[2,1],[5,4],[4,2],[4,3],[3,1]],[]]},WesternScale:{BaseNotes:{C:["C","C",0],"C#":["C#","C",1],Db:["C#","C",1],D:["D","D",0],"D#":["Eb","D",1],Eb:["Eb","D",1],E:["E","E",0],F:["F","E",1],"F#":["F#","E",2],Gb:["F#","E",2],G:["G","G",0],"G#":["G#","G",1],Ab:["G#","G",1],A:["A","A",0],"A#":["Bb","A",1],Bb:["Bb","A",1],B:["B","A",2]},BaseIntervals:["C","C#","D","Eb","E","F","F#","G","G#","A","Bb","B"]},ChordList:function(){var t=[];for(var a in jtab.Chords)t.push(a);return t},AddChord:function(t,a){this.Chords[t]=a}};Array.prototype.max_chars=function(){for(var t=this[0].length,a=this.length,s=1;st&&(t=this[s].length);return t},jtabChord.prototype.setCustomChordArray=function(){this.chordArray=new Array,this.chordArray=this.parseCustomChordArrayFromToken()},jtabChord.prototype.parseCustomChordArrayFromToken=function(){if(notes=this.fullChordName.replace(/(\%|\[.+\])/g,""),pairs=notes.split("."),pairs.length<6)return void(this.isValid=!1);this.isValid=!0,array=[];for(var t=0;t=5?1:t+1,s+=a[i]}var r="CAGED".charAt(t-1)+this.rootExt;this.setChordArray(r),this.shiftChordArray(s,r)}},jtabChord.prototype.shiftChordArray=function(t,a){var s=this.chordArray[0];if(t!=s){var h=this.isCaged&&this.cagedPos>0&&!(void 0===this.baseChords[a][1][0]);this.chordArray[0]=t-1;for(var i=1;i=0?this.chordArray[i][0]+t-s:this.chordArray[i][0],e=h?this.baseChords[a][1][i][1]:this.chordArray[i][1];this.chordArray[i]=[r,e]}}},Raphael.fn.tabtype=0,Raphael.fn.has_chord=!1,Raphael.fn.has_tab=!1,Raphael.fn.debug=!1,Raphael.fn.scale=1,Raphael.fn.margin_top=36,Raphael.fn.margin_bottom=10,Raphael.fn.margin_left=16,Raphael.fn.margin_right=10,Raphael.fn.current_offset=Raphael.fn.margin_left,Raphael.fn.string_spacing=16,Raphael.fn.strings_drawn=6,Raphael.fn.fret_spacing=16,Raphael.fn.frets_drawn=4,Raphael.fn.note_radius=7,Raphael.fn.fret_width=Raphael.fn.string_spacing*(Raphael.fn.strings_drawn-1),Raphael.fn.fret_height=Raphael.fn.fret_spacing*(Raphael.fn.frets_drawn+.5),Raphael.fn.chord_width=Raphael.fn.margin_left+Raphael.fn.fret_width+Raphael.fn.string_spacing+Raphael.fn.margin_right,Raphael.fn.chord_height=Raphael.fn.margin_top+Raphael.fn.fret_height+Raphael.fn.margin_bottom,Raphael.fn.tab_current_string=0,Raphael.fn.tab_margin_top=10,Raphael.fn.tab_top=Raphael.fn.chord_height+Raphael.fn.tab_margin_top,Raphael.fn.tab_spacing=Raphael.fn.fret_spacing,Raphael.fn.tab_height=5*Raphael.fn.tab_spacing,Raphael.fn.tab_char_width=8,Raphael.fn.total_height=Raphael.fn.tab_top+Raphael.fn.tab_height+Raphael.fn.margin_bottom,Raphael.fn.color="#000",Raphael.fn.fingering_text_color="#fff",Raphael.fn.tab_text_color="#000",Raphael.fn.debug_grid=function(t){this.path(this.svg_params(this.current_offset,0,0,4)).attr({stroke:this.color,"stroke-width":.2}),this.path(this.svg_params(this.current_offset+this.margin_left,0,0,2)).attr({stroke:this.color,"stroke-width":.2}),this.path(this.svg_params(this.current_offset+t-this.margin_right,0,0,2)).attr({stroke:this.color,"stroke-width":.2}),3==this.tabtype?this.path(this.svg_params(this.current_offset,this.tab_margin_top,2,0)).attr({stroke:this.color,"stroke-width":.2}):this.path(this.svg_params(this.current_offset,this.margin_top,2,0)).attr({stroke:this.color,"stroke-width":.2})},Raphael.fn.increment_offset=function(t){w=void 0===t?this.chord_width:t,this.debug&&this.debug_grid(w),this.current_offset+=w,this.setSize(this.current_offset,this.total_height)},Raphael.fn.svg_params=function(t,a,s,h){var i="m"+t+" "+a+"l"+s+" "+h;if(4==arguments.length)return i},Raphael.fn.chord_fretboard=function(t,a){var s=this.current_offset+this.margin_left,h=["","","","III","","V","","VII","","IX","","","XII","","","XV","","XVII","","XIX","","XXI",""];this.text(s+2.5*this.string_spacing,this.margin_top-20,a).attr({fill:this.tab_text_color,"font-size":"20px"});var i=0==t?3:0,r=this.path(this.svg_params(s,this.margin_top,this.string_spacing*(this.strings_drawn-1),0));r.attr({stroke:this.color,"stroke-width":i});for(var e=0;e<=this.frets_drawn;e++)this.path(this.svg_params(s,this.margin_top+e*this.fret_spacing,this.string_spacing*(this.strings_drawn-1),0)),pos=void 0===h[t+e]?"":h[t+e],pos.length>0&&this.text(s+this.fret_width+1*this.string_spacing,this.margin_top+(e-.5)*this.fret_spacing,pos).attr({stroke:this.tab_text_color,"font-size":"12px"});for(var e=0;e=0&&this.draw_tab_note(this.strings_drawn-a+1,h,this.margin_left+2.5*this.string_spacing)},Raphael.fn.tab_extend=function(t){if(0!=this.has_tab)for(var a=0;as&&(s=a[h].length);s*=this.tab_char_width+1,this.tab_extend(s);for(var h=0;h0&&this.draw_tab_note(this.tab_current_string,i,.5*s)}this.increment_offset(s)}else this.tab_current_string=this.get_string_number(t);else{var e=this.get_fullchord_notes(t);if(e){var n=e.max_chars(),s=this.tab_char_width*(n+2);this.tab_extend(s);for(var h=0;h0){var s=this.tab_char_width*(t.length+2);this.tab_extend(s),this.draw_tab_note(this.tab_current_string,t,.5*s),this.increment_offset(s)}}},Raphael.fn.render_token=function(t){var a=new jtabChord(t);if(a.isValid){var s=a.chordArray;this.chord_fretboard(s[0],a.chordName);for(var h=1;h').css({height:Raphael.fn.total_height});jQuery(t).html(r),jtab.setPalette(t),canvas=Raphael(i,80,Raphael.fn.total_height),canvas.tab_start();for(var e=s.split(/\s/),n=0;n