function SetCookie (name, value) {
	var argv=SetCookie.arguments;
	var argc=SetCookie.arguments.length;
	var expires=(argc > 2) ? argv[2] : null;
	var path=(argc > 3) ? argv[3] : null;
	var domain=(argc > 4) ? argv[4] : null;
	var secure=(argc > 5) ? argv[5] : false;
	document.cookie=name+"="+escape(value)+
		((expires==null) ? "" : ("; expires="+expires.toGMTString()))+
		((path==null) ? "" : ("; path="+path))+
		((domain==null) ? "" : ("; domain="+domain))+
		((secure==true) ? "; secure" : "");
}

function makeStats(){
	SetCookie("acceptcookie","1",null,"/");
	if(document.cookie!="" && siteid!=null && siteid!=0){
		document.write('<img src="https://www.fia-net.com/statistiques/?siteid='+ siteid +'&pageid='+ pageid +'&getDatas='+ escape(getDatas) +'&postDatas='+ escape(postDatas) +'&referer='+ escape(referer) +'" width="1" height="1" />');
	}
}

