<script type="text/javascript">
$(function(){
$('.ycb_anniu').click(function(){
$.cookie('CHEJIAN','');
$('form').submit();
});
});
function a(){
var chejian=$('#name').val()+';';
chejian+=$('#tel').val()+';';
chejian+=$('#carnum').val()+';';
chejian+=$('#cartype').find("option:selected").val()+';';
chejian+=$('input:radio[name=carchecktype]:checked').attr('value');
$.cookie('CHEJIAN',chejian);
}
function b(){
if($.cookie('CHEJIAN')){
var chejian=new Array();
var chejian = $.cookie('CHEJIAN').split(';');
$('#name').val(chejian[0]);
$('#tel').val(chejian[1]);
$('#carnum').val(chejian[2]);
$("#cartype").find("option[value="+chejian[3]+"]").attr("selected",true);
$('input:radio[value='+chejian[4]+']').attr("checked","checked");
}
}
b(); </script>