// JavaScript Document
var eglvchathandle = null;  
	function openHelp() {   
		try{  
			if( eglvchathandle != null && eglvchathandle.closed == false )
				{  eglvchathandle.focus();  return;  }  
				}  
			catch(err){}  
			var refererName = "Bingohuone FIN";  
			refererName = encodeURIComponent(refererName);  
			var refererurl = encodeURIComponent(document.location.href);  
			var hashIndex = refererurl.lastIndexOf("#");  
				if(hashIndex != -1){  
				refererurl = refererurl.substring(0,hashIndex);  
				}  
			var w = 630, h = 440;  
			var t = 0, l = 0;  
				if (window.screen) {  
					if (window.screen.availWidth == 800)  
					w = window.screen.availWidth * 41 / 100;  
					else {  w = window.screen.availWidth * 31 / 100;  
					}  
				h = window.screen.availHeight * 95 / 100;  
				l = (window.screen.availWidth - w)*98/100;  
				}  
			var params =  "width=" + w + ",height=" + h + ",left=" + l + ",top=" + t + ",resizable=no,scrollbars=yes,toolbar=no";  
			eglvchathandle = window.open( "http://88.196.161.18/system/LiveCustomerServlet.egain?eglvcmd=CustEntry&entryPointName=Bingohuone FIN&eglvepid=1026&departmentid=999&eglvpartid=1&referer="+refererurl+"&eglvrefname="+refererName,"",params)  
			}
			
Event.observe(window, "load", function() {   if (igame) {  new PeriodicalExecuter(function(pe) {  igame_update();  }, 30);  igame.printWinners();  igame.printHighestJackpot();  }  });  
