	loto6_1 = new Array(6);
	loto6_2 = new Array(6);
	loto6_3 = new Array(6);
	loto6_4 = new Array(6);
	loto6_5 = new Array(6);
	loto6_6 = new Array(6);
	loto6_7 = new Array(6);
	loto6_8 = new Array(6);
	loto6_9 = new Array(6);
	loto6_10 = new Array(6);
	loto6 = new Array(6);
	num01 = 0;
	num02 = 0;
	num03 = 0;
	num04 = 0;
	num05 = 0;
	num06 = 0;
	num07 = 0;
	num08 = 0;
	num09 = 0;
	num10 = 0;
	num11 = 0;
	num12 = 0;
	num13 = 0;
	num14 = 0;
	num15 = 0;
	num16 = 0;
	num17 = 0;
	num18 = 0;
	num19 = 0;
	num20 = 0;
	num21 = 0;
	num22 = 0;
	num23 = 0;
	num24 = 0;
	num25 = 0;
	num26 = 0;
	num27 = 0;
	num28 = 0;
	num29 = 0;
	num30 = 0;
	num31 = 0;
	num32 = 0;
	num33 = 0;
	num34 = 0;
	num35 = 0;
	num36 = 0;
	num37 = 0;
	num38 = 0;
	num39 = 0;
	num40 = 0;
	num41 = 0;
	num42 = 0;
	num43 = 0;
	success = 0;
	miss = 0;
	end = 0;

	i=0;
	while(i<6){
		f=0;
		loto6_10[i]=Math.floor(Math.random()*43+1);
		if(loto6_10[i]<10){loto6_10[i]="0"+loto6_10[i];}
		for(j=0;j<i;j++){
		if(loto6_10[i]==loto6_10[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_9[i]=Math.floor(Math.random()*43+1);
		if(loto6_9[i]<10){loto6_9[i]="0"+loto6_9[i];}
		for(j=0;j<i;j++){
		if(loto6_9[i]==loto6_9[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_8[i]=Math.floor(Math.random()*43+1);
		if(loto6_8[i]<10){loto6_8[i]="0"+loto6_8[i];}
		for(j=0;j<i;j++){
		if(loto6_8[i]==loto6_8[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_7[i]=Math.floor(Math.random()*43+1);
		if(loto6_7[i]<10){loto6_7[i]="0"+loto6_7[i];}
		for(j=0;j<i;j++){
		if(loto6_7[i]==loto6_7[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_6[i]=Math.floor(Math.random()*43+1);
		if(loto6_6[i]<10){loto6_6[i]="0"+loto6_6[i];}
		for(j=0;j<i;j++){
		if(loto6_6[i]==loto6_6[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_5[i]=Math.floor(Math.random()*43+1);
		if(loto6_5[i]<10){loto6_5[i]="0"+loto6_5[i];}
		for(j=0;j<i;j++){
		if(loto6_5[i]==loto6_5[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_4[i]=Math.floor(Math.random()*43+1);
		if(loto6_4[i]<10){loto6_4[i]="0"+loto6_4[i];}
		for(j=0;j<i;j++){
		if(loto6_4[i]==loto6_4[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_3[i]=Math.floor(Math.random()*43+1);
		if(loto6_3[i]<10){loto6_3[i]="0"+loto6_3[i];}
		for(j=0;j<i;j++){
		if(loto6_3[i]==loto6_3[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_2[i]=Math.floor(Math.random()*43+1);
		if(loto6_2[i]<10){loto6_2[i]="0"+loto6_2[i];}
		for(j=0;j<i;j++){
		if(loto6_2[i]==loto6_2[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_1[i]=Math.floor(Math.random()*43+1);
		if(loto6_1[i]<10){loto6_1[i]="0"+loto6_1[i];}
		for(j=0;j<i;j++){
		if(loto6_1[i]==loto6_1[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6[i]=Math.floor(Math.random()*43+1);
		if(loto6[i]<10){loto6[i]="0"+loto6[i];}
		for(j=0;j<i;j++){
		if(loto6[i]==loto6[j]){f=1;}
		}
		if(f==0){i++;}
	}
	
	loto6_1.sort();
	loto6_2.sort();
	loto6_3.sort();
	loto6_4.sort();
	loto6_5.sort();
	loto6_6.sort();
	loto6_7.sort();
	loto6_8.sort();
	loto6_9.sort();
	loto6_10.sort();
	loto6.sort();

	loto6_s1 =loto6_1.concat(loto6_2); 
	loto6_s2 =loto6_s1.concat(loto6_3); 
	loto6_s3 =loto6_s2.concat(loto6_4); 
	loto6_s4 =loto6_s3.concat(loto6_5); 
	loto6_s5 =loto6_s4.concat(loto6_6); 
	loto6_s6 =loto6_s5.concat(loto6_7); 
	loto6_s7 =loto6_s6.concat(loto6_8); 
	loto6s =loto6_s7.concat(loto6_9); 

	for(i in loto6s){

		switch(loto6s[i]){

			case "01":num01++;break;
			case "02":num02++;break;
			case "03":num03++;break;
			case "04":num04++;break;
			case "05":num05++;break;
			case "06":num06++;break;
			case "07":num07++;break;
			case "08":num08++;break;
			case "09":num09++;break;
			case 10:num10++;break;
			case 11:num11++;break;
			case 12:num12++;break;
			case 13:num13++;break;
			case 14:num14++;break;
			case 15:num15++;break;
			case 16:num16++;break;
			case 17:num17++;break;
			case 18:num18++;break;
			case 19:num19++;break;
			case 20:num20++;break;
			case 21:num21++;break;
			case 22:num22++;break;
			case 23:num23++;break;
			case 24:num24++;break;
			case 25:num25++;break;
			case 26:num26++;break;
			case 27:num27++;break;
			case 28:num28++;break;
			case 29:num29++;break;
			case 30:num30++;break;
			case 31:num31++;break;
			case 32:num32++;break;
			case 33:num33++;break;
			case 34:num34++;break;
			case 35:num35++;break;
			case 36:num36++;break;
			case 37:num37++;break;
			case 38:num38++;break;
			case 39:num39++;break;
			case 40:num40++;break;
			case 41:num41++;break;
			case 42:num42++;break;
			case 43:num43++;break;

		}

	}

function select(num){

	if(loto6[0]==num||loto6[1]==num||loto6[2]==num||loto6[3]==num||loto6[4]==num||loto6[5]==num){

		if(num=='01'){
			document.getElementById("n01").style.backgroundColor="red";
		}else if(num=='02'){
			document.getElementById("n02").style.backgroundColor="red";
		}else if(num=='03'){
			document.getElementById("n03").style.backgroundColor="red";
		}else if(num=='04'){
			document.getElementById("n04").style.backgroundColor="red";
		}else if(num=='05'){
			document.getElementById("n05").style.backgroundColor="red";
		}else if(num=='06'){
			document.getElementById("n06").style.backgroundColor="red";
		}else if(num=='07'){
			document.getElementById("n07").style.backgroundColor="red";
		}else if(num=='08'){
			document.getElementById("n08").style.backgroundColor="red";
		}else if(num=='09'){
			document.getElementById("n09").style.backgroundColor="red";
		}else if(num=='10'){
			document.getElementById("n10").style.backgroundColor="red";
		}else if(num=='11'){
			document.getElementById("n11").style.backgroundColor="red";
		}else if(num=='12'){
			document.getElementById("n12").style.backgroundColor="red";
		}else if(num=='13'){
			document.getElementById("n13").style.backgroundColor="red";
		}else if(num=='14'){
			document.getElementById("n14").style.backgroundColor="red";
		}else if(num=='15'){
			document.getElementById("n15").style.backgroundColor="red";
		}else if(num=='16'){
			document.getElementById("n16").style.backgroundColor="red";
		}else if(num=='17'){
			document.getElementById("n17").style.backgroundColor="red";
		}else if(num=='18'){
			document.getElementById("n18").style.backgroundColor="red";
		}else if(num=='19'){
			document.getElementById("n19").style.backgroundColor="red";
		}else if(num=='20'){
			document.getElementById("n20").style.backgroundColor="red";
		}else if(num=='21'){
			document.getElementById("n21").style.backgroundColor="red";
		}else if(num=='22'){
			document.getElementById("n22").style.backgroundColor="red";
		}else if(num=='23'){
			document.getElementById("n23").style.backgroundColor="red";
		}else if(num=='24'){
			document.getElementById("n24").style.backgroundColor="red";
		}else if(num=='25'){
			document.getElementById("n25").style.backgroundColor="red";
		}else if(num=='26'){
			document.getElementById("n26").style.backgroundColor="red";
		}else if(num=='27'){
			document.getElementById("n27").style.backgroundColor="red";
		}else if(num=='28'){
			document.getElementById("n28").style.backgroundColor="red";
		}else if(num=='29'){
			document.getElementById("n29").style.backgroundColor="red";
		}else if(num=='30'){
			document.getElementById("n30").style.backgroundColor="red";
		}else if(num=='31'){
			document.getElementById("n31").style.backgroundColor="red";
		}else if(num=='32'){
			document.getElementById("n32").style.backgroundColor="red";
		}else if(num=='33'){
			document.getElementById("n33").style.backgroundColor="red";
		}else if(num=='34'){
			document.getElementById("n34").style.backgroundColor="red";
		}else if(num=='35'){
			document.getElementById("n35").style.backgroundColor="red";
		}else if(num=='36'){
			document.getElementById("n36").style.backgroundColor="red";
		}else if(num=='37'){
			document.getElementById("n37").style.backgroundColor="red";
		}else if(num=='38'){
			document.getElementById("n38").style.backgroundColor="red";
		}else if(num=='39'){
			document.getElementById("n39").style.backgroundColor="red";
		}else if(num=='40'){
			document.getElementById("n40").style.backgroundColor="red";
		}else if(num=='41'){
			document.getElementById("n41").style.backgroundColor="red";
		}else if(num=='42'){
			document.getElementById("n42").style.backgroundColor="red";
		}else if(num=='43'){
			document.getElementById("n43").style.backgroundColor="red";
		}

		miss++;
		missdialog();

	}else{

		if(num=='01'){
			document.getElementById("n01").style.backgroundColor="green";
		}else if(num=='02'){
			document.getElementById("n02").style.backgroundColor="green";
		}else if(num=='03'){
			document.getElementById("n03").style.backgroundColor="green";
		}else if(num=='04'){
			document.getElementById("n04").style.backgroundColor="green";
		}else if(num=='05'){
			document.getElementById("n05").style.backgroundColor="green";
		}else if(num=='06'){
			document.getElementById("n06").style.backgroundColor="green";
		}else if(num=='07'){
			document.getElementById("n07").style.backgroundColor="green";
		}else if(num=='08'){
			document.getElementById("n08").style.backgroundColor="green";
		}else if(num=='09'){
			document.getElementById("n09").style.backgroundColor="green";
		}else if(num=='10'){
			document.getElementById("n10").style.backgroundColor="green";
		}else if(num=='11'){
			document.getElementById("n11").style.backgroundColor="green";
		}else if(num=='12'){
			document.getElementById("n12").style.backgroundColor="green";
		}else if(num=='13'){
			document.getElementById("n13").style.backgroundColor="green";
		}else if(num=='14'){
			document.getElementById("n14").style.backgroundColor="green";
		}else if(num=='15'){
			document.getElementById("n15").style.backgroundColor="green";
		}else if(num=='16'){
			document.getElementById("n16").style.backgroundColor="green";
		}else if(num=='17'){
			document.getElementById("n17").style.backgroundColor="green";
		}else if(num=='18'){
			document.getElementById("n18").style.backgroundColor="green";
		}else if(num=='19'){
			document.getElementById("n19").style.backgroundColor="green";
		}else if(num=='20'){
			document.getElementById("n20").style.backgroundColor="green";
		}else if(num=='21'){
			document.getElementById("n21").style.backgroundColor="green";
		}else if(num=='22'){
			document.getElementById("n22").style.backgroundColor="green";
		}else if(num=='23'){
			document.getElementById("n23").style.backgroundColor="green";
		}else if(num=='24'){
			document.getElementById("n24").style.backgroundColor="green";
		}else if(num=='25'){
			document.getElementById("n25").style.backgroundColor="green";
		}else if(num=='26'){
			document.getElementById("n26").style.backgroundColor="green";
		}else if(num=='27'){
			document.getElementById("n27").style.backgroundColor="green";
		}else if(num=='28'){
			document.getElementById("n28").style.backgroundColor="green";
		}else if(num=='29'){
			document.getElementById("n29").style.backgroundColor="green";
		}else if(num=='30'){
			document.getElementById("n30").style.backgroundColor="green";
		}else if(num=='31'){
			document.getElementById("n31").style.backgroundColor="green";
		}else if(num=='32'){
			document.getElementById("n32").style.backgroundColor="green";
		}else if(num=='33'){
			document.getElementById("n33").style.backgroundColor="green";
		}else if(num=='34'){
			document.getElementById("n34").style.backgroundColor="green";
		}else if(num=='35'){
			document.getElementById("n35").style.backgroundColor="green";
		}else if(num=='36'){
			document.getElementById("n36").style.backgroundColor="green";
		}else if(num=='37'){
			document.getElementById("n37").style.backgroundColor="green";
		}else if(num=='38'){
			document.getElementById("n38").style.backgroundColor="green";
		}else if(num=='39'){
			document.getElementById("n39").style.backgroundColor="green";
		}else if(num=='40'){
			document.getElementById("n40").style.backgroundColor="green";
		}else if(num=='41'){
			document.getElementById("n41").style.backgroundColor="green";
		}else if(num=='42'){
			document.getElementById("n42").style.backgroundColor="green";
		}else if(num=='43'){
			document.getElementById("n43").style.backgroundColor="green";
		}

		success++;
		successdialog(success);

	}

}

function missdialog(){
if(end==0){
	if(success <= 2){
self.alert("段位認定\n失格\nゲーム終了です。\n解答：" + loto6[0] + " " + loto6[1] + " " + loto6[2] + " " + loto6[3] + " " + loto6[4] + " " + loto6[5] + "\nOKを押すと始めから再チャレンジします。");
location.reload();
	}else if(success <= 4){
self.alert("段位認定\n７級");
	}else if(success <= 6){
self.alert("段位認定\n６級");
	}else if(success <= 7){
self.alert("段位認定\n５級");
	}else if(success <= 9){
self.alert("段位認定\n４級");
	}else if(success <= 10){
self.alert("段位認定\n３級");
	}else if(success <= 12){
self.alert("段位認定\n２級");
	}else if(success <= 14){
self.alert("段位認定\n１級");
	}else if(success <= 16){
self.alert("段位認定\n初段");
	}else if(success <= 20){
self.alert("段位認定\n２段");
	}else if(success <= 22){
self.alert("段位認定\n３段");
	}else if(success <= 24){
self.alert("段位認定\n４段");
	}else if(success <= 26){
self.alert("段位認定\n５段");
	}else if(success <= 28){
self.alert("段位認定\n６段");
	}else if(success <= 30){
self.alert("段位認定\n７段");
	}else if(success <= 32){
self.alert("段位認定\n８段");
	}else if(success <= 33){
self.alert("段位認定\n９段");
	}else if(success <= 34){
self.alert("段位認定\n10段");
	}else if(success <= 35){
self.alert("段位認定\n11段");
	}else if(success <= 36){
self.alert("段位認定\n12段");
	}
end++;
}
	if(success > 2){
if(miss<2){
flag = confirm("削除に失敗しました。もう一度始めからチャレンジしますか？\nこのまま継続して挑戦する場合はキャンセルを選択してください。");
if(flag == true){location.reload();}
}else{
self.alert("ゲーム終了です。\n解答：" + loto6[0] + " " + loto6[1] + " " + loto6[2] + " " + loto6[3] + " " + loto6[4] + " " + loto6[5] + "\nOKを押すと始めから再チャレンジします。");
location.reload();
//restart();
}
	}
}

function successdialog(){

if(success==37){
self.alert("段位認定\n免許皆伝\nすばらしい！ゲームクリアです。\n『OK』を押すと始めから再チャレンジします。");
location.reload();
}

}

function restart() {

	loto6_1 = new Array(6);
	loto6_2 = new Array(6);
	loto6_3 = new Array(6);
	loto6_4 = new Array(6);
	loto6_5 = new Array(6);
	loto6_6 = new Array(6);
	loto6_7 = new Array(6);
	loto6_8 = new Array(6);
	loto6_9 = new Array(6);
	loto6_10 = new Array(6);
	loto6 = new Array(6);
	num01 = 0;
	num02 = 0;
	num03 = 0;
	num04 = 0;
	num05 = 0;
	num06 = 0;
	num07 = 0;
	num08 = 0;
	num09 = 0;
	num10 = 0;
	num11 = 0;
	num12 = 0;
	num13 = 0;
	num14 = 0;
	num15 = 0;
	num16 = 0;
	num17 = 0;
	num18 = 0;
	num19 = 0;
	num20 = 0;
	num21 = 0;
	num22 = 0;
	num23 = 0;
	num24 = 0;
	num25 = 0;
	num26 = 0;
	num27 = 0;
	num28 = 0;
	num29 = 0;
	num30 = 0;
	num31 = 0;
	num32 = 0;
	num33 = 0;
	num34 = 0;
	num35 = 0;
	num36 = 0;
	num37 = 0;
	num38 = 0;
	num39 = 0;
	num40 = 0;
	num41 = 0;
	num42 = 0;
	num43 = 0;
	success = 0;
	miss = 0;
	end = 0;

	i=0;
	while(i<6){
		f=0;
		loto6_10[i]=Math.floor(Math.random()*43+1);
		if(loto6_10[i]<10){loto6_10[i]="0"+loto6_10[i];}
		for(j=0;j<i;j++){
		if(loto6_10[i]==loto6_10[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_9[i]=Math.floor(Math.random()*43+1);
		if(loto6_9[i]<10){loto6_9[i]="0"+loto6_9[i];}
		for(j=0;j<i;j++){
		if(loto6_9[i]==loto6_9[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_8[i]=Math.floor(Math.random()*43+1);
		if(loto6_8[i]<10){loto6_8[i]="0"+loto6_8[i];}
		for(j=0;j<i;j++){
		if(loto6_8[i]==loto6_8[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_7[i]=Math.floor(Math.random()*43+1);
		if(loto6_7[i]<10){loto6_7[i]="0"+loto6_7[i];}
		for(j=0;j<i;j++){
		if(loto6_7[i]==loto6_7[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_6[i]=Math.floor(Math.random()*43+1);
		if(loto6_6[i]<10){loto6_6[i]="0"+loto6_6[i];}
		for(j=0;j<i;j++){
		if(loto6_6[i]==loto6_6[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_5[i]=Math.floor(Math.random()*43+1);
		if(loto6_5[i]<10){loto6_5[i]="0"+loto6_5[i];}
		for(j=0;j<i;j++){
		if(loto6_5[i]==loto6_5[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_4[i]=Math.floor(Math.random()*43+1);
		if(loto6_4[i]<10){loto6_4[i]="0"+loto6_4[i];}
		for(j=0;j<i;j++){
		if(loto6_4[i]==loto6_4[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_3[i]=Math.floor(Math.random()*43+1);
		if(loto6_3[i]<10){loto6_3[i]="0"+loto6_3[i];}
		for(j=0;j<i;j++){
		if(loto6_3[i]==loto6_3[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_2[i]=Math.floor(Math.random()*43+1);
		if(loto6_2[i]<10){loto6_2[i]="0"+loto6_2[i];}
		for(j=0;j<i;j++){
		if(loto6_2[i]==loto6_2[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6_1[i]=Math.floor(Math.random()*43+1);
		if(loto6_1[i]<10){loto6_1[i]="0"+loto6_1[i];}
		for(j=0;j<i;j++){
		if(loto6_1[i]==loto6_1[j]){f=1;}
		}
		if(f==0){i++;}
	}
	i=0;
	while(i<6){
		f=0;
		loto6[i]=Math.floor(Math.random()*43+1);
		if(loto6[i]<10){loto6[i]="0"+loto6[i];}
		for(j=0;j<i;j++){
		if(loto6[i]==loto6[j]){f=1;}
		}
		if(f==0){i++;}
	}
	
	loto6_1.sort();
	loto6_2.sort();
	loto6_3.sort();
	loto6_4.sort();
	loto6_5.sort();
	loto6_6.sort();
	loto6_7.sort();
	loto6_8.sort();
	loto6_9.sort();
	loto6_10.sort();
	loto6.sort();

	loto6_s1 =loto6_1.concat(loto6_2); 
	loto6_s2 =loto6_s1.concat(loto6_3); 
	loto6_s3 =loto6_s2.concat(loto6_4); 
	loto6_s4 =loto6_s3.concat(loto6_5); 
	loto6_s5 =loto6_s4.concat(loto6_6); 
	loto6_s6 =loto6_s5.concat(loto6_7); 
	loto6_s7 =loto6_s6.concat(loto6_8); 
	loto6s =loto6_s7.concat(loto6_9); 

	for(i in loto6s){

		switch(loto6s[i]){

			case "01":num01++;break;
			case "02":num02++;break;
			case "03":num03++;break;
			case "04":num04++;break;
			case "05":num05++;break;
			case "06":num06++;break;
			case "07":num07++;break;
			case "08":num08++;break;
			case "09":num09++;break;
			case 10:num10++;break;
			case 11:num11++;break;
			case 12:num12++;break;
			case 13:num13++;break;
			case 14:num14++;break;
			case 15:num15++;break;
			case 16:num16++;break;
			case 17:num17++;break;
			case 18:num18++;break;
			case 19:num19++;break;
			case 20:num20++;break;
			case 21:num21++;break;
			case 22:num22++;break;
			case 23:num23++;break;
			case 24:num24++;break;
			case 25:num25++;break;
			case 26:num26++;break;
			case 27:num27++;break;
			case 28:num28++;break;
			case 29:num29++;break;
			case 30:num30++;break;
			case 31:num31++;break;
			case 32:num32++;break;
			case 33:num33++;break;
			case 34:num34++;break;
			case 35:num35++;break;
			case 36:num36++;break;
			case 37:num37++;break;
			case 38:num38++;break;
			case 39:num39++;break;
			case 40:num40++;break;
			case 41:num41++;break;
			case 42:num42++;break;
			case 43:num43++;break;

		}

	}

document.write(
'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'+
'<html lang="ja">'+
'<head>'+
'<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">'+
'<title>チャレンジロト６</title>'+
'<meta http-equiv="Content-Script-Type" content="text/javascript">'+
'<link href="http://www.dreamkit.info/css/main.css" rel="stylesheet" type="text/css">'+
'<link href="http://www.dreamkit.info/css/charenge.css" rel="stylesheet" type="text/css">'+
'<script src="charenge.js" type="text/JavaScript"></script>'+
'</head>'+
'<body>'+
'<div class="all">'+
'<p class="rankingsite">'+
'<a href="http://www.loto6.ne.jp/cgi/loto6/ranklink.cgi?action=rank&amp;id=006">厳選ロト６</a> '+
'<span>|</span>'+
'<a href="http://ani.atz.jp/ranking/loto6/ranklink.cgi?id=006">ロト６予想サイト</a> '+
'<span>|</span>'+
'<a href="http://www.tokuda.com/numbers/rank/ranklink.cgi?id=006">宝くじランキング</a> '+
'<span>|</span>'+
'<a href="http://tr.acz.jp/gbranking/in.cgi?id=006&amp;cg=0">ロトシックス ベスト</a> '+
'<span>|</span>'+
'<a href="http://kyo.abz.jp/webrank/ranklink.cgi?id=006">Webrank LOTO6</a>'+
'</p>'+
'<p class="title"><a href="http://www.dreamkit.info/"><img src = "http://www.dreamkit.info/image/toplogo.gif" alt="ロト６完全攻略" width="350" height="100"></a></p>'+
'<div class="search">'+
'<form method=GET action="http://www.google.co.jp/search">'+
'<p>'+
'<input type="text" name="q" size="31" maxlength="255" value="">'+
'<input type="hidden" name="hl" value="ja">'+
'<input type="hidden" name="ie" value="Shift_JIS">'+
'<input type="submit" name="btnG" value="Google 検索">'+
'<input type=hidden name=domains value="www.dreamkit.info"><br><input type=radio name=sitesearch value=""> www 全体 <input type=radio name=sitesearch value="www.dreamkit.info" checked> www.dreamkit.info 内 <br>'+
'</p>'+
'</form>'+
'</div>'+
'<p class="gmenu">'+
'<a href="http://www.dreamkit.info/loto6/tools/">予想支援ツール</a>'+
'<span>|</span>'+
'<a href="http://www.dreamkit.info/loto6/">ロト６攻略</a>'+
'<span>|</span>'+
'<a href="http://www.dreamkit.info/loto6/database/">データベース</a>'+
'<span>|</span>'+
'<a href="http://www.dreamkit.info/other/">その他</a>'+
'<span>|</span>'+
'<a href="http://www.dreamkit.info/mbbs/">掲示板</a>'+
'<span>|</span>'+
'<a href="http://www.dreamkit.info/link/">リンク集</a>'+
'<span>|</span>'+
'<a href="http://www.dreamkit.info/sitemap.html">サイトマップ</a>'+
'</p>'+
'<div class="content">'+
'<h1>チャレンジロト６</h1>'+
'<noscript>'+
'このページの特性上JavaScript対応ブラウザしかご利用できないのでご了承ください。'+
'</noscript>'+
'<p>'+
'数字削除の段位認定チャレンジ(７級～12段)です。めざせ免許皆伝！<br>'+
'</p>'+
'<div class="chare">'+
'<div class="right">'+
'<h2>ヒント</h2>'+
'<p class="hint">'
);

document.write("９回前："+loto6_9+"<br>");
document.write("８回前："+loto6_8+"<br>");
document.write("７回前："+loto6_7+"<br>");
document.write("６回前："+loto6_6+"<br>");
document.write("５回前："+loto6_5+"<br>");
document.write("４回前："+loto6_4+"<br>");
document.write("３回前："+loto6_3+"<br>");
document.write("２回前："+loto6_2+"<br>");
document.write("１回前："+loto6_1+"<br>");

document.write(
'</p>'+
'<table class="hint">'+
'<tr>'+
'<td>'
);

document.write("01："+num01+"回<br>");
document.write("02："+num02+"回<br>");
document.write("03："+num03+"回<br>");
document.write("04："+num04+"回<br>");
document.write("05："+num05+"回<br>");
document.write("06："+num06+"回<br>");
document.write("07："+num07+"回<br>");
document.write("08："+num08+"回<br>");
document.write("09："+num09+"回<br>");
document.write("10："+num10+"回<br>");

document.write(
'</td>'+
'<td>'
);

document.write("11："+num11+"回<br>");
document.write("12："+num12+"回<br>");
document.write("13："+num13+"回<br>");
document.write("14："+num14+"回<br>");
document.write("15："+num15+"回<br>");
document.write("16："+num16+"回<br>");
document.write("17："+num17+"回<br>");
document.write("18："+num18+"回<br>");
document.write("19："+num19+"回<br>");
document.write("20："+num20+"回<br>");

document.write(
'</td>'+
'<td>'
);

document.write("21："+num21+"回<br>");
document.write("22："+num22+"回<br>");
document.write("23："+num23+"回<br>");
document.write("24："+num24+"回<br>");
document.write("25："+num25+"回<br>");
document.write("26："+num26+"回<br>");
document.write("27："+num27+"回<br>");
document.write("28："+num28+"回<br>");
document.write("29："+num29+"回<br>");
document.write("30："+num30+"回<br>");

document.write(
'</td>'+
'<td>'
);

document.write("31："+num31+"回<br>");
document.write("32："+num32+"回<br>");
document.write("33："+num33+"回<br>");
document.write("34："+num34+"回<br>");
document.write("35："+num35+"回<br>");
document.write("36："+num36+"回<br>");
document.write("37："+num37+"回<br>");
document.write("38："+num38+"回<br>");
document.write("39："+num39+"回<br>");
document.write("40："+num40+"回<br>");

document.write(
'</td>'+
'<td>'
);

document.write("41："+num41+"回<br>");
document.write("42："+num42+"回<br>");
document.write("43："+num43+"回<br>");

document.write(
'</td>'+
'</tr>'+
'</table>'+
'</div>'+
'<div class="left">'+
'<h2>チャレンジ</h2>'+
'<p>'+
'削除したい数字をクリックしてください。<br>'+
'背景が緑になれば"削除成功"、赤くなれば"削除失敗"です。'+
'</p>'+
'<table class="nums">'+
'<tr>'+
'<td id="n01" onClick="select(01)">01</td>'+
'<td id="n02" onClick="select('+"'02'"+')">02</td>'+
'<td id="n03" onClick="select('+"'03'"+')">03</td>'+
'<td id="n04" onClick="select('+"'04'"+')">04</td>'+
'<td id="n05" onClick="select('+"'05'"+')">05</td>'+
'<td id="n06" onClick="select('+"'06'"+')">06</td>'+
'<td id="n07" onClick="select('+"'07'"+')">07</td>'+
'</tr>'+
'<tr>'+
'<td id="n08" onClick="select('+"'08'"+')">08</td>'+
'<td id="n09" onClick="select('+"'09'"+')">09</td>'+
'<td id="n10" onClick="select('+"'10'"+')">10</td>'+
'<td id="n11" onClick="select('+"'11'"+')">11</td>'+
'<td id="n12" onClick="select('+"'12'"+')">12</td>'+
'<td id="n13" onClick="select('+"'13'"+')">13</td>'+
'<td id="n14" onClick="select('+"'14'"+')">14</td>'+
'</tr>'+
'<tr>'+
'<td id="n15" onClick="select('+"'15'"+')">15</td>'+
'<td id="n16" onClick="select('+"'16'"+')">16</td>'+
'<td id="n17" onClick="select('+"'17'"+')">17</td>'+
'<td id="n18" onClick="select('+"'18'"+')">18</td>'+
'<td id="n19" onClick="select('+"'19'"+')">19</td>'+
'<td id="n20" onClick="select('+"'20'"+')">20</td>'+
'<td id="n21" onClick="select('+"'21'"+')">21</td>'+
'</tr>'+
'<tr>'+
'<td id="n22" onClick="select('+"'22'"+')">22</td>'+
'<td id="n23" onClick="select('+"'23'"+')">23</td>'+
'<td id="n24" onClick="select('+"'24'"+')">24</td>'+
'<td id="n25" onClick="select('+"'25'"+')">25</td>'+
'<td id="n26" onClick="select('+"'26'"+')">26</td>'+
'<td id="n27" onClick="select('+"'27'"+')">27</td>'+
'<td id="n28" onClick="select('+"'28'"+')">28</td>'+
'</tr>'+
'<tr>'+
'<td id="n29" onClick="select('+"'29'"+')">29</td>'+
'<td id="n30" onClick="select('+"'30'"+')">30</td>'+
'<td id="n31" onClick="select('+"'31'"+')">31</td>'+
'<td id="n32" onClick="select('+"'32'"+')">32</td>'+
'<td id="n33" onClick="select('+"'33'"+')">33</td>'+
'<td id="n34" onClick="select('+"'34'"+')">34</td>'+
'<td id="n35" onClick="select('+"'35'"+')">35</td>'+
'</tr>'+
'<tr>'+
'<td id="n36" onClick="select('+"'36'"+')">36</td>'+
'<td id="n37" onClick="select('+"'37'"+')">37</td>'+
'<td id="n38" onClick="select('+"'38'"+')">38</td>'+
'<td id="n39" onClick="select('+"'39'"+')">39</td>'+
'<td id="n40" onClick="select('+"'40'"+')">40</td>'+
'<td id="n41" onClick="select('+"'41'"+')">41</td>'+
'<td id="n42" onClick="select('+"'42'"+')">42</td>'+
'<td id="n43" onClick="select('+"'43'"+')">43</td>'+
'</tr>'+
'</table>'+
'</div>'+
'</div>'+
'<h2>ルール</h2>'+
'<p>'+
'本数字を２個削除したり、２個以上数字削除に成功していない状態で本数字を削除してしまうと強制終了します。'+
'</p>'+
'<h2>削除成功指標</h2>'+
'<ul>'+
'<li>４個削除成功率：63.0%</li>'+
'<li>５個削除成功率：45.3%</li>'+
'<li>８個削除成功率：26.6%</li>'+
'<li>10個削除成功率：18.2%</li>'+
'<li>13個削除成功率： 9.7%</li>'+
'<li>17個削除成功率： 3.8%</li>'+
'<li>22個削除成功率： 0.9%</li>'+
'<li>28個削除成功率： 0.08%</li>'+
'<li>34個削除成功率： 0.001%</li>'+
'</ul>'+
'<p>'+
'このページはjavascriptにより動作しています。対応していないブラウザの場合では正常に利用できないのでご了承ください。'+
'</p>'+
'</div>'+
'<p>'+
'<a href="http://www.dreamkit.info/information.html">インフォメーション</a> | <a href="http://www.dreamkit.info/privacy.html">プライバシーポリシー</a> | <a href="http://www.dreamkit.info/sitemap.html">サイトマップ</a> | <a href="http://www.dreamkit.info/inquery.html">問い合わせ</a>'+
'</p>'+
'<address>'+
'Copyright (c) ロト６完全攻略 2001-2007 All Right Reserved.'+
'</address>'+
'</div>'+
'</body>'+
'</html>'
)

}
