<!--
function PM_swapImgRestore() { //v3.0
  var i,x,a=document.PM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function PM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.PM_p) d.PM_p=new Array();
    var i,j=d.PM_p.length,a=PM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.PM_p[j]=new Image; d.PM_p[j++].src=a[i];}}
}

function PM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=PM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function PM_swapImage() { //v3.0
  var i,j=0,x,a=PM_swapImage.arguments; document.PM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=PM_findObj(a[i]))!=null){document.PM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function PM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function expand(menu) {
  	if (menu != 'services01') window.document.getElementById('services01').style.display='none';
	if (menu != 'demandes01') window.document.getElementById('demandes01').style.display='none';
	if (menu != 'adhesion01') window.document.getElementById('adhesion01').style.display='none';
	if (menu != 'garanties01') window.document.getElementById('garanties01').style.display='none';
	window.document.getElementById(menu).style.display = 'block';
}
function collapse(menu) { 
  window.document.getElementById(menu).style.display = 'none';
  
}

CanHide = true;

function CountDown(menu)
{
	if(CanHide) collapse(menu);
	if (document.getElementById(menu).style.display=="block") elcd = setTimeout('CountDown(\'' + menu + '\')', 200);
}

function ongl(name){
	var ar = document.getElementsByTagName("a");
	var cc = null;

	for (var i = 0; i < ar.length;) {
		cc = ar[i++];
		if(cc.getAttribute("gp")=='ong'){
			cc.style.color='';
		}
	}
	
	ar = document.getElementsByTagName("tr");
	cc = null;
	
	for (var i = 0; i < ar.length;) {
		cc = ar[i++];
		if(cc.getAttribute("gp")=='ong'){
			cc.style.display='none';
		}
	}
	
	ar = document.getElementsByTagName("div");
	cc = null;
	
	for (var i = 0; i < ar.length;) {
		cc = ar[i++];
		if(cc.getAttribute("gp")=='ong'){
			cc.style.backgroundImage='url(../images/onglm2.gif)';
		}
	}
	
	ar = document.getElementsByTagName("img");
	cc = null;
	
	for (var i = 0; i < ar.length;) {
		cc = ar[i++];
		if(cc.getAttribute("gp")=='ongl'){
			cc.src='../images/ongll2.gif';
		}
		if(cc.getAttribute("gp")=='ongr'){
			cc.src='../images/onglr2.gif';
		}
	}
	document.getElementById('tbl'+name).style.display='';
	document.getElementById('lnk'+name).style.color='#4160D4';
	document.getElementById('div'+name).style.backgroundImage='url(../images/onglm.gif)';
	document.getElementById('iml'+name).src='../images/ongll.gif';
	document.getElementById('imr'+name).src='../images/onglr.gif';
}

function selectLink(lnkname){
	document.getElementById(lnkname).style.borderBottom='1px solid #DECAA8';
	document.getElementById(lnkname).style.borderTop='1px solid #9B7731';
	document.getElementById(lnkname).style.backgroundColor='#D1AB60';
	document.getElementById(lnkname).style.fontWeight='bold';
}

function ongl2(name){
	var ar = document.getElementsByTagName("li");
	var cc = null;

	for (var i = 0; i < ar.length;) {
		cc = ar[i++];
		if(cc.getAttribute("gp")=='ong'){
			cc.className='';
		}
	}
	
	ar = document.getElementsByTagName("tr");
	cc = null;
	
	for (var i = 0; i < ar.length;) {
		cc = ar[i++];
		if(cc.getAttribute("gp")=='ong'){
			cc.style.display='none';
		}
	}
	
	document.getElementById(name).className='current';
	document.getElementById('tbl'+name).style.display='';
}


function enregistrerOuiNon() {
   var myfrm = window.document.addanimal;
   if (myfrm.enregistrer[0].checked) {
	 document.getElementById('quelpays').style.display='';
   }
   if (myfrm.enregistrer[1].checked) {
	 document.getElementById('quelpays').style.display='none';
	 myfrm.castrer[1].checked = false;
   }							   
}
			
function castrerOuiNon() {
  var myfrm = window.document.addanimal;	
   if (myfrm.castrer[0].checked) {
	 //  Alright,  il est castrer ;-)
   }
   if (myfrm.enregistrer[1].checked && myfrm.castrer[1].checked) {
	 if (confirm('Désolé le site OXTION.COM n\'accepte pas les animaux non-castrés.  Désirez-vous annuler cet encan?')) {
	   window.location.href='/zone_encan.asp';  	 
	 }
	 myfrm.castrer[1].checked = false;
   }					
}
function associationOuiNon() {
   var myfrm = window.document.addanimal;
   if (myfrm.association_check[0].checked) {
	 document.getElementById('quelassociation').style.display='';
   }
   if (myfrm.association_check[1].checked) {
	 document.getElementById('quelassociation').style.display='none';
   }							   
}
function adnOuiNon() {
   var myfrm = window.document.addanimal;
   if (myfrm.adn_check[0].checked) {
	 document.getElementById('quelnumerotest').style.display='';
   }
   if (myfrm.adn_check[1].checked) {
	 document.getElementById('quelnumerotest').style.display='none';
   }							   
}

function coudeCheck() {
  var myfrm = window.document.addanimal;
  
   if (myfrm.coudecheckbox.checked) {
     document.getElementById('testcoude').style.display='';
   } else {
	 document.getElementById('testcoude').style.display='none';  
   }
}
function hancheCheck() {
  var myfrm = window.document.addanimal;
  
   if (myfrm.hanchecheckbox.checked) {
     document.getElementById('testhanche').style.display='';
   } else {
	 document.getElementById('testhanche').style.display='none';  
   }
}




//-->