Setup
Add the tags to links(or maybe anything):
<a class="cws(C)">C</a>
Call the Script:
<script src="http://cws.danfolkes.com/cwsscript.js" type="text/javascript"></script>
<script>
cwsinit('ABCDEF1234');
</script>
Example:
cws(C,1)
cws(G) - Defaults to Chord
cws(Am) - Defaults to Chord