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");
function g(formname) {
var url = "http://www.baidu.com/baidu";
if (formname.s[1].checked) {
formname.ct.value = "2097152";
}
else {
formname.ct.value = "0";
}
formname.action = url;
return true;
}
车型搜索:
选择品牌
选择车型
查车型
查报价
查商家
选车中心>>
init_BrandType_4s("DDL_","_SS");
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"){//商家
if(Sname=="选择车型")
window.open("http://dealer.yescar.cn");
else
window.open(dealerUrl+"4s//"+Sname+"/page-1.html");
}else if(type=="search"){
window.open(Ycar+"/auto/brand.html");
}
}
汽车的奥运盛会 四款实力派B级车推荐
BAIDU_CLB_fillSlot("398029");
【亚讯车网】2012年伦敦奥运会进入倒计时,王者之争马上展开。多年的艰苦训练在这一刻得到发挥。在举世瞩目的国际大赛中脱颖而出是对运动员实力的肯定,而身披国旗手捧鲜花站上奥运最高领奖台更是无数奥运健儿心中的光荣与梦想。在当下B级车的军团当中,也有这样一些“选手”,它们精于品质,追求卓越,以良好的口碑和领先的技术打破了国内B级车市场的一个又一个“纪录”,给用户带来源源不断的惊喜。下面小编带你走进这些B级车,近距离倾听它们的心声,领略别样赛场的实力角逐。
100米比赛的老将——通用别克新君威
入选理由:动感激情运动十足
无论如何,你都不能否认新君威(君威报价|君威图片|君威4S店)通身上下散发出来的运动气息。
【别克君威】
君威GS和普通
买车、卖车就上亚讯车网,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();
$("#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();
}
BAIDU_CLB_fillSlot("383250");
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