﻿// JScript 文件

function lb()
{
    window.open('gfwdlb.aspx');
}
function liebiao(hptype)
{
    window.open('gfwdlb.aspx?hptype='+hptype+'');
}
function xq(id,key)
{
   alert(key);
    if(key=='0')
    {
        window.open('gfwdxq1.aspx?id='+id+'');
    }
    else if(key=='1')
    {
        window.open('gfwdxq2.aspx?id='+id+'');
    }
}
function lplb()
{
    var szcq=document.getElementById("ddl_szcq");
    var szcq1=szcq.options[szcq.selectedIndex].value;
    var szcq2=encodeURI(szcq1);
    var mbjw=document.getElementById("ddl_mbjw");
    var mbjw1=mbjw.options[mbjw.selectedIndex].value;
    var mbjw2=encodeURI(mbjw1);
//    var wylx=document.getElementById("ddl_wylx");
//    var wylx1=wylx.options[wylx.selectedIndex].value;
//    var wylx2=encodeURI(wylx1);
    var lpzt=document.getElementById("ddl_lpzt");
    var lpzt1=lpzt.options[lpzt.selectedIndex].value;
    var lpzt2=encodeURI(lpzt1);
    var lpmc=document.getElementById("txt_lpmc").value;
    if(lpmc=="请输入楼盘名称")
    {
          lpmc="";
     }
      else
      {
          lpmc=encodeURI(document.getElementById("txt_lpmc").value);
      } 
    var lpmc1=encodeURI(lpmc);
    window.open('lplb.aspx?cq='+szcq2+'&jw='+mbjw2+'&zt='+lpzt2+'&mc='+lpmc1+'');
}
function djlp()
{
var dj=encodeURI("待建楼盘");
window.open('lplb.aspx?zt='+dj+'');
}
function zjlp()
{
var zj=encodeURI("在建楼盘");
window.open('lplb.aspx?zt='+zj+'');
}
function zxf()
{
var zx=encodeURI("准现房");
window.open('lplb.aspx?zt='+zx+'');
}
function py(zm)
{
window.open('lplb.aspx?py='+zm+'');
}
function szcq(cq)
{
var szcq=encodeURI(cq);
window.open('lplb.aspx?cq='+szcq+'');
}
function wylx(lx)
{
var wy=encodeURI(lx);
window.open('lplb2.aspx?lx='+wy+'');
}
function mbjw(jw)
{
var mb=encodeURI(jw);
window.open('lplb.aspx?jw='+mb+'');
}
