function KNav(){
// gere les communication critique avec le naviguateur 

// 0 = Internet Explorer;
// 1 = Firefox;


	if (navigator.appName=="Netscape"){
		this.value=1;
		//alert("f");
	}else{
		this.value=0;
		//alert("e");
	}
	
	this.get=function(){
		return this.value;
		}
		
	this.getW=function(){
		switch(this.value){
		case 0 : 	
			if (document.body && document.body.offsetWidth)  {
		 return document.body.offsetWidth;
		
		}
		case 1 : 	
			if (window.innerWidth) {
				return window.innerWidth;
			}
		}
	}	
	
	this.getH=function(){
		switch(this.value){
		case 0 : 	
			if (document.body && document.body.offsetHeight) {
				return document.body.offsetHeight;
			}
		case 1 : 	
			if (window.innerHeight) {	
				return window.innerHeight;
			}
		}
	}	
	
}
