var page_width = false;
var page_height = false;
var souris_x = false;
var souris_y = false;
var cat_omover_val = false;
var dim_cat = false;

function body_omm(e)
{
	if(parseInt(navigator.appVersion) >=4){
		if(navigator.appName == 'Netscape'){
			souris_x = e.pageX;
			souris_y = e.pageY;
		}else{
			souris_x = event.clientX;
			souris_y = event.clientY;
		}
	}
	
	bottom_img_dep();
}

function resolution()
{
	page_width = document.documentElement.clientWidth;
	page_height = document.documentElement.clientHeight;
}

function bottom_img_dep()
{
	dep = (page_width / 2) - souris_x;

	if(dep >= -490 && dep <= 490){
		dep -= 490;

		size_list = document.getElementById('liste_site_width').offsetWidth;
		
		val = dep / 980 * 100;
		val = Math.round(val);
		val = (val / 100) * (size_list - 980);
		set_margin_left('liste_site_in', val);
	}
}

resolution();

document.onmousemove = body_omm;
