$Gears = array(3.42, 3.73, 4.10, 4.56, ""); $Trans = array(3.059, 1.625, 1, 0.696); $Final = 1; $Tires = range(28, 40, 0.5); $MPH = $_REQUEST['mph']; if (! $MPH) $MPH = 65; $cust = $_REQUEST['cust']; if (! $cust) $cust=5.10; if ($cust > 100) $cust = $cust / 100; if ($cust) $cust = number_format($cust, 2); $shift = $_REQUEST['shift']; if (! $shift) $shift = 4; $fourlow = $_REQUEST['fourlow']; if (!$fourlow) $fourlow = 1; function between($num, $low, $high) { if($num < $low) return false; if($num > $high) return false; return true; } function dec2hex($dec) { if ($dec < 0) $dec = 0; if ($dec > 255) $dec = 255; return substr("00".dechex($dec), -2); } ?>