RazZzeR,
Вариант для всех браузеров ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
</head>
<body>
Клик.
<table id='music'>
<tr><td>1</td></tr>
<tr><td>к1</td></tr>
<tr><td>2</td></tr>
<tr><td>к2</td></tr>
<tr><td>3</td></tr>
<tr><td>к3</td></tr>
<tr><td>4</td></tr>
<tr><td>к4</td></tr>
<tr><td>5</td></tr>
<tr><td>к5</td></tr>
<tr><td>6</td></tr>
<tr><td>к6</td></tr>
<tr><td>7</td></tr>
<tr><td>к7</td></tr>
</table>
<script>
function randomize() {
for (var b = document.getElementById("music"), a = b.rows, c = a.length, b = a[0].parentNode; 2 < c--;)c % 2 && (0.5 > Math.random() ? (b.appendChild(a[c - 1]), b.appendChild(a[c - 1])) :
(b.insertBefore(a[c], a[0]), b.insertBefore(a[c], a[0])))
};
window.document.onclick=randomize;
</script>
</body>
</html>