//请修改以下参数
var LiveReceptionCode_ToRight=1;
//说明：浮动图标的水平方向对齐方式，1为右对齐，0为左对齐；
var LiveReceptionCode_helpimgleft=0;
//说明：浮动图标的水平方向的边距；
var LiveReceptionCode_ToBottom=0;
//说明：浮动图标的垂直方向对齐方式，1为底部对齐，0为顶部对齐；
var LiveReceptionCode_helpimgtop=10;
//说明：浮动图标的垂直方向的边距；
var LR_List_w=110;  //列表框的宽度，需要和三张图片的宽度一致[像素]
var LR_List_left=7;  //列表框中部里面文字距离左边的距离[像素]
var LR_List_lineheight=19;  //列表框中部里面文字的行高[像素]
var LR_List_upimg='http://www.dcjktea.com/images/shangwutong/top.gif';//列表框顶部的图片网址
var LR_List_downimg='http://www.dcjktea.com/images/shangwutong/bottom.gif';//列表框底部的图片网址
var LR_List_bgimg='http://www.dcjktea.com/images/shangwutong/middle.gif';//列表框中部的平铺背景图片
//请修改下面的代码里的文本内容，如 "在线" "繁忙" "发送给" "的留言" 等
function outputOperatorlist(name,friendname,state)
{
	if(state>=3)
	{
		return '<tr><td height="'+LR_List_lineheight+'"></td><td>'+unescape(friendname.replace(/\+/g,'%20'))+'[<a href="javascript:openZoosWindow_olist(\'chatwin\',\'&oname='+name+'\')" target="_self"><font style="COLOR: red;">在线</font></a>]</td></tr>';
	}
	else if(state==2)
	{
		var e=escape('发送给'+unescape(name.replace(/\+/g,'%20'))+'的留言');
		return '<tr><td height="'+LR_List_lineheight+'"></td><td>'+unescape(friendname.replace(/\+/g,'%20'))+'[<a href="#"  onclick="return false;" target="_self"><font style="COLOR: purple;" onclick=openZoosWindow_olist(\'sendnote\',\'&e='+name+'\')>繁忙</font></a>]</td></tr>';
	}
	else if(state==1)
	{
		var e=escape('发送给'+unescape(name.replace(/\+/g,'%20'))+'的留言');
		return '<tr><td height="'+LR_List_lineheight+'"></td><td>'+unescape(friendname.replace(/\+/g,'%20'))+'[<a href="#"  onclick="return false;" target="_self"><font style="COLOR:#ccc;" onclick=openZoosWindow_olist(\'sendnote\',\'&e='+name+'\')>离开</font></a>]</td></tr>';
	}
	else if(state==0)
	{
		var e=escape('发送给'+unescape(name.replace(/\+/g,'%20'))+'的留言');
		return '<tr><td height="'+LR_List_lineheight+'"></td><td>'+unescape(friendname.replace(/\+/g,'%20'))+'[<a href="#"  onclick="return false;" target="_self"><font style="COLOR:#ccc;" onclick=openZoosWindow_olist(\'sendnote\',\'&e='+name+'\')>离线</font></a>]</td></tr>';
	}
}

var LiveReceptionCode_need_help_html='<table width="'+LR_List_w+'" border="0" cellpadding="0" cellspacing="0"><tr><td><img src="'+LR_List_upimg+'" width="'+LR_List_w+'" id="LiveReceptionCode_need_help" name="LiveReceptionCode_need_help"/></td></tr><tr><td ><img src="http://www.dcjktea.com/images/shangwutong/01.gif"></td></tr><tr><td background="'+LR_List_bgimg+'"><table width="110" border="0" cellspacing="0" cellpadding="0"><tr><td width="'+LR_List_left+'" height="0"></td><td></td></tr>';

//内科
var lr_key;
lr_key=escape("在线医生1").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);

lr_key=escape("在线医生3").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);
	
lr_key=escape("在线医生5").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);




//风湿
LiveReceptionCode_need_help_html+='</table></td></tr><tr><td border="0" cellspacing="0" cellpadding="0"><img src="http://www.dcjktea.com/images/shangwutong/02.gif"></td></tr><tr><td background="'+LR_List_bgimg+'"><table width="110" border="0" cellspacing="0" cellpadding="0"><tr><td width="'+LR_List_left+'" height="0"></td></tr>';

var lr_key;

lr_key=escape("在线医生1").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);
	
lr_key=escape("在线医生3").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);
	
lr_key=escape("在线医生5").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);

	
lr_key=escape("在线医生6").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);
	
	lr_key=escape("在线医生8").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);
	
	lr_key=escape("在线医生9").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);
	
	lr_key=escape("在线医生10").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);
//还可以增加多个自定义客服...



//妇科
LiveReceptionCode_need_help_html+='</table></td></tr><tr><td><img src="http://www.dcjktea.com/images/shangwutong/03.gif"></td></tr><tr><td background="'+LR_List_bgimg+'"><table width="110" border="0" cellspacing="0" cellpadding="0"><tr><td width="'+LR_List_left+'" height="0"></td><td></td></tr>';

var lr_key;

lr_key=escape("在线医生8").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);

lr_key=escape("在线医生3").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);
	
//还可以增加多个自定义客服...




//肿瘤
LiveReceptionCode_need_help_html+='</table></td></tr><tr><td border="0" cellspacing="0" cellpadding="0"><img src="http://www.dcjktea.com/images/shangwutong/04.gif"></td></tr><tr><td background="'+LR_List_bgimg+'"><table width="110" border="0" cellspacing="0" cellpadding="0"><tr><td width="'+LR_List_left+'" height="0"></td></tr>';

var lr_key;

lr_key=escape("在线医生1").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);

lr_key=escape("在线医生3").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);

lr_key=escape("在线医生6").toUpperCase();
if(typeof(Operatorlist[lr_key]) != 'undefined')
	LiveReceptionCode_need_help_html+=outputOperatorlist(Operatorlist[lr_key].name,Operatorlist[lr_key].friendname,Operatorlist[lr_key].state);


LiveReceptionCode_need_help_html+='</table></td></tr><tr><td><img src="'+LR_List_downimg+'"  width="'+LR_List_w+'" /></td></tr></table>';
