function loadWebChat()
{
//	when the chat link on this page is clicked, this loadWebChat() function is triggered
//	when triggered, it does the following two things:
//		(1) launches a small popup window to control the applet, and
//		(2) opens a redirection url (that contains the chat applet code) in that new popup window

// ATTENTION Omni Web Developer:
// the REDIRECT_URL variable value set below will need to be edited to contain the name or IP of the Omni web server, rather
// than the IP address of the Adapt webserver, which is what currently appears there
	var redirect_url = "https://www.omniamerican.com/WebChat/WebChat.html";
	var w = "300";
	var h = "140";
	var name = "chat_window";
	var windowprops = "width=" + w + ",height=" + h + ",scrollbars=no";
	window.open(redirect_url,name,windowprops);
}

function loadWebCallback(queuename)
{
//	when the chat link on this page is clicked, this function is triggered
//	when triggered, it does the following things:
//		(1) launches a small popup window to control the applet, and
//		(2) opens the redirection url (that contains the web callback code) in that new popup window

// ATTENTION Omni Web Developer:
// the REDIRECT_URL variable value set below will need to be edited to contain the name or IP of the Omni web server, rather
// than the IP address of the Adapt webserver, which is what currently appears there
	var redirect_url = "https://www.omniamerican.com/WebChat/WebCallback.html?queue_name=" + queuename;
	var w = "300";
	var h = "280";
	var name = "callback_window";
	var windowprops = "width=" + w + ",height=" + h + ",scrollbars=no";
	window.open(redirect_url,name,windowprops);
}
