function randompuzzle() {
 var puzzles =[[1,11,'slitherlink','Slitherlink','Getting the loop right is absorbing and addictive. Watch out not to get lost in Slitherlink.'],[2,12,'nurikabe','Nurikabe','Nurikabe stands for "painting walls." The black cells form walls to separate white areas. Watching the walls stretch and link the black cells gives a very real sense of achievement.'],[3,13,'heyawake','Heyawake','Heyawake is another Nikoli original puzzle. "Heya" means "room\," "wake" means "divide\," so here you divide the board into rooms.'],[4,14,'bijutsukan','Akari',' Akari was developed by Nikoli in 2001. This puzzle has very simple rules, but they lead to a complex logical world.'],[5,15,'hitori','Hitori',' Erase extra numbers to leave only one of each in a row or column. This is a cool puzzle\, don\'t lose yourself in it!'],[6,16,'masyu','Masyu',' Make a single loop with lines passing through the centers of cells, horizontally or vertically.'],[7,17,'shikaku','Shikaku',' Shikaku is another original Nikoli puzzle, which provides a special sense of solving while complying with a very simple rule.'],[8,26,'kakuro','Kakuro','As a beginner you need to add and subtract\, but when you get used to Kakuro you will learn to rely more on logic and less on calculations.'],[9,27,'sudoku','Sudoku',' Sudoku is a simple and friendly puzzle. Its 9x9 world has its own deep acute logic.']]; //配列
 num=9; //並べ替え候補のパズル
 a=Math.floor(Math.random()*num);
 var b = text = new Array();
 for(i=0; i<9; i++){ //並べたいパズルの数
  b=(a+i)%num;
  text[i] = '<h3><a title="' +(puzzles[b][3])+ '" href="/en/puzzles/' +(puzzles[b][2])+ '/">' +(puzzles[b][3])+ '<\/a><\/h3><p><a class="sidebar" title="' +(puzzles[b][3])+ '" href="/en/puzzles/' +(puzzles[b][2])+ '/"><img alt="' +(puzzles[b][3])+ '" height="54" width="54" src="/images/puzzleid' +(puzzles[b][1])+ '_27x27.gif"><\/a>' +(puzzles[b][4])+ '<\/p>';
 }
 return text.join(''); //joinを指定しないとカンマ区切りが入る。
}


