<!--

function classDmc_Layer(){
		this.DMC_dom = (document.getElementById) ? true : false;
		this.DMC_net = (document.layers) ? true : false;
		this.DMC_ie = (document.all) ? true : false;
		this.DMC_ie4 = this.DMC_ie && !this.DMC_dom;
		this.DMC_Mac = (navigator.appVersion.indexOf("Mac") != -1);
		this.DMC_ie4m = this.DMC_ie4 && this.DMC_Mac;
		//this.DMC_IsMenu = (this.DMC_DOM || this.DMC_NS4 || (this.DMC_IE4 && !this.DMC_IE4M));
		this.DMC_ie5m = this.DMC_ie && this.DMC_Mac;
		this.DMC_ie5 = this.DMC_ie && !this.DMC_Mac;
		this.DMC_net6 = (navigator.vendor == ("Netscape6") || navigator.product == ("Gecko"));
		this.DMC_System = "pc";
		///alert(navigator.userAgent)
		if(((navigator.userAgent).toLowerCase()).indexOf("mac")!=-1){
			//if(((navigator.appName)).toLowerCase().indexOf("internet explorer")!=-1){
				this.DMC_System ="mac";
			//} 
		}
	this.DMC_Navigateur="ie";
	
	if(document.getElementById){
		this.DMC_Navigateur="net6";
	}else if( typeof(document.layers)=="object" ){
			this.DMC_Navigateur="net";
	}
	
	
	
	
	this.is_object=function (nom){
			var resultat=false;
			if(this.DMC_Navigateur=="ie"){
				resultat=document.all[nom];
				if(typeof(resultat)!="object" ){
					return false;
				}
			}else if(this.DMC_Navigateur=="net6"){
				resultat=document.getElementById(nom);
				if(resultat+""=="null"){
					return false;
				}
			}else{
				resultat=document.layers[nom];
			}
		return resultat;
		}
function Dmc_cacher(nom){
		if(this.DMC_Navigateur=="net"){
			nom.visibility='hide';
		}else{
			nom.style.visibility='hidden';
		}
} 
classDmc_Layer.prototype.f_cacher=Dmc_cacher;

function Dmc_visible(nom){ 
			if(this.DMC_Navigateur=="net"){
				nom.visibility='show';
			}else{
				nom.style.visibility='visible';
			} 
	} 
	classDmc_Layer.prototype.f_visible=Dmc_visible;

this.test=function (objs){	
var obj =objs
//.previousSibling
//alert(obj.offsetHeight)
	for(var i in obj){
		mm.document.write(i+"="+obj[i]+"<br>")
	}
}
	 function Dmc_setposx(nom,pos){
			if((typeof(nom)=="object") && (!isNaN(pos))){
				var position=parseInt(pos);
					if(this.DMC_Navigateur=="net"){nom.pageX= position;}else{
						nom.style.left= position+"px";
					}
			}
	}
classDmc_Layer.prototype.set_posx=Dmc_setposx;
	function Dmc_setposy(nom,pos){
			if((typeof(nom)=="object") && (!isNaN(pos))){
					var position=parseInt(pos);
					if(this.DMC_Navigateur=="net"){nom.pageY= position;}else{
						nom.style.top = position+"px";
					}
			}
	}
	classDmc_Layer.prototype.set_posy=Dmc_setposy;
	
}
//-->