
addListenner(window, "load", addSlidersEvents, true);

function addSlidersEvents()
{
    
    // lorsque la souris est au dessus des zones
	// affiche le curseur
	// et le fait suivre la souris
	
	var chooserList = document.getElementById('contentChooserList');
	if (!chooserList) {
		return false;
	}

	chooserList = chooserList.getElementsByTagName('div');
	
	for (var i = 0; i < chooserList.length; i++) {
		if (chooserList[i].className.indexOf('contentChooser') >= 0) {
			
			//chooserList[i].onmouseover = function() { addClass(this, 'show'); };
			
			//chooserList[i].onmouseout = function() { removeClass(this, 'show'); };
			
			chooserList[i].onmousemove = function(e) {
				 if (!e && window.event) {
				 	e = window.event;
				 }
				 var coor = getPosition(this, false);
			     var pos = getMousePosition(e);
			     var mark = this.getElementsByTagName('div');
			     if (mark[0]) {
			         mark = mark[0];
			     }
			     var y = pos.y - coor.y - 12;
			     if (y < 78) {
			    	 y = 78;
			     }
			     var max = this.clientHeight - 34;
			     if (y > max) {
			    	 y = max;
			     }
			     if (mark) {
			     	mark.style.top = y + 'px';
			     }
			};

		}
	}

} // end of "addNewAdEvents()"





