  /*
  NOTE: Had to create a separate rad window for google visualizations as they needed to be able to handle call 
  back functions from both google and telerik, this is a separate open window function than is called from fsSite
  */
  //pop-in style window - use this
  //height & width ignored if maximized is true
  function GoogleWindowOpen(url, title, width, height, OnClientClose, maximized){
    var errMsg = '';
    if(url==null){errMsg='A \'url\' must be provided to the \'WindowOpen\' call.';}
    //show any errors
    if(errMsg.length > 0){
      alert(errMsg);
      return;
    }
    //set defaults
    if(title==null){title=url;}
    if(width==null){width=400;}
    if(height==null){height=600;}
    if(OnClientClose==''){OnClientClose=null;}
    if(maximized==null){maximized=false;}
    
    //Get window object, set properties and open
    var winMngr = GetRadWindowManager();
    var win = winMngr.GetWindowByName('winGoogle');
    
    if(win != null){
      
      //make sure we are in the browser
      var brow = new MaxWindowSize(width, height);

      //set window properties  
      win.SetUrl(url); 
      win.SetTitle(title);
      win.SetSize(brow.Width, brow.Height);
      win.OnClientClose = OnClientClose;
      win.Show();
      if(maximized){
        win.Maximize();
      }
    }else{
      alert('Unable to find window object \'winGoogle\'.');
    }
  }


