function changeENG(page) {
	window.parent.frames[0].location.replace('english/top.htm');
	window.parent.frames[1].location.replace('english/' + page);
};
function changeFR(page) {
	window.parent.frames[0].location.replace('../top.htm');
	window.parent.frames[1].location.replace('../' + page);
};
function stripSpaces(form_item){
	var mytext = new String("");
	
	mytext = form_item.value;
	while (mytext.charAt(0) == ' ') {
		mytext = mytext.substring(1,mytext.length);
	}
	while (mytext.charAt(mytext.length - 1) == ' ') {
		mytext = mytext.substring(0, (mytext.length - 1));
	}
	form_item.value = mytext;
};
function logClient() {
	if ((document.forms[0].f_identifiant.value + '' != '') && (document.forms[0].f_password.value + '' != '')) {
		document.forms[0].target = "_top";
		document.forms[0].action = 'http://www.seal-france.com/secured/admin/checklogpass.asp';
		document.forms[0].submit();
	} else {
		alert("Please fill in the forms to login");
	}
};
function logClientAdmin() {
	if ((document.forms[0].f_identifiant.value + '' != '') && (document.forms[0].f_password.value + '' != '')) {
		document.forms[0].target = "_top";
		document.forms[0].action = 'checklogpass.asp';
		document.forms[0].submit();
	} else {
		alert("Please fill in the forms to login");
	}
};
function checkOne(myItem) {
	var myCheckBox;
	
	myCheckBox = eval("document.forms[0].f_target");
	if (myItem == 0) {
		myCheckBox[0].checked = true;
		myCheckBox[1].checked = false;
	} else if (myItem == 1) {
		myCheckBox[1].checked = true;
		myCheckBox[0].checked = false;
	}
};