window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
                if (document.getElementById('menu_univers')) {document.getElementById('menu_univers').style.display='none';}

if (d) {d.style.display='block';}
}

window.onload=montre1;
function montre1(id) {
var d = document.getElementById(id);
        for (var i = 1; i<=10; i++) {
                if (document.getElementById('sous_menu'+i)) {document.getElementById('sous_menu'+i).style.display='none';}
        }

if (d) {d.style.display='block';}
}

                function go(No) {
                        form=document.nav;
                        monfile='../cgi-bin/ep.cgi';
                        form.No.value=No;
                        if (arguments[1]) {form.action=monfile+arguments[1]} else {form.action=monfile};
                        form.target='_self';
                        form.submit();
                }

                function popup600 (fichier,titre) {
                var neW=open('','popup600x600','width=640,height=640,status=1,menubar=1,resizable=0,scrollbars=no');
                neW.document.write('<html><head><title>'+titre+'</title><style> body,td{font-family:verdana;font-size:10px}</style></head><body style=background-image:url(/fondPremium.gif)><table cellpadding=0 cellspacing=0 border=0 width=100% height=100%><tr><td align=center valign=middle><table cellpadding=0 cellspacing=0 border=0><tr><td align=center valign=middle><a href=javascript:window.close()><img src='+fichier+' border=0 width=600 height=600 style="border: 1px #168FF5 solid"></a></td></tr></table></td></tr></table></body></html>');

                neW.document.close();
                neW.focus();
}

                function popup800 (fichier,titre) {
                var neW=open('','popup800x800','width=840,height=840,status=1,menubar=1,resizable=0,scrollbars=no');
                neW.document.write('<html><head><title>'+titre+'</title><style> body,td{font-family:verdana;font-size:10px}</style></head><body style=background-image:url(/fondPremium.gif)><table cellpadding=0 cellspacing=0 border=0 width=100% height=100%><tr><td align=center valign=middle><table cellpadding=0 cellspacing=0 border=0><tr><td align=center valign=middle><a href=javascript:window.close()><img src='+fichier+' border=0 width=800 height=800 style="border: 1px #168FF5 solid"></a></td></tr></table></td></tr></table></body></html>');

                neW.document.close();
                neW.focus();
}

function envoi_newsletter() {
form=document.newsletter;
var neW=open('http://195.154.205.129/cgi-bin/newsletter.cgi?mail='+form.Email.value,'popup_newsletter','width=400,height=400,status=1,menubar=0,resizable=0,scrollbars=no')
neW.document.close();
neW.focus();
}

function popupJeux(file) {
 var neW=open(file,'','width=800,height=410,status=1,menubar=1,resizable=1,scrollbars=no');
 neW.document.close();
 neW.focus();
}

function popup(No) {
	var neW=open('/cgi-bin/ep.cgi?No='+No+'&FR=FR&body=y','popupNeuf','width=640,height=700,status=1,menubar=1,resizable=1,scrollbars=yes');
	neW.document.close();
	neW.focus();
}

function search(maPage) {
form=document.search;
form.action=maPage;
form.submit();
}

function jeVote() {
var neW=open('','vote_neuf','width=250,height=450,status=1,menubar=0,resizable=0,scrollbars=no');
neW.document.write('');
neW.document.close();
neW.focus();

form=document.Avoter;
form.action="../cgi-bin/vote.cgi";
form.target="vote_neuf";
form.submit();
}

function voteNews(form) {
var neW=open('','vote_nouveaute','width=250,height=450,status=1,menubar=0,resizable=0,scrollbars=no');
neW.document.write('');
neW.document.close();
neW.focus();

form.action="../cgi-bin/vote_news.cgi";
form.target="vote_nouveaute";
form.submit();
}

function popupGL (img,width,height,titre) {
var neW=open('','popup_galerie','width=640,height=640,status=1,menubar=1,resizable=0,scrollbars=no');
neW.document.write('<html><head><title>Officine Panerai '+titre+'</title><style> body,td{font-family:verdana;font-size:10px}</style></head><body style=background-image:url(http://www.lacotedesmontres.com/fondPremium.gif)>');

neW.document.write('<table cellpadding=0 cellspacing=0 border=0 width=100% height=100%><tr><td align=center style=color:#354A7A>Officine Panerai '+titre+'<table cellpadding=0 cellspacing=0 border=0><tr><td align=center valign=middle><a href=javascript:window.close()><img src=../IMG/'+img+'.jpg border=0 style="border:1px #168FF5 solid" width='+width+' height='+height+'></a></td></tr></table></td></tr></table></body></html>');

neW.document.close();
neW.focus();
}

function visuAnnonces(No,id) {
form=document.nav;
form.visuAnnonces.value=id;
go(No);
}

function envoi_ami (query_string){
var neW=open('http://195.154.205.129/cgi-bin/envoi_ami.cgi?'+query_string,'un_ami','width=400,height=400,status=1,menubar=0,resizable=0,scrollbars=no');
}

function contacter_annonceur (LG,id) {
var neW=open('http://195.154.205.129/cgi-bin/envoi_annonceur_v7.cgi?LG='+LG+'&id='+id,'un_ami','width=400,height=450,status=1,menubar=0,resizable=0,scrollbars=no')
}

function vers(Html) {
form=document.nav;
monfile=Html;
if (arguments[1]) {form.action=monfile+arguments[1]} else {form.action=monfile};
form.target='_self';
form.submit();
}

function go_annonces(No,act,id,numAnnonces) {
form=document.nav;
monfile='No_'+No+'.htm';
form.ACTannonces.value=act;
form.No.value=No;
form.numID.value=id;
if (numAnnonces) {form.numAnnonces.value=numAnnonces};
form.action=monfile;
form.target='_self';
form.submit();
}

function spplus(cryptage){
var nW=open(cryptage,'SPPLUS','width=670,height=535,status=1');
nW.focus();
}


