var win;win=nullwindow.name='coucou'function check(){if (win && win.open && !win.closed) win.close();}function send(page,hauteur,largeur){   check();   test='test'+Math.floor(Math.random()*1000);   win=window.open(page,test,"resizable=yes,scrollbars=yes,height="+hauteur+",width="+largeur); }            function send2(page,largeur,hauteur){   check();   test='test'+Math.floor(Math.random()*1000);   win=window.open(page,test,"scrollbars=no,height="+hauteur+",width="+largeur); } function send3(page,largeur,hauteur){   check();   test='test'+Math.floor(Math.random()*1000);   win=window.open(page,test,"resizable=yes,scrollbars=yes,height="+hauteur+",width="+largeur); }    function changeURL(){win2=window.open("",winname)win2.location.href=newurl}function Show(newsId){	var targetElement;    targetElement = document.all(newsId.id) ;    if (targetElement.style.display == "none") {        targetElement.style.display = "" ;        document.all('option').innerHTML='<B>&lt;&lt;</b> Options Avancées';    } else {    	document.all('option').innerHTML='Options Avancées <b>&gt;&gt;</b>';       targetElement.style.display = "none" ;    }}function preloadImages(the_images_array) {   for(var loop = 0; loop < the_images_array.length; loop++) { 	var an_image = new Image();	an_image.src = the_images_array[loop];   }}function preload() {   var images = new Array(      'itf/bt_tous-les-articles_on.gif'   );   preloadImages(images);}preload();function toggle(id) {var e = document.getElementById(id);if(e.style.display == 'none')e.style.display = 'block';elsee.style.display = 'none';}Event.observe(window,'load',function(){	var inputs=document.getElementsByTagName('input');	for(var i=0;i<inputs.length;i++){	if(Element.hasClassName(inputs[i],'recherche')){			var options={};			if(Element.hasClassName(inputs[i],'applesearch')){				options.autosave='Apple.com';			}else if(Element.hasClassName(inputs[i],'reseller')){				options.autosave='Apple.com Reseller';			}			if(inputs[i].parentNode.tagName=='LABEL'){				var placeholderText=inputs[i].parentNode.firstChild.nodeValue;				placeholderText=placeholderText.split('\n')[0];				options.placeholder=placeholderText;				inputs[i].parentNode.firstChild.nodeValue='';			}				AC.decorateSearchInput(inputs[i],options);		}	}});