$(document).ready(function() {
	
/*	var ap_instances = [];
	
	function ap_stopAll(playerID) {
		for(var i = 0; i < ap_instances.length; i++) {
			try {
				if(ap_instances[i] != playerID) document.getElementById("audioplayer" + ap_instances[i].toString()).SetVariable("closePlayer", 1);
				else document.getElementById("audioplayer" + ap_instances[i].toString()).SetVariable("closePlayer", 0);
			} catch( errorObject ) {
				// stop any errors
			}
		}
	}
	
	
	$('object[id^="audioplayer"]').each(function() {
		ap_instances.push($(this).attr('id').substr(11));
	});
*/

});
