function PopupWnd(page,largeur,hauteur,scrolling) {



var top=(screen.height-hauteur)/2;



var left=(screen.width-largeur)/2;



window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+



            ",directories=0,location=0,menubar=0,resizable=0,status=0,toolbar=0,scrollbars="+scrolling);



}







function OuvrirFermer(page,largeur,hauteur,scrolling){



PopupWnd(page,largeur,hauteur,scrolling);



window.close();



}







var menublock=new Array() // no need to change this











menublock[0]='<img src="http://www.xponsor.com/membres/images/titpub.gif" width=145 height=20 border=0>|#~';        // text and URL of first mainlink







menublock[1]='<img src="http://www.xponsor.com/membres/images/spacer.gif" width=1 height=5 border=0>|#~';        // text and URL of first mainlink







menublock[2]='<img src="http://www.xponsor.com/membres/images/titkit1.gif" width=145 height=11 border=0>|#~';        // text and URL of first mainlink







menublock[3]='<img src="http://www.xponsor.com/membres/images/spacer.gif" width=8 height=1 border=0>Carte Bancaire|###~'+       // text|URL|target of mainlink



             '2 Hommes|http://www.xponsor.com/2h/index.cgi|_self~'+                                         // text|URL|target of first sublink



             'Sexe 40 ans|http://www.xponsor.com/s4/index.cgi|_self~'+                                        // text|URL|target of second sublink



             'Amour Noir|http://www.xponsor.com/an/index.cgi|_self~'+                                           // text|URL|target of third sublink



             'Duo X|http://www.xponsor.com/dx/index.cgi|_self~'+                                         // text|URL|target of fourth sublink



             'Duo X US|http://www.xponsor.com/dx-en/index.cgi|_self~'+                                         // text|URL|target of fourth sublink



             'Oh my gode|http://www.xponsor.com/omg/index.cgi|_self~'+                                         // text|URL|target of fourth sublink



             'Xvideoclub|http://www.xponsor.com/xvc/index.cgi|_self~'+                                         // text|URL|target of fourth sublink



             'Xvideoclub US|http://www.xponsor.com/xvc-en/index.cgi|_self~'+                                         // text|URL|target of fourth sublink



            'Quel Penis|http://www.xponsor.com/qp/index.cgi|_self~';                                         // text|URL|target of fourth sublink




menublock[4]='<img src="http://www.xponsor.com/membres/images/spacer.gif" width=8 height=1 border=0>Kit de Connexion|###~'+       // text|URL|target of mainlink



             'Exhib-webcam|http://www.xponsor.com/ew/index.cgi|_self~'+ 
 
 
			 'Best of live|http://www.xponsor.com/bolv2/index.cgi|_self~'+                                         // text|URL|target of first sublink



             'Dialosexe|http://www.xponsor.com/ds/index.cgi|_self~'+                                         // text|URL|target of first sublink



             'Sexclusivité|http://www.xponsor.com/se/index.cgi|_self~'+                                        // text|URL|target of second sublink



             'Franco Dial|http://www.xponsor.com/fd/index.cgi|_self~'+                                           // text|URL|target of third sublink



             'Portail du X|http://www.xponsor.com/pdx/index.cgi|_self~'+                                         // text|URL|target of fourth sublink



            'SM Dial|http://www.xponsor.com/smd/index.cgi|_self~'+                                         // text|URL|target of fourth sublink


  
            'Lesbo Dial|http://www.xponsor.com/lesbo/index.cgi|_self~'+                                         // text|URL|target of fourth sublink



             'Comgay|http://www.xponsor.com/cg/index.cgi|_self~';







