  	
			 

	
																																																								
																
						
		
										
		
								

		
						
							
		
								
							
		
						
		
		
		
		
		
		
																																	
		
		
	
				


						
	
		
		
	
		
		
		
				
		
		
		
						
		
				
		
				
		
						
		
						
		
		
		
		
																
		
																
						
  	  
	  	    	    	  	  	 
	var carConfig_Infos = new Class(
	{
	/*************************************************************************************************************************
	 * Variable
	 *************************************************************************************************************************/
	 
	/***************************************************** Prix **************************************************************/
	famille: '',
	silhouette: '',
	prix_de_base: 0.0,
	prix_total: 0.0,
	prix_total_diff_promotion: 0.0,
	prix_total_promotion: 0.0,
	prix: {},
	
	/***************************************************** finition ***********************************************************/
	finition: {
		nom: {
			prix: '',
			prix2: '',
			prix_promotion: '',
			prix_promotion_diff: '',
			caracteristiques: [],
			url_img: '',
			url_avatar: '',
			url_imgName: '',
			url: '',
			url_conf: '',
			url_tdrive: ''
		}
	},
	
	choix_finition:'',
	tooltip: {},
	
	/***************************************************** moteur ************************************************************/
	moteur: {
		nom: {
			prix: '',
			prix2: '',
			prix_promotion: '',
			prix_promotion_diff: '',
			nomination: '',
			type: '',
			box: '',
			caracteristiques: {},
			description: '',
			classe: '',
			imgco2big: '',
			imgco2small: '',
			url: '',
			url_conf: '',
			url_tdrive: ''
		}
	},
	
	choix_moteur:'',
	
	
	/***************************************************** Couleur et int?rieur **************************************************/
	couleur: {
		nom: {
			prix: '',
			nomination: '',
			url_img: '',
			trims:[]
		}
	},
	
	trim: {
		nom: {
			prix: '',
			nomination: '',
			url_img: '',
			couleurs:[]
		}
	},
	
	couleur_icon: {},
	trim_icon:{},
	
	choix_couleur:'',
	choix_trim:'',
	
	textOnHover:'configurator.configure.resume.comparator_description',

	
	
	/***************************************************** Option ************************************************************/
	//tableau de reference pour les prix des options
	options_reference: {
		ref: {
			nom: '',
			prix: '',
			tooltip: '',
			exclude: '',
			include:[]
		}
	},
	
	choix_options: [],
	
	options_prix: 0.0,
	
	/***************************************************** Accessoires *********************************************************/
	//tableau de reference pour les prix des accessoires
	accessoires_reference: {
		nom: {},//nom --> prix
		description: {}, //nom-->description
		reference: {} //nom-->reference
	},
	
	choix_accessoires: {
		nom: [],
		quantite: []
	},
	
	accessoires_prix: 0.0,
	
	/***************************************************** traduction des infos et menus ******************************************/
	
	info_recap1: '',
	info_recap2: '',
	info_recap3: '',
	info_recap4: '',
	
	menu_contextuelle: {
		nom: {
			titre: '',
			description: '',
			url: ''
		}
	},
	
	money_name: '',
	money: '',
	
	finitionText:'',
	
	after_price:'',
	before_price:'',
	priceThousands:'',
	showPrice:'',
	showAlertBox:'',
	showColorTrimPrice:'',
	
	/*************************************************************************************************************************
	 * Constructor
	 *************************************************************************************************************************/
	initialize: function(etape,args)
	{
		this.load(etape);
	},
	
	
	
	/*************************************************************************************************************************
	 * Now Loading
	 *************************************************************************************************************************/
	load: function(etape)
	{
			//infos prix
						this.prix_de_base = 0;
									this.prix_total = 0;
									this.prix_total_promotion = 0;
									this.prix_total_diff_promotion = 0;
						
			this.before_price = '';
			this.after_price = ' ';
			
						
						this.priceThousands = '.';
						
						this.replacePriceLabel = '';
						
						this.showPrice = true;
									this.showAlertBox = true;
									this.showBox = false;
									this.showColorTrimPrice = true;
						
			
			
			//recup infos de l'etape 1
						
			//recup infos de l'etape 2
						
			//recup infos de l'etape 3
						
			//recup infos de l'etape 4
						
			//Recap BOX infos
				//recap pour l'etape 2
								
				
				//recap pour l'etape 3
								
				
				//recap pour l'etape 4
								
				
				//recap pour l'etape 5
								
				
				
			
			this.menu_contextuelle.nom['menu_email'] = {
				'titre' : 'configurator.new_cfg.cfg_sendtofriend',
				'description': 'configurator.new_cfg.cfg_sendtofriend_desc'
			}
			
			this.menu_contextuelle.nom['menu_save'] = {
				'titre' : 'configurator.new_cfg.cfg_menu_save',
				'description': 'configurator.new_cfg.cfg_menu_save_desc'
			}
			
			this.menu_contextuelle.nom['menu_specs'] = {
				'titre' : 'configurator.new_cfg.cfg_menu_spec',
				'description': 'configurator.new_cfg.cfg_menu_spec_desc'
			}
			
			this.menu_contextuelle.nom['menu_drive'] = {
				'titre' : 'configurator.new_cfg.cfg_menu_drive',
				'description': 'configurator.new_cfg.cfg_menu_drive_desc'
			}
			
			this.menu_contextuelle.nom['menu_print'] = {
				'titre' : 'configurator.new_cfg.cfg_menu_print',
				'description': 'configurator.new_cfg.cfg_menu_print_desc'
			}
			
			this.menu_contextuelle.nom['menu_doc'] = {
				'titre' : 'configurator.new_cfg.cfg_menu_doc',
				'description': 'configurator.new_cfg.cfg_menu_doc_desc'
			}
			
			this.menu_contextuelle.nom['menu_star0'] = {
				'titre' : 'configurator.new_cfg.cfg_menu_star0',
				'description': 'configurator.new_cfg.cfg_menu_star0_desc'
			}
			
			this.menu_contextuelle.nom['menu_search'] = {
				'titre' : 'configurator.new_cfg.cfg_menu_search',
				'description': 'configurator.new_cfg.cfg_menu_search_desc'
			}
			
			this.menu_contextuelle.nom['menu_price'] = {
				'titre' : 'configurator.new_cfg.cfg_menu_price',
				'description': 'configurator.new_cfg.cfg_menu_price_desc'
			}
			
						
			this.info_recap1= 'configurator.configure.resume.cfg_recap1';
			this.info_recap2= 'configurator.configure.resume.cfg_recap2';
			this.info_recap3= 'configurator.configure.resume.cfg_recap3';
			this.info_recap4= 'configurator.configure.resume.cfg_recap4';
			
			this.money_name = '';
			this.money = '';
			
			
	}
	
	
	
	});
  