Using LoadStyleSheet is a simple matter of calling the function, passing it the URL of the
desired CSS file as a string; and Example One illustrates this. Here, clicking on the client area of the browser window
causes the OnClick event handler to execute, which calls LoadStyleSheet
before continuing.
Note that style-sheet loading is asynchronous, meaning that the call to LoadStyleSheet may return before
the file has been retrieved from the server. This means that attempts to access and manipulate the attributes of
a given element's Style object subsequent to a call to LoadStyleSheet may fail.
Proprietary steps must therefore be taken to guard against this, as JavaScript does not support a native synchronisation mechanism.