
    //---------------------pop-up new window for external links: start-----------------------//
    function OpenNewWindow(fURL,features) {
    /*------------------------------------------------------------------------------------------
      Purpose:
      *  OpenNewWindow is used only for external URLs (links not hosted internally)
      *  OpenNewWindow tracks the number of visits we send to external urls by passing links
         through 'extLinker.asp'.
      *  To view the custom report that consumes this information, navigate to 'Custom Reports' >> 
        'Top External URLs' within a IIS profile WebTrends 
    --------------------------------------------------------------------------------------------
      Parameters: fURL, features
      * fURL     - the external url that the site will exit to 
                   or a string name that will be used to set the exit page (and features).
      * features - <optional> the optional parameter allows the window to be customized.
                   if not defined the following settings are used:
                   'location=1,status=0,toolbar=0,directories=0'
      
        Customizable 'features': 
        ----------------------------------------------------------------------------------------  
        toolbar     = 0|1      Specifies whether to display the browser tool bar.   
        location    = 0|1      Specifies whether to display the browser address bar.
        directories = 0|1      Specifies whether to display the browser directories.
        status      = 0|1      Specifies whether to display the browser status bar.
        copyhistory = 0|1      Specifies whether to copy browser's history in a new window.	
        menubar     = 0|1      Specifies whether to display the browser menu bar.  
        scrollbars  = 0|1      Specifies whether the new window should have scrollbars.  
        resizable   = 0|1      Specifies whether the new window is resizable.  
        width       = pixels   Specifies the width of the new window.  
        height      = pixels   Specifies the height of the new window.  
        top         = pixels   Specifies the Y coordinate of the top left corner of the new window. 
        left        = pixels   Specifies the X coordinate of the top left corner of the new window. 
    --------------------------------------------------------------------------------------------
      Usage:
      * <a href="javascript:OpenNewWindow('http://www.example_site.com');"></a>
      * <a href="javascript:OpenNewWindow('http://www.example_site.com','width=200,height=200,scrollbars=1');"></a>
      * <a href="javascript:OpenNewWindow('ehi');"></a>
      * <a href="javascript:OpenNewWindow('ehi','width=200,height=200,scrollbars=1');"></a>
    ------------------------------------------------------------------------------------------*/
    
    var NewWindow;  // create new window object
    var exit;       // exit url (where we are sending user)
    
    
    
    
    
    
    
    if (fURL == "FOXSports") {
      /* if not features were passes, set default features */
      if (features==undefined) { features="width=725,height=315,left=1,top=0,menubar=0,scrollbars=0,resizable=1,toolbar=0,status=0,location=0" }
      exit = "http://www.btgraphix.com/cgi-bin/sports/newsReader.pl"
    } 
    
        
    
    /* set the default window features if features has not been defined */
    if (features==undefined) { features="location=0,status=1,toolbar=0,directories=0,scrollbars=0,resizable=1" }
    
      /* open the new window to exit URL */
      NewWindow = window.open(exit,null,features);
     
    }
    
    
     function peek_a_boo(divID, iState) { // 1 visible, 0 hidden
    //brian tracy
        if ( document.layers ) { //NN4+ 
          document.layers[divID].visibility = iState ? "show" : "hide"; 
        }  
        else if ( document.getElementById )	 { //gecko(NN6) + IE 5+
            var obj = document.getElementById(divID);
            obj.style.visibility = iState ? "visible" : "hidden";
        }
        else if ( document.all )	{ // IE 4  
            document.all[divID].style.visibility = iState ? "visible" : "hidden";
        }
    }



    function details( d_txt,posX,posY ) {
      
      document.getElementById(affiliate_bkg.innerHTML  = d_txt );
      document.getElementById(affiliate_txt.innerHTML  = d_txt );
      document.getElementById(affiliate.style.left     = posX  );
      document.getElementById(affiliate.style.top      = posY  );
      
      peek_a_boo('affiliate',1);
      
    }    



    function getCoordinates() {
      //http://www.quirksmode.org/js/events_properties.html
    		  posX = document.body.scrollLeft	+  225;
    		  posY = document.body.scrollTop ;
    }

