function valideCloseReload(){
	var s;
	s = window.opener.location.href;
	window.opener.location.reload();
	window.opener.location.href = s;
	window.close();
}

function valideCloseReload2(id, urlPlus){
	var s;
	s = window.opener.location.href;
	insertPostInputs2(window.opener.document, id);
	actionFormValue = window.opener.document.getElementById(id).getAttributeNode('action').value;
	
	if(urlPlus != null){
		var regActionForm = new RegExp("(\\\?)", "g");
		if(actionFormValue.match(regActionForm)){
			newActionFormValue = actionFormValue + '&' + urlPlus;
		}
		else{
			newActionFormValue = actionFormValue + '?' + urlPlus;
		}
		
		window.opener.document.getElementById(id).getAttributeNode('action').value = newActionFormValue;
	}
	
	window.opener.document.getElementById(id).submit();
	window.close();
}
