function loadSoundCloud(userConfig) {
		/*
  	Sets the temporary config to the config passed by the user so we can make changes
  	and not break the actual config.
  */
		tempUserConfig = userConfig;

		/*
  	Gets the head tag for the document and create a script element.
  */
		var head = document.getElementsByTagName('head')[0];
		var script = document.createElement('script');

		script.type = 'text/javascript';

		/*
  	URL to the remote soundcloud SDK
  */
		script.src = 'https://connect.soundcloud.com/sdk.js';
		script.onreadystatechange = initSoundcloud;
		script.onload = initSoundcloud;

		/*
  	Add the script to the head of the document.
  */
		head.appendChild(script);
	}
/**
  * Loads the soundcloud SDK for use with Amplitude so the user doesn't have
  * to load it themselves.
  * With help from: http://stackoverflow.com/questions/950087/include-a-javascript-file-in-another-javascript-file
  *
  * @access public
  * @param {object} userConfig 	- The config defined by the user for AmplitudeJS
  */
Loads the soundcloud SDK for use with Amplitude so the user doesn't have
to load it themselves.

@access public
@param {object} userConfig  - The config defined by the user for AmplitudeJS
Loads the soundcloud SDK for use with Amplitude so the user doesn ' t have to load it themselves . @access public @param { object } userConfig - The config defined by the user for AmplitudeJS
function loadSoundCloud(userConfig) {
		tempUserConfig = userConfig;
		var head = document.getElementsByTagName('head')[0];
		var script = document.createElement('script');
		script.type = 'text/javascript';
		script.src = 'https://connect.soundcloud.com/sdk.js';
		script.onreadystatechange = initSoundcloud;
		script.onload = initSoundcloud;
		head.appendChild(script);
	}
function loadSoundCloud ( userConfig ) { tempUserConfig = userConfig ; var head = document . getElementsByTagName ( 'head' ) [ 0 ] ; var script = document . createElement ( 'script' ) ; script . type = 'text/javascript' ; script . src = 'https://connect.soundcloud.com/sdk.js' ; script . onreadystatechange = initSoundcloud ; script . onload = initSoundcloud ; head . appendChild ( script ) ; }
Loads the soundcloud SDK for use with Amplitude so the user doesn't have
 to load it themselves.
Loads the soundcloud SDK for use with Amplitude so the user doesn ' t have to load it themselves .
/*
  	Sets the temporary config to the config passed by the user so we can make changes
  	and not break the actual config.
  */ /*
  	Gets the head tag for the document and create a script element.
  */ /*
  	URL to the remote soundcloud SDK
  */ /*
  	Add the script to the head of the document.
  */