Prøv denne her :
<script language=javascript>
function ChangeMoreFrames(strVar) {
MyParams = strVar.split(',');
var i = 0;
while (i < MyParams.length) {
newurl = MyParams[i];
target = MyParams[i + 1];
parent.frames[target].location.href = newurl;
i++;
i++;
}
}
</script>
call it by:
<a href="Javascript:ChangeMoreFrames('url-1,target-1,url-2,target-2')">click here</a>