<!--
	function roll(img_name, img_src)
	{
		document[img_name].src = img_src;
	}
	
	
	function submit_general(form,action)
	{
		eval ("document."+form+".action='"+action+"'");
		eval ("document."+form+".submit()");
	}
	
	function MM_openBrWindow(theURL,winName,features)
	{
	  window.open(theURL,winName,features);
	}
	
	function senddata(form, newaction, champ, newval)
	{
		eval ("document."+form+"."+champ+".value='"+newval+"'");
		eval ("document."+form+".action='"+newaction+"'");
		eval ("document."+form+".submit()");
	}
	
	function change_langue(old_langue)
	{
		if(old_langue==1){var new_langue=2;}
		else{var new_langue=1;}
		eval ("document.form_bd_haut.lg.value='"+new_langue+"'");
		eval ("document.form_bd_haut.submit()");
	}
	
	function removeelements()
	{
		//store all elements with id=remove to "remove_el"
		var remove_el=document.all.remove
		//if there is only one element with id=remove
		if (remove_el!=''&&remove_el.length==null)
		remove_el.style.display='none'
		else{
			//for each element with id=remove
			for (i=0;i<remove_el.length;i++)
			remove_el[i].style.display='none'
		}
	}
	
	function revertback()
	{
		eval ("document.form_bon_cmd.actiontype.value='noenvoi'");
		eval ("document.form_bon_cmd.submit()");
	}
	
	window.onbeforeprint=removeelements
	window.onafterprint=revertback
	
	function print_facture()
	{
		window.print()
	}
 -->
