function tarifs (tplanins) { var timeopl = document.regform.timeopl.value; var zone = document.regform.zone.value; if (document.getElementById("38").checked) {tplanins = document.getElementById("38").value}; if (document.getElementById("53").checked) {tplanins = document.getElementById("53").value}; if (document.getElementById("54").checked) {tplanins = document.getElementById("54").value}; if (document.getElementById("58").checked) {tplanins = document.getElementById("58").value}; if (document.getElementById("92").checked) {tplanins = document.getElementById("92").value}; if (document.getElementById("143").checked) {tplanins = document.getElementById("143").value}; if (document.getElementById("144").checked) {tplanins = document.getElementById("144").value}; if (document.getElementById("145").checked) {tplanins = document.getElementById("145").value}; if (document.getElementById("146").checked) {tplanins = document.getElementById("146").value}; if (document.getElementById("147").checked) {tplanins = document.getElementById("147").value}; if (document.getElementById("148").checked) {tplanins = document.getElementById("148").value}; if (document.getElementById("173").checked) {tplanins = document.getElementById("173").value}; if (document.getElementById("164").checked) {tplanins = document.getElementById("164").value}; if (document.getElementById("163").checked) {tplanins = document.getElementById("163").value}; if (document.getElementById("165").checked) {tplanins = document.getElementById("165").value}; if (document.getElementById("166").checked) {tplanins = document.getElementById("166").value}; if (document.getElementById("167").checked) {tplanins = document.getElementById("167").value}; if (document.getElementById("168").checked) {tplanins = document.getElementById("168").value}; if (document.getElementById("169").checked) {tplanins = document.getElementById("169").value}; if (document.getElementById("170").checked) {tplanins = document.getElementById("170").value}; if (document.getElementById("171").checked) {tplanins = document.getElementById("171").value}; if (document.getElementById("172").checked) {tplanins = document.getElementById("172").value}; if (document.getElementById("174").checked) {tplanins = document.getElementById("174").value}; if (document.getElementById("175").checked) {tplanins = document.getElementById("175").value}; if (document.getElementById("176").checked) {tplanins = document.getElementById("176").value}; if (document.getElementById("177").checked) {tplanins = document.getElementById("177").value}; if (tplanins == 38 && timeopl == 1) {document.regform.toplata.value=300;} if (tplanins == 38 && timeopl == 2) {document.regform.toplata.value=1600;} if (tplanins == 38 && timeopl == 3) {document.regform.toplata.value="3000";} if (tplanins == 38 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 53 && timeopl == 1) {document.regform.toplata.value=129;} if (tplanins == 53 && timeopl == 2) {document.regform.toplata.value=699;} if (tplanins == 53 && timeopl == 3) {document.regform.toplata.value="1299";} if (tplanins == 53 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 54 && timeopl == 1) {document.regform.toplata.value=199;} if (tplanins == 54 && timeopl == 2) {document.regform.toplata.value=999;} if (tplanins == 54 && timeopl == 3) {document.regform.toplata.value="1899";} if (tplanins == 54 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 58 && timeopl == 1) {document.regform.toplata.value=100;} if (tplanins == 58 && timeopl == 2) {document.regform.toplata.value=450;} if (tplanins == 58 && timeopl == 3) {document.regform.toplata.value="800";} if (tplanins == 58 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 92 && timeopl == 1) {document.regform.toplata.value=59;} if (tplanins == 92 && timeopl == 2) {document.regform.toplata.value=240;} if (tplanins == 92 && timeopl == 3) {document.regform.toplata.value="365";} if (tplanins == 92 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 143 && timeopl == 1) {document.regform.toplata.value="Тариф на указанный срок не предоставляется.";} if (tplanins == 143 && timeopl == 2) {document.regform.toplata.value=99;} if (tplanins == 143 && timeopl == 3) {document.regform.toplata.value="159";} if (tplanins == 143 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 144 && timeopl == 1) {document.regform.toplata.value=29;} if (tplanins == 144 && timeopl == 2) {document.regform.toplata.value=149;} if (tplanins == 144 && timeopl == 3) {document.regform.toplata.value="259";} if (tplanins == 144 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 145 && timeopl == 1) {document.regform.toplata.value=39;} if (tplanins == 145 && timeopl == 2) {document.regform.toplata.value=189;} if (tplanins == 145 && timeopl == 3) {document.regform.toplata.value="333";} if (tplanins == 145 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 146 && timeopl == 1) {document.regform.toplata.value=49;} if (tplanins == 146 && timeopl == 2) {document.regform.toplata.value=279;} if (tplanins == 146 && timeopl == 3) {document.regform.toplata.value="499";} if (tplanins == 146 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 147 && timeopl == 1) {document.regform.toplata.value=69;} if (tplanins == 147 && timeopl == 2) {document.regform.toplata.value=369;} if (tplanins == 147 && timeopl == 3) {document.regform.toplata.value="649";} if (tplanins == 147 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 148 && timeopl == 1) {document.regform.toplata.value=89;} if (tplanins == 148 && timeopl == 2) {document.regform.toplata.value=489;} if (tplanins == 148 && timeopl == 3) {document.regform.toplata.value="869";} if (tplanins == 148 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 173 && timeopl == 1) {document.regform.toplata.value="Тариф на указанный срок не предоставляется.";} if (tplanins == 173 && timeopl == 2) {document.regform.toplata.value=93;} if (tplanins == 173 && timeopl == 3) {document.regform.toplata.value="155";} if (tplanins == 173 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 164 && timeopl == 1) {document.regform.toplata.value=34;} if (tplanins == 164 && timeopl == 2) {document.regform.toplata.value=183;} if (tplanins == 164 && timeopl == 3) {document.regform.toplata.value="319";} if (tplanins == 164 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 163 && timeopl == 1) {document.regform.toplata.value="Тариф на указанный срок не предоставляется.";} if (tplanins == 163 && timeopl == 2) {document.regform.toplata.value=129;} if (tplanins == 163 && timeopl == 3) {document.regform.toplata.value="219";} if (tplanins == 163 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 165 && timeopl == 1) {document.regform.toplata.value=39;} if (tplanins == 165 && timeopl == 2) {document.regform.toplata.value=212;} if (tplanins == 165 && timeopl == 3) {document.regform.toplata.value="369";} if (tplanins == 165 && timeopl == 4) {document.regform.toplata.value="369";} if (tplanins == 166 && timeopl == 1) {document.regform.toplata.value=43;} if (tplanins == 166 && timeopl == 2) {document.regform.toplata.value=229;} if (tplanins == 166 && timeopl == 3) {document.regform.toplata.value="399";} if (tplanins == 166 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 167 && timeopl == 1) {document.regform.toplata.value=55;} if (tplanins == 167 && timeopl == 2) {document.regform.toplata.value=286;} if (tplanins == 167 && timeopl == 3) {document.regform.toplata.value="499";} if (tplanins == 167 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 168 && timeopl == 1) {document.regform.toplata.value="Тариф на указанный срок не предоставляется.";} if (tplanins == 168 && timeopl == 2) {document.regform.toplata.value=99;} if (tplanins == 168 && timeopl == 3) {document.regform.toplata.value="169";} if (tplanins == 168 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 169 && timeopl == 1) {document.regform.toplata.value=23;} if (tplanins == 169 && timeopl == 2) {document.regform.toplata.value=153;} if (tplanins == 169 && timeopl == 3) {document.regform.toplata.value="234";} if (tplanins == 169 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 170 && timeopl == 1) {document.regform.toplata.value=39;} if (tplanins == 170 && timeopl == 2) {document.regform.toplata.value=209;} if (tplanins == 170 && timeopl == 3) {document.regform.toplata.value="349";} if (tplanins == 170 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 171 && timeopl == 1) {document.regform.toplata.value=43;} if (tplanins == 171 && timeopl == 2) {document.regform.toplata.value=249;} if (tplanins == 171 && timeopl == 3) {document.regform.toplata.value="399";} if (tplanins == 171 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 172 && timeopl == 1) {document.regform.toplata.value=56;} if (tplanins == 172 && timeopl == 2) {document.regform.toplata.value=286;} if (tplanins == 172 && timeopl == 3) {document.regform.toplata.value="469";} if (tplanins == 172 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 174 && timeopl == 1) {document.regform.toplata.value=29;} if (tplanins == 174 && timeopl == 2) {document.regform.toplata.value=139;} if (tplanins == 174 && timeopl == 3) {document.regform.toplata.value="229";} if (tplanins == 174 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 175 && timeopl == 1) {document.regform.toplata.value=36;} if (tplanins == 175 && timeopl == 2) {document.regform.toplata.value=182;} if (tplanins == 175 && timeopl == 3) {document.regform.toplata.value="279";} if (tplanins == 175 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 176 && timeopl == 1) {document.regform.toplata.value=42;} if (tplanins == 176 && timeopl == 2) {document.regform.toplata.value=239;} if (tplanins == 176 && timeopl == 3) {document.regform.toplata.value="379";} if (tplanins == 176 && timeopl == 4) {document.regform.toplata.value="";} if (tplanins == 177 && timeopl == 1) {document.regform.toplata.value=51;} if (tplanins == 177 && timeopl == 2) {document.regform.toplata.value=299;} if (tplanins == 177 && timeopl == 3) {document.regform.toplata.value="499";} if (tplanins == 177 && timeopl == 4) {document.regform.toplata.value="";} //alert("План " +tplanins+ "- Скрок " +timeopl); }