How many times is a local var created when instantiating an object?
<p>In the message object below, if I call it like this:</p>

<pre><code>var message_object = new Message( response_element );
message_object.display( 'empty' );
</code></pre>

<p>is the messages array created for each call to new Message()...if so how can I ensure there is only one messages array, as that is all I need?</p>

<pre><code>var Message = function( element )
{
    var messages =  
    {
        name:         'Please enter a valid name',
        email:        'Please enter a valid email',
        pass:         'Please enter passoword, 6-40 characters',
        url:          'Please enter a valid url',
        title:        'Please enter a valid title',
        tweet:        'Please enter a valid tweet',
        empty:        'Please complete all fields',
        email_s:      'Please enter a valid email.',
        same:         'Please make emails equal',
        taken:        'Sorry, that email is taken',
        validate:     'Please contact &lt;a class="d" href="mailto:chris@arcmarks.com"&gt;support&lt;/a&gt; to reset your password',
    }
    this.display = function( type ) 
    {
        element.innerHTML = messages[ type ];
        new Effects().fade( element, 'down', 4000 );
    }
};
</code></pre>
