title: Declaring a global variable on page initialization
body: <p>I have my web applicatoin initialize method run based upon the page that is loaded.</p>
  
  <p>I need global variables available to only page 1 of 2.  So what I want to do is define and initializ a global variable only if page 1 is loaded.  I'm sure there is a way to do this but I do not know how to.</p>
  
  <p>I pasted my releveant intitialze method and the two global I need.  Currently they are defined and initialized on both page 1 reload and page 2 reload.</p>
  
  <p>I want them only defined an intialized for page 1 reload.</p>
  
  <pre><code>/********************
  group:globals
  ********************/
  
  var local = 
    { 
    client_validation:1,
    persistent_element:'hide_1'
    };
  
  window.onload=initialize_page;
  
  /* 
  - initialize_page() - function activated on each page load or reload.  Set by global window.onload
  */
  
  function initialize_page()
    {
    var signin_found;
    /*Used to determine which page is loaded / reloaded*/
    if(signin_found=document.getElementById('signin_button')) 
      {
      signin_found.onclick=interface_signin;
      /*Interfaces and bindings*/
  </code></pre>