function floatRegistracion(divP, divdP){
	var floatMarginT = 20;
	var floatMarginL = 4;
	var marginOut = 40;
	/**/
	var posb;	   
	var posbTop;
	var posbLeft;
	var miY;
	var miX;
	/**/
	var div = divP
	var divd = divdP
	var prendido = false
	/**/
	function miclose(e){
		if (prendido){
			miY = e.pageY;
			miX = e.pageX;
			/**/
			if (miY > posb.top + marginOut + $(divd).width() || 
				miX > posbLeft + $(divd).width() + marginOut || 
				miY < posbTop - marginOut || 
				miX < posbLeft - marginOut ){
					$(divd).hide();
					prendido = false
					$('body').unbind('mousemove', miclose);
					$('.JSolvPas').css("display", "none");
			}
		}
	}
	/**/
	$('.JSolvPasBot').click(function(){
		$('.JSolvPas').css("display", "block");
		return false;
	});
	$(div).click(function () {
		if (!prendido){
			posb = 	$(div).offset();					   
			posbTop = (posb.top + $(div).height() + 2);
			posbLeft = posb.left - ($(divd).width() - $(div).width());
			/**/
			$(divd).css('top',posbTop);
			$(divd).css('left',posbLeft);
			$(divd).show()
			/**/
			prendido = true
			$('body').bind('mousemove', miclose);
			return false;
		}
	});
};