<!-- DON'T COPY - CODE PROTECTED - NETOOTEL.COM -->
<!--

var index=0;   
var speed=1000;  
var max=5; 
var msg1="NETOOTEL --- Selon vos besoins, soyez NET ou TEL... ou les deux! ---";
var msg2="Le diaporama vous a plu ? Alors, prenez le temps de découvrir notre site. Bonne visite!"; 
   
        
function MakeImageArray(n)
                {
            if (document.images)
                   {
                          this.length = n;
                          for (var i = 0;i<=n;i++)
                               {
                               this[i]=new Image(90,106); 
                               }
                          return this
                         }
                }
 
 
function runfwd() 

        {
        index=1;
                for (i=0;i<=max;i++)
                        {
                        time=setTimeout('forward()',speed*i);
                        }
                        clearTimeout(time);
                        
         }
         
         
 
function forward()
        {
        if(document.images)
                {
                if(index>=0&&index<max&&time!=0)
                        {
                        document.images['pic'].src=pic[index].src
                        index=index+1;
                        }
		}
      
                return true;
        }
        
        
        
function runback()  
        {
clearTimeout(time);
time=0;
index=0;
i=0;
document.images['pic'].src=pic[index].src

  return true;

        //for (i=0;i<=max;i++)
        //        {
        //        time=setTimeout('back()',speed*i);
        //        }
        //        clearTimeout(time);
         }
         
 
function back()
        {
        if(document.images)
                {
                if(index>=0&&index<=max)
                        {
                        document.images['pic'].src=pic[index].src
                        index=index-1;
                        }
                }
        }

        

function nowhere() 
        {
        }
 
function noel()
{
//window.open('noel.html','_blank','toolbar=0,location=0,directories=0,status=1,scrollbars=0,resizable=0,copyhistory=0,menuBar=0,width=160,height=257');

document.write("<body background='fond-2005.gif'><center><div id='annee-2005' style='position:relative;width:400px;height:500px;top:10%;float:center;background-color:transparent;'><form><img src='bonne-annee-2005.gif'><br><br><img src='bonne-annee.gif'><br><br><input type='button' value='Retour' onClick='location.replace(\"http://www.netootel.com/index2.html\");'></form> </div></center></body>");


}

function noel2()
{

location.replace("http://www.netootel.com/index2.html");


}



function preloadImages() {
  var d=document; if(d.images){ if(!d.p) d.p=new Array();
    var i,j=d.p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
}

   var intCount = 0;

            //-Fonction d'ajout d'entrées principales-------------------------
            function DynamicMenu_addParent(strName) {
                var strID = 'ID' + intCount++; 

                var strTemp = '<DIV ID="' + strID + '" CLASS="parent"';
                strTemp += ' onclick="expandCollapse(this);">';
                strTemp +=  strName ;
                strTemp += '<DIV STYLE="display: none;" CLASS="child"; ></DIV>';
                strTemp += '</DIV>';

                this.div.innerHTML += strTemp;

if(document.layers) {
this.currentChild = document.layers[strID];
    // Navigateur Netscape 4.X
  }
if(document.getElementById){

                this.currentChild = document.getElementById(strID);}
            }

            //-Fonction d'ajout de liens dans le menu-------------------------
            function DynamicMenu_addChild(strName,strURL) {
                var strTemp = '<A HREF="' + strURL + '"'
                            + ' onclick="cancelBubble(arguments[0]);">' 
                            + strName + '</A><br><br>';

                if (document.all) {
                    this.currentChild.children[1].innerHTML += strTemp;
                } else {
                    this.currentChild.childNodes[1].innerHTML += strTemp;
                }
            }

            //-inhibe la cascade d'évènements au DIV conteneur----------------
            function cancelBubble(netEvent) {
                if (document.all) {
                    window.event.cancelBubble = true;
                } else {
                    netEvent.cancelBubble = true;
                }
            }

            //-Contracte ou expanse le menu-----------------------------------
            function expandCollapse(objElement) {
                if (document.all || document.layers) {
                    objElement = objElement.children[1];
                } else {
                    objElement = objElement.childNodes[1];
                }    

                if (objElement.style.display == "none") {  
                    objElement.style.display = "block" ;
                
                } else {
                    objElement.style.display = "none" ;
                
                }
            }

            //-Fonction de création de menu dynamique------------------------- 
            function DynamicMenu() {
                var id = "Menu" + intCount++;
                
if(document.layers) {
document.write('<DIV Id="' + id + '" style="position: relative;"></DIV>');

this.div = document.layers[id];

  }
if(document.getElementById){
//document.write('<DIV Id="' + id + '"></DIV>');
document.write('<DIV Id="' + id + '" style="position: relative;"></DIV>');

                this.div = document.getElementById(id);}
                this.currentChild = null;
                this.addParent = DynamicMenu_addParent;
                this.addChild = DynamicMenu_addChild;
            }        
        //-->
