function log_ins(tasto) {

	url="http://localhost/restricted_area/"+tasto

	posizione=centraSchermata(450,300) // funxione in apriWindow.js, genera un oggetto posizioneWinCentro con proprieta X e Y

	sWidth=posizione.X
	sHeight=posizione.Y

	parametri="width=450,height=300,status=yes,toolbar=no,scrollbars=yes,resizable=yes"
	parametri+=",left="+sWidth+",top="+sHeight
	parametri+=",screenX="+sWidth+",screenY="+sHeight

	parametri+="status=no,toolbar=no,scrollbars=no,resizable=no"

	var winlogin=window.open(url,"http://localhost/restricted_area/",parametri)

	winlogin.focus()

}

function cliente(id) {

	posizione=centraSchermata(600,600) // funxione in apriWindow.js, genera un oggetto posizioneWinCentro con proprieta X e Y

	sWidth=posizione.X
	sHeight=posizione.Y

	parametri="width=600,height=600,status=yes,toolbar=no,scrollbars=yes,resizable=yes"
	parametri+=",left="+sWidth+",top="+sHeight
	parametri+=",screenX="+sWidth+",screenY="+sHeight

	url="/modificaCliente.asp"
	if (id) url+="?id="+id
	nomewin="modCliente"

	var w=window.open(url,nomewin,parametri)
	w.focus()
}
