Click on a team, it requests a chunk of JavaScript from the server, then runs it immediately.
We loop through all the links in #main, and attach functions to their ‘click’ events.
Each of these extracts the href of the link, requests it and runs its response (a chunk of JavaScript) immediately
The syntax it uses for this is ssGrabScript(el.href).
This introduces ssGrabScript, our function for calling JavaScript direct from the server.
We have similar functions we use to run scripts when submitting forms, namely ssPostScript and ssGetScript.