BAIDU_CLB_preloadSlots("370206","370214");
function select4s()
{
var v;
if($("#DDL_Brand_4s").val()!="選擇品牌")
{
v=$("#DDL_Brand_4s").val();
}
else
{
alert("請選擇品牌!");
return;
}
var arr=v.split("|");
var py = arr[1];
if($("#DDL_CarInfo_4s").val()!=null&&$("#DDL_CarInfo_4s").val()!="選擇車型")
{
window.open("http://dealer.yescar.cn/4s/"+pyin+"/"+$("#DDL_CarInfo_4s").val()+"/page-1.html");
}else{
window.open("http://dealer.yescar.cn/4s/"+pyin+"/"+py+"/page-1.html");
}
}
車型搜索:
init_BrandType_4s("DDL_","_SS");
//init_BrandType_4s("DDL_","_4s");
var Ycar="http://foodfunfashion.com";
var dealerUrl="http://dealer.yescar.cn/";
function SearchSeries(type)
{
var Sname= $("#DDL_CarInfo_SS").val();
if(type=="series"){//車型
if(Sname=="選擇車型")
window.open(Ycar+"/auto/");
else
window.open(Ycar+"/auto/"+Sname+"/");
}else if(type=="price"){//價格
if(Sname=="選擇車型")
window.open(Ycar+"/auto/price/");
else
window.open(Ycar+"/auto/"+Sname+"/baojia.html");
}else if(type=="dealer"){//商家
window.open("http://foodfunfashion.com/search/dealerlist.aspx");
// if(Sname=="選擇車型")
// window.open("http://dealer.yescar.cn");
// else
// window.open(dealerUrl+"4s/@address@/"+Sname+"/page-1.html");
}else if(type=="search"){
window.open(Ycar+"/auto/brand.html");
}
}