var fr=0; 
var oT="tS().getHours()+':'+lZ(tS().getMinutes())+':'+lZ(tS().getSeconds())"; 
var today = new Date;


var tableau="";

var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all
var Objet=""

var CouleurOver="silver";
var CouleurBack="#E4FFCA"

var celwidth="150";
var menuTitles=new Array("Home","CC-CAM","MultiCam","CCPlayer");
var menuLinks=new Array("index.html","cccam.html","multicam.html","CCPlayer.html");



var sousmenuTitles1=new Array("Home page");
var sousmenuTitles2=new Array("Page of CC-CAM","Page of Multicam","Page of CCPlayer");
var sousmenuTitles3=new Array("Instructions of CC-CAM","Instructions of Multicam","Instructions of CCPlayer");

var sousmenuLink2=new Array("cccam.html","multicam.html","CCPlayer.html");
var sousmenuLink3=new Array("cccam_notice.html","c2_notice1.html","ccplayer_notice.html");


function navmenu() {

tableau+=("<TABLE class=\"baniere\" WIDTH='940' HEIGHT='60' BGCOLOR=\""+CouleurBack+"\" background='scripts/fondentete.jpg'><TR><TD HEIGHT='30' width='350'><img src='scripts/ccdev.gif' border='0' class='cadrephoto' style='filter:progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,Duration=0.9)' onLoad='run_filter(this)' onMouseOver='run_filter(this)'></TD><TD CLASS='baniereclass1' WIDTH='180' HEIGHT='30'><script>date();</script></TD><TD CLASS='baniereclass2' width='340' HEIGHT='30'><B><script>dT();</script></B></TD><TD height='30'><a href='http://www.ccdeveloppement.com/index.html'><img src='scripts/froff.gif' border='0' alt='French'></a>&nbsp;<a href='http://www.ccdeveloppement.com/ENGLISH/index.html'><img src='scripts/angoff.gif' border='0' alt='English'></a></TD></TR><TR><TD></TD></TR>");

for (i=1; i<=4; i++)
{
tableau+=("<table class=\"menu"+i+"\" onMouseOver=\"Affiche_Cache('monobjet"+i+"')\" onMouseOut=\"Affiche_Cache('monobjet"+i+"')\" bgcolor=\""+CouleurBack+"\" width="+celwidth+" cellpadding=\"0\" cellspacing=\"0\">");
tableau+=("<tr><td width="+celwidth+" height=\"20\" align=\"center\" onMouseOver=\"this.style.backgroundColor='"+CouleurOver+"'\" onMouseOut=\"this.style.backgroundColor=CouleurBack\"><a href=\""+menuLinks[i-1]+"\" class=\"link1\">"+menuTitles[i-1]+"</a></td></tr></table>");
}

tableau+=("<table class=\"sousmenu1\" id=\"monobjet1\" style=\"visibility:hidden\" onMouseOver=\"Affiche_Cache('monobjet1')\" onMouseOut=\"Affiche_Cache('monobjet1')\" bgcolor=\""+CouleurBack+"\" cellpadding=\"0\" cellspacing=\"0\" width="+celwidth+">");
tableau+=("<tr><td onClick=\"self.location.href='index.html'\" width="+celwidth+" height=\"20\" align=\"center\" onMouseOver=\"this.style.backgroundColor='"+CouleurOver+"'\" onMouseOut=\"this.style.backgroundColor=CouleurBack\"><p><a href=\"index.html\" class=\"link2\" >Home page</a></p></td></tr></table>");


for (i=2; i<=4; i++)
{
tableau+=("<table class=\"sousmenu"+i+"\" id=\"monobjet"+i+"\" style=\"visibility:hidden\" onMouseOver=\"Affiche_Cache('monobjet"+i+"')\" onMouseOut=\"Affiche_Cache('monobjet"+i+"')\" bgcolor=\""+CouleurBack+"\" cellpadding=\"0\" cellspacing=\"0\" width=\""+celwidth+"\"  height=\"20\">");
tableau+=("<tr><td onClick=\"self.location.href='"+sousmenuLink2[i-2]+"'\" width=\""+celwidth+"\" height=\"20\" align=\"center\" onMouseOver=\"this.style.backgroundColor='"+CouleurOver+"'\" onMouseOut=\"this.style.backgroundColor=CouleurBack\"><p><a href='"+sousmenuLink2[i-2]+"'\" class=\"link3\">"+sousmenuTitles2[i-2]+"</a></p></td></tr><tr><td onClick=\"self.location.href='"+sousmenuLink3[i-2]+"'\" width=\""+celwidth+"\" height=\"20\" align=\"center\" onMouseOver=\"this.style.backgroundColor='"+CouleurOver+"'\" onMouseOut=\"this.style.backgroundColor=CouleurBack\"><p><a href='"+sousmenuLink3[i-2]+"'\" class=\"link4\">"+sousmenuTitles3[i-2]+"</a></p></td></tr></table>");
}

document.write(tableau);
}




function Affiche_Cache(nObjet) {
if(ie4) { // Internet explorer
eval(nObjet).style.visibility = (eval(nObjet).style.visibility=='visible'?'hidden':'visible');
}
else if(ns4) { // Netscape 4.x
document.eval(nObjet).visibility = (document.eval(nObjet).visibility=='show'?'hidden':'show');
}
else if(ns6) { // Netscape 6 (mozilla)
var divns6 = document.getElementsByTagName("table")
divns6[nObjet].style.visibility = (divns6[nObjet].style.visibility=='visible'?'hidden':'visible');
}
}























function run_filter(obj){	
	if(obj && obj.filters[0]){
		obj.filters[0].apply();
		obj.visibility="visible";
		obj.filters[0].play();
	}
}
function VersionNavigateur(Netscape, Explorer) {
  if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') ||      
      (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))
    return true;
else return false;
}
function Semaine(){
           this[0] = "Sunday";  this[1] = "Monday";
           this[2] = "Tuesday";     this[3] = "Wednesday";
           this[4] = "Thursday";     this[5] = "Friday";
           this[6] = "Saturday";
           }

function Mois(){
           this[0] = "January";    this[1] = "February";
           this[2] = "March";       this[3] = "April";
           this[4] = "May";        this[5] = "June";
           this[6] = "July";    this[7] = "August";
           this[8] = "September";  this[9] = "October";
           this[10] = "November";  this[11] = "December";
           }


function date(){
        var semaine=new Semaine();
        var mois=new Mois();
        var myDate=new Date();
        annee = today.getFullYear();
  

        var result=semaine[myDate.getDay()]+", "+mois[myDate.getMonth()]+" "+myDate.getDate()+"th "+annee;
        document.writeln(result);
    }
        function openWin( windowURL, windowName, windowFeatures ) { 
                return window.open( windowURL, windowName, windowFeatures ) ; 
        }

function tS(){ 
    x=new Date(); 
    x.setTime(x.getTime()); 
    return x; 
} 
function lZ(x){ 
    return (x>9)?x:'0'+x; 
} 
function dT(){ 
    if(fr==0){ 
        fr=1; 
        document.write(" " + '<span id="tP">'+eval(oT)+'</span>'); 
    } 
    document.getElementById("tP").innerHTML =  eval(oT); 
    setTimeout('dT()',1000); 
} 

function copyright() {
var txtcopy="";
txtcopy="<p style=\"line-height:100%; margin-top:0; margin-bottom:0;\"><font face=\"Arial\"><span style=\"font-size:8pt;\">Copyright "+String.fromCharCode(169)+" 2005-2009 Rambeau Christophe. All rights reserved.</span></font></p>";
document.write(txtcopy);
}