
//----------------------------------------------------------------------------------------------------
// Fonctions moteur de recherche
//----------------------------------------------------------------------------------------------------
function chercher (){
    var recherche	= document.f_search.cle.value;
	var base_url	= document.f_search.action;
    getUrl(base_url+'mot_cle/'+recherche+'/recherche.htm');
    return false;
}

//----------------------------------------------------------------------------------------------------
// Fonctions relatives au Panier
//----------------------------------------------------------------------------------------------------
function miniShopperRender (){
	var AjaxFile			= "/fr/webservices/ajax/shopper.htm";
	var class_action_		= "Panier/mini_shopper";
	document.getElementById("basket_area").innerHTML = "";
	$.post(AjaxFile, {
		class_action:class_action_
	}, function(data){
		document.getElementById("basket_area").innerHTML = data;
	});
}
function ActivateCustomerArea(id, objectID, storedLocation, classBaseName) {
	eval(storedLocation+"=0;");
	$(id).mouseover(function(){
		window.clearTimeout(trackerID_Customer);
	});
	$(id).mouseout(function(e){
		window.clearTimeout(trackerID_Customer);
		trackerID_Customer = window.setTimeout('close_Area("'+objectID+'", "'+storedLocation+'", "'+classBaseName+'")',250);
	});
	$("#identify2").click(function(){
		$(id).removeClass("customer-on");
		$(id).removeClass("customer-off");
		$(id).addClass("customer-on");
	});
}

