You can do that with Javascript.
you can have a loop that creates those param tags and inserts the information like this:
Code:
for i=0;i<500;i++)
{
param = document.createElement("PARAM");
param.value = "paramValue";
param.name = rooms[0];
document.getElementsByTagName("BODY")[0].appendChild(param);
}
This would create one param tag and would insert it to the body tag. If you want more tags you can repeat these lines.