var text = window.location.href;
function delineate(str) 
         {
         theleft = str.indexOf("=") + 1;
         theright = str.indexOf("&");
         return(str.substring(theleft, str.length));
         }
url=delineate(text)
function refreshFrame() 
         {
         /*** ContentFrame is the iFrame name ****/
         if(ContentFrame.location!=url&&url!=location.href)
         ContentFrame.location.replace(url);
         }
