var accesRestreint = Cplgetcookie("accesRestreint") ;


var item = new Array() ;
var autrehref = new Array() ;


//item[item.length] = new Array ( "NOUVEAU : T'chat en Live !", "Dialogue convivial pour hommes, femmes, couples..." , "http://couplesmag.messagerie.com" , "libre" , "break", "dialogue" ) ;


item[item.length] = new Array ( "Annonces photo", "Les petites annonces avec texte et image" , "/cgi-bin/common/club/rubriques/cplpaweb-pa" , "libre" ) ;
item[item.length] = new Array ( "Lettres Annonces", "Les grandes-annonces" , "/cgi-bin/common/club/rubriques/lettresannonces" , "payant" , "break" ) ;

//item[item.length] = new Array ( "Newsgroups", "Des milliers d\\'images venues des forums" , "/common/club/rubriques/newsgroups/" , "payant" ) ;
item[item.length] = new Array ( "Galerie des vid&eacute;os", "Les meilleures vidéos du web" , "/cgi-bin/common/club/rubriques/videos" , "payant" ) ;
autrehref[item.length-1] = "/common/club/rubriques/videos/" ;
item[item.length] = new Array ( "Tous les teasers DVD Couples", "Les teasers" , "/common/club/rubriques/teasers" , "libre" ) ;
item[item.length] = new Array ( "Hot links", "Les liens les plus chauds du web" , "/cgi-bin/common/club/rubriques/cplweb-hotlinks" , "payant" ) ;
item[item.length] = new Array ( "NavigaPics", "Toutes les images du web, rien que les images" , "/cgi-bin/common/club/rubriques/cplweb-navigapics" , "payant" ) ;
autrehref[item.length-1] = "navigapics" ;
item[item.length] = new Array ( "Le coin des amatrices", "Elles nous montrent tout" , "/common/club/rubriques/amatrices/" , "payant" , "break" ) ;

item[item.length] = new Array ( "Interviews", "Des amatrices se d&eacute;voilent en audio." , "/cgi-bin/common/club/rubriques/interviews" , "libre" ) ;
item[item.length] = new Array ( "Ca se passe comme &ccedil;a", "Ca se passe comme ça dans les boîtes en France" , "/cgi-bin/common/club/rubriques/commeca" , "payant" ) ;
item[item.length] = new Array ( "Reportages et enqu&ecirc;tes", "Découvertes, interviews..." , "/cgi-bin/common/club/rubriques/reportages-enquetes" , "payant" ) ;
item[item.length] = new Array ( "Lectures interdites", "Lectures interdites" , "/cgi-bin/common/club/rubriques/lectures-interdites" , "payant" ) ;
item[item.length] = new Array ( "Agenda", "Les rendez-vous à ne pas manquer" , "/cgi-bin/common/club/rubriques/cplweb-agenda" , "libre" ) ;
item[item.length] = new Array ( "GPS - libertins", "Voici un outil simple et indispensable à télécharger et à intégrer à votre navigateur GPS" , "/common/club/rubriques/gps/" , "libre" ) ;
item[item.length] = new Array ( "Les bonnes adresses", "Tous les lieux coquins par département et par thème" , "/cgi-bin/common/club/rubriques/bonnesadresses" , "libre" ) ;
item[item.length] = new Array ( "Les Confessions X", "Des milliers d\\'histoires excitantes" , "/common/club/rubriques/confessions/" , "payant" , "break" ) ;
autrehref[item.length-1] = "confessions" ;

item[item.length] = new Array ( "X-Mail", "Votre e-mail Couplesmag" , "/cgi-bin/common/club/membres/getmail" , "payant" ) ;
autrehref[item.length-1] = "mail" ;
item[item.length] = new Array ( "Annuaire pages perso", "Les pages perso des membres de Couplesmag" , "/cgi-bin/common/club/membres/cplwebpages-perso?fonc=lastlog" , "payant" , "break" ) ;
autrehref[item.length-1] = "pages-perso" ;

