// JavaScript Document

function FieldFocus(field,initVal){
	if(field.value==initVal){
		field.value = '';
		field.style.color='#2f5c0b';
	}
}
function FieldBlur(field,initVal){
	if(field.value.length==0){
		field.value = initVal;
		field.style.color='#919191';
	}
}

function __doPostBackRecherche(eventTarget, eventArgument){
	if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
		theForm.__EVENTTARGET.value = eventTarget;
		theForm.__EVENTARGUMENT.value = eventArgument;
		theForm.action = '/' + eventArgument + 'Resultats.asp';
		theForm.submit();
	}
}

function __doPostBackRechercheFr(eventTarget, eventArgument){
	if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
		theForm.__EVENTTARGET.value = eventTarget;
		theForm.__EVENTARGUMENT.value = eventArgument;
		theForm.action = eventArgument + 'http://www.laboleblanc.fr/Resultats.asp';
		theForm.submit();
	}
}

function __doPostBackInfolettre(eventTarget, eventArgument){
	if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
		theForm.__EVENTTARGET.value = "";
		theForm.__EVENTARGUMENT.value = "";
		theForm.action = '/' + eventArgument + eventTarget + '.asp';
		theForm.submit();
	}
}

function __back(formAction){
	if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
		theForm.__EVENTTARGET.value = '';
		theForm.__EVENTARGUMENT.value = '';
		theForm.action = formAction;
		theForm.submit();
	}
}