function draw_obj(img, x, y, sc){
///******************
w = img.width*sc;
h = img.height*sc;
ctx.drawImage(img, x - w/2, y - h, w, h);
}
scale = 1.5*BOARD_W[i]/BOARD_W[0];
obj_l = object_left[parseInt(car_y+i)%CMAX];
if(obj_l === 2) {
draw_obj(img_obj[obj_l], ux-uw*0.05, uy, scale);
}
if(obj_l === 3) {
draw_obj(img_obj[obj_l], ux-uw*0.5, uy, scale);
}
if(obj_l === 9) {
ctx.drawImage(img_sea, ux-uw*0.5-780, uy);
}
obj_r = object_right[parseInt(car_y+i)%CMAX];
if(obj_r === 1) {
draw_obj(img_obj[obj_r], ux+uw*1.3, uy, scale);
}