function snapBox(img) {
	var tableRef = img.parentNode.parentNode.parentNode; //img->td->tr->table
	//alert(tableRef);
	theSnapBox=tableRef.rows[1];	//second row
	if (theSnapBox.style.display=='') {
		theSnapBox.style.display='none';
		img.src='/src/data-templates/images/snap_open.gif';
	}
	else {
		theSnapBox.style.display='';
		img.src='/src/data-templates/images/snap_close.gif';
	}
}
