<!--

// François PITON - INFODUC SA
// 2.V.2000 - validate login

function validate(form){

	// replace space by underscore
	form.login.value = form.login.value.replace(" ","_");
	
    // for fast_app_accept
    return(true); 
    
    }

// pub tag
var time = new Date();
ordval= (time.getTime());
		
// Romain de La VILLE - INFODUC SA
// 20.VI.2000 - open new window

this.name="principal"

ol_options = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,screenx=600,screeny=600,width=550,height=350";

function openlocal(ol_path){
	window.open(ol_path,"Help",ol_options);
}
	
// Romain de La VILLE - INFODUC SA
// 27.VI.2000 - menu

function MM_showHideLayers() { //v2.0
  var i, visStr, args, theObj;
  args = MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)
    visStr   = args[i+2];
    if (navigator.appName == 'Netscape' && document.layers != null) {
      theObj = eval(args[i]);
      if (theObj) theObj.visibility = visStr;
    } else if (document.all != null) { //IE
      if (visStr == 'show') visStr = 'visible'; //convert vals
      if (visStr == 'hide') visStr = 'hidden';
      theObj = eval(args[i+1]);
      if (theObj) theObj.style.visibility = visStr;
  } }
}

//-->
