/**
 * @author Allan Benamer
 * 6/2/2008
 */

var dom = YAHOO.util.Dom;

function init(){
	// initialize the tooltips array
	var tooltips = new Array();			
		
	// find all elements with the tooltip_anchor class name	
	listings = dom.getElementsByClassName('tooltip_anchor');
	
	// loop through all the tooltip anchors and assign them a tooltip
	for (i = 0; i < listings.length; i++) {									
		tooltips[i] = new YAHOO.widget.Tooltip(listings[i].id + "_text", { context: listings[i].id, autodismissdelay:25000  } );
	}
}
YAHOO.util.Event.addListener(window, "load", init);

