/*
* search input keywords
*/
if ($("#search_input").attr("value")+'' == ""){
var searchwords = $("#newword").attr("title");
$("#search_input").attr("style", "color:#a8a8a8;font-size:14px;");
$("#search_input").attr("value", searchwords);
$("#search_input").click(function (){
if ($("#search_input").attr("style")+'' != "color:#000;font-size:14px;"){
$("#search_input").attr("value","");
}
$("#search_input").attr("style", "color:#000;font-size:14px;");
});
}
else {
$("#search_input").attr("style", "color:#000;font-size:14px;");
}
/*
* init cart
*/
buyerInfo.init();
window.$car = new TTCart;
$car.init();
/*
* hover handler
*/
var hover_list= Array();
hover_list[0] = ['.index2012_nav1>li','.nav1_class'];
hover_list[1] = ['.to_cont_r2','.my_orders_cont'];
/*hover_list[2] = ['.index2012_part','.part_class1'];*/
var regHover = function(i)
{
$(hover_list[i][0]).hover(
function () {
$(this).children(hover_list[i][1]).show();
if(i==0)
$(this).children('span').addClass('curr_nav1_tit');
if(i==2||i==1)
$(this).children('span').addClass('curr_index2012_part');
},
function () {
$(this).children(hover_list[i][1]).hide();
if(i==0)
$(this).children('span').removeClass('curr_nav1_tit');
if(i==2||i==1)
$(this).children('span').removeClass('curr_index2012_part');
}
);
};
for( i=0;i< hover_list.length;i++)
{
regHover(i);
}
①下单次日产地发货;②如有特殊收货时间请注明;③请验货是否活蟹
Tel: 4006052026 E-mail: hengkaixyds@126.com
1956527920