		var response = null; promptval='';
			function prompt2(promptpicture, prompttitle, message, sendto,champ_form) { 
			var champ=1;
			//alert(champ);
				promptbox = document.createElement('div'); 
				promptbox.setAttribute ('id' , 'prompt') 
					document.getElementsByTagName('body')[0].appendChild(promptbox) 
					promptbox = eval("document.getElementById('prompt').style") 
					promptbox.position = 'absolute' 
					promptbox.top = 340 
					promptbox.left = 350 
					promptbox.width = 300 
					promptbox.border = '1px outset #bbbbbb' 
					document.getElementById('prompt').innerHTML = "<table cellspacing='0' cellpadding='0' border='0' width='100%'><tr valign='middle' align='center'><td width='22' height='22' style='text-indent:2;' class='titlebar'><img src='" + promptpicture + "' height='18' width='18'></td><td class='titlebar'>" + prompttitle + "</td></tr></table>" 
					document.getElementById('prompt').innerHTML = document.getElementById('prompt').innerHTML +
					"<table cellspacing='0' cellpadding='0' border='0' width='100%' class='promptbox'><tr><td align='center'>" +message +"</td></tr><tr><td><input type='text' id='promptbox' onmouseover='this.focus()' class='promptbox'></td></tr><tr><td align='right'><br><input type='button' class='prompt' value='OK'  onClick='" + sendto +"(document.getElementById(\"promptbox\").value, " + champ +");document.getElementsByTagName(\"body\")[0].removeChild(document.getElementById(\"prompt\"))'> <input type='button' class='prompt' value='Annuler'  onClick='" + sendto +"(\"\",\"champ_form\");document.getElementsByTagName(\"body\")[0].removeChild(document.getElementById(\"prompt\"))'></td></tr></table>"; 

					document.getElementById("promptbox").focus(); 
//return document.getElementById("promptbox").value
				} 

		function myfunction(value,champ) { 
//	alert(champ);
			if(value.length<=0)
			{}
			else
				{
				//chaine="document.getElementById('formulaire')."+champ+"options[document.getElementById('formulaire')."+champ+"options.length]";
				newopt=new Option(value,value,false,true);   
				document.getElementById('formulaire').f_haut.options[document.getElementById('formulaire').f_haut.options.length]=newopt;	
				//champ=newopt;
				}

		} 
/*
Floating image II (up down)- Bruce Anderson (http://appletlib.tripod.com)
Submitted to Dynamicdrive.com to feature script in archive
Modified by DD for script to function in NS6
For 100's of FREE DHTML scripts, Visit http://www.dynamicdrive.com
*/

var XX=15; // X position of the scrolling objects
var xstep=1;
var delay_time=100;

//Begin of the unchangable area, please do not modify this area
var YY=0;  
var ch=370;
var oh=100;
var yon=0;

var ns4=document.layers?1:0;
var ie=document.all?1:0;
var ns6=document.getElementById&&!document.all?1:0;

if(ie){
//YY=document.body.clientHeight;
//point1.style.top=YY;
point1.style.top=0;
}
else if (ns4){
//YY=window.innerHeight;
document.point1.pageY=YY;
document.point1.visibility="hidden";
}
else if (ns6){
//YY=window.innerHeight
document.getElementById('point1').style.top=YY
}


function reloc1()
{

if(yon==0){YY=YY-xstep;}
else{YY=YY+xstep;}
//if (ie){
//ch=document.body.clientHeight;
//oh=point1.offsetHeight;
//ch=400;
//oh=100;
//}
//else if (ns4){
//ch=window.innerHeight;
//oh=document.point1.clip.height;
//ch=400;
//oh=100;
//}
//else if (ns6){
//ch=window.innerHeight
//oh=document.getElementById("point1").offsetHeight
//ch=400;
//oh=100;
//}
		
if(YY<0){yon=1;YY=0;}
if(YY>=(ch-oh)){yon=0;YY=(ch-oh);}
if(ie){
point1.style.left=XX;
point1.style.top=YY+160;
}
else if (ns4){
document.point1.pageX=XX;
//document.point1.pageY=YY+window.pageYOffset;
document.point1.pageY=YY+160
}
else if (ns6){
document.getElementById("point1").style.left=XX;
//document.getElementById("point1").style.top=YY+window.pageYOffset;
document.getElementById("point1").style.top=YY+160;
}

}

function onad()
{
if(ns4)
document.point1.visibility="visible";
loopfunc();
}
function loopfunc()
{
reloc1();
setTimeout('loopfunc()',delay_time);
}

if (ie||ns4||ns6)
window.onload=onad
/* if (document.getElementById('page1'))
	affiche_page('page1');
if (document.getElementById('page13'))
affiche_page('page13') */
//affiche_smenu('vide')
/* sel_menu('menu4');
affiche_page('page9'); */

//init_old();
window.status='MPI Technologies innove avec des robots industriels';
document.getElementById('formulaire').reset() ;
document.getElementById('form_ami').reset() ;
//document.getElementById('formulaire').f_comment.value="Effacez pour saisir votre commentaire. Dans les listes, si vous sélectionnez 'autre', vous pourrez entrer une valeur personnalisée. En y cliquant (dé)palettisation un complément apparaîtra."
//disableSelection(document.body);

