C # version function ID15T18 (strTemp) {var arrit = new Array (7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2); VAR Arrch = new array ('1', '0', 'x', '9', '8', '7', '6', '5', '4', '3', '2'); VAR ntemp = 0, i; if (strTemp.Length == 15) {straTemp = strTemp.substr (0,6) '19' strtemp.substr (6, strTemp.length-6); for (i = 0 i