function addslashes(apostrophe) { apostrophe = apostrophe.replace(/\'/g,"\'"); return apostrophe; } rep1 = addslashes("違います!もう一度やってみてください!(le castor = ビーバー)"); rep2 = addslashes("正解!おめでとう!"); rep3 = addslashes("違います!もう一度やってみてください!(le chat = 猫)"); rep4 = addslashes("違います!もう一度やってみてください!(le serpent = 蛇(ヘビ))"); document.writeln("