﻿// JScript 文件
function getjmxfwtophtml()
{
document.write("<div class=\"DTop\"><div><ul><li class=\"Szz\">深圳站</li><li class=\"DTopBtb\" id=\"userlogin\"><a href=\"/bbs/register.aspx\">会员注册</a>？ / <a href=\"/bbs/login.aspx\">登录</a></li><li class=\"DTopBtb\" id=\"merchantlogin\"><a href=\"/MMerChant/MerChantReg.aspx\">商家注册</a>？ / <a href=\"/MMerChant/MerChantLogin.aspx\">登录</a></li></ul><ul class=\"DTopuc\"><li class=\"DTopzi\"><a href=\"#\" onclick='window.external.AddFavorite(\"http://www.www.jmxfw.com/\",\"精明消费网\")'>收藏本站</a></li><li class=\"DTopdian\"></li><li class=\"DTopzi\"><a href=\"#\" onClick=\"this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.jmxfw.com');\">设为首页</a></li><li class=\"DTopdian\"></li><li class=\"DTopzc\"><a href=\"http://www.jmxfw.com/HonestMer.aspx\">诚信商家</a></li><li class=\"DTopdian\"></li><li class=\"DTopzi\"><a href=\"http://www.jmxfw.com/simulate/prize.aspx\">积分方案</a></li><li class=\"DTopdian\"></li><li class=\"DTopzi\"><a href=\"http://www.jmxfw.com/gbook.aspx\">反馈留言</a></li><li class=\"DTopdian\"></li><li class=\"DTopzi\">");
document.write("<a href=\"http://www.jmxfw.com/research/questionnaire.aspx\">在线调查</a></li></ul></div></div><DIV class=expo_nav id=TextNav ><DIV class=expo_logo><img src=\"/images/jmxfwtop/logo.jpg\" height=\"46\" /></DIV><DIV class=\"cpc1\"><a href=\"http://www.jmxfw.com/\"><img src=\"/images/jmxfwtop/xc1.gif\" width=\"36\" height=\"26\" /></a></DIV><DIV><A href=\"http://www.jmxfw.com/channels/house.html\" target=\"_blank\" >房产</A><br /><A href=\"http://www.jmxfw.com/channels/shopping.html\" target=\"_blank\"> 导购</A></DIV>");
document.write("<div class=\"line\"></div><div><a href=\"http://www.jmxfw.com/channels/fitment.html\" target=\"_blank\">装修家居</a><br /><A href=\"http://www.jmxfw.com/channels/elect.html\" target=\"_blank\" >家电数码</A></div><DIV class=line></DIV><div><A href=\"http://www.jmxfw.com/channels/auto.html\" target=\"_blank\"  >汽车</A><br /><a href=\"http://www.jmxfw.com/channels/medical.html\" target=\"_blank\" 2>医疗</a> </div><DIV class=line></DIV><div><A href=\"http://www.jmxfw.com/channels/marriage.html\" target=\"_blank\"  >婚嫁</A><br />");
document.write("<a href=\"http://www.jmxfw.com/channels/food.html\" target=\"_blank\" 2>美食</a> </div><DIV class=line></DIV><div><A href=\"http://www.jmxfw.com/channels/lady.html\" target=\"_blank\" >女性</A><br /><A href=\"http://www.jmxfw.com/channels/man.html\" target=\"_blank\" 2>男性</A></div><div class=\"line\"></div><div><A href=\"http://www.jmxfw.com/channels/kid.html\" target=\"_blank\" 2>儿童</A><br /><A href=\"http://www.jmxfw.com/channels/elder.html\" target=\"_blank\">老人</A></div><div class=\"line\"></div><div><A href=\"http://www.jmxfw.com/channels/edu.html\" target=\"_blank\" >教育培训</A><br /><A href=\"http://www.jmxfw.com/channels/immi.html\" target=\"_blank\" >留学移民</A></div>");
document.write("<div class=\"line\"></div><div><A href=\"http://www.jmxfw.com/channels/tour.html\" target=\"_blank\">旅游</A><br /><a href=\"http://www.jmxfw.com/channels/job.html\" target=\"_blank\">求职</a></div><div class=\"line\"></div><div><A href=\"http://www.jmxfw.com/channels/pet.html\" target=\"_blank\">宠物</A><br /><a href=\"http://www.jmxfw.com/channels/homesen.html\">便民</a> </div><DIV class=\"cpc2\"><a href=\"http://www.jmxfw.com/xiaofeinews.aspx\"><img src=\"/images/jmxfwtop/xc2.gif\" width=\"59\" height=\"26\" /></a></DIV><DIV class=\"cpc3\"><a href=\"http://www.jmxfw.com/discount/index.aspx\"><img src=\"/images/jmxfwtop/xc3.gif\" width=\"57\" height=\"26\" /></a></DIV><DIV class=\"cpc4\"><a href=\"http://www.jmxfw.com/bbs/index.aspx\"><img src=\"/images/jmxfwtop/xc4.gif\" width=\"58\" height=\"26\" /></a></DIV></DIV>");

}

