<!--
version_navigateurOK=(((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >=4)))
if (version_navigateurOK)
{
im0off = new Image; im0off.src = "/interface/ok.gif";
im0on = new Image; im0on.src = "/interface/ok2.gif";
}
function img_act(imgName) {
if (version_navigateurOK)
{
imgOn = eval(imgName + "on.src");
document [imgName].src = imgOn;
};
}
function img_inact(imgName) {
if (version_navigateurOK)
{
imgOff = eval(imgName + "off.src");
document [imgName].src = imgOff;
};
}
function calendrier() {
  open("/stbzh/calendrier.html", "calendrier", "width=485,height=500,directories=no,menubar=no,scrollbars=yes,status=no,toolbar=no");
}
function quoideneuf() {
self.parent.name = "general";
fiRef = window.open("/quoideneuf.asp","quoideneuf","top=0,left=0,width=265,height=500,resizable=no,scrollbars=yes,toolbar=no,location=no,status=no,menubar=no,titlebar=yes,dependent=no");
}
function legales() {
self.parent.name = "general";
fiRef = window.open("/legales.html","legales","top=0,left=0,width=265,height=500,resizable=no,scrollbars=yes,toolbar=no,location=no,status=no,menubar=no,titlebar=yes,dependent=no");
}
function ckoidon() {
self.parent.name = "general";
fiRef = window.open("/presentation/default.html","presentation","top=0,left=0,width=570,height=600,resizable=no,scrollbars=yes,toolbar=yes,location=no,status=no,menubar=no,titlebar=yes,dependent=no");
}
function tvantourtan() {
self.parent.name = "general";
fiRef = window.open("http://www.antourtan.com/tv","tvantourtan","top=0,left=0,width=840,height=500,resizable=yes,scrollbars=yes,toolbar=yes,location=yes,status=yes,menubar=yes,titlebar=yes,dependent=no");
}
function logos() {
self.parent.name = "general";
fiRef = window.open("/logos.html","logos","top=0,left=0,width=460,height=550,resizable=no,scrollbars=yes,toolbar=yes,location=no,status=yes,menubar=yes,titlebar=yes");
}
function lien(n){window.open(n, "newpageuuuunewsite", "top=0,left=0,width=590,height=520,resizable=no,scrollbars=yes,toolbar=yes,location=no,status=yes,menubar=yes,titlebar=yes");}
function oldsite(n){window.open(n, "oldsite", "top=0,left=0,width=900,height=600,resizable=yes,scrollbars=yes,toolbar=yes,location=no,status=yes,menubar=yes,titlebar=yes");}
function forum() {window.open("http://forum.antourtan.org/cgi-bin/dcforum6.22/dcboard.cgi?az=list&forum=DCForumID1&conf=DCConfID1","newpage","top=0,left=0,width=900,height=600,resizable=yes,scrollbars=yes,toolbar=yes,location=no,status=yes,menubar=yes,titlebar=yes");}
function forumgd(n) {window.open(n,"newpage","top=0,left=0,width=900,height=600,resizable=yes,scrollbars=yes,toolbar=yes,location=no,status=yes,menubar=yes,titlebar=yes");}
function newsite(n) {window.open(n,"newpage","top=0,left=0,width=1100,height=700,resizable=yes,scrollbars=yes,toolbar=yes,location=no,status=yes,menubar=yes,titlebar=yes");}
function forumradio(n) {window.open(n,"newpage","top=0,left=0,width=900,height=600,resizable=yes,scrollbars=yes,toolbar=yes,location=no,status=yes,menubar=yes,titlebar=yes");}
function radiokerne() {window.open("http://www.antourtan.org/radio/kerne/live/default.html","radiokernelive","top=0,left=0,width=600,height=262,resizable=no,scrollbars=no,toolbar=no,location=no,status=yes,menubar=no,titlebar=yes,dependent=no");}
function radiokernemp3() {window.open("http://www.antourtan.org/radio/kerne/live/default-mp3.html","radiokernelivemp3","top=0,left=0,width=600,height=262,resizable=no,scrollbars=no,toolbar=no,location=no,status=yes,menubar=no,titlebar=yes,dependent=no");}

if( self.name != top.name && eval(navigator.appVersion.substring(0,1))>3 ==1){
top.location.href="#";}

site="default.asp";
function attente(temps) { 
 if (temps-- == 0) { 
  location.href=site;
  return;
 }
 commande = "attente(" + temps + ")";
 setTimeout(commande, 1000);
}

function cache(object,tempspop)
  {
if (tempspop-- == 0) {

  if (document.layers && document.layers[object])
    {
    document.layers[object].visibility = 'hidden';
    }
  else if (document.all)
    {
    document.all[object].style.visibility = 'hidden';
    }
  else if (document.getElementById)
    {
    document.getElementById(object).style.visibility = 'hidden';
    }
  return;
}
 command = "cache('popup'," + tempspop + ")";
 setTimeout(command, 1000);
  }

<!-- Begin JavaScript Mailing-List --

// VARIABLE DECLARATIONS
var digits = "0123456789";
var lowercaseLetters = "abcdefghijklmnopqrstuvwxyz"
var uppercaseLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

// whitespace characters
var whitespace = " \t\n\r";

// decimal point character differs by language and culture
var decimalPointDelimiter = "."

var defaultEmptyOK = false

function warnInvalid (theField, s)
{   theField.focus()
    theField.select()
    alert(s)
    return false
}

function isEmpty(s)
{   return ((s == null) || (s.length == 0))
}

function isWhitespace (s)
{   var i;
    if (isEmpty(s)) return true;
    for (i = 0; i < s.length; i++)
    {   
        var c = s.charAt(i);
        if (whitespace.indexOf(c) == -1) return false;
    }
    return true;
}

function isEmail (s)
{   if (isEmpty(s)) 
       if (isEmail.arguments.length == 1) return defaultEmptyOK;
       else return (isEmail.arguments[1] == true);
    if (isWhitespace(s)) return false;
    var i = 1;
    var sLength = s.length;
    while ((i < sLength) && (s.charAt(i) != "@"))
    {  if ( (s.charAt(i) == ";") || (s.charAt(i) == " ")) return false;
       i++
    }
    if ((i >= sLength) || (s.charAt(i) != "@")) return false;
    else i += 2;
    while ((i < sLength) && (s.charAt(i) != "."))
    {  if ( (s.charAt(i) == ";") || (s.charAt(i) == " ")) return false;
       i++
    }
    if ((i >= sLength - 1) || (s.charAt(i) != ".")) return false;
    else return true;
}

function stripCharsInBag (s, bag)
{   var i;
    var returnString = "";
    // Search through string's characters one by one.
    // If character is not in bag, append to returnString.
    for (i = 0; i < s.length; i++)
    {   
        // Check that current character isn't whitespace.
        var c = s.charAt(i);
        if (bag.indexOf(c) == -1) returnString += c;
    }
    return returnString;
}

function testSiPasVide( monElement ) {
  if ( monElement.length == 0 )
    return 0 ;
  return 1 ;
}

function formCommande() {
  var lEmail = document.formCommander.email.value ;
  if ( ! isEmail(lEmail) ) {
    alert ( "Merci d\'indiquer un email valide dans le formulaire." ) ;
  }
  else
  {
    document.formCommander.submit() ;
    document.formCommander.email.value = 'Entrez votre e-mail' ;
  }
}

// -- End JavaScript Mailing-list-->
//-->