// item[item.length] = new Array ( "Horoscope <span class=new>NOUVEAU!</span>", "Décodez les astres avec Astralica" , "/common/public/horoscope/horoscope.html" , "libre" ) ;
item[item.length] = new Array ( "Images &amp; Vidéos pour mobiles", "Donnez un air sexy à votre portable" , "http://partenaires.mobile-sexshop.com/index2.php?id=36&s=0", "libre" , "", "dialogue" ) ;
item[item.length] = new Array ( "La Boutique d\'Amandine", "Toute notre s&eacute;lection d\\'articles &eacute;rotiques" , "http://www.laboutiquedamandine.com/sexy-shop/", "libre" , "", "dialogue" ) ;
item[item.length] = new Array ( "Abonnez-vous au Mag", "Abonnez-vous dès maintenant au Magazine Couples" , "/cgi-bin/common/public/bamandine-boutique?rub=80ABONNEMENTS" , "libre", "dialogue" ) ;
autrehref[item.length-1] = "ABONNEMENTS" ;
item[item.length] = new Array ( "Loisirs", "Couplesmag vous conseille : astrologie..." , "/common/public/autres" , "libre" ) ;

// item[item.length] = new Array ( "Accès spécial Fêtes !", "Accès spécial pour tous les lecteurs du magazine COUPLES" , "/common/public/acces/fetes" , "libre", "break" ) ;

var url = document.location.href ;

document.write('<IMG src="/common/public/img/interface/menustart.gif" width="30" height="20"></TD></TR><tr><td>') ;

document.write('<TABLE border=0 cellspacing=6 cellpadding=0 bgcolor=#3355bb width=250><tr><td>') ;

newSection = '<TABLE border=0 cellspacing=0 cellpadding=0 width=100% class=nav>' ;
document.write( newSection ) ;
          
var i = 0 ;
while ( i < item.length )
{
	var myCss = 'nav' ;
	var reg_exp = new RegExp(item[i][2],"gi");
	var reg_exp2 = new RegExp(autrehref[i],"gi");

	if ( item[i][3] != "libre" && accesRestreint == 1 )
	{
		myCss += '0' ;
	}
	else if ( url.match(reg_exp) || ( url.match(reg_exp2) && autrehref[i] != undefined ) )
	{
		myCss += 'select' ;
	}

	if ( item[i][5] != undefined )
	{
		monTarget = " target=" + item[i][5] ;
	}
	else
	{
		monTarget = "" ;
	}

	document.write ( '<TR><TD class="' + myCss + '"><A href="' + item[i][2] + '" class="' + myCss + '" onMouseOver="showtip(this,event,\'' + item[i][1] + '\')"' + monTarget + '>' + item[i][0] + '</A></TD></TR>' ) ;
	if ( item[i][4] == "break" )
	{
		document.write ( '</table></td></tr><tr><td>' + newSection ) ;
	}
	i++ ;
}

document.write ( '</TABLE>' ) ;
document.write ( '</td></tr></TABLE>' ) ;
document.write('</td></tr><tr><td><IMG src="/common/public/img/interface/menustop.gif" width="30" height="20">' ) ;

