in the code below, should link1 not be the <p> element? my code reacts when i attach an event listener to col2.childNodes[1], but when i use col2.childNodes[2] or [3], nothing happens.

HTML:
Code:
<div id="col2">
	<h2>text</h2>
	<p><a href="#">text</a></p>
	<img id="img1" src="# height="120" width="120" />
</div>
JS:
Code:
/*get the parent node*/
var col2 = document.getElementById("col2");

/*get the first link*/
var link1 = col2.childNodes[2];