BAIDU_CLB_preloadSlots("369693","383245","383248","383250","398029","436711","436710","461162");
$(window).load(
function showscroll(){
$$ = function(id){return document.getElementById(id)}
function addClass(o,cn){var re = new RegExp("(\\s*|^)"+cn+"\\b","g");o.className +=o.className?(re.test(o.className)?"":" "+ cn):cn}
function removeClass(o,cn){var re = new RegExp("(\\s*|^)"+cn+"\\b","g");var sName = o.className;o.className = sName.replace(re,"")}
window.onscroll=window.onresize=function(){
var scrTop = document.documentElement.scrollTop+document.body.scrollTop,offTop = $$("dnew").getBoundingClientRect().top+scrTop-
document.documentElement.clientTop+280,downtop=$$("footer").getBoundingClientRect().top+scrTop-document.documentElement.clientTop-600;
if($$("floats"))
scrTop>offTop&&scrTop
BAIDU_CLB_fillSlot("436710");
BAIDU_CLB_fillSlot("436711");
init_BrandType_4s("DDL_","_SS");
init_BrandType_4s("DDL_","_4s");
var Ycar="http://www.yescar.cn";
var dealerUrl="http://dealer.yescar.cn/";
function SearchSeries(type)
{
var Sname= $("#DDL_CarInfo_SS").val();
if(type=="series"){//车型
if(Sname=="选择车型")
window.open(Ycar+"/auto/brand.html");
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://www.yescar.cn/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");
}
}
一汽-大众昊天林汽车捷达最高优惠15000元
BAIDU_CLB_fillSlot
("398029");
皮实耐用、稳定可靠、经济性好,这是所有了解一汽-大众捷达性能消费者一致认同的观点。一汽-大众昊天林汽车南山店、宝安店、松岗店统一将捷达的优惠幅度大大提升做到鹏城最高优惠,捷达最高优惠15000元。
【亚讯车网 www.yescar.cn】皮实耐用、稳定可靠、经济性好,这是所有了解一汽-大众捷达性能消费者一致认同的观点。一汽-大众昊天林汽车南山店、宝安店、松岗店统一将捷达的优惠幅度大大提升做到鹏城最高优惠,捷达最高优惠15000元,一汽-大众昊天林汽车将送给您最实惠的价格以及性价比最高的车!
该出手时别错过,只要实惠、只要实用!
南山区欧洲城汽车4S店
地址:深圳市南山区龙珠四路本钢工贸大厦(宜家对面)
销售电话:0755-83702266 ,83706366 服务电话:0755-83700199
宝安区宝安汽车4S店
地址:深圳市宝安区107国道西乡段洲石立交西北侧(世纪车城)
销售电话:0755-27495000 服务电话:0755-27497000
宝安区松岗汽车4S店
地址:深圳市宝安区广深公路(107国道)松岗段415号
销售电话:0755-27712888 服务电话:0755-27711222
买车、卖车就上亚讯车网,www.yescar.cn!
汽车团购 http://tg.yescar.cn,省心、省力、省钱!
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?t=" + new Date().getHours();
BAIDU_CLB_fillSlot("505089");
BAIDU_CLB_fillSlot("505085");
BAIDU_CLB_fillSlot("383250");
$("#txtComm").val("温馨提示:您的发言将在审核后公开(限500字)。");
$("#txtAdd").val("温馨提示:您的发言将在审核后公开(限500字)。");
$("#txtComm").css("color","#aaa");
$("#txtAdd").css("color","#aaa");
var pid=0;
function setShow(id)
{
pid=id;
var lzz=""
try { lzz=$("#lz"+pid).html();if(lzz==null){lzz="";}}
catch (e) { lzz="";}
var lz1="
"+lzz+$("#tspan"+pid).html()+"
"+$("#lp"+pid).html()+"
";
if(findSum(lz1,"reply")>10)
{
alert("楼层过高请直接评论!");
return;
}
$("#divTxt").css("display","block");
$("#divFB").css("display","block");
$("#spanTxt").html("正在回复 "+$("#tspan"+id).html().substring(0,$("#tspan"+id).html().indexOf("发")));
}
//当前日期
function getData()
{
var d = new Date();
var year = d.getFullYear();
var month = d.getMonth() + 1; // 记得当前月是要+1的
month = month < 10 ? ("0" + month) : month;
var dt = d.getDate();
dt = dt < 10 ? ("0" + dt) : dt;
var hour=d.getHours();
hour = hour < 10 ? ("0" + hour) : hour;
var mou=d.getMinutes();
mou = mou < 10 ? ("0" + mou) : mou;
var ss=d.getSeconds();
ss = ss < 10 ? ("0" + ss) : ss;
var today = year + "-" + month + "-" + dt+" "+hour+":"+mou+":"+ss;
return today;
}
//回复评论
function setAdd()
{
if(ids==0)
{
var nd=$("#ids").val();
ids=parseInt(nd)+1;
}else
{
ids=ids+1;
}
$("#ids").val(ids.toString());
var temp=$("#comment_tg").html();
var con=htmlEcode($("#txtAdd").val());
if((con.replace(" ","").length)<5)
{
alert("请至少输入5个字符!");
return;
}
if(con.length>500)
{
alert("您输入的内容字数超过500个!");
return;
}
if($("#txtAdd").val()=="温馨提示:您的发言将在审核后公开(限500字)。")
{
alert("请至少输入5个字符!");
return;
}
var area=$("#area").val();
var lzz=""
try { lzz=$("#lz"+pid).html();if(lzz==null){lzz="";}}
catch (e) { lzz="";}
var lz1="
"+lzz+$("#tspan"+pid).html()+"
"+$("#lp"+pid).html()+"
";
var lp1="
"+lz1+"
"+con+"
(感谢参与评论,您的评论内容将在审核后公开。)
";
var lt="
"+ids+"楼:"+area+"发表时间:"+getData()+"
";
$("#comment_tg").html(lt+lp1+temp);
var uid=$("#newsid").val();
var area=$("#area").val();
var wurl=$("#wurl").val();
//alert(uid)
$.ajax({
type: "POST",
url: wurl+"/club/comment/ajax/Comment.ashx?type=add&content="+escape(lz1)+"&area="+escape(area)+"&content_n="+escape(con)
+"&newsId="+uid,
dataType: "html",
success: function (msg) {
if(msg!=""){
$("#txtAdd").val("");
}
else{
alert("添加失败,请稍后尝试!");
}
}
});
$("#divTxt").css("display","none");
$("#divFB").css("display","none");
pid=0;
}
//添加评论
var ids=0;
function addComm()
{
if(ids==0)
{
var nd=$("#ids").val();
ids=parseInt(nd)+1;
}else
{
ids=ids+1;
}
$("#ids").val(ids.toString());
var temp=$("#comment_tg").html();
var con=htmlEcode($("#txtComm").val());
if((con.replace(" ","").length)<5)
{
alert("请至少输入5个字符!");
return;
}
if(con.length>500)
{
alert("您输入的内容字数超过500个!");
return;
}
if($("#txtComm").val()=="温馨提示:您的发言将在审核后公开(限500字)。")
{
alert("请至少输入5个字符!");
return;
}
var area=$("#area").val();
var lt="
"+ids+"楼:"+area+"发表时间:"+getData()+"
";
var lz="
"+con+"
(感谢参与评论,您的评论内容将在审核后公开。)
";
$("#comment_tg").html(lt+lz+temp);
var wurl=$("#wurl").val();
var uid=$("#newsid").val();
//alert(uid)
$.ajax({
type: "POST",
url: wurl+"/club/comment/ajax/Comment.ashx?type=add&content_n="+escape(con)+"&area="+escape(area)+"&newsId="+uid,
dataType: "html",
success: function (msg) {
if(msg!=""){
$("#txtComm").val("");
}
else{
alert("添加失败,请稍后尝试!");
}
}
});
$("#divTxt").css("display","none");
$("#divFB").css("display","none");
}
//支持
function updHolds(id,ids)
{
var isCookieExist= document.cookie.length;
if(isCookieExist)
{
var cookieContent = document.cookie;
var checkStatus = "tempid"+id+"=";
var startIndex = cookieContent.indexOf(checkStatus);
if(startIndex != -1)
{
alert("您今天已支持过该评论!");
return;
}
}
var wurl=$("#wurl").val();
$.ajax({
type: "POST",
url: wurl+"/club/comment/ajax/Comment.ashx?type=upd&id="+id,
dataType: "html",
success: function (msg) {
if(msg!=""){
alert(msg);
}
else{
var hd=$("#hd"+ids).html();
hd=hd.replace("支持(","");
hd=hd.replace(")","");
$("#hd"+ids).html("支持("+(parseInt(hd)+1).toString()+")");
var destoryTime = new Date();
//cookie在24小时后失效
destoryTime.setTime(destoryTime.getTime() + 24 * 3600 * 1000);
var expireTime = destoryTime.toGMTString();
//写入cookie
document.cookie = "tempid"+escape(id)+"="+escape(id)+ ";expires=" + expireTime + ";";
}
}
});
}
//查找指定字符出现的次数
function findSum(sText,sFind)
{
var reg=new RegExp(sFind, 'g');
var stemp=sText.replace(reg,"");
var ct=( sText.length-stemp.length)/sFind.length;
return ct;
}
//屏蔽HTML标签
function htmlEcode(html)
{
var str="";
str=html.replace(/&/g, "&").replace(//g, ">");
str=str.replace(new RegExp("\"", 'g'), """).replace(new RegExp("'", 'g'), "'");
str=str.replace(/\t/g, " ").replace(/\r\n\r\n/g, "
").replace(/\r\n/g, "
");
return str;
}
function txtExit()
{
$("#divTxt").css("display","none");
$("#divFB").css("display","none");
}
function setpage(obj)
{
var url=document.URL;
var nurl=url.substring(0,url.lastIndexOf("/"));
window.location=nurl+"/"+$(obj).val();
}
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Ffcb8a0f6f14bb3d10c8f5582871efe9e' type='text/javascript'%3E%3C/script%3E"));
请文明发言,发广告将被屏蔽IP