document.write (
'<TR>'
	+ '<TD>'
		+ '<TABLE border="0" cellspacing="0" cellpadding="0" width="250"><TR>'
			+ '<TD class="petit" width="6">&nbsp;</TD>'
			+ '<TD align="center"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="180" height="100">'
				+ '<PARAM name=movie value="/common/public/fla/news.swf"><PARAM name=quality value=high><PARAM name="wmode" value="transparent">'
				+ '<EMBED src="/common/public/fla/news.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="180" height="100" wmode="transparent"></EMBED>'
				+ '</OBJECT>'
			+ '</TD></TR>'
		+ '</TABLE>'
	+ '</TD>'
+ '</TR>'
+ '<TR>'
	+ '<TD>'
		+ '<IMG src="/common/public/img/interface/menustart.gif" width="30" height="20">'
	+ '</TD>'
+ '</TR>'
+ '<TR>'
	+ '<TD>'
	
	
		+ '<TABLE border="0" cellspacing="0" cellpadding="0" width="250" bgcolor="#3355bb">'
			
		+ '<tr><td height=220>&nbsp;</td><td bgcolor=#3355BB><a href="http://testvod.com/bebe/couples"><img name="VOD Couples" src="/common/public/img_accueil2/bannire_vod.png" border="0" alt=""></a></td></tr>'
		
		+ '<tr><td height=120>&nbsp;</td><td bgcolor=#3355BB><a href="/common/club/rubriques/interactif/index.html"><img name="interactif" src="/common/public/img_accueil2/bannire_num.png" width="260" height="113" border="0" alt=""></a></td></tr>'

		+ '<tr><td height=130>&nbsp;</td><td bgcolor=#3355BB><a href="/cgi-bin/common/public/bamandine-boutique?rub=0010COUPLESDVD"><img name="dvd" src="/common/public/img_accueil2/bannire_dvdcouples.png" width="260" height="113" border="0" alt=""></a></td></tr>'

		+ '<tr><td height=100>&nbsp;</td><td bgcolor=#3355BB><a href="http://www.laboutiquedamandine.com/sexy-shop/" target="_blank"><img name="boutique" src="/common/public/img_accueil2/bannire_boutique.png" width="260" height="113" border="0" alt=""></a></td></tr>'


			+ '<tr><td height=130>&nbsp;</td><td bgcolor=#3355BB><a href="http://couplesmag.messagerie.com/index.php" target="_blank"><img name="dialogue2" src="/common/public/img_accueil2/bannire_ulla.png" width="260" height="113" border="0" alt=""></a></td></tr>'
			+ '<TR>'
				+ '<TD class="petit">&nbsp;</TD>'
				+ '<TD class="petit" align="center"><A href="/common/public/acces/"><IMG src="/common/public/img/interface/abo.gif" width="180" height="100" border="0"></A></TD>'
			+ '</TR>'
			+ '<TR>'
				+ '<TD class="petit">&nbsp;</TD>'
				+ '<TD height=60 class="fondbleu" align="center"><A href="/common/public/acces/">D&eacute;couvrez nos offres d\'abonnement<br>au magazine et au site</A></TD>'
			+ '</TR>'
		+ '</TABLE>'
	+ '</TD>'
+ '</TR>'

// FIN DE MENU

+ '<TR>'
+ '<TD><IMG src="/common/public/img/interface/menustop.gif" width="30" height="20"></TD>'
+ '</TR>'

// AMANDINE AUDIOTEL TOTEM
/*
+ '<TR>'
	+ '<TD>'
		+ '<TABLE border="0" cellspacing="0" cellpadding="0" width="250" bgcolor="#ffffff">'
			+ '<TR>'
				+ '<TD class="petit" align="center" width="6" bgcolor="#3355bb">&nbsp;</TD>'
				+ '<TD align="center"><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="200" height="450">'
					+ '<PARAM name=movie value="/common/public/amandine/fla/audiotel/vertical.swf?code=456"><PARAM name=quality value=high><PARAM name="wmode">'
					+ '<EMBED src="/common/public/amandine/fla/audiotel/vertical.swf?code=456" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="200" height="450"></EMBED>'
					+ '</OBJECT>'
				+ '</TD>'
			+ '</TR>'
		+ '</TABLE>'
	+ '</TD>'
+ '</TR>'

*/

+ '<TR>'
	+ '<TD align=center stlye="padding-left:6px">'
		+ '<img src="/bannieres/menu/dvd3g.jpg" width="241" height="101" border="0">'
	+ '</TD>'
+ '</TR>'
+ '<tr><td height=30>&nbsp;</td></tr>'

// WAP

+ '<TR>'
	+ '<TD align=center stlye="padding-left:6px">'
		+ '<a href="javascript:;" onClick="MM_openBrWindow(\'/common/public/acces/wap/index.html\',\'wap\',\'scrollbars=yes,resizable=yes,width=450,height=600\')"><img src="/common/public/acces/wap/bandeau.gif" width="193" height="68" border="0"></a>'
	+ '</TD>'
+ '</TR>'
+ '<tr><td height=30>&nbsp;</td></tr>'

// SMS

+ '<TR>'
	+ '<TD align=center stlye="padding-left:6px">'
		+ '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="172" height="98">'
		+ '<param name=movie value="/common/public/sms/smspub.swf?motcle=COUPLES&amp;titre=Contacts libertins par SMS&amp;numero=63434&amp;prix=0,35&amp;lien=javascript:MM_openBrWindow(\'/common/public/sms/guide.html\',\'guidesms\',\'scrollbars=yes,resizable=yes,width=350,height=400\')">'
		+ '<param name=quality value=high><param name="wmode" value="transparent"><embed src="/common/public/sms/smspub.swf?motcle=COUPLES&amp;titre=Contacts libertins par SMS&amp;numero=63434&amp;prix=0,35&amp;lien=javascript:MM_openBrWindow(\'/common/public/sms/guide.html\',\'guidesms\',\'scrollbars=yes,resizable=yes,width=350,height=400\')" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="172" height="98" wmode="transparent"></embed></object>'
	+ '</TD>'
+ '</TR>'
+ '<tr height=30><td>&nbsp;</td></tr>'

) ;
