  function toggleSpecific(elementid,type) {
        var node = document.getElementById(elementid);
         if(type == '1'){
          node.style.display='none';
        }
        if (type == '2'){
          node.style.display = '';
        }
      }
    function changeDiv(wdiv,type) {
    thediv = document.getElementById(wdiv);
    if(type == '1'){
    thediv.style.height = '100px';
    } 
	if (type == '2'){
    thediv.style.height = '38px';
    }
    }	
	
	 function changeclass(wdiv,type) {
    thediv = document.getElementById(wdiv);
	if (type == '2'){
    thediv.style.color = '#0066CC';
    }
		if (type == '1'){
    thediv.style.color = '';
    }
    }	 
	
	 function changeimg(type) {
	if (type == '1'){
   document.getElementById("imagepic").style.background = 'url(pichome/pict1.png)';
    }
		if (type == '2'){
   document.getElementById("imagepic").style.background = 'url(pichome/pict2.png)';
    }
		if (type == '3'){
   document.getElementById("imagepic").style.background = 'url(pichome/pict3.png)';
    }
    }	    
	
	 function effaceall(tye) {
	 toggleSpecific('select1','1');
	 toggleSpecific('select2','1');
	 toggleSpecific('select3','1');
	 toggleSpecific('select4','1');
	 changeDiv('puce1','2');
	 changeDiv('puce2','2');
	 changeDiv('puce3','2');
	 changeDiv('puce4','2');
	 changeclass('c1','1');
	 changeclass('c2','1');
	 changeclass('c3','1');
	 changeclass('c4','1');
	 }