document.write(""); function CheckFormSmall() { if (calcformsmall.citysmall.value==-1) { alert("Укажите \"Город обслуживания\"!"); return false; } if (calcformsmall.numbersmall.value=='') { alert("Не заполнено поле \"Количество человек\"!"); calcformsmall.numbersmall.focus(); return false; } if (calcformsmall.luggagesmall.value==-1) { alert("Укажите \"Количество багажа\"!"); return false; } if (calcformsmall.stypesmall.value==-1) { alert("Укажите \"Тип услуги\"!"); return false; } return true; }; function chtypesmall() { i=0; a0=''; a1='
Введите количество часов аренды: * 
'; a2='
Откуда: * 
Куда: * 
'; a3='
Введите количество часов аренды: * 
'; a4='
Пункт назначения: * 
или километраж:
'; a5='
Откуда: * 
Куда: * 
'; while (i < calcformsmall.stypesmall.length) { if (calcformsmall.stypesmall[i].selected) { if (i==0) {addtypesmall.innerHTML=a0;} if (i==1) {addtypesmall.innerHTML=a1;} if ((i==2 && calcformsmall.citysmall.value=="msc") || (i==2 && calcformsmall.citysmall.value!="spb")) {addtypesmall.innerHTML=a2;} else { if (i==2) addtypesmall.innerHTML=a5;} if (i==3) {addtypesmall.innerHTML=a3;} if (i==4) {addtypesmall.innerHTML=a4;} } i++; } return; }; document.write("
"); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write("
Транспортный калькулятор
Укажите город обслуживания: *
"); document.write("
Укажите количество человек: *
"); document.write("
Укажите количество багажа: *
"); document.write("
Укажите тип услуги: *
"); document.write(""); document.write("
"); document.write("");document.write("
Калькулятор на Вашем сайте..."); document.write("
");