var _globals=new Globals,_data=_globals.apiPostDataList("customers/data",{customers:"customers",citys:"citys",districts:"districts",positions:"positions",companyType:"companyType",staffs:"staffs",branchs:"branchs"}),cars=[],searchFrm={phone:"",plate:"",name:"",code:"",frames:""},sexs=[{id:1,name:_globals.language.male},{id:2,name:_globals.language.female},{id:3,name:_globals.language.other}],customer={code:"",sex:sexs[0].id,branchID:_data.branchs[0].id,staffID:_data.staffs[0].id},tabPanelItems=[{ID:1,tabname:_globals.language.visit_history,class:"visit"},{ID:2,tabname:_globals.language.repair_history,class:"repair"}];