<html>
<head>
<title>javascript for</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<script type='text/javascript'>
var a='1;2;3;4;5;';
a=a.split(';');
for (i=1; i<a.length; i++) {
document.write (i+'<input type="radio" value="'+i+'"><br />');
}
</script>
</body>
</html>