document.write ('<script src="http://www.tenchong.com/lhgdialog/lhgcore.min.js" type="text/javascript"></script>');
document.write ('<script src="http://www.tenchong.com/lhgdialog/lhgdialog.min.js" type="text/javascript"></script>');
document.writeln("<DIV id=divStay ");
document.writeln("style=\"LEFT: 5px; WIDTH: 37px; POSITION: absolute; HEIGHT: 26px\">");
document.writeln("<TABLE cellSpacing=0 cellPadding=0 width=\"100%\" border=0>");
document.writeln("  <TBODY>");
document.writeln("  <TR>");
document.writeln("    <TD vAlign=top width=\"7%\">&nbsp; <\/TD><\/TR><\/TBODY><\/TABLE><\/DIV>");
document.writeln("<SCRIPT language=javascript>");
document.writeln("function picsize(obj,MaxWidth){");
document.writeln("  img=new Image();\/\/新建一個Image對象，用這個對象的width就不會出現width為0的現象");
document.writeln("  img.src=obj.src;");
document.writeln("  if (img.width>MaxWidth)");
document.writeln("  {");
document.writeln("    return MaxWidth;");
document.writeln("  }");
document.writeln("  else");
document.writeln("  {");
document.writeln("    return img.width;");
document.writeln("  }");
document.writeln("}");
document.writeln("function CloseQQ()");
document.writeln("{");
document.writeln("	divStayTopLeft.style.display=\"none\";");
document.writeln("}");
document.writeln("<\/SCRIPT>");
document.writeln("<DIV id=divStayTopLeft style=\"POSITION: absolute\">");
document.writeln("<SCRIPT language=javascript>");
document.writeln(" if(document.documentElement.offsetWidth < 900){	");
document.writeln("				{");
document.writeln("    divStayTopLeft.style.display=\"none\";");
document.writeln(" 				}");
document.writeln(" 				}");
document.writeln("var test_time; today = new Date();");
document.writeln("test_time=today.getHours();");
document.writeln("test_minu=today.getMinutes();");
document.writeln("test= test_time *60 + test_minu ;");
document.writeln("qq_show=1;");
document.writeln("if( (test >11*60+50 && test <13*60+30) || test >18*60+3 ){")
document.writeln("qq_show = 0 ;}")
document.writeln(" if( test >60 && test< 8*60+30 ){");
document.writeln("    divStayTopLeft.style.display=\"none\";");
document.writeln(" 	");
document.writeln(" 				}");
document.writeln("");
document.writeln("<\/SCRIPT>");
document.writeln("<table id=\"__01\" width=\"114\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("	<tr>");
document.writeln("		");
document.writeln("      <td height=\"54\"  valign=\"top\"> ");
document.writeln("      <img src=\"http:\/\/www.tenchong.com\/qq\/qq_01.gif\" border=\"0\" usemap=\"#Map\" ><\/td>");
document.writeln("	<\/tr>");

document.writeln("<tr><td height=\"16\"  background=\"http:\/\/www.tenchong.com\/qq\/qq_02.gif\" width=\"114\"  alt=\"\">");
document.writeln("&nbsp;&nbsp;&nbsp;&nbsp;<a target=blank href=http://wpa.qq.com/msgrd?V=1&amp;Uin=751503375&amp;Site=www.tenchong.com&amp;Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:751503375:4 alt=点击这里给我发消息><font style=font-size:12px;TEXT-DECORATION:none;color:#000000;> 余先生</font></a>");
document.writeln("<\/td><\/tr>");

//document.writeln("<tr><td height=\"16\"  background=\"http:\/\/www.tenchong.com\/qq\/qq_02.gif\" width=\"114\"  alt=\"\">");
//document.writeln("&nbsp;&nbsp;&nbsp;&nbsp;<a target=blank href=http://wpa.qq.com/msgrd?V=1&amp;Uin=417611849&amp;Site=www.tenchong.com&amp;Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:417611849:4 alt=点击这里给我发消息><font style=font-size:12px;TEXT-DECORATION:none;color:#000000;> 余先生</font></a>");
//document.writeln("<\/td><\/tr>");

document.writeln("<tr><td height=\"16\"  background=\"http:\/\/www.tenchong.com\/qq\/qq_02.gif\" width=\"114\"  alt=\"\">");
document.writeln("&nbsp;&nbsp;&nbsp;&nbsp;<a target=blank href=http://wpa.qq.com/msgrd?V=1&amp;Uin=1152136167&amp;Site=www.tenchong.com&amp;Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:1152136167:4 alt=点击这里给我发消息><font style=font-size:12px;TEXT-DECORATION:none;color:#000000;> 卫小姐</font></a>");
document.writeln("<\/td><\/tr>");

document.writeln("<tr><td height=\"16\"  background=\"http:\/\/www.tenchong.com\/qq\/qq_02.gif\" width=\"114\"  alt=\"\">");
document.writeln("&nbsp;&nbsp;&nbsp;&nbsp;<a target=blank href=http://wpa.qq.com/msgrd?V=1&amp;Uin=859800299&amp;Site=www.tenchong.com&amp;Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:859800299:4 alt=点击这里给我发消息><font style=font-size:12px;TEXT-DECORATION:none;color:#000000;> 李先生</font></a>");
document.writeln("<\/td><\/tr>");



document.writeln("<tr><td height=\"16\"  background=\"http:\/\/www.tenchong.com\/qq\/qq_02.gif\" width=\"114\"  alt=\"\">");
document.writeln("&nbsp;&nbsp;&nbsp;&nbsp;<a target=blank href=http://wpa.qq.com/msgrd?V=1&amp;Uin=1430478329&amp;Site=www.tenchong.com&amp;Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:1430478329:4 alt=点击这里给我发消息><font style=font-size:12px;TEXT-DECORATION:none;color:#000000;> 张先生</font></a>");
document.writeln("<\/td><\/tr>");

document.writeln("<tr><td height=\"32\"  background=\"http:\/\/www.tenchong.com\/qq\/qq_02.gif\" width=\"114\"  alt=\"\">");
document.writeln("&nbsp;&nbsp;&nbsp;&nbsp;-----------------</br>");
document.writeln("&nbsp;&nbsp; <a target=blank href=http://wpa.qq.com/msgrd?V=1&amp;Uin=751503375&amp;Site=www.tenchong.com&amp;Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:751503375:4 alt=点击这里给我发消息><font style=font-size:12px;TEXT-DECORATION:none;color:#000000;>渠道代理-余生</font></a></br>");
document.writeln("&nbsp;&nbsp;&nbsp; 13510358585</br>");
document.writeln("&nbsp;&nbsp;&nbsp;&nbsp;-----------------</br>");
document.writeln("<\/td><\/tr>");

//document.writeln("<tr><td height=\"16\"  background=\"http:\/\/www.tenchong.com\/qq\/qq_02.gif\" width=\"114\"  alt=\"\">");
//document.writeln("&nbsp;&nbsp;&nbsp;&nbsp;<a target=blank href=http://wpa.qq.com/msgrd?V=1&amp;Uin=800013698&amp;Site=www.tenchong.com&amp;Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:800013698:4 alt=点击这里给我发消息><font style=font-size:12px;TEXT-DECORATION:none;color:#000000;> 腾创网络</font></a>");
//document.writeln("<\/td><\/tr>");

//document.writeln("<tr><td height=\"16\"  background=\"http:\/\/www.tenchong.com\/qq\/qq_02.gif\" width=\"114\"  alt=\"\">");
//document.writeln("&nbsp;&nbsp;&nbsp;&nbsp;<a target=blank href=http://wpa.qq.com/msgrd?V=1&amp;Uin=1163875267&amp;Site=www.tenchong.com&amp;Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:1163875267:4 alt=点击这里给我发消息><font style=font-size:12px;TEXT-DECORATION:none;color:#000000;>郑先生</font></a>");
//document.writeln("<\/td><\/tr>");

//document.writeln("<tr><td height=\"16\"  background=\"http:\/\/www.tenchong.com\/qq\/qq_02.gif\" width=\"114\"  alt=\"\">");
//document.writeln("&nbsp;&nbsp;&nbsp;&nbsp;<a target=blank href=http://wpa.qq.com/msgrd?V=1&amp;Uin=1152136167&amp;Site=www.tenchong.com&amp;Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:1152136167:4 alt=点击这里给我发消息><font style=font-size:12px;TEXT-DECORATION:none;color:#000000;> 杜小姐</font></a>");
//document.writeln("<\/td><\/tr>");

document.writeln("<tr><td height=\"6\"  background=\"http:\/\/www.tenchong.com\/qq\/qq_02.gif\" width=\"114\"  alt=\"\">");
document.writeln("");
document.writeln("<\/td><\/tr>");

document.writeln("	<tr >");
document.writeln("		<td height=\"142\" valign=\"top\" background=\"http:\/\/www.tenchong.com\/qq\/qq_04.gif\" style=\"background-repeat: repeat-y\"  alt=\"腾创网络\">");
document.writeln("	<div style=\"width:100%; padding-top:5px; height:21px; text-align:center; line-height:21px; float:left; color:#02fc25; font-size:12px; text-indent:4px\" >");
document.writeln("  <a id=\"demo\" href=\"javascript:openRoom()\" style=\"font-size:18px;color:#ff0000;font-weight:bold\">在线演示</a> <img src=\"http:\/\/www.tenchong.com\/qq\/hot.gif\"><\/div>");
document.writeln("	<div style=\"width:100%; height:21px; text-align:center; line-height:21px; float:left; color:#02fc25; font-size:12px; text-indent:4px\" >");
document.writeln("  <a id=\"apply\" href=\"javascript:openWindow()\" style=\"font-size:16px;color:#ff0000;font-weight:bold\">免费申请试用</a><\/div>");
document.writeln("  <div id=\"txtInfoDiv\" style=\"width:100%;height:95px;\">");
document.writeln("	<div style=\"width:100%; height:18px; text-align:center; float:left; color:#ffffff; font-size:12px; text-indent:4px\" >");
document.writeln("  客服现场演示<\/div>");
document.writeln("	<div style=\"width:100%; height:18px; text-align:center; float:left; color:#ffffff; font-size:12px; text-indent:4px\" >");
document.writeln("  9:00~18:00<\/div>");
document.writeln("	<div style=\"width:100%; height:21px; text-align:center; line-height:21px; float:left; color:#02fc25; font-size:12px; text-indent:4px\" >0755-26070697");
document.writeln("  <\/div>");
document.writeln("	<div style=\"width:100%; height:18px; text-align:center; float:left; color:#ffffff; font-size:12px; text-indent:4px\" >非工作时间请致电:");
document.writeln("  <\/div>");
document.writeln("	<div style=\"width:100%; height:18px; text-align:center; float:left; color:#ffffff; font-size:12px; text-indent:4px\" >");
var d=new Date();
var weekday=new Array(7);
weekday[0]="李:13689555399";
weekday[1]="余:13510358585";
weekday[2]="余:13510358585";
weekday[3]="余:13510358585";
weekday[4]="张:13760212243";
weekday[5]="张:13760212243";
weekday[6]="卫:15875588052";
document.write(weekday[d.getUTCDay()]);
function changeColor(){ 
	var color="#f00|#0f0|#00f|#880|#808|#088|yellow|green|blue|gray"; 
	color=color.split("|"); 
	var demo = document.getElementById("demo");
	if(demo != null){
		demo.style.color=color[parseInt(Math.random() * color.length)]; 
	}

	var apply = document.getElementById("apply");
	if(apply != null){
		apply.style.color=color[parseInt(Math.random() * color.length)]; 
	}
} 
setInterval("changeColor()",500); 
document.writeln("  <\/div>");
document.writeln("  <\/div>");
document.writeln("  <div id=\"serverVideoDiv\" style=\"width:100%;text-align:center;height:95px;display:none\">");
document.writeln(" <iframe id=\"player\" width=\"110\" height=\"94\" src=\"http://meeting.tenchong.com:5080/tcplayer_min/?playerWidth=110&playerHeight=95\" scrolling=\"no\" frameborder=\"0\" marginHeight=\"0\" marginWidth=\"0\"></iframe>");
document.writeln("  <\/div>");
document.writeln("  <\/div>");
//document.writeln("	<div style=\"width:100%; height:18px; text-align:center; float:left; color:#ffffff; font-size:12px; text-indent:4px\" >");
//document.writeln("  <span id=\"go\"><\/span>");
//document.writeln("  <\/div>");
document.writeln("		<\/td>");
document.writeln("	<\/tr>");
document.writeln("<tr><td width=\"114\" height=\"3\"  background=\"http:\/\/www.tenchong.com\/qq\/qq_05.gif\">");
document.writeln("");
document.writeln("<\/td><\/tr>");
document.writeln("<\/table>");
document.writeln("");
document.writeln("<\/div>");
document.writeln("");
document.writeln("<SCRIPT type=text\/javascript>");
document.writeln("function FloatTop()");
document.writeln("{");
document.writeln("	 var startX1 =document.documentElement.offsetWidth-134 ,startY1 = 30;");
document.writeln("	 var startX2 =0,startY2 = 100;");
document.writeln("	 var ns = (navigator.appName.indexOf(\"Netscape\") != -1);");
document.writeln("	 var d = document;");
document.writeln("	 function ml(id,startX,startY)");
document.writeln("	 {");
document.writeln("		  var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];");
document.writeln("		  if(d.layers)el.style=el;");
document.writeln("		  el.sP=function(x,y){this.style.left=x;this.style.top=y;};");
document.writeln("		  el.x = startX;");
document.writeln("		  el.y = startY;");
document.writeln("		  return el;");
document.writeln("	 }");
document.writeln("	 window.stayTopLeft=function()");
document.writeln("	 {");
document.writeln("		  var pY = ns ? pageYOffset : document.documentElement.scrollTop;");
document.writeln("		  ftlObj.y += (pY + startY1 - ftlObj.y)\/8;");
document.writeln("		  ftlObj1.y += (pY + startY2 - ftlObj1.y)\/8;");
document.writeln("		  ftlObj.sP(document.documentElement.scrollLeft+document.documentElement.offsetWidth-134, ftlObj.y);");
document.writeln("		  ftlObj1.sP(ftlObj1.x, ftlObj1.y);");
document.writeln("		  setTimeout(\"stayTopLeft()\", 30);");
document.writeln("	 }");
document.writeln("	 ftlObj = ml(\"divStay\",document.documentElement.scrollLeft+document.documentElement.offsetWidth-134,0);");
document.writeln("	 ftlObj1 = ml(\"divStayTopLeft\",0,30);");
document.writeln("	 stayTopLeft();");
document.writeln("}");
document.writeln("FloatTop();");
document.writeln("<\/SCRIPT>");
document.writeln("<map name=\"Map\">");
document.writeln("  <area onclick=CloseQQ(); shape=\"rect\" coords=\"92,7,110,24\" href=\"#\">");
document.writeln("<\/map>");

function serverOnline(data){
	if(data.online=="1"){
	   document.getElementById('txtInfoDiv').style.display='none';
	   document.getElementById('serverVideoDiv').style.display='';
    }else{
	   document.getElementById('txtInfoDiv').style.display='';
	   document.getElementById('serverVideoDiv').style.display='none';
    }
}

function appendScript(){
	var url = "http://meeting.tenchong.com:5080/tcmeeting_red5_chat/servlet/Proxy?action=jsonServerOnline&pw=1&roomID=1";        //Outer JS URL
	//url = "http://113.105.222.82:5081/test_tcmeeting_gica_red5_chat/servlet/Proxy?action=jsonServerOnline&pw=1&roomID=1";
	var script = document.createElement('script');
	script.setAttribute('src', url);
	document.getElementsByTagName('head')[0].appendChild(script);
}

function openWindow()
{
	var selectAdminDG = new J.dialog({ id:'selectPanel', iconTitle:false, title: '申请试用', page:'http://meeting.tenchong.com/apply.htm',width:460, height:550 });
    selectAdminDG.ShowDialog();   
}

function openRoom()
{
	window.open("http://meeting.tenchong.com/chat/demoSwf.jsp?roomID=1&visitorFlag=1","_top");
}

setTimeout("appendScript()",1000);
window.setInterval("appendScript()",60000);
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F447462909b1538e79e274678ecb29b99' type='text/javascript'%3E%3C/script%3E"));
document.write ("<div style=\"display:none\"><script language=\"javascript\" src=\"http:\/\/js.users.51.la/4849326.js\"><\/script></div>");