Passing URL parameters to iframe
You could append the querystring to the source of the iFrame
<script language="javascript">
var iframe = document.getElementById('myiframe');
iframe.src = iframe.src + window.location.search;
</script>
if your using jQuery you might want to strip down your code up:
$(function() {
var search = window.location.search;
$("#myiframe").attr("src", $("#myiframe").attr("src")+search);
});
Use window.location.search; as it will snip off the hash tag at the end of the url and is a lot faster as it is native code.
Then use jQuery selectors to find and replace the attribute of src on the iframe, with it's current src plus the search acquired from this page.
Hope this helps.