function imprimer_dessin()
{simo=document.getElementById("img").src;
 //alert(simo);
 //document.form1.action="impression_dessin.php?source="+simo;
 window.open('http://www.carronlugon.com/test22/impression_dessin.php?source='+simo,'mywindow','width=400,height=200');
 
}

function changer(dv)
{
if(document.getElementById(dv).style.visibility=="hidden")
{document.getElementById(dv).style.visibility="visible";
return true;
}
if(document.getElementById(dv).style.visibility=="visible")
{document.getElementById(dv).style.visibility="hidden";
return true;
}
}

function changerImg1(image,dossier)
{	

document.getElementById('blendimage').src=dossier+'/'+image;}

function twNeowin(sUrl,sNom,nLargeur,nHauteur,bDefillement,sTexte,sTitre){ 
var nPosX = (screen.width) ? (screen.width-nLargeur)/2 : 0; 
var nPosY = (screen.height) ? (screen.height-nHauteur)/2 : 0; 
var sOptions = 'width='+nLargeur+',height='+nHauteur+',top='+50+',left='+400+',scrollbars='+bDefillement+',resizable=no'; 

// Ouvrir le popUp 
if (sUrl) { 
// Avec url 
oNeoPop=window.open(sUrl,sNom,sOptions); 
} else { 
// Sans url 
oNeoPop=window.open('about:blank',sNom,sOptions); 

} 
// Forcer le focus sur un PopUp déjà ouvert 
if(oNeoPop.window.focus){oNeoPop.window.focus();} 
} 