If you need to introduce external Js, you need to refresh to execute ]<script>
document.write('<table border="0" align="center">');
document.write('<tr>');
number=1;
number1=1;
var i;
up=5;
list=8;
for(i=0;i<(up*list);i++)
{
document.write('<td width="60" height="60" bgColor="#BEBEBE" id="'+i+'" onmouseMove="changeEnd(parseInt(id))" onmouseUp="changUpEnd()" onmouseDown="changeStart(parseInt(id))" onclick="changecolor(parseInt(id))")>');
if((i<((up*list)-list))&&(i+1)%list==0)
{
document.write('<tr>');
number++;
}
}
document.write('<tr>');
document.write('<td>');
document.write('');
document.write('');
function resetcheck(){
for(i=0;i<(up*list);i++){
changeColorToNotSelected(i);
}
}
</script>