	// Detect if the browser is IE or not.
	// If it is not IE, we assume that the browser is NS.
	var IE = document.all ? true : false ;

	// If NS -- that is, !IE -- then set up for mouse capture
	if (!IE) 
		document.captureEvents(Event.MOUSEMOVE) ;

	// Set-up to use getMouseXY function onMouseMove
	document.onmousemove = getMouseXY ;

	// Temporary variables to hold mouse x-y pos.s
	var tempX = 0 ;
	var tempY = 0 ;

	// Main function to retrieve mouse x-y pos.s
	
	function getMouseXY(e) {
  		if (IE) { // grab the x-y pos.s if browser is IE
    		tempX = event.clientX + document.body.scrollLeft ;
    		tempY = event.clientY + document.body.scrollTop ;
  		} else {  // grab the x-y pos.s if browser is NS
    		tempX = e.pageX ;
    		tempY = e.pageY ;
  		}  
  		// catch possible negative values in NS4
  		if (tempX < 0) {
			tempX = 0 ;
		}
  		if (tempY < 0) {
			tempY = 0 ;
		}  
  		// show the position values in the form named Show
  		// in the text fields named MouseX and MouseY
  		$('mouse_pos_X').value = tempX ;
  		$('mouse_pos_Y').value = tempY ;
		
		/*var td_contentX = parseInt(findPosX($('td_content'))) ;
		var td_contentY = parseInt(findPosY($('td_content'))) ;
		
		var td_content_width = parseInt(getWidth('td_content', true, true)) ;
		var td_content_height = parseInt(getHeight('td_content', true, true)) ;
	
		//alert ("td_content_width " + td_content_width) ;
		//alert ("td_content_height " + td_content_height) ;
		//alert ("td_contentX " + td_contentX) ;
		//alert ("td_contentY " + td_contentY) ;
		
		if ((tempX <= td_contentX) && (tempX >= td_contentX + td_content_width) && (tempY <= td_contentY) && (tempY >= td_contentY + td_content_height)) {
			alert ("out") ;
			$('div_product_details').hide() ;
			$('div_content_product_details').hide() ;
		}*/
			
		move_div_product_details() ;
		
		return true ;
	}
