Hi Friend,
As per I think, it is a simple javascript which can do it for you. For example (I have not tested it, it may require some debugging)
I am using jQuery of this example.
$(document).ready(function(){
var url;
$('#myframe').attr("src", url);
})
Here's an answer without jQuery
window.onload = function()
{
var url;
document.getElementById("myframe").setAttribute("src", url);
}
I guess, this simple code will help you..