function checkPswd() { 

largeur=560;
hauteur=420;
var dest='clients/index.php4?client='+document.formulaire.pswd.value;
var winl = (screen.width - largeur-24) / 2;
var wint = (screen.height - hauteur) / 2;
winprops = 'height='+hauteur+',width='+largeur+',top='+wint+',left='+winl+',scrollbars=1,resizable=1'


if ((document.formulaire.pswd.value == null) || (document.formulaire.pswd.value == '')) 
alert('Mot de passe invalide.'); 
else
win = window.open(dest,"fenetre", winprops); 
} 

Navigateur = navigator.appName;
if ( Navigateur == "Netscape" )
{
document.write("<form name='formulaire'><p><font color='#CC0033'><b>Suivi Client</b></font><br>");
document.write("<input class='f1' type='password' name='pswd' size=10 maxlength=10>&nbsp;");
document.write("<input class='f2' type=button onClick='checkPswd()' value='ok'>");
document.write("</p></form>");
}
    
if ( Navigateur == "Microsoft Internet Explorer" )
{
document.write("<p><form name='formulaire'><font color='#CC0033'><b>Suivi Client</b></font><br>");
document.write("<input class='f1' type='password' name='pswd' size=12 maxlength=10 >&nbsp;");
document.write("<input class='f2' type=button onClick='checkPswd()' value='ok'>");
document.write("</form></p>");
}


