if (top.location.href!=self.location.href)
{
    top.location.href=self.location.href;
}
function AutoLoadUrl(){
    if (Page.Request("loadUrl")!=null&&$("ContentFrame")!=null){
        $("ContentFrame").src=Page.Request("loadUrl");
    }
}
Page.RegLoadEvent(AutoLoadUrl);

