// Icônes points carte (PNG) pour IE 6

CM.pointsCarte = function() {
	// test IE
	if(document.all != null && window.opera == null) {
		// test IE 6
		if(window.XMLHttpRequest == null && document.implementation != null && document.compatMode != null) {
			// récupération des liens ayant une classe "pointCarte"
			var pc = DOM.getByClassName('a','pointCarte');
			for(var i = 0; i < pc.length; i++) {
				var img = pc[i].firstChild;
				if(img.nodeName.toLowerCase() != 'img') {continue;}
				if(/png$/i.test(img.src)) {
					var src = img.src;
					img.src = 'css/img/bg_transparent.gif';
					img.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"',sizingMethod='image');";
				}			
			}
		}
	}
};