<!--
var boo=true,chords = new Object(),versch=1,alts = new Object(),alts2 = new Object(),b = new Object(),cp="cellpadding=0 cellspacing=0",alt,i,j,k,l,fret;

b[1]=34;b[2]=2;b[3]=35;b[4]=4;b[5]=36;b[6]=37;b[7]=6;b[8]=38;b[9]=8;b[10]=39;b[11]=10;b[12]=40;
b[13]=41;b[14]=13;b[15]=42;b[16]=15;b[17]=43;b[18]=44;b[19]=17;b[20]=45;b[21]=19;b[22]=46;b[23]=21;b[24]=47;
b[25]=48;b[26]=24;b[27]=49;b[28]=26;b[29]=50;b[30]=51;b[31]=28;b[32]=52;b[33]=30;b[34]=53;b[35]=32;b[36]=54;

alts[0] = "C";alts[1] = "C#/Db";alts[2] = "D";alts[3] = "D#/Eb";alts[4] = "E";alts[5] = "F";alts[6] = "F#/Gb";alts[7] = "G";alts[8] = "G#/Ab";alts[9] = "A";alts[10] = "A#/Bb";alts[11] = "B";
alts2[0] = "";alts2[1] = "6";alts2[2] = "7";alts2[3] = "maj7";alts2[4] = "9";alts2[5] = "m";alts2[6] = "m6";alts2[7] = "m7";alts2[8] = "mmaj7";alts2[9] = "m9";alts2[10] = "dim";alts2[11] = "aug";alts2[12] = "sus";alts2[13] = "add9";alts2[14] = "11";alts2[15] = "7sus4";alts2[16] = "13";alts2[17] = "6add9";alts2[18] = "-5";alts2[19] = "7-5";alts2[20] = "7maj5";alts2[21] = "maj9";
chords["C"]="1;5;8";
chords["C6"]="1;5;8;10";
chords["C7"]="1;5;8;11";
chords["Cmaj7"]= "1;5;8;12";
chords["C9"]="1;5;8;11;15";
chords["Cm"]="1;4;8";
chords["Cm6"]="1;4;8;10";
chords["Cm7"]="1;4;8;11";
chords["Cmmaj7"]="1;4;8;12";
chords["Cm9"]="1;4;8;11;15";
chords["Cdim"]="1;4;7";
chords["Caug"]="1;5;9";
chords["Csus"]="1;6;8";
chords["Cadd9"]="1;5;8;15";
chords["C11"]="1;5;8;11;15;18";
chords["C13"]="1;5;8;11;15;18;22";
chords["C6add9"]="1;5;8;10;15";
chords["C-5"]="1;5;7";
chords["C7-5"]="1;5;7;11";
chords["C7maj5"]="1;5;9;11";
chords["C7sus4"]="1;6;8;11";
chords["Cmaj9"]="1;5;8;12;15";


function los(){var i,s;for (i=0;i<5;i++){s=document.images[i].src;if(s.substring(s.length-9,s.length)=="empty.gif"){versch=i-1;break;};}}

for (j = 1; j < 12; j++)
{
	for (l=0; l<22; l++)
	{
		fret = parser (chords[alts[j-1]+alts2[l]]);
		chords[alts[j]+alts2[l]] = 0;
		for (i = fret[0]; i >= 1; i--)
		{
			k = parseInt(fret[i])+1;
			if (i == fret[0]) chords[alts[j]+alts2[l]] = k
				else chords[alts[j]+alts2[l]] = chords[alts[j]+alts2[l]] +";" + k;
		}
	}
}


function resetGuitar()
{
	var Count;
	for (Count=1; Count < 37; Count++) document.images[b[Count]+versch].src="x/empty.gif";
}



function setGuitar()
{
	resetGuitar();
	var Item, Ret, Count, Temp, Skip, Item2, Item3;

	Item = document.guitar.chord.selectedIndex;
	if (document.guitar.majmin.selectedIndex<2)
	{
		if (document.guitar.majmin.selectedIndex==0) Item2 = "";
		if (document.guitar.majmin.selectedIndex==1) Item2 = "m";
	}	
	else Item2 = document.guitar.majmin.options[document.guitar.majmin.selectedIndex].text.toLowerCase(); 
		
	Item3 = "";

	Text = document.guitar.chord.options[Item].text + Item2 + Item3;

	Frets = parser (chords[Text]);
	for (Count = Frets[0]; Count >= 1; Count--)
	{
		Temp = parseInt(Frets[Count]);
		document.images[b[Temp]+versch].src="x/keyfull.gif"
	}
}