menublock[5]='<img src="http://www.xponsor.com/membres/images/spacer.gif" width=8 height=1 border=0>Sites Kits et CB|###~'+       // text|URL|target of mainlink



             'Baise.net|http://www.xponsor.com/baise/index.cgi|_self~'+                                         // text|URL|target of first sublink

				
			 'Urssexe|http://www.xponsor.com/urs/index.cgi|_self~'+

			 
			 'Anal-a-gogo|http://www.xponsor.com/aag/index.cgi|_self~'+
 

             'Fétiche X|http://www.xponsor.com/fx2/index.cgi|_self~'+                                        // text|URL|target of second sublink



             'Jeunes Online|http://www.xponsor.com/jov2/index.cgi|_self~'+                                           // text|URL|target of third sublink



             'Newloft|http://www.xponsor.com/nl/index.cgi|_self~'+                                         // text|URL|target of fourth sublink



             'Orgsex|http://www.xponsor.com/orgsex/index.cgi|_self~'+                                         // text|URL|target of fourth sublink



             'Plaisir Oriental|http://www.xponsor.com/pov2/index.cgi|_self~'+                                         // text|URL|target of fourth sublink



             'Reference Gay|http://www.xponsor.com/rgv2/index.cgi|_self~'+                                         // text|URL|target of fourth sublink



             'Pipejac|http://www.xponsor.com/pe/index.cgi|_self~'+                      // text|URL|target of fourth sublink



             'Troisieme sexe|http://www.xponsor.com/3s/index.cgi|_self~'+


			 'Porno-Orgie|http://www.xponsor.com/pog/index.cgi|_self~'+



             'X virtuel|http://www.xponsor.com/xv2/index.cgi|_self~';







menublock[6]='<img src="http://www.xponsor.com/membres/images/spacer.gif" width=8 height=1 border=0>Sites Xacces|###~'+       // text|URL|target of mainlink



             'Multi-plaisirs|http://www.xponsor.com/multi/index.cgi|_self~';





menublock[7]='<img src="http://www.xponsor.com/membres/images/spacer.gif" width=8 height=1 border=0>Sites Amateurs|###~'+ 



             'Club Mateurs|http://www.xponsor.com/amateurs/cm/index.cgi|_self~'+   

             'Marie 78|http://www.xponsor.com/amateurs/m7/index.cgi|_self~'+      

             'Marie Coquine|http://www.xponsor.com/amateurs/mc/index.cgi|_self~'+  

             'Rouge Passion|http://www.xponsor.com/amateurs/rp/index.cgi|_self~'+        

             'Plein Coeur|http://www.xponsor.com/amateurs/pc/index.cgi|_self~'+     

             'Reve coquin|http://www.xponsor.com/amateurs/rc/index.cgi|_self~'+

             'Sexy Aurelie|http://www.xponsor.com/amateurs/sa/index.cgi|_self~'+

             'Sophie Caline|http://www.xponsor.com/amateurs/sc/index.cgi|_self~'+

             'Valentine 75|http://www.xponsor.com/amateurs/val/index.cgi|_self~';



menublock[8]='<img src="http://www.xponsor.com/membres/images/spacer.gif" width=8 height=1 border=0>Marque blanche|###~'+       // text|URL|target of mainlink



             'Partie Privee|http://www.xponsor.com/pp/index.php|_self~';





menublock[9]='<img src="http://www.xponsor.com/membres/images/spacer.gif" width=8 height=1 border=0>Divers|###~'+       // text|URL|target of mainlink



             'Xponsor|http://www.xponsor.com/xp/index.cgi|_self~'+



             'Xheberge|http://www.xponsor.com/xh/index.cgi|_self~'+


             'Ma lettre X|http://www.xponsor.com/mlx/pub/index.cgi|_self~'+


             'Ma lettre Gay|http://www.xponsor.com/mlg/index.cgi|_self~';



menublock[10]='<img src="http://www.xponsor.com/membres/images/spacer.gif" width=8 height=1 border=0>Matériel de vente|###~'+       // text|URL|target of mainlink


             'Pages de vente|http://www.xponsor.com/partenaires/pdv/index.php|_self~'+

			 
 			 'Planning des lives|http://www.xponsor.com/planning.cgi|_self~'+


             'Web-O-Sexe|http://www.xponsor.com/ws/index.cgi|_self~'+


             'Ma lettre X|http://www.xponsor.com/mlx/pub/index.cgi|_self~'+


             'Ma lettre Gay|http://www.xponsor.com/mlg/index.cgi|_self~';



menublock[11]='<img src="http://www.xponsor.com/membres/images/spacer.gif" width=8 height=1 border=0>Genérateur de pub|###~'+       // text|URL|target of mainlink



             'Administration|http://www.xponsor.com/all/index.php|_self~';





if(ok_casino == 1) {



menublock[12]='<img src="http://www.xponsor.com/membres/images/spacer.gif" width=8 height=1 border=0>Casino|###~'+       // text|URL|target of mainlink

             'Mon LasVegas|http://www.xponsor.com/mlv/index.cgi|_self~'+



             'Casino 200|http://www.xponsor.com/mlv/popups.cgi|_self~';

}





// No need to change anything below



//  **********************************************************************************







