title: Open URL in Parent WIndow
body: <p>I am attempting to open a URL in a parent window once a page is reloaded. Currently, it is just reloading the parent window. How do I get it to reload a URL instead of the parent page?</p>
  
  <p>Here is the code:</p>
  
  <p>EDIT: Here is the complete code.</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;style type="text/css"&gt;
  .left_border_right_cell {
      border-left-width: 1px;
      border-left-style: solid;
      border-left-color: #999;
  }
  .facebook_login_hd1 {
      font-family: Verdana;
      font-size: 14pt;
      color: #333;
      text-decoration: none;
      margin-left: 15px;
  }
  .facebook_body_txt {
      font-family: Verdana;
      font-size: 12px;
      font-weight: normal;
      color: #333;
      text-decoration: none;
      margin-left: 15px;
  }
  .login_hdr_text_hd2 {
      font-family: Verdana;
      font-size: 14pt;
      color: #900;
      text-decoration: none;
      margin-left: 15px;
  }
  .submit_button {
      font-family: Verdana;
      font-size: 12px;
      color: #FFF;
      text-decoration: none;
      background-color: #900;
      border: 1px solid #900;
      margin-left: 15px;
  }
  .facebook_f12media_bld {
      font-family: Verdana;
      font-size: 12px;
      font-weight: bold;
      color: #900;
      text-decoration: none;
  }
  .field_properties {
      font-family: Verdana;
      font-size: 12px;
      font-weight: normal;
      color: #900;
      text-decoration: none;
      border: 1px solid #900;
  }
  .reset_button {
      font-family: Verdana;
      font-size: 12px;
      color: #900;
      text-decoration: none;
      background-color: #FFF;
      border: 1px solid #900;
  }
  .login_field_label {
      font-family: Verdana;
      font-size: 12px;
      color: #333;
      text-decoration: none;
      margin-left: 15px;
  }
  .login_forgot_password {
      font-family: Verdana;
      font-size: 10px;
      font-weight: normal;
      color: #900;
      text-decoration: none;
      margin-left: 15px;
      margin-top: 1px;
      margin-bottom: 1px;
      padding: 0px;
  }
  &lt;/style&gt;
  
  &lt;script language="text/javascript"&gt;
  function close_reload()
  {
  
      parent.parent.window.location.reload();parent.parent.GB_hide();
  
  }
  &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body onload="setTimeout('parent.parent.window.location.replace('http://www.f12media.com/account.php');parent.parent.GB_hide();', 5000)" onunload="parent.parent.window.location.reload();parent.parent.GB_hide();"&gt;
  
  
  
  &lt;table width="683" height="298" border="0"&gt;
    &lt;tr&gt;
      &lt;td height="312" valign="top"&gt;&lt;p class="facebook_login_hd1"&gt;Welcome to F12 MEDIA&amp;#8482; &lt;/p&gt;
    &lt;p class="facebook_body_txt"&gt;You are now connected with &lt;span class="facebook_f12media_bld"&gt;F12 MEDIA&lt;/span&gt;.&lt;/p&gt;
    &lt;/p&gt;
    &lt;p class="login_hdr_text_hd2"&gt;&amp;nbsp;&lt;/p&gt;
        &lt;form id="login_sign_fm" name="login_sign_fm" method="post" action=""&gt;
  &lt;/form&gt;      &lt;p class="login_hdr_text_hd2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>