function CalcSettings() { this.pricelist=new Array(); this.pricelist[0]={ 'section':4, 'rows':new Array( { 'id':47, 'ident':"", 'car':18, 'fixed':0, 'extra':0, 'person_1':22, 'person_2':24, 'person_3':27, 'person_4':30, 'min_1':2500, 'min_2':2500, 'min_3':2500, 'min_4':2500 }, { 'id':50, 'ident':"", 'car':1, 'fixed':0, 'extra':0, 'person_1':24, 'person_2':26, 'person_3':29, 'person_4':32, 'min_1':3000, 'min_2':3000, 'min_3':3000, 'min_4':3000 }, { 'id':52, 'ident':"", 'car':4, 'fixed':0, 'extra':0, 'person_1':24, 'person_2':26, 'person_3':29, 'person_4':32, 'min_1':3000, 'min_2':3000, 'min_3':3000, 'min_4':3000 }, { 'id':55, 'ident':"", 'car':5, 'fixed':0, 'extra':0, 'person_1':28, 'person_2':30, 'person_3':33, 'person_4':36, 'min_1':4000, 'min_2':4000, 'min_3':4000, 'min_4':4000 }, { 'id':81, 'ident':"", 'car':19, 'fixed':0, 'extra':0, 'person_1':28, 'person_2':30, 'person_3':33, 'person_4':36, 'min_1':4000, 'min_2':4000, 'min_3':4000, 'min_4':4000 } ) }; this.pricelist[1]={ 'section':5, 'rows':new Array( { 'id':58, 'ident':"", 'car':null, 'fixed':0, 'extra':0, 'person_1':0, 'person_2':0, 'person_3':1800, 'person_4':2400, 'min_1':1000, 'min_2':1600, 'min_3':2300, 'min_4':3000 }, { 'id':68, 'ident':"", 'car':null, 'fixed':0, 'extra':0, 'person_1':400, 'person_2':600, 'person_3':800, 'person_4':1000, 'min_1':600, 'min_2':600, 'min_3':800, 'min_4':1000 }, { 'id':69, 'ident':"", 'car':null, 'fixed':0, 'extra':0, 'person_1':0, 'person_2':0, 'person_3':21, 'person_4':24, 'min_1':15, 'min_2':18, 'min_3':21, 'min_4':24 } ) }; this.pricelist[2]={ 'section':7, 'rows':new Array( { 'id':6, 'ident':"category_2", 'car':null, 'fixed':2000, 'extra':400, 'person_1':0, 'person_2':0, 'person_3':0, 'person_4':0, 'min_1':0, 'min_2':0, 'min_3':0, 'min_4':0 }, { 'id':7, 'ident':"category_3", 'car':null, 'fixed':3000, 'extra':800, 'person_1':0, 'person_2':0, 'person_3':0, 'person_4':0, 'min_1':0, 'min_2':0, 'min_3':0, 'min_4':0 }, { 'id':8, 'ident':"category_4", 'car':null, 'fixed':4000, 'extra':1200, 'person_1':0, 'person_2':0, 'person_3':0, 'person_4':0, 'min_1':0, 'min_2':0, 'min_3':0, 'min_4':0 }, { 'id':9, 'ident':"category_5", 'car':null, 'fixed':6000, 'extra':2000, 'person_1':0, 'person_2':0, 'person_3':0, 'person_4':0, 'min_1':0, 'min_2':0, 'min_3':0, 'min_4':0 } ) }; this.pricelist[3]={ 'section':8, 'rows':new Array( { 'id':29, 'ident':"trash", 'car':null, 'fixed':250, 'extra':0, 'person_1':0, 'person_2':0, 'person_3':0, 'person_4':0, 'min_1':0, 'min_2':0, 'min_3':0, 'min_4':0 } ) }; this.pricelist[4]={ 'section':11, 'rows':new Array( { 'id':35, 'ident':"", 'car':18, 'fixed':0, 'extra':0, 'person_1':1500, 'person_2':1500, 'person_3':1900, 'person_4':2300, 'min_1':2500, 'min_2':2500, 'min_3':2500, 'min_4':2500 }, { 'id':38, 'ident':"", 'car':1, 'fixed':0, 'extra':0, 'person_1':1600, 'person_2':1600, 'person_3':2000, 'person_4':2400, 'min_1':3000, 'min_2':3000, 'min_3':3000, 'min_4':3000 }, { 'id':41, 'ident':"", 'car':4, 'fixed':0, 'extra':0, 'person_1':1600, 'person_2':1600, 'person_3':2000, 'person_4':2400, 'min_1':3000, 'min_2':3000, 'min_3':3000, 'min_4':3000 }, { 'id':44, 'ident':"", 'car':5, 'fixed':0, 'extra':0, 'person_1':1800, 'person_2':1800, 'person_3':2200, 'person_4':2600, 'min_1':4000, 'min_2':4000, 'min_3':4000, 'min_4':4000 }, { 'id':80, 'ident':"", 'car':19, 'fixed':0, 'extra':0, 'person_1':1800, 'person_2':1800, 'person_3':2200, 'person_4':2600, 'min_1':4000, 'min_2':4000, 'min_3':4000, 'min_4':4000 } ) }; this.pricelist[5]={ 'section':14, 'rows':new Array( ) }; this.cars=new Array(); this.cars[0]={ 'id':21, 'ident':"", 'name':"Fiat Scudo", 'model':"Scudo", 'image':3736, 'hull':1, 'cubature':5.07, 'crew':1, 'pieces_max_small':0, 'pieces_max_big':0, 'url':"https:\/\/www.stehovani-tavocer.cz\/vozovy-park\/detail\/21-fiat-scudo\/", 'hullName':"furgon", 'thumbnail':"https:\/\/www.stehovani-tavocer.cz\/download\/1420548531_e698\/fiat1+%2880x54%29.png" }; this.cars[1]={ 'id':18, 'ident':"", 'name':"Iveco 12 m3 (Daily 35S13V)", 'model':"Iveco Daily 35S13V", 'image':4036, 'hull':1, 'cubature':11.5, 'crew':2, 'pieces_max_small':60, 'pieces_max_big':8, 'url':"https:\/\/www.stehovani-tavocer.cz\/vozovy-park\/detail\/18-iveco-12-m3-daily-35s13v\/", 'hullName':"furgon", 'thumbnail':"https:\/\/www.stehovani-tavocer.cz\/download\/1439971782_0522\/iv12+%2880x60%29.png" }; this.cars[2]={ 'id':20, 'ident':"", 'name':"Iveco 18 m3 (Daily 35C13)", 'model':"Iveco Daily 35C13", 'image':3595, 'hull':2, 'cubature':19.28, 'crew':2, 'pieces_max_small':0, 'pieces_max_big':0, 'url':"https:\/\/www.stehovani-tavocer.cz\/vozovy-park\/detail\/20-iveco-18-m3-daily-35c13\/", 'hullName':"sk\u0159\u00ed\u0148", 'thumbnail':"https:\/\/www.stehovani-tavocer.cz\/download\/1412940708_c60e\/iveco18+%2880x52%29.jpg" }; this.cars[3]={ 'id':15, 'ident':"", 'name':"Iveco 19 m3 (Iveco Daily 35C15)", 'model':"Iveco Daily 35C15", 'image':1340, 'hull':2, 'cubature':19.98, 'crew':3, 'pieces_max_small':0, 'pieces_max_big':0, 'url':"https:\/\/www.stehovani-tavocer.cz\/vozovy-park\/detail\/15-iveco-19-m3-iveco-daily-35c15\/", 'hullName':"sk\u0159\u00ed\u0148", 'thumbnail':"https:\/\/www.stehovani-tavocer.cz\/download\/1340106237_edf2\/iveco19new-1+%2876x60%29.jpg" }; this.cars[4]={ 'id':1, 'ident':"", 'name':"Iveco 20 m3 (Daily 35C15)", 'model':"Iveco Daily 35C15", 'image':1460, 'hull':2, 'cubature':19.98, 'crew':2, 'pieces_max_small':100, 'pieces_max_big':15, 'url':"https:\/\/www.stehovani-tavocer.cz\/vozovy-park\/detail\/1-iveco-20-m3-daily-35c15\/", 'hullName':"sk\u0159\u00ed\u0148", 'thumbnail':"https:\/\/www.stehovani-tavocer.cz\/download\/1340197873_5313\/20new_1+%2880x49%29.jpg" }; this.cars[5]={ 'id':12, 'ident':"", 'name':"Iveco 21 m3 (Daily 35C13)", 'model':"Iveco Daily 35C13", 'image':3181, 'hull':2, 'cubature':18.49, 'crew':2, 'pieces_max_small':0, 'pieces_max_big':0, 'url':"https:\/\/www.stehovani-tavocer.cz\/vozovy-park\/detail\/12-iveco-21-m3-daily-35c13\/", 'hullName':"sk\u0159\u00ed\u0148", 'thumbnail':"https:\/\/www.stehovani-tavocer.cz\/download\/1396534960_1774\/iveco21-np-1+%2880x60%29.jpg" }; this.cars[6]={ 'id':4, 'ident':"", 'name':"Iveco 22 m3 (Iveco Daily 35C13)", 'model':"Iveco Daily 35C13", 'image':3171, 'hull':2, 'cubature':19.62, 'crew':2, 'pieces_max_small':128, 'pieces_max_big':18, 'url':"https:\/\/www.stehovani-tavocer.cz\/vozovy-park\/detail\/4-iveco-22-m3-iveco-daily-35c13\/", 'hullName':"sk\u0159\u00ed\u0148", 'thumbnail':"https:\/\/www.stehovani-tavocer.cz\/download\/1396529496_1338\/iveco22-np-1+%2880x60%29.jpg" }; this.cars[7]={ 'id':5, 'ident':"", 'name':"Iveco 36 m3 (EuroCargo)", 'model':"Iveco EuroCargo M75D4", 'image':3696, 'hull':2, 'cubature':34.46, 'crew':2, 'pieces_max_small':160, 'pieces_max_big':30, 'url':"https:\/\/www.stehovani-tavocer.cz\/vozovy-park\/detail\/5-iveco-36-m3-eurocargo\/", 'hullName':"sk\u0159\u00ed\u0148", 'thumbnail':"https:\/\/www.stehovani-tavocer.cz\/download\/1416568525_7821\/iveco36-1+%2880x60%29.jpg" }; this.cars[8]={ 'id':19, 'ident':"", 'name':"Iveco 42 m3 (EuroCargo ML120E25)", 'model':"Iveco EuroCargo ML120E25", 'image':4132, 'hull':2, 'cubature':42.63, 'crew':1, 'pieces_max_small':220, 'pieces_max_big':36, 'url':"https:\/\/www.stehovani-tavocer.cz\/vozovy-park\/detail\/19-iveco-42-m3-eurocargo-ml120e25\/", 'hullName':"sk\u0159\u00ed\u0148", 'thumbnail':"https:\/\/www.stehovani-tavocer.cz\/download\/1448368736_ad0e\/iveco-42-pol+%2880x60%29.png" }; this.flat=new Array(); this.flat[0]={ 'id':9, 'name':"jeden pokoj", 'small':10, 'big':4 }; this.flat[1]={ 'id':1, 'name':"byt 1+kk", 'small':15, 'big':5 }; this.flat[2]={ 'id':2, 'name':"byt 1+1", 'small':20, 'big':7 }; this.flat[3]={ 'id':3, 'name':"byt 2+kk", 'small':25, 'big':10 }; this.flat[4]={ 'id':4, 'name':"byt 2+1", 'small':25, 'big':12 }; this.flat[5]={ 'id':5, 'name':"byt 3+1", 'small':35, 'big':17 }; this.flat[6]={ 'id':11, 'name':"byt 4+1", 'small':45, 'big':22 }; this.flat[7]={ 'id':12, 'name':"byt 5+1", 'small':55, 'big':27 }; this.flat[8]={ 'id':13, 'name':"byt 6+1", 'small':65, 'big':32 }; this.flat[9]={ 'id':6, 'name':"kancel\u00e1\u0159e 5 pracovn\u00edch m\u00edst", 'small':20, 'big':10 }; this.flat[10]={ 'id':7, 'name':"kancel\u00e1\u0159e 10 pracovn\u00edch m\u00edst", 'small':40, 'big':20 }; this.flat[11]={ 'id':8, 'name':"kancel\u00e1\u0159e 15 pracovn\u00edch m\u00edst", 'small':60, 'big':30 }; this.flat[12]={ 'id':10, 'name':"kancel\u00e1\u0159e 20 pracovn\u00edch m\u00edst", 'small':80, 'big':40 }; this.flat[13]={ 'id':14, 'name':"kancel\u00e1\u0159e 30 pracovn\u00edch m\u00edst", 'small':100, 'big':60 }; this.tresors=new Array(); this.tresors[0]={ 'id':1, 'name':"nen\u00ed", 'workers':0 }; this.tresors[1]={ 'id':2, 'name':"100 - 199 kg", 'workers':2 }; this.tresors[2]={ 'id':3, 'name':"200 - 299 kg", 'workers':2 }; this.tresors[3]={ 'id':4, 'name':"300 - 399 kg", 'workers':4 }; this.tresors[4]={ 'id':5, 'name':"400 - 499 kg", 'workers':6 }; this.ride=new Array(); this.ride[0]={ 'id':1, 'name':"0", 'value':0 }; this.ride[1]={ 'id':2, 'name':"do 15 min", 'value':15 }; this.ride[2]={ 'id':3, 'name':"15 - 30 min", 'value':30 }; this.ride[3]={ 'id':4, 'name':"31 - 45 min", 'value':45 }; this.ride[4]={ 'id':5, 'name':"46 min - 1 hodina", 'value':60 }; this.ride[5]={ 'id':6, 'name':"v\u00edce ne\u017e 1 hodina", 'value':75 }; this.trans={ 'carLoadingSmall':1.5, 'carLoadingBig':3.8, 'liftMoveTime':0.25, 'liftPersonalSmall':8, 'liftPersonalBig':1, 'liftCargoSmall':25, 'liftCargoBig':4, 'smallPiece':4, 'liftLoadingSmall':0.7, 'liftLoadingBig':1.4, 'moveDeckSmall':0.4, 'moveDeckBig':1, 'decksNoLiftPerWorker':25, 'workersSmallPieces4':60, 'workersSmallPieces3':40, 'workersBig':2, 'priceAddPerWorkerPerKm':2, 'priceAddPerWorker':200, 'priceAddPerWorkerMinimal':200, 'maxPiecesPiano':4, 'maxPiecesGrandpiano':4, 'maxPiecesWardrobe':10, 'heavyPianoCategory':3, 'heavyGrandpianoCategory':3, 'heavyWardrobeCategory':2, 'maxDecks':24, 'moveDeckSmallPerPerson':4, 'liftPersonalBigFitKoef':0.5, 'moveDeckSlowdownKoef':0.02, 'rideAvarageSpeed':70, 'priceMinKoef':0.85, 'priceMaxKoef':1.15, 'timeRideWithTrash':20, 'packageTimeSmall':3, 'packageTimeBig':4, 'packageTimeMinimal':7, 'packagePriceSmall':20, 'packagePriceBig':45, 'disassemblingTime':15, 'assemblingTime':30, 'assemblingTimeMinimal':15, 'vatPercent':21, 'requestNumberStart':17600 } } //------------------------------------------------------------------------------------------------ calcSettings=new CalcSettings();