Yo tengo algo similar....
 
Desde una página html que recibo parametros quiero cargar esos parametros en otro HTML. 
Tengo algo como esto   
Código Javascript
:
Ver original<script type="text/javascript">
    function cargarURL()
    {
            // Create variable is_input to see if there is a ? in the url
            var is_input = document.URL.indexOf('?');
            
            // Check the position of the ? in the url
            if (is_input != -1)
            { 
                // Create variable from ? in the url to the end of the string
                addr_str = document.URL.substring(is_input+1, document.URL.length);
            
 
            document.write='right2.html?'+addr_str+' ';
            }
            // If there is no ? in the url state no values found
            else
            {
                document.write("No he recibido valores por parametro.");
                }
    }
        
        </script>
  
  
Ahora en el html intento recoger la variable sin éxito   
Código HTML:
Ver original<FRAMESET cols="*,27%">
          <frame name="top" src="left.html" scrolling="no">
        <FRAMESET rows="*,35%" border="5">
              <frame name="dx" src="right.html"> 
              [B]<frame name="dx2" src="javascript:cargarURL();">[/B]
              
        </FRAMESET>
    </FRAMESET>