How can I group together multiple variables so they act the same?
<p>I have an effect that I want to have happen to all 3 different elements when you hover any one of them but I'm having trouble grouping the variables together so they can all act the same</p>

<p>The code I wrote was what I thought would group them together.</p>

<pre><code> var germany=new Array(); 
    germany[0]=germany1_poly;      
    germany[1]=germany2_poly;
    germany[2]=germany3_poly;


google.maps.event.addListener(germany, "mouseover",function() {
     germany.setOptions({ fillColor: "#ff0000", strokeColor: "#ff0000" });
});
</code></pre>
