function GoLiveTalk_OpenChat(url){
	var width = 433;
	var height = 300;
	var v_Top = Math.max( 0, ( screen.availHeight - height - 40 ) / 2 );
	var v_Left = Math.max( 0, ( screen.availWidth - width - 20 ) / 2 );
	popw = window.open(url, 'anonim', 'status=no,copyhistory=no,directories=no,menubar=no,location=no,resizable=yes,scrollbars=no,toolbar=no,width='+width+',height='+height+',top='+v_Top+',left='+v_Left);
	return false;
}

function GLC_RefreshImg(imgID, imgSrc){
	var img = document.getElementById(imgID);
	img.src = imgSrc + "&refresh=" + Math.random();
}

function GLC_Refresh(img, sec)
{
	if ((typeof(sec) != 'number') || sec < 1) sec = 60;
	var timeout = sec*1000;
	var refresher = window.setInterval("GLC_RefreshImg('"+img.id+"', '"+img.src+"');", timeout);
}