<!-- copyright, development, editor: Paul Merino - http://seuils.org - mailto:pmerinoNO@SPAMhush.com -->

<!--

function svgHelp()
{
window.open("http://seuils.org/svg_help_en.php","SVG_Help","width=300, height=300, scrollbars=yes, resizable=yes, toolbar=yes, directories=no, location=yes, menubar=yes, status=yes")
}

function FocusLastname()
{
document.forms[0].lastname.focus();
}

function FocusEmail()
{
document.forms[0].email.focus();
}

function FocusOtherOccupation()
{
document.forms[0].otheroccupation.focus();
}

function FocusCompanyName()
{
document.forms[0].companyname.focus();
}

function FocusBusiness()
{
document.forms[0].business.focus();
}

function MandatoryField(formField,fieldLabel)
{
	var fieldResult = true;

	if (formField.value == 0)
	{
		alert('Merci de remplir "' + fieldLabel +'" qui est un champ obligatoire.');
		formField.focus();
		fieldResult = false;
	}
	
	return fieldResult;
}

function MandatoryRadio(formRadio,radioLabel)
{
	var radioResult = false;
	for (var i=0; formRadio[i]; i++) if (formRadio[i].checked)
		{
			radioResult = true; break;
		}
	if (!radioResult) alert('Merci de cliquer "' + radioLabel +'" qui est un champ obligatoire.');
	return radioResult;
}

function validateForm(theForm)
{
	if (!MandatoryRadio(theForm.gender,"Genre"))
		return false;
	if (!MandatoryField(theForm.occupation,"Occupation"))
		return false;
	if (!MandatoryField(theForm.service,"Département/Service"))
		return false;
	if (!MandatoryField(theForm.companyname,"Société ou Organisme"))
		return false;
	if (!MandatoryField(theForm.companysize,"Taille de l'entreprise"))
		return false;
	if (!MandatoryField(theForm.business,"Secteur d'activité"))
		return false;
	return true;
}

function davholeFolder(davfolder)
{
website="http://seuils.org"
davshare="/seuils_flatweb"
davpart="/seuils"
davdiv.navigateFrame(website+davshare+davpart+davfolder,"daviframe1");
}

function davholePart(davpart)
{
/* website="http://seuils.org" */
/* davshare="/seuils_flatweb" */
/* davpart="/seuils" */
davdiv.navigateFrame(website+davshare+davpart,"daviframe2");
}

/* This is your template davhole JavaScript function - feel free to start with and get inspired ! */
function davhole(davshare)
{
/* website="http://seuils.org" */
/* davshare="/seuils_flatweb" */
/* davpart="/seuils" */
davdiv.navigateFrame(website+davshare,"daviframe");
}
//-->

/* This is your template davhole HTML code - feel free to try it into your own pages and enjoy ! */

/*
<!-- DAVHOLE START -->
<script src="seuils.js">
</script>
<div id="davdiv" style="behavior:url(#default#httpFolder)">
</div>
<!-- DAVHOLE END -->

<!-- DAVHOLE START -->
<body text="#000000" onload="davhole('/seuils_flatweb');">

<br /><br />
<a style="behavior:url(#default#AnchorClick)" href="http://seuils.org/" target="daviframe" folder="http://seuils.org/seuils_flatweb">[emportez cette page !]</a>
<br /><br />

<table border="0" cellspacing="0" cellpadding="1">
	<tr>
		<td align="left" class="colgauche">
			<iframe src="" name="daviframe" width="182" height="157" frameborder="0">
</iframe>
		</td>
	</tr>
</table>

</body>
<!-- DAVHOLE END -->
*/

/*

Copyright (c) 2003-2004 Paul Merino. All rights reserved.

IDDN Certificate - #IDDN.FR.010.0101797.000.R.P.2003.035.20900#. All rights protected.

	http://www.legalis.net/cgi-iddn/certificat.cgi?IDDN.FR.010.0101797.000.R.P.2003.035.20900

Creative Commons Deed - Attribution-NonCommercial-ShareAlike.

	http://creativecommons.org/licenses/by-nc-sa/1.0/


Dear Folks,

This software was developed by Paul Merino at Sophia-Antipolis, France.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
   or other notices, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in
   the documentation and/or other materials provided with the
   distribution.

3. All advertising materials mentioning features or use of this
   software must display the following acknowledgment:
   "This product includes software developed developed by Paul Merino
   at Sophia-Antipolis, France for use in the Seuils project
   (http://seuils.org)."

4. The name of Paul Merino may not be used to endorse or promote
   products derived from this software without specific prior written
   permission.

5. Products derived from this software may not be called "Seuils"
   nor may "Seuils" appear in their names without prior written
   permission. For written permission, please contact Paul Merino at:

	NOSPAMdmerino@thethin.netNOSPAM

   (please remove NOSPAM from this address before sending email).

6. Redistributions of any form whatsoever must retain the following
   acknowledgment:
   "This product includes software developed by Paul Merino
   at Sophia-Antipolis, France for use in the Seuils project
   (http://seuils.org)."

THIS SOFTWARE IS PROVIDED ''AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
IN NO EVENT SHALL THE UNIVERSITY OR THE PROGRAM CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

*/