function parser (InString)
{
	var Sep = ";", NumSeps=1, Count, Start, ParseMark, parse;
	for (Count=1; Count < InString.length; Count++) if (InString.charAt(Count)==Sep) NumSeps++;
	parse = new Array ();
	var Start=0, Count=1, ParseMark=0, LoopCtrl=1;
	while (LoopCtrl==1)
	{
		ParseMark = InString.indexOf(Sep, ParseMark);
		TestMark = ParseMark + 0;
		if ((TestMark==0) || (TestMark==-1))
		{
			parse[Count]= InString.substring (Start, InString.length);
			LoopCtrl=0;
			break;
		}
		parse[Count] = InString.substring (Start, ParseMark);
		Start=ParseMark+1, ParseMark=Start, Count++;
	}
	parse[0]=Count;
	return (parse);
}

function links(s,t,u){vv='<li><a target="_blank" href="'+t+'">'+s+'</a>';if (u==1) vv=vv+' <img src="x/top.gif" border=0>';vv=vv+'<br>';return vv;}
function mmore(i){var t=new Object();t[1]="Links";t[2]="WS64.com";t[3]="Credits";t[4]="Privacy";s="";for (j=1;j<5;j++){s=s+'<td align=center valign=top width="25%" background="x/map';if (i!=j) {s=s+"2"}s=s+'.gif"><a href="#" onCLick="javascript:more('+j+');return false;">'+t[j]+'</a></td>';}return s;}

