var good;

u = window.location;
m = "Je pense que cela peux t'interesser...";
function mailThisUrl()
	{
	good = true
	if (good)
		{
		window.location = "mailto:?subject="+m+"&body="+document.title+" "+u;
		}
	}


var urlAddress = window.location;;
var pageName = document.title;

function addToFavorites()
	{
	if (window.external)
		{
		window.external.AddFavorite(urlAddress,pageName)
		}
	else
		{
		alert("Votre navigateur ne prend pas en compte cette fonction.");
		}
	}

function jour() {
	var now=new Date();
	var dayNames=new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi");
	var monthNames=new Array("janvier","f&eacute;vrier","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre");
	var date_en_toute_lettre=new String();
	var Old_annee=new String();
	var annee=new String();
	Old_annee=""+now.getYear();
	deb=Old_annee.length-2;
	annee=Old_annee.substring(deb,deb+2);
	if (eval(annee)<80)
		{
		annee="20"+annee;
		}
	else
		{
		annee="19"+annee;
		}
	date_en_toute_lettre=dayNames[now.getDay()]+" "+now.getDate()+" "+monthNames[now.getMonth()]+" "+annee;return date_en_toute_lettre;
}

function ChangeUrl2(formulaire)
	{
	var sz_url = formulaire.options[formulaire.selectedIndex].value;
//	alert(sz_url);
	window.location = sz_url;
//	alert(sz_url);
	}

function goUrl(formulaire)
	{
	var sz_url=document.forms["form1"].elements[formulaire].selectedIndex;
	//rubrique=document.forms["form1"].elements[formulaire].options[sel].value;

	var sz_retour = "";
	if (sz_url=="00") {
		// ne rien faire !
		sz_retour = window.location;
		}
	else if (sz_url=="01") {
		sz_retour = "../r07_interlocuteur_region/alsace.htm";
		}
	else if (sz_url=="02") {
		sz_retour = "../r07_interlocuteur_region/aquitaine.htm";
		}
	else if (sz_url=="03") {
		sz_retour = "../r07_interlocuteur_region/auvergne.htm";
		}
	else if (sz_url=="04") {
		sz_retour = "../r07_interlocuteur_region/basse_normandie.htm";
		}
	else if (sz_url=="05") {
		sz_retour = "../r07_interlocuteur_region/bourgogne.htm";
		}
	else if (sz_url=="06") {
		sz_retour = "../r07_interlocuteur_region/bretagne.htm";
		}
	else if (sz_url=="07") {
		sz_retour = "../r07_interlocuteur_region/centre.htm";
		}
	else if (sz_url=="08") {
		sz_retour = "../r07_interlocuteur_region/champagne_ardenne.htm";
		}
	else if (sz_url=="09") {
		sz_retour = "../r07_interlocuteur_region/corse.htm";
		}
	else if (sz_url=="10") {
		sz_retour = "../r07_interlocuteur_region/franchecomte.htm";
		}
	else if (sz_url=="11") {
		sz_retour = "../r07_interlocuteur_region/haute_normandie.htm";
		}
	else if (sz_url=="12") {
		sz_retour = "../r07_interlocuteur_region/iledefrance.htm";
		}
	else if (sz_url=="13") {
		sz_retour = "../r07_interlocuteur_region/languedoc.htm";
		}
	else if (sz_url=="14") {
		sz_retour = "../r07_interlocuteur_region/limousin.htm";
		}
	else if (sz_url=="15") {
		sz_retour = "../r07_interlocuteur_region/lorraine.htm";
		}
	else if (sz_url=="16") {
		sz_retour = "../r07_interlocuteur_region/midi_pyrenees.htm";
		}
	else if (sz_url=="17") {
		sz_retour = "../r07_interlocuteur_region/nordpasdecalais.htm";
		}
	else if (sz_url=="18") {
		sz_retour = "../r07_interlocuteur_region/dom.htm";
		}
	else if (sz_url=="19") {
		sz_retour = "../r07_interlocuteur_region/paysdeloire.htm";
		}
	else if (sz_url=="20") {
		sz_retour = "../r07_interlocuteur_region/picardie.htm";
		}
	else if (sz_url=="21") {
		sz_retour = "../r07_interlocuteur_region/poitou_charentes.htm";
		}
	else if (sz_url=="22") {
		sz_retour = "../r07_interlocuteur_region/paca.htm";
		}
	else if (sz_url=="23") {
		sz_retour = "../r07_interlocuteur_region/rhone_alpes.htm";
		}
	else if (sz_url=="24") {
		sz_retour = "../r07_interlocuteur_region/reunion.htm";
		}

	if (sz_retour != "") 
		{
/*		window.location = sz_retour; */
/*		return sz_retour; */
		top.location = sz_retour;
		}
	}
	
