[SalesForce] Live Agent Pre Chat Form – popup window size

We're about to go live with Live Agent (the version that built into your Salesforce instance).

We're using some a prechat form which appears as a popup window when the user clicks the "Chat" button.

When the window pops up, our form doesn't fit fully inside. I'm trying to find where to define the size of that pop-up window.

I can't find it in any setting, and changing the Visualforce page that represents the Pre Chat form doesn't make a difference.

Does anyone know where the Size of the pop up window is referenced?

Update**

***Per the comment below – I also thought it would be in the code for the button. Nearest I can tell it calls a method onclick called "Liveagent.startChat()" but I don't see that javascript anywhere.

<body style="background:transparent">
        <span class="buttonSmall">                                    
            <a id="liveagent_button_online_573400000004CMA" href="javascript://Chat" style="display: none;" onclick="liveagent.startChat('573400000004CMA')">
                <img src="~/hgstatic/img/hgLiveChatButtonBig.png" alt="Live Chat" />
            </a> 
        </span> 
              <div id="liveagent_button_offline_573400000004CMA" style="display: none;"><a href="http://www.healthgrades.com/contactus?application=manage-my-profile" target="_new"><img src="~/hgstatic/img/hgContactUsBig.png" alt="Contact Us" /></a></div>

         <script type="text/javascript">
             if (!window._laq) { window._laq = []; }
             window._laq.push(function () {
                 liveagent.showWhenOnline('573400000004CMA', document.getElementById('liveagent_button_online_573400000004CMA'));
                 liveagent.showWhenOffline('573400000004CMA', document.getElementById('liveagent_button_offline_573400000004CMA'));
             });
        </script>              

        <script type='text/javascript' src='@ConfigurationManager.AppSettings["SalesForceScriptLink"]'></script>
        <script type='text/javascript'>
            liveagent.init(@Html.Raw(ConfigurationManager.AppSettings["SalesForceLiveAgentInitLink"]));
        </script>
    </body>

Best Answer

Thanks to Jon Aniano ‏@jonaniano " There is an undocumented method for this (will be documented in Summer - SAFE HARBOR applies). You can use it today.

Before your "init" call in your deployment code: liveagent.setChatWindowHeight(500); liveagent.setChatWindowWidth(500);

where (500) in the example above would be your size in pixels. Hope this helps "