i have a 2 way frameset
iam looking to rotate the bottom frameset
url only each time the page is loaded
No problem, just store the array index in a cookie/localStorage, so you know which site to load each time. Increment or reset the stored index as appropriate.