function getQueryVariable(variable) {



  var query = window.location.search.substring(1);



  var vars = query.split("&");



  for (var i=0;i<vars.length;++i) {



    var pair = vars[i].split("=");



    if (pair[0] == variable) {



      return pair[1];



    }



  }



  return null;



}







var menusplit;



var urlsplit;







var showsubmenus=new Array();



for(var i=0;i<menublock.length;++i)



    showsubmenus[i]=-1;







var curMenuOpen=-1;



var query = getQueryVariable("open");



if(query!=null){



    var menuopen=query.split("_");



    for(var i=0;i<menuopen.length-1;++i){



        showsubmenus[parseInt(menuopen[i])]=(-1)*showsubmenus[parseInt(menuopen[i])];



        if(curMenuOpen==-1){



            curMenuOpen= parseInt(menuopen[i]);



            break;



        }



    }



}











function openandclose(visi) {



    if(curMenuOpen>-1) showsubmenus[curMenuOpen]=-1;



    showsubmenus[visi]=(-1)*showsubmenus[visi];



    curMenuOpen=visi;



    var menucontent="";



    var afficher="";



    for(var i=0;i<menublock.length;++i)



    for (i=0;i<menublock.length;i++) {



        menusplit=menublock[i].split('~');



        urlsplit=menusplit[0].split('|');



        menucontent+='<table width=140 cellpadding=0 cellspacing=0 border=0>';



        if(menusplit.length>2){



            if(showsubmenus[i]==1){



                menucontent+='<tr onmouseover="img_f'+i+'.src=\'http://www.xponsor.com/membres/images/fleche_up_on.gif\';" onmouseout="img_f'+i+'.src=\'http://www.xponsor.com/membres/images/fleche_up_off.gif\';"><td width=131><a href="javascript:openandclose('+i+');" class="nav">'+urlsplit[0]+'</a></td><td valign=middle width=5><img name="img_f'+i+'"src="http://www.xponsor.com/membres/images/fleche_up_off.gif" width=5 height=7 border=0 >&nbsp;&nbsp;</td></tr>';



            }else{



                menucontent+='<tr onmouseover="img_f'+i+'.src=\'http://www.xponsor.com/membres/images/fleche_on.gif\';" onmouseout="img_f'+i+'.src=\'http://www.xponsor.com/membres/images/fleche_off.gif\';"><td width=131><a href="javascript:openandclose('+i+');" class="nav">'+urlsplit[0]+'</a></td><td valign=middle width=5><img name="img_f'+i+'"src="http://www.xponsor.com/membres/images/fleche_off.gif" width=5 height=7 border=0 >&nbsp;&nbsp;</td></tr>';



            }



        }else{



            if(urlsplit[1].length>1){



                var target="";



                var ouvert="?open="+i+"_";



                if(urlsplit.length>2) target= ' target="'+urlsplit[2]+'"';



                else ouvert="";



                menucontent+='<tr><td width=140 colspan=2><a href="'+urlsplit[1]+ouvert+'" class="nav"'+target+'>'+urlsplit[0]+'</a></td></tr>';



            }else{



                menucontent+='<tr><td width=140 colspan=2>'+urlsplit[0]+'</td></tr>';



            }



        }







        if (showsubmenus[i]==1) {



            for (ii=1;ii<menusplit.length-1;ii++) {



                urlsplit=menusplit[ii].split("|");



                if(urlsplit[1].length>1){



                    target="";



                    var ouvert="?open="+i+"_";



                    if(urlsplit.length>2) target= ' target="'+urlsplit[2]+'"';



                    else ouvert="";



                    menucontent+='<tr><td width=140 bgcolor="#F4F3EF" colspan="2">&nbsp;&nbsp;&nbsp;<a href="'+urlsplit[1]+ouvert+'" '+target+' class="menu4">'+urlsplit[0]+'</a></td></tr>';



                }else{



                    menucontent+='<tr><td width=140 bgcolor="#F4F3EF" colspan="2">'+urlsplit[0]+'</td></tr>';



                }



            }



        }



        menucontent+='</table><img src="http://www.xponsor.com/membres/images/p_gris.gif" width=136 height=1 border=0><br>';



    }







    if (document.all) {



        menu.innerHTML=menucontent;



    }



    if (document.layers) {



        document.menu.document.close();



        document.menu.document.write(menucontent);



        document.menu.document.close();



    }



    if(document.getElementById) {



        document.getElementById("menu").innerHTML=menucontent;



    }



}