Write out name and value from dictionary
<p>This is trivial I know but I'm so used to OOP languages.  I'm trying to figure out how to write out each name/value in either one alert or many, just so I can verify the data</p>

<pre><code>var dCookieNameValuePairs = {};

for (i = 0; i &lt; cookieValues.length; i++)
{
    var akeyValuePair = aCookieValues[i].split("=");
    dCookieNameValuePairs[keyValuePair[0]] = keyValuePair[1];
}

// display each name value pair testing
for (i = 0; i &lt; dCookieNameValuePairs.length; i++)
{
    alert("Name: " + dCookieNameValuePairs[] + "Value: " + 
}
</code></pre>

<p>I'm stuck at the second for loop...I am not sure how to iterate through the dictionary and then focus on each name/value to spit it back.</p>
