function im_zone_info(lbl) {
	s=document.getElementById('im_info_area');
	if (lbl == '') {
		lbl ='&nbsp;';
	}
	if (s) {
		s.innerHTML = lbl;
	} 
}

function im_switch(id) {
	imgs = document.getElementsByTagName('img');
	for (i=0;i<imgs.length;i++) {
		var img = imgs[i];
		if (img.className == 'imgmap') {
			if (img.id == 'im_im_' + id) {
				img.style.display = "block";
			} else {
				img.style.display = "none";
			}
		}
	}
}

function tf_clear(o) {
	if (o.value == 'recherche') {
		o.value = '';
	}
}

function tf_reset(o) {
	if (o.value == '') {
		o.value = 'recherche';
	}
}

function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;

