﻿//////車種フォルダのパス。
var car_path = '../../';
//var Y_car_path2 = 'undefined/undefined/';//「index,html」がカーフォルダ直下に変更されたときにしよう。

////ズームの値。
var zoom_val = 0;

//各色のマップ画像名を入れる。
var Y_IMG = new Array();
Y_IMG['B01'] = '' ;

//外装色ボタン画像ID。
var bcIMG = new Array();
bcIMG['B01'] = '' ;

//グレード。
var Y_groupCategoryAr = new Array();
Y_groupCategoryAr['G01'] = 'Hard Top' ;
Y_groupCategoryAr['G02'] = 'Soft Top' ;

var Y_group = new Array();
//グレード詳細
Y_group['Hard Top'] = new Array();
Y_group['Hard Top']['parts'] = ['hard_top'];
Y_group['Hard Top']['load'] = false;
Y_group['Soft Top'] = new Array();
Y_group['Soft Top']['parts'] = ['soft_top'];
Y_group['Soft Top']['load'] = false;

//Black
Y_group['S01'] = new Array();
Y_group['S01']['tex'] = new Array();
Y_group['S01']['tex']['stich'] = new Array();
Y_group['S01']['tex']['stich'][0] = ['stichi_bk.jpg',''];
Y_group['S01']['tex']['seat_semotare'] = new Array();
Y_group['S01']['tex']['seat_semotare'][0] = ['seat_bk.jpg',''];
Y_group['S01']['tex']['door_panel_leather'] = new Array();
Y_group['S01']['tex']['door_panel_leather'][0] = ['door_leather_bk.jpg',''];
Y_group['S01']['tex']['seat_zamen'] = new Array();
Y_group['S01']['tex']['seat_zamen'][0] = ['seat_bk.jpg',''];
//Dune Beige
Y_group['S02'] = new Array();
Y_group['S02']['tex'] = new Array();
Y_group['S02']['tex']['stich'] = new Array();
Y_group['S02']['tex']['stich'][0] = ['stichi.jpg',''];
Y_group['S02']['tex']['seat_semotare'] = new Array();
Y_group['S02']['tex']['seat_semotare'][0] = ['seat.jpg',''];
Y_group['S02']['tex']['door_panel_leather'] = new Array();
Y_group['S02']['tex']['door_panel_leather'][0] = ['door_leather.jpg',''];
Y_group['S02']['tex']['seat_zamen'] = new Array();
Y_group['S02']['tex']['seat_zamen'][0] = ['seat.jpg',''];
//Interior Lighting Kit
Y_group['D01'] = new Array();
Y_group['D01']['parts'] = ['foot_light'];
Y_group['D01']['load'] = false;
//All Weather Floor Mats
Y_group['D02'] = new Array();
Y_group['D02']['parts'] = ['mat_gom'];
Y_group['D02']['load'] = false;
Y_group['D02']['partsN'] = ['mat_normal'];
//Start Switch
Y_group['D03'] = new Array();
Y_group['D03']['parts'] = ['engine_start'];
Y_group['D03']['load'] = false;
//Gearshift Knob and Parking Brake
Y_group['D04'] = new Array();
Y_group['D04']['parts'] = ['shift_opt'];
Y_group['D04']['load'] = false;
Y_group['D04']['partsN'] = ['shift_normal'];
//Seatback Bar Covers
Y_group['D05'] = new Array();
Y_group['D05']['mat'] = new Array();
Y_group['D05']['mat']['head_bar_color-FACES'] = ['seat_back_color','dash_silver'];


//
var count_m = 0;
var model_name_mun = new Array();
model_name_mun[count_m] = 'Hard Top';count_m++;
model_name_mun[count_m] = 'Soft Top';count_m++;
//
var count_g = 0;
var grade_mun = new Array();
grade_mun[count_g] = new Array('G01','Hard Top');count_g++;
grade_mun[count_g] = new Array('G02','Soft Top');count_g++;
//
var count_i = 0;
var option_name_mun = new Array();
option_name_mun[count_i] = new Array('S01','Black');count_i++;
option_name_mun[count_i] = new Array('S02','Dune Beige');count_i++;
option_name_mun[count_i] = new Array('D01','Interior Lighting Kit');count_i++;
option_name_mun[count_i] = new Array('D02','All Weather Floor Mats');count_i++;
option_name_mun[count_i] = new Array('D03','Start Switch');count_i++;
option_name_mun[count_i] = new Array('D04','Gearshift Knob and Parking Brake');count_i++;
option_name_mun[count_i] = new Array('D05','Seatback Bar Covers');count_i++;

//ボディカラーによって変更
var Y_IMGBodyFlg = false;
var Y_IMGBody = new Array();

