toolTipsById = function(element) {
  element.observe('mouseover', function(_event) { 
    new Tip(element, ToolTips[element.readAttribute('id')]);
  });

  element.observe('mouseout',  function() { 
    Tips.tips.invoke('hide'); 
  });
};


document.observe('dom:loaded', function() {

	body = {
		name: 	$$('body[id]')[0].readAttribute('id'), 
		loaded: $$('body[id]').length>0 && $$('body[id]')[0].readAttribute('id') ? true : false,
		element: $$('body[id]')[0]
	};
	
	/* 
		individual page initializers
	*/
	if (body.loaded) {
		if (body.name=='recruitment') {

  		  if (Tip) {
    		  $$('ul#form_factors li img').each(function(element) {
            toolTipsById(element);
    		  });
  		  };
		  
    }
  };
  
});