// JavaScript Document

var audioWindow;
function toAudioWindow(audioUrl)
{
	if (!audioWindow || audioWindow.closed)
	{
		audioWindow = window.open(audioUrl, "audio_window", 
					"status,height=170,width=400,left=10,top=10");
	}
	else
	{
		// window already open, bring it to the front
		audioWindow.focus();
	}
}

var audioServiceWindow;
function toAudioServiceWindow(audioUrl)
{
	if (!audioServiceWindow || audioServiceWindow.closed)
	{
		audioServiceWindow = window.open(audioUrl, "audioservice_window", 
					"status,scrollbars=yes,height=750,width=700,left=20,top=20");
	}
	else
	{
		// window already open, bring it to the front
		audioServiceWindow.focus();
	}
}