function getjmxfwbottom()
{
document.write("<div class=\"bottom\"><div class=\"jiuwus\"></div><div class=\"dibu\"> <a href=\"/about/about.aspx?id=42\" target=\"_blank\">关于我们</a>　|　<a href=\"/about/about.aspx?id=43\" target=\"_blank\">业务洽谈</a>　|　<a href=\"/about/about.aspx?id=44\" target=\"_blank\">网络联盟</a>　|　<a href=\"/about/about.aspx?id=45\" target=\"_blank\">人才招聘</a>　|　<a href=\"/about/about.aspx?id=46\" target=\"_blank\">免责说明</a>　|　<a href=\"/about/about.aspx?id=47\" target=\"_blank\">联系我们</a> Copyright@2009　精明消费网　<a href=\"http://www.miibeian.gov.cn\">粤ICP备09012193号</a></div></div>");
//document.write ('<script language="javascript" type="text/javascript" src="http://js.users.51.la/3182496.js"></script>');
}

function HttpRequest(url)
    {
     if (window.XMLHttpRequest) { // Mozilla, Safari, ...
		    reqhttp = new XMLHttpRequest();
	    } else if (window.ActiveXObject) { // IE
		    reqhttp = new ActiveXObject("Microsoft.XMLHTTP");
	    }
        
        reqhttp.open("GET",url,false);
	    reqhttp.send(null);

    }

//会员登陆
  function islogin()
  {
    var url="/login.aspx?top=yes";
    HttpRequest(url);
    if (reqhttp.readyState == 4){
    if(reqhttp.responseText!="no")
    {
    document.getElementById("userlogin").innerHTML=reqhttp.responseText;
    }
    
    }
  }
  
  
  //会员退出登陆
function endlogin(uk)
{
 var url="/login.aspx?cmd=endlogin&userkey="+uk;
 HttpRequest(url)
 if(reqhttp.readyState<4)
 {
 }
 if(reqhttp.readyState==4)
 {
 var returntxt=reqhttp.responseText;
// if(returntxt=="allow")
// {
        alert("您已经成功退出登陆！");
        window.location=window.location;
// }
 }

 }
  
  //商家登陆
  function isMerlogin()
  {
    var url="/Merlogin.aspx?top=yes";
    HttpRequest(url);
    if (reqhttp.readyState == 4){
    if(reqhttp.responseText!="no")
    {
    document.getElementById("merchantlogin").innerHTML=reqhttp.responseText;
    }
    
    }
  }
  
  
  //商家退出登陆
  function endMerLogin()
  {
  var url="/Merlogin.aspx?cmd=endlogin";
    HttpRequest(url);
    if (reqhttp.readyState == 4){
  

    alert("您已经成功退出了登录！");
    window.location=window.location;
    }
  }
  
  
 
