Javascript static members
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1535631/static-variables-in-javascript">Static variables in JavaScript</a>  </p>
</blockquote>



<p>I have a problem with javascript. What I intend to do is to simulate a class named Tooltip. Ex: </p>

<pre><code>var Tooltip = function(){
    this.draw = .....;
    /////////// other members and methods

    this.Static = ...; // this one I want to be static }
</code></pre>

<p>The problem is I can't find a method to declare a static method/member. And I presume that the above way doesn't work. 
Is there any method to simulate a class with a static member? (preferably using object literals)</p>

<p>LE: I forgot to tell that I want to have acces to the static members from an instance of the class.</p>
