﻿document.writeln("<div id=\"kfFloat\" style=\"margin:0; padding:0; z-index: 20; visibility: visible; position: absolute; top: 230px; right:9px;\">");
document.writeln("<table id=\"qqtab\" cellspacing=\"0\" cellpadding=\"0\" width=\"110\" border=\"0\">");
document.writeln("    <tbody>");
document.writeln("        <tr id=\"qqstab\">");
document.writeln("            <td valign=\"middle\" align=\"left\">");
document.writeln("            <table cellspacing=\"0\" cellpadding=\"0\" width=\"95\" border=\"0\">");
document.writeln("                <tbody>");
document.writeln("        <tr>");
document.writeln("                        <td valign=\"middle\" align=\"center\" width=\"95\"><nobr><img border=\"0\" src=\"\images/qq_t.gif\" \/><\/nobr><\/td>");
document.writeln("        <\/tr>");
document.writeln("                    <tr>");
document.writeln("                        <td valign=\"middle\" align=\"center\" width=\"95\" style=\"background:url(images/qq_b.gif) repeat-y\"><div style=\"padding:10px 0 0 0;\"><nobr><a href=\"http://sighttp.qq.com/authd?IDKEY=0c8f5acbb8fc6683d8f93685c69976d62f5868d4c3321432\"> <img alt=\"点击这里给我发消息\" border=\"0\" src=\"\http://wpa.qq.com/imgd?IDKEY=0c8f5acbb8fc6683d8f93685c69976d62f5868d4c3321432&pic=41\" \/> <\/a><\/nobr></div><\/td>");
document.writeln("                    <\/tr>");
document.writeln("                    <tr>");
document.writeln("                        <td valign=\"middle\" align=\"center\" width=\"95\" style=\"background:url(images/qq_b.gif) repeat-y\"><div style=\"padding:10px 0 0 0;\"><nobr><a href=\"http://sighttp.qq.com/authd?IDKEY=99a33bccc65c3161bdb00146cfd0e637eb8137cb4a03610b\"> <img alt=\"点击这里给我发消息\" border=\"0\" src=\"\http://wpa.qq.com/imgd?IDKEY=99a33bccc65c3161bdb00146cfd0e637eb8137cb4a03610b&pic=41\" \/> <\/a><\/nobr></div><\/td>");
document.writeln("                    <\/tr>");
document.writeln("        <tr>");
document.writeln("                        <td valign=\"middle\" align=\"center\" width=\"95\"><nobr><img border=\"0\" src=\"\images/qq_bot.gif\" \/><\/nobr><\/td>");
document.writeln("        <\/tr>");
document.writeln("                <\/tbody>");
document.writeln("            <\/table>");
document.writeln("            <\/td>");
document.writeln("        <\/tr>");
document.writeln("        <tr>");
//document.writeln("            <td valign=\"top\" width=\"110\" onClick=\"if(document.getElementById('qqstab').style.display==\'none\'){document.getElementById('qqstab').style.display=\'block\'} else {document.getElementById('qqstab').style.display=\'none\'}\"><img alt=\"点击收起\" border=\"0\" src=\"\images/shouqi.gif\" \/><\/td>");
document.writeln("        <\/tr>");
document.writeln("    <\/tbody>");
document.writeln("<\/table>");
document.writeln("<\/div>");

//js 部分
document.writeln("<script type=\"text\/javascript\">");
document.writeln("\/\/<![CDATA[");
document.writeln("var tips; var theTop = 230; var old = theTop;");
document.writeln("function initFloatTips() {");
document.writeln("tips = document.getElementById(\'kfFloat\');");
document.writeln("moveTips();");
document.writeln("};");
document.writeln("function moveTips() {");
document.writeln("var grantt=20;");
document.writeln("if (window.innerHeight) {");
document.writeln(" pos = window.pageYOffset");
document.writeln("}");
document.writeln("else if (document.documentElement && document.documentElement.scrollTop) {");
document.writeln(" pos = document.documentElement.scrollTop");
document.writeln("}");
document.writeln("else if (document.body) {");
document.writeln(" pos = document.body.scrollTop;");
document.writeln("}");
document.writeln("pos=pos-tips.offsetTop+theTop;");
document.writeln("pos=tips.offsetTop+pos\/10;");document.writeln("if (pos < theTop) pos = theTop;");
document.writeln("if (pos != old) {");
document.writeln(" tips.style.top = pos+\"px\";");
document.writeln(" grantt=10;");
document.writeln("   \/\/alert(tips.style.top);");
document.writeln("}");document.writeln("old = pos;");
document.writeln("setTimeout(moveTips,grantt);");
document.writeln("}");
document.writeln("\/\/!]]>");
document.writeln("initFloatTips();");
document.writeln("<\/script>");


/*--------------------------------------------------------------------------------------------------------------------------

===========================================================================*/
   function correctPNG() 
{
	for(var i=0; i<document.images.length; i++)
	{
		var img = document.images[i]
		var imgName = img.src.toUpperCase()
		if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
		{
			var imgID = (img.id) ? "id='" + img.id + "' " : ""
			var imgClass = (img.className) ? "class='" + img.className + "' " : ""
			var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
			var imgStyle = "display:inline-block;" + img.style.cssText
			var imgAttribs = img.attributes;
			for (var j=0; j<imgAttribs.length; j++)
			{
				var imgAttrib = imgAttribs[j];
				if (imgAttrib.nodeName == "align")
				{
					if (imgAttrib.nodeValue == "left") imgStyle = "float:left;" + imgStyle
					if (imgAttrib.nodeValue == "right") imgStyle = "float:right;" + imgStyle
					break
				}
			}
			var strNewHTML = "<span " + imgID + imgClass + imgTitle
			strNewHTML += " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
			strNewHTML += "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
			strNewHTML += "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
			img.outerHTML = strNewHTML
			i = i-1
		}
	}
}
window.attachEvent("onload", correctPNG);

