<!--
var ns6=document.getElementById&&!document.all

function restrictinput(maxlength,e,placeholder){
if (window.event&&event.srcElement.value.length>=maxlength)
return false
else if (e.target&&e.target==eval(placeholder)&&e.target.value.length>=maxlength){
var pressedkey=/[a-zA-Z0-9\.\,\/]/ 
if (pressedkey.test(String.fromCharCode(e.which)))
e.stopPropagation()
}
}

function countlimit(maxlength,e,placeholder){
var theform=eval(placeholder)
var lengthleft=maxlength-theform.value.length
var placeholderobj=document.all? document.all[placeholder] : document.getElementById(placeholder)
if (window.event||e.target&&e.target==eval(placeholder)){
if (lengthleft<0)
theform.value=theform.value.substring(0,maxlength)
placeholderobj.innerHTML=lengthleft
}
}

function displaylimit(thename, theid, thelimit){
var theform=theid!=""? document.getElementById(theid) : thename
var limit_text='<b><span id="'+theform.toString()+'">'+thelimit+'</span></b> caractères Maximum'
if (document.all||ns6)
document.write(limit_text)
if (document.all){
eval(theform).onkeypress=function(){ return restrictinput(thelimit,event,theform)}
eval(theform).onkeyup=function(){ countlimit(thelimit,event,theform)}
}
else if (ns6){
document.body.addEventListener('keypress', function(event) { restrictinput(thelimit,event,theform) }, true); 
document.body.addEventListener('keyup', function(event) { countlimit(thelimit,event,theform) }, true); 
}
}
function formsok(){
if (document.postal.anom.value.length == false){
alert("Veuillez inscrire votre Nom");
return false;
}
if (document.postal.aemail.value.length == false){
alert("Veuillez inscrire votre Adresse email");
return false;
}
if (document.postal.chutgo.value.length == false){
alert("Veuillez inscrire le code Anti-Spam");
return false;
}
if (document.postal.messgo.value.length == false){
alert("Veuillez inscrire votre message");
return false;
}
}
function MM_preloadImages() { //v2.0
  if (document.images) {
    var imgFiles = MM_preloadImages.arguments;
    if (document.preloadArray==null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
      preloadArray[i] = new Image;
      preloadArray[i++].src = imgFiles[j];
  } }
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function Verif()
    {

var Satz = document.connex.usernameu.value;
var Satz2 = document.connex.passwordu.value;
var Resultat=Satz.substring(0,5);
if (document.connex.username.value.length == 0)
{
alert("Vous devez inscrire votre compte client");
return false;}
if (document.connex.password.value.length == 0)
{
alert("Vous devez inscrire le mot de passe de votre compte client");
return false;}

if (Resultat == "ophos" || Resultat == "OPHOS")
{
window.location.replace("https://www.ophos.com/system/espace-client/log_on_"+ Satz +"_"+ Satz2 +".dll");
return false;}

if (Resultat == "games" || Resultat == "GAMES")
{
if(confirm("Votre compte client : "+ Satz +" que vous avez saisi est un compte SERVEUR JEUX.\nNous allons vous rediriger sur l'espace serveurs jeux maintenant !"))

window.location.replace("http://serveurs-jeux.ophos.com/espace-client/?espace=log_on&username_g="+ Satz +"&password_g="+ Satz2 +"");
return false;}


if (Resultat == "dedie" || Resultat == "DEDIE")
{
if(confirm("Votre compte client : "+ Satz +" que vous avez saisi est un compte SERVEUR SEMI-DEDIE.\nNous allons vous rediriger sur l'espace serveur semi-dédié maintenant !"))
window.location.replace("http://serveurs-semi-dedies.ophos.com/espace-client/?espace=log_on&username="+ Satz +"&password="+ Satz2 +"");
return false;}

    }
function mailcheck()
{
var Saze = document.checkmail.webuser.value;
var Saze2 = document.checkmail.webpass.value;
var Woe = Saze.split("@");

if (document.checkmail.webuser.value.length == 0)
{
alert("Vous devez inscrire votre e-mail");
return false;}

if (document.checkmail.webuser.value.length == 0)
{
alert("Vous devez inscrire votre e-mail");
return false;}

if (document.checkmail.webpass.value.length == 0)
{
alert("Vous devez inscrire le mot de passe de votre compte e-mail");
return false;}

else
{
window.open("http://" + Woe[1] +"/webmail/process.php?f_email="+ Saze +"&f_pass="+ Saze2);
}
}

function windowsopen(Address,WnName,Options) { 
window.open(Address,WnName,"left="+0+",top="+0+","+Options);
}

if ( document.all )
{
	function blink_show()
	{
		blink_tags  = document.all.tags('blink');
		blink_count = blink_tags.length;
		for ( i = 0; i < blink_count; i++ )
		{
			blink_tags[i].style.visibility = 'visible';
		}
		
		window.setTimeout( 'blink_hide()', 700 );
	}
	
	function blink_hide()
	{
		blink_tags  = document.all.tags('blink');
		blink_count = blink_tags.length;
		for ( i = 0; i < blink_count; i++ )
		{
			blink_tags[i].style.visibility = 'hidden';
		}
		
		window.setTimeout( 'blink_show()', 250 );
	}
	
	window.onload = blink_show;
}
//-->