
var deptid;
deptid = "2"

function xlaALSprecheck2(){
	if ((document.body && typeof(document.body.innerHTML)) != 'undefined'){
		xlaALSrequest2();
	} else {
		alert('Sorry, but your browser does not support several features of this system.');
	}
}
function xlaALSrequest2(){
	//this is the als.asp one
	var w = 640, h = 480;
	if (document.all || document.layers) {
	   w = screen.availWidth;
	   h = screen.availHeight;
	}
	var leftPos = (w-520)/2, topPos = (h-520)/2;
	
	xlaALSwindow=window.open("http://www.fuzeqna.com/makenasupport/chat/UserPreChat.asp?deptid=2&ref=?deptid=2&UserType=1","ALSRoom","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=520,height=520,top=" + topPos + ",left=" + leftPos);
	xlaALSwindow.focus();
}

function xlaALScheckstatus2(){
	var nt=String(Math.random()).substr(2,10);
	var url = 'http://www.fuzeqna.com/makenasupport/chat/als.asp?DeptID=2&getstatus=1&nt=' + nt;
	document.getElementById("xlaALSstatusimg2").src=url;
	//document.getElementById("xlaALSstatusimg").src='/chat/als.asp?getstatus=1&nt=' + nt;
	
	//setTimeout("xlaALScheckstatus2();", 10000);
}
document.write("<a href='javascript:void(0);' onclick='javascript:xlaALSprecheck2()'><img src='' border=0 alt='..\/includes\/customer\/makenasupport\/images\/Makena live_chat_button.JPG' id=xlaALSstatusimg2><\/a><iframe src='http:\/\/www.fuzeqna.com\/makenasupport\/chat\/proactive.asp' id=xlaALSproactive width=0 height=0 style='visibility:hidden' frameborder=0><\/iframe>");

xlaALScheckstatus2();