function remover()
{
	var where_to= confirm("Tem a certeza de que deseja REMOVER os produtos seleccionados?");
	if (where_to== true){
		document.modifica.action = "carro.php?action=remove";
		document.modifica.submit();
	}
}

function alterar()
{
	var where_to= confirm("Tem a certeza de que deseja ALTERAR os produtos seleccionados?");
	if (where_to== true){
		document.modifica.action = "carro.php?action=alterar";
		document.modifica.submit();
	}
}

function encomenda()
{
	var where_to= confirm("Tem a certeza de que deseja FINALIZAR A ENCOMENDA?");
	if (where_to== true){
		document.modifica.action = "carro.php?action=encomenda";
		document.modifica.submit();
	}
}

function remover_enc()
{
	var where_to= confirm("Tem a certeza de que deseja REMOVER as encomendas seleccionadas?");
	if (where_to== true){
		document.modifica.action = "pendentes.php?action=remove";
		document.modifica.submit();
	}
}


function remover_linhas()
{
	var where_to= confirm("Tem a certeza de que deseja REMOVER os produtos seleccionados?");
	if (where_to== true){
		document.modifica.action = "verPendentes.php?action=remove";
		document.modifica.submit();
	}
}

function alterar_linhas()
{
	var where_to= confirm("Tem a certeza de que deseja ALTERAR os produtos seleccionados?");
	if (where_to== true){
		document.modifica.action = "verPendentes.php?action=alterar";
		document.modifica.submit();
	}
}

function encomenda_linhas()
{
	var where_to= confirm("Tem a certeza de que deseja FINALIZAR A ENCOMENDA?");
	if (where_to== true){
		document.modifica.action = "verPendentes.php?action=encomenda";
		document.modifica.submit();
	}
}
function remover_mensagens()
{
	var where_to= confirm("Tem a certeza de que deseja REMOVER as mensagens seleccionadas?");
	if (where_to== true){
		document.modifica.action = "mensagens.php?action=remove";
		document.modifica.submit();
	}
}
function remover_mensagem()
{
	var where_to= confirm("Tem a certeza de que deseja REMOVER esta mensagem?");
	if (where_to== true){
		document.modifica.action = "mensagens.php?action=remove";
		document.modifica.submit();
	}
}
