var nm="contact";
var prov="crafteur.com";
var accecha=false;
var Xpos=0;
var Ypos=0;
var Xp=0;
var Yp=0;
var Drpposi=0;
function posi(n,c){
	if(c){
		document.getElementById('posi').style.left=Xpos+8;
		document.getElementById('posi').style.top=Ypos+8;
		document.getElementById('posi').style.visibility="visible";
		Drpposi=n;
	}else{
		document.getElementById('posi').style.visibility="hidden";
		Drpposi=0;
	}
}
function click_lien(n){
	if(!Drpposi){
		document.frm.clk.value=n;
		document.frm.submit();
	}else{
		document.frm.clk.value="ps"+Drpposi;
		document.frm.submit();
	}
}
var HdlTimeCount=0;
var NumMenuOn=0;
function menusel(n,c){
	if(c){
		if(HdlTimeCount){clearTimeout(HdlTimeCount);}
		HdlTimeCount=0;
		if(NumMenuOn){document.getElementById('celmnu'+(NumMenuOn-1)).style.visibility='hidden';}
		document.getElementById('celmnu'+n).style.visibility='visible';
		NumMenuOn=n+1;
	}else{
		if(!HdlTimeCount){
			HdlTimeCount=setTimeout("menusel("+n+",0);",500);
		}else{
			document.getElementById('celmnu'+(NumMenuOn-1)).style.visibility='hidden';
			HdlTimeCount=0;
			NumMenuOn=0;
		}
	}
}
function insrubchg(n){
	if(n!=""){
		document.frm.action="inscription_"+n+".htm";
	}else{
		document.frm.action="inscription.htm";
	}	
	document.frm.submit();
}
function valins(){document.frm.fen.value='val';document.frm.action="inscription.htm";document.frm.submit();}
function actFav(){
	if( navigator.appName!='Microsoft Internet Explorer'){window.sidebar.addPanel("Crafteur.com","http://www.crafteur.com/","");
	}else{window.external.AddFavorite("http://www.crafteur.com/","Crafteur.com");}
}
function mouseMove(evt){
	if (document.layers){Xp=evt.x; Yp=evt.y;} 
	if (document.all){Xp=event.clientX; Yp=event.clientY;}else{if (document.getElementById) {Xp=evt.clientX; Yp=evt.clientY;}}
	Ypos=Yp+(document.body.offsetHeight+document.body.scrollTop-window.document.body.offsetHeight);
	Xpos=Xp+(document.body.offsetWidth+document.body.scrollLeft-window.document.body.offsetWidth);
}
//***************************************************************************************************************************
if (document.layers){document.captureEvents(Event.MOUSEMOVE); }
if (document.layers || document.all){document.onmousemove = mouseMove;}
if (document.addEventListener){document.addEventListener('mousemove', mouseMove, true);}
//***************************************************************************************************************************
