function copy(theField) {
	var tempval=theField;
	tempval.focus()
	tempval.select()	
	if (document.all&&copytoclip==1) {
		therange=tempval.createTextRange()
		therange.execCommand("Copy")
		window.status="Le code a bien été copié !"
		setTimeout("window.status=''",1800)
	}
}
