home *** CD-ROM | disk | FTP | other *** search
- var onedown;
- var twodown;
- var threedown;
- var fivedown;
- var sixdown;
- var sevendown;
- var eightdown;
- var ninedown;
- var fifteendown;
- var oneacross;
- var fouracross;
- var sixacross;
- var tenacross;
- var elevenacross;
- var twelveacross;
- var thirteenacross;
- var fourteenacross;
- var sixteenacross;
- var seven2;
- var eight2;
- var nine2;
- var ten2;
- var eleven2;
- var twelve2;
- var fourteen2;
- var three3;
- var seven3;
- var fourteen3;
- var three4;
- var seven4;
- var ten4;
- var eleven4;
- var twelve4;
- var thirteen4;
- var fourteen4;
- var fifteen4;
- var seventeen4;
- var eighteen4;
- var three5;
- var seven5;
- var fourteen5;
- var eighteen5;
- var three6;
- var seven6;
- var fourteen6;
- var eighteen6;
- var one7;
- var two7;
- var three7;
- var four7;
- var five7;
- var six7;
- var seven7;
- var eight7;
- var nine7;
- var ten7;
- var eleven7;
- var fourteen7;
- var eighteen7;
- var one8;
- var seven8;
- var fourteen8;
- var eighteen8;
- var one9;
- var seven9;
- var ten9;
- var fourteen9;
- var eighteen9;
- var twenty9;
- var twentytwo9;
- var one10;
- var four10;
- var five10;
- var six10;
- var seven10;
- var eight10;
- var nine10;
- var ten10;
- var fourteen10;
- var seventeen10;
- var eighteen10;
- var nineteen10;
- var twenty10;
- var twentyone10;
- var twentytwo10;
- var twentythree10;
- var twentyfour10;
- var twentyfive10;
- var one11;
- var ten11;
- var fourteen11;
- var eighteen11;
- var twenty11;
- var twentytwo11;
- var ten12;
- var eleven12;
- var twelve12;
- var thirteen12;
- var fourteen12;
- var eighteen12;
- var twenty12;
- var twentytwo12;
- var ten13;
- var fourteen13;
- var twenty13;
- var two14;
- var three14;
- var four14;
- var five14;
- var six14;
- var seven14;
- var eight14;
- var nine14;
- var ten14;
- var fourteen14;
- var ten15;
- var three16;
- var four16;
- var five16;
- var six16;
- var seven16;
- var eight16;
- var nine16;
- var ten16;
- var six17;
- var ten17;
- var six18;
- var six29;
- var seven19;
- var eight19;
- var nine19;
- var ten19;
- var eleven19;
- var six20;
- var six21;
- var six22;
- var six23;
- var six24;
- var six25;
-
-
- function reset() {
- location = "diffuse_background.html";
- }
-
- function checkme() {
-
- onedown = document.puzzle.onedown.value;
- twodown = document.puzzle.twodown.value;
- threedown = document.puzzle.threedown.value;
- fivedown = document.puzzle.fivedown.value;
- sixdown = document.puzzle.sixdown.value;
- sevendown = document.puzzle.sevendown.value;
- eightdown = document.puzzle.eightdown.value;
- ninedown = document.puzzle.ninedown.value;
- fifteendown = document.puzzle.fifteendown.value;
- oneacross = document.puzzle.oneacross.value;
- fouracross = document.puzzle.fouracross.value;
- sixacross = document.puzzle.sixacross.value;
- tenacross = document.puzzle.tenacross.value;
- elevenacross = document.puzzle.elevenacross.value;
- twelveacross = document.puzzle.twelveacross.value;
- thirteenacross = document.puzzle.thirteenacross.value;
- fourteenacross = document.puzzle.fourteenacross.value;
- sixteenacross = document.puzzle.sixteenacross.value;
- seven2 = document.puzzle.seven2.value;
- eight2 = document.puzzle.eight2.value;
- nine2 = document.puzzle.nine2.value;
- ten2 = document.puzzle.ten2.value;
- eleven2 = document.puzzle.eleven2.value;
- twelve2 = document.puzzle.twelve2.value;
- fourteen2 = document.puzzle.fourteen2.value;
- three3 = document.puzzle.three3.value;
- seven3 = document.puzzle.seven3.value;
- fourteen3 = document.puzzle.fourteen3.value;
- three4 = document.puzzle.three4.value;
- seven4 = document.puzzle.seven4.value;
- ten4 = document.puzzle.ten4.value;
- eleven4 = document.puzzle.eleven4.value;
- twelve4 = document.puzzle.twelve4.value;
- thirteen4 = document.puzzle.thirteen4.value;
- fourteen4 = document.puzzle.fourteen4.value;
- fifteen4 = document.puzzle.fifteen4.value;
- sixteen4 = document.puzzle.sixteen4.value;
- seventeen4 = document.puzzle.seventeen4.value;
- eighteen4 = document.puzzle.eighteen4.value;
- three5 = document.puzzle.three5.value;
- seven5 = document.puzzle.seven5.value;
- fourteen5 = document.puzzle.fourteen5.value;
- eighteen5 = document.puzzle.eighteen5.value;
- three6 = document.puzzle.three6.value;
- seven6 = document.puzzle.seven6.value;
- fourteen6 = document.puzzle.fourteen6.value;
- eighteen6 = document.puzzle.eighteen6.value;
- one7 = document.puzzle.one7.value;
- two7 = document.puzzle.two7.value;
- three7 = document.puzzle.three7.value;
- four7 = document.puzzle.four7.value;
- five7 = document.puzzle.five7.value;
- six7 = document.puzzle.six7.value;
- seven7 = document.puzzle.seven7.value;
- eight7 = document.puzzle.eight7.value;
- nine7 = document.puzzle.nine7.value;
- ten7 = document.puzzle.ten7.value;
- eleven7 = document.puzzle.eleven7.value;
- fourteen7 = document.puzzle.fourteen7.value;
- eighteen7 = document.puzzle.eighteen7.value;
- one8 = document.puzzle.one8.value;
- seven8 = document.puzzle.seven8.value;
- fourteen8 = document.puzzle.fourteen8.value;
- eighteen8 = document.puzzle.eighteen8.value;
- one9 = document.puzzle.one9.value;
- seven9 = document.puzzle.seven9.value;
- ten9 = document.puzzle.ten9.value;
- fourteen9 = document.puzzle.fourteen9.value;
- eighteen9 = document.puzzle.eighteen9.value;
- twenty9 = document.puzzle.twenty9.value;
- twentytwo9 = document.puzzle.twentytwo9.value;
- one10 = document.puzzle.one10.value;
- four10 = document.puzzle.four10.value;
- five10 = document.puzzle.five10.value;
- six10 = document.puzzle.six10.value;
- seven10 = document.puzzle.seven10.value;
- eight10 = document.puzzle.eight10.value;
- nine10 = document.puzzle.nine10.value;
- ten10 = document.puzzle.ten10.value;
- fourteen10 = document.puzzle.fourteen10.value;
- seventeen10 = document.puzzle.seventeen10.value;
- eighteen10 = document.puzzle.eighteen10.value;
- nineteen10 = document.puzzle.nineteen10.value;
- twenty10 = document.puzzle.twenty10.value;
- twentyone10 = document.puzzle.twentyone10.value;
- twentytwo10 = document.puzzle.twentytwo10.value;
- twentythree10 = document.puzzle.twentythree10.value;
- twentyfour10 = document.puzzle.twentyfour10.value;
- twentyfive10 = document.puzzle.twentyfive10.value;
- one11 = document.puzzle.one11.value;
- ten11 = document.puzzle.ten11.value;
- fourteen11 = document.puzzle.fourteen11.value;
- eighteen11 = document.puzzle.eighteen11.value;
- twenty11 = document.puzzle.twenty11.value;
- twentytwo11 = document.puzzle.twentytwo11.value;
- ten12 = document.puzzle.ten12.value;
- eleven12 = document.puzzle.eleven12.value;
- twelve12 = document.puzzle.twelve12.value;
- thirteen12 = document.puzzle.thirteen12.value;
- fourteen12 = document.puzzle.fourteen12.value;
- eighteen12 = document.puzzle.eighteen12.value;
- twenty12 = document.puzzle.twenty12.value;
- twentytwo12 = document.puzzle.twentytwo12.value;
- ten13 = document.puzzle.ten13.value;
- fourteen13 = document.puzzle.fourteen13.value;
- twenty13 = document.puzzle.twenty13.value;
- two14 = document.puzzle.two14.value;
- three14 = document.puzzle.three14.value;
- four14 = document.puzzle.four14.value;
- five14 = document.puzzle.five14.value;
- six14 = document.puzzle.six14.value;
- seven14 = document.puzzle.seven14.value;
- eight14 = document.puzzle.eight14.value;
- nine14 = document.puzzle.nine14.value;
- ten14 = document.puzzle.ten14.value;
- fourteen14 = document.puzzle.fourteen14.value;
- ten15 = document.puzzle.ten15.value;
- three16 = document.puzzle.three16.value;
- four16 = document.puzzle.four16.value;
- five16 = document.puzzle.five16.value;
- six16 = document.puzzle.six16.value;
- seven16 = document.puzzle.seven16.value;
- eight16 = document.puzzle.eight16.value;
- nine16 = document.puzzle.nine16.value;
- ten16 = document.puzzle.ten16.value;
- six17 = document.puzzle.six17.value;
- ten17 = document.puzzle.ten17.value;
- six18 = document.puzzle.six18.value;
- six19 = document.puzzle.six19.value;
- seven19 = document.puzzle.seven19.value;
- eight19 = document.puzzle.eight19.value;
- nine19 = document.puzzle.nine19.value;
- ten19 = document.puzzle.ten19.value;
- eleven19 = document.puzzle.eleven19.value;
- six20 = document.puzzle.six20.value;
- six21 = document.puzzle.six21.value;
- six22 = document.puzzle.six22.value;
- six23 = document.puzzle.six23.value;
- six24 = document.puzzle.six24.value;
- six25 = document.puzzle.six25.value;
-
- if ((seven2) && (eight2) && (nine2) && (ten2) && (eleven2) && (twelve2) &&
- ((!oneacross) || (oneacross.length < 6))) {
- oneacross = seven2 + eight2 + nine2 + ten2 + eleven2 + twelve2;
- document.puzzle.oneacross.value = oneacross;
- }
- else if (oneacross) {
- if ((seven2) && (seven2 != "?")) {
- if (oneacross.charAt(0) != seven2) {
- document.puzzle.seven2.value = seven2 = "?";
- }
- }
- else {
- document.puzzle.seven2.value = seven2 = oneacross.charAt(0);
- }
- document.puzzle.eight2.value = eight2 = oneacross.charAt(1);
- document.puzzle.nine2.value = nine2 = oneacross.charAt(2);
- document.puzzle.ten2.value = ten2 = oneacross.charAt(3);
- document.puzzle.eleven2.value = eleven2 = oneacross.charAt(4);
- document.puzzle.twelve2.value = twelve2 = oneacross.charAt(5);
- }
-
- if ((ten4) && (eleven4) && (twelve4) && (thirteen4) && (fourteen4) && (fifteen4) &&
- (sixteen4) && (seventeen4) && (eighteen4) &&
- ((!fouracross) || (fouracross.length < 9))) {
- fouracross = ten4 + eleven4 + twelve4 + thirteen4 + fourteen4 + fifteen4 + sixteen4 + seventeen4 + eighteen4;
- document.puzzle.fouracross.value = fouracross;
- }
- else if (fouracross) {
- document.puzzle.ten4.value = ten4 = fouracross.charAt(0);
- document.puzzle.eleven4.value = eleven4 = fouracross.charAt(1);
- document.puzzle.twelve4.value = twelve4 = fouracross.charAt(2);
- document.puzzle.thirteen4.value = thirteen4 = fouracross.charAt(3);
- if ((fourteen4) && (fourteen4 != "?")) {
- if (fouracross.charAt(4) != fourteen4) {
- document.puzzle.fourteen4.value = fourteen4 = "?";
- }
- }
- else {
- document.puzzle.fourteen4.value = fourteen4 = fouracross.charAt(4);
- }
- document.puzzle.fifteen4.value = fifteen4 = fouracross.charAt(5);
- document.puzzle.sixteen4.value = sixteen4 = fouracross.charAt(6);
- document.puzzle.seventeen4.value = seventeen4 = fouracross.charAt(7);
- if ((eighteen4) && (eighteen4 != "?")) {
- if (fouracross.charAt(8) != eighteen4) {
- document.puzzle.eighteen4.value = eighteen4 = "?";
- }
- }
- else {
- document.puzzle.eighteen4.value = eighteen4 = fouracross.charAt(8);
- }
- }
-
- if ((one7) && (two7) && (three7) && (four7) && (five7) &&
- (six7) && (seven7) && (eight7) && (nine7) && (ten7) && (eleven7) &&
- ((!sixacross) || (sixacross.length < 11))) {
- sixacross = one7 + two7 + three7 + four7 + five7 + six7 + seven7 + eight7 + nine7 + ten7 + eleven7;
- document.puzzle.sixacross.value = sixacross;
- }
- else if (sixacross) {
- if ((one7) && (one7 != "?")) {
- if (sixacross.charAt(0) != one7) {
- document.puzzle.one7.value = one7 = "?";
- }
- }
- else {
- document.puzzle.one7.value = one7 = sixacross.charAt(0);
- }
- document.puzzle.two7.value = two7 = sixacross.charAt(1);
- if ((three7) && (three7 != "?")) {
- if (sixacross.charAt(2) != three7) {
- document.puzzle.three7.value = three7 = "?";
- }
- }
- else {
- document.puzzle.three7.value = three7 = sixacross.charAt(2);
- }
- document.puzzle.four7.value = four7 = sixacross.charAt(3);
- document.puzzle.five7.value = five7 = sixacross.charAt(4);
- document.puzzle.six7.value = six7 = sixacross.charAt(5);
- if ((seven7) && (seven7 != "?")) {
- if (sixacross.charAt(6) != seven7) {
- document.puzzle.seven7.value = seven7 = "?";
- }
- }
- else {
- document.puzzle.seven7.value = seven7 = sixacross.charAt(6);
- }
- document.puzzle.eight7.value = eight7 = sixacross.charAt(7);
- document.puzzle.nine7.value = nine7 = sixacross.charAt(8);
- document.puzzle.ten7.value = ten7 = sixacross.charAt(9);
- document.puzzle.eleven7.value = eleven7 = sixacross.charAt(10);
- }
-
-
- if ((four10) && (five10) && (six10) && (seven10) && (eight10) &&
- (nine10) && (ten10) && ((!tenacross) || (tenacross.length < 7))) {
- tenacross = four10 + five10 + six10 + seven10 + eight10 + nine10 + ten10;
- document.puzzle.tenacross.value = tenacross;
- }
- else if (tenacross) {
- document.puzzle.four10.value = four10 = tenacross.charAt(0);
- document.puzzle.five10.value = five10 = tenacross.charAt(1);
- document.puzzle.six10.value = six10 = tenacross.charAt(2);
- if ((seven10) && (seven10 != "?")) {
- if (tenacross.charAt(3) != seven10) {
- document.puzzle.seven10.value = seven10 = "?";
- }
- }
- else {
- document.puzzle.seven10.value = seven10 = tenacross.charAt(3);
- }
- document.puzzle.eight10.value = eight10 = tenacross.charAt(4);
- document.puzzle.nine10.value = nine10 = tenacross.charAt(5);
- if ((ten10) && (ten10 != "?")) {
- if (tenacross.charAt(6) != ten10) {
- document.puzzle.ten10.value = ten10 = "?";
- }
- }
- else {
- document.puzzle.ten10.value = ten10 = tenacross.charAt(6);
- }
- }
-
- if ((seventeen10) && (eighteen10) && (nineteen10) && (twenty10) && (twentyone10) &&
- (twentytwo10) && (twentythree10) && (twentyfour10) && (twentyfive10) &&
- ((!elevenacross) || (elevenacross.length < 8))) {
- elevenacross = seventeen10 + eighteen10 + nineteen10 + twenty10 + twentyone10 + twentytwo10 + twentythree10 + twentyfour10 + twentyfive10;
- document.puzzle.elevenacross.value = elevenacross;
- }
- else if (elevenacross) {
- document.puzzle.seventeen10.value = seventeen10 = elevenacross.charAt(0);
- if ((eighteen10) && (eighteen10 != "?")) {
- if (elevenacross.charAt(1) != eighteen10) {
- document.puzzle.eighteen10.value = eighteen10 = "?";
- }
- }
- else {
- document.puzzle.eighteen10.value = eighteen10 = elevenacross.charAt(1);
- }
- document.puzzle.nineteen10.value = nineteen10 = elevenacross.charAt(2);
- if ((twenty10) && (twenty10 != "?")) {
- if (elevenacross.charAt(3) != twenty10) {
- document.puzzle.twenty10.value = twenty10 = "?";
- }
- }
- else {
- document.puzzle.twenty10.value = twenty10 = elevenacross.charAt(3);
- }
- document.puzzle.twentyone10.value = twentyone10 = elevenacross.charAt(4);
- if ((twentytwo10) && (twentytwo10 != "?")) {
- if (elevenacross.charAt(5) != twentytwo10) {
- document.puzzle.twentytwo10.value = twentytwo10 = "?";
- }
- }
- else {
- document.puzzle.twentytwo10.value = twentytwo10 = elevenacross.charAt(5);
- }
- document.puzzle.twentythree10.value = twentythree10 = elevenacross.charAt(6);
- document.puzzle.twentyfour10.value = twentyfour10 = elevenacross.charAt(7);
- document.puzzle.twentyfive10.value = twentyfive10 = elevenacross.charAt(8);
- }
-
- if ((ten12) && (eleven12) && (twelve12) && (thirteen12) && (fourteen12) &&
- ((!twelveacross) || (twelveacross.length < 5))) {
- twelveacross = ten12 + eleven12 + twelve12 + thirteen12 + fourteen12;
- document.puzzle.twelveacross.value = twelveacross;
- }
- else if (twelveacross) {
- if ((ten12) && (ten12 != "?")) {
- if (twelveacross.charAt(0) != ten12) {
- document.puzzle.ten12.value = ten12 = "?";
- }
- }
- else {
- document.puzzle.ten12.value = ten12 = twelveacross.charAt(0);
- }
- document.puzzle.eleven12.value = eleven12 = twelveacross.charAt(1);
- document.puzzle.twelve12.value = twelve12 = twelveacross.charAt(2);
- document.puzzle.thirteen12.value = thirteen12 = twelveacross.charAt(3);
- if ((fourteen12) && (fourteen12 != "?")) {
- if (twelveacross.charAt(4) != fourteen12) {
- document.puzzle.fourteen12.value = fourteen12 = "?";
- }
- }
- else {
- document.puzzle.fourteen12.value = fourteen12 = twelveacross.charAt(4);
- }
- }
-
- if ((two14) && (three14) && (four14) && (five14) && (six14) && (seven14) && (eight14) &&
- (nine14) && (ten14) && ((!thirteenacross) || (thirteenacross.length < 9))) {
- thirteenacross = two14 + three14 + four14 + five14 + six14 + seven14 + eight14 + nine14 + ten14;
- document.puzzle.thirteenacross.value = thirteenacross;
- }
- else if (thirteenacross) {
- document.puzzle.two14.value = two14 = thirteenacross.charAt(0);
- document.puzzle.three14.value = three14 = thirteenacross.charAt(1);
- document.puzzle.four14.value = four14 = thirteenacross.charAt(2);
- document.puzzle.five14.value = five14 = thirteenacross.charAt(3);
- document.puzzle.six14.value = six14 = thirteenacross.charAt(4);
- document.puzzle.seven14.value = seven14 = thirteenacross.charAt(5);
- document.puzzle.eight14.value = eight14 = thirteenacross.charAt(6);
- document.puzzle.nine14.value = nine14 = thirteenacross.charAt(7);
- if ((ten14) && (ten14 != "?")) {
- if (thirteenacross.charAt(8) != ten14) {
- document.puzzle.ten14.value = ten14 = "?";
- }
- }
- else {
- document.puzzle.ten14.value = ten14 = thirteenacross.charAt(8);
- }
- }
-
- if ((three16) && (four16) && (five16) && (six16) && (seven16) && (eight16) && (nine16) &&
- (ten16) && ((!fourteenacross) || (fourteenacross.length < 8))) {
- fourteenacross = three16 + four16 + five16 + six16 + seven16 + eight16 + nine16 + ten16;
- document.puzzle.fourteenacross.value = fourteenacross;
- }
- else if (fourteenacross) {
- document.puzzle.three16.value = three16 = fourteenacross.charAt(0);
- document.puzzle.four16.value = four16 = fourteenacross.charAt(1);
- document.puzzle.five16.value = five16 = fourteenacross.charAt(2);
- if ((six16) && (six16 != "?")) {
- if (fourteenacross.charAt(3) != six16) {
- document.puzzle.six16.value = six16 = "?";
- }
- }
- else {
- document.puzzle.six16.value = six16 = fourteenacross.charAt(3);
- }
- document.puzzle.seven16.value = seven16 = fourteenacross.charAt(4);
- document.puzzle.eight16.value = eight16 = fourteenacross.charAt(5);
- document.puzzle.nine16.value = nine16 = fourteenacross.charAt(6);
- if ((ten16) && (ten16 != "?")) {
- if (fourteenacross.charAt(7) != ten16) {
- document.puzzle.ten16.value = ten16 = "?";
- }
- }
- else {
- document.puzzle.ten16.value = ten16 = fourteenacross.charAt(7);
- }
- }
-
- if ((six19) && (seven19) && (eight19) && (nine19) && (ten19) && (eleven19) &&
- ((!sixteenacross) || (sixteenacross.length < 6))) {
- sixteenacross = six19 + seven19 + eight19 + nine19 + ten19 + eleven19;
- document.puzzle.sixteenacross.value = sixteenacross;
- }
- else if (sixteenacross) {
- if ((six19) && (six19 != "?")) {
- if (sixteenacross.charAt(0) != six19) {
- document.puzzle.six19.value = six19 = "?";
- }
- }
- else {
- document.puzzle.six19.value = six19 = sixteenacross.charAt(0);
- }
- document.puzzle.seven19.value = seven19 = sixteenacross.charAt(1);
- document.puzzle.eight19.value = eight19 = sixteenacross.charAt(2);
- document.puzzle.nine19.value = nine19 = sixteenacross.charAt(3);
- document.puzzle.ten19.value = ten19 = sixteenacross.charAt(4);
- document.puzzle.eleven19.value = eleven19 = sixteenacross.charAt(5);
- }
-
- if ((seven2) && (seven3) && (seven4) && (seven5) && (seven6) && (seven7) &&
- (seven8) && (seven9) && (seven10) && ((!onedown) || (onedown.length < 9))) {
- onedown = seven2 + seven3 + seven4 + seven5 + seven6 + seven7 + seven8 + seven9 + seven10;
- document.puzzle.onedown.value = onedown;
- }
- else if(onedown) {
- if ((seven2) && (seven2 != "?")) {
- if (onedown.charAt(0) != seven2) {
- document.puzzle.seven2.value = seven2 = "?";
- }
- }
- else {
- document.puzzle.seven2.value = seven2 = onedown.charAt(0);
- }
- document.puzzle.seven3.value = seven3 = onedown.charAt(1);
- document.puzzle.seven4.value = seven4 = onedown.charAt(2);
- document.puzzle.seven5.value = seven5 = onedown.charAt(3);
- document.puzzle.seven6.value = seven6 = onedown.charAt(4);
- if ((seven7) && (seven7 != "?")) {
- if (onedown.charAt(5) != seven7) {
- document.puzzle.seven7.value = seven7 = "?";
- }
- }
- else {
- document.puzzle.seven7.value = seven7 = onedown.charAt(5);
- }
- document.puzzle.seven8.value = seven8 = onedown.charAt(6);
- document.puzzle.seven9.value = seven9 = onedown.charAt(7);
- if ((seven10) && (seven10 != "?")) {
- if (onedown.charAt(8) != seven10) {
- document.puzzle.seven10.value = seven10 = "?";
- }
- }
- else {
- document.puzzle.seven10.value = seven10 = onedown.charAt(8);
- }
- }
-
- if ((fourteen2) && (fourteen3) && (fourteen4) && (fourteen5) && (fourteen6) && (fourteen7) &&
- (fourteen8) && (fourteen9) && (fourteen10) && (fourteen11) && (fourteen12) &&
- (fourteen13) && (fourteen14) && ((!twodown) || (twodown.length < 13))) {
- twodown = fourteen2 + fourteen3 + fourteen4 + fourteen5 + fourteen6 + fourteen7 + fourteen8 + fourteen9 + fourteen10 + fourteen11 + fourteen12 + fourteen13 + fourteen14;
- document.puzzle.twodown.value = twodown;
- }
- else if (twodown) {
- document.puzzle.fourteen2.value = fourteen2 = twodown.charAt(0);
- document.puzzle.fourteen3.value = fourteen3 = twodown.charAt(1);
- if ((fourteen4) && (fourteen4 != "?")) {
- if (twodown.charAt(2) != fourteen4) {
- document.puzzle.fourteen4.value = fourteen4 = "?";
- }
- }
- else {
- document.puzzle.fourteen4.value = fourteen4 = twodown.charAt(2);
- }
- document.puzzle.fourteen5.value = fourteen5 = twodown.charAt(3);
- document.puzzle.fourteen6.value = fourteen6 = twodown.charAt(4);
- document.puzzle.fourteen7.value = fourteen7 = twodown.charAt(5);
- document.puzzle.fourteen8.value = fourteen8 = twodown.charAt(6);
- document.puzzle.fourteen9.value = fourteen9 = twodown.charAt(7);
- document.puzzle.fourteen10.value = fourteen10 = twodown.charAt(8);
- document.puzzle.fourteen11.value = fourteen11 = twodown.charAt(9);
- if ((fourteen12) && (fourteen12 != "?")) {
- if (twodown.charAt(10) != fourteen12) {
- document.puzzle.fourteen12.value = fourteen12 = "?";
- }
- }
- else {
- document.puzzle.fourteen12.value = fourteen12 = twodown.charAt(10);
- }
- document.puzzle.fourteen13.value = fourteen13 = twodown.charAt(11);
- document.puzzle.fourteen14.value = fourteen14 = twodown.charAt(12);
- }
-
- if ((three3) && (three4) && (three5) && (three6) && (three7) &&
- ((!threedown) || (threedown.length < 5))) {
- threedown = three3 + three4 + three5 + three6 + three7;
- document.puzzle.threedown.value = threedown;
- }
- else if (threedown) {
- document.puzzle.three3.value = three3 = threedown.charAt(0);
- document.puzzle.three4.value = three4 = threedown.charAt(1);
- document.puzzle.three5.value = three5 = threedown.charAt(2);
- document.puzzle.three6.value = three6 = threedown.charAt(3);
- if ((three7) && (three7 != "?")) {
- if (threedown.charAt(4) != three7) {
- document.puzzle.three7.value = three7 = "?";
- }
- }
- else {
- document.puzzle.three7.value = three7 = threedown.charAt(4);
- }
- }
-
- if ((eighteen4) && (eighteen5) && (eighteen6) && (eighteen7) && (eighteen8) &&
- (eighteen9) && (eighteen10) && (eighteen11) && (eighteen12) &&
- ((!fivedown) || (fivedown.length < 9))) {
- fivedown = eighteen4 + eighteen5 + eighteen6 + eighteen7 + eighteen8 + eighteen9 + eighteen10 + eighteen11 + eighteen12;
- document.puzzle.fivedown.value = fivedown;
- }
- else if (fivedown) {
- if ((eighteen4) && (eighteen4 != "?")) {
- if (fivedown.charAt(0) != eighteen4) {
- document.puzzle.eighteen4.value = eighteen4 = "?";
- }
- }
- else {
- document.puzzle.eighteen4.value = eighteen4 = fivedown.charAt(0);
- }
- document.puzzle.eighteen5.value = eighteen5 = fivedown.charAt(1);
- document.puzzle.eighteen6.value = eighteen6 = fivedown.charAt(2);
- document.puzzle.eighteen7.value = eighteen7 = fivedown.charAt(3);
- document.puzzle.eighteen8.value = eighteen8 = fivedown.charAt(4);
- document.puzzle.eighteen9.value = eighteen9 = fivedown.charAt(5);
- if ((eighteen10) && (eighteen10 != "?")) {
- if (fivedown.charAt(6) != eighteen10) {
- document.puzzle.eighteen10.value = eighteen10 = "?";
- }
- }
- else {
- document.puzzle.eighteen10.value = eighteen10 = fivedown.charAt(6);
- }
- document.puzzle.eighteen11.value = eighteen11 = fivedown.charAt(7);
- document.puzzle.eighteen12.value = eighteen12 = fivedown.charAt(8);
- }
-
- if ((one7) && (one8) && (one9) && (one10) && (one11) &&
- ((!sixdown) || (sixdown.length < 5))) {
- sixdown = one7 + one8 + one9 + one10 + one11;
- document.puzzle.sixdown.value = sixdown;
- }
- else if (sixdown) {
- if ((one7) && (one7 != "?")) {
- if (sixdown.charAt(0) != one7) {
- document.puzzle.one7.value = one7 = "?";
- }
- }
- else {
- document.puzzle.one7.value = one7 = sixdown.charAt(0);
- }
- document.puzzle.one8.value = one8 = sixdown.charAt(1);
- document.puzzle.one9.value = one9 = sixdown.charAt(2);
- document.puzzle.one10.value = one10 = sixdown.charAt(3);
- document.puzzle.one11.value = one11 = sixdown.charAt(4);
- }
-
- if ((ten9) && (ten10) && (ten11) && (ten12) && (ten13) && (ten14) &&
- (ten15) && (ten16) && (ten17) &&
- ((!sevendown) || (sevendown.length < 9))) {
- sevendown = ten9 + ten10 + ten11 + ten12 + ten13 + ten14 + ten15 + ten16 + ten17;
- document.puzzle.sevendown.value = sevendown;
- }
- else if (sevendown) {
- document.puzzle.ten9.value = ten9 = sevendown.charAt(0);
- if ((ten10) && (ten10 != "?")) {
- if (sevendown.charAt(1) != ten10) {
- document.puzzle.ten10.value = ten10 = "?";
- }
- }
- else {
- document.puzzle.ten10.value = ten10 = sevendown.charAt(1);
- }
- document.puzzle.ten11.value = ten11 = sevendown.charAt(2);
- if ((ten12) && (ten12 != "?")) {
- if (sevendown.charAt(3) != ten12) {
- document.puzzle.ten12.value = ten12 = "?";
- }
- }
- else {
- document.puzzle.ten12.value = ten12 = sevendown.charAt(3);
- }
- document.puzzle.ten13.value = ten13 = sevendown.charAt(4);
- if ((ten14) && (ten14 != "?")) {
- if (sevendown.charAt(5) != ten14) {
- document.puzzle.ten14.value = ten14 = "?";
- }
- }
- else {
- document.puzzle.ten14.value = ten14 = sevendown.charAt(5);
- }
- document.puzzle.ten15.value = ten15 = sevendown.charAt(6);
- if ((ten16) && (ten16 != "?")) {
- if (sevendown.charAt(7) != ten16) {
- document.puzzle.ten16.value = ten16 = "?";
- }
- }
- else {
- document.puzzle.ten16.value = ten16 = sevendown.charAt(7);
- }
- document.puzzle.ten17.value = ten17 = sevendown.charAt(8);
- }
-
- if ((twenty9) && (twenty10) && (twenty11) && (twenty12) && (twenty13) &&
- ((!eightdown) || (eightdown.length < 5))) {
- eightdown = twenty9 + twenty10 + twenty11 + twenty12 + twenty13;
- document.puzzle.eightdown.value = eightdown;
- }
- else if (eightdown) {
- document.puzzle.twenty9.value = twenty9 = eightdown.charAt(0);
- if ((twenty10) && (twenty10 != "?")) {
- if (eightdown.charAt(1) != twenty10) {
- document.puzzle.twenty10.value = twenty10 = "?";
- }
- }
- else {
- document.puzzle.twenty10.value = twenty10 = eightdown.charAt(1);
- }
- document.puzzle.twenty11.value = twenty11 = eightdown.charAt(2);
- document.puzzle.twenty12.value = twenty12 = eightdown.charAt(3);
- document.puzzle.twenty13.value = twenty13 = eightdown.charAt(4);
- }
-
- if ((twentytwo9) && (twentytwo10) && (twentytwo11) && (twentytwo12) &&
- ((!ninedown) || (ninedown.length < 4))) {
- ninedown = twentytwo9 + twentytwo10 + twentytwo11 + twentytwo12;
- document.puzzle.ninedown.value = ninedown;
- }
- else if (ninedown) {
- document.puzzle.twentytwo9.value = twentytwo9 = ninedown.charAt(0);
- if ((twentytwo10) && (twentytwo10 != "?")) {
- if (ninedown.charAt(1) != twentytwo10) {
- document.puzzle.twentytwo10.value = twentytwo10 = "?";
- }
- }
- else {
- document.puzzle.twentytwo10.value = twentytwo10 = ninedown.charAt(1);
- }
- document.puzzle.twentytwo11.value = twentytwo11 = ninedown.charAt(2);
- document.puzzle.twentytwo12.value = twentytwo12 = ninedown.charAt(3);
- }
- if ((six16) && (six17) && (six18) && (six19) && (six20) &&
- (six21) && (six22) && (six23) && (six24) && (six25) &&
- ((!fifteendown) || (fifteendown.length < 10))) {
- fifteendown = six16 + six17 + six18 + six19 + six20 + six21 + six22 + six23 + six24 + six25;
- document.puzzle.fifteendown.value = fifteendown;
- }
- else if (fifteendown) {
- if ((six16) && (six16 != "?")) {
- if (fifteendown.charAt(0) != six16) {
- document.puzzle.six16.value = six16 = "?";
- }
- }
- else {
- document.puzzle.six16.value = six16 = threedown.charAt(0);
- }
- document.puzzle.six17.value = six17 = fifteendown.charAt(1);
- document.puzzle.six18.value = six18 = fifteendown.charAt(2);
- if ((six19) && (six19 != "?")) {
- if (fifteendown.charAt(3) != six19) {
- document.puzzle.six19.value = six19 = "?";
- }
- }
- else {
- document.puzzle.six19.value = six19 = threedown.charAt(3);
- }
- document.puzzle.six20.value = six20 = fifteendown.charAt(4);
- document.puzzle.six21.value = six21 = fifteendown.charAt(5);
- document.puzzle.six22.value = six22 = fifteendown.charAt(6);
- document.puzzle.six23.value = six23 = fifteendown.charAt(7);
- document.puzzle.six24.value = six24 = fifteendown.charAt(8);
- document.puzzle.six25.value = six25 = fifteendown.charAt(9);
- }
-
- }
-