function more (i)
{
	if(i==1)
	{
		inse('<table width="400" '+cp+' height="100%"><tr><td align=center valign=top>'+
			 '<table width="400" '+cp+' border=0><tr>'+mmore(1)+'</tr></table>'+
			 '<table border=0 bgcolor="#DDDDDD" width=400 '+cp+'><tr><td colspan=2><hr></td></tr><tr><td width="51%" valign=top><ul>'+
			 links("LyricCrawler.com","http://lyriccrawler.com/",1)+
			 links("Top 100 Tab Sites","http://www.top100tabsites.com/countin.php3?id=63",1)+
			 links("Sheet Music","http://www.sheetmusicplus.com/a/home.html?id=51000",1)+
			 links("Guitar Books","http://www.amazon.com/exec/obidos/external-search/002-4810927-5060611?mode=books&keyword=guitar&tag=ws64&Search=Search",0)+
			 links("Top 100 Guitar Sites","http://www.top100guitarsites.com/cgi-bin/countin.pl?id=45",0)+
			 links("Guitar Search Engine","http://ws64.com/guitarchords/gitsearch.html",1)+
			 links("Tabrobot","http://www.tabrobot.com/",0)+
			 '</td><td width="49%" valign=top>'+
			 '<ul><li><a target="_blank" class="zz" href="http://www.guitarseek.com">GuitarSeek</a> <img src="x/top.gif" border=0><br>'+
			 links("Guitartabs.Net","http://www.guitartabs.net/",1)+
			 links("TabFind.com","http://www.tabfind.com/",0)+
			 links("United TABS of America","http://geocities.com/unitedtabs/",0)+
			 links("WorldGuitar.com","http://www.worldguitar.com",0)+
			 links("Fresh Tabs","http://www.freshtabs.com",0)+
			 '<li><span class="f">Tab of the <a target="_blank" class="zzz" href="http://taboftheday.tripod.com/index.html">Day</a> / <a class="zzz" href="http://members.tripod.com/~ac_dc/index.html">Week</a></span><br>'+
			 '</td></tr>'+
			 '</tr><tr><td colspan=2 align=center><hr>'+
			 '<table width="98%" '+cp+'><tr>'+
			'<td width="50%" align="center">Find <a href="http://lyriccrawler.com" target="_blank">Lyrics</a></td>'+
			'<td width="50%" align="center">Find <a href="http://findmidi.com" target="_blank">MIDIs</a></td>'+
			 '</tr></table></td></tr><tr><td colspan=2 align=center><hr>'+
			 ''+
			 '</td></tr></table><img src="x/shadow.gif" width="400" height=6></td></tr></table>');
	}
	if(i==2) 
	{
		inse('<table width="400" '+cp+' height="100%"><tr><td align=center valign=top>'+
			 '<table width="400" '+cp+' border=0><tr>'+mmore(2)+'</tr></table>'+
			 '<table border=0 bgcolor="#DDDDDD" width=400 '+cp+'><tr><td><hr></td></tr><tr><td>'+
			 '<ul>'+
			 '<li><a href="../">Guitar Chords</a> - The guitar version of this page<br>'+
			 '<li><a href="http://ws64.com/guitarchords/gitsearch.html">Guitar Search Engine</a> - Here you will find all the answers to your music questions<br>'+
			 '<li><a href="http://www.ws64.com/cgi-bin/top/topsites.cgi?ID=139">Top Guitar Sites</a> - The *best* guitar sites on the net<br>'+
			 '<li><a href="http://ws64.com/guitarchords/mp3/index.html">Me as a musician</a> - Here are a few MP3 files of my music<br>'+
			 '<li><a href="http://ws64.com/search/index.html">Search The Net</a> - My list of search engines (non-music)<br>'+
			 '<li><a href="http://ws64.com/">WS64 Home</a> - Back to my homepage<br><br>'+
			 ''+
			 '</td></tr></table><img src="x/shadow.gif" width="400" height=6></td></tr></table>');
	}
	if(i==3) 
	{
		inse('<table width="400" '+cp+' height="100%"><tr><td align=center valign=top>'+
			 '<table width="400" '+cp+' border=0><tr>'+mmore(3)+'</tr></table>'+
			 '<table border=0 bgcolor="#DDDDDD" width=400 '+cp+'><tr><td><hr>'+
			 '<center>I wanna thank these people for their help:<table width="100%"><tr>'+
			 '<td class=b align=center><a href="http://www.pc-anfaenger.de/" target="_blank">Antje</a></td>'+
			 '<td class=b align=center><a href="http://www.teamone.de/selfhtml/" target="_blank">Stefan</a></td>'+
			 '<td class=b align=center><a href="http://www.worldguitar.com/" target="_blank">Matt</a></td>'+
			 '</tr><tr>'+
			 '<td align=center>(JavaScript <img src="x/gm.gif" width=20 height=12 border=0 alt="">)</td>'+
			 '<td align=center>(SelfHTML <img src="x/gm.gif" width=20 height=12 border=0 alt="">)</td>'+
			 '<td align=center>(Advertising/Graphics)</td>'+
			 '</tr></table><br><table width="100%"><tr>'+
			 '<td align=center><A target="_blank" HREF="http://www.sheetmusicplus.com/a/logo.html?id=51000"><img src="http://gfx.sheetmusicplus.com/store/gfx/smp_logo_150_black.gif" width=150 height=40 border=0></a></td>'+
			 '<td align=center><A target="_blank" HREF="http://www.sheetmusicplus.com/a/mslogo.html?id=51000"><img src="http://gfx.sheetmusicplus.com/store/gfx/ms_logo_150_white.gif" width=150 height=40 border=0></a></td>'+
			 '</tr></table><br>'+
			 ''+
			 '</center></td></tr></table><img src="x/shadow.gif" width="400" height=6></td></tr></table>');
	}
	
	
	if(i==4) 
	{
		inse('<table width="400" '+cp+' height="100%"><tr><td align=center valign=top>'+
			 '<table width="400" '+cp+' border=0><tr>'+mmore(4)+'</tr></table>'+
			 '<table border=0 bgcolor="#DDDDDD" width=400 '+cp+'><tr><td><hr>'+
			 '<table cellspacing=5><tr><td><font face="Verdana" size="-1">'+
			 '<div align="justify">'+
			 '<b>Privacy Policy:</b><br><font size="-1">'+
			 'WS64.com is committed to your right to privacy. '+
			 'We use an outside ad company to display ads on our site. '+
			 'These ads may contain cookies. '+
			 'Cookies received with banner ads are collected by our ad company, and we do not have access to this information.'+
			 '</font><br><br><b>Contact Info:</b><br><font size="-1">'+
			 'Have problems or concerns regarding your privacy on this site? Contact Us: '+
			 '<a href="mailto:ws64@unforgettable.com">'+
			 '<font color="#003399">WS64.com</font></a></div></font><br>'+
			 '<center><A target="_blank" HREF="http://www.sheetmusicplus.com/a/logo.html?id=51000"><img src="http://gfx.sheetmusicplus.com/store/gfx/smp_logo_150_black.gif" width=150 height=40 border=0></a>'+
			 '<A target="_blank" HREF="http://www.sheetmusicplus.com/a/mslogo.html?id=51000"><img src="http://gfx.sheetmusicplus.com/store/gfx/ms_logo_150_white.gif" width=150 height=40 border=0></a></center>'+
			 '</td></tr></table></td></tr></table><img src="x/shadow.gif" width="400" height=6></td></tr></table>');
	}
}



