﻿document.writeln("<!--ChinaFlying.Net 中国飞网－我们一起飞-->");
document.writeln("<style type=\"text\/css\">");
document.writeln("	#QuickMenu td{");
document.writeln("		font-size:12px;");
document.writeln("		}");
document.writeln("	#QuickMenu a{");
document.writeln("		color:#000000;");
document.writeln("		text-decoration:none;");
document.writeln("		}");
document.writeln("	#QuickMenu a:visited{");
document.writeln("		color:#000000;");
document.writeln("		text-decoration:none;");
document.writeln("		}");
document.writeln("	#QuickMenu a:hover{");
document.writeln("		color:#FF0000;");
document.writeln("		text-decoration:underline;");
document.writeln("		}");
document.writeln(".qqc{");
document.writeln("		padding-left:10px;");
document.writeln("		padding-top:2px;");
document.writeln("		height:20px;");
document.writeln("		}")
document.writeln(".qqp{");
document.writeln("		padding-top:5px;");
document.writeln("		width:28px;");
document.writeln("		text-align:right;");
document.writeln("		}")
document.writeln("	");
document.writeln("<\/style>")

document.writeln("<div id=\'QuickMenu\' style=\'left:0px;top:120px;position:absolute;z-index:999;\'>");

document.writeln("<div id=\'RightMenu'\ style=\'float:left;overflow: hidden;display:block;\'>");

document.writeln("<div style=\'margin:12px 6px 6px 6px;padding:0px;border:0px;overflow: hidden;background:url(/http://www.lszkj.com/images/1.jpg);background-repeat: repeat-y;\'>");

document.write('<table border="0" cellpadding="0" cellspacing="0" width="118" background="http://www.lszkj.com/images/1.jpg"><tr><td><img name="qq2_r1_c1" src="http://www.lszkj.com/images/servicepic_01.jpg" width="118" height="160" border="0"></td></tr>')

document.write("<tr><td height=23 background='http://www.lszkj.com/images/1.jpg' align='center'>");
document.writeln("<table border=\"0\" width=\"118px\" id=\"table1\" cellspacing=\"0\" cellpadding=\"0\">");

document.writeln("	<tr>");
document.writeln("<td align=\"center\" style=\'background:url(http://www.lszkj.com/images/1.gif);background-repeat: repeat-y;\'><a href=\"http://www.lszkj.com/news.asp?act=book&channelid=18\">在线留言</a<<\/td>");

document.writeln("	<\/tr>");
document.writeln("<\/table>")
document.write("</td></tr>");

document.write('</td></tr><tr><td width=\"118" height="22" background=\"http://www.lszkj.com/images/servicepic_09.jpg\"></td></tr></table>')


document.writeln("  </div></div>");

document.writeln("<div style=\'float:left;width:20px;height:109px;margin:0px;border: 0px;\'><img id=menutop onMouseOver=\"javascript:ChangeMenu('RightMenu',125,500)\" border=0 height=105 src=\"http://www.lszkj.com/images/kefu.gif\" width=26></div>");
document.writeln("  </div></div>")


var QuickScrollYLast=0;
var QuickMenu=document.getElementById("QuickMenu")
window.setInterval("LoadMenu()",1);

function LoadMenu(){
    var QuickScrollYDefault;
    if(document.documentElement&&document.documentElement.scrollTop){
        QuickScrollYDefault=document.documentElement.scrollTop;
    }else if(document.body){
        QuickScrollYDefault=document.body.scrollTop;
    }else{
    }
    QuickPercent=.1*(QuickScrollYDefault-QuickScrollYLast);
    if(QuickPercent>0){
        QuickPercent=Math.ceil(QuickPercent);
    }else{
        QuickPercent=Math.floor(QuickPercent);
    }
    QuickMenu.style.top=parseInt(QuickMenu.style.top)+QuickPercent+"px";
    QuickScrollYLast=QuickScrollYLast+QuickPercent;
}

var MenuX;
var MenuY;
var MenuCloseX;
var MenuCloseY;
function ChangeMenu(id,menuwidth,menuheight){
    clearInterval(MenuX);
    clearInterval(MenuY);
    clearInterval(MenuCloseX);
    clearInterval(MenuCloseY);
    var o = document.getElementById(id);
    if(o.style.display == "none"){
        o.style.display = "block";
        o.style.width = "1px";
        o.style.height = "1px"; 
        MenuX = setInterval(function(){menuopenx(o,menuwidth,menuheight)},30);
        document.getElementById("menutop").src="http://www.lszkj.com/images/kefu.gif";
    }else{
        document.getElementById("menutop").src="http://www.lszkj.com/images/kefu.gif";
        MenuCloseY = setInterval(function(){menuclosex(o)},30);
    }
}
function menuopenx(o,x,y){/*--打开x--*/
    var menucx = parseInt(o.style.width);
    if(menucx < x){
        o.style.width = (menucx + Math.ceil((x-menucx)/5)) +"px";
    }else{
        clearInterval(MenuX);
        //MenuY = setInterval(function(){menuopeny(o,y)},30);
    }
    var menucy = parseInt(o.style.height);
    if(menucy < y){
        o.style.height = (menucy + Math.ceil((y-menucy)/5)) +"px";
    }else{
        clearInterval(MenuY); 
    }
}

function menuopeny(o,y){/*--打开y--*/ 
    var menucy = parseInt(o.style.height);
    if(menucy < y){
        o.style.height = (menucy + Math.ceil((y-menucy)/5)) +"px";
    }else{
        clearInterval(MenuY); 
    }
} 

function menuclosex(o){/*--打开x--*/
    var menucx = parseInt(o.style.width);
    if(menucx > 0){
        o.style.width = (menucx - Math.ceil(menucx/5)) +"px";
    }else{
        clearInterval(MenuCloseX);
        //MenuCloseX = setInterval(function(){menuclosey(o)},30);
    }
    var menucy = parseInt(o.style.height);
    if(menucy > 0){
        o.style.height = (menucy - Math.ceil(menucy/5)) +"px";
    }else{
        clearInterval(MenuCloseY); 
        o.style.display = "none";
    }
} 
function menuclosey(o){/*--打开y--*/ 
    var menucy = parseInt(o.style.height);
    if(menucy > 0){
        o.style.height = (menucy - Math.ceil(menucy/5)) +"px";
    }else{
        clearInterval(MenuCloseY); 
        o.style.display = "none";
    }
} 

//ChinaFlying.Net
//中国飞网－我们一起飞
