本帖最后由 zxjcm 于 2011-06-10 15:23:49 编辑

解决方案 »

  1.   

    第二个JS
    /*document.writeln("<script language=javascript>");
    document.writeln("var LiveAutoInvite0=\'您好,来自%IP%的朋友\';");
    document.writeln("var LiveAutoInvite1=\'来自首页的对话\';");
    document.writeln("var LiveAutoInvite2=\'<P>三级甲等医院<BR>诚信部队医院<BR>无假日医院<BR>百姓放心示范医院<BR>国家医疗保险定点医院<BR><BR>您有健康问题请点击咨询,我们的专家会帮助您;<BR>您的健康是我们的责任,会对您的信息严格的保密。</P>\';");
    document.writeln("</script>");
    document.writeln("<script language=\"javascript\" src=\"http://net.zoosnet.net/JS/LsJS.aspx?siteid=NET35223441&float=1\"></script>");*/
    document.writeln("<script type=\"text/javascript\" charset=\"gb2312\">");
    document.writeln("var Invite_ToRight=1;");
    document.writeln("var Invite_left=5;");
    document.writeln("var Invite_ToBottom=1;");
    document.writeln("var Invite_top=5;");
    document.writeln("var LrinviteTimeout=5;");
    document.writeln("var LiveAutoInvite0=\'您好,来自%IP%的朋友\'; ");
    document.writeln("var LiveAutoInvite1=\'来自首页自动邀请的对话\';");
    document.writeln("var LiveAutoInvite2=\'网站商务通主要功能:<br>1、主动邀请<br>2、即时沟通<br>3、查看即时访问动态<br>4、访问轨迹跟踪<br>5、内部对话<br>6、不安装任何插件也实现双向文件传输<br><br><b>如果您有任何问题请接受此邀请以开始即时沟通</b>\';");
    document.writeln("//-->");
    document.writeln("</script>");
    document.writeln("<script type=\"text/javascript\" charset=\"gb2312\" src=\"http://net.zoosnet.net/JS/LsJS.aspx?siteid=NET35223441&float=1&lng=cn\"></script>");
      

  2.   

    第三个js
    function GetObj(objName){
    if(document.getElementById){
    return eval('document.getElementById("' + objName + '")');
    }else if(document.layers){
    return eval("document.layers['" + objName +"']");
    }else{
    return eval('document.all.' + objName);
    }
    }
    function MenuA(index,flag){
    for(var i=0;i<10;i++){/* max-4 */
    if(GetObj("ContA"+i)&&GetObj("TitA"+i)){
    GetObj("ContA"+i).style.display = 'none';
    GetObj("TitA"+i).className = "out";
    }
    }
    if(GetObj("ContA"+index)&&GetObj("TitA"+index)){
    GetObj("ContA"+index).style.display = 'block';
    GetObj("TitA"+index).className = "on";
    }
    }function MenuB(index,flag){
    for(var i=0;i<10;i++){/* max-4 */
    if(GetObj("ContB"+i)&&GetObj("TitB"+i)){
    GetObj("ContB"+i).style.display = 'none';
    GetObj("TitB"+i).className = "out";
    }
    }
    if(GetObj("ContB"+index)&&GetObj("TitB"+index)){
    GetObj("ContB"+index).style.display = 'block';
    GetObj("TitB"+index).className = "on";
    }
    }function MenuC(index,flag){
    for(var i=0;i<10;i++){/* max-4 */
    if(GetObj("ContC"+i)&&GetObj("TitC"+i)){
    GetObj("ContC"+i).style.display = 'none';
    GetObj("TitC"+i).className = "out";
    }
    }
    if(GetObj("ContC"+index)&&GetObj("TitC"+index)){
    GetObj("ContC"+index).style.display = 'block';
    GetObj("TitC"+index).className = "on";
    }
    }function MenuD(index,flag){
    for(var i=0;i<10;i++){/* max-4 */
    if(GetObj("ContD"+i)&&GetObj("TitD"+i)){
    GetObj("ContD"+i).style.display = 'none';
    GetObj("TitD"+i).className = "out";
    }
    }
    if(GetObj("ContD"+index)&&GetObj("TitD"+index)){
    GetObj("ContD"+index).style.display = 'block';
    GetObj("TitD"+index).className = "on";
    }
    }function MenuE(index,flag){
    for(var i=0;i<10;i++){/* max-4 */
    if(GetObj("ContE"+i)&&GetObj("TitE"+i)){
    GetObj("ContE"+i).style.display = 'none';
    GetObj("TitE"+i).className = "out";
    }
    }
    if(GetObj("ContE"+index)&&GetObj("TitE"+index)){
    GetObj("ContE"+index).style.display = 'block';
    GetObj("TitE"+index).className = "on";
    }
    }function MenuF(index,flag){
    for(var i=0;i<10;i++){/* max-4 */
    if(GetObj("ContF"+i)&&GetObj("TitF"+i)){
    GetObj("ContF"+i).style.display = 'none';
    GetObj("TitF"+i).className = "out";
    }
    }
    if(GetObj("ContF"+index)&&GetObj("TitF"+index)){
    GetObj("ContF"+index).style.display = 'block';
    GetObj("TitF"+index).className = "on";
    }
    }function MenuG(index,flag){
    for(var i=0;i<10;i++){/* max-4 */
    if(GetObj("ContG"+i)&&GetObj("TitG"+i)){
    GetObj("ContG"+i).style.display = 'none';
    GetObj("TitG"+i).className = "out";
    }
    }
    if(GetObj("ContG"+index)&&GetObj("TitG"+index)){
    GetObj("ContG"+index).style.display = 'block';
    GetObj("TitG"+index).className = "on";
    }
    }function MenuH(index,flag){
    for(var i=0;i<10;i++){/* max-4 */
    if(GetObj("ContH"+i)&&GetObj("TitH"+i)){
    GetObj("ContH"+i).style.display = 'none';
    GetObj("TitH"+i).className = "out";
    }
    }
    if(GetObj("ContH"+index)&&GetObj("TitH"+index)){
    GetObj("ContH"+index).style.display = 'block';
    GetObj("TitH"+index).className = "on";
    }
    }
    function MenuZ(index,flag){
    for(var i=0;i<10;i++){/* max-4 */
    if(GetObj("ContZ"+i)&&GetObj("TitZ"+i)){
    GetObj("ContZ"+i).style.display = 'none';
    GetObj("TitZ"+i).className = "out";
    }
    }
    if(GetObj("ContZ"+index)&&GetObj("TitZ"+index)){
    GetObj("ContZ"+index).style.display = 'block';
    GetObj("TitZ"+index).className = "on";
    }
      

  3.   

    第四个是把这个是调用。
    <script type="text/javascript" src="http://www.ekang.us/ekangsqw3c.js">
    </script>