﻿function qqMenu()
{
	document.writeln("	<div style='width:113px;right:10px;top:120px;position : absolute;VISIBILITY: visible; Z-INDEX: 100;' id='divqqMenu' >");
	
	document.writeln("		<table id='' width='113' border='0' cellpadding='0' cellspacing='0'>");
	document.writeln('			<tr>');
	document.writeln("				<td><img src='images/qq_01.gif' width='113' height='44' alt='' usemap='#Map' border='0'><\/td>");
	document.writeln("			</tr>");
	document.writeln("			<tr>");
	document.writeln("				<td style=' background:url(images/qq_02.gif) repeat-y;'>");
	
	document.writeln("					<table width='93' border='0' cellspacing='0' cellpadding='0' align='center'>");
  	document.writeln("						<tr>");
    document.writeln("							<td>");
	
	document.writeln("								<table width='100%' border='0' cellspacing='0' cellpadding='0'>");
	document.writeln(" 									<tr>");
    document.writeln("										<td>&nbsp;&nbsp;<img src='images/qq_05.gif'>&nbsp;<span class='STYLE1'>在线QQ</span></td>");
	document.writeln(" 									</tr>");
	document.writeln("									<tr>");
    document.writeln("										<td><img src='images/qq_09.gif'></td>");
	document.writeln(" 									</tr>");
    document.writeln("									<tr>");
    document.writeln(" 										<td style='padding-top:6px;'>");
	
	document.writeln("											<table  border='0' cellspacing='4' cellpadding='0' align='center'>");
	var online=new Array();
	var qq=new Array(0);
	
	var j=0;
	for (j = 0; j < 0; j++) 
	{
		online[j]=1;
		if (online[j]>0)
		{
			document.write ("<tr><td><a title='"+qq[j][2]+"'  href=tencent://message/?uin="+qq[j][0]+"&Site=TGidc.Com&Menu=yes><img  src=http://wpa.qq.com/pa?p=1:"+qq[j][0]+":4 border=0  align=bottom></a></td><td><a title='"+qq[j][2]+"'  href=tencent://message/?uin="+qq[j][0]+"&Site=TGidc.Com&Menu=yes class='a1'>"+qq[j][1]+"</a></td></tr>")
		}
		else
		{
			document.write ("<a title='"+qq[j][2]+"' target=blank href=tencent://message/?uin="+qq[j][0]+"&Site=TGidc.Com&Menu=yes><img src=/qqimg/offline.gif border=0 height=20 width=20>&nbsp;"+qq[j][1]+"</a><br>")
		}
	}
    document.writeln(" 											</table>");
	document.writeln("										</td>");
	document.writeln(" 									</tr>");
	document.writeln("								</table>");
	
	document.writeln("								<table width='100%' border='0' cellspacing='0' cellpadding='0' style='margin-top:10px;'>");
	document.writeln(" 									<tr>");
	document.writeln("  									<td>&nbsp;&nbsp;<img src='images/qq_05.gif'>&nbsp;<span class='STYLE1'>客服热线</span></td>");
	document.writeln("									</tr>");
	document.writeln("									<tr>");
	document.writeln("    									<td><img src='images/qq_09.gif'></td>");
	document.writeln("  								</tr>");
	document.writeln("  								<tr>");
	document.writeln("    									<td style='padding-top:2px;'>");
	document.writeln("											<table  border='0' cellspacing='0' cellpadding='0' align='center'>");
	document.writeln("      										<tr>");
	document.writeln("        											<td style='font-size:10px;color:#CCCCCC'>");
	
	document.writeln("                                                  </td>");
	document.writeln("      										</tr>");
    document.writeln("    										</table>");
	document.writeln("										</td>");
	document.writeln("  								</tr>");
	document.writeln("								</table>");
	
	document.writeln("								<table width='100%' border='0' cellspacing='0' cellpadding='0' style='margin-top:10px;'>");
	document.writeln("  								<tr>");
	document.writeln("    									<td>&nbsp;&nbsp;<img src='images/qq_05.gif'>&nbsp;<span class='STYLE1'>技术支持</span></td>");
	document.writeln("  								</tr>");
	document.writeln("  								<tr>");
	document.writeln("    									<td><img src='images/qq_09.gif'></td>");
	document.writeln("  								</tr>");
	document.writeln("  								<tr>");
	document.writeln("    									<td style='padding-top:2px;'>");
	document.writeln("											<table  border='0' cellspacing='0' cellpadding='0' align='center'>");
	document.writeln("      										<tr>");
	document.writeln("        											<td style='font-size:10px;color:#CCCCCC'>");
	
	document.writeln("                                                  </td>");
	document.writeln("      										</tr>");
	document.writeln("    										</table>");
	document.writeln("										</td>");
	document.writeln("  								</tr>");
	document.writeln("								</table>");
	document.writeln("							</td>");
	document.writeln("  					</tr>");
	document.writeln("					</table>");
		
	document.writeln("				</td>");
	document.writeln("			</tr>");
	document.writeln("			<tr>");
	document.writeln("				<td>");
	document.writeln("					<img src='images/qq_04.gif' width='113' height='39' alt=''></td>");
	document.writeln("			</tr>");
	document.writeln("		</table>");
	document.writeln("	</div>");
	document.writeln("<map name='Map'><area shape='circle' coords='101,11,8' href='javascript:void(0)' onclick=\"if(document.all.divqqMenu.style.display==\'none\'){ document.all.divqqMenu.style.display=\'\'} else {document.all.divqqMenu.style.display=\'none\'}\" title=\"点此关闭窗口\" style=\"cursor:hand\"></map>");
	//drag("divqqMenu",1);
	topright(); 
}
	
function topright() 
{ 
	window.setInterval("displaytopright()",20); 
} 

function displaytopright() 
{ 
	var theTop; 
	var theRight; 
	if (document.documentElement && document.documentElement.scrollTop) 
	{ 
		theRight = document.documentElement.scrollRight; 
		theTop = document.documentElement.scrollTop; 
	} 
	else 
	{ 
		theRight = document.body.scrollRight; 
		theTop = document.body.scrollTop; 
	}  
	document.all.divqqMenu.style.pixelTop = theTop + 120 ; 
} 