function inse(s)
{
	if (document.all)
	{
		document.all.ore.innerHTML=s;
	}
	else
	{
		document.erom.document.open();
		document.erom.document.write(s);
		document.erom.document.close();
	}
}

function eads(i){if (!i) i = Math.round(Math.random() * 5 - 0.5);document.write('<A target="_blank" HREF="http://www.eads.com/adserve/adserve.dll/link?KA28835,0,',i,'"><IMG SRC="http://www.eads.com/adserve/adserve.dll/banner?KA28835,0,',i,'" HEIGHT=55 border=0 WIDTH=460 ALT="Click Here to Visit Our Sponsor"></A>');}
function tekno(){var i = Math.round(Math.random() * 100000 + 0.5);document.writeln('<SCRIPT LANGUAGE="JavaScript" SRC="http://servedby.advertising.com/site=3139/bnum='+i+'"></SCRIPT>');document.writeln('<NOSCRIPT><A HREF="http://servedby.advertising.com/click/site=3139/bnum='+i+'" target="_top"><IMG SRC="http://servedby.advertising.com/site=3139/bnum='+i+'/bins=1/rich=0" border="0" alt="Click to learn more..."></A></NOSCRIPT>');}
function tekno_alt(i){document.writeln('<a href="http://www.teknosurf3.com/cgi-bin/ads.pl?imemine+F+index+'+i+'+advert=NonSSI"><img src="http://www.teknosurf3.com/cgi-bin/ads.pl?imemine+F+index+'+i+'" valign=top></a>');}
function tekn2(i){document.writeln('<SCRIPT LANGUAGE="JavaScript" SRC="http://servedby.advertising.com/site=3139/size=88031/bnum='+i+'"></SCRIPT>');document.writeln('<NOSCRIPT><A HREF="http://servedby.advertising.com/click/site=3139/bnum='+i+'" target="_top"><IMG SRC="http://servedby.advertising.com/site=3139/size=88031/bnum='+i+'/bins=1/rich=0" border="0" width=88 height=31 alt="Click to learn more..."></A></NOSCRIPT>');}
function tekn2_alt(i){document.writeln('<a href="http://www.teknosurf3.com/cgi-bin/ads.pl?imemine+Z+index+'+i+'+advert=NonSSI" target="new"><img src="http://www.teknosurf3.com/cgi-bin/ads.pl?imemine+Z+index+'+i+'" border="0"></a>');}
function tvmv(){var i = Math.round(Math.random() * 100000 + 0.5);document.writeln('<IFRAME WIDTH=468 HEIGHT=60 NORESIZE SCROLLING=No FRAMEBORDER=0 MARGINHEIGHT=0 MARGINWIDTH=0');document.writeln('SRC="http://adforce.imgis.com/?adiframe|2.0|87|131179|1|1|misc=keychord'+i+';">');document.writeln('<script language=javascript src="http://adforce.imgis.com/?addyn|2.0|87|131179|1|1|misc=keychord'+i+';loc=700;">');document.writeln('</script>');document.writeln('</IFRAME>');document.writeln('<br>');}
function dc() {var i = Math.round(Math.random() * 1000 + 0.5);document.write("<br><iframe src='http://ads.datais.com/ads/ad.cgi?WS64-ad"+i+"&lmth=iframe&chnc=true'");document.writeln(" height=60 width=468 border=0 marginheight=0 scrolling='no' marginwidth=0 frameborder='no'>");document.writeln('<a href="http://ads.datais.com/ads/ad.cgi?WS64-link'+i+'&chnc=true" target="_top">');document.writeln('<img src="http://ads.datais.com/ads/ad.cgi?WS64-ad'+i+'&chnc=true" border=0');document.writeln('   alt="Click here to visit our sponsor" width="468" height="60"></a>');document.writeln('</iframe>');}
function amz(a,b,c){document.write('<a class="a" target="_blank" href="http://www.amazon.com/exec/obidos/ASIN/'+a+'/ws64">'+b+'</a>'+c);}

// -->
