function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function WdwOpen(Url,Name,Width,Height,Left,Top,Scroll)
{
	var W=Width?Width:screen.width
	var H=Height?Height:screen.height
	var L=Left?Left:(screen.width-Width)/2
	var T=Top?Top:(screen.height-Height)/2
	var Zz
	Zz="toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars="+Scroll+",resizable=0"
	Zz+=",left="+L+",top="+T+",width="+W+",height="+H	
	var Wd=window.open(Url,Name,Zz)
	if(Wd!=null)	Wd.focus()
}

function Limite(Target,max,nomchamp)
{
StrLen = Target.value.length
	if (StrLen > max )
	{
	Target.value = Target.value.substring(0,max);
	CharsLeft = max;								
	} else {
	CharsLeft = StrLen;
	}	
nomchamp.value = CharsLeft;
}

function Confirm(Message,Url)
{
   var a = confirm(""+Message+"");
   if(a == true){
   	 if (Url == "") {
	  return true;
	 } else {
      window.location.href = ""+Url+"";
	 }
   } else {
      return false;
   }
}