function OpenWindow(url, w, h, hasScroll)
{
	var l = parseInt((screen.width - w)/2);
	var t = parseInt((screen.height - h)/2);
	var n = parseInt(Math.random() * 1000);
	var nw = window.open( url, "NewWindow" + n, "width=" + w + "px,height=" + h + "px,left=" + l + "px,top=" + t + "px,scrollbars=" + hasScroll );
}

function solicitud(idp)
{
	OpenWindow('enviaform.asp?id=' + idp, 700, 500, "yes");
	
	return 